On Sat, Mar 07, 2026 at 09:49:27AM -0300, Jamenson Espindula wrote:
> Em sáb., 7 de mar. de 2026, 05:26, Patrice Dumas <[email protected]>
> escreveu:
> > I did a parser for Texinfo for po4a that should be more robust than the
> > existing one, that is based on the SWIG GNU Texinfo interface:
> > https://github.com/mquinson/po4a/pull/615/
> >
> > Hopefully once it is merged in po4a and the SWIG interface is present on
> > every platform and loading correctly, it will simplify Texinfo manuals
> > translations...
> >
> > --
> > Pat
> >
> 
> Is it already usable right now? I could be some kind of a beta tester user.

It is usable, but it is not available out of the box right now.  You
need the SWIG interface of texi2any, which is only present in the
texinfo 7.3 release and is not built in the default case.  I have seen
that the Debian package seems to have a swig subpackage, but not the
fedora one.  You could also build form source.  That's for the GNU
Texinfo side.

On the po4a side, you need to get the git source, then add the branch
corresponding to the pull request I mentionned above, build and maybe
install.

> By the way, in the PDF file, could you have a look at the word
> "Sumaríssimo" on the file? It is my translation of Short Table of Contents.
> It did cause me some bad the 'i' character on that word. I would like to
> solve that issue for the next release.

That's because you need to remove the dot to the i to have a dotless i
and then apply the accent.  I attach a diff to txi-pt_BR.tex in your
sources that does that.  I used \ptexi to have a dotless i, as the usual
\i does not seems to work in Texinfo TeX.  You already used that for
\putwordNoTitle, by the way.

As a disclaimer, I am not really an expert on these Texinfo TeX subject.

-- 
Pat
diff --git a/txi-pt_BR.tex b/txi-pt_BR.tex
index 6c4b318..c8f6b53 100644
--- a/txi-pt_BR.tex
+++ b/txi-pt_BR.tex
@@ -36,7 +36,7 @@
 \gdef\putwordSection{Se\,c\~ao}
 \gdef\putwordsee{veja-se}
 \gdef\putwordSee{Veja-se}
-\gdef\putwordShortTOC{Sumar\'issimo}
+\gdef\putwordShortTOC{Sumar\'\ptexi ssimo}
 \gdef\putwordTOC{Sum\'ario}
 %%
 \gdef\putwordNoTitle{Sem T\'\ptexi tulo}

Reply via email to