[Top][All Lists]

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

Re: [help-texinfo] Cross-References display undefined when using @includ

From: Christopher Dimech
Subject: Re: [help-texinfo] Cross-References display undefined when using @include
Date: Sat, 13 Jul 2019 00:38:09 +0200

This is a basic test composed of two files "2019308.texi" (main with 
cross-references) and
"bibl.texi" (bibliography with an anchor).

Cross-References do work (when one clicks on the reference, it directs you to 
the cross-reference).
However the pdf file shows
<undefined> [bibl-Semenza-et-Ghirotti-2000], page <undefined>

However when one uses @setfilename (comment the line out), one gets
[bibl-Semenza-et-Ghirotti-2000], page 2

Have been under the impression that if there is no @setfilename line, makeinfo 
uses the
input file name to determine the output name.  Was aware that @setfilename used 
to be
required by the Texinfo processors, but I've read it is no longer 
required.However, this
test shows otherwise.


Details of the files appear below

cat 2019308.texi

\input texinfo
@c @setfilename
@settitle 2019308

  @title @sc{bug-texinfo 2019308}
  @author Christopher Dimech
@end titlepage


@node executive-summary
@unnumbered E @ @ Executive Summary

Let us make a reference to the article by Semenza and Ghirotti.

Try using the reference @ref{bibl-Semenza-et-Ghirotti-2000}


@node umrq30801
@unnumbered 01 Bibliography
@include ./2019308--txfiles/bibl.texi


cat bibl.texi

@paragraphindent 0

@sp 1
2000.@: @sc{Semenza, Edoardo}; Ghirotti, Monica; @strong{History of 1963 Vaiont
Slide.  The importance of the geological factors to recognise the
ancient landslide.}  Bulletin of Engineering Geology and the
Environment, Issue 59, Pages 87-97.
[@sc{Complete Article}]}.  [@t{bibl-Semenza-et-Ghirotti-2000}]
@c Published: April 04

@paragraphindent 1

Christopher Dimech
Chief Administrator - Naiad Informatics - GNU Project (Geocomputation)
- Geophysical Simulation
- Geological Subsurface Mapping
- Disaster Preparedness and Mitigation
- Natural Resource Exploration and Production
- Free Software Advocacy

> Sent: Friday, July 12, 2019 at 8:43 PM
> From: "Gavin Smith" <address@hidden>
> To: "Christopher Dimech" <address@hidden>
> Cc: "help-texinfo gnu" <address@hidden>
> Subject: Re: [help-texinfo] Cross-References display undefined when using 
> @include
> On Fri, Jul 12, 2019 at 05:40:56PM +0200, Christopher Dimech wrote:
> > Dear Compeers,
> >
> > I have written a bibliography chapter in file "bibl.texi"
> >
> > Then I included "bibl.texi" in my main file "umrq.texi", and included 
> > cross-references
> > to anchors defined in "bibl.texi".
> >
> > Running "texi2pdf umrq.texi", I have noticed that cross-references in the 
> > main text
> > show as undefined. Yet when I place the cursor on the cross-reference the 
> > page number
> > is correct and when I click on the cross-reference, the link gets me 
> > directly to the
> > correct bibliography item.
> I wonder if it is related to the other problem you reported with
> @listoffloats as included files are being used and the cross-references
> and floats are both listed in the auxiliary *.aux file, e.g. umrq.aux.
> Can you try and create a minimal failling example and send it to this
> list?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]