Re: [sphinx-users] make latexpdf

2020-09-13 Thread bradley...@gmail.com
The following seems to work for me:
rm -r _build
sphinx-build -b latex . _build/latex
cd _build/latex
make .pdf


On Sunday, September 13, 2020 at 6:07:07 AM UTC-7 bradley...@gmail.com 
wrote:

> Thanks for the response. I knew one has to run pdflatex twice (when any of 
> the links change) and should have put that in my report above. I did not 
> know three times was necessary in some cases. Unfortunately, this does not 
> fix the problem; i.e., the following
> rm -r _build
> sphinx-build -b latex . _build/latex
> cd _build/latex
> pdflatex .tex 
> pdflatex .tex 
> pdflatex .tex 
> has the same result
> No file .ind
> in the file file 
> _build/latex/.log 
> and the index is not in the file
> _build/latex/.pdf
>
> I added the
> rm -r _build
> because you must first delete the old _build directory to test this. If 
> you don't, the old .ind file from the previous
> make latexpdf
> gets used by the
> pdflatex .tex
> command.
>
>
> On Saturday, September 12, 2020 at 7:01:16 PM UTC-7 i.tk...@gmail.com 
> wrote:
>
>> Hi, 
>>
>> You need to run pdflatex command multiple times to build complete PDF 
>> file. 
>> For more detail, please read the following article. 
>>
>> https://www.systutorials.com/why-do-i-need-to-run-latex-bibtex-three-times-to-make-everything-look-good/
>>  
>>
>> Instead of pdflatex command, you can use `make` command under the 
>> _build/latex directory. 
>> It invokes pdflatex multiple times automatically. I hope it helps you. 
>>
>> Thanks, 
>> Takeshi KOMIYA 
>>
>> 2020年9月13日(日) 6:32 bradley...@gmail.com : 
>> > 
>> > 
>> > I am trying to figure out how to reproduce 
>> > make latexpdf 
>> > with separate calls to first build the latex and then run pdflatex. I 
>> want to do this so I can directly modify the latex between the sphinx-build 
>> and pdflatex (to accomplish things that are not supported by sphinx). 
>> > 
>> > I am using 
>> > sphinx-build -b latex . _build/latex 
>> > cd _build/latex 
>> > pdflatex .tex 
>> > where  is the value of project in my conf.py. When I do 
>> this I get the error message 
>> > No file .ind 
>> > and the index is missing from my pdf. 
>> > 
>> > What am I missing here ? 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups "sphinx-users" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to sphinx-users...@googlegroups.com. 
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sphinx-users/3540f597-7857-46b8-878f-1ede81adedean%40googlegroups.com.
>>  
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/f757d7b1-f28d-4534-aff3-829b2e125e6dn%40googlegroups.com.


Re: [sphinx-users] make latexpdf

2020-09-13 Thread jo youssef
Thanks 

Mr777


> On 13 Sep 2020, at 17:07, bradley...@gmail.com  
> wrote:
> 
> 
> Thanks for the response. I knew one has to run pdflatex twice (when any of 
> the links change) and should have put that in my report above. I did not know 
> three times was necessary in some cases. Unfortunately, this does not fix the 
> problem; i.e., the following
> rm -r _build
> sphinx-build -b latex . _build/latex
> cd _build/latex
> pdflatex .tex 
> pdflatex .tex 
> pdflatex .tex 
> has the same result
> No file .ind
> in the file file 
> _build/latex/.log 
> and the index is not in the file
> _build/latex/.pdf
> 
> I added the
> rm -r _build
> because you must first delete the old _build directory to test this. If you 
> don't, the old .ind file from the previous
> make latexpdf
> gets used by the
> pdflatex .tex
> command.
> 
> 
>> On Saturday, September 12, 2020 at 7:01:16 PM UTC-7 i.tk...@gmail.com wrote:
>> Hi, 
>> 
>> You need to run pdflatex command multiple times to build complete PDF file. 
>> For more detail, please read the following article. 
>> https://www.systutorials.com/why-do-i-need-to-run-latex-bibtex-three-times-to-make-everything-look-good/
>>  
>> 
>> Instead of pdflatex command, you can use `make` command under the 
>> _build/latex directory. 
>> It invokes pdflatex multiple times automatically. I hope it helps you. 
>> 
>> Thanks, 
>> Takeshi KOMIYA 
>> 
>> 2020年9月13日(日) 6:32 bradley...@gmail.com : 
>> > 
>> > 
>> > I am trying to figure out how to reproduce 
>> > make latexpdf 
>> > with separate calls to first build the latex and then run pdflatex. I want 
>> > to do this so I can directly modify the latex between the sphinx-build and 
>> > pdflatex (to accomplish things that are not supported by sphinx). 
>> > 
>> > I am using 
>> > sphinx-build -b latex . _build/latex 
>> > cd _build/latex 
>> > pdflatex .tex 
>> > where  is the value of project in my conf.py. When I do 
>> > this I get the error message 
>> > No file .ind 
>> > and the index is missing from my pdf. 
>> > 
>> > What am I missing here ? 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google Groups 
>> > "sphinx-users" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send an 
>> > email to sphinx-users...@googlegroups.com. 
>> > To view this discussion on the web visit 
>> > https://groups.google.com/d/msgid/sphinx-users/3540f597-7857-46b8-878f-1ede81adedean%40googlegroups.com.
>> >  
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sphinx-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sphinx-users/eb86a3a7-7115-4282-8d71-abc323eb2233n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/9403F3F4-D232-4C60-8171-BCADF67430B1%40gmail.com.


Re: [sphinx-users] make latexpdf

2020-09-13 Thread bradley...@gmail.com
Thanks for the response. I knew one has to run pdflatex twice (when any of 
the links change) and should have put that in my report above. I did not 
know three times was necessary in some cases. Unfortunately, this does not 
fix the problem; i.e., the following
rm -r _build
sphinx-build -b latex . _build/latex
cd _build/latex
pdflatex .tex 
pdflatex .tex 
pdflatex .tex 
has the same result
No file .ind
in the file file 
_build/latex/.log 
and the index is not in the file
_build/latex/.pdf

I added the
rm -r _build
because you must first delete the old _build directory to test this. If you 
don't, the old .ind file from the previous
make latexpdf
gets used by the
pdflatex .tex
command.


On Saturday, September 12, 2020 at 7:01:16 PM UTC-7 i.tk...@gmail.com wrote:

> Hi,
>
> You need to run pdflatex command multiple times to build complete PDF file.
> For more detail, please read the following article.
>
> https://www.systutorials.com/why-do-i-need-to-run-latex-bibtex-three-times-to-make-everything-look-good/
>
> Instead of pdflatex command, you can use `make` command under the
> _build/latex directory.
> It invokes pdflatex multiple times automatically. I hope it helps you.
>
> Thanks,
> Takeshi KOMIYA
>
> 2020年9月13日(日) 6:32 bradley...@gmail.com :
> >
> >
> > I am trying to figure out how to reproduce
> > make latexpdf
> > with separate calls to first build the latex and then run pdflatex. I 
> want to do this so I can directly modify the latex between the sphinx-build 
> and pdflatex (to accomplish things that are not supported by sphinx).
> >
> > I am using
> > sphinx-build -b latex . _build/latex
> > cd _build/latex
> > pdflatex .tex
> > where  is the value of project in my conf.py. When I do 
> this I get the error message
> > No file .ind
> > and the index is missing from my pdf.
> >
> > What am I missing here ?
> >
> > --
> > You received this message because you are subscribed to the Google 
> Groups "sphinx-users" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to sphinx-users...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sphinx-users/3540f597-7857-46b8-878f-1ede81adedean%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/eb86a3a7-7115-4282-8d71-abc323eb2233n%40googlegroups.com.