didierverna / declt

Reference manual generator for Common Lisp libraries
Other
38 stars 6 forks source link

Undefined cross-references when generating PDF #20

Closed snunez1 closed 2 years ago

snunez1 commented 2 years ago

Whilst trying to generate a PDF for https://github.com/lisp-stat/array-operations, I get:

Writing index file array-operations.tp
[3] [4] [5] [6] Chapter 2 [7] [8] [9] [10] [11] [12]
l.1132: Undefined cross reference `❨157❩-snt'.
l.1132: Undefined cross reference `❨157❩-snt'.
l.1132: Undefined cross reference `❨157❩-pg'.
l.1139: Undefined cross reference `❨158❩-snt'.
l.1139: Undefined cross reference `❨158❩-snt'.
l.1139: Undefined cross reference `❨158❩-pg'. Chapter 3 [13] [14] [15]
[16] [17] [18] [19] l.1694: Undefined c

in the texify output log.

Is this an issue with declt or with texify --pdf?

didierverna commented 2 years ago

Undefined cross references has been a recurring problem which should now occur only sporadically. I don't have texify at hand but I can't reproduce this with makeinfo --pdf. Can you try that and see if it makes a difference ?

One thing that looks suspicious: generated anchors and references in the Texinfo file are only of the form (<num>) (also, beware of the parens which are extended Unicode ones), so I don't know where the -snt etc. come from.

snunez1 commented 2 years ago

Using makeinfo fixed it, thanks.