]> git.lyx.org Git - features.git/commitdiff
add shapepar module
authorUwe Stöhr <uwestoehr@lyx.org>
Sat, 12 Jan 2013 18:44:08 +0000 (19:44 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Sat, 12 Jan 2013 18:44:08 +0000 (19:44 +0100)
- shapepar.module: new module to get non-rectangular paragraph shapes
- SpecialParagraphShape.tex: an example shape definition file
- Additional.lyx:
  - accept all changes and updated all language versions accordingly
  - describe how to get custom paragraph shapes (last section of the document)
  - preamble cleanup

lib/Makefile.am
lib/doc/Additional.lyx
lib/doc/Makefile.am
lib/doc/SpecialParagraphShape.tex [new file with mode: 0644]
lib/doc/de/Additional.lyx
lib/doc/es/Additional.lyx
lib/doc/fr/Additional.lyx
lib/doc/ja/Additional.lyx
lib/layouts/shapepar.module [new file with mode: 0644]

index 808c0154f32826ddf53c60972fa26065f7c947ca..fec9ca8b4e6d216098e552320e0e8745e33ed723 100644 (file)
@@ -1951,6 +1951,7 @@ dist_layouts_DATA =\
        layouts/scrlttr2.layout \
        layouts/scrreprt.layout \
        layouts/seminar.layout \
+       layouts/shapepar.module \
        layouts/siamltex.layout \
        layouts/sigplanconf.layout \
        layouts/simplecv.layout \
index a4d0c2186555008718d5aec633ee180dbbcbacd0..1984a108443db876203edca8dc5909fec6ee3cdd 100644 (file)
@@ -1,5 +1,5 @@
 #LyX 2.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 447
+\lyxformat 459
 \begin_document
 \begin_header
 \textclass scrbook
  \cleardoublepage
  \pagenumbering{arabic}}
 
-% used for multi-column text
-\usepackage{multicol}
-
 % extra space for tables
 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
-\usepackage{enumitem}
 \end_preamble
 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
 \use_default_options false
@@ -47,6 +43,7 @@ logicalmkup
 theorems-ams
 theorems-ams-extended
 multicol
+shapepar
 \end_modules
 \maintain_unincluded_children false
 \begin_local_layout
@@ -108,6 +105,8 @@ End
 \use_package mathdots 1
 \use_package mathtools 0
 \use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
 \use_package undertilde 0
 \cite_engine basic
 \cite_engine_type numerical
@@ -131,12 +130,11 @@ End
 \papercolumns 1
 \papersides 2
 \paperpagestyle headings
-\tracking_changes true
+\tracking_changes false
 \output_changes false
 \html_math_output 0
 \html_css_as_file 0
 \html_be_strict true
-\author 819523532 "Kayvan Sylvan" 
 \end_header
 
 \begin_body
@@ -17840,7 +17838,11 @@ TeX
 \family typewriter
 chktex
 \family default
- from CTAN, 
+ from CTAN,
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset CommandInset href
 LatexCommand href
 target "http://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
@@ -20699,8 +20701,9 @@ C:
 new project 
 \family default
 in Windows Explorer, right click it, and select 
-\family typewriter
-TortoiseSVN > Repo-browser
+\family sans
+TortoiseSVN\SpecialChar \menuseparator
+Repo-browser
 \family default
 .
  If necessary, adjust the URL for the repository, then click OK.
@@ -20709,9 +20712,8 @@ TortoiseSVN > Repo-browser
 \begin_layout Enumerate
 Right click the level of the repository under which you want to place the
  new project folder (typically the top level) and click 
-\family typewriter
-Create folder\SpecialChar \ldots{}
-
+\family sans
+Create folder
 \family default
  Supply a name for the project folder and click OK.
  Add a message for the log file if desired, then click OK again.
@@ -20751,24 +20753,13 @@ new project.
 \begin_layout Enumerate
 Create or open your document in LyX and click 
 \family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-V
-\bar default
-ersion
+File\SpecialChar \menuseparator
+Version
 \begin_inset space ~
 \end_inset
 
 Control\SpecialChar \menuseparator
-
-\bar under
-R
-\bar default
-egister.
+Register.
  
 \family default
 Add a log message and click OK to commit the document to version control.
@@ -20777,15 +20768,8 @@ Add a log message and click OK to commit the document to version control.
 \begin_layout Standard
 From this point onward, you should have full functionality in the 
 \family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-V
-\bar default
-ersion
+File\SpecialChar \menuseparator
+Version
 \begin_inset space ~
 \end_inset
 
@@ -20831,7 +20815,7 @@ svn --version
 Choose an ssh client for Windows.
  There are several possibilities, we will use the one from Putty tools
 \begin_inset Foot
-status open
+status collapsed
 
 \begin_layout Plain Layout
 \begin_inset Flex URL
@@ -20985,8 +20969,15 @@ It will usually take a lot of time to get exact command right and it depends
 
 \end_deeper
 \begin_layout Enumerate
-Checkout the SVN archive, e.g.
+Checkout the SVN archive, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset Flex Code
 status collapsed
 
@@ -21450,78 +21441,21 @@ Typing code in
 
 \begin_layout Standard
 LyX enables you to write code with a layout named 
-\change_inserted 819523532 1353904450
-
 \begin_inset Flex Noun
 status collapsed
 
 \begin_layout Plain Layout
-
-\change_inserted 819523532 1353904450
 Chunk
-\change_unchanged
-
 \end_layout
 
 \end_inset
 
-
-\change_deleted 819523532 1353904406
-
-\noun on
-Scrap
-\change_unchanged
-
-\noun default
-.
-\change_deleted 819523532 1353904396
-
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-The equivalent Noweb term is 
-\begin_inset Quotes eld
-\end_inset
-
-Chunk
-\begin_inset Quotes erd
-\end_inset
-
 .
- For historical reasons, I got used to the term 
-\begin_inset Quotes eld
-\end_inset
-
-scrap
-\begin_inset Quotes erd
-\end_inset
-
- introduced by other literate tool named Nuweb, which I used for many years
- before rendering myself to Noweb.
-\end_layout
-
-\end_inset
-
-
-\change_unchanged
- Noweb delimits 
-\change_deleted 819523532 1353904459
-scraps
-\change_inserted 819523532 1353904461
-chunks
-\change_unchanged
- like this:
+ Noweb delimits chunks like this:
 \end_layout
 
 \begin_layout LyX-Code
-<<My 
-\change_deleted 819523532 1353904469
-scrap
-\change_inserted 819523532 1353904470
-code
-\change_unchanged
->>=
+<<My code>>=
 \end_layout
 
 \begin_layout LyX-Code
 
 LyX should be prevented from making any special interpretation of what has
  been written.
- This is handled by a special layout named 
-\change_deleted 819523532 1353904493
-Scrap
-\change_inserted 819523532 1353904494
+ This is also handled by 
+\begin_inset Flex Noun
+status collapsed
+
+\begin_layout Plain Layout
 Chunk
-\change_unchanged
+\end_layout
+
+\end_inset
+
 , that works like a normal paragraph but has a free spacing capability.
 \end_layout
 
@@ -21573,52 +21511,23 @@ As a special note, you can also use the
 \begin_inset Quotes erd
 \end_inset
 
- construct of Noweb in your 
-\change_deleted 819523532 1353904503
-scraps
-\change_inserted 819523532 1353904504
-chunks
-\change_unchanged
- to add items to Noweb's identifier cross-reference:
+ construct of Noweb in your chunks to add items to Noweb's identifier cross-refe
+rence:
 \end_layout
 
 \begin_layout LyX-Code
-<<My 
-\change_deleted 819523532 1353904516
-scrap
-\change_inserted 819523532 1353904517
-chunk
-\change_unchanged
->>=
-\change_inserted 819523532 1353904523
-
+<<My chunk>>=
 \end_layout
 
 \begin_layout LyX-Code
-
-\change_deleted 819523532 1353904528
-  
-\change_unchanged
 def some_function(args):
-\change_inserted 819523532 1353904543
-
 \end_layout
 
 \begin_layout LyX-Code
-
-\change_deleted 819523532 1353904543
-\change_unchanged
    "This is the doc string for this function."
-\change_inserted 819523532 1353904550
-
 \end_layout
 
 \begin_layout LyX-Code
-
-\change_deleted 819523532 1353904550
-\change_unchanged
    print "My args: ", args
 \end_layout
 
@@ -21690,11 +21599,15 @@ literate
 Note that the only difference so far is in the name of the file, no special
  processing is required by LyX.
  Given that you formatted the code using the 
-\change_deleted 819523532 1353904586
-Scrap
-\change_inserted 819523532 1353904587
+\begin_inset Flex Noun
+status collapsed
+
+\begin_layout Plain Layout
 Chunk
-\change_unchanged
+\end_layout
+
+\end_inset
+
  layout that, by itself, takes care of the business.
 \end_layout
 
@@ -21799,7 +21712,11 @@ Converter
 \begin_inset Quotes erd
 \end_inset
 
- setting, should be set to 
+ setting, should be set to
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset Quotes eld
 \end_inset
 
@@ -21812,7 +21729,10 @@ build-script $$i
 \end_inset
 
 .
- This basically means that LyX will call 
+\begin_inset Newline newline
+\end_inset
+
+This basically means that LyX will call 
 \begin_inset Quotes eld
 \end_inset
 
@@ -21837,18 +21757,45 @@ build-script
  that you can place in a directory on your path:
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage pagebreak
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\family sans
 #!/bin/sh
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
+
+\family sans
 #
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
+
+\family sans
 notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
 \end_layout
 
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 The next part of the converter setting is the 
 \begin_inset Quotes eld
@@ -21858,7 +21805,11 @@ Flags
 \begin_inset Quotes erd
 \end_inset
 
- which is to be set to 
+ which is to be set to
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset Quotes eld
 \end_inset
 
@@ -21871,7 +21822,10 @@ parselog=$$s/scripts/listerrors
 \end_inset
 
 .
- This will run any errors that are generated by the 
+\begin_inset Newline newline
+\end_inset
+
+This will run any errors that are generated by the 
 \begin_inset Quotes eld
 \end_inset
 
@@ -21900,13 +21854,7 @@ Noweb->Program
  conversion may produce several files, and so most of these would then be
  deleted when LyX was closed.
  This is why we pass in the NOWEB_OUTPUT_DIR environment variable so that
- the build-script 
-\change_deleted 819523532 1353904613
-scrap
-\change_inserted 819523532 1353904614
-chunk
-\change_unchanged
- can place the generated files in that location.
+ the build-script chunk can place the generated files in that location.
 \end_layout
 
 \begin_layout Paragraph
@@ -21922,21 +21870,9 @@ build-script
 \begin_inset Quotes erd
 \end_inset
 
-\change_deleted 819523532 1353904625
-scrap
-\change_inserted 819523532 1353904625
-chunk
-\change_unchanged
-.
+ chunk.
  Generally, the instructions for building your program should be embedded
- in a 
-\change_deleted 819523532 1353904630
-scrap
-\change_inserted 819523532 1353904630
-chunk
-\change_unchanged
- of its own.
+ in a chunk of its own.
  The noweb-specific 
 \begin_inset Quotes eld
 \end_inset
@@ -21945,13 +21881,7 @@ build-script
 \begin_inset Quotes erd
 \end_inset
 
- above uses the notangle command to look for this 
-\change_deleted 819523532 1353904632
-scrap
-\change_inserted 819523532 1353904632
-chunk
-\change_unchanged
- (called 
+ above uses the notangle command to look for this chunk (called 
 \begin_inset Quotes eld
 \end_inset
 
 \end_layout
 
 \begin_layout Standard
-Typically, such a 
-\change_deleted 819523532 1353904634
-scrap
-\change_inserted 819523532 1353904634
-chunk
-\change_unchanged
- would look something like this:
+Typically, such a chunk would look something like this:
+\end_layout
+
+\begin_layout LyX-Code
+<<build-script>>=
+\end_layout
+
+\begin_layout LyX-Code
+#!/bin/shif [ -z "${NOWEB_SOURCE}" ] then
+\end_layout
+
+\begin_layout LyX-Code
+NOWEB_SOURCE=myfile.nwfi[...
+\end_layout
+
+\begin_layout LyX-Code
+code to extract files
+\end_layout
+
+\begin_layout LyX-Code
+...
+ use NOWEB_OUTPUT_DIR here ...]
 \end_layout
 
 \begin_layout LyX-Code
-<<build-script>>=#!/bin/shif [ -z "${NOWEB_SOURCE}" ]then  NOWEB_SOURCE=myfile.nw
-fi[...
- code to extract files ...
- use NOWEB_OUTPUT_DIR here ...][...
+[...
  code to compile files ...]@
 \end_layout
 
@@ -22157,7 +22099,11 @@ build-script $$i
 \begin_inset Quotes erd
 \end_inset
 
-, with Flags set to 
+, with Flags set to
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset Quotes eld
 \end_inset
 
@@ -22212,10 +22158,26 @@ Edit Sources
  to:
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\family sans
 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
 \end_layout
 
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 With this, whenever you are using ddd and find a point in the program that
  you want to edit, you just press shift-ctrl-V (in the ddd window), and
@@ -22291,14 +22253,8 @@ LaTeX
 LyX-Code
 \family default
 , and 
-\change_deleted 819523532 1353904643
-
 \family sans
-Scrap
-\change_inserted 819523532 1353904651
 Chunk
-\change_unchanged
-
 \family default
 .
  The last one is a short cut to the 
@@ -22364,13 +22320,7 @@ Toolbar
 \end_layout
 
 \begin_layout LyX-Code
-  Icon "layout 
-\change_deleted 819523532 1353904661
-Scrap
-\change_inserted 819523532 1353904668
-Chunk
-\change_unchanged
-"
+  Icon "layout Chunk"
 \end_layout
 
 \begin_layout LyX-Code
@@ -22420,19 +22370,9 @@ Preferences
 \family default
 .
  One of the things that bothers people is the LaTeX font color.
- The default color is red, since the 
-\change_deleted 819523532 1353904675
-scrap
-\change_inserted 819523532 1353904675
-chunk
-\change_unchanged
-s uses LaTeX font, and there is a lot of 
-\change_deleted 819523532 1353904682
-scrap
-\change_inserted 819523532 1353904682
-chunk
-\change_unchanged
-s in literate documents, you may get tired of seeing everything in red.
+ The default color is red, since the chunks uses LaTeX font, and there is
+ a lot of chunks in literate documents, you may get tired of seeing everything
+ in red.
  You can change it by going to the tabs 
 \family sans
 Look&Feel
@@ -22456,8 +22396,24 @@ LyX and knitr/Sweave
 \end_layout
 
 \begin_layout Standard
-Support for knitr and Sweave is documented in the knitr.lyx example file
- and in the Sweave manual (in the Help > Specific Manuals submenu).
+Support for 
+\family sans
+knitr
+\family default
+ and 
+\family sans
+Sweave
+\family default
+ is documented in the 
+\emph on
+knitr.lyx
+\emph default
+ example file and in the Sweave manual (menu 
+\family sans
+Help\SpecialChar \menuseparator
+Specific Manuals
+\family default
+).
 \end_layout
 
 \begin_layout Chapter
@@ -22523,16 +22479,6 @@ Modules
 \series bold
 multicol
 \series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-packages ! multicol
-\end_layout
-
-\end_inset
-
  installed.
 \end_layout
 
@@ -22779,16 +22725,6 @@ For more features of multiple columns, have a look at the documentation
 \series bold
 multicol
 \series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-packages ! multicol
-\end_layout
-
-\end_inset
-
 , 
 \begin_inset CommandInset citation
 LatexCommand cite
@@ -23570,246 +23506,873 @@ Non-standard Paragraph Shapes
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{sloppypar}
+\noindent
+LaTeX as well as any other text processor uses by default rectangular paragraphs.
+ For special cases like for example posters, invitation cards or poems you
+ can modify the paragraph shape to one of your choice.
+ This can be done by using the LaTeX-package 
+\series bold
+shapepar
+\series default
+ which is loaded by using in the document settings the module 
+\family sans
+Custom paragraph shapes
+\family default
+.
 \end_layout
 
-\end_inset
+\begin_layout Subsection
+Predefined shapes
+\end_layout
 
+\begin_layout Standard
 
+\series bold
+shapepar
+\series default
+ provides the following shapes:
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_inset Tabular
+<lyxtabular version="3" rows="13" columns="3">
+<features rotate="0" booktabs="true" islongtable="true" longtabularalignment="center">
+<column alignment="center" valignment="middle" width="16col%">
+<column alignment="center" valignment="middle" width="40col%">
+<column alignment="center" valignment="middle" width="35col%">
+<row endhead="true">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
 
 \begin_layout Plain Layout
-
-
-\backslash
-newdimen
-\backslash
-varunit 
+Name
 \end_layout
 
-\begin_layout Plain Layout
-
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
 
-\backslash
-setlength{
-\backslash
-varunit}{4.5in}
+\begin_layout Plain Layout
+Description
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Annotation
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+CDlabel
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Circle with circular hole (in the size of a CD/DVD)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Cannot be scaled, take care there is not too much text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Circle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Circle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Fragile, calculation might fail
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Diamond
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Rhomboid (symbolizing a 
+\begin_inset Quotes eld
+\end_inset
+
+diamond
+\begin_inset Quotes erd
+\end_inset
+
+)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Heart
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Heart-like shape
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Hexagon
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Hexagon
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Nut
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Nut for bolt (hexagon with circular hole)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Square
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Square
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Star
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Five-point star
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Candle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Burning candle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Drop down/up
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Normal/reversed rain drop
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Fragile, calculation might fail
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+TeX
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+The TeX logo
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Triangle up/down/
+\begin_inset Newline newline
+\end_inset
+
+left/right
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Triangles in different orientations
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To use a shape for your paragraph, simply select it in LyX's pull-down box
+ for environments in the toolbar.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Here is an example paragraph in the shape of a nut:
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Nut
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note
+\series default
+: shapepar paragraphs cannot run over a page break.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+shapepar
+\series default
+ takes care that the shape will always be preserved, no matter how much
+ text is in the paragraph.
+ Therefore the paragraph size changes with the amount of contained text.
+ This can lead to paragraph sizes exceeding the page margins.
+ To demonstrate the size scaling, here is the same example paragraph but
+ with twice as much text:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Nut
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+An exception is the shape 
+\family sans
+CDlabel
+\family default
+.
+ It cannot be scaled because it must fit the size of a CD/DVD.
+ Therefore the amount of text that fits into the shape is limited.
+\begin_inset Newline newline
+\end_inset
+
+The 
+\family sans
+drop
+\family default
+ shapes and the 
+\family sans
+circle
+\family default
+ shape are fragile, meaning that the calculation of their size can fail,
+ depending on the amount of text.
+ You will then get the LaTeX error 
+\begin_inset Quotes eld
+\end_inset
+
+Arithmetic overflow
+\begin_inset Quotes erd
+\end_inset
+
+.
+ In this case one can try to remove or add some text; if nothing works one
+ has to use another shape.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
 
+\begin_layout Standard
+For shapes with tips you will maybe see that LaTeX's hyphenation routine
+ fails for text in the tips.
+ Therefore it is often necessary to add hyphenation points 
+\family sans
+(
+\begin_inset Info
+type  "shortcut"
+arg   "specialchar-insert hyphenation"
+\end_inset
 
+
+\family default
+) to the corresponding text parts.
 \end_layout
 
 \begin_layout Standard
-\noindent
-\begin_inset ERT
-status collapsed
+\begin_inset VSpace bigskip
+\end_inset
 
-\begin_layout Plain Layout
 
+\end_layout
 
-\backslash
-parshape 19 0.45
-\backslash
-varunit 0.332
-\backslash
-varunit
+\begin_layout Standard
+Shapepar paragraphs are always placed on the page that their left border
+ touches the left page margin.
+ You can therefore not use the paragraph dialog to align such paragraphs.
+ A solution is to put the paragraph into a minipage or parbox and align
+ the box.
+ The problem is hereby to find the right width for the box.
+ Because if it is too wide and you center the box, the paragraph is not
+ centered too because it sticks at the left side of the box.
+ So you might have to play a bit with the width until it fits.
+ Here are two triangular paragraphs, the first one is not aligned, the second
+ one is centered:
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
 
-0.40
-\backslash
-varunit 0.300
-\backslash
-varunit
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Triangle up
 
-0.35
-\backslash
-varunit 0.293
-\backslash
-varunit
+\lang latin
+Lo\SpecialChar \-
+rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
 
-0.30
-\backslash
-varunit 0.300
-\backslash
-varunit
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+\align center
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 1
+use_makebox 0
+width "42col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
 
-0.25
-\backslash
-varunit 0.317
-\backslash
-varunit
+\begin_layout Triangle up
+
+\lang latin
+Lo\SpecialChar \-
+rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+
 
-0.20
-\backslash
-varunit 0.342
-\backslash
-varunit
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Subsection
+Custom shapes
+\end_layout
 
-0.15
-\backslash
-varunit 0.373
-\backslash
-varunit
+\begin_layout Standard
+You can define any shape you want.
+ Doing this manually is a lot of work because every coordinate must be specified.
+ But there is a way to let the computer calculate the coordinates:
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Enumerate
+Install the program 
+\begin_inset CommandInset href
+LatexCommand href
+name "Jpgfdraw"
+target "http://www.ctan.org/tex-archive/graphics/jpgfdraw"
 
-0.10
-\backslash
-varunit 0.410
-\backslash
-varunit
+\end_inset
+
+.
 \end_layout
 
+\begin_layout Enumerate
+In 
+\family sans
+Jpgfdraw
+\family default
+ go to the menu 
+\family sans
+Te
+\begin_inset ERT
+status collapsed
+
 \begin_layout Plain Layout
 
-0.05
-\backslash
-varunit 0.453
-\backslash
-varunit
+{}
 \end_layout
 
+\end_inset
+
+X/LaT
+\begin_inset ERT
+status collapsed
+
 \begin_layout Plain Layout
 
-0.00
-\backslash
-varunit 0.500
-\backslash
-varunit
+{}
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
 
-0.05
-\backslash
-varunit 0.453
-\backslash
-varunit
+eX\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Set Normal Size
+\family default
+ and select the font size you are using in your document.
+ For example this document uses the size 12
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
 \end_layout
 
+\begin_layout Enumerate
+Draw a shape.
+\end_layout
+
+\begin_layout Enumerate
+Use the menu 
+\family sans
+Te
+\begin_inset ERT
+status collapsed
+
 \begin_layout Plain Layout
 
-0.10
-\backslash
-varunit 0.410
-\backslash
-varunit
+{}
 \end_layout
 
+\end_inset
+
+X/LaT
+\begin_inset ERT
+status collapsed
+
 \begin_layout Plain Layout
 
-0.15
-\backslash
-varunit 0.373
-\backslash
-varunit
+{}
 \end_layout
 
+\end_inset
+
+eX\SpecialChar \menuseparator
+Shapepar
+\family default
+ to export the shape to coordinates.
+ In the appearing dialog use either the outline of your shape for the coordinate
+s or the path itself.
+\begin_inset Foot
+status collapsed
+
 \begin_layout Plain Layout
+For more information see 
+\begin_inset CommandInset href
+LatexCommand href
+target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
+
+\end_inset
+
 
-0.20
-\backslash
-varunit 0.342
-\backslash
-varunit
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+
 
-0.25
-\backslash
-varunit 0.317
-\backslash
-varunit
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+The coordinates are written into a TeX-file.
+ To use it for your LyX document
+\end_layout
 
-0.30
-\backslash
-varunit 0.300
-\backslash
-varunit
+\begin_layout Enumerate
+Place the cursor before the first character of your paragraph (or into a
+ new empty one).
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Enumerate
+Open in LyX the menu 
+\family sans
+Insert\SpecialChar \menuseparator
+File\SpecialChar \menuseparator
+Child
+\begin_inset space ~
+\end_inset
 
-0.35
-\backslash
-varunit 0.293
-\backslash
-varunit
+Document
+\family default
+, select the file and use 
+\family sans
+Input
+\family default
+ as 
+\family sans
+Include Type.
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
 
-0.40
-\backslash
-varunit 0.300
-\backslash
-varunit
 \end_layout
 
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
 \begin_layout Plain Layout
 
-0.45
-\backslash
-varunit 0.332
-\backslash
-varunit
+\series bold
+Note
+\series default
+: The changed shape only applies to the current paragraph; everything is
+ reset to normal for the next paragraph.
+ Therefore the shape definition file must be input into every paragraph
+ with the desired shape.
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+
 
 \end_layout
 
+\begin_layout Standard
+\begin_inset VSpace bigskip
 \end_inset
 
-There are times when the tyranny of rectangular paragraphs must be overthrown.
- In such situations, a call to the delightful plain TeX command 
-\family typewriter
 
-\backslash
-parshape
-\family default
- is called for.
- As you can see, completely arbitrary shapes can be laid out with a suitable
- set of line length definitions.
- While this parshape may look a bit silly and useless, one could conceive
- of situations such as finely tuned dropped capitals, word wrapping around
- non-rectangular graphics, etc.
- which will benefit from such handcrafting.
+\end_layout
+
+\begin_layout Standard
+Here is an example:
 \end_layout
 
 \begin_layout Standard
@@ -23820,49 +24383,93 @@ parshape
 \end_layout
 
 \begin_layout Standard
-The syntax is 
-\family typewriter
+\begin_inset CommandInset include
+LatexCommand input
+filename "SpecialParagraphShape.tex"
 
-\backslash
-parshape numlines #1indent #1length #2indent #2length \SpecialChar \ldots{}
- #nindent #nlength
-\family default
-, where 
-\family typewriter
-numlines
-\family default
- is the number of lines of text which define the paragraph.
- If there turn out to be fewer lines, the shape is truncated; if there are
- more, the excess lines have the same dimensions as the last line of the
- definition.
- The 
-\family typewriter
-#nindent
+\end_inset
+
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+A tip:
+\series default
+ to draw complexer shapes in 
+\family sans
+Jpgfdraw
 \family default
- and 
-\family typewriter
-#nlength
+ you can draw the shape in a program of your choice and import the resulting
+ image to 
+\family sans
+Jpgfdraw
 \family default
- entries specify the indentation of the line from the left margin, and the
- length of the line as measured from that point.
- The shape applies only to the current paragraph; everything is reset to
- normal for the next paragraph.
+.
+ Then you only need to draw a line or spline along the outline of the image.
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_inset VSpace bigskip
+\end_inset
 
-\begin_layout Plain Layout
 
+\end_layout
 
-\backslash
-end{sloppypar}
+\begin_layout Standard
+The module 
+\family sans
+Custom paragraph shapes
+\family default
+ also provides the two commands 
+\family sans
+shapepar
+\family default
+ and 
+\family sans
+Shapepar
+\family default
+ which can be used to define custom shapes coordinate by coordinate.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+These commands are internally used for all shapes described here.
 \end_layout
 
 \end_inset
 
+ For information how these styles are used and about further customization
+ possibilities, have a look at the documentation of the package 
+\series bold
+shapepar
+\series default
+, 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "shapepar"
+
+\end_inset
 
+.
 \end_layout
 
 \begin_layout Bibliography
@@ -23881,13 +24488,21 @@ target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
 \end_inset
 
 
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-packages ! multicol
 \end_layout
 
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "shapepar"
+
+\end_inset
+
+Documentation of the LaTeX-package 
+\begin_inset CommandInset href
+LatexCommand href
+name "shapepar"
+target "http://mirrors.ctan.org/macros/latex/contrib/shapepar/shapepar.pdf"
+
 \end_inset
 
 
index a3efe41982bf2ab9df4a66f79a4ccf2c5c14c9d7..8ce2e77031c4cdd8c5b18c62bfce1d2fd22de273 100644 (file)
@@ -16,6 +16,7 @@ dist_doc_DATA = \
        LFUNs.lyx \
        Math.lyx \
        Shortcuts.lyx \
+       SpecialParagraphShape.tex \
        Tutorial.lyx \
        UserGuide.lyx
 
diff --git a/lib/doc/SpecialParagraphShape.tex b/lib/doc/SpecialParagraphShape.tex
new file mode 100644 (file)
index 0000000..d820cc5
--- /dev/null
@@ -0,0 +1,18 @@
+\shapepar{{100.125}%
+{0.0}b{0.0}b{133.0}%
+\\{0.0}t{0.0}{77.0}t{133.0}{68.0}%
+\\{10.533691}t{0.0}{65.0}t{145.0}{56.0}%
+\\{12.0}t{0.0}{63.0}t{147.0}{54.0}%
+\\{24.0}t{0.0}{55.0}t{155.0}{46.0}%
+\\{30.101212}t{0.0}{53.0}t{157.0}{44.0}%
+\\{36.0}t{0.0}{51.0}t{159.0}{42.0}%
+\\{48.0}t{0.0}{49.0}t{161.0}{40.0}%
+\\{60.0}t{0.0}{49.0}t{161.0}{40.0}%
+\\{72.0}t{0.0}{52.0}t{158.0}{43.0}%
+\\{72.01767}t{0.0}{52.0}t{158.0}{43.0}%
+\\{84.0}t{0.0}{57.0}t{153.0}{48.0}%
+\\{89.38559}t{0.0}{61.0}t{149.0}{52.0}%
+\\{96.0}t{0.0}{66.0}t{144.0}{57.0}%
+\\{100.5}t{0.0}{71.0}t{139.0}{62.0}%
+\\{100.5}e{0.0}%
+}
index 0b7df2342f3e24110b8e64c388e65e91e2214bac..8abe9a584d86249d7f3d0f4b1bc95e01e7e25fc0 100644 (file)
@@ -1,5 +1,5 @@
 #LyX 2.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 431
+\lyxformat 459
 \begin_document
 \begin_header
 \textclass scrbook
  \cleardoublepage
  \pagenumbering{arabic}}
 
-% used for multi-column text
-\usepackage{multicol}
-
 % extra space for tables
 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
 
 % Damit der Index den Namen "Stichwortverzeichnis" erhält
 \addto\captionsngerman{\renewcommand{\indexname}{Stichwortverzeichnis}}
-
-% Prüfung auf benötigte LaTeXPakete
-\usepackage{ifthen}
-
-% für textumflossenen Bilder/Tabellen
-% Prüfung auf picinpar
-\newboolean{picinpar}
-\IfFileExists{picinpar.sty}
- {\usepackage{picinpar}
-  \setboolean{picinpar}{true}}
- {\setboolean{picinpar}{false}}
 \end_preamble
 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
 \use_default_options false
@@ -59,6 +45,7 @@ logicalmkup
 theorems-ams
 theorems-ams-extended
 multicol
+shapepar
 \end_modules
 \maintain_unincluded_children false
 \begin_local_layout
@@ -83,13 +70,13 @@ End
 \font_roman default
 \font_sans default
 \font_typewriter default
+\font_math auto
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
-
 \graphics default
 \default_output_format default
 \output_sync 0
@@ -120,6 +107,8 @@ End
 \use_package mathdots 1
 \use_package mathtools 0
 \use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
 \use_package undertilde 1
 \cite_engine basic
 \cite_engine_type numerical
@@ -9530,7 +9519,7 @@ Dokumentformat
 
 \begin_layout Subsubsection
 Dinge, die funktionieren, jedoch zusätzlicher Hinweise bedürfen
-\begin_inset Argument
+\begin_inset Argument 1
 status collapsed
 
 \begin_layout Plain Layout
@@ -19030,7 +19019,11 @@ prüfen
 chktex
 \family default
  installiert ist.
- Sie können es von CTAN beziehen, 
+ Sie können es von CTAN beziehen,
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset CommandInset href
 LatexCommand href
 target "http://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
@@ -19310,8 +19303,7 @@ Werkzeuge
 \SpecialChar \menuseparator
 
 \family sans
-Einstellungen\SpecialChar \ldots{}
-\SpecialChar \menuseparator
+Einstellungen\SpecialChar \menuseparator
 Ausgaben\SpecialChar \menuseparator
 LaTe
 \begin_inset ERT
@@ -22714,8 +22706,9 @@ C:
 new project 
 \family default
 in Windows Explorer, right click it, and select 
-\family typewriter
-TortoiseSVN > Repo-browser
+\family sans
+TortoiseSVN\SpecialChar \menuseparator
+Repo-browser
 \family default
 .
  If necessary, adjust the URL for the repository, then click OK.
@@ -22726,9 +22719,8 @@ TortoiseSVN > Repo-browser
 \lang english
 Right click the level of the repository under which you want to place the
  new project folder (typically the top level) and click 
-\family typewriter
-Create folder\SpecialChar \ldots{}
-
+\family sans
+Create folder
 \family default
  Supply a name for the project folder and click OK.
  Add a message for the log file if desired, then click OK again.
@@ -22772,24 +22764,13 @@ new project.
 \lang english
 Create or open your document in LyX and click 
 \family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-V
-\bar default
-ersion
+File\SpecialChar \menuseparator
+Version
 \begin_inset space ~
 \end_inset
 
 Control\SpecialChar \menuseparator
-
-\bar under
-R
-\bar default
-egister.
+Register.
  
 \family default
 Add a log message and click OK to commit the document to version control.
@@ -22800,15 +22781,8 @@ Add a log message and click OK to commit the document to version control.
 \lang english
 From this point onward, you should have full functionality in the 
 \family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-V
-\bar default
-ersion
+File\SpecialChar \menuseparator
+Version
 \begin_inset space ~
 \end_inset
 
@@ -23044,8 +23018,15 @@ It will usually take a lot of time to get exact command right and it depends
 \begin_layout Enumerate
 
 \lang english
-Checkout the SVN archive, e.g.
+Checkout the SVN archive, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset Flex Code
 status collapsed
 
@@ -23507,91 +23488,42 @@ Erstellen von Dokumentation und Quellcode
 \end_layout
 
 \begin_layout Paragraph
-Auswählen der Dokumentklasse
-\end_layout
-
-\begin_layout Standard
-Wenn Sie LyX und NoWeb erfolgreich installiert haben, stehen Ihnen bei der
- Auswahl der Dokumentklasse drei weitere Klassen zur Auswahl:
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Article (Noweb)
-\end_layout
-
-\begin_layout Itemize
-
-\family sans
-Book (Noweb)
-\end_layout
-
-\begin_layout Itemize
 
-\family sans
-Report (Noweb)
+\lang english
+Using the noweb module
 \end_layout
 
 \begin_layout Standard
-Sie müssen eine davon verwenden, wenn Sie einen Text mit Literarischer Programmi
-erung erstellen wollen.
-\end_layout
 
-\begin_layout Standard
-Generell ist Literarische Programmierung nicht auf diese drei Klassen beschränkt
-, es können jederzeit weitere Klassen auf der Basis von bestehenden Stildateien
- wie etwa 
-\family sans
-letter
-\family default
- erstellt werden oder bestehende Klassen wie etwa 
-\family sans
-article
-\begin_inset space ~
+\lang english
+If you have installed Noweb and LyX successfully, whenever you open a new
+ document, after you have chosen its document class, use the Document->Settings
+ menu to add the 
+\begin_inset Quotes eld
 \end_inset
 
-(AMS)
-\family default
- ent\SpecialChar \-
-spre\SpecialChar \-
-chend angepasst werden.
- Die Beschränkung auf drei Klassen ist eine Folge des Wunsches, die Auswahlliste
- nicht übermäßig lang werden zu lassen.
- Falls Sie irgendwelche besonderen Wünsche haben, wenden Sie sich an 
-\noun on
-Kay\SpecialChar \-
-van
-\noun default
-\noun on
-Sylvan
-\noun default
- (
-\begin_inset Flex URL
-status collapsed
-
-\begin_layout Plain Layout
-
-kayvan@sylvan.com
-\end_layout
+noweb
+\begin_inset Quotes erd
+\end_inset
 
+ module.
+ If Noweb is correctly installed, when you click on the 
+\begin_inset Quotes eld
 \end_inset
 
-) und er wird versuchen, einen entsprechenden Eintrag zu bewirken oder Ihnen
- dabei helfen, das selber zu machen.
-\begin_inset Foot
-status collapsed
+Modules
+\begin_inset Quotes erd
+\end_inset
 
-\begin_layout Plain Layout
-Es ist ziemlich einfach, Sie müssen lediglich eine vierzeilige Datei anlegen
- und die automatische LyX-Konfiguration starten.
-\end_layout
+ link, you will see the 
+\begin_inset Quotes eld
+\end_inset
 
+noweb
+\begin_inset Quotes erd
 \end_inset
 
- Gleiches gilt für den Fall, dass Sie ein anderes Programm als NoWeb verwenden
- wollen, auch dann müssen Sie eigene neue Dokumentklassen erstellen.
+ module in the available list and you can add it to your document.
 \end_layout
 
 \begin_layout Paragraph
@@ -23600,42 +23532,25 @@ Die Eingabe von Programmcode
 
 \begin_layout Standard
 In LyX verwenden Sie zur Eingabe von Programmcode den Umgebungstyp 
-\family sans
-Scrap.
-\begin_inset Foot
+\begin_inset Flex Noun
 status collapsed
 
 \begin_layout Plain Layout
-Der entsprechende Terminus in NoWeb ist 
-\begin_inset Quotes gld
-\end_inset
-
 Chunk
-\begin_inset Quotes grd
-\end_inset
-
-.
- Die Bezeichnung 
-\begin_inset Quotes gld
-\end_inset
-
-Scrap
-\begin_inset Quotes grd
-\end_inset
-
- wurde aus einem anderen Programm, Nuweb, übernommen, das vor NoWeb lange
- Jahre verwendet wurde.
 \end_layout
 
 \end_inset
 
 
+\family sans
+.
+
 \family default
- NoWeb schließt derartige Eingaben so ein:
+ NoWeb schließt Chunks so ein:
 \end_layout
 
 \begin_layout LyX-Code
-<<Mein scrap>>=
+<<Mein Code>>=
 \end_layout
 
 \begin_layout LyX-Code
@@ -23670,113 +23585,59 @@ Das Problem dabei ist, dass alles, was zwischen
  steht, wörtlich genommen werden muss, das heißt LyX muss daran gehindert
  werden, die Eingabe in seiner Weise zu interpretieren und zu verändern.
  Aus diesem Grund gibt es den Umgebungstyp 
-\family sans
-Scrap
-\family default
-.
- Er verhält sich wie eine normale Absatzumgebung, bietet aber zusätzlich
- die Möglichkeit, Leerzeichen beliebig zu verwenden.
-\end_layout
-
-\begin_layout Standard
-Der Nachteil davon ist, dass aufeinanderfolgende Code-Absätze durch eine
- Leerzeile voneinander getrennt werden, sowohl im Quelltext wie auch in
- der gedruckten Dokumentation.
- Dies können Sie umgehen, indem Sie die einzelnen Zeilen mit 
-\family sans
-Strg+Ein\SpecialChar \-
-ga\SpecialChar \-
-be
-\family default
- anstelle von 
-\family sans
-Eingabe
-\family default
- abschließen.
- Das obige Beispiel sähe also so aus:
-\begin_inset Foot
+\begin_inset Flex Noun
 status collapsed
 
 \begin_layout Plain Layout
-In der gedruckten Version dieses Textes sehen Sie keinen Unterschied.
+Chunk
 \end_layout
 
 \end_inset
 
-
+.
+ Er verhält sich wie eine normale Absatzumgebung, bietet aber zusätzlich
+ die Möglichkeit, Leerzeichen beliebig zu verwenden.
 \end_layout
 
-\begin_layout LyX-Code
-<<Mein scrap>>=
-\begin_inset Newline newline
-\end_inset
-
-  Code
-\begin_inset Newline newline
-\end_inset
-
-  Mehr Code
-\begin_inset Newline newline
+\begin_layout Standard
+Hinweis: Sie können auch NoWebs 
+\begin_inset Quotes gld
 \end_inset
 
-  Noch mehr Code
-\begin_inset Newline newline
+%def
+\begin_inset Quotes grd
 \end_inset
 
-  @
-\end_layout
-
-\begin_layout Standard
-Bis auf die Unannehmlichkeit, 
-\family sans
-Strg+Eingabe
-\family default
- verwenden zu müssen, funktioniert dieses Format einwandfrei.
-\begin_inset Foot
+-Konstrukt in Ihren 
+\begin_inset Flex Noun
 status collapsed
 
 \begin_layout Plain Layout
-Es steht aber auf der Wunschliste des Autors, dies zu verbessern.
-\end_layout
-
-\end_inset
-
+Chunk
 \end_layout
 
-\begin_layout Standard
-Als besonderer Hinweis: Sie können auch NoWebs 
-\begin_inset Quotes gld
-\end_inset
-
-%def
-\begin_inset Quotes grd
 \end_inset
 
--Konstrukt in Ihren 
-\family sans
-Scrap
-\family default
 -Absätzen benutzen, um Einträge zu NoWebs Querverweisen hinzuzufügen:
 \end_layout
 
 \begin_layout LyX-Code
-<<Mein scrap>>=
-\begin_inset Newline newline
-\end_inset
+<<Mein Chunk>>=
+\end_layout
 
-  def eine_funktion(args):
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+def eine_funktion(args):
+\end_layout
 
-    "Dies ist die Beschreibung der Funktion."
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+   "Dies ist die Beschreibung der Funktion."
+\end_layout
 
-    print "My args: ", args
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+   print "My args: ", args
+\end_layout
 
+\begin_layout LyX-Code
 @ %def eine_funktion
 \end_layout
 
@@ -23789,8 +23650,7 @@ listerrors.lyx
  (
 \family sans
 Datei\SpecialChar \menuseparator
-Öffnen\SpecialChar \ldots{}
-\SpecialChar \menuseparator
+Öffnen\SpecialChar \menuseparator
 Beispiele
 \family default
 ).
@@ -23858,9 +23718,15 @@ sion
 Der einzige Unterschied ist bislang der Dateiname, es ist also keinerlei
  Sonderbehandlung seitens LyX notwendig.
  Der Umgebungstyp 
-\family sans
-Scrap
-\family default
+\begin_inset Flex Noun
+status collapsed
+
+\begin_layout Plain Layout
+Chunk
+\end_layout
+
+\end_inset
+
 , den Sie zum Formatieren des Programmcodes verwendet haben, sorgt für die
  korrekte Behandlung.
 \end_layout
@@ -24015,70 +23881,101 @@ build-script
 , die Sie in einem Verzeichnis in Ihrem Pfad einfügen können:
 \end_layout
 
-\begin_layout LyX-Code
-#!/bin/sh
-\end_layout
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
 
-\begin_layout LyX-Code
-#
-\end_layout
 
-\begin_layout LyX-Code
-notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 sh
 \end_layout
 
 \begin_layout Standard
-Der zweite Teil sind die 
+
 \family sans
-Extra
-\begin_inset space ~
-\end_inset
+#!/bin/sh
+\end_layout
 
-flags
-\family default
- für den Konverter, die auf 
-\family typewriter
-originaldir,parselog
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
 
-\begin_layout Plain Layout
+\family sans
+#
+\end_layout
 
+\begin_layout Standard
 
-\backslash
+\family sans
+notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
 \end_layout
 
+\begin_layout Standard
+\begin_inset VSpace defskip
 \end_inset
 
-=listerrors
-\family default
- gesetzt werden müssen.
- Damit werden alle von 
-\family sans
-build-script
-\family default
- erzeugten Fehler mit dem 
-\family typewriter
-listerrors
-\family default
--Programm bearbeitet.
+
 \end_layout
 
 \begin_layout Standard
-Der Konverter sucht zuerst im Verzeichnis 
-\family typewriter
-~/.lyx/scripts
-\family default
-, dann in 
-\family typewriter
-LyXDir/scripts
-\family default
- und dann im Pfad des 
+
+\lang english
+The next part of the converter setting is the 
+\begin_inset Quotes gld
+\end_inset
+
+Flags
+\begin_inset Quotes grd
+\end_inset
+
+ which is to be set to
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Quotes gld
+\end_inset
+
+
 \family typewriter
+parselog=$$s/scripts/listerrors
+\family default
+
+\begin_inset Quotes grd
+\end_inset
+
+.
+\begin_inset Newline newline
+\end_inset
+
+This will run any errors that are generated by the 
+\begin_inset Quotes gld
+\end_inset
+
+build-script
+\begin_inset Quotes grd
+\end_inset
+
+ process through the 
+\begin_inset Quotes gld
+\end_inset
+
 listerrors
+\begin_inset Quotes grd
+\end_inset
+
+ program.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The build will normally take place in LyX's temporary directory, so the
+ files produced by the conversion will be in that directory.
+ LyX will copy out what it regards as the `main' file, but the 
+\family typewriter
+Noweb->Program
 \family default
--Programms.
+ conversion may produce several files, and so most of these would then be
+ deleted when LyX was closed.
+ This is why we pass in the NOWEB_OUTPUT_DIR environment variable so that
+ the build-script chunk can place the generated files in that location.
 \end_layout
 
 \begin_layout Paragraph
@@ -24086,21 +23983,13 @@ Build-Befehle im Dokument
 \end_layout
 
 \begin_layout Standard
-Das letzte Stück für die Integration von LyX und NoWeb ist das 
-\family sans
-Scrap
-\family default
+Das letzte Stück für die Integration von LyX und NoWeb ist das Chunk 
 \family typewriter
 build-script
 \family default
 .
- Im allgemeinen sollten die Befehle zum Erzeugen Ihres Programms in ein
- eigenes 
-\family sans
-Scrap
-\family default
- eingebettet sein.
+ Im allgemeinen sollten die Befehle zum Erzeugen Ihres Programms in einen
+ eigenen Chunk eingebettet sein.
  Das obige NoWeb-spezifische 
 \family typewriter
 build-script
@@ -24109,11 +23998,7 @@ build-script
 \family typewriter
 notangle
 \family default
--Befehl, um nach diesem 
-\family sans
-Scrap
-\family default
-, ge\SpecialChar \-
+-Befehl, um nach diesem Chunk, ge\SpecialChar \-
 nannt 
 \family typewriter
 build-script
@@ -24122,53 +24007,33 @@ build-script
 \end_layout
 
 \begin_layout Standard
-Solch ein 
-\family sans
-Scrap
-\family default
- sieht typischerweise so aus:
+Solch ein Chunk sieht typischerweise so aus:
 \end_layout
 
 \begin_layout LyX-Code
 <<build-script>>=
-\begin_inset Newline newline
-\end_inset
-
-#!/bin/sh
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Newline newline
-\end_inset
-
-if [ -z "${NOWEB_SOURCE}" ]
-\begin_inset Newline newline
-\end_inset
+\end_layout
 
-then
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+#!/bin/shif [ -z "${NOWEB_SOURCE}" ] then
+\end_layout
 
-  NOWEB_SOURCE=meinedatei.nw
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+NOWEB_SOURCE=myfile.nwfi[...
+\end_layout
 
-fi
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+code to extract files
+\end_layout
 
-[...
- Code zum Extrahieren von Dateien ]
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+...
+ use NOWEB_OUTPUT_DIR here ...]
+\end_layout
 
+\begin_layout LyX-Code
 [...
- Code zum Extrahieren von Dateien ]
-\begin_inset Newline newline
-\end_inset
-
-@
+ code to compile files ...]@
 \end_layout
 
 \begin_layout Standard
@@ -24211,165 +24076,171 @@ g von LyX für Literarische Programmierung, denn sie wurden in Python, C
 \end_layout
 
 \begin_layout Subsubsection
-Ly
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{}
-\end_layout
-
-\end_inset
-
-X-Konfiguration
+LyX-Konfiguration
 \end_layout
 
 \begin_layout Standard
-Alle Einstellungen für die Literarische Programmierung werden in 
+
+\lang english
+All the Literate Programming support is configured by the 
 \family sans
-Bearbeiten\SpecialChar \menuseparator
-Ein\SpecialChar \-
-stel\SpecialChar \-
-lun\SpecialChar \-
-gen\SpecialChar \ldots{}
-\SpecialChar \menuseparator
-Konverter
+Tools\SpecialChar \menuseparator
+Preferences
 \family default
- gemacht.
+ panel in the 
+\begin_inset Quotes eld
+\end_inset
+
+File Handling
+\begin_inset Quotes erd
+\end_inset
+
+ tab.
+ The important parts are:
 \end_layout
 
 \begin_layout Description
-das
+
+\lang english
+the
 \begin_inset space ~
 \end_inset
 
-literarische
+
+\begin_inset Quotes eld
+\end_inset
+
+NoWeb
+\begin_inset Quotes erd
+\end_inset
+
+
 \begin_inset space ~
 \end_inset
 
-Format wird auf der Karteikarte 
-\family sans
-Formate
-\family default
- festgelegt.
- Hier werden die Noweb-spezifischen Dinge definiert.
- Der 
-\family sans
-Name im
-\family default
+format Set up via the File Formats tab, this is where the Noweb-specific
+ pieces are set up.
+ The 
 \family sans
-GUI
+GUI Name
 \family default
- wird auf 
+ is set to 
 \family typewriter
 NoWeb
 \family default
- gesetzt, die 
-\family sans
-Datei
-\begin_inset space ~
-\end_inset
-
-Endung
-\family default
- auf 
+, the file extension is set to 
 \family typewriter
 .nw
 \family default
 .
- Damit wird LyX gesagt, im ersten Schritt der Konvertierung eine 
+ This tells LyX to create a file with a 
 \family typewriter
 .nw
 \family default
--Datei zu erzeugen.
+ extension in the first step of the conversion process.
 \end_layout
 
 \begin_layout Description
-das
+
+\lang english
+the
 \begin_inset space ~
 \end_inset
 
-Programmformat ist ein leeres Format, das nur dazu dient, das Ende der Konvertie
-rung zu sein (womit Sie dafür einen Konverter einstellen können).
-\end_layout
-
-\begin_layout Description
-NoWeb
-\begin_inset Formula $\rightarrow$
-\end_inset
 
-LaTe
 \family sans
+Program
+\family default
 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
 
-{}
+format This is an empty format whose sole purpose is to be the endpoint
+ of a conversion (which then allows us to set up a converter for it).
 \end_layout
 
-\end_inset
-
+\begin_layout Description
 
+\family sans
+\lang english
+NoWeb
 \family default
-X Dieser Konverter 
-\emph on
-webt
-\emph default
- das literarische Dokument.
- Für Noweb wird der 
+->
 \family sans
-Befehl
+LaTeX
 \family default
- auf 
-\begin_inset Newline newline
+ This converter performs the 
+\begin_inset Quotes eld
+\end_inset
+
+weaving
+\begin_inset Quotes erd
+\end_inset
+
+ of the literate document.
+ For Noweb, it is set to 
+\begin_inset Quotes eld
 \end_inset
 
 
 \family typewriter
 noweave -delay -index $$i > $$o
 \family default
- gesetzt.
+
+\begin_inset Quotes erd
+\end_inset
+
+
 \end_layout
 
 \begin_layout Description
+
+\family sans
+\lang english
 NoWeb
-\begin_inset Formula $\rightarrow$
+\family default
+->
+\family sans
+Program
+\family default
+ This performs the 
+\begin_inset Quotes eld
+\end_inset
+
+tangling step
+\begin_inset Quotes erd
 \end_inset
 
-Program Dies ist der Schritt zum 
-\emph on
-Verknoten
-\emph default
 .
- Wie oben erwähnt werden hier der 
-\family sans
-Befehl
-\family default
- auf 
-\begin_inset Newline newline
+ As stated above, the Converter is set to 
+\begin_inset Quotes eld
 \end_inset
 
 
 \family typewriter
 build-script $$i
 \family default
- und 
-\family sans
-Extra
-\begin_inset space ~
+ $$r
+\begin_inset Quotes erd
 \end_inset
 
-flags
-\family default
- auf 
+, with Flags set to
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+
 \family typewriter
-originaldir,parselog=listerrors
+parselog=$$s/scripts/listerrors
 \family default
- gesetzt.
+
+\begin_inset Quotes erd
+\end_inset
+
+.
 \end_layout
 
 \begin_layout Subsubsection
@@ -24462,10 +24333,26 @@ Edit Sources
  folgenden Wert geben:
 \end_layout
 
-\begin_layout Quote
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\family sans
 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
 \end_layout
 
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 Wenn Sie nun 
 \family typewriter
@@ -24492,25 +24379,52 @@ ddd
 
 \begin_layout Standard
 Um diese Fähigkeit benutzen zu können, müssen Sie allerdings den LyX-Server
- aktiviert haben.
- Dazu benötigen Sie den Eintrag
-\end_layout
-
-\begin_layout Quote
-
-\family typewriter
-
-\backslash
-serverpipe "/home/<your home directory>/.lyxpipe"
-\end_layout
-
-\begin_layout Standard
-in Ihrer Datei 
-\family typewriter
-preferences
+ aktiviert haben (ist standardmäßig deaktiviert).
+\lang english
+You can enable it in 
+\family sans
+Preferences
 \family default
-.
- Weitere Informationen zum LyX-Server finden Sie in der LyX-Dokumentation.
+ (tabs 
+\family sans
+Inputs
+\family default
+, 
+\family sans
+Paths
+\family default
+) by entering in the 
+\family sans
+LyXserver pipe
+\family default
+ a path like
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+
+\family typewriter
+/home/<your-home-directory>/.lyx/lyxpipe
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Read the LyX server documentation in the 
+\emph on
+Customization Manual
+\emph default
+ for further information.
 \end_layout
 
 \begin_layout Subsubsection
@@ -24559,7 +24473,7 @@ X-Code
 \family default
 , und 
 \family sans
-Scrap
+Chunk
 \family default
 .
  Der sechste ist für den Menüpunkt 
@@ -24631,7 +24545,7 @@ add layout LyX-Code
 \begin_layout LyX-Code
 
 \backslash
-add layout Scrap
+add layout Chunk
 \end_layout
 
 \begin_layout LyX-Code
@@ -24687,9 +24601,7 @@ Farben anpassen
 \end_layout
 
 \begin_layout Standard
-Viele der von LyX zur Darstellung verwendeten Farben können den eigenen
- Wünschen angepasst werden.
- Das wird mit 
+Viele der von LyX zur Darstellung verwendeten Farben können im Menü 
 \family sans
 Werkzeuge\SpecialChar \menuseparator
 Einstellungen\SpecialChar \menuseparator
@@ -24697,39 +24609,64 @@ Aussehen\SpecialChar \menuseparator
 Far\SpecialChar \-
 ben
 \family default
- gemacht.
+ den eigenen Wünschen angepasst werden.
+\lang english
+One of the things that bothers people is the LaTeX font color.
+ The default color is red, since the chunks uses LaTeX font, and there is
+ a lot of chunks in literate documents, you may get tired of seeing everything
+ in red.
+ You can change it by going to the tabs 
+\family sans
+Look&Feel
+\family default
+, 
+\family sans
+Colors.
 \end_layout
 
-\begin_layout Chapter
-Spezielle Features
-\begin_inset CommandInset label
-LatexCommand label
-name "chap:Spezielle-Features"
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-LaTe
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+\begin_layout Standard
 
-{}
+\lang english
+The next thing is the visible presence of the newline character in the screen.
+ You can choose the color of this particular character and make it blend
+ in the background.
+ I recommend you choosing a color that is close to the background but not
+ equal, that way you still can see it is there, but it is not bothering
+ you anymore.
 \end_layout
 
-\end_inset
-
-X ! Spezielle Features
+\begin_layout Subsection
+LyX und knitr/Sweave
 \end_layout
 
-\end_inset
-
+\begin_layout Standard
+Die Unterstützung für 
+\family sans
+knitr
+\family default
+ und 
+\family sans
+Sweave
+\family default
+ ist in der Beispieldatei 
+\emph on
+knitr.lyx
+\emph default
+ und im 
+\emph on
+Sweave
+\emph default
+ Handbuch (Menü 
+\family sans
+Hilfe\SpecialChar \menuseparator
+Spezielle Handbücher
+\family default
+) dokumentiert.
+\end_layout
 
+\begin_layout Chapter
+Spezielle Features
 \end_layout
 
 \begin_layout Standard
@@ -24787,16 +24724,6 @@ Module
 \series bold
 multicol
 \series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-Pakete ! multicol
-\end_layout
-
-\end_inset
-
  installiert sein.
 \end_layout
 
 \series bold
 multicol
 \series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-
-\lang english
-LaTeX-Pakete ! multicol
-\end_layout
-
-\end_inset
-
 , 
 \begin_inset CommandInset citation
 LatexCommand cite
@@ -25166,7 +25081,8 @@ On the evening of the crime, he returned from the club exactly at ten.
 
 \begin_layout Standard
 Man kann auch einen Abschnittstitel als Vorwort verwenden indem man den
- Abschnitts-Befehl als TeX-Code nach dem ersten TeX-Code eingibt.
+ Ab\SpecialChar \-
+schnitts-Befehl als TeX-Code nach dem ersten TeX-Code eingibt.
  Zum Beispiel erstellt der Befehl
 \end_layout
 
@@ -25853,281 +25769,954 @@ auf Voreinstellung zurücksetzen
 
 \begin_layout Section
 Ungewöhnliche Absatzformen
-\begin_inset Index idx
-status collapsed
+\end_layout
 
-\begin_layout Plain Layout
-Ungewöhnliche Absatzformen
+\begin_layout Standard
+\noindent
+LaTeX verwendet, wie alle anderen Textprogramme, standardmäßig rechteckige
+ Absätze.
+ Für spezielle Fälle wie zum Beispiel Poster, Einladungskarten oder Gedichte
+ kann man die Abssatzform beliebig verändern.
+ Dies kann mit dem LaTeX-Paket 
+\series bold
+shapepar
+\series default
+ gemacht werden, das geladen wird, indem in den Dokumenteinstellungen das
+ Modul 
+\family sans
+Benutzerdefinierte Absatzformen
+\family default
+ verwendet.
 \end_layout
 
-\end_inset
+\begin_layout Subsection
+Vordefinierte Formen
+\end_layout
 
+\begin_layout Standard
 
+\series bold
+shapepar
+\series default
+ bietet die folgenden Formen an:
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_inset Tabular
+<lyxtabular version="3" rows="13" columns="3">
+<features rotate="0" booktabs="true" islongtable="true" longtabularalignment="center">
+<column alignment="center" valignment="middle" width="16col%">
+<column alignment="center" valignment="middle" width="40col%">
+<column alignment="center" valignment="middle" width="35col%">
+<row endhead="true">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
 
 \begin_layout Plain Layout
-
-
-\backslash
-newdimen
-\backslash
-varunit 
+Name
 \end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
 \begin_layout Plain Layout
+Beschreibung
+\end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
 
-\backslash
-setlength{
-\backslash
-varunit}{5.5in}
+\begin_layout Plain Layout
+Anmerkung
 \end_layout
 
 \end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
-
+\begin_layout Plain Layout
+CDBeschriftung
 \end_layout
 
-\begin_layout Standard
-\noindent
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
 
 \begin_layout Plain Layout
+Kreis mit rundem Loch (in der Größe einer CD/DVD)
+\end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
 
-\backslash
-parshape 19 0.45
-\backslash
-varunit 0.332
-\backslash
-varunit
+\begin_layout Plain Layout
+Kann nicht skaliert werden, daher Textmenge beachten
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
 
-0.40
-\backslash
-varunit 0.300
-\backslash
-varunit
+\begin_layout Plain Layout
+Kreis
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
 
-0.35
-\backslash
-varunit 0.293
-\backslash
-varunit
+\begin_layout Plain Layout
+Kreis
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
 
-0.30
-\backslash
-varunit 0.300
-\backslash
-varunit
+\begin_layout Plain Layout
+Fragil, Berechnung kann fehlschlagen
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
 
-0.25
-\backslash
-varunit 0.317
-\backslash
-varunit
+\begin_layout Plain Layout
+Diamant
 \end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
 \begin_layout Plain Layout
+Rhomboid (symbolisiert einen 
+\begin_inset Quotes gld
+\end_inset
 
-0.20
-\backslash
-varunit 0.342
-\backslash
-varunit
+Diamanten
+\begin_inset Quotes grd
+\end_inset
+
+)
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
 
-0.15
-\backslash
-varunit 0.373
-\backslash
-varunit
+\begin_layout Plain Layout
+-
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
 
-0.10
-\backslash
-varunit 0.410
-\backslash
-varunit
+\begin_layout Plain Layout
+Herz
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
 
-0.05
-\backslash
-varunit 0.453
-\backslash
-varunit
+\begin_layout Plain Layout
+Herzform
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
 
-0.00
-\backslash
-varunit 0.500
-\backslash
-varunit
+\begin_layout Plain Layout
+-
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Sechseck
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Sechseck
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Mutter
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Schraubenmutter (Sechseck mit rundem Loch)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Quadrat
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Quadrat
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Stern
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Fünfzackiger Stern
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Kerze
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Brennende Kerze
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Tropfen unten/oben
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Normaler/umgekehrter Regentropfen
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Fragil, Berechnung kann fehlschlagen
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+TeX
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Das TeX-Logo
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Dreieck oben/unten/
+\begin_inset Newline newline
+\end_inset
+
+links/rechts
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Dreiecke in verschiedenen Ausrichtungen
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Um eine Form für einen Absatz zu verwenden, wählt man sie einfach in LyXs
+ Auswahlbox für Umgebungen in der Werkzeugleiste aus.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Hier ist ein Beispielabsatz in der Form einer Mutter:
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Nut
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Achtung
+\series default
+: shapepar-Absätze können nicht über Seitenumbrüche hinweg laufen.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+shapepar
+\series default
+ stellt sicher, dass die Form immer gewahrt bleibt, egal wie viel Text der
+ Absatz hat.
+ Daher ändert sich die Größe des Absatzes mit der Textmenge.
+ Dies kann dazu führen, dass der Absatz über die Seitenränder ragt.
+ Zur Demonstration der Skalierung ist hier derselbe Beispielabsatz mit doppelt
+ so viel Text:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Nut
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Die Form 
+\family sans
+CDBeschriftung
+\family default
+ ist eine Ausnahme.
+ Sie kann nicht skaliert werden, da sie auf eine CD/DVD passen muss.
+ Daher ist die Textmenge, die in diese Form passt, limitiert.
+\begin_inset Newline newline
+\end_inset
+
+Die 
+\family sans
+Tropfen
+\family default
+ Formen und die Form 
+\family sans
+Kreis
+\family default
+ sind fragil, was bedeutet, dass die Berechnung ihrer Größe, je nach Textmenge
+ im Absatz, fehlschlagen kann.
+ Man bekommt dann den LaTeX-Fehler 
+\begin_inset Quotes gld
+\end_inset
 
-0.05
-\backslash
-varunit 0.453
-\backslash
-varunit
+
+\lang english
+Arithmetic overflow
+\lang ngerman
+
+\begin_inset Quotes grd
+\end_inset
+
+.
+ In diesem Fall kann man versuchen etwas Text zu entfernen oder hinzuzufügen;
+ wenn nichts hilft, muss man eine andere Form verwenden.
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
 
-0.10
-\backslash
-varunit 0.410
-\backslash
-varunit
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+Bei Formen mit Spitzen werden Sie vielleicht feststellen, dass LaTeXs Silbentren
+nungsmechanismus für Text in den Spitzen versagt.
+ Es ist daher oft notwendig, Trennmöglichkeiten 
+\family sans
+(Strg+
+\begin_inset space \thinspace{}
+\end_inset
 
-0.15
-\backslash
-varunit 0.373
-\backslash
-varunit
+-
+\family default
+) in den entsprechenden Text einzufügen.
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
 
-0.20
-\backslash
-varunit 0.342
-\backslash
-varunit
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+Shapepar-Absätze werden immer so auf die Seite platziert, dass ihre linke
+ Kante den linken Seitenrand berührt.
+ Man kann daher nicht den Absatzdialog verwenden, um solche Absätze auszurichten.
+ Eine Lösung ist den Absatz in eine Minipage oder Parbox zu setzen und dann
+ die Box auszurichten.
+ Das Problem dabei ist die richtige Breite für die Box zu finden.
+ Denn ist sie zu breit und man zentriert die Box, ist der Absatz nicht ebenfalls
+ zentriert, da er an der linken Seite der Box haftet.
+ Daher muss man eventuell etwas mit der Breite spielen bis es passt.
+ Hier sind zwei dreieckige Absätze, der erste ist nicht ausgerichtet, der
+ zweite ist zentriert:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
 
-0.25
-\backslash
-varunit 0.317
-\backslash
-varunit
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Triangle up
 
-0.30
-\backslash
-varunit 0.300
-\backslash
-varunit
+\lang latin
+Lo\SpecialChar \-
+rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 1
+use_makebox 0
+width "42col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Triangle up
+
+\lang latin
+Lo\SpecialChar \-
+rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Benutzerdefinierte Formen
+\end_layout
+
+\begin_layout Standard
+Man kann jede beliebige Form definieren.
+ Dies manuell zu tun ist jedoch sehr aufwändig, da jede Koordinate angegeben
+ werden muss.
+ Aber es gibt einen Weg den Computer die Koordinaten berechnen zu lassen:
+\end_layout
+
+\begin_layout Enumerate
+Man installiert das Programm 
+\begin_inset CommandInset href
+LatexCommand href
+name "Jpgfdraw"
+target "http://www.ctan.org/tex-archive/graphics/jpgfdraw"
+
+\end_inset
+
 
-0.35
-\backslash
-varunit 0.293
-\backslash
-varunit
 \end_layout
 
+\begin_layout Enumerate
+In 
+\family sans
+Jpgfdraw
+\family default
+ geht man in das Menü 
+\family sans
+Te
+\begin_inset ERT
+status collapsed
+
 \begin_layout Plain Layout
 
-0.40
-\backslash
-varunit 0.300
-\backslash
-varunit
+{}
+\end_layout
+
+\end_inset
+
+X/LaTeX\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Set Normal Size
+\family default
+ und wählt die Schriftgröße aus, die man auch in seinem LyX-Dokument verwendet.
+ Zum Beispiel verwendet dieses Dokument die Größe 12
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+\end_layout
+
+\begin_layout Enumerate
+Man zeichnet eine Form.
 \end_layout
 
+\begin_layout Enumerate
+Über das Menü 
+\family sans
+Te
+\begin_inset ERT
+status collapsed
+
 \begin_layout Plain Layout
 
-0.45
-\backslash
-varunit 0.332
-\backslash
-varunit
+{}
 \end_layout
 
+\end_inset
+
+X/LaTeX\SpecialChar \menuseparator
+Shapepar
+\family default
+ exportiert man die Form in Koordinaten.
+ Im erscheinenden Dialog wählt man entweder die Außenlinie (outline) der
+ Form für die Koordinaten oder die Linie selbst (path).
+\begin_inset Foot
+status collapsed
+
 \begin_layout Plain Layout
+Für weitere Informationen, siehe 
+\begin_inset CommandInset href
+LatexCommand href
+target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
+
+\end_inset
+
 
 \end_layout
 
 \end_inset
 
-Es gibt Zeiten, da muss die Tyrannei der rechteckigen Absätze gebrochen
- werden.
- In solchen Situationen bietet sich der reizende LaTeX-Befehl 
-\family typewriter
 
-\backslash
-parshape
-\family default
- an.
- Wie Sie sehen, können Sie beliebige Formen mit einem geeigneten Satz von
- Zeilenlängendefinitionen herstellen.
- Während dieses Beispiel ein wenig töricht und nutzlos aussehen mag, könnte
- man sich Situationen vorstellen, die aus einem solchen Handwerkzeug Nutzen
- ziehen, wie zum Beispiel besondere Formen abgesetzter Großbuchstaben, Text
- um Bilder, die nicht rechteckig sind, herumfließen zu lassen, usw.
 \end_layout
 
 \begin_layout Standard
-Die Syntax ist 
-\family typewriter
+Die Koordinaten werden in eine TeX-Datei geschrieben.
+ Um sie für ein LyX-Dokument zu verwenden
+\end_layout
 
-\backslash
-parshape numlines #1indent #1length #2indent #2length \SpecialChar \ldots{}
+\begin_layout Enumerate
+setzt man den Cursor vor das erste Zeichen des Absatzes (oder in einen neuen,
+ leeren Absatz)
+\end_layout
 
+\begin_layout Enumerate
+Man öffnet in LyX das Menü 
+\family sans
+Einfügen\SpecialChar \menuseparator
+Datei\SpecialChar \menuseparator
+Unterdokument
 \family default
-\family typewriter
+, wählt die Datei aus und verwendet 
+\family sans
+Input
+\family default
+ als 
+\family sans
+Art der Einbindung
+\end_layout
 
-\begin_inset Newline linebreak
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Achtung
+\series default
+: Die geänderte Form betrifft nur den aktuellen Absatz; für den nächsten
+ Absatz wird wieder alles zurückgesetzt.
+ Deswegen muss die Definitionsdatei der Form in jeden Absatz mit der gewünschten
+ Form importiert werden.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Hier ist ein Beispiel:
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset CommandInset include
+LatexCommand input
+filename "../SpecialParagraphShape.tex"
+
+\end_inset
+
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
 \end_inset
 
-#nindent #nlength
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+Ein Tipp:
+\series default
+ Um komplexere Formen in 
+\family sans
+Jpgfdraw
 \family default
-, wobei hier 
-\family typewriter
-numlines
+ zu zeichnen, kann man die Form in einem Programm seiner Wahl erstellen
+ und das resultierende Bild in 
+\family sans
+Jpgfdraw
 \family default
- die Zahl der Textzeilen ist, die den Absatz definieren.
- Wenn dabei weniger Zeilen herauskommen, wird der Umriss verkürzt, werden
- es mehr, so erhalten die restlichen Zeilen dieselben Dimensionen wie die
- letzte definierte.
- Die Einträge 
-\family typewriter
-#nindent
+ importieren.
+ Man braucht dann nur noch eine Linie oder einen Spline entlang der Außenlinie
+ der Form zu zeichnen.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Das Modul 
+\family sans
+Benutzerdefinierte Absatzformen
+\family default
+ bietet die beiden Befehle 
+\family sans
+shapepar
 \family default
  und 
-\family typewriter
-#nlength
+\family sans
+Shapepar
 \family default
- legen die Einrückung und die Zeilenlänge ab dieser Einrückung fest.
- Das Aussehen wird nur auf den momentanen Absatz angewendet, für den folgenden
- wird alles auf normal zurückgesetzt.
+ an, die dazu verwendet werden können, eigene Formen Kordinate für Koordinate
+ zu definieren.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Diese Befehle werden intern für alle hier beschriebenen Formen verwendet.
+\end_layout
+
+\end_inset
+
+ Für Informationen wie diese Stile benutzt werden und über weitere Anpassungsmög
+lichkeiten, siehe die Dokumentation des Pakets 
+\series bold
+shapepar
+\series default
+, 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "shapepar"
+
+\end_inset
+
+.
 \end_layout
 
 \begin_layout Bibliography
@@ -26146,13 +26735,21 @@ target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
 \end_inset
 
 
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-Pakete ! multicol
 \end_layout
 
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "shapepar"
+
+\end_inset
+
+Dokumentation des LaTeX-Pakets 
+\begin_inset CommandInset href
+LatexCommand href
+name "shapepar"
+target "http://mirrors.ctan.org/macros/latex/contrib/shapepar/shapepar.pdf"
+
 \end_inset
 
 
index b90740a38c0cad644311cc840f4f47ff41824d64..695321f622dc0b472232da29e15a3988c558ebeb 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 2.0 created this file. For more info see http://www.lyx.org/
-\lyxformat 413
+#LyX 2.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 459
 \begin_document
 \begin_header
 \textclass scrbook
@@ -34,9 +34,6 @@
  \cleardoublepage
  \pagenumbering{arabic}}
 
-% used for multi-column text
-\usepackage{multicol}
-
 % extra space for tables
 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
 \end_preamble
@@ -46,6 +43,8 @@
 logicalmkup
 theorems-ams
 theorems-ams-extended
+multicol
+shapepar
 \end_modules
 \maintain_unincluded_children false
 \begin_local_layout
@@ -70,13 +69,13 @@ End
 \font_roman default
 \font_sans default
 \font_typewriter default
+\font_math auto
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
-
 \graphics default
 \default_output_format default
 \output_sync 0
@@ -101,16 +100,25 @@ End
 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
 \papersize default
 \use_geometry false
-\use_amsmath 1
-\use_esint 0
-\use_mhchem 1
-\use_mathdots 1
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package esint 0
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
 \cite_engine basic
+\cite_engine_type numerical
+\biblio_style plain
 \use_bibtopic false
 \use_indices false
 \paperorientation portrait
 \suppress_date false
+\justification true
 \use_refstyle 0
+\notefontcolor #0000ff
 \index Índice
 \shortcut idx
 \color #008000
@@ -4525,7 +4533,7 @@ Los seis paneles de
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="7" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
 <row>
@@ -15935,7 +15943,7 @@ poema
 
 \begin_layout Section
 Article (mwart), book (mwbk) y report (mwrep)
-\begin_inset Argument
+\begin_inset Argument 1
 status collapsed
 
 \begin_layout Plain Layout
@@ -18772,7 +18780,7 @@ Quizá quieras abordar tú la tarea\SpecialChar \ldots{}
 
 \begin_layout Chapter
 Características de LyX que requieren software adicional
-\begin_inset Argument
+\begin_inset Argument 1
 status collapsed
 
 \begin_layout Plain Layout
@@ -18837,7 +18845,11 @@ TeX
 chktex
 \family default
 .
- Puedes obtenerlo de CTAN, 
+ Puedes obtenerlo de CTAN,
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset CommandInset href
 LatexCommand href
 target "http://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
@@ -19198,7 +19210,11 @@ LaTeX
 \family sans
 ChkTeX
 \family default
- (normalmente se ubica en 
+ (normalmente se ubica en
+\begin_inset Newline newline
+\end_inset
+
+
 \family typewriter
 /usr/local/share/chktexrc
 \family default
@@ -20734,7 +20750,11 @@ Después se te pide interactivamente una descripción inicial del documento.
 \end_layout
 
 \begin_layout Standard
-El comando CVS que es ejecutado: 
+El comando CVS que es ejecutado:
+\begin_inset Newline newline
+\end_inset
+
+
 \family typewriter
 cvs -q add -m
 \begin_inset Quotes erd
@@ -21063,7 +21083,11 @@ Mostrar historial
 
 \begin_layout Standard
 Muestra el historial completo del documento CVS.
- La salida de 
+ La salida de
+\begin_inset Newline newline
+\end_inset
+
+
 \family typewriter
 cvs log 
 \begin_inset Quotes eld
@@ -21383,7 +21407,11 @@ Mostrar historial
 
 \begin_layout Standard
 Muestra el historial completo del documento SVN.
- La salida de 
+ La salida de
+\begin_inset Newline newline
+\end_inset
+
+
 \family typewriter
 svn log 
 \begin_inset Quotes eld
@@ -21629,7 +21657,7 @@ svnversion
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="6" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0">
 <column alignment="center" valignment="top" width="0">
 <row>
@@ -22056,8 +22084,9 @@ C:
 new project 
 \family default
 en el Explorador de Windows, clic derecho y selecciona 
-\family typewriter
-TortoiseSVN > Repo-browser
+\family sans
+TortoiseSVN\SpecialChar \menuseparator
+Repo-browser
 \family default
 .
  Si es preciso ajusta el URL para el repositorio, y pulsa OK.
@@ -22066,9 +22095,8 @@ TortoiseSVN > Repo-browser
 \begin_layout Enumerate
 Haz clic derecho en el nivel del repositorio bajo el que quieres situar
  la carpeta del nuevo proyecto (típicamente el nivel superior) y pulsa 
-\family typewriter
-Create folder\SpecialChar \ldots{}
-
+\family sans
+Create folder
 \family default
  Da nombre a la carpeta y pulsa OK.
  Añade un mensaje para el registro, si quieres, y pulsa OK de nuevo.
@@ -22083,8 +22111,7 @@ C:
 \backslash
 new project
 \family default
-, esta vez seleccionando SVN Checkout\SpecialChar \ldots{}
- Selecciona el URL de la carpeta que
+, esta vez seleccionando SVN Checkout Selecciona el URL de la carpeta que
  acabas de crear en el repositorio y ajusta el directorio a 
 \family typewriter
 C:
@@ -22329,7 +22356,10 @@ Descarga el archivo SVN, p.
 \end_inset
 
 ej.
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset Flex Code
 status collapsed
 
@@ -22862,54 +22892,34 @@ Escribiendo código
 
 \begin_layout Standard
 LyX proporciona el entorno 
-\family sans
-Fragmento 
-\family default
-(
-\begin_inset Quotes fld
-\end_inset
-
-Scrap
-\begin_inset Quotes frd
-\end_inset
+\lang english
 
-)
-\family sans
-\family default
-para escribir código.
-\begin_inset Foot
+\begin_inset Flex Noun
 status collapsed
 
 \begin_layout Plain Layout
-El término equivalente en Noweb es 
-\begin_inset Quotes fld
-\end_inset
 
+\lang english
 Chunk
-\begin_inset Quotes frd
-\end_inset
-
-.
- Por razones históricas, he mantenido el término 
-\begin_inset Quotes fld
-\end_inset
-
-scrap
-\begin_inset Quotes frd
-\end_inset
-
- introducido por otra herramienta literaria llamada Nuweb, que utilicé durante
- varios años antes de pasarme a Noweb.
 \end_layout
 
 \end_inset
 
- Noweb delimita fragmentos como este:
+
+\family sans
+\lang spanish
+\family default
+para escribir código.
+ Noweb delimita 
+\lang english
+chunks
+\lang spanish
+ como este:
 \end_layout
 
 \begin_layout LyX-Code
-<<Mi fragmento>>=
+<<Mi código>>=
 \end_layout
 
 \begin_layout LyX-Code
@@ -22939,93 +22949,23 @@ El problema es que todo lo que se escriba entre <<
 \family default
  debe ser interpretado de forma literal, es decir, LyX no debería hacer
  ninguna interpretación especial de lo que está ahí escrito.
- Esto es manejado por el entorno especial 
-\family sans
-Fragmento
-\family default
-, que funciona como un párrafo normal excepto que admite espacios con libertad.
-\end_layout
-
-\begin_layout Standard
-El inconveniente del entorno de párrafo 
-\family sans
-Fragmento 
-\family default
-es que los párrafos consecutivos de código estarán separados con una línea
- vacía en el código fuente y en la documentación impresa.
- Para evitarlo se puede introducir cada línea de código en una línea de
-\family sans
-Fragmento
-\family default
- separada de la siguiente con un salto de línea (
-\family sans
-C-Retorno
-\family default
-).
- El ejemplo anterior se verá así:
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-Si tienes una versión impresa de este documento no verás ninguna diferencia
- entre el ejemplo anterior y el siguiente.
-\end_layout
-
-\end_inset
-
-
-\end_layout
+ Esto es también manejado por el entorno 
+\lang ngerman
 
-\begin_layout LyX-Code
-<<Mi fragmento>>=
-\begin_inset Newline newline
-\end_inset
-
-  código
-\begin_inset Newline newline
-\end_inset
-
-  más código
-\begin_inset Newline newline
-\end_inset
-
-  aún más código
-\begin_inset Newline newline
-\end_inset
-
-  @
-\end_layout
-
-\begin_layout Standard
-Este entorno funciona bien.
- El único inconveniente es tener que poner 
-\family sans
-C-Retorno
-\family default
- en vez de un simple 
-\family sans
-Retorno
-\family default
-.
-\begin_inset Foot
+\begin_inset Flex Noun
 status collapsed
 
 \begin_layout Plain Layout
-Esto está en mi lista de 
-\begin_inset Quotes fld
-\end_inset
-
-arreglos
-\begin_inset Quotes frd
-\end_inset
 
- pendientes.
+\lang ngerman
+Chunk
 \end_layout
 
 \end_inset
 
 
+\lang spanish
+, que funciona como un párrafo normal excepto que admite espacios con libertad.
 \end_layout
 
 \begin_layout Standard
@@ -23041,24 +22981,31 @@ He de apuntar que también puedes usar la estructura
 \begin_inset Quotes frd
 \end_inset
 
- de Noweb en tus fragmentos de código para añadir identificadores de referencias
- cruzadas:
+ de Noweb en tus 
+\lang english
+chunks
+\lang spanish
+ de código para añadir identificadores de referencias cruzadas:
 \end_layout
 
 \begin_layout LyX-Code
-<<Mi fragmento>>=
-\begin_inset Newline newline
-\end_inset
+<<Mi 
+\lang english
+chunk
+\lang spanish
+>>=
+\end_layout
 
-  def una_función(argumentos):
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+def una_función(argumentos):
+\end_layout
 
-    "Esta es la documentación para esta función."
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+   "Esta es la documentación para esta función."
+\end_layout
 
-    print "Mis argumentos: ", argumentos
+\begin_layout LyX-Code
+   print "Mis argumentos: ", argumentos
 \end_layout
 
 \begin_layout LyX-Code
@@ -23068,7 +23015,11 @@ He de apuntar que también puedes usar la estructura
 \begin_layout Standard
 Para ver un ejemplo de esta construcción y la salida con la referencia cruzada
  generada, puedes ver la programación literaria en python contenida en el
- archivo 
+ archivo
+\begin_inset Newline newline
+\end_inset
+
+
 \family typewriter
 \emph on
 LIBDIR
@@ -23155,9 +23106,21 @@ Preferencias
 La única diferencia está en la extensión del archivo, no hace falta ninguna
  acción especial por parte de LyX, puesto que has formateado el código con
  el entorno 
-\family sans
-Fragmento
-\family default
+\lang english
+
+\begin_inset Flex Noun
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+Chunk
+\end_layout
+
+\end_inset
+
+
+\lang spanish
 , que ya se cuida de ese aspecto.
 \end_layout
 
@@ -23260,7 +23223,11 @@ La primera parte, que se especifica en el campo
 \family sans
 Convertidor
 \family default
-, debería contener 
+, debería contener
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset Quotes fld
 \end_inset
 
@@ -23301,91 +23268,101 @@ build-script
  que puedes colocar en un directorio accesible para tu línea de comandos:
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\family sans
 #!/bin/sh
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
+
+\family sans
 #
 \end_layout
 
-\begin_layout LyX-Code
-notangle
-\begin_inset Formula $ $
-\end_inset
+\begin_layout Standard
 
+\family sans
+notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
+\end_layout
 
-\begin_inset Formula $ $
+\begin_layout Standard
+\begin_inset VSpace defskip
 \end_inset
 
--Rbuild-script $1 | env NOWEB_SOURCE=$1 sh
+
 \end_layout
 
 \begin_layout Standard
-La segunda parte de la configuración del convertidor va en el campo 
-\family sans
-Opción
-\family default
-\series bold
 
-\begin_inset space ~
+\lang english
+The next part of the converter setting is the 
+\begin_inset Quotes eld
 \end_inset
 
+Flags
+\begin_inset Quotes erd
+\end_inset
 
-\family sans
-\series default
-extra
-\family default
- y debe contener el parámetro 
-\begin_inset Quotes fld
+ which is to be set to
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Quotes eld
 \end_inset
 
 
 \family typewriter
-originaldir,parselog=listerrors
+parselog=$$s/scripts/listerrors
 \family default
 
-\begin_inset Quotes frd
+\begin_inset Quotes erd
 \end_inset
 
 .
- Esto hará pasar todos los errores generados en el proceso por 
-\family typewriter
+\begin_inset Newline newline
+\end_inset
+
+This will run any errors that are generated by the 
+\begin_inset Quotes eld
+\end_inset
+
 build-script
-\family default
- a través del programa
-\family typewriter
- listerrors.
+\begin_inset Quotes erd
+\end_inset
+
+ process through the 
+\begin_inset Quotes eld
+\end_inset
+
+listerrors
+\begin_inset Quotes erd
+\end_inset
+
+ program.
 \end_layout
 
 \begin_layout Standard
-El código del convertidor busca el programa
-\family typewriter
- listerrors
-\family default
- en primer lugar en
-\begin_inset Newline linebreak
-\end_inset
 
-\family typewriter
-\emph on
-MI_DIRECTORIO_LYX
-\emph default
-/scripts
-\family default
-, después en 
-\family typewriter
-\emph on
-LIBDIR
-\emph default
-/scripts
-\family default
- y por último en la ruta de acceso por omisión a 
+\lang english
+The build will normally take place in LyX's temporary directory, so the
+ files produced by the conversion will be in that directory.
+ LyX will copy out what it regards as the `main' file, but the 
 \family typewriter
-listerrors
+Noweb->Program
 \family default
-.
+ conversion may produce several files, and so most of these would then be
+ deleted when LyX was closed.
+ This is why we pass in the NOWEB_OUTPUT_DIR environment variable so that
+ the build-script chunk can place the generated files in that location.
 \end_layout
 
 \begin_layout Paragraph
@@ -23393,7 +23370,11 @@ Instrucciones de compilación en el documento
 \end_layout
 
 \begin_layout Standard
-La última parte de la integración entre LyX y noweb es el fragmento 
+La última parte de la integración entre LyX y noweb es el 
+\lang english
+chunk
+\lang spanish
 \begin_inset Quotes fld
 \end_inset
 
@@ -23403,7 +23384,11 @@ build-script
 
 .
  Generalmente, las instrucciones para compilar tu programa deberían incluirse
- en un fragmento propio.
+ en un 
+\lang english
+chunk
+\lang spanish
+ propio.
  El 
 \family typewriter
 build-script
@@ -23412,7 +23397,11 @@ build-script
 \family typewriter
 notangle
 \family default
- para buscar ese fragmento (llamado 
+ para buscar ese 
+\lang english
+chunk
+\lang spanish
+ (llamado 
 \begin_inset Quotes fld
 \end_inset
 
 \end_layout
 
 \begin_layout Standard
-Típicamente, un fragmento 
+Típicamente, un 
+\lang english
+chunk
+\lang spanish
 \begin_inset Quotes fld
 \end_inset
 
@@ -23441,48 +23434,28 @@ build-script
 
 \begin_layout LyX-Code
 <<build-script>>=
-\begin_inset Newline newline
-\end_inset
-
-#!/bin/sh
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Newline newline
-\end_inset
-
-if [
-\begin_inset Formula $ $
-\end_inset
-
--z "${NOWEB_SOURCE}" ]
-\begin_inset Newline newline
-\end_inset
+\end_layout
 
-then
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+#!/bin/shif [ -z "${NOWEB_SOURCE}" ] then
+\end_layout
 
-  NOWEB_SOURCE=miarchivo.nw
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+NOWEB_SOURCE=myfile.nwfi[...
+\end_layout
 
-fi
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+code to extract files
+\end_layout
 
-[...
- código para extraer los archivos ...]
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+...
+ use NOWEB_OUTPUT_DIR here ...]
+\end_layout
 
+\begin_layout LyX-Code
 [...
- código para compilar los archivos ...]
-\begin_inset Newline newline
-\end_inset
-
-@
+ code to compile files ...]@
 \end_layout
 
 \begin_layout Standard
@@ -23528,15 +23501,8 @@ Configurar LyX
 Todo el soporte de Programación Literaria se configura en el panel del menú
  
 \family sans
-\bar under
-H
-\bar default
-erramientas\SpecialChar \menuseparator
-
-\bar under
-P
-\bar default
-referencias
+Herramientas\SpecialChar \menuseparator
+Preferencias
 \family default
  en las solapas 
 \family sans
@@ -23832,10 +23798,26 @@ Edit Sources
 :
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\family sans
 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
 \end_layout
 
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 Con esto, cuando estás usando 
 \family typewriter
@@ -23883,7 +23865,11 @@ Tubería
 
 LyXServer
 \family default
- una ruta como 
+ una ruta como
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset Quotes fld
 \end_inset
 
@@ -23931,8 +23917,10 @@ Código-LyX
 \family default
 , y 
 \family sans
-Fragmento
+\lang english
+Chunk
 \family default
+\lang spanish
 .
  El otro es un atajo a la entrada 
 \begin_inset Quotes fld
@@ -24006,7 +23994,7 @@ Toolbar
 \end_layout
 
 \begin_layout LyX-Code
-  Icon "layout Scrap"
+  Icon "layout Chunk"
 \end_layout
 
 \begin_layout LyX-Code
@@ -24059,8 +24047,23 @@ Preferencias
  Una de las cosas que más molesta a la gente es el color de la fuente de
  código LaTeX.
  El color por omisión es rojo, y puesto que el entorno 
+\lang english
+
+\begin_inset Flex Noun
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+Chunk
+\end_layout
+
+\end_inset
+
+
 \family sans
-fragmento 
+\lang spanish
 \family default
 utiliza código LaTeX y hay mucho código en los documentos de programación
  literaria, puedes acabar harto de ver tanto rojo.
@@ -24081,119 +24084,169 @@ El siguiente asunto es la presencia visible del carácter salto de línea
  con el fondo.
  Recomiendo escoger un color parecido al del fondo pero no idéntico, de
  esta forma lo seguirás viendo pero sin molestar tanto.
 \end_layout
 
-\begin_layout Chapter
-Características especiales
-\begin_inset CommandInset label
-LatexCommand label
-name "chap:Características-especiales"
-
-\end_inset
-
+\begin_layout Subsection
 
+\lang english
+LyX and knitr/Sweave
 \end_layout
 
 \begin_layout Standard
-Con LyX puedes hacer todo lo que puedes hacer con LateX.
- Sin embargo, LyX no puede soportar directamente todas las características
- de LaTeX, aunque siempre puedes usar código TeX.
- Este capítulo muestra algunas cosas especiales que te podrían interesar.
- Para otro tipo de cosas especiales con figuras, cuadros, flotantes, marcos
- y notas, echa un vistazo al manual 
+
+\lang english
+Support for 
+\family sans
+knitr
+\family default
+ and 
+\family sans
+Sweave
+\family default
+ is documented in the 
 \emph on
-Objetos insertados
+knitr.lyx
 \emph default
-.
+ example file and in the Sweave manual (menu 
+\family sans
+Help\SpecialChar \menuseparator
+Specific Manuals
+\family default
+).
 \end_layout
 
-\begin_layout Section
-Texto en columnas múltiples
+\begin_layout Chapter
+
+\lang english
+Special features
 \end_layout
 
 \begin_layout Standard
 
 \lang english
-The aim for this section is to show how the LaTeX package 
-\series bold
-multicol
-\series default
- can be used in a LyX document.
- LyX does not support the 
-\series bold
-multicol
-\series default
- package natively yet, so you have to use some TeX code.
+You can do everything with LyX that you can do with LaTeX.
+ However, LyX cannot support every LaTeX feature directly.
+ But you can always use TeX Code.
+ This chapter shows you some more special things you might want to use.
+ For other special things you can do with figures, tables, floats, boxes
+ and notes, have a look at the 
+\emph on
+Embedded
+\begin_inset space ~
+\end_inset
+
+Objects
+\emph default
+ manual.
+\end_layout
+
+\begin_layout Section
+
+\lang english
+Multiple Text Columns
 \end_layout
 
 \begin_layout Standard
 
 \lang english
-The 
-\series bold
-multicol
-\series default
- package allows switching between one and multicolumn format on the same
- page.
- Footnotes are handled correctly, but will be placed at the bottom of the
- page and not under each column.
- Within the different columns you can use everyting, with the limitation
- that for floats you need to use the option 
+This feature is independent of the option 
 \family sans
-Span colums
+Two-column document
 \family default
- for each column.
-\end_layout
-
-\begin_layout Subsection
-Dos columnas
-\end_layout
+ in the document settings under 
+\family sans
+Text Layout
+\family default
+.
+ If you want to have 2
+\begin_inset space ~
+\end_inset
 
-\begin_layout Standard
-Para poner texto en dos columnas, inserta donde quieras ponerlas el comando
- en modo LaTeX
+columns for the whole document, it is recommended to use the 
+\family sans
+Two-column document
+\family default
+ option.
+ For all other cases use this feature.
 \end_layout
 
 \begin_layout Standard
 
+\lang english
+To use multiple text columns in your document, you have to load the module
+\family sans
+Multiple Columns
+\family default
+ (menu 
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Modules
+\family default
+) and must have the LaTeX-package 
 \series bold
-
-\backslash
-begin{multicols}{2}
+multicol
+\series default
+ installed.
 \end_layout
 
 \begin_layout Standard
-y luego
-\end_layout
 
-\begin_layout Standard
+\lang english
+Footnotes within multiple columns will be placed at the bottom of the page
+ and not under each column.
+ Within the different columns you can use everything, with the limitation
+ that for floats you need to use the float option 
+\family sans
+Span columns
+\family default
+.
+\end_layout
 
-\series bold
+\begin_layout Subsection
 
-\backslash
-end{multicols}
+\lang english
+Basics
 \end_layout
 
 \begin_layout Standard
-para finalizar.
- Como esto:
-\end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\lang english
+If you want to have 2
+\begin_inset space ~
+\end_inset
 
-\begin_layout Plain Layout
+columns in your text, use the style 
+\family sans
+Begin Multiple Columns
+\family default
+ where the columns should start.
+ The content of the style is the number of the columns, so in this case
+ use a 
+\begin_inset Quotes eld
+\end_inset
 
+2
+\begin_inset Quotes erd
+\end_inset
 
-\backslash
-begin{multicols}{2}
+.
+ At the point where the columns should end use the style 
+\family sans
+End Multiple Columns
+\family default
+ and keep it empty.
 \end_layout
 
-\end_inset
+\begin_layout Standard
 
+\lang english
+Here is an example:
+\end_layout
 
+\begin_layout Begin Multiple Columns
+2
 \end_layout
 
 \begin_layout Standard
@@ -24201,6 +24254,7 @@ begin{multicols}{2}
 
 \series bold
 \size small
+\lang english
 The Adventure of the Empty House
 \series default
 
@@ -24215,6 +24269,7 @@ Sir Arthur Conan Doyle
 \begin_layout Standard
 
 \size small
+\lang english
 It was in the spring of the year 1894 that all London was interested, and
  the fashionable world dismayed, by the murder of the Honourable Ronald
  Adair under most unusual and inexplicable circumstances.
@@ -24238,49 +24293,28 @@ ty which utterly submerged my mind.
  only withdrawn upon the third of last month.
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-end{multicols}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Subsection
-Columnas múltiples
-\end_layout
+\begin_layout End Multiple Columns
 
-\begin_layout Standard
-Se usa el mismo patrón para poner más de dos columnas:
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{multicols}{3}
-\end_layout
 
+\lang english
+Here is an example with 3
+\begin_inset space ~
 \end_inset
 
+columns:
+\end_layout
 
+\begin_layout Begin Multiple Columns
+3
 \end_layout
 
 \begin_layout Standard
 
 \size footnotesize
+\lang english
 It can be imagined that my close intimacy with Sherlock Holmes had interested
  me deeply in crime, and that after his disappearance I never failed to
  read with care the various problems which came before the public.
@@ -24302,54 +24336,50 @@ It can be imagined that my close intimacy with Sherlock Holmes had interested
  as they were known to the public at the conclusion of the inquest.
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
+\begin_layout End Multiple Columns
 
-\backslash
-end{multicols}
 \end_layout
 
-\end_inset
+\begin_layout Standard
 
+\lang english
+You can have up to 10
+\begin_inset space ~
+\end_inset
 
+columns if you want to, but that might not be very pleasant for the readers
+ of your document.
 \end_layout
 
 \begin_layout Standard
-Si quieres, puedes poner más de tres columnas, pero podría no ser muy cómodo
- de leer.
+
+\lang english
+\begin_inset Newpage newpage
+\end_inset
+
+
 \end_layout
 
 \begin_layout Subsection
-Columnas dentro de columnas
-\end_layout
 
-\begin_layout Standard
-Se pueden poner columnas dentro de otras, también:
+\lang english
+Columns inside Columns
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
 
-\begin_layout Plain Layout
-
-
-\backslash
-begin{multicols}{2}
+\lang english
+You can also have columns inside columns:
 \end_layout
 
-\end_inset
-
-
+\begin_layout Begin Multiple Columns
+2
 \end_layout
 
 \begin_layout Standard
 
 \size footnotesize
+\lang english
 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
  at that time governor of one of the Australian colonies.
  Adair's mother had returned from Australia to undergo the operation for
@@ -24357,25 +24387,14 @@ The Honourable Ronald Adair was the second son of the Earl of Maynooth,
  at 427 Park Lane.
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{multicols}{2}
-\end_layout
-
-\end_inset
-
-
+\begin_layout Begin Multiple Columns
+2
 \end_layout
 
 \begin_layout Standard
 
 \size footnotesize
+\lang english
 The youth moved in the best society–had, so far as was known, no enemies
  and no particular vices.
  He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
@@ -24388,25 +24407,14 @@ The youth moved in the best society–had, so far as was known, no enemies
  on the night of March 30, 1894.
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-end{multicols}
-\end_layout
-
-\end_inset
-
+\begin_layout End Multiple Columns
 
 \end_layout
 
 \begin_layout Standard
 
 \size footnotesize
+\lang english
 Ronald Adair was fond of cards–playing continually, but never for such stakes
  as would hurt him.
  He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
@@ -24431,324 +24439,309 @@ The evidence of those who had played with him– Mr.
  So much for his recent history as it came out at the inquest.
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_layout End Multiple Columns
 
-\begin_layout Plain Layout
+\end_layout
 
+\begin_layout Subsection
 
-\backslash
-end{multicols}
+\lang english
+Advanced Examples
 \end_layout
 
-\end_inset
-
+\begin_layout Standard
 
+\lang english
+The examples in this section show some more special features of multiple
+ columns.
 \end_layout
 
 \begin_layout Standard
-Lee por favor el 
+
 \lang english
-example file
-\family typewriter
+For more features of multiple columns, have a look at the documentation
+ of the LaTeX-package 
+\series bold
+multicol
+\series default
 \lang spanish
- multicol.lyx
-\family default
- para ejemplos más sofisticados, incluyendo espacios, encabezados, líneas
- de separación, y más.
-\end_layout
+, 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "multicol"
 
-\begin_layout Standard
-\begin_inset Newpage newpage
 \end_inset
 
-
+.
 \end_layout
 
-\begin_layout Section
-Párrafos con formas diversas
+\begin_layout Subsubsection
+
+\lang english
+Preface
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
 
-\backslash
-begin{sloppypar}
+\lang english
+To add a preface text for multiple columns, add the command
 \end_layout
 
-\end_inset
-
+\begin_layout Standard
 
+\series bold
+}[
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
 
-\begin_layout Plain Layout
+\lang english
+as TeX Code behind the number of columns in the
+\family sans
+ Begin Multiple Columns
+\family default
+ style.
+ Behind the command follows the preface text.
+ At the end of the style use the command
+\end_layout
 
+\begin_layout Standard
 
-\backslash
-newdimen
-\backslash
-varunit 
+\series bold
+]{
 \end_layout
 
-\begin_layout Plain Layout
-
+\begin_layout Standard
 
-\backslash
-setlength{
-\backslash
-varunit}{4.5in}
+\lang english
+as TeX Code.
+ An example with some preface text:
 \end_layout
 
+\begin_layout Standard
+\begin_inset VSpace bigskip
 \end_inset
 
 
 \end_layout
 
-\begin_layout Standard
-\noindent
+\begin_layout Begin Multiple Columns
+
+\lang english
+2
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
 
-
-\backslash
-parshape 19 0.45
-\backslash
-varunit 0.332
-\backslash
-varunit
+}[
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
 
-0.40
-\backslash
-varunit 0.300
-\backslash
-varunit
-\end_layout
+And the story continues and continues and continues and continues\SpecialChar \ldots{}
+
+\begin_inset ERT
+status collapsed
 
 \begin_layout Plain Layout
 
-0.35
-\backslash
-varunit 0.293
-\backslash
-varunit
+]{
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+
 
-0.30
-\backslash
-varunit 0.300
-\backslash
-varunit
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
 
-0.25
-\backslash
-varunit 0.317
-\backslash
-varunit
+\size small
+\lang english
+On the evening of the crime, he returned from the club exactly at ten.
+ His mother and sister were out spending the evening with a relation.
+ The servant deposed that she heard him enter the front room on the second
+ floor, generally used as his sitting-room.
+ She had lit a fire there, and as it smoked she had opened the window.
+ No sound was heard from the room until eleven-twenty, the hour of the return
+ of Lady Maynooth and her daughter.
+ Desiring to say good-night, she attempted to enter her son's room.
+ The door was locked on the inside, and no answer could be got to their
+ cries and knocking.
+ Help was obtained, and the door forced.
+ The unfortunate young man was found lying near the table.
+ His head had been horribly mutilated by an expanding revolver bullet, but
+ no weapon of any sort was to be found in the room.
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout End Multiple Columns
 
-0.20
-\backslash
-varunit 0.342
-\backslash
-varunit
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
 
-0.15
-\backslash
-varunit 0.373
-\backslash
-varunit
+\lang english
+You can also use a section heading as the preface if you use a section command
+ as TeX Code behind the first TeX Code.
+ For example the command
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+
+\series bold
+\lang english
 
-0.10
-\backslash
-varunit 0.410
 \backslash
-varunit
+subsection{subsection title}
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
 
-0.05
-\backslash
-varunit 0.453
-\backslash
-varunit
+\lang english
+creates a subsection.
+ In this example the preface is a subsubsection:
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Begin Multiple Columns
 
-0.00
-\backslash
-varunit 0.500
-\backslash
-varunit
-\end_layout
+\lang english
+2
+\begin_inset ERT
+status collapsed
 
 \begin_layout Plain Layout
 
-0.05
-\backslash
-varunit 0.453
-\backslash
-varunit
+}[
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
 
-0.10
-\backslash
-varunit 0.410
-\backslash
-varunit
-\end_layout
+
+\begin_inset ERT
+status collapsed
 
 \begin_layout Plain Layout
 
-0.15
-\backslash
-varunit 0.373
+
 \backslash
-varunit
+subsubsection{
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
 
-0.20
-\backslash
-varunit 0.342
-\backslash
-varunit
-\end_layout
+This is a subsubsection heading as a preface
+\begin_inset ERT
+status collapsed
 
 \begin_layout Plain Layout
 
-0.25
-\backslash
-varunit 0.317
-\backslash
-varunit
+}
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
 
-0.30
-\backslash
-varunit 0.300
-\backslash
-varunit
-\end_layout
+
+\begin_inset ERT
+status collapsed
 
 \begin_layout Plain Layout
 
-0.35
-\backslash
-varunit 0.293
-\backslash
-varunit
+]{
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+
 
-0.40
-\backslash
-varunit 0.300
-\backslash
-varunit
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
 
-0.45
-\backslash
-varunit 0.332
-\backslash
-varunit
+\size small
+\lang english
+A minute examination of the circumstances served only to make the case more
+ complex.
+ In the first place, no reason could be given why the young man should have
+ fastened the door upon the inside.
+ There was the possibility that the murderer had done this, and had afterwards
+ escaped by the window.
+ The drop was at least twenty feet, however, and a bed of crocuses in full
+ bloom lay beneath.
+ Neither the flowers nor the earth showed any sign of having been disturbed,
+ nor were there any marks upon the narrow strip of grass which separated
+ the house from the road.
+ Apparently, therefore, it was the young man himself who had fastened the
+ door.
+ But how did he come by his death? No one could have climbed up to the window
+ without leaving traces.
+ Suppose a man had fired through the window, he would indeed be a remarkable
+ shot who could with a revolver inflict so deadly a wound.
+ Again, Park Lane is a frequented thoroughfare; there is a cab stand within
+ a hundred yards of the house.
+ No one had heard a shot.
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout End Multiple Columns
 
 \end_layout
 
+\begin_layout Standard
+
+\lang english
+If there is less vertical space left on the page at the beginning of the
+ multiple columns than needed for 6
+\begin_inset space ~
 \end_inset
 
-Hay ocasiones en que la tiranía del párrafo rectangular debe ser derrocada.
- En esas ocasiones acudimos al delicioso comando de TeX 
-\family typewriter
+text lines, a page break will be inserted before the multiple columns.
+ Depending on the number of lines of the preface text, you might want to
+ change this value.
+ It is determined by inserting the command
+\end_layout
+
+\begin_layout Standard
 
+\series bold
+\lang english
+][number
 \backslash
-parshape
-\family default
-.
- Como verás, con un conjunto adecuado de definiciones de longitud de línea
- se pueden conseguir formas totalmente arbitrarias.
- Aunque pueda parecer un paquete absurdo e inútil, en ciertas situaciones
- como letras capitulares finamente ajustadas, texto acoplado a gráficos
- no rectangulares, etc, podría ser bueno disponer de tal herramienta.
+baselineskip
 \end_layout
 
 \begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
 
+\lang english
+as TeX Code behind the preface definition but before the final 
+\series bold
+]{
+\series default
+ command.
+\emph on
+number
+\emph default
+ is hereby the number of text lines.
+ In this example the space is set to 7
+\begin_inset space ~
+\end_inset
 
+text lines:
 \end_layout
 
-\begin_layout Standard
-La sintaxis es 
-\family typewriter
+\begin_layout Begin Multiple Columns
 
-\backslash
-parshape numlines #1indent #1length #2indent #2length \SpecialChar \ldots{}
- #nindent #nlength
-\family default
-, donde 
-\family typewriter
-numlines 
-\family default
-es el número de líneas de texto que define el párrafo.
- Si resulta que hay menos líneas, la forma se trunca; si hay más, las líneas
- en exceso tendrán las mismas dimensiones que la última línea definida.
- Las entradas 
-\family typewriter
-#nindent
-\family default
- y 
-\family typewriter
-#nlength
-\family default
- especifican el sangrado de línea desde el margen izquierdo, y la longitud
- de línea se mide desde ese punto.
- La forma es aplicada únicamente al párrafo actual; todo se reinicia a lo
- normal en el párrafo siguiente.
+\lang english
+2
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}[
 \end_layout
 
-\begin_layout Standard
+\end_inset
+
+
 \begin_inset ERT
 status collapsed
 
@@ -24756,11 +24749,1696 @@ status collapsed
 
 
 \backslash
-end{sloppypar}
+subsubsection{
 \end_layout
 
 \end_inset
 
+This is the sectioning command
+\begin_inset Newline newline
+\end_inset
+
+as a preface and
+\begin_inset Newline newline
+\end_inset
+
+with multiple text lines
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+][7
+\backslash
+baselineskip
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+]{
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+On the evening of the crime, he returned from the club exactly at ten.
+ His mother and sister were out spending the evening with a relation.
+ The servant deposed that she heard him enter the front room on the second
+ floor, generally used as his sitting-room.
+ She had lit a fire there, and as it smoked she had opened the window.
+ No sound was heard from the room until eleven-twenty, the hour of the return
+ of Lady Maynooth and her daughter.
+ Desiring to say good-night, she attempted to enter her son's room.
+ The door was locked on the inside, and no answer could be got to their
+ cries and knocking.
+ Help was obtained, and the door forced.
+ The unfortunate young man was found lying near the table.
+ His head had been horribly mutilated by an expanding revolver bullet, but
+ no weapon of any sort was to be found in the room.
+\end_layout
+
+\begin_layout End Multiple Columns
+
+\end_layout
+
+\begin_layout Subsubsection
+
+\lang english
+Surrounding Space
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The amount of space before and after multiple columns can be changed by
+ changing the length 
+\series bold
+
+\backslash
+multicolsep
+\series default
+.
+ For example the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+
+\backslash
+setlength{
+\backslash
+multicolsep}{3cm}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+in TeX Code changes its value to 3
+\begin_inset space \thinspace{}
+\end_inset
+
+cm.
+ The change must be made before the multiple columns' start.
+ The predefined value is 13
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+For this example 
+\series bold
+
+\backslash
+multicolsep
+\series default
+ was set to 2.5
+\begin_inset space \thinspace{}
+\end_inset
+
+cm:
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+multicolsep}{2.5cm}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Begin Multiple Columns
+2
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+All day I turned these facts over in my mind, endeavouring to hit upon some
+ theory which could reconcile them all, and to find that line of least resistanc
+e which my poor friend had declared to be the starting-point of every investigat
+ion.
+ I confess that I made little progress.
+ In the evening I strolled across the Park, and found myself about six o'clock
+ at the Oxford Street end of Park Lane.
+ A group of loafers upon the pavements, all staring up at a particular window,
+ directed me to the house which I had come to see.
+ A tall, thin man with coloured glasses, whom I strongly suspected of being
+ a plain-clothes detective, was pointing out some theory of his own, while
+ the others crowded round to listen to what he said.
+ I got as near him as I could, but his observations seemed to me to be absurd,
+ so I withdrew again in some disgust.
+ As I did so I struck against an elderly, deformed man, who had been behind
+ me, and I knocked down several books which he was carrying.
+\end_layout
+
+\begin_layout End Multiple Columns
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note:
+\series default
+ The values you set with 
+\series bold
+
+\backslash
+setlength
+\series default
+ will be used for all following multiple columns until you change them again.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+multicolsep}{13pt}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+go back to the default
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsubsection
+
+\lang english
+Column Separation
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The width of the columns is automatically calculated, but you can modify
+ the space between the columns.
+ This is done by changing the length 
+\series bold
+
+\backslash
+columnsep
+\series default
+.
+ Its predefined value is 10
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+ Here is an example where 
+\series bold
+
+\backslash
+columnsep
+\series default
+ is set to 3
+\begin_inset space \thinspace{}
+\end_inset
+
+cm:
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+columnsep}{3cm}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Begin Multiple Columns
+2
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+My observations of No.
+\begin_inset space \space{}
+\end_inset
+
+427 Park Lane did little to clear up the problem in which I was interested.
+ The house was separated from the street by a low wall and railing, the
+ whole not more than five feet high.
+ It was perfectly easy, therefore, for anyone to get into the garden, but
+ the window was entirely inaccessible, since there was no water pipe or
+ anything which could help the most active man to climb it.
+ More puzzled than ever, I retraced my steps to Kensington.
+ I had not been in my study five minutes when the maid entered to say that
+ a person desired to see me.
+ To my astonishment it was none other than my strange old book collector,
+ his sharp, wizened face peering out from a frame of white hair, and his
+ precious volumes, a dozen of them at least, wedged under his right arm.
+\end_layout
+
+\begin_layout End Multiple Columns
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+columnsep}{10pt}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+go back to the default
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsubsection
+
+\lang english
+Vertical Lines
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Between the columns a rule with a width of the length 
+\series bold
+
+\backslash
+columnseprule
+\series default
+ is placed.
+ If this rule width is set to 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt (this is the default), the rule is suppressed.
+ In the following example the line is 2
+\begin_inset space \thinspace{}
+\end_inset
+
+pt wide:
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+columnseprule}{2pt}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Begin Multiple Columns
+2
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+\begin_inset Quotes eld
+\end_inset
+
+You're surprised to see me, sir,
+\begin_inset Quotes erd
+\end_inset
+
+ said he, in a strange, croaking voice.
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+I acknowledged that I was.
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+\begin_inset Quotes eld
+\end_inset
+
+Well, I've a conscience, sir, and when I chanced to see you go into this
+ house, as I came hobbling after you, I thought to myself, I'll just step
+ in and see that kind gentleman, and tell him that if I was a bit gruff
+ in my manner there was not any harm meant, and that I am much obliged to
+ him for picking up my books.
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+\begin_inset Quotes eld
+\end_inset
+
+You make too much of a trifle,
+\begin_inset Quotes erd
+\end_inset
+
+ said I.
+\begin_inset Quotes eld
+\end_inset
+
+May I ask how you knew who I was?
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+\begin_inset Quotes eld
+\end_inset
+
+Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
+ you'll find my little bookshop at the corner of Church Street, and very
+ happy to see you, I am sure.
+ Maybe you collect yourself, sir.
+ Here's 
+\noun on
+British
+\begin_inset space ~
+\end_inset
+
+Birds
+\noun default
+, and 
+\noun on
+Catullus
+\noun default
+, and 
+\noun on
+The Holy War
+\noun default
+--a bargain, every one of them.
+ With five volumes you could just fill that gap on that second shelf.
+ It looks untidy, does it not, sir?
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\begin_layout End Multiple Columns
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+columnseprule}{0pt}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+go back to the default
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Párrafos con formas diversas
+\end_layout
+
+\begin_layout Standard
+\noindent
+
+\lang english
+LaTeX as well as any other text processor uses by default rectangular paragraphs.
+ For special cases like for example posters, invitation cards or poems you
+ can modify the paragraph shape to one of your choice.
+ This can be done by using the LaTeX-package 
+\series bold
+shapepar
+\series default
+ which is loaded by using in the document settings the module 
+\family sans
+Custom paragraph shapes
+\family default
+.
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Predefined shapes
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+shapepar
+\series default
+ provides the following shapes:
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Tabular
+<lyxtabular version="3" rows="13" columns="3">
+<features rotate="0" booktabs="true" islongtable="true" longtabularalignment="center">
+<column alignment="center" valignment="middle" width="16col%">
+<column alignment="center" valignment="middle" width="40col%">
+<column alignment="center" valignment="middle" width="35col%">
+<row endhead="true">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Name
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Description
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Annotation
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+CDlabel
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Circle with circular hole (in the size of a CD/DVD)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Cannot be scaled, take care there is not too much text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Circle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Circle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Fragile, calculation might fail
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Diamond
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Rhomboid (symbolizing a 
+\begin_inset Quotes eld
+\end_inset
+
+diamond
+\begin_inset Quotes erd
+\end_inset
+
+)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Heart
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Heart-like shape
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Hexagon
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Hexagon
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Nut
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Nut for bolt (hexagon with circular hole)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Square
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Square
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Star
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Five-point star
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Candle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Burning candle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Drop down/up
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Normal/reversed rain drop
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Fragile, calculation might fail
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+TeX
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+The TeX logo
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Triangle up/down/
+\begin_inset Newline newline
+\end_inset
+
+left/right
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Triangles in different orientations
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+To use a shape for your paragraph, simply select it in LyX's pull-down box
+ for environments in the toolbar.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Here is an example paragraph in the shape of a nut:
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Nut
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note
+\series default
+: shapepar paragraphs cannot run over a page break.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+shapepar
+\series default
+ takes care that the shape will always be preserved, no matter how much
+ text is in the paragraph.
+ Therefore the paragraph size changes with the amount of contained text.
+ This can lead to paragraph sizes exceeding the page margins.
+ To demonstrate the size scaling, here is the same example paragraph but
+ with twice as much text:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Nut
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+An exception is the shape 
+\family sans
+CDlabel
+\family default
+.
+ It cannot be scaled because it must fit the size of a CD/DVD.
+ Therefore the amount of text that fits into the shape is limited.
+\begin_inset Newline newline
+\end_inset
+
+The 
+\family sans
+drop
+\family default
+ shapes and the 
+\family sans
+circle
+\family default
+ shape are fragile, meaning that the calculation of their size can fail,
+ depending on the amount of text.
+ You will then get the LaTeX error 
+\begin_inset Quotes eld
+\end_inset
+
+Arithmetic overflow
+\begin_inset Quotes erd
+\end_inset
+
+.
+ In this case one can try to remove or add some text; if nothing works one
+ has to use another shape.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+For shapes with tips you will maybe see that LaTeX's hyphenation routine
+ fails for text in the tips.
+ Therefore it is often necessary to add hyphenation points 
+\family sans
+(
+\begin_inset Info
+type  "shortcut"
+arg   "specialchar-insert hyphenation"
+\end_inset
+
+
+\family default
+) to the corresponding text parts.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Shapepar paragraphs are always placed on the page that their left border
+ touches the left page margin.
+ You can therefore not use the paragraph dialog to align such paragraphs.
+ A solution is to put the paragraph into a minipage or parbox and align
+ the box.
+ The problem is hereby to find the right width for the box.
+ Because if it is too wide and you center the box, the paragraph is not
+ centered too because it sticks at the left side of the box.
+ So you might have to play a bit with the width until it fits.
+ Here are two triangular paragraphs, the first one is not aligned, the second
+ one is centered:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Triangle up
+
+\lang latin
+Lo\SpecialChar \-
+rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 1
+use_makebox 0
+width "42col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Triangle up
+
+\lang latin
+Lo\SpecialChar \-
+rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Custom shapes
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+You can define any shape you want.
+ Doing this manually is a lot of work because every coordinate must be specified.
+ But there is a way to let the computer calculate the coordinates:
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Install the program
+\lang spanish
+\begin_inset CommandInset href
+LatexCommand href
+name "Jpgfdraw"
+target "http://www.ctan.org/tex-archive/graphics/jpgfdraw"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+In 
+\family sans
+Jpgfdraw
+\family default
+ go to the menu 
+\family sans
+Te
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+{}
+\end_layout
+
+\end_inset
+
+X/LaT
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+{}
+\end_layout
+
+\end_inset
+
+eX\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Set Normal Size
+\family default
+ and select the font size you are using in your document.
+ For example this document uses the size 12
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Draw a shape.
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Use the menu 
+\family sans
+Te
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+{}
+\end_layout
+
+\end_inset
+
+X/LaT
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+{}
+\end_layout
+
+\end_inset
+
+eX\SpecialChar \menuseparator
+Shapepar
+\family default
+ to export the shape to coordinates.
+ In the appearing dialog use either the outline of your shape for the coordinate
+s or the path itself.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+For more information see 
+\begin_inset CommandInset href
+LatexCommand href
+target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The coordinates are written into a TeX-file.
+ To use it for your LyX document
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Place the cursor before the first character of your paragraph (or into a
+ new empty one).
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Open in LyX the menu 
+\family sans
+Insert\SpecialChar \menuseparator
+File\SpecialChar \menuseparator
+Child
+\begin_inset space ~
+\end_inset
+
+Document
+\family default
+, select the file and use 
+\family sans
+Input
+\family default
+ as 
+\family sans
+Include Type.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note
+\series default
+: The changed shape only applies to the current paragraph; everything is
+ reset to normal for the next paragraph.
+ Therefore the shape definition file must be input into every paragraph
+ with the desired shape.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Here is an example:
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset CommandInset include
+LatexCommand input
+filename "../SpecialParagraphShape.tex"
+
+\end_inset
+
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+A tip:
+\series default
+ to draw complexer shapes in 
+\family sans
+Jpgfdraw
+\family default
+ you can draw the shape in a program of your choice and import the resulting
+ image to 
+\family sans
+Jpgfdraw
+\family default
+.
+ Then you only need to draw a line or spline along the outline of the image.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The module 
+\family sans
+Custom paragraph shapes
+\family default
+ also provides the two commands 
+\family sans
+shapepar
+\family default
+ and 
+\family sans
+Shapepar
+\family default
+ which can be used to define custom shapes coordinate by coordinate.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+These commands are internally used for all shapes described here.
+\end_layout
+
+\end_inset
+
+ For information how these styles are used and about further customization
+ possibilities, have a look at the documentation of the package 
+\series bold
+\lang spanish
+shapepar
+\series default
+, 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "shapepar"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "multicol"
+
+\end_inset
+
+Documentación del paquete LaTeX 
+\begin_inset CommandInset href
+LatexCommand href
+name "multicol"
+target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "shapepar"
+
+\end_inset
+
+Documentación del paquete LaTeX 
+\begin_inset CommandInset href
+LatexCommand href
+name "shapepar"
+target "http://mirrors.ctan.org/macros/latex/contrib/shapepar/shapepar.pdf"
+
+\end_inset
+
 
 \end_layout
 
index a2aabe86888d5c2f1680ba0994d879a0314cb926..a8859df4200092912d42cc64f44bc23a9df9e4ef 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 2.0 created this file. For more info see http://www.lyx.org/
-\lyxformat 413
+#LyX 2.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 459
 \begin_document
 \begin_header
 \textclass scrbook
  \cleardoublepage
  \pagenumbering{arabic}}
 
-
-% used for multi-column text
-\usepackage{multicol}
-
 % extra space for tables
 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
 \end_preamble
@@ -47,6 +43,7 @@ logicalmkup
 theorems-ams
 theorems-ams-extended
 multicol
+shapepar
 \end_modules
 \maintain_unincluded_children false
 \begin_local_layout
@@ -71,13 +68,13 @@ End
 \font_roman default
 \font_sans default
 \font_typewriter default
+\font_math auto
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
-
 \graphics default
 \default_output_format default
 \output_sync 0
@@ -102,15 +99,23 @@ End
 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
 \papersize default
 \use_geometry false
-\use_amsmath 1
-\use_esint 0
-\use_mhchem 1
-\use_mathdots 1
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package esint 0
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
 \cite_engine basic
+\cite_engine_type numerical
+\biblio_style plain
 \use_bibtopic false
 \use_indices false
 \paperorientation portrait
 \suppress_date false
+\justification true
 \use_refstyle 1
 \notefontcolor #0000ff
 \index Index
@@ -3365,7 +3370,7 @@ Les six panneaux sont répartis selon les paquetages qu'ils nécessitent.
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="7" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
 <row>
@@ -17073,7 +17078,7 @@ Interligne
 
 \begin_layout Section
 Article (mwart), book (mwbk) and report (mwrep)
-\begin_inset Argument
+\begin_inset Argument 1
 status collapsed
 
 \begin_layout Plain Layout
@@ -18827,7 +18832,11 @@ chktex
 
 \lang french
  et la commande est donc grisée si celui-ci n'est pas installé.
- Vous pouvez vous le procurer de CTAN, 
+ Vous pouvez vous le procurer de CTAN,
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset CommandInset href
 LatexCommand href
 target "http://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
@@ -19054,7 +19063,11 @@ Comment l'utiliser
 \end_layout
 
 \begin_layout Standard
-Si le programme est installé, l'employer est un jeu d'enfant : faites 
+Si le programme est installé, l'employer est un jeu d'enfant : faites
+\begin_inset Newline newline
+\end_inset
+
+
 \family sans
 Outils\SpecialChar \menuseparator
 Correction
@@ -22008,7 +22021,7 @@ svnversion
 \lang english
 \begin_inset Tabular
 <lyxtabular version="3" rows="6" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0">
 <column alignment="center" valignment="top" width="0">
 <row>
@@ -22166,7 +22179,11 @@ mixed revision, modified, switched working copy
 
 \lang english
 file revision information.
- The result comes from parsing the output of 
+ The result comes from parsing the output of
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset Flex Code
 status collapsed
 
@@ -22483,8 +22500,9 @@ C:
 new project 
 \family default
 in Windows Explorer, right click it, and select 
-\family typewriter
-TortoiseSVN > Repo-browser
+\family sans
+TortoiseSVN\SpecialChar \menuseparator
+Repo-browser
 \family default
 .
  If necessary, adjust the URL for the repository, then click OK.
@@ -22495,9 +22513,8 @@ TortoiseSVN > Repo-browser
 \lang english
 Right click the level of the repository under which you want to place the
  new project folder (typically the top level) and click 
-\family typewriter
-Create folder\SpecialChar \ldots{}
-
+\family sans
+Create folder
 \family default
  Supply a name for the project folder and click OK.
  Add a message for the log file if desired, then click OK again.
@@ -22541,24 +22558,13 @@ new project.
 \lang english
 Create or open your document in LyX and click 
 \family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-V
-\bar default
-ersion
+File\SpecialChar \menuseparator
+Version
 \begin_inset space ~
 \end_inset
 
 Control\SpecialChar \menuseparator
-
-\bar under
-R
-\bar default
-egister.
+Register.
  
 \family default
 Add a log message and click OK to commit the document to version control.
@@ -22569,15 +22575,8 @@ Add a log message and click OK to commit the document to version control.
 \lang english
 From this point onward, you should have full functionality in the 
 \family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-V
-\bar default
-ersion
+File\SpecialChar \menuseparator
+Version
 \begin_inset space ~
 \end_inset
 
@@ -22777,8 +22776,15 @@ Subversion
 
 \end_inset
 
-, section [tunnels], setup ssh command, e.g.
+, section [tunnels], setup ssh command, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset Flex Code
 status collapsed
 
@@ -22813,8 +22819,15 @@ It will usually take a lot of time to get exact command right and it depends
 \begin_layout Enumerate
 
 \lang english
-Checkout the SVN archive, e.g.
+Checkout the SVN archive, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset Flex Code
 status collapsed
 
@@ -23354,46 +23367,31 @@ Ajout de code
 
 \begin_layout Standard
 LyX vous permet d'entrer du code par l'intermédiaire d'un format nommé 
-\family sans
-Scrap
-\begin_inset Foot
+\lang english
+
+\begin_inset Flex Noun
 status collapsed
 
 \begin_layout Plain Layout
 
-\family sans
-\noun on
-Le terme équivalent sous Noweb est 
-\begin_inset Quotes fld
-\end_inset
-
+\lang english
 Chunk
-\begin_inset Quotes frd
-\end_inset
-
-.
- Pour des raisons historiques, j'ai gardé le terme 
-\begin_inset Quotes fld
-\end_inset
-
-scrap
-\begin_inset Quotes frd
-\end_inset
-
- d'un autre outil littéraire appelé Nuweb, que j'ai utilisé bien des années
- avant de me convertir à Noweb.
 \end_layout
 
 \end_inset
 
 
-\family default
+\lang french
 .
- Noweb délimite les scraps ainsi :
+ Noweb délimite les 
+\lang english
+chunks
+\lang french
+ ainsi :
 \end_layout
 
 \begin_layout LyX-Code
-<<Mon scrap>>=
+<<Mon code>>=
 \end_layout
 
 \begin_layout LyX-Code
@@ -23423,89 +23421,24 @@ Le problème est que tout ce qui est compris entre le
 \family default
  doit être pris tel quel, c'est-à-dire que LyX ne doit faire aucune interprétati
 on de ce qui a été écrit.
- C'est géré par un environnement spécial appelé 
-\family sans
-Scrap
-\family default
-, qui fonctionne comme un paragraphe normal mais qui présente une totale
- liberté en ce qui concerne l'espacement.
-\end_layout
+ C'est aussi géré par le environnement 
+\lang ngerman
 
-\begin_layout Standard
-L'inconvénient de l'environnement de paragraphe 
-\family sans
-Scrap
-\family default
- est que des paragraphes consécutifs de code vont être séparés par une ligne
- vide dans le code source et dans la documentation imprimée.
- Pour éviter ça, il faut donc, dans un 
-\family sans
-Scrap
-\family default
- donné, finir chaque ligne de code par un saut de ligne (
-\family sans
-C-Entrée
-\family default
-) et non un 
-\family sans
-Entrée
-\family default
- normal.
- L'exemple ci-dessus donnera donc
-\begin_inset Foot
+\begin_inset Flex Noun
 status collapsed
 
 \begin_layout Plain Layout
-Sur un document imprimé, il n'y a aucune différence entre cet exemple et
- le précédent.
-\end_layout
-
-\end_inset
-
- :
-\end_layout
-
-\begin_layout LyX-Code
-<<Mon scrap>>=
-\begin_inset Newline newline
-\end_inset
-
-  code
-\begin_inset Newline newline
-\end_inset
-
-  encore du code
-\begin_inset Newline newline
-\end_inset
-
-  toujours du code
-\begin_inset Newline newline
-\end_inset
 
-  @
-\end_layout
-
-\begin_layout Standard
-Cet environnement fonctionne bien.
- Le seul réel inconvénient est de devoir taper 
-\family sans
-C-Entrée
-\family default
- et non un simple 
-\family sans
-Entrée
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-Régler ce problème fait partie de la liste des améliorations à apporter.
+\lang ngerman
+Chunk
 \end_layout
 
 \end_inset
 
 
-\family default
-.
+\lang french
+, qui fonctionne comme un paragraphe normal mais qui présente une totale
+ liberté en ce qui concerne l'espacement.
 \end_layout
 
 \begin_layout Standard
@@ -23521,24 +23454,27 @@ Il est à noter que vous pouvez aussi utiliser la construction
 
 
 \family default
- de Noweb dans vos scraps pour ajouter des éléments de référence croisée
- :
+ de Noweb dans vos 
+\lang english
+chunks
+\lang french
+ pour ajouter des éléments de référence croisée :
 \end_layout
 
 \begin_layout LyX-Code
 <<Mon scrap>>=
-\begin_inset Newline newline
-\end_inset
+\end_layout
 
-  def une_fonction(param):
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+def une_fonction(param):
+\end_layout
 
-    "C'est la documentation de cette fonction."
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+   "C'est la documentation de cette fonction."
+\end_layout
 
-    print "Mes paramètres : ", param
+\begin_layout LyX-Code
+   print "Mes paramètres : ", param
 \end_layout
 
 \begin_layout LyX-Code
@@ -23625,9 +23561,21 @@ Préférences
 Remarquez que la seule différence est cette extension : LyX n'a rien de
  particulier à faire.
  Tant que vous avez utilisé l'environnement 
-\family sans
-Scrap
-\family default
+\lang english
+
+\begin_inset Flex Noun
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+Chunk
+\end_layout
+
+\end_inset
+
+
+\lang french
  en entrant le texte, tout se passera sans problème.
 \end_layout
 
@@ -23730,7 +23678,11 @@ La première partie, déterminée par le champ
 \family sans
 Convertisseur
 \family default
-, doit contenir 
+, doit contenir
+\begin_inset Newline newline
+\end_inset
+
+
 \family typewriter
 
 \begin_inset Quotes fld
@@ -23760,71 +23712,108 @@ build-script
  :
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage pagebreak
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\family sans
 #!/bin/sh
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
+
+\family sans
 #
 \end_layout
 
-\begin_layout LyX-Code
-notangle -Rbuild-script $1 | env  NOWEB_SOURCE=$1 sh
+\begin_layout Standard
+
+\family sans
+notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
 \end_layout
 
 \begin_layout Standard
-L'autre partie de la définition du convertisseur est le champ 
-\family sans
-Autres
-\begin_inset space ~
+\begin_inset VSpace defskip
 \end_inset
 
-Options
-\family default
- qui doit contenir 
-\family typewriter
 
-\begin_inset Quotes fld
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The next part of the converter setting is the
+\begin_inset Newline newline
 \end_inset
 
-originaldir,parselog=listerrors
-\begin_inset Quotes frd
+
+\begin_inset Quotes eld
+\end_inset
+
+Flags
+\begin_inset Quotes erd
+\end_inset
+
+ which is to be set to 
+\begin_inset Quotes eld
 \end_inset
 
 
+\family typewriter
+parselog=$$s/scripts/listerrors
 \family default
+
+\begin_inset Quotes erd
+\end_inset
+
 .
- Ça fera passer toutes les erreurs générées par 
-\family typewriter
+\begin_inset Newline newline
+\end_inset
+
+This will run any errors that are generated by the 
+\begin_inset Quotes eld
+\end_inset
+
 build-script
-\family default
- à travers le programme 
-\family typewriter
+\begin_inset Quotes erd
+\end_inset
+
+ process through the 
+\begin_inset Quotes eld
+\end_inset
+
 listerrors
-\family default
-.
+\begin_inset Quotes erd
+\end_inset
+
+ program.
 \end_layout
 
 \begin_layout Standard
-La gestion des convertisseurs cherche le programme 
+
+\lang english
+The build will normally take place in LyX's temporary directory, so the
+ files produced by the conversion will be in that directory.
+ LyX will copy out what it regards as the `main' file, but the 
 \family typewriter
-listerrors
-\family default
- d'abord dans 
-\family typewriter
-\emph on
-MON_RÉPERTOIRE_LYX
-\emph default
-/scripts
-\family default
-, puis dans 
-\family typewriter
-\emph on
-LIBDIR
-\emph default
-/scripts
+Noweb->Program
 \family default
- puis dans le chemin d'accès par défaut.
+ conversion may produce several files, and so most of these would then be
+ deleted when LyX was closed.
+ This is why we pass in the NOWEB_OUTPUT_DIR environment variable so that
+ the build-script chunk can place the generated files in that location.
 \end_layout
 
 \begin_layout Paragraph
@@ -23832,7 +23821,11 @@ Instructions de compilation dans le document
 \end_layout
 
 \begin_layout Standard
-La dernière partie de l'interface entre LyX et noweb est le scrap 
+La dernière partie de l'interface entre LyX et noweb est le 
+\lang english
+chunk
+\lang french
 \begin_inset Quotes fld
 \end_inset
 
@@ -23842,7 +23835,11 @@ build-script
 
 .
  En général, les instructions de compilation de votre programme doivent
- être regroupées dans un scrap à part.
+ être regroupées dans un 
+\lang english
+chunk
+\lang french
+ à part.
  Le 
 \family typewriter
 build-script
@@ -23851,7 +23848,11 @@ build-script
 \family typewriter
 notangle
 \family default
- pour rechercher ce scrap (appelé 
+ pour rechercher ce 
+\lang english
+chunk
+\lang french
+ (appelé 
 \begin_inset Quotes fld
 \end_inset
 
 \end_layout
 
 \begin_layout Standard
-Typiquement, un tel scrap ressemble à ceci :
+Typiquement, un tel 
+\lang english
+chunk
+\lang french
+ ressemble à ceci :
 \end_layout
 
 \begin_layout LyX-Code
 <<build-script>>=
-\begin_inset Newline newline
-\end_inset
-
-#!/bin/sh
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Newline newline
-\end_inset
-
-if [ -z "${NOWEB_SOURCE}" ]
-\begin_inset Newline newline
-\end_inset
+\end_layout
 
-then
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+#!/bin/shif [ -z "${NOWEB_SOURCE}" ] then
+\end_layout
 
-  NOWEB_SOURCE=mon_fichier.nw
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+NOWEB_SOURCE=myfile.nwfi[...
+\end_layout
 
-fi
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+code to extract files
+\end_layout
 
-[...
- code pour extraire les fichiers ...]
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+...
+ use NOWEB_OUTPUT_DIR here ...]
+\end_layout
 
+\begin_layout LyX-Code
 [...
- code pour compiler les fichiers ...]
-\begin_inset Newline newline
-\end_inset
-
-@
+ code to compile files ...]@
 \end_layout
 
 \begin_layout Standard
@@ -23920,7 +23909,11 @@ LIBDIR
 \emph default
 /examples/listerrors.lyx
 \family default
- ou dans 
+ ou dans
+\begin_inset Newline newline
+\end_inset
+
+
 \family typewriter
 \emph on
 LIBDIR
@@ -24211,10 +24204,26 @@ ddd
  sur :
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\family sans
 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
 \end_layout
 
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 Ainsi, quand vous utilisez 
 \family typewriter
@@ -24306,8 +24315,10 @@ LyX-Code
 \family default
  et 
 \family sans
-Scrap
+\lang english
+Chunk
 \family default
+\lang french
 .
  Le dernier bouton est un raccourci vers la commande 
 \begin_inset Quotes fld
@@ -24372,7 +24383,7 @@ Toolbar
 \end_layout
 
 \begin_layout LyX-Code
-  Icon "layout Scrap"
+  Icon "layout Chunk"
 \end_layout
 
 \begin_layout LyX-Code
@@ -24424,9 +24435,16 @@ Préférences
 .
  Une des choses qui ennuient nombre d'entre nous est la couleur du code
  LaTeX.
- La couleur par défaut est le rouge, or les scraps utilisent la police LaTeX,
- et comme il y a beaucoup de scraps dans un document de programmation littéraire
-, vous en aurez sûrement marre de tout voir en rouge.
+ La couleur par défaut est le rouge, or les 
+\lang english
+chunks
+\lang french
+ utilisent la police LaTeX, et comme il y a beaucoup de 
+\lang english
+chunks
+\lang french
+ dans un document de programmation littéraire, vous en aurez sûrement marre
+ de tout voir en rouge.
  Vous pouvez la changer dans l'onglet 
 \family sans
 Apparence\SpecialChar \menuseparator
@@ -24452,15 +24470,37 @@ nouvelle ligne
  plus.
 \end_layout
 
-\begin_layout Chapter
-Fonctionnalités particulières
-\begin_inset CommandInset label
-LatexCommand label
-name "chap:Fonctionnalités-particulières"
+\begin_layout Subsection
 
-\end_inset
+\lang english
+LyX and knitr/Sweave
+\end_layout
+
+\begin_layout Standard
 
+\lang english
+Support for 
+\family sans
+knitr
+\family default
+ and 
+\family sans
+Sweave
+\family default
+ is documented in the 
+\emph on
+knitr.lyx
+\emph default
+ example file and in the Sweave manual (menu 
+\family sans
+Help\SpecialChar \menuseparator
+Specific Manuals
+\family default
+).
+\end_layout
 
+\begin_layout Chapter
+Fonctionnalités particulières
 \end_layout
 
 \begin_layout Standard
@@ -24522,18 +24562,6 @@ Modules
 \series bold
 multicol
 \series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-
-\lang english
-LaTeX-packages ! multicol
-\end_layout
-
-\end_inset
-
  installed.
 \end_layout
 
@@ -24802,19 +24830,6 @@ For more features of multiple columns, have a look at the documentation
 \series bold
 multicol
 \series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-
-\lang english
-LaTeX-packages ! multicol
-\end_layout
-
-\end_inset
-
-
 \lang french
 , 
 \begin_inset CommandInset citation
@@ -25661,249 +25676,986 @@ Paragraphes de forme inhabituelle
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
+\noindent
 
-\backslash
-begin{sloppypar}
+\lang english
+LaTeX as well as any other text processor uses by default rectangular paragraphs.
+ For special cases like for example posters, invitation cards or poems you
+ can modify the paragraph shape to one of your choice.
+ This can be done by using the LaTeX-package 
+\series bold
+shapepar
+\series default
+ which is loaded by using in the document settings the module 
+\family sans
+Custom paragraph shapes
+\family default
+.
 \end_layout
 
-\end_inset
-
+\begin_layout Subsection
 
+\lang english
+Predefined shapes
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
 
-\begin_layout Plain Layout
+\series bold
+\lang english
+shapepar
+\series default
+ provides the following shapes:
+\end_layout
 
+\begin_layout Standard
 
-\backslash
-newdimen
-\backslash
-varunit 
-\end_layout
+\lang english
+\begin_inset Tabular
+<lyxtabular version="3" rows="13" columns="3">
+<features rotate="0" booktabs="true" islongtable="true" longtabularalignment="center">
+<column alignment="center" valignment="middle" width="16col%">
+<column alignment="center" valignment="middle" width="40col%">
+<column alignment="center" valignment="middle" width="35col%">
+<row endhead="true">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
 
 \begin_layout Plain Layout
 
-
-\backslash
-setlength{
-\backslash
-varunit}{4.5in}
+\lang english
+Name
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
 
+\begin_layout Plain Layout
 
+\lang english
+Description
 \end_layout
 
-\begin_layout Standard
-\noindent
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
 
 \begin_layout Plain Layout
 
-
-\backslash
-parshape 19 0.45
-\backslash
-varunit 0.367
-\backslash
-varunit
+\lang english
+Annotation
 \end_layout
 
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
 \begin_layout Plain Layout
 
-0.40
-\backslash
-varunit 0.335
-\backslash
-varunit
+\lang english
+CDlabel
 \end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
 \begin_layout Plain Layout
 
-0.35
-\backslash
-varunit 0.328
-\backslash
-varunit
+\lang english
+Circle with circular hole (in the size of a CD/DVD)
 \end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
 \begin_layout Plain Layout
 
-0.30
-\backslash
-varunit 0.335
-\backslash
-varunit
+\lang english
+Cannot be scaled, take care there is not too much text
 \end_layout
 
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
 \begin_layout Plain Layout
 
-0.25
-\backslash
-varunit 0.352
-\backslash
-varunit
+\lang english
+Circle
 \end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
 \begin_layout Plain Layout
 
-0.20
-\backslash
-varunit 0.377
-\backslash
-varunit
+\lang english
+Circle
 \end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
 \begin_layout Plain Layout
 
-0.15
-\backslash
-varunit 0.408
-\backslash
-varunit
+\lang english
+Fragile, calculation might fail
 \end_layout
 
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
 \begin_layout Plain Layout
 
-0.10
-\backslash
-varunit 0.445
-\backslash
-varunit
+\lang english
+Diamond
 \end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
 \begin_layout Plain Layout
 
-0.05
-\backslash
-varunit 0.488
-\backslash
-varunit
+\lang english
+Rhomboid (symbolizing a 
+\begin_inset Quotes eld
+\end_inset
+
+diamond
+\begin_inset Quotes erd
+\end_inset
+
+)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Heart
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Heart-like shape
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Hexagon
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Hexagon
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Nut
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Nut for bolt (hexagon with circular hole)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Square
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Square
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Star
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Five-point star
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Candle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Burning candle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Drop down/up
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Normal/reversed rain drop
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Fragile, calculation might fail
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+TeX
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+The TeX logo
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Triangle up/down/
+\begin_inset Newline newline
+\end_inset
+
+left/right
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Triangles in different orientations
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+To use a shape for your paragraph, simply select it in LyX's pull-down box
+ for environments in the toolbar.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Here is an example paragraph in the shape of a nut:
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Nut
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note
+\series default
+: shapepar paragraphs cannot run over a page break.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+shapepar
+\series default
+ takes care that the shape will always be preserved, no matter how much
+ text is in the paragraph.
+ Therefore the paragraph size changes with the amount of contained text.
+ This can lead to paragraph sizes exceeding the page margins.
+ To demonstrate the size scaling, here is the same example paragraph but
+ with twice as much text:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Nut
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+An exception is the shape 
+\family sans
+CDlabel
+\family default
+.
+ It cannot be scaled because it must fit the size of a CD/DVD.
+ Therefore the amount of text that fits into the shape is limited.
+\begin_inset Newline newline
+\end_inset
+
+The 
+\family sans
+drop
+\family default
+ shapes and the 
+\family sans
+circle
+\family default
+ shape are fragile, meaning that the calculation of their size can fail,
+ depending on the amount of text.
+ You will then get the LaTeX error 
+\begin_inset Quotes eld
+\end_inset
+
+Arithmetic overflow
+\begin_inset Quotes erd
+\end_inset
+
+.
+ In this case one can try to remove or add some text; if nothing works one
+ has to use another shape.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+For shapes with tips you will maybe see that LaTeX's hyphenation routine
+ fails for text in the tips.
+ Therefore it is often necessary to add hyphenation points 
+\family sans
+(
+\begin_inset Info
+type  "shortcut"
+arg   "specialchar-insert hyphenation"
+\end_inset
+
+
+\family default
+) to the corresponding text parts.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Shapepar paragraphs are always placed on the page that their left border
+ touches the left page margin.
+ You can therefore not use the paragraph dialog to align such paragraphs.
+ A solution is to put the paragraph into a minipage or parbox and align
+ the box.
+ The problem is hereby to find the right width for the box.
+ Because if it is too wide and you center the box, the paragraph is not
+ centered too because it sticks at the left side of the box.
+ So you might have to play a bit with the width until it fits.
+ Here are two triangular paragraphs, the first one is not aligned, the second
+ one is centered:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Triangle up
+
+\lang latin
+Lo\SpecialChar \-
+rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+\align center
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 1
+use_makebox 0
+width "42col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
 
-0.00
-\backslash
-varunit 0.535
-\backslash
-varunit
+\begin_layout Triangle up
+
+\lang latin
+Lo\SpecialChar \-
+rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+
 
-0.05
-\backslash
-varunit 0.488
-\backslash
-varunit
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Subsection
 
-0.10
-\backslash
-varunit 0.445
-\backslash
-varunit
+\lang english
+Custom shapes
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
 
-0.15
-\backslash
-varunit 0.408
-\backslash
-varunit
+\lang english
+You can define any shape you want.
+ Doing this manually is a lot of work because every coordinate must be specified.
+ But there is a way to let the computer calculate the coordinates:
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Enumerate
 
-0.20
-\backslash
-varunit 0.377
-\backslash
-varunit
+\lang english
+Install the program 
+\lang french
+
+\begin_inset CommandInset href
+LatexCommand href
+name "Jpgfdraw"
+target "http://www.ctan.org/tex-archive/graphics/jpgfdraw"
+
+\end_inset
+
+.
 \end_layout
 
+\begin_layout Enumerate
+
+\lang english
+In 
+\family sans
+Jpgfdraw
+\family default
+ go to the menu 
+\family sans
+Te
+\begin_inset ERT
+status collapsed
+
 \begin_layout Plain Layout
 
-0.25
-\backslash
-varunit 0.352
-\backslash
-varunit
+{}
 \end_layout
 
+\end_inset
+
+X/LaT
+\begin_inset ERT
+status collapsed
+
 \begin_layout Plain Layout
 
-0.30
-\backslash
-varunit 0.335
-\backslash
-varunit
+{}
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
 
-0.35
-\backslash
-varunit 0.328
-\backslash
-varunit
+eX\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Set Normal Size
+\family default
+ and select the font size you are using in your document.
+ For example this document uses the size 12
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Draw a shape.
 \end_layout
 
+\begin_layout Enumerate
+
+\lang english
+Use the menu 
+\family sans
+Te
+\begin_inset ERT
+status collapsed
+
 \begin_layout Plain Layout
 
-0.40
-\backslash
-varunit 0.335
-\backslash
-varunit
+{}
 \end_layout
 
+\end_inset
+
+X/LaT
+\begin_inset ERT
+status collapsed
+
 \begin_layout Plain Layout
 
-0.45
-\backslash
-varunit 0.367
-\backslash
-varunit
+{}
 \end_layout
 
+\end_inset
+
+eX\SpecialChar \menuseparator
+Shapepar
+\family default
+ to export the shape to coordinates.
+ In the appearing dialog use either the outline of your shape for the coordinate
+s or the path itself.
+\begin_inset Foot
+status collapsed
+
 \begin_layout Plain Layout
 
+\lang english
+For more information see 
+\begin_inset CommandInset href
+LatexCommand href
+target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
+
+\end_inset
+
+
 \end_layout
 
 \end_inset
 
-Il y a des fois où il faut en finir avec la tyrannie des paragraphes rectangulai
-res.
- Dans de telles situations, il faut recourir à la délicieuse commande TeX
-\family typewriter
 
-\backslash
-parshape
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The coordinates are written into a TeX-file.
+ To use it for your LyX document
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Place the cursor before the first character of your paragraph (or into a
+ new empty one).
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Open in LyX the menu 
+\family sans
+Insert\SpecialChar \menuseparator
+File\SpecialChar \menuseparator
+Child
+\begin_inset space ~
+\end_inset
+
+Document
 \family default
-.
- Comme vous voyez, on peut construire des formes complètement arbitraires
- en déclarant un ensemble de longueurs de ligne.
- Cette forme de paragraphe peut sembler un peu idiote et sans utilité, mais
- on peut imaginer des situations, comme des lettrines finement ajustées,
- l'enrobage de graphiques non rectangulaires, etc.
- qui bénéficieraient d'une telle opération.
+, select the file and use 
+\family sans
+Input
+\family default
+ as 
+\family sans
+Include Type.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note
+\series default
+: The changed shape only applies to the current paragraph; everything is
+ reset to normal for the next paragraph.
+ Therefore the shape definition file must be input into every paragraph
+ with the desired shape.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -25914,50 +26666,112 @@ parshape
 \end_layout
 
 \begin_layout Standard
-La syntaxe est 
-\family typewriter
 
-\backslash
-parshape nombre_lignes #1indentation #1longueur #2indentation #2longueur
- \SpecialChar \ldots{}
- #nindentation #nlongueur
-\family default
-, où 
-\family typewriter
-nombre_lignes
-\family default
- est le nombre de lignes du texte qui définit le paragraphe.
- S'il n'y a pas assez de lignes, la forme est tronquée ; s'il y en a trop,
- les lignes en surplus ont les mêmes dimensions que la dernière ligne ainsi
- définie.
- Les entrées 
-\family typewriter
-#nindentation
+\lang english
+Here is an example:
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset CommandInset include
+LatexCommand input
+filename "../SpecialParagraphShape.tex"
+
+\end_inset
+
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+A tip:
+\series default
+ to draw complexer shapes in 
+\family sans
+Jpgfdraw
 \family default
- et 
-\family typewriter
-#nlongueur
+ you can draw the shape in a program of your choice and import the resulting
+ image to 
+\family sans
+Jpgfdraw
 \family default
- spécifient l'indentation de la ligne à compter de la marge de gauche, et
- la longueur de la ligne à partir de ce point.
- La forme ne s'applique qu'au paragraphe en cours ; tout est remis à la
- normale pour le paragraphe suivant.
+.
+ Then you only need to draw a line or spline along the outline of the image.
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The module 
+\family sans
+Custom paragraph shapes
+\family default
+ also provides the two commands 
+\family sans
+shapepar
+\family default
+ and 
+\family sans
+Shapepar
+\family default
+ which can be used to define custom shapes coordinate by coordinate.
+\begin_inset Foot
 status collapsed
 
 \begin_layout Plain Layout
 
-
-\backslash
-end{sloppypar}
+\lang english
+These commands are internally used for all shapes described here.
 \end_layout
 
 \end_inset
 
+ For information how these styles are used and about further customization
+ possibilities, have a look at the documentation of the package 
+\series bold
+\lang french
+shapepar
+\series default
+, 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "shapepar"
+
+\end_inset
 
+.
 \end_layout
 
 \begin_layout Bibliography
@@ -25967,11 +26781,7 @@ key "multicol"
 
 \end_inset
 
-
-\lang english
-Documentation of the LaTeX-package
-\lang french
+Documentation du paquetage LaTeX 
 \begin_inset CommandInset href
 LatexCommand href
 name "multicol"
@@ -25980,16 +26790,20 @@ target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
 \end_inset
 
 
-\lang english
+\end_layout
 
-\begin_inset Index idx
-status collapsed
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "shapepar"
 
-\begin_layout Plain Layout
+\end_inset
 
-\lang english
-LaTeX-packages ! multicol
-\end_layout
+Documentation du paquetage LaTeX 
+\begin_inset CommandInset href
+LatexCommand href
+name "shapepar"
+target "http://mirrors.ctan.org/macros/latex/contrib/shapepar/shapepar.pdf"
 
 \end_inset
 
index 2937a8952212c4f3c715157917e903468fef613d..f86468b6b9c275418cf9893dfcf09625b4348902 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 2.0 created this file. For more info see http://www.lyx.org/
-\lyxformat 413
+#LyX 2.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 459
 \begin_document
 \begin_header
 \textclass jsbook
@@ -36,9 +36,6 @@
  \cleardoublepage
  \pagenumbering{arabic}}
 
-% used for multi-column text
-\usepackage{multicol}
-
 % extra space for tables
 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
 
@@ -51,6 +48,7 @@ logicalmkup
 theorems-ams
 theorems-ams-extended
 multicol
+shapepar
 \end_modules
 \maintain_unincluded_children false
 \begin_local_layout
@@ -70,18 +68,18 @@ End
 \end_local_layout
 \language japanese
 \language_package default
-\inputencoding JIS-pLaTeX
+\inputencoding jis
 \fontencoding global
 \font_roman default
 \font_sans default
 \font_typewriter default
+\font_math auto
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
-
 \graphics default
 \default_output_format default
 \output_sync 0
@@ -106,15 +104,23 @@ End
 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
 \papersize default
 \use_geometry false
-\use_amsmath 1
-\use_esint 0
-\use_mhchem 1
-\use_mathdots 1
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package esint 0
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
 \cite_engine basic
+\cite_engine_type numerical
+\biblio_style plain
 \use_bibtopic false
 \use_indices false
 \paperorientation portrait
 \suppress_date false
+\justification true
 \use_refstyle 0
 \notefontcolor #0000ff
 \index 索引
@@ -4629,7 +4635,7 @@ status collapsed
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="7" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
 <row>
@@ -14180,7 +14186,7 @@ CTAN:/macros/latex/memoir/memman.pdf
 
 \begin_layout Section
 Article(mwart)・book(mwbk)・report(mwrep)
-\begin_inset Argument
+\begin_inset Argument 1
 status collapsed
 
 \begin_layout Plain Layout
@@ -16289,6 +16295,10 @@ TeX構文チェック
 chktex
 \family default
 は、CTAN
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset CommandInset href
 LatexCommand href
 target "http://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
@@ -18580,7 +18590,7 @@ svnversion
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="6" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0">
 <column alignment="center" valignment="top" width="0">
 <row>
@@ -19254,6 +19264,10 @@ status collapsed
 \end_deeper
 \begin_layout Enumerate
 SVNアーカイブをチェックアウトしてください。例:
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset Flex Code
 status collapsed
 
@@ -19643,25 +19657,20 @@ status collapsed
 
 \begin_layout Standard
 LyXでは、
-\noun on
-Scrap
-\noun default
-
-\begin_inset Foot
+\begin_inset Flex Noun
 status collapsed
 
 \begin_layout Plain Layout
-Nowebでの名称は「Chunk」です。歴史的な理由から、別の文芸プログラミングツールNuwebで使われている「scrap」という用語を使用しています。Nuwe
-bは、私がNowebに乗り換える前に長年使用していたツールです。
+Chunk
 \end_layout
 
 \end_inset
 
-という名前のレイアウトを使えば、コードを入力することができます。Nowebは次のようにscrapを区切ります。
+という名前のレイアウトを使えば、コードを入力することができます。Nowebは次のようにchunks を区切ります。
 \end_layout
 
 \begin_layout LyX-Code
-<<My scrap>>=
+<<My code>>=
 \end_layout
 
 \begin_layout LyX-Code
@@ -19682,77 +19691,38 @@ bは、私がNowebに乗り換える前に長年使用していたツールで
 
 \begin_layout Standard
 問題は<<と@の間にあるものを完全にそのままの形で扱わなければならないことです。つまりLyXはこの間に書かれたものへのどんな変更も禁止しなくてははなりません。こ
-れはScrapと呼ぶ特別なレイアウトで扱われます。この環境は通常の段落のようですが、自由に空白を入れることができます。
-\end_layout
-
-\begin_layout Standard
-Scrap段落環境の欠点は、連続したコードの段落の間に空行がソースコードにも印刷したドキュメントにも入ることです。これを回避するためには、Scrap環境の中の改
-行には(ctrl-return)を使ってください。上の例では次のようにします
-\begin_inset Foot
+れは
+\begin_inset Flex Noun
 status collapsed
 
 \begin_layout Plain Layout
-印刷したバージョンを読んでいる場合にはこの例と上の例の違いが分かりません。
-\end_layout
-
-\end_inset
-
-。
+Chunk
 \end_layout
 
-\begin_layout LyX-Code
-<<My scrap>>=
-\begin_inset Newline newline
-\end_inset
-
-  code
-\begin_inset Newline newline
-\end_inset
-
-  more code
-\begin_inset Newline newline
-\end_inset
-
-  even more code
-\begin_inset Newline newline
 \end_inset
 
-  @
+と呼ぶ特別なレイアウトで扱われます。この環境は通常の段落のようですが、自由に空白を入れることができます。
 \end_layout
 
 \begin_layout Standard
-この環境はうまく働きます。不便な点は普通のリターンのかわりにctrl-returnを使わなければならないことです
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-これは改善しなければならない点でしょう。
+また、chunkの中にNowebの%defを使うことができます。これを使うことでNowebのidentifierの相互参照に項目を加えることができます。次の例を
+見てください。
 \end_layout
 
-\end_inset
-
-。
+\begin_layout LyX-Code
+<<My chunk>>=
 \end_layout
 
-\begin_layout Standard
-また、Scrapの中にNowebの%defを使うことができます。これを使うことでNowebのidentifierの相互参照に項目を加えることができます。次の例を
-見てください。
+\begin_layout LyX-Code
+def some_function(args):
 \end_layout
 
 \begin_layout LyX-Code
-<<My scrap>>=
-\begin_inset Newline newline
-\end_inset
-
-  def some_function(args):
-\begin_inset Newline newline
-\end_inset
-
-    "This is the doc string for this function."
-\begin_inset Newline newline
-\end_inset
+   "This is the doc string for this function."
+\end_layout
 
-    print "My args: ", args
+\begin_layout LyX-Code
+   print "My args: ", args
 \end_layout
 
 \begin_layout LyX-Code
@@ -19821,7 +19791,17 @@ status collapsed
 
 \end_deeper
 \begin_layout Enumerate
-違いがファイル名だけなのに注意してください。LyXによる特別な処理は必要ありません。Scrap環境でコードを入力するのだけがポイントです。
+違いがファイル名だけなのに注意してください。LyXによる特別な処理は必要ありません。
+\begin_inset Flex Noun
+status collapsed
+
+\begin_layout Plain Layout
+Chunk
+\end_layout
+
+\end_inset
+
+環境でコードを入力するのだけがポイントです。
 \end_layout
 
 \begin_layout Enumerate
@@ -19910,48 +19890,101 @@ build-script
 以下にbuild-scriptの一例を書いておきます。パスが通っているディレクトリに置いて使います。
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\family sans
 #!/bin/sh
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
+
+\family sans
 #
 \end_layout
 
-\begin_layout LyX-Code
-notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 sh
+\begin_layout Standard
+
+\family sans
+notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
 \end_layout
 
 \begin_layout Standard
-コンバータの設定の次の部分はFlagsです。これを
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The next part of the converter setting is the 
+\begin_inset Quotes eld
+\end_inset
+
+Flags
+\begin_inset Quotes erd
+\end_inset
+
+ which is to be set to
+\begin_inset Newline newline
+\end_inset
+
+
 \begin_inset Quotes eld
 \end_inset
 
 
 \family typewriter
-originaldir,parselog=listerrors
+parselog=$$s/scripts/listerrors
 \family default
 
 \begin_inset Quotes erd
 \end_inset
 
-と指定してください。これで、
-\family typewriter
+.
+\begin_inset Newline newline
+\end_inset
+
+This will run any errors that are generated by the 
+\begin_inset Quotes eld
+\end_inset
+
 build-script
-\family default
-が出すすべてのエラーをlisterrorsプログラムに渡します。
+\begin_inset Quotes erd
+\end_inset
+
+ process through the 
+\begin_inset Quotes eld
+\end_inset
+
+listerrors
+\begin_inset Quotes erd
+\end_inset
+
+ program.
 \end_layout
 
 \begin_layout Standard
-コンバータコードがlisterrorsプログラムを探す順序は、はじめに
-\emph on
-MYLYXDIR/scripts
-\emph default
-、次に
-\emph on
-LIBDIR/scripts
-\emph default
-、最後にパスです。
+
+\lang english
+The build will normally take place in LyX's temporary directory, so the
+ files produced by the conversion will be in that directory.
+ LyX will copy out what it regards as the `main' file, but the 
+\family typewriter
+Noweb->Program
+\family default
+ conversion may produce several files, and so most of these would then be
+ deleted when LyX was closed.
+ This is why we pass in the NOWEB_OUTPUT_DIR environment variable so that
+ the build-script chunk can place the generated files in that location.
 \end_layout
 
 \begin_layout Paragraph
@@ -19967,54 +20000,38 @@ build-script
 \begin_inset Quotes erd
 \end_inset
 
scrapです。一般に、あなたのプログラムの構築操作の説明それ自身をscrapに入れて文章中に含めなければなりません。上の例のnoweb用のbuild-scr
-iptでは、scrapを見つけるのにnotangleコマンドを使い、shを使って起動します。
chunkです。一般に、あなたのプログラムの構築操作の説明それ自身をchunkに入れて文章中に含めなければなりません。上の例のnoweb用のbuild-scr
+iptでは、chunkを見つけるのにnotangleコマンドを使い、shを使って起動します。
 \end_layout
 
 \begin_layout Standard
-以下に典型的なscrapがどのようなものかを書いておきます。
+以下に典型的なschunkがどのようなものかを書いておきます。
 \end_layout
 
 \begin_layout LyX-Code
 <<build-script>>=
-\begin_inset Newline newline
-\end_inset
-
-#!/bin/sh
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Newline newline
-\end_inset
-
-if [ -z "${NOWEB_SOURCE}" ]
-\begin_inset Newline newline
-\end_inset
+\end_layout
 
-then
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+#!/bin/shif [ -z "${NOWEB_SOURCE}" ] then
+\end_layout
 
-  NOWEB_SOURCE=myfile.nw
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+NOWEB_SOURCE=myfile.nwfi[...
+\end_layout
 
-fi
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+code to extract files
+\end_layout
 
-[...
- code to extract files ...]
-\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 ...]
-\begin_inset Newline newline
-\end_inset
-
-@
+ code to compile files ...]@
 \end_layout
 
 \begin_layout Standard
@@ -20208,10 +20225,26 @@ status collapsed
 を次のように設定してください。
 \end_layout
 
-\begin_layout LyX-Code
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\family sans
 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
 \end_layout
 
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 こうしておくとdddを使っていてプログラムの編集したい場所があったとき、(dddのウインドウで)Shift-Ctrl-Vを押すだけでdddはLyXサーバに情報を
 送り、LyXは同じファイルを表示し、カーソルはdddが示した場所へあらわれます。これでもうデバッグの最中に推測しながらスクロールして場所を探す必要がなくなります
@@ -20315,7 +20348,7 @@ LyX-Code
 \family default
 、
 \family sans
-Scrap
+Chunk
 \family default
 環境用のボタンを用意しています。最後の一つはファイルメニューの Build Programエントリへのショートカットです。
 \end_layout
@@ -20372,7 +20405,7 @@ Toolbar
 \end_layout
 
 \begin_layout LyX-Code
-  Icon "layout Scrap"
+  Icon "layout Chunk"
 \end_layout
 
 \begin_layout LyX-Code
@@ -20426,8 +20459,8 @@ status collapsed
 
 \end_inset
 
-で変えることができます。まず変えたいと思うのはLaTeXフォントカラーでしょう。既定では赤になっていますが、ScrapはLaTeXフォントを使い、文芸的プログラ
-ミングでは多くのScrapがあるためにそれらがすべて赤では疲れてしまいます。
+で変えることができます。まず変えたいと思うのはLaTeXフォントカラーでしょう。既定では赤になっていますが、ChunkはLaTeXフォントを使い、文芸的プログラ
+ミングでは多くのChunkがあるためにそれらがすべて赤では疲れてしまいます。
 \begin_inset Flex MenuItem
 status collapsed
 
@@ -20446,6 +20479,35 @@ status collapsed
 う色にすることを勧めます。こうすると、改行文字があるのはわかりますが、じゃまにならないでしょう。
 \end_layout
 
+\begin_layout Subsection
+
+\lang english
+LyX and knitr/Sweave
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Support for 
+\family sans
+knitr
+\family default
+ and 
+\family sans
+Sweave
+\family default
+ is documented in the 
+\emph on
+knitr.lyx
+\emph default
+ example file and in the Sweave manual (menu 
+\family sans
+Help\SpecialChar \menuseparator
+Specific Manuals
+\family default
+).
+\end_layout
+
 \begin_layout Chapter
 
 \lang english
@@ -20524,18 +20586,6 @@ Modules
 \series bold
 multicol
 \series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-
-\lang english
-LaTeX-packages ! multicol
-\end_layout
-
-\end_inset
-
  installed.
 \end_layout
 
@@ -20816,19 +20866,6 @@ For more features of multiple columns, have a look at the documentation
 \series bold
 multicol
 \series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-
-\lang english
-LaTeX-packages ! multicol
-\end_layout
-
-\end_inset
-
-
 \lang japanese
 , 
 \begin_inset CommandInset citation
@@ -21686,41 +21723,782 @@ go back to the default
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
+\noindent
 
-\begin_layout Plain Layout
+\lang english
+LaTeX as well as any other text processor uses by default rectangular paragraphs.
+ For special cases like for example posters, invitation cards or poems you
+ can modify the paragraph shape to one of your choice.
+ This can be done by using the LaTeX-package 
+\series bold
+shapepar
+\series default
+ which is loaded by using in the document settings the module 
+\family sans
+Custom paragraph shapes
+\family default
+.
+\end_layout
 
+\begin_layout Subsection
 
-\backslash
-begin{sloppypar}
+\lang english
+Predefined shapes
 \end_layout
 
-\end_inset
-
+\begin_layout Standard
 
+\series bold
+\lang english
+shapepar
+\series default
+ provides the following shapes:
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
+
+\lang english
+\begin_inset Tabular
+<lyxtabular version="3" rows="13" columns="3">
+<features rotate="0" booktabs="true" islongtable="true" longtabularalignment="center">
+<column alignment="center" valignment="middle" width="16col%">
+<column alignment="center" valignment="middle" width="40col%">
+<column alignment="center" valignment="middle" width="35col%">
+<row endhead="true">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
 
 \begin_layout Plain Layout
 
+\lang english
+Name
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Description
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Annotation
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+CDlabel
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Circle with circular hole (in the size of a CD/DVD)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Cannot be scaled, take care there is not too much text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Circle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Circle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Fragile, calculation might fail
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Diamond
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Rhomboid (symbolizing a 
+\begin_inset Quotes eld
+\end_inset
+
+diamond
+\begin_inset Quotes erd
+\end_inset
+
+)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Heart
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Heart-like shape
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Hexagon
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Hexagon
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Nut
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Nut for bolt (hexagon with circular hole)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Square
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Square
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Star
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Five-point star
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Candle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Burning candle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Drop down/up
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Normal/reversed rain drop
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Fragile, calculation might fail
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+TeX
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+The TeX logo
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Triangle up/down/
+\begin_inset Newline newline
+\end_inset
+
+left/right
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Triangles in different orientations
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+To use a shape for your paragraph, simply select it in LyX's pull-down box
+ for environments in the toolbar.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Here is an example paragraph in the shape of a nut:
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Nut
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note
+\series default
+: shapepar paragraphs cannot run over a page break.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+shapepar
+\series default
+ takes care that the shape will always be preserved, no matter how much
+ text is in the paragraph.
+ Therefore the paragraph size changes with the amount of contained text.
+ This can lead to paragraph sizes exceeding the page margins.
+ To demonstrate the size scaling, here is the same example paragraph but
+ with twice as much text:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Nut
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+An exception is the shape 
+\family sans
+CDlabel
+\family default
+.
+ It cannot be scaled because it must fit the size of a CD/DVD.
+ Therefore the amount of text that fits into the shape is limited.
+\begin_inset Newline newline
+\end_inset
+
+The 
+\family sans
+drop
+\family default
+ shapes and the 
+\family sans
+circle
+\family default
+ shape are fragile, meaning that the calculation of their size can fail,
+ depending on the amount of text.
+ You will then get the LaTeX error 
+\begin_inset Quotes eld
+\end_inset
+
+Arithmetic overflow
+\begin_inset Quotes erd
+\end_inset
+
+.
+ In this case one can try to remove or add some text; if nothing works one
+ has to use another shape.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+For shapes with tips you will maybe see that LaTeX's hyphenation routine
+ fails for text in the tips.
+ Therefore it is often necessary to add hyphenation points 
+\family sans
+(
+\begin_inset Info
+type  "shortcut"
+arg   "specialchar-insert hyphenation"
+\end_inset
+
+
+\family default
+) to the corresponding text parts.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Shapepar paragraphs are always placed on the page that their left border
+ touches the left page margin.
+ You can therefore not use the paragraph dialog to align such paragraphs.
+ A solution is to put the paragraph into a minipage or parbox and align
+ the box.
+ The problem is hereby to find the right width for the box.
+ Because if it is too wide and you center the box, the paragraph is not
+ centered too because it sticks at the left side of the box.
+ So you might have to play a bit with the width until it fits.
+ Here are two triangular paragraphs, the first one is not aligned, the second
+ one is centered:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Triangle up
+
+\lang latin
+Lo\SpecialChar \-
+rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
 
-\backslash
-newdimen
-\backslash
-varunit 
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+\align center
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 1
+use_makebox 0
+width "42col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
 
+\begin_layout Triangle up
 
-\backslash
-setlength{
-\backslash
-varunit}{4.5in}
+\lang latin
+Lo\SpecialChar \-
+rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
 \end_layout
 
 \end_inset
@@ -21728,240 +22506,324 @@ varunit}{4.5in}
 
 \end_layout
 
-\begin_layout Standard
-\noindent
-\begin_inset ERT
-status collapsed
+\begin_layout Subsection
 
-\begin_layout Plain Layout
+\lang english
+Custom shapes
+\end_layout
 
+\begin_layout Standard
 
-\backslash
-parshape 19 0.45
-\backslash
-varunit 0.332
-\backslash
-varunit
+\lang english
+You can define any shape you want.
+ Doing this manually is a lot of work because every coordinate must be specified.
+ But there is a way to let the computer calculate the coordinates:
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Enumerate
 
-0.40
-\backslash
-varunit 0.300
-\backslash
-varunit
-\end_layout
+\lang english
+Install the program 
+\lang japanese
 
-\begin_layout Plain Layout
+\begin_inset CommandInset href
+LatexCommand href
+name "Jpgfdraw"
+target "http://www.ctan.org/tex-archive/graphics/jpgfdraw"
 
-0.35
-\backslash
-varunit 0.293
-\backslash
-varunit
+\end_inset
+
+.
 \end_layout
 
+\begin_layout Enumerate
+
+\lang english
+In 
+\family sans
+Jpgfdraw
+\family default
+ go to the menu 
+\family sans
+Te
+\begin_inset ERT
+status collapsed
+
 \begin_layout Plain Layout
 
-0.30
-\backslash
-varunit 0.300
-\backslash
-varunit
+{}
 \end_layout
 
+\end_inset
+
+X/LaT
+\begin_inset ERT
+status collapsed
+
 \begin_layout Plain Layout
 
-0.25
-\backslash
-varunit 0.317
-\backslash
-varunit
+{}
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
 
-0.20
-\backslash
-varunit 0.342
-\backslash
-varunit
+eX\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Set Normal Size
+\family default
+ and select the font size you are using in your document.
+ For example this document uses the size 12
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Enumerate
 
-0.15
-\backslash
-varunit 0.373
-\backslash
-varunit
+\lang english
+Draw a shape.
 \end_layout
 
+\begin_layout Enumerate
+
+\lang english
+Use the menu 
+\family sans
+Te
+\begin_inset ERT
+status collapsed
+
 \begin_layout Plain Layout
 
-0.10
-\backslash
-varunit 0.410
-\backslash
-varunit
+{}
 \end_layout
 
+\end_inset
+
+X/LaT
+\begin_inset ERT
+status collapsed
+
 \begin_layout Plain Layout
 
-0.05
-\backslash
-varunit 0.453
-\backslash
-varunit
+{}
 \end_layout
 
+\end_inset
+
+eX\SpecialChar \menuseparator
+Shapepar
+\family default
+ to export the shape to coordinates.
+ In the appearing dialog use either the outline of your shape for the coordinate
+s or the path itself.
+\begin_inset Foot
+status collapsed
+
 \begin_layout Plain Layout
 
-0.00
-\backslash
-varunit 0.500
-\backslash
-varunit
+\lang english
+For more information see 
+\begin_inset CommandInset href
+LatexCommand href
+target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
+
+\end_inset
+
+
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+
 
-0.05
-\backslash
-varunit 0.453
-\backslash
-varunit
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
 
-0.10
-\backslash
-varunit 0.410
-\backslash
-varunit
+\lang english
+The coordinates are written into a TeX-file.
+ To use it for your LyX document
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Enumerate
 
-0.15
-\backslash
-varunit 0.373
-\backslash
-varunit
+\lang english
+Place the cursor before the first character of your paragraph (or into a
+ new empty one).
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Enumerate
 
-0.20
-\backslash
-varunit 0.342
-\backslash
-varunit
+\lang english
+Open in LyX the menu 
+\family sans
+Insert\SpecialChar \menuseparator
+File\SpecialChar \menuseparator
+Child
+\begin_inset space ~
+\end_inset
+
+Document
+\family default
+, select the file and use 
+\family sans
+Input
+\family default
+ as 
+\family sans
+Include Type.
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
 
-0.25
-\backslash
-varunit 0.317
-\backslash
-varunit
 \end_layout
 
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
 \begin_layout Plain Layout
 
-0.30
-\backslash
-varunit 0.300
-\backslash
-varunit
+\series bold
+\lang english
+Note
+\series default
+: The changed shape only applies to the current paragraph; everything is
+ reset to normal for the next paragraph.
+ Therefore the shape definition file must be input into every paragraph
+ with the desired shape.
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+
 
-0.35
-\backslash
-varunit 0.293
-\backslash
-varunit
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
 
-0.40
-\backslash
-varunit 0.300
-\backslash
-varunit
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
 
-0.45
-\backslash
-varunit 0.332
-\backslash
-varunit
+\lang english
+Here is an example:
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
 
 \end_layout
 
+\begin_layout Standard
+\begin_inset CommandInset include
+LatexCommand input
+filename "../SpecialParagraphShape.tex"
+
 \end_inset
 
-長方形の段落の形を変えたい場合があるでしょう。そういう場合は楽しいTeXコマンド
-\family typewriter
 
-\backslash
-parshape
-\family default
-を使いましょう。この例で分かるように適当に行の長さを設定することで好きな形の段落が作れます。馬鹿げているように見えるかもしれませんが、dropped
- capitalを最終調整したり、長方形ではない図のまわりを文章で囲ったりするのにこのような手作業が必要なのです。
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
 \end_layout
 
 \begin_layout Standard
+
+\lang english
 \begin_inset VSpace bigskip
 \end_inset
 
-文法は
-\family typewriter
 
-\backslash
-parshape numlines #1indent #1length #2indent #2length \SpecialChar \ldots{}
- #nindent #nlength
-\family default
- です。
-\family typewriter
-numlines
-\family default
-は段落をつくる行数です。その段落の本文がこれより短い場合はそこで終わり、長い場合には最後の行の定義がそれ以後も使われます。
-\family typewriter
-#nindent
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+A tip:
+\series default
+ to draw complexer shapes in 
+\family sans
+Jpgfdraw
 \family default
-と
-\family typewriter
-#nlength
+ you can draw the shape in a program of your choice and import the resulting
+ image to 
+\family sans
+Jpgfdraw
 \family default
-エントリは左余白からの字下げの量と、字下げされたところからの行の長さを指定します。この形は現在の段落にだけ適応されて、次の段落では通常の形にリセットされます。
+.
+ Then you only need to draw a line or spline along the outline of the image.
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
+
+\lang english
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The module 
+\family sans
+Custom paragraph shapes
+\family default
+ also provides the two commands 
+\family sans
+shapepar
+\family default
+ and 
+\family sans
+Shapepar
+\family default
+ which can be used to define custom shapes coordinate by coordinate.
+\begin_inset Foot
 status collapsed
 
 \begin_layout Plain Layout
 
-
-\backslash
-end{sloppypar}
+\lang english
+These commands are internally used for all shapes described here.
 \end_layout
 
 \end_inset
 
+ For information how these styles are used and about further customization
+ possibilities, have a look at the documentation of the package 
+\series bold
+shapepar
+\series default
+, 
+\lang japanese
+
+\begin_inset CommandInset citation
+LatexCommand cite
+key "shapepar"
+
+\end_inset
 
+.
 \end_layout
 
 \begin_layout Bibliography
@@ -21971,11 +22833,7 @@ key "multicol"
 
 \end_inset
 
-
-\lang english
-Documentation of the LaTeX-package
-\lang japanese
+LaTeXパッケージ
 \begin_inset CommandInset href
 LatexCommand href
 name "multicol"
@@ -21983,21 +22841,25 @@ target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
 
 \end_inset
 
+の取扱説明書
+\end_layout
 
-\lang english
-
-\begin_inset Index idx
-status collapsed
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "shapepar"
 
-\begin_layout Plain Layout
+\end_inset
 
-\lang english
-LaTeX-packages ! multicol
-\end_layout
+LaTeXパッケージ
+\begin_inset CommandInset href
+LatexCommand href
+name "shapepar"
+target "http://mirrors.ctan.org/macros/latex/contrib/shapepar/shapepar.pdf"
 
 \end_inset
 
-
+の取扱説明書
 \end_layout
 
 \end_body
diff --git a/lib/layouts/shapepar.module b/lib/layouts/shapepar.module
new file mode 100644 (file)
index 0000000..1b98c75
--- /dev/null
@@ -0,0 +1,135 @@
+#\DeclareLyXModule[shapepar.sty]{Custom paragraph shapes}
+#DescriptionBegin
+#Provides several paragraph shapes as well as commands to define custom 
+#shapes. For a description see LyX's Additional
+#features manual, section "Non-standard Paragraph Shapes". 
+#DescriptionEnd
+#Author: Uwe Stöhr <uwestoehr@web.de>
+
+Format 43
+
+AddToPreamble
+ % used for custom paragraph shapes
+ \usepackage{shapepar}
+ \IfFileExists{candleshape.def}{%
+  \input{candleshape.def}}{}
+ \IfFileExists{dropshape.def}{%
+  \input{dropshape.def}}{}
+ \IfFileExists{TeXshape.def}{%
+  \input{TeXshape.def}}{}
+ \IfFileExists{triangleshapes.def}{%
+  \input{triangleshapes.def}}{}
+
+EndPreamble
+
+# first the standard shapes
+
+Style "CD label"
+       LatexType       command
+       LatexName       CDlabel
+       Category        ShapedParagraphs
+       NextNoIndent    1
+       Margin          Static
+       ParIndent       MM
+       ParSkip         0.4
+       Align           Block
+       LabelType       No_Label
+End
+
+Style "Circle"
+       CopyStyle       "CD label"
+       LatexName       circlepar
+End
+
+Style "Diamond"
+       CopyStyle       "CD label"
+       LatexName       diamondpar
+End
+
+Style "Heart"
+       CopyStyle       "CD label"
+       LatexName       heartpar
+End
+
+Style "Hexagon"
+       CopyStyle       "CD label"
+       LatexName       hexagonpar
+End
+
+Style "Nut"
+       CopyStyle       "CD label"
+       LatexName       nutpar
+End
+
+Style "Square"
+       CopyStyle       "CD label"
+       LatexName       squarepar
+End
+
+Style "Star"
+       CopyStyle       "CD label"
+       LatexName       starpar
+End
+
+# now the shapes defined in the .def files
+
+Style "Candle"
+       CopyStyle       "CD label"
+       LatexName       shapepar{\candle}
+End
+
+Style "Drop down"
+       CopyStyle       "CD label"
+       LatexName       droppar
+End
+
+Style "Drop up"
+       CopyStyle       "CD label"
+       LatexName       dropuppar
+End
+
+Style "TeX"
+       CopyStyle       "CD label"
+       LatexName       shapepar{\TeXshape}
+End
+
+Style "Triangle up"
+       CopyStyle       "CD label"
+       LatexName       triangleuppar
+End
+
+Style "Triangle down"
+       CopyStyle       "CD label"
+       LatexName       triangledownpar
+End
+
+Style "Triangle left"
+       CopyStyle       "CD label"
+       LatexName       triangleleftpar
+End
+
+Style "Triangle right"
+       CopyStyle       "CD label"
+       LatexName       trianglerightpar
+End
+
+# finally the low-level commands
+Style "shapepar"
+       CopyStyle       "CD label"
+       LatexName       shapepar
+       Argument 1
+         Mandatory     0
+         LabelString   "Scale"
+         Tooltip       "For scaling the <Shape specification> to positions on the page"
+       EndArgument
+       Argument 2
+         Mandatory     1
+         LabelString   "Shape specification"
+         Tooltip       "Specification of the shape"
+       EndArgument
+End
+
+Style "Shapepar"
+       CopyStyle       "shapepar"
+       LatexName       Shapepar
+End