Re: [O] Problem when EXPORT_FILE_NAME contains a subdirectory

2013-05-30 Thread Nicolas Goaziou
Martin Marier  writes:

> And just to make sure I was expressing myself clearly: this happens when
> exporting a subtree only; there is no issue when exporting the full
> document.  You (or anyone else) can't reproduce the problem?

I could reproduce the problem: I wasn't using default value for
`org-latex-pdf-process'.

The problem should be fixed in maint. Thank you for reporting it.


Regards,

-- 
Nicolas Goaziou



Re: [O] Problem when EXPORT_FILE_NAME contains a subdirectory

2013-05-30 Thread Martin Marier
2013-05-30 11:01   Nicolas Goaziou :
> I don't think it is related to Org.
>
> Do you have write access on "test.log" file in that directory? 

Yes I do.  And by the way, the .tex file is rendered correctly in the
pdf/ folder.

> Also, what happens if you remove it first and export the document
> twice?

I get the same error twice.

And just to make sure I was expressing myself clearly: this happens when
exporting a subtree only; there is no issue when exporting the full
document.  You (or anyone else) can't reproduce the problem?

Thanks!
Martin
-- 
Martin Marier
http://www.martinmarier.com



Re: [O] Problem when EXPORT_FILE_NAME contains a subdirectory

2013-05-30 Thread Nicolas Goaziou
Martin Marier  writes:

> Yes.  I just updated and I still get the same problem.  The full output
> is here:
>
>> Wrote /home/myHome/aFolderWithAnOrgFile/pdf/test.tex
>> Processing LaTeX file ./pdf/test.tex...
>> This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
>> entering extended mode
>> ! I can't write on file `test.log'.
>> (Press Enter to retry, or Control-D to exit; default file extension is 
>> `.log')
>> Please type another transcript file name
>> ! Emergency stop
>> !  ==> Fatal error occurred, no output PDF file produced!
>
> Since I use the "run latex three times" option, this output appears
> three times.  Thank you for looking into that!

I don't think it is related to Org.

Do you have write access on "test.log" file in that directory? Also,
what happens if you remove it first and export the document twice?


Regards,

-- 
Nicolas Goaziou



Re: [O] Problem when EXPORT_FILE_NAME contains a subdirectory

2013-05-30 Thread Martin Marier
2013-05-30 08:39   Nicolas Goaziou :
>
> I just fixed a bug around the same area: when providing a relative path,
> pdf file was produced but not found and process returned an error.
> Though, the error message wasn't the same.
>
> Could you test it again with an updated Org anyway?

Yes.  I just updated and I still get the same problem.  The full output
is here:

> Wrote /home/myHome/aFolderWithAnOrgFile/pdf/test.tex
> Processing LaTeX file ./pdf/test.tex...
> This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
> entering extended mode
> ! I can't write on file `test.log'.
> (Press Enter to retry, or Control-D to exit; default file extension is `.log')
> Please type another transcript file name
> ! Emergency stop
> !  ==> Fatal error occurred, no output PDF file produced!

Since I use the "run latex three times" option, this output appears
three times.  Thank you for looking into that!

Martin
-- 
Martin Marier
http://www.martinmarier.com


smime.p7s
Description: S/MIME cryptographic signature


Re: [O] Problem when EXPORT_FILE_NAME contains a subdirectory

2013-05-30 Thread Nicolas Goaziou
Hello,

Martin Marier  writes:

> When trying to export a subtree as PDF in a subdirectory, I get this
> error:
> ! I can't write on file `test.log'.
>
> This is using this source:
>
> * head 1
>   :PROPERTIES:
>   :EXPORT_FILE_NAME: pdf/test.pdf
>   :END:
>   Moo Moo Moo.
> * head 2
>
> This used to work fine with the old exporter.  It I remove the
> subdirectory :
>   :EXPORT_FILE_NAME: test.pdf
>
> Everything works as expected.  Is this intended behavior?  Is there a
> work around that would let me export to a subdirectory?

I just fixed a bug around the same area: when providing a relative path,
pdf file was produced but not found and process returned an error.
Though, the error message wasn't the same.

Could you test it again with an updated Org anyway?


Regards,

-- 
Nicolas Goaziou



[O] Problem when EXPORT_FILE_NAME contains a subdirectory

2013-05-29 Thread Martin Marier
Hi org users,

When trying to export a subtree as PDF in a subdirectory, I get this
error:
! I can't write on file `test.log'.

This is using this source:

* head 1
  :PROPERTIES:
  :EXPORT_FILE_NAME: pdf/test.pdf
  :END:
  Moo Moo Moo.
* head 2

This used to work fine with the old exporter.  It I remove the
subdirectory :
  :EXPORT_FILE_NAME: test.pdf

Everything works as expected.  Is this intended behavior?  Is there a
work around that would let me export to a subdirectory?

Thank you very much,
Martin
-- 
Martin Marier
http://www.martinmarier.com