NetBSD-Docs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: guide not regenerating



Hello,

Benny Siegert writes:
> [...]
> Am 01.01.25 um 02:14 schrieb John Nemeth:
> >       I tried to regenerate the NetBSD guide after adding the new
> > copyright year.  It spit out a ton of errors and failed to generate
> > the PDF version.  Can somebody more famailiar with LaTex take a
> > look, please?  It is located at htdocs/docs/guide/en.
>
> I took a look, and it looks like a syntax error in a table. A relevant 
> excerpt from the log is
>
> ! Undefined control sequence.
> <argument> \g__tbl_row_int
>
> l.80194 \Node
>               %
> ! You can't use `the character -' after \advance.
> \int_gdecr:N #1->\tex_global:D \tex_advance:D #1-
>                                                   \c_one_int
> l.80194 \Node
>               %
>
> Because the actual tables are so far from regular LaTeX code (they are 
> plain TeX AFAICT), I don't really know how to fix it.
> [...]

Similarly also The pkgsrc Guide could no longer regenerate and seems it
has similar symptoms (I'm running all the packages from current
pkgsrc-current):

 | l.10650 {0}}
 |             \Par% [1.0.5]
 | ! Undefined control sequence.
 | <argument> \g__tbl_row_int
 | 
 | l.10904 \Node
 |              %
 | ! You can't use `the character -' after \advance.
 | \int_gdecr:N #1->\tex_global:D \tex_advance:D #1-
 |                                                  \c_one_int
 | l.10904 \Node
 |              %
 | ! Missing $ inserted.
 | <inserted text>
 |                 $

I have tried to look a bit to some VCS for last regen-s and it seems
that we have last regenerated:

- The pkgsrc guide
    - 2024-11-11
    - 2024-10-14
    - 2024-08-25
- The NetBSD guide
    - 2024-02-21
    - 2024-01-01
    - 2023-04-06

So, hopefully going back to 2024Q3 packages or similar may help to
bisect possible problematic packages involved.


Home | Main Index | Thread Index | Old Index