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

2019-07-12 Thread Christopher Dimech
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
 [bibl-Semenza-et-Ghirotti-2000], page 

However when one uses @setfilename 2019308.info (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.

Christopher




Details of the files appear below

cat 2019308.texi

\input texinfo
@c @setfilename 2019308.info
@settitle 2019308
@smallbook

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

@contents

@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}

@page

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

@bye



cat bibl.texi

@paragraphindent 0

@sp 1
@anchor{bibl-Semenza-et-Ghirotti-2000}
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.
@uref{http://www.ukm.my/zuhairi/Pengajaran/intranet/stag3072/reading%20materials/VAIONT%20DAM%20in%20Italy_geologic%20factor.pdf,,
[@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" 
> To: "Christopher Dimech" 
> Cc: "help-texinfo gnu" 
> 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?
>



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

2019-07-12 Thread Gavin Smith
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?



[help-texinfo] Cross-References display undefined when using @include

2019-07-12 Thread Christopher Dimech
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.

Have tried to solve the problem by running "Compile and View" from emacs rather 
than
the command line but I am getting the same problem.