mirror of
https://github.com/vale981/literate-programming-tutorials
synced 2025-03-05 18:01:38 -05:00
Added Migrate LaTeX Template Code into file variables Section
This commit is contained in:
parent
0158c5239e
commit
c57656b16b
1 changed files with 35 additions and 0 deletions
|
@ -1912,6 +1912,41 @@ The following 3 files provided by the EPJ A will be needed in this tutorial:
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
* Migrate LaTeX Template Code into =file variables=
|
||||||
|
|
||||||
|
In this section, the objective is migrate LaTeX code from LaTeX template into [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Specifying-File-Variables.html][file varibles]] syntax at the bottom of the =org-mode= file. The file varibles will be used when exporting from =org-mode= back to LaTeX.
|
||||||
|
|
||||||
|
Near the top of [[file:template.tex][template.tex]] file you will find the following the lines of LaTeX code:
|
||||||
|
|
||||||
|
#+BEGIN_SRC css :noweb yes :wrap "SRC latex :eval never :exports code" :exports results
|
||||||
|
«epj-template-begin-latex-code»
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
#+RESULTS:
|
||||||
|
#+BEGIN_SRC latex :eval never :exports code
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%% Springer-Verlag %%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
%
|
||||||
|
\begin{filecontents}{leer.eps}
|
||||||
|
%!PS-Adobe-2.0 EPSF-2.0
|
||||||
|
%%CreationDate: Mon Jul 13 16:51:17 1992
|
||||||
|
%%DocumentFonts: (atend)
|
||||||
|
%%Pages: 0 1
|
||||||
|
%%BoundingBox: 72 31 601 342
|
||||||
|
%%EndComments
|
||||||
|
|
||||||
|
gsave
|
||||||
|
72 31 moveto
|
||||||
|
72 342 lineto
|
||||||
|
601 342 lineto
|
||||||
|
601 31 lineto
|
||||||
|
72 31 lineto
|
||||||
|
showpage
|
||||||
|
grestore
|
||||||
|
%%Trailer
|
||||||
|
%%DocumentFonts: Helvetica
|
||||||
|
\end{filecontents}
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
* Common Export Settings :noexport:
|
* Common Export Settings :noexport:
|
||||||
|
|
||||||
#+OPTIONS: ':nil *:t -:t ::t <:nil H:4 \n:nil ^:{} arch:headline
|
#+OPTIONS: ':nil *:t -:t ::t <:nil H:4 \n:nil ^:{} arch:headline
|
||||||
|
|
Loading…
Add table
Reference in a new issue