Quantcast

pdflatex cannot write on file test.log

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

pdflatex cannot write on file test.log

David Guaspari-2
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.

--
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)
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: pdflatex cannot write on file test.log

Mark Yagnatinsky
what happens if you try from a command line?

On Tue, Nov 15, 2016 at 8:42 PM, David Guaspari <[hidden email]> wrote:

> 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.
>
> --
> 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)
> [hidden email]
> 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: pdflatex cannot write on file test.log

David Guaspari-2
Good question. It runs from the command line.

On Wed, Nov 16, 2016 at 3:39 PM, Mark Yagnatinsky <[hidden email]> wrote:

> what happens if you try from a command line?
>
> On Tue, Nov 15, 2016 at 8:42 PM, David Guaspari <[hidden email]>
> wrote:
>
> > 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.
> >
> > --
> > 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)
> > [hidden email]
> > 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
>



--
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)
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: pdflatex cannot write on file test.log

Mark Yagnatinsky
Then I think the context menu item is doing some Really Strange.  I don't
have a context menu item, so I guess you made it yourself.  Maybe check
what it's doing.

On Wed, Nov 16, 2016 at 6:46 PM, David Guaspari <[hidden email]> wrote:

> Good question. It runs from the command line.
>
> On Wed, Nov 16, 2016 at 3:39 PM, Mark Yagnatinsky <[hidden email]>
> wrote:
>
> > what happens if you try from a command line?
> >
> > On Tue, Nov 15, 2016 at 8:42 PM, David Guaspari <[hidden email]>
> > wrote:
> >
> > > 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.
> > >
> > > --
> > > 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)
> > > [hidden email]
> > > 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
> >
>
>
>
> --
> 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)
> [hidden email]
> 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: pdflatex cannot write on file test.log

Ulrike Fischer-2
In reply to this post by David Guaspari-2
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: pdflatex cannot write on file test.log

David Guaspari-2
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 <[hidden email]> 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)
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: pdflatex cannot write on file test.log

Klaus Hoeppner-2
>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" <[hidden email]>:

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 <[hidden email]> 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)
[hidden email]
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
Loading...