Skip to content

Commit

Permalink
don't compile paragraphs in preamble
Browse files Browse the repository at this point in the history
  • Loading branch information
zohooo committed Jun 8, 2016
1 parent 0459aca commit 446c736
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fragment.edt
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,15 @@

:Preamble:: =========================================================

FindInString("%!9",!"<\\begin\{document\}",1,1,11);
IfOK("JMP('Output');");
GetPreamble("\begin{document}",8);
IfOK(!'Relax;',!|LetReg(8,>
!'\documentclass{article}%\'+>
!'\usepackage{amsmath}%\'+>
);|);

FindInString("%!8\begin{document}%\", "%!9", -1, -1, 10);
IfOK("JMP('Exit')");

:Output:: ===========================================================

OpenOutput("%@('APPDATA');\QuadView\fragment.tex",0,0,0,"%F");
Expand Down

0 comments on commit 446c736

Please sign in to comment.