Re: pdflatex cannot write on file test.log

Klaus Hoeppner <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <CABb5ar3BGWstCib9tiyLvZAs+4RVhpUZEyVc-Bf=-1xkSU=wog@mail.gmail.com>
>From my point of view browsing for pdflatex.exe as app to open the document
with is a a perfect case of modifying the context menu.
And Ulrike's explaination is most probably right, that pdflatex is run
within the bin folder with the full path of the tex file as command line
parameter. You may write a batch file that changes the working dir to where
the doc is located.

Bye
Klaus

Am 17.11.2016 12:41 schrieb "David Guaspari" <[email protected]>:

I didn't modify the context menu. I simply used the features already
available:

       right click  >  Open with  > [browse for a program] > pdflatex.exe

And I did, a suggested, check that from the command line pdflatex.exe runs
without a problem.

On Thu, Nov 17, 2016 at 3:31 AM, Ulrike Fischer <[email protected]> wrote:

> Am Tue, 15 Nov 2016 20:42:58 -0500 schrieb David Guaspari:
>
> > I'm using MikTeX on Windows 10. If, from the context menu for test.tex,
I
> > open test.tex with pdflatex (or with latex), execution blocks with an
> error
> > message saying that the program can't write on test.log. If, instead, I
> > open test.tex with TeXworks and invoke pdflatex (or latex) from there,
it
> > succeeds. This suggests to me that it's not a permissions problem -- or
> > that, if it is, it's more subtle than I know how to deal with. Grateful
> for
> > any suggestions.
>
> I have absolutly no idea how you (or some other application) added
> pdflatex or latex to the context menu but my guess would be that you
> are then running something like "pdflatex full-path-to-your-tex"
> while beeing in the bin-folder of pdflatex where external files
> can't be created (for good reasons).
>
>
> --
> Ulrike Fischer
> http://www.troubleshooting-tex.de/
>
>
> ------------------------------------------------------------
> ------------------
> _______________________________________________
> Q: How can I leave the mailing list?
> A: See http://docs.miktex.org/faq/support.html#leavingml
>



--
David Guaspari
111 Stewart Ave. #1-NE
Ithaca NY 14850
h: (607) 273-5856
c: (607) 227-1070
Iceland: +354 6251452 (don't leave a message)
[email protected]
https://dguaspari.wordpress.com <http://dguaspari.wordpress.com>
------------------------------------------------------------
------------------
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml
------------------------------------------------------------------------------
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.