emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Orgmode and PDF export on Windows machine
@ 2009-06-26  7:53 Uwe Jochum
  2009-06-26  9:11 ` AW: " Holst Thomas (DS-ET/ECF1)
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Jochum @ 2009-06-26  7:53 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

since a couple of weeks I have this strange behaviour of orgmode:

When I try to export to PDF via Ctrl-c-e and then using »d« to export as
Latex, process PDF and open the PDF, orgmode begins the export process
and then stops somehow. I can export to LaTeX (l) und to a temporary
LaTeX buffer (L), and having a LaTeX buffer I can produce a PDF without
any problem, but I cannot use the »p« and the »d« key to produce PDF in
one step.

This happens since orgmode 6.27, and it happens also in 6.28b. My system
is a Windows XP machine using MikTeX als LaTeX-environment. MikTeX is
freshly updated and works well. Emacs is GNU Emacs 22.3.1.

Any hints and clues?

Best,

Uwe Jochum

^ permalink raw reply	[flat|nested] 4+ messages in thread

* AW: Orgmode and PDF export on Windows machine
  2009-06-26  7:53 Orgmode and PDF export on Windows machine Uwe Jochum
@ 2009-06-26  9:11 ` Holst Thomas (DS-ET/ECF1)
  2009-06-26  9:41   ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Holst Thomas (DS-ET/ECF1) @ 2009-06-26  9:11 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Hi,

Uwe Jochum writes:
> Hi all,
>
> since a couple of weeks I have this strange behaviour of orgmode:
>
> When I try to export to PDF via Ctrl-c-e and then using »d«
> to export as
> Latex, process PDF and open the PDF, orgmode begins the export process
> and then stops somehow. I can export to LaTeX (l) und to a temporary
> LaTeX buffer (L), and having a LaTeX buffer I can produce a
> PDF without
> any problem, but I cannot use the »p« and the »d« key to
> produce PDF in
> one step.
>
> This happens since orgmode 6.27, and it happens also in
> 6.28b. My system
> is a Windows XP machine using MikTeX als LaTeX-environment. MikTeX is
> freshly updated and works well. Emacs is GNU Emacs 22.3.1.

I have the same problem on my machine

WinXP, emacs 22.2.1, org-mode 2.28b, MikTeX 2.6

I use c-c c-e d.

The mode line says:

 Processing LaTeX file ...

The .tex file is written, but not processed. The buffer with the proces output stays empty. When I open the .tex file and run it through pdftex the pdf is generated as expected.

Mit freundlichen Grüßen / Best regards

BeQIK

Thomas Holst
DS-ET/ECF1

Tel. +49(711)811-40681
PC-Fax +49(711)811-5182208

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AW: Orgmode and PDF export on Windows machine
  2009-06-26  9:11 ` AW: " Holst Thomas (DS-ET/ECF1)
@ 2009-06-26  9:41   ` Carsten Dominik
  2009-07-03  7:06     ` Simon Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2009-06-26  9:41 UTC (permalink / raw)
  To: Holst Thomas (DS-ET/ECF1); +Cc: emacs-orgmode@gnu.org


On Jun 26, 2009, at 11:11 AM, Holst Thomas (DS-ET/ECF1) wrote:

> Hi,
>
> Uwe Jochum writes:
>> Hi all,
>>
>> since a couple of weeks I have this strange behaviour of orgmode:
>>
>> When I try to export to PDF via Ctrl-c-e and then using »d«
>> to export as
>> Latex, process PDF and open the PDF, orgmode begins the export  
>> process
>> and then stops somehow. I can export to LaTeX (l) und to a temporary
>> LaTeX buffer (L), and having a LaTeX buffer I can produce a
>> PDF without
>> any problem, but I cannot use the »p« and the »d« key to
>> produce PDF in
>> one step.
>>
>> This happens since orgmode 6.27, and it happens also in
>> 6.28b. My system
>> is a Windows XP machine using MikTeX als LaTeX-environment. MikTeX is
>> freshly updated and works well. Emacs is GNU Emacs 22.3.1.
>
> I have the same problem on my machine
>
> WinXP, emacs 22.2.1, org-mode 2.28b, MikTeX 2.6
>
> I use c-c c-e d.
>
> The mode line says:
>
> Processing LaTeX file ...
>
> The .tex file is written, but not processed. The buffer with the  
> proces output stays empty. When I open the .tex file and run it  
> through pdftex the pdf is generated as expected.
>
> Mit freundlichen Grüßen / Best regards

Org-mode uses

   pdflatex -interaction nonstopmode file.tex

file.tex is first passed through shell-quote-argument before
being inserted into the command.

Please check in Emacs what evaluating

     (shell-quote-argument "c:path\to\file")

gives you and then try to run the pdflatex command
from the command line.

I guess the problem must be that pdflatex does not exist as as command,
or that there is a problem with the quoting......

HTH

- Carsten

>
> BeQIK
>
> Thomas Holst
> DS-ET/ECF1
>
> Tel. +49(711)811-40681
> PC-Fax +49(711)811-5182208
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AW: Orgmode and PDF export on Windows machine
  2009-06-26  9:41   ` Carsten Dominik
@ 2009-07-03  7:06     ` Simon Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Brown @ 2009-07-03  7:06 UTC (permalink / raw)
  To: emacs-orgmode

On 26/06/09 10:41:08, Carsten Dominik wrote:
> Org-mode uses
> 
>    pdflatex -interaction nonstopmode file.tex
> 
> file.tex is first passed through shell-quote-argument before
> being inserted into the command.
> 
> Please check in Emacs what evaluating
> 
>      (shell-quote-argument "c:path\to\file")
> 
> gives you and then try to run the pdflatex command
> from the command line.
> 
> I guess the problem must be that pdflatex does not exist as as
> command,
> or that there is a problem with the quoting......
I'm still seeing this problem. pdflatex run as above generates the 
correct pdf file. Did anybody else find the solution?

Simon

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-07-03  7:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-26  7:53 Orgmode and PDF export on Windows machine Uwe Jochum
2009-06-26  9:11 ` AW: " Holst Thomas (DS-ET/ECF1)
2009-06-26  9:41   ` Carsten Dominik
2009-07-03  7:06     ` Simon Brown

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).