<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 8 December 2017 at 14:17, David Carlisle <span dir="ltr"><<a href="mailto:d.p.carlisle@gmail.com" target="_blank">d.p.carlisle@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5">On 8 December 2017 at 13:58,  <<a href="mailto:gml@garymlewis.com">gml@garymlewis.com</a>> wrote:<br>
> Hi -<br>
><br>
> This problem started with a "ebgaramond.sty not found" error when running a<br>
> tex file in TexMaker.<br>
><br>
> Summary:<br>
> ebgaramond.sty does not appear in ls-R-TEXLIVEDIST. Running sudo texhash<br>
> does not add the sty file.<br>
><br>
> Brief synopsis (reboots not identified):<br>
> 1. Reinstalled OS (Ubuntu 16.04 LTS)<br></div></div></blockquote><div><br></div><div>This is very rarely useful and doesn't give you an opportunity to find a solution to <br></div><div>the original issue.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5">
> 2. Reinstalled complete texlive (as sudo).<br></div></div></blockquote><div><br></div><div>A better approach is to pick a texlive administrator (e.g., the regular user of a <br></div><div>single-user systems), use "sudo" to create /usr/local/texlive and transfer</div><div>ownership to the texlive administrator.   Now that it is installed, a "chown -R ..."</div><div>can fix things.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5">
> 3. Reinstalled TexMaker (as sudo).<br></div></div></blockquote><div><br></div><div>Did you use a package from the temaker site or somethings else?</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5">
> 4. Added /usr/local/texlive/2017/bin/<wbr>x86_64-linux to $PATH in .bashrc.<br>
> 5. Ran sudo texhash.<br>
> 6. Ran myfile.tex in TexMaker. Same error: ebgaramond.sty not found.<br></div></div></blockquote><div><br></div><div>Have you tried running texmaker from the command line where pdflatex <br></div><div>works?  A GUI program started from a menu may not get the same PATH as</div><div>a shell program.<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5">
> 7. grep -i "ebgaramond.sty" ls-R-TEXLIVEDIST returns nothing.<br>
> 8. But, running pdflatex myfile.tex from the command line works fine (sty<br>
> file is found).<br>
><br>
> Is this a known bug? If not, what other information can I provide now?<br>
><br>
> Thanks.<br>
><br>
> Gary Lewis<br>
<br>
</div></div>I would guess that your editor is using the system tex that came with<br>
ubuntu not finding the one you just installed. either because it is<br>
using some explicit path like /usr/bin/pdflatex or because it is using<br>
a different PATH<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
David<br>
</font></span></blockquote></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">I agree with David.  You might get better advice from the TexMaker <br></div><div class="gmail_extra">site.   <br clear="all"><br>-- <br><div class="gmail_signature">George N. White III <<a href="mailto:aa056@chebucto.ns.ca" target="_blank">aa056@chebucto.ns.ca</a>><br>Head of St. Margarets Bay, Nova Scotia</div>
</div></div>