On Wed, Aug 05, 2026 at 09:42:34AM +0200, Patrice Dumas wrote:
> On Thu, Jul 23, 2026 at 11:07:25AM -0600, Charles Staats wrote:
> > Hello,
> > 
> > * Insert a `\DocumentMetadata` command (with appropriate settings) at the
> > beginning of the document.
> > * (For pdf output) compile with lualatex instead of pdflatex.
> 
> I implemented everything we discussed about on the texi2any side and
> tested on the Texinfo manual itself, which is in general a good target.
> 
> I had to keep amsfonts even with unicode-math for \circledR.  I also
> replaced the use of mdframed by tcolorbox, which is an improvement. 

Could the change from mdframed to tcolorbox be worth mentioning in NEWS
in case this affects dependencies etc.?

I see this is recommended online in the context of "LaTeX tagging":

https://tex.stackexchange.com/questions/761162/why-does-documentmetadata-conflict-with-package-mdframed
https://latex3.github.io/tagging-project/tagging-status/

I noticed that the output of @cartouche in LaTeX now has a shaded background,
and the panel borders seem thicker.  I assume these are the default settings
for tcolorbox, as it doesn't appear that texi2any specifies any background in
its output:

    % the tcolorbox environment for @cartouche
    \newtcolorbox{Texinfocartouche}[1][]{arc=10pt,#1}

I assume we should leave the output with the tcolorbox defaults, even though
this is a change in the appearance of the texi2any output.  The user can always
add extra settings to change the appearance if they want to.

In fact, I think it looks better without the "arc=10pt" in the output.

If we didn't change any of the settings, then using \newtcolorbox may not
be necessary, as far as I understand - we could just use \begin{tcolorbox} ...
\end{tcolorbox}.  Or we could keep the use of \newtcolorbox to make it easy
to customise the appearance (although the \tcbset command appears to set options
for all uses of this environment so customisation could be done through adding
\tcbset commands rather than altering the definition of Texinfocartouche).

OK to remove the "arc=10pt" parameter?

Reply via email to