[OpenStack-docs] Where does pdflatex see 'os-doc-demo.tex'?

Anne Gentle annegentle at justwriteclick.com
Fri May 26 21:55:03 UTC 2017


On Thu, May 25, 2017 at 7:01 PM, Anne Gentle <annegentle at justwriteclick.com>
wrote:

>
>
> On Thu, May 25, 2017 at 6:36 PM, Ian Y. Choi <ianyrchoi at gmail.com> wrote:
>
>> Hello Anne,
>>
>> I think you want to generate a PDF for "os-doc-demo" which is in
>> openstackdocstheme :)
>>
>
> You got it!
>
>
>>
>> In my opinion, the problem is that pdflatex command cannot be found when
>> make command is being executed, since the error message looks that
>> pdflatex command
>> cannot be found, not os-doc-demo.tex command cannot be found.
>>
>> 1. Please check whether os-doc-demo.tex file exists or not in
>> doc/build/pdf folder. It should exist after executing sphinx-build
>> : http://git.openstack.org/cgit/openstack/openstackdocstheme/t
>> ree/tox.ini#n28
>>
>
> Yep, I see os-doc-demo.tex in the doc/build/pdf folder.
>
>
>>
>>
>> 2. Would you let me know where pdflatex command locates in your mac
>> environment?
>> Building PDFs on Mac environment was fine when I tested with mactex
>> package
>> directly downloaded from https://www.tug.org/mactex/ .
>>
>>
>>
> Hm, must be a symlink problem. What does this mean exactly?
>
> $ ls -la /Library/TeX/Distributions/.DefaultTeX/Contents/Programs/
> texbin/pdflatex
>
> lrwxr-xr-x  1 agentle  wheel  6 May 25 14:47 /Library/TeX/Distributions/.
> DefaultTeX/Contents/Programs/texbin/pdflatex -> pdftex
>

Hi again all - Had a chance to look into this further with Doug Hellman,
thanks Doug, and we concluded there's no way to get mactex working using
the homebrew package manager. Working on installing with the direct
download from https://www.tug.org/mactex/ and that should work.

Thanks -
Anne


>
> Thanks for the help Ian!
> Anne
>
>
>> With many thanks,
>>
>> /Ian
>>
>>
>> Anne Gentle wrote on 5/26/2017 6:22 AM:
>>
>> Hi all,
>>
>> In trying to build PDFs on my Mac, I'm geting this error:
>>
>> $ /usr/bin/make -C doc/build/pdf
>>
>> pdflatex  'os-doc-demo.tex'
>> make: pdflatex: No such file or directory
>> make: *** [os-doc-demo.pdf] Error 1
>>
>> Anyone know where our system expects the .tex files to be?
>>
>> More background info: I had to install latex with:
>> $ brew cask install Caskroom/cask/mactex
>>
>> Based on a read of https://tex.stackexchange.c
>> om/questions/97183/what-are-the-practical-differences-betwee
>> n-installing-latex-from-mactex-or-macpo
>>
>> Thanks for insights you may have,
>> Anne
>>
>> --
>>
>> Read my blog: justwrite.click <https://justwriteclick.com>
>> Subscribe to Docs|Code: docslikecode.com
>>
>>
>> _______________________________________________
>> OpenStack-docs mailing listOpenStack-docs at lists.openstack.orghttp://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs
>>
>>
>>
>
>
> --
>
> Read my blog: justwrite.click <https://justwriteclick.com>
> Subscribe to Docs|Code: docslikecode.com
>



-- 

Read my blog: justwrite.click <https://justwriteclick.com>
Subscribe to Docs|Code: docslikecode.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-docs/attachments/20170526/d90441f0/attachment.html>


More information about the OpenStack-docs mailing list