wilthoma / tikzedt

Automatically exported from code.google.com/p/tikzedt
1 stars 0 forks source link

Improve precompilation customization #52

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
uncertain:
1. Add "-etex" precompilation argument
2. (Re-)Generate precompiled headers
3. <Continued below>

Expected: Headers compiled successfully. (Were compiled successfully before, 
without "-etex".)

Actual Result:
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/W32TeX) (INITEX)
 restricted \write18 enabled.
entering extended mode
! I can't find file `&pdflatex'.
<*> &pdflatex 
              temp_header.tex\dump
(Press Enter to retry, or Control-Z to exit)
Please type another input file name: 
! Emergency stop.
<*> &pdflatex 
              temp_header.tex\dump
No pages of output.
Transcript written on temp_header.log.

OS: Win7x64
TeX: TeX Live 2012

3. Remove "-etex" precompilation argument
4. (Re-)Generate precompiled headers

Expected: Headers compiled successfully. (Were compiled successfully before.)

Actual Result:
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/W32TeX) (INITEX)
 restricted \write18 enabled.
entering extended mode
(./temp_header.tex
LaTeX2e <2011/06/27>

--- SNIP ---

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.20 e
      gin{document}
? 
! Emergency stop.
 ...                                              

l.20 e
      gin{document}
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on temp_header.log.

Suggestion:
Provide or document a way to see the actual command and data passed to the OS 
and pdflatex.
The error message looks to me like the "\" masks the "b" of "\begin" before 
pdflatex sees the "\begin{document}"

Also:
Would it be useful to include the "\begin{document}" in the "Code prepended" 
window, possibly merging it with "Code appended", using placeholders for 
preamble and document and being able to compile the headers from the Settings 
window? I am thinking in ways of reducing the round trip time when playing with 
the headers.

Original issue reported on code.google.com by hugo.hin...@apex-gaming.com on 23 Apr 2013 at 5:49