[OpenStack-docs] Where does pdflatex see 'os-doc-demo.tex'?
Ian Y. Choi
ianyrchoi at gmail.com
Sat May 27 03:28:29 UTC 2017
Anne Gentle wrote on 5/27/2017 6:55 AM:
>
>
> On Thu, May 25, 2017 at 7:01 PM, Anne Gentle
> <annegentle at justwriteclick.com <mailto:annegentle at justwriteclick.com>>
> wrote:
>
>
>
> On Thu, May 25, 2017 at 6:36 PM, Ian Y. Choi <ianyrchoi at gmail.com
> <mailto: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/tree/tox.ini#n28
> <http://git.openstack.org/cgit/openstack/openstackdocstheme/tree/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.
Aha I see - thanks a lot, Doug Hellmann and Anne!
I asked you a path location since there are some security issues
regarding installation path on some package after El Capitan AFAIK.
I wanted to run on my new MacBook environment today but now I do not
have to install such homebrew package to test it :)
With many thanks,
/Ian
>
> 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.com/questions/97183/what-are-the-practical-differences-between-installing-latex-from-mactex-or-macpo
>> <https://tex.stackexchange.com/questions/97183/what-are-the-practical-differences-between-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
>> <http://docslikecode.com>
>>
>>
>> _______________________________________________
>> OpenStack-docs mailing list
>> OpenStack-docs at lists.openstack.org
>> <mailto:OpenStack-docs at lists.openstack.org>
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs
>> <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs>
>
>
>
>
>
> --
>
> Read my blog: justwrite.click <https://justwriteclick.com>
> Subscribe to Docs|Code: docslikecode.com <http://docslikecode.com>
>
>
>
>
> --
>
> Read my blog: justwrite.click <https://justwriteclick.com>
> Subscribe to Docs|Code: docslikecode.com <http://docslikecode.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-docs/attachments/20170527/0b682e58/attachment-0001.html>
More information about the OpenStack-docs
mailing list