gutenberg / latex-awesomebox

A package to draw attention boxes in your documents, illustrated with FontAwesome icons (Mirror)
https://git.umaneti.net/latex-awesomebox/about/
Do What The F*ck You Want To Public License
52 stars 6 forks source link

Reliance on tabu that is currently in "emergency fix" mode causing problems #9

Closed callegar closed 5 years ago

callegar commented 5 years ago

Awesomebox currently relies on tabu, that unfortunately is now in "emergency fix mode". See https://github.com/tabu-fixed. Until this is completed, tabu has various breakages.

One of tabu's current issues is some incompatibility with color/xcolor, on which awesomebox also relies. As a consequence, awesomebox may have strange and hard to diagnose failures.

In my case, a little patching of asesomebox to use tabularx instead of tabu was sufficient to work around the issue. However, at this point it is not entirely clear to me if some features of tabu not present in tabularx are actually taken advantage of in awesomebox. In case they are not, I suggest, moving to tabularx. Otherwise, I would suggest to make the possibility to use tabularx in place of tabu configurable.

milouse commented 5 years ago

If I remember correctly, tabu helps me to provide the awesomebox environment mode. Before that, when I provide only macro to build boxes I relied on tabularx. I'll check again if I can use tabularx for environment or not.

milouse commented 5 years ago

After a quick search, tabu is required to allow the environment mode. tabularx does not seem to allow environment creation around a table cell.

On the other hand, CTAN now points to tabu-fixed, thus various latex distribution will use this "emergency upgraded package".

So for now, without more exemple of major outage, I'll let this as backlog. Do not hesitate to provide a patch using only tabularx if you reach to make it works in newenvironment command.

Thank you very much.

milouse commented 5 years ago

Ok finally found a way to build my boxes using only tabular (not tabularx or tabu). @callegar, can you test your files with the sty file from my last commit? If it please you, I'll release a new version.

georgeraraujo commented 5 years ago

Hi @callegar, Please review so that @milouse can release 0.5.

sergiocallegari commented 5 years ago

Thanks for the reminder! I needed it since I had missed the note from Jan 30. I'll try to test as soon as I am back in office (in a couple of days).

georgeraraujo commented 5 years ago

Hi @sergiocallegari, Please review and help @milouse release v0.5 with our contributions.

milouse commented 5 years ago

From my point of view, every thing is working as expected, thus I'll release it asap this week. @georgerbr please be patient :)

georgeraraujo commented 5 years ago

Thanks!

sergiocallegari commented 5 years ago

Sorry for not having been able to provide any input in time. I have resumed working today after having been ill and seen the evolution of the discussion just now. In any case, everything is fine with the fixed package for me too.