Additional.lyx: correct a noweb chunk

This commit is contained in:
Uwe Stöhr 2013-01-12 20:32:06 +01:00
parent f37cdbc298
commit 832fc522eb
5 changed files with 138 additions and 80 deletions

View File

@ -21909,25 +21909,38 @@ Typically, such a chunk would look something like this:
\end_layout
\begin_layout LyX-Code
#!/bin/shif [ -z "${NOWEB_SOURCE}" ] then
#!/bin/sh
\begin_inset Newline newline
\end_inset
if [ -z "${NOWEB_SOURCE}" ]
\begin_inset Newline newline
\end_inset
then
\end_layout
\begin_layout LyX-Code
NOWEB_SOURCE=myfile.nwfi[...
\end_layout
NOWEB_SOURCE=myfile.nw
\begin_inset Newline newline
\end_inset
\begin_layout LyX-Code
code to extract files
\end_layout
fi
\begin_inset Newline newline
\end_inset
\begin_layout LyX-Code
...
use NOWEB_OUTPUT_DIR here ...]
\end_layout
\begin_layout LyX-Code
[...
code to compile files ...]@
code to extract files ...
use NOWEB_OUTPUT_DIR here ...]
\begin_inset Newline newline
\end_inset
[...
code to compile files ...]
\begin_inset Newline newline
\end_inset
@
\end_layout
\begin_layout Standard

View File

@ -19472,6 +19472,10 @@ Geschütztes
Leerzeichen
\family default
oder
\begin_inset Newline newline
\end_inset
\family sans
Strg+Leertaste
\family default
@ -24015,25 +24019,38 @@ Solch ein Chunk sieht typischerweise so aus:
\end_layout
\begin_layout LyX-Code
#!/bin/shif [ -z "${NOWEB_SOURCE}" ] then
#!/bin/sh
\begin_inset Newline newline
\end_inset
if [ -z "${NOWEB_SOURCE}" ]
\begin_inset Newline newline
\end_inset
then
\end_layout
\begin_layout LyX-Code
NOWEB_SOURCE=myfile.nwfi[...
\end_layout
NOWEB_SOURCE=myfile.nw
\begin_inset Newline newline
\end_inset
\begin_layout LyX-Code
code to extract files
\end_layout
fi
\begin_inset Newline newline
\end_inset
\begin_layout LyX-Code
...
use NOWEB_OUTPUT_DIR here ...]
\end_layout
\begin_layout LyX-Code
[...
code to compile files ...]@
code to extract files ...
use NOWEB_OUTPUT_DIR here ...]
\begin_inset Newline newline
\end_inset
[...
code to compile files ...]
\begin_inset Newline newline
\end_inset
@
\end_layout
\begin_layout Standard

View File

@ -23437,25 +23437,38 @@ build-script
\end_layout
\begin_layout LyX-Code
#!/bin/shif [ -z "${NOWEB_SOURCE}" ] then
#!/bin/sh
\begin_inset Newline newline
\end_inset
if [ -z "${NOWEB_SOURCE}" ]
\begin_inset Newline newline
\end_inset
then
\end_layout
\begin_layout LyX-Code
NOWEB_SOURCE=myfile.nwfi[...
\end_layout
NOWEB_SOURCE=myfile.nw
\begin_inset Newline newline
\end_inset
\begin_layout LyX-Code
code to extract files
\end_layout
fi
\begin_inset Newline newline
\end_inset
\begin_layout LyX-Code
...
use NOWEB_OUTPUT_DIR here ...]
\end_layout
\begin_layout LyX-Code
[...
code to compile files ...]@
code to extract files ...
use NOWEB_OUTPUT_DIR here ...]
\begin_inset Newline newline
\end_inset
[...
code to compile files ...]
\begin_inset Newline newline
\end_inset
@
\end_layout
\begin_layout Standard
@ -23763,20 +23776,9 @@ ddd
\family default
se puede definir accediendo al diálogo
\family sans
\bar under
E
\bar default
ditar\SpecialChar \menuseparator
\bar under
P
\bar default
referencias\SpecialChar \menuseparator
\bar under
H
\bar default
elpers
Editar\SpecialChar \menuseparator
Preferencias\SpecialChar \menuseparator
Helpers
\family default
cambiando la entrada
\family sans

View File

@ -23880,25 +23880,38 @@ chunk
\end_layout
\begin_layout LyX-Code
#!/bin/shif [ -z "${NOWEB_SOURCE}" ] then
#!/bin/sh
\begin_inset Newline newline
\end_inset
if [ -z "${NOWEB_SOURCE}" ]
\begin_inset Newline newline
\end_inset
then
\end_layout
\begin_layout LyX-Code
NOWEB_SOURCE=myfile.nwfi[...
\end_layout
NOWEB_SOURCE=myfile.nw
\begin_inset Newline newline
\end_inset
\begin_layout LyX-Code
code to extract files
\end_layout
fi
\begin_inset Newline newline
\end_inset
\begin_layout LyX-Code
...
use NOWEB_OUTPUT_DIR here ...]
\end_layout
\begin_layout LyX-Code
[...
code to compile files ...]@
code to extract files ...
use NOWEB_OUTPUT_DIR here ...]
\begin_inset Newline newline
\end_inset
[...
code to compile files ...]
\begin_inset Newline newline
\end_inset
@
\end_layout
\begin_layout Standard

View File

@ -20013,25 +20013,38 @@ iptでは、chunkを見つけるのにnotangleコマンドを使い、shを使
\end_layout
\begin_layout LyX-Code
#!/bin/shif [ -z "${NOWEB_SOURCE}" ] then
#!/bin/sh
\begin_inset Newline newline
\end_inset
if [ -z "${NOWEB_SOURCE}" ]
\begin_inset Newline newline
\end_inset
then
\end_layout
\begin_layout LyX-Code
NOWEB_SOURCE=myfile.nwfi[...
\end_layout
NOWEB_SOURCE=myfile.nw
\begin_inset Newline newline
\end_inset
\begin_layout LyX-Code
code to extract files
\end_layout
fi
\begin_inset Newline newline
\end_inset
\begin_layout LyX-Code
...
use NOWEB_OUTPUT_DIR here ...]
\end_layout
\begin_layout LyX-Code
[...
code to compile files ...]@
code to extract files ...
use NOWEB_OUTPUT_DIR here ...]
\begin_inset Newline newline
\end_inset
[...
code to compile files ...]
\begin_inset Newline newline
\end_inset
@
\end_layout
\begin_layout Standard