bugrelax - Bugs: bug #21042, Building scons user_manual_pdf on...

 
 
Show feedback again

bug #21042: Building scons user_manual_pdf on windows

Submitted by:  Troels E. Linnet <tlinnet>
Submitted on:  Tue 20 Aug 2013 01:35:27 PM UTC  
 
Category: DocumentationSpecific analysis category: None
Priority: 5 - NormalSeverity: 3 - Normal
Status: FixedAssigned to: Edward d Auvergne <bugman>
Originator Name: Open/Closed: Closed
Release: Repository: trunkOperating System: Microsoft Windows

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Tue 20 Aug 2013 07:16:37 PM UTC, SVN revision 20649:

Merged revisions 20647-20648 via svnmerge from
svn+ssh://bugman@svn.gna.org/svn/relax/trunk

........
r20647 | bugman | 2013-08-20 21:13:35 +0200 (Tue, 20 Aug 2013) | 5 lines

The graphics.fetch_icon() function can now return either the absolute or relative path to the icon.

This is a partial solution for bug #21042 (https://gna.org/bugs/?21042).
........
r20648 | bugman | 2013-08-20 21:15:14 +0200 (Tue, 20 Aug 2013) | 6 lines

Fix for bug #21042 (https://gna.org/bugs/?21042).

The docs/latex/fetch_docstrings.py now asks the graphics.fetch_icon() function for the relative path
to the icon rather than the absolute path.
........

(Browse SVN revision 20649)

Edward d Auvergne <bugman>
Project AdministratorIn charge of this item.
Tue 20 Aug 2013 07:15:14 PM UTC, SVN revision 20648:

Fix for bug #21042 (https://gna.org/bugs/?21042).

The docs/latex/fetch_docstrings.py now asks the graphics.fetch_icon() function for the relative path
to the icon rather than the absolute path.

(Browse SVN revision 20648)

Edward d Auvergne <bugman>
Project AdministratorIn charge of this item.
Tue 20 Aug 2013 07:13:36 PM UTC, SVN revision 20647:

The graphics.fetch_icon() function can now return either the absolute or relative path to the icon.

This is a partial solution for bug #21042 (https://gna.org/bugs/?21042).

(Browse SVN revision 20647)

Edward d Auvergne <bugman>
Project AdministratorIn charge of this item.
Tue 20 Aug 2013 07:06:40 PM UTC, comment #3:

Ok, the problem is the docs/latex/fetch_docstrings.py script which reads the user function definitions out of the user_functions/ directory to create the docs/latex/docstring.tex file. This script points to the relax icons for the user function using the absolute path. This must be changed to the relative path.

Edward d Auvergne <bugman>
Project AdministratorIn charge of this item.
Tue 20 Aug 2013 06:26:36 PM UTC, comment #2:

docstring.tex is created after
scons user_manual_pdf

When I compile in docs\latex with command:
latex relax.tex

It complains about docstring.tex
in line 7.

In line 7 is:
\includegraphics[bb=0 0 18 18]{C:\WinPython27\relax\relax_disp\graphics\relax_icons\128x128\align_tensor} \hfill \includegraphics[bb=0 0 18 18]{C:\WinPython27\relax\relax_disp\graphics\oxygen_icons\128x128\actions\list-add}

That is the absolute path to the image, in windows directory convention, aka. using backslashes "\"

LaTeX always uses forward slashed "/", also in windows.

This will work for test.tex in docs\latex
producing a dvi file.

-----------------------
\documentclass[10pt,a4paper]{article}
\usepackage[english]{babel}
\usepackage[dvips]{graphicx}

\graphicspath{{../../graphics/relax_icons/128x128/}{../../graphics/oxygen_icons/128x128/actions/}}

\begin{document}
Not working \\
%\includegraphics[bb=0 0 18 18]{C:\WinPython27\relax\relax_disp\graphics\relax_icons\128x128\align_tensor} \hfill \includegraphics[bb=0 0 18 18]{C:\WinPython27\relax\relax_disp\graphics\oxygen_icons\128x128\actions\list-add}

Not working \\
%\includegraphics[bb=0 0 18 18]{C:\\WinPython27\\relax\\relax_disp\\graphics\\relax_icons\\128x128\\align_tensor} \hfill \includegraphics[bb=0 0 18 18]{C:\\WinPython27\\relax\\relax_disp\\graphics\\oxygen_icons\\128x128\\actions\\list-add}

\quad \\

Image 1 \\
\includegraphics[bb=0 0 18 18]{C:/WinPython27/relax/relax_disp/graphics/relax_icons/128x128/align_tensor} /hfill \includegraphics[bb=0 0 18 18]{C:/WinPython27/relax/relax_disp/graphics/oxygen_icons/128x128/actions/list-add}

\quad \\

Image 2 \\
\includegraphics[bb=0 0 18 18]{align_tensor} /hfill \includegraphics[bb=0 0 18 18]{/list-add}

\end{document}

--------------

Could a possible solution be to change the function which creates the backward slashed, or to extend the graphics path?

Troels E. Linnet <tlinnet>
Project Member
Tue 20 Aug 2013 03:13:41 PM UTC, comment #1:

This is clearly a problem with LaTeX on MS Windows being able to read the path to the graphics. I'm not sure how in LaTeX you can have a path to a file which works on Linux, Mac OS X, and Windows.

Edward d Auvergne <bugman>
Project AdministratorIn charge of this item.
Tue 20 Aug 2013 01:35:27 PM UTC, original submission:

Hi.

When trying to build the dispersion manual in windows, a long
error of LaTeX error occured.

The command was:
scons user_manual_pdf

------------------------------------------
LaTeX Warning: Reference `eq: maths: J(w) model-free ext generic' on page 225 u
ndefined on input line 1566.

LaTeX Warning: Reference `eq: maths: J(w) model-free ext generic' on page 225 u
ndefined on input line 1580.

LaTeX Warning: Reference `eq: maths: J(w) model-free ext generic' on page 225 u
ndefined on input line 1591.

LaTeX Warning: Reference `eq: maths: J(w) model-free ext generic' on page 225 u
ndefined on input line 1606.

LaTeX Warning: Reference `eq: maths: J(w) model-free ext generic' on page 225 u
ndefined on input line 1622.

[225]

LaTeX Warning: Reference `eq: maths: J(w) model-free generic' on page 226 undef
ined on input line 1638.

LaTeX Warning: Reference `eq: maths: J(w) model-free generic' on page 226 undef
ined on input line 1655.

LaTeX Warning: Reference `eq: maths: J(w) model-free generic' on page 226 undef
ined on input line 1670.

Overfull \hbox (92.96675pt too wide) has occurred while \output is active
\OT1/cmr/m/n/10.95 226 \OT1/cmr/m/sl/10.95 CHAPTER 13. OPTIMISATION OF RELAXAT
ION DATA -- VALUES, GRADIENTS, AND HESSIANS
[226]

LaTeX Warning: Reference `eq: ellipsoid correlation function' on page 227 undef
ined on input line 1737.

[227]
Overfull \hbox (92.96675pt too wide) has occurred while \output is active
\OT1/cmr/m/n/10.95 228 \OT1/cmr/m/sl/10.95 CHAPTER 13. OPTIMISATION OF RELAXAT
ION DATA -- VALUES, GRADIENTS, AND HESSIANS
[228] [229]
Overfull \hbox (92.96675pt too wide) has occurred while \output is active
\OT1/cmr/m/n/10.95 230 \OT1/cmr/m/sl/10.95 CHAPTER 13. OPTIMISATION OF RELAXAT
ION DATA -- VALUES, GRADIENTS, AND HESSIANS
[230] [231]
Overfull \hbox (92.96675pt too wide) has occurred while \output is active
\OT1/cmr/m/n/10.95 232 \OT1/cmr/m/sl/10.95 CHAPTER 13. OPTIMISATION OF RELAXAT
ION DATA -- VALUES, GRADIENTS, AND HESSIANS
[232] [233]
Overfull \hbox (92.96675pt too wide) has occurred while \output is active
\OT1/cmr/m/n/10.95 234 \OT1/cmr/m/sl/10.95 CHAPTER 13. OPTIMISATION OF RELAXAT
ION DATA -- VALUES, GRADIENTS, AND HESSIANS
[234] [235]

LaTeX Warning: Reference `eq: ellipsoid correlation function' on page 236 undef
ined on input line 2191.

LaTeX Warning: Reference `eq: ellipsoid correlation function' on page 236 undef
ined on input line 2191.

LaTeX Warning: Reference `eq: R' on page 236 undefined on input line 2202.

LaTeX Warning: Reference `eq: R' on page 236 undefined on input line 2202.

Overfull \hbox (92.96675pt too wide) has occurred while \output is active
\OT1/cmr/m/n/10.95 236 \OT1/cmr/m/sl/10.95 CHAPTER 13. OPTIMISATION OF RELAXAT
ION DATA -- VALUES, GRADIENTS, AND HESSIANS
[236] [237]
Overfull \hbox (92.96675pt too wide) has occurred while \output is active
\OT1/cmr/m/n/10.95 238 \OT1/cmr/m/sl/10.95 CHAPTER 13. OPTIMISATION OF RELAXAT
ION DATA -- VALUES, GRADIENTS, AND HESSIANS
[238] [239]

LaTeX Warning: Reference `eq: spheroid correlation function' on page 240 undefi
ned on input line 2475.

Overfull \hbox (92.96675pt too wide) has occurred while \output is active
\OT1/cmr/m/n/10.95 240 \OT1/cmr/m/sl/10.95 CHAPTER 13. OPTIMISATION OF RELAXAT
ION DATA -- VALUES, GRADIENTS, AND HESSIANS
[240] [241]

LaTeX Warning: Reference `eq: spheroid correlation function' on page 242 undefi
ned on input line 2548.

Overfull \hbox (92.96675pt too wide) has occurred while \output is active
\OT1/cmr/m/n/10.95 242 \OT1/cmr/m/sl/10.95 CHAPTER 13. OPTIMISATION OF RELAXAT
ION DATA -- VALUES, GRADIENTS, AND HESSIANS
[242] [243]

LaTeX Warning: Reference `eq: spheroid correlation function' on page 244 undefi
ned on input line 2714.

LaTeX Warning: Reference `eq: spheroid correlation function' on page 244 undefi
ned on input line 2723.

Overfull \hbox (92.96675pt too wide) has occurred while \output is active
\OT1/cmr/m/n/10.95 244 \OT1/cmr/m/sl/10.95 CHAPTER 13. OPTIMISATION OF RELAXAT
ION DATA -- VALUES, GRADIENTS, AND HESSIANS
[244]

LaTeX Warning: Reference `eq: spheroid correlation function' on page 245 undefi
ned on input line 2777.

[245]
Overfull \hbox (92.96675pt too wide) has occurred while \output is active
\OT1/cmr/m/n/10.95 246 \OT1/cmr/m/sl/10.95 CHAPTER 13. OPTIMISATION OF RELAXAT
ION DATA -- VALUES, GRADIENTS, AND HESSIANS
[246] [247]
Overfull \hbox (92.96675pt too wide) has occurred while \output is active
\OT1/cmr/m/n/10.95 248 \OT1/cmr/m/sl/10.95 CHAPTER 13. OPTIMISATION OF RELAXAT
ION DATA -- VALUES, GRADIENTS, AND HESSIANS
[248] [249]
Overfull \hbox (92.96675pt too wide) has occurred while \output is active
\OT1/cmr/m/n/10.95 250 \OT1/cmr/m/sl/10.95 CHAPTER 13. OPTIMISATION OF RELAXAT
ION DATA -- VALUES, GRADIENTS, AND HESSIANS
[250]) [251]
Overfull \hbox (92.96675pt too wide) has occurred while \output is active
\OT1/cmr/m/n/10.95 252 \OT1/cmr/m/sl/10.95 CHAPTER 13. OPTIMISATION OF RELAXAT
ION DATA -- VALUES, GRADIENTS, AND HESSIANS
[252] [253] [254] (C:\WinPython27\relax\relax_disp\docs\latex\functions.tex
Chapter 14.
[255] [256] (C:\WinPython27\relax\relax_disp\docs\latex\docstring.tex
! Undefined control sequence.
<argument> C:\WinPython
27\relax \relax _disp\graphics \relax _icons\128x128...
l.7 ...\graphics\relax_icons\128x128\align_tensor}
\hfill \includegraphics[b...

?
! Undefined control sequence.
<argument> ...thon 27\relax \relax _disp\graphics
\relax _icons\128x128\alig...
l.7 ...\graphics\relax_icons\128x128\align_tensor}
\hfill \includegraphics[b...

?
! Undefined control sequence.
<argument> ...relax _disp\graphics \relax _icons\1
28x128\align _tensor
l.7 ...\graphics\relax_icons\128x128\align_tensor}
\hfill \includegraphics[b...

?
! Undefined control sequence.
<argument> C:\WinPython
27\relax \relax _disp\graphics \relax _icons\128x128...
l.7 ...8x128\align_tensor} \hfill \includegraphics
[bb=0 0 18 18]{C:\WinPytho...

?
! Undefined control sequence.
<argument> ...thon 27\relax \relax _disp\graphics
\relax _icons\128x128\alig...
l.7 ...8x128\align_tensor} \hfill \includegraphics
[bb=0 0 18 18]{C:\WinPytho...

?
! Undefined control sequence.
<argument> ...relax _disp\graphics \relax _icons\1
28x128\align _tensor
l.7 ...8x128\align_tensor} \hfill \includegraphics
[bb=0 0 18 18]{C:\WinPytho...

?
)
! Incomplete \iffalse; all text was ignored after line 7.
<inserted text>
\fi
l.52 \input{docstring}

?
)
! Incomplete \iffalse; all text was ignored after line 54.
<inserted text>
\fi
l.364 \include{functions}

?
! Missing \endcsname inserted.
<to be read again>
\@elt
l.364 \include{functions}

?
! You can't use `\relax' after \the.
<recently read> \c@

l.364 \include{functions}

?
! Undefin

Troels E. Linnet <tlinnet>
Project Member

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bugman (Posted a comment)
  • -unavailable- added by tlinnet (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 20 Aug 2013 07:15:28 PM UTCbugmanStatusNone=>Fixed
      Assigned toNone=>bugman
      Open/ClosedOpen=>Closed
    Tue 20 Aug 2013 03:13:41 PM UTCbugmanReleaseBranches=>Repository: trunk
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup