]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/EmbeddedObjects.lyx
UserGuide.lyx: load math packages automatically
[lyx.git] / lib / doc / EmbeddedObjects.lyx
index d97e86b71c191c1e911a26b76c2f78eb6975ccb5..61eecb6c6f5e9a82523a520a8373de64c6747298 100644 (file)
@@ -1,5 +1,5 @@
 #LyX 2.3 created this file. For more info see http://www.lyx.org/
-\lyxformat 527
+\lyxformat 544
 \begin_document
 \begin_header
 \save_transient_properties true
@@ -172,6 +172,7 @@ graphicboxes
 \font_sf_scale 100 100
 \font_tt_scale 100 100
 \use_microtype false
+\use_dash_ligatures true
 \graphics default
 \default_output_format pdf2
 \output_sync 0
@@ -215,6 +216,7 @@ graphicboxes
 \suppress_date false
 \justification true
 \use_refstyle 0
+\use_minted 0
 \notefontcolor #0000ff
 \index Index
 \shortcut idx
@@ -224,19 +226,18 @@ graphicboxes
 \tocdepth 3
 \paragraph_separation skip
 \defskip medskip
+\is_math_indent 0
+\math_numbering_side default
 \quotes_style english
 \dynamic_quotes 0
 \papercolumns 1
 \papersides 2
 \paperpagestyle default
-\tracking_changes true
+\tracking_changes false
 \output_changes false
 \html_math_output 0
 \html_css_as_file 0
 \html_be_strict false
-\author 227574939 "Kyttj"
-\author 424524441 "rgheck"
-\author 2047637253 "Guillaume Munch"
 \end_header
 
 \begin_body
@@ -262,6 +263,7 @@ LatexCommand href
 name "lyx-docs@lists.lyx.org"
 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
 type "mailto:"
+literal "false"
 
 \end_inset
 
@@ -629,7 +631,7 @@ Figures ! Settings grouping
 \end_layout
 
 \begin_layout Standard
-This is an example image in EPS format
+This is an example image in PDF format
 \begin_inset Foot
 status collapsed
 
@@ -656,8 +658,7 @@ reference "sec:Image-Formats"
 \begin_layout Standard
 \align center
 \begin_inset Graphics
-       filename clipart/mobius.eps
-       scale 70
+       filename clipart/2D-intensity-plot.pdf
        scaleBeforeRotation
        rotateOrigin center
 
@@ -673,8 +674,7 @@ This is the same image like the one above but in draft mode:
 \begin_layout Standard
 \align center
 \begin_inset Graphics
-       filename clipart/mobius.eps
-       scale 70
+       filename clipart/2D-intensity-plot.pdf
        draft
        scaleBeforeRotation
        rotateOrigin center
@@ -770,7 +770,7 @@ Figure
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "fig:kill-plat"
+reference "fig:A-star-structure"
 
 \end_inset
 
@@ -781,7 +781,7 @@ reference "fig:kill-plat"
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "fig:escher"
+reference "fig:A-3D-object"
 
 \end_inset
 
@@ -809,7 +809,7 @@ status open
 \begin_layout Plain Layout
 \align center
 \begin_inset Graphics
-       filename clipart/platypus.eps
+       filename clipart/Star-structure.pdf
        width 50col%
        scaleBeforeRotation
        rotateOrigin center
@@ -825,11 +825,11 @@ status open
 \begin_layout Plain Layout
 \begin_inset CommandInset label
 LatexCommand label
-name "fig:kill-plat"
+name "fig:A-star-structure"
 
 \end_inset
 
-A severely distorted platypus in a float.
+A star structure in a float.
 \end_layout
 
 \end_inset
@@ -854,12 +854,11 @@ status open
 \begin_layout Plain Layout
 \begin_inset CommandInset label
 LatexCommand label
-name "fig:escher"
+name "fig:A-3D-object"
 
 \end_inset
 
-M.C.
- Escher on acid.
+A 3D object.
 \end_layout
 
 \end_inset
@@ -870,7 +869,7 @@ M.C.
 \begin_layout Plain Layout
 \align center
 \begin_inset Graphics
-       filename clipart/escher-lsd.eps
+       filename clipart/3D-structure-distort.pdf
        scale 80
        scaleBeforeRotation
        rotateOrigin center
@@ -902,14 +901,14 @@ Figure
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "fig:kill-plat"
+reference "fig:A-star-structure"
 
 \end_inset
 
  and 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "fig:escher"
+reference "fig:A-3D-object"
 
 \end_inset
 
@@ -1005,14 +1004,14 @@ reference "fig:Two-distorted-images"
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "fig:Undefinable-structure"
+reference "fig:Pink-object"
 
 \end_inset
 
  and 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "fig:A-Platypus"
+reference "fig:A-star"
 
 \end_inset
 
@@ -1041,11 +1040,11 @@ status collapsed
 \begin_layout Plain Layout
 \begin_inset CommandInset label
 LatexCommand label
-name "fig:Undefinable-structure"
+name "fig:Pink-object"
 
 \end_inset
 
-Undefinable structure.
+Pink object.
 \end_layout
 
 \end_inset
@@ -1055,7 +1054,7 @@ Undefinable structure.
 
 \begin_layout Plain Layout
 \begin_inset Graphics
-       filename clipart/escher-lsd.eps
+       filename clipart/3D-structure-distort.pdf
        width 45col%
        scaleBeforeRotation
        groupId distorted
@@ -1083,11 +1082,11 @@ status collapsed
 \begin_layout Plain Layout
 \begin_inset CommandInset label
 LatexCommand label
-name "fig:A-Platypus"
+name "fig:A-star"
 
 \end_inset
 
-A Platypus.
+A star.
 \end_layout
 
 \end_inset
@@ -1097,7 +1096,7 @@ A Platypus.
 
 \begin_layout Plain Layout
 \begin_inset Graphics
-       filename clipart/platypus.eps
+       filename clipart/Star-structure.pdf
        width 45col%
        scaleBeforeRotation
        groupId distorted
@@ -14676,6 +14675,7 @@ diagbox
 \begin_inset CommandInset citation
 LatexCommand cite
 key "diagbox"
+literal "true"
 
 \end_inset
 
@@ -15506,6 +15506,7 @@ booktabs
 \begin_inset CommandInset citation
 LatexCommand cite
 key "booktabs"
+literal "true"
 
 \end_inset
 
@@ -21518,7 +21519,7 @@ array
 \series default
  will be loaded automatically by \SpecialChar LyX
  when you use self defined table formats.
- To avoid that it being loaded twice the command 
+ To avoid that it is loaded twice the command 
 \series bold
 
 \backslash
@@ -25296,6 +25297,7 @@ arydshln
 \begin_inset CommandInset citation
 LatexCommand cite
 key "arydshln"
+literal "true"
 
 \end_inset
 
@@ -25440,7 +25442,7 @@ reference "sec:Caption-Placement"
  A closed float box looks like this: 
 \begin_inset Graphics
        filename clipart/float.png
-       scale 70
+       scale 95
        scaleBeforeRotation
 
 \end_inset
@@ -26255,7 +26257,7 @@ newref
 \series default
  (refstyle) to the preamble of the document.
  For example redefining all references to figures (which have the label
- shortcut 
+ prefix 
 \begin_inset Quotes eld
 \end_inset
 
@@ -26288,24 +26290,90 @@ For more information about the format, have a look at the package documentations
 \begin_inset CommandInset citation
 LatexCommand cite
 key "prettyref,refstyle"
+literal "true"
 
 \end_inset
 
 .
-\change_inserted 424524441 1483414725
-
 \begin_inset Newline newline
 \end_inset
 
-The `Plural' and `Capitalized' options will be available with formatted
- references only if you are using the 
+The options 
+\family sans
+Plural
+\family default
+ and 
+\family sans
+Capitalized
+\family default
+ are only available if you use the \SpecialChar LaTeX
+-package 
 \series bold
 refstyle
 \series default
- package.
- See its documentation, again, for more information.
-\change_unchanged
+.
+\family sans
+Plural
+\family default
+ adds an 
+\emph on
+s
+\emph default
+ to the name, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+figures
+\begin_inset Quotes erd
+\end_inset
 
+; 
+\family sans
+Capitalized
+\family default
+ outputs the name capitalized, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+Figure
+\begin_inset Quotes erd
+\end_inset
+
+.
+ Both options can be combined to get e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+Figures
+\begin_inset Quotes erd
+\end_inset
+
+.
 \end_layout
 
 \begin_layout Description
@@ -26321,49 +26389,44 @@ reference "fig:Two-distorted-images"
 \end_inset
 
 
-\change_inserted 424524441 1483414735
-
 \end_layout
 
 \begin_layout Description
-
-\change_inserted 424524441 1483817911
 Label
 \begin_inset space ~
 \end_inset
 
 only: prints only the \SpecialChar LaTeX
- label for the reference.
- This allows for customization, using ERT, if you want to issue a command
- that LyX does not support.
- If you are using 
-\series bold
-refstyle
-\series default
-, then you may want to use the 
-\begin_inset Quotes eld
-\end_inset
+ label for the reference: 
+\begin_inset CommandInset ref
+LatexCommand labelonly
+reference "fig:Two-distorted-images"
+plural "false"
+caps "false"
+noprefix "false"
 
-No prefix
-\begin_inset Quotes erd
 \end_inset
 
- option, which will output only the part of the reference following the
-\begin_inset Quotes eld
+
+\begin_inset Newline newline
 \end_inset
 
-:
-\begin_inset Quotes erd
+This allows to use the label for commands in \SpecialChar TeX
+ code.
+ With the option 
+\family sans
+No Prefix
+\family default
+ one can omit the prefix of the label name: 
+\begin_inset CommandInset ref
+LatexCommand labelonly
+reference "fig:Two-distorted-images"
+plural "false"
+caps "false"
+noprefix "true"
+
 \end_inset
 
- separator.
- This is the form needed for, e.g., 
-\series bold
-refstyle
-\series default
-'s range commands.
-\change_unchanged
 
 \end_layout
 
@@ -26675,6 +26738,7 @@ hyperref
 \begin_inset CommandInset citation
 LatexCommand cite
 key "hyperref"
+literal "true"
 
 \end_inset
 
@@ -26838,6 +26902,7 @@ hypcap
 \begin_inset CommandInset citation
 LatexCommand cite
 key "hypcap"
+literal "true"
 
 \end_inset
 
@@ -27309,6 +27374,7 @@ endfloat
 \begin_inset CommandInset citation
 LatexCommand cite
 key "endfloat"
+literal "true"
 
 \end_inset
 
@@ -27334,6 +27400,7 @@ Note: endfloat
 \begin_inset CommandInset citation
 LatexCommand cite
 key "endfloat"
+literal "true"
 
 \end_inset
 
@@ -27408,6 +27475,7 @@ For more details about float placements, have a look at \SpecialChar LaTeX
 \begin_inset CommandInset citation
 LatexCommand cite
 key "latexcompanion,latexguide,latexbook"
+literal "true"
 
 \end_inset
 
@@ -28210,8 +28278,7 @@ status open
 \begin_layout Plain Layout
 \align center
 \begin_inset Graphics
-       filename clipart/mobius.eps
-       lyxscale 50
+       filename clipart/2D-intensity-plot.pdf
        width 100col%
        scaleBeforeRotation
 
@@ -28266,8 +28333,7 @@ status open
 \begin_layout Plain Layout
 \align center
 \begin_inset Graphics
-       filename clipart/platypus.eps
-       lyxscale 50
+       filename clipart/Star-structure.pdf
        width 100col%
        scaleBeforeRotation
 
@@ -28589,6 +28655,7 @@ caption
 \begin_inset CommandInset citation
 LatexCommand cite
 key "caption"
+literal "true"
 
 \end_inset
 
@@ -28740,6 +28807,7 @@ KOMA-Script
 \begin_inset CommandInset citation
 LatexCommand cite
 key "KOMA-Script"
+literal "true"
 
 \end_inset
 
@@ -28783,9 +28851,7 @@ status open
 \begin_layout Plain Layout
 \align center
 \begin_inset Graphics
-       filename clipart/mobius.eps
-       lyxscale 50
-       scale 50
+       filename clipart/2D-intensity-plot.pdf
        scaleBeforeRotation
 
 \end_inset
@@ -30099,6 +30165,7 @@ sidecap
 \begin_inset CommandInset citation
 LatexCommand cite
 key "sidecap"
+literal "true"
 
 \end_inset
 
@@ -30173,8 +30240,8 @@ status open
 
 \begin_layout Plain Layout
 \begin_inset Graphics
-       filename clipart/escher-lsd.eps
-       scale 75
+       filename clipart/3D-structure-distort.pdf
+       scale 50
        scaleBeforeRotation
 
 \end_inset
@@ -30520,8 +30587,8 @@ status open
 
 \begin_layout Plain Layout
 \begin_inset Graphics
-       filename clipart/escher-lsd.eps
-       scale 75
+       filename clipart/3D-structure-distort.pdf
+       scale 50
        scaleBeforeRotation
 
 \end_inset
@@ -31273,7 +31340,7 @@ Footnote
  You will then see the following footnote-box: 
 \begin_inset Graphics
        filename clipart/footnote.png
-       scale 80
+       scale 95
        scaleBeforeRotation
 
 \end_inset
@@ -32726,6 +32793,7 @@ status collapsed
 \begin_inset CommandInset citation
 LatexCommand cite
 key "footmisc"
+literal "true"
 
 \end_inset
 
@@ -32738,6 +32806,7 @@ For various further footnote formatting issues have a look at \SpecialChar LaTeX
 \begin_inset CommandInset citation
 LatexCommand cite
 key "latexcompanion,latexguide,latexbook"
+literal "true"
 
 \end_inset
 
@@ -32762,6 +32831,7 @@ status collapsed
 \begin_inset CommandInset citation
 LatexCommand cite
 key "KOMA-Script"
+literal "true"
 
 \end_inset
 
@@ -33373,6 +33443,7 @@ marginnote
 \begin_inset CommandInset citation
 LatexCommand cite
 key "marginnote"
+literal "true"
 
 \end_inset
 
@@ -33745,7 +33816,7 @@ Box (Minipage)
 : 
 \begin_inset Graphics
        filename clipart/BoxInsetDefault.png
-       scale 85
+       scale 95
        scaleBeforeRotation
 
 \end_inset
@@ -39024,6 +39095,7 @@ lettrine
 \begin_inset CommandInset citation
 LatexCommand cite
 key "lettrine"
+literal "true"
 
 \end_inset
 
@@ -39566,6 +39638,7 @@ diagram This template supports chess position diagrams made with the program
 LatexCommand href
 name "XBoard"
 target "http://en.wikipedia.org/wiki/XBoard"
+literal "false"
 
 \end_inset
 
@@ -39586,6 +39659,7 @@ diagram This template supports diagrams created with the program
 LatexCommand href
 name "Dia"
 target "http://en.wikipedia.org/wiki/Dia_(software)"
+literal "false"
 
 \end_inset
 
@@ -39610,6 +39684,7 @@ tables in the format of
 LatexCommand href
 name "Gnumeric"
 target "http://en.wikipedia.org/wiki/Gnumeric"
+literal "false"
 
 \end_inset
 
@@ -39620,6 +39695,7 @@ target "http://en.wikipedia.org/wiki/Gnumeric"
 LatexCommand href
 name "OpenDocument"
 target "http://en.wikipedia.org/wiki/OpenDocument"
+literal "false"
 
 \end_inset
 
@@ -39628,6 +39704,7 @@ target "http://en.wikipedia.org/wiki/OpenDocument"
 LatexCommand href
 name "Microsoft Office XML"
 target "http://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
+literal "false"
 
 \end_inset
 
@@ -39636,6 +39713,7 @@ target "http://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
 LatexCommand href
 name "Office Open XML"
 target "http://en.wikipedia.org/wiki/Office_Open_XML"
+literal "false"
 
 \end_inset
 
@@ -39676,6 +39754,7 @@ music This template is used for music notation typeset with the program
 LatexCommand href
 name "LilyPond"
 target "http://en.wikipedia.org/wiki/LilyPond"
+literal "false"
 
 \end_inset
 
@@ -39810,6 +39889,7 @@ pdfpages
 \begin_inset CommandInset citation
 LatexCommand cite
 key "pdfpages"
+literal "true"
 
 \end_inset
 
@@ -39937,6 +40017,7 @@ reference "sec:Graphics-Dialog"
 \begin_inset External
        template VectorGraphics
        filename clipart/SVG-Drawing.svg
+       lyxscale 50
        scale 33
 
 \end_inset
@@ -39950,242 +40031,99 @@ Xfig
 \end_inset
 
 figure This template supports images created with the program 
-\series bold
-
 \begin_inset CommandInset href
 LatexCommand href
 name "Xfig"
 target "http://en.wikipedia.org/wiki/Xfig"
+literal "false"
 
 \end_inset
 
-
-\series default
 .
-\change_inserted 227574939 1473131626
-
 \end_layout
 
 \begin_layout Description
-
-\change_inserted 227574939 1473131628
 Inkscape
 \begin_inset space ~
 \end_inset
 
-figure This experimental template supports 
-\change_inserted 2047637253 1475533187
-SVG 
-\change_inserted 227574939 1473131628
-images
-\change_inserted 2047637253 1475533525
+figure This experimental template supports vector graphics (SVG) images
  that contain text written in \SpecialChar LaTeX
 .
-
-\change_inserted 227574939 1473131628
-\change_inserted 2047637253 1475533551
-It relies on the PDF/PS+\SpecialChar LaTeX
- option of 
-\change_deleted 2047637253 1475533556
-created with 
-\change_inserted 227574939 1473131628
-the program 
-\begin_inset CommandInset href
-LatexCommand href
-name "Inkscape"
-target "https://en.wikipedia.org/wiki/Inkscape"
+ It relies on the option 
+\family sans
+Omit text in PDF and create LaTeX file
+\family default
+ when saving a drawing as PDF with the program 
+\noun on
+Inkscape
+\noun default
+, 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "Inkscape"
+literal "false"
 
 \end_inset
 
 .
-\change_inserted 2047637253 1475534005
-As described by the CTAN demonstration package 
-\emph on
-svg-inkscape
-\emph default
-,
-\end_layout
-
-\begin_deeper
-\begin_layout Quote
-
-\change_inserted 2047637253 1475534064
-
-\emph on
-using the 
-\begin_inset Quotes eld
-\end_inset
-
-PDF+\SpecialChar LaTeX
- output
-\begin_inset Quotes erd
+ This allows to include SVG documents in which \SpecialChar LaTeX
+ will typeset the text.
+ The benefit of such SVGs is a uniform text style throughout the whole document.
+\begin_inset Newline newline
 \end_inset
 
- option of Inkscape, it is possible to include SVG in documents, in which
- \SpecialChar LaTeX
- typesets the text.
- This results in uniform text style throughout the document, including text
- in images; moreover, \SpecialChar LaTeX
- commands may be used in the image’s text, providing
- such things as mathematics and references.
-\end_layout
-
-\begin_layout Standard
-
-\change_inserted 2047637253 1475534692
-With Inkscape, even the size of the font is taken from the surrounding \SpecialChar LaTeX
-
- document.
- Of course, you can always embed \SpecialChar LaTeX
- modifiers like 
-\family typewriter
+One can use \SpecialChar TeX
+ code commands like 
+\series bold
 
 \backslash
 Large
-\family default
+\series default
 , 
-\family typewriter
+\series bold
 
 \backslash
 small
-\family default
+\series default
 , etc.
- into your figure text strings.
- Refer to the 
-\emph on
-svg-inkscape
-\emph default
- documentation package for more information and examples.
-\end_layout
-
-\begin_layout Standard
-
-\change_inserted 2047637253 1475534902
-It should be noted that while the image takes into account the surrounding
- font, its preview in \SpecialChar LyX
- does not.
- Wrapping the external inset in a preview inset gives better results in
- this regard.
-\end_layout
-
-\begin_layout Standard
-
-\change_deleted 2047637253 1475534821
-It
-\change_inserted 2047637253 1475534913
-The template
-\change_inserted 227574939 1473131628
- works very similarly to Xfig support, except that Inkscape is a more modern
- image editor than Xfig, which uses Scalable Vector Graphics (SVG) as its
- native format.
-
-\change_unchanged
-\change_inserted 227574939 1473131628
-LyX will process the image file in much the same way as it does an Xfig
- image, extracting the text into a separate TeX file for the text strings,
- and a PDF file for the rest.
-\end_layout
-
-\begin_layout Description
-
-\change_inserted 227574939 1473131628
-Warning: Unfortunately the latest version of Inkscape, 0.91, contains a bug:
- with multi-page PDFs, the TeX file will sometimes reference more pages
- than the PDF file contains.
- This is the version that ships with Ubuntu 16.04.
- Its use with LyX can therefore not be recommended, until the bug is fixed
-\begin_inset Foot
-status open
-
-\begin_layout Plain Layout
-
-\change_inserted 227574939 1473131628
-A workaround for those who have already SVG figures in their document is,
- to manually do the LaTeX+PDF output from Inkscape, edit the 
-\family typewriter
-.pdf_tex
-\family default
- file to remove the erroneous references, and 
-\family typewriter
-
-\backslash
-input
-\family default
- it directly into LyX, i.e., not use the external-template mechanism:
-\end_layout
-
-\begin_layout Plain Layout
-
-\change_inserted 227574939 1473131628
-\begin_inset Graphics
-       filename clipart/workaround.png
-       scale 50
-
+\begin_inset space \space{}
 \end_inset
 
+in the text of the SVG.
+ The size of the font will be taken from the settings of the \SpecialChar LyX
+ document.
+ Refer to 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "Inkscape"
+literal "false"
 
-\end_layout
+\end_inset
 
-\begin_layout Plain Layout
+ for more information and examples.
+\begin_inset Newline newline
+\end_inset
 
-\change_inserted 227574939 1473131628
-Here, the child document input inset (
+Note that while the image text takes into account the surrounding font,
+ its preview in \SpecialChar LyX
+ does not.
+ Wrapping the external inset in a preview inset (menu 
 \family sans
 Insert\SpecialChar menuseparator
-File\SpecialChar menuseparator
-Child Document
-\family default
-) was used, which allows you do directly edit the 
-\family typewriter
-.pdf_tex
+Preview
 \family default
- file in a text editor.
- The LaTeX output is based on this edited snippet as re-generation from
- the SVG file has been commented out.
-\end_layout
-
+) gives a better result.
+\begin_inset Newline newline
 \end_inset
 
-.
-\change_deleted 2047637253 1475534230
-
-\end_layout
-
-\begin_layout Standard
-
-\change_deleted 2047637253 1475534225
-The reason why we would use this complicated process at all, like in the
- case of Xfig, is that it makes the text strings inside the figure of the
- same font type and attributes as the surrounding text, which looks so much
- more professional.
- With Inkscape, even the 
-\emph on
-size
-\emph default
- of the font is taken from the surrounding LaTeX document â€“ in Xfig, you
- have to set it by hand to be the same.
- Of course you can always embed LaTeX modifiers like 
-\family typewriter
-
-\backslash
-Large
-\family default
-, 
-\family typewriter
-
-\backslash
-small
-\family default
-, etc.
- into your figure text strings.
-\change_inserted 227574939 1473131628
-
+The template works very similarly to Xfig support.
+ \SpecialChar LyX
+ will extract the text in the image into a separate \SpecialChar TeX
+ file and creates a
+ PDF file for the rest.
 \end_layout
 
-\end_deeper
 \begin_layout Standard
 \begin_inset Float table
 placement !h
@@ -40378,7 +40316,7 @@ External material is displayed in \SpecialChar LyX
  either as a box like this: 
 \begin_inset Graphics
        filename clipart/ExternalMaterial.png
-       scale 75
+       scale 95
        scaleBeforeRotation
 
 \end_inset
@@ -40478,6 +40416,7 @@ Included documents are displayed in \SpecialChar LyX
  as a box like this: 
 \begin_inset Graphics
        filename clipart/ChildDocument.png
+       scale 95
        scaleBeforeRotation
 
 \end_inset
@@ -40911,7 +40850,7 @@ Program Listing
 \family default
 .
  The \SpecialChar LaTeX
--package 
+-packages 
 \series bold
 listings
 \series default
@@ -40926,8 +40865,194 @@ status collapsed
 
 \end_inset
 
- provides a powerful and flexible way to insert program source code into
+ or 
+\series bold
+minted
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+-packages ! minted
+\end_layout
+
+\end_inset
+
+ provide a powerful and flexible way to insert program source code into
  your document.
+ One can only use one of these packages in a document.
+\series bold
+listings
+\series default
+ is used by default.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ \SpecialChar LyX
+ does NOT want to encourage users to add the 
+\family typewriter
+-shell-escape
+\family default
+ option to converter definitions.
+ It works, but it is a huge security risk.
+ There is an active discussion about how to handle this.
+ Once that's been resolved, this can be updated appropriately.
+\end_layout
+
+\begin_layout Plain Layout
+=====
+\end_layout
+
+\begin_layout Plain Layout
+In order to use 
+\series bold
+minted
+\series default
+, you need to select it as the syntax highlighting package in the document
+ settings under 
+\family sans
+Listings
+\family default
+.
+\series bold
+minted
+\series default
+ requires also additionally the module 
+\family sans
+pygments
+\family default
+ of the software 
+\noun on
+Python
+\noun default
+
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Under \SpecialChar LyX
+ for Windows 
+\family sans
+pygments
+\family default
+ is already installed.
+\end_layout
+
+\end_inset
+
+ and the option 
+\family typewriter
+-shell-escape
+\family default
+ for the \SpecialChar LaTeX
+ processor.
+ If you want for example view or export your document as the format 
+\family sans
+PDF
+\begin_inset space ~
+\end_inset
+
+(pdflatex)
+\family default
+, go to the \SpecialChar LyX
+ preferences and there to the section 
+\family sans
+File
+\begin_inset space ~
+\end_inset
+
+Handling\SpecialChar menuseparator
+Converters
+\family default
+.
+ There go to the entry 
+\family sans
+LaTeX
+\begin_inset space ~
+\end_inset
+
+(pdflatex) -> PDF
+\begin_inset space ~
+\end_inset
+
+(pdflatex)
+\family default
+ and look at the field 
+\family sans
+Converter
+\family default
+.
+ There you see by default the content
+\begin_inset Newline newline
+\end_inset
+
+
+\series bold
+pdflatex $$i
+\series default
+
+\begin_inset Newline newline
+\end_inset
+
+Now change it to
+\begin_inset Newline newline
+\end_inset
+
+
+\series bold
+pdflatex $$i -shell-escape
+\begin_inset Newline newline
+\end_inset
+
+
+\series default
+and press the 
+\family sans
+Modify
+\family default
+ button and subsequently 
+\family sans
+Apply
+\family default
+ or 
+\family sans
+Save
+\family default
+.
+ The same can be done for the output formats 
+\family sans
+PDF
+\begin_inset space ~
+\end_inset
+
+(LuaTeX)
+\family default
+ and 
+\family sans
+PDF
+\begin_inset space ~
+\end_inset
+
+(XeTeX)
+\family default
+.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -41065,7 +41190,7 @@ Float
 \end_layout
 
 \begin_layout Standard
-You can add captions to listings with the menu 
+You can add captions to listings that are not inline with the menu 
 \family sans
 Insert\SpecialChar menuseparator
 Caption
@@ -41145,6 +41270,99 @@ def func(param):
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note: 
+\series default
+The 
+\series bold
+listings
+\series default
+ package places captions before the listing by default.
+\begin_inset Newline newline
+\end_inset
+
+The 
+\series bold
+minted
+\series default
+ package places them after the listing by default if it is floating.
+ If tit is not floating caption will be typeset before the listing if it
+ is inserted to its first line, otherwise it will be typeset after the listing.
+ If you want to force the placement in avery case before the listing, you
+ have to add the following lines as last thing to the preamble:
+\begin_inset Newline newline
+\end_inset
+
+
+\series bold
+
+\backslash
+@ifundefined{newfloat}
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+{
+\backslash
+usepackage{float}}{}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+floatstyle{plaintop}
+\series default
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+The package 
+\series bold
+float
+\series default
+ will be loaded automatically by \SpecialChar LyX
+ when you use special document-wide float
+ placement settings.
+ To avoid that it is loaded twice the command 
+\series bold
+
+\backslash
+@ifundefined
+\series default
+ is used in the above command.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -41240,8 +41458,12 @@ You can furthermore specify a range of lines; only these will then appear
 \family sans
 Extended character table
 \family default
- should be used when you use national characters like the German umlauts
- in the listing.
+ is only meaningful for the 
+\series bold
+listings
+\series default
+ package and should be used when you use national characters like the German
+ umlauts in the listing.
 \begin_inset Newline newline
 \end_inset
 
@@ -41633,10 +41855,15 @@ For more information about the
 \series bold
 listings
 \series default
- package, we refer to its documentation 
+ and 
+\series bold
+minted
+\series default
+ packages, we refer to their documentation 
 \begin_inset CommandInset citation
 LatexCommand cite
-key "listings"
+key "listings,minted"
+literal "true"
 
 \end_inset
 
@@ -42619,6 +42846,7 @@ PSTricks
 \begin_inset CommandInset citation
 LatexCommand cite
 key "pstricks"
+literal "true"
 
 \end_inset
 
@@ -46532,6 +46760,7 @@ W_{g\,n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "latexcompanion"
+literal "true"
 
 \end_inset
 
@@ -46548,6 +46777,7 @@ The \SpecialChar LaTeX
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "latexguide"
+literal "true"
 
 \end_inset
 
@@ -46565,6 +46795,7 @@ A Guide to \SpecialChar LaTeX
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "latexbook"
+literal "true"
 
 \end_inset
 
@@ -46581,6 +46812,7 @@ Leslie Lamport:
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "arydshln"
+literal "true"
 
 \end_inset
 
@@ -46592,6 +46824,7 @@ Documentation of the \SpecialChar LaTeX
 LatexCommand href
 name "arydshln"
 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/arydshln/arydshln.pdf"
+literal "false"
 
 \end_inset
 
@@ -46615,6 +46848,7 @@ status collapsed
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "booktabs"
+literal "true"
 
 \end_inset
 
@@ -46626,6 +46860,7 @@ Documentation of the \SpecialChar LaTeX
 LatexCommand href
 name "booktabs"
 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
+literal "false"
 
 \end_inset
 
@@ -46649,6 +46884,7 @@ status collapsed
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "caption"
+literal "true"
 
 \end_inset
 
@@ -46660,6 +46896,7 @@ Documentation of the \SpecialChar LaTeX
 LatexCommand href
 name "caption"
 target "http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf"
+literal "false"
 
 \end_inset
 
@@ -46683,6 +46920,7 @@ status collapsed
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "diagbox"
+literal "true"
 
 \end_inset
 
@@ -46694,6 +46932,7 @@ Documentation of the \SpecialChar LaTeX
 LatexCommand href
 name "diagbox"
 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/diagbox/diagbox.pdf"
+literal "false"
 
 \end_inset
 
@@ -46717,6 +46956,7 @@ status collapsed
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "endfloat"
+literal "true"
 
 \end_inset
 
@@ -46728,6 +46968,7 @@ Documentation of the \SpecialChar LaTeX
 LatexCommand href
 name "endfloat"
 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
+literal "false"
 
 \end_inset
 
@@ -46751,6 +46992,7 @@ status collapsed
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "footmisc"
+literal "true"
 
 \end_inset
 
@@ -46762,6 +47004,7 @@ Documentation of the \SpecialChar LaTeX
 LatexCommand href
 name "footmisc"
 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
+literal "false"
 
 \end_inset
 
@@ -46785,6 +47028,7 @@ status collapsed
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "hypcap"
+literal "true"
 
 \end_inset
 
@@ -46796,6 +47040,7 @@ Documentation of the \SpecialChar LaTeX
 LatexCommand href
 name "hypcap"
 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
+literal "false"
 
 \end_inset
 
@@ -46819,6 +47064,7 @@ status collapsed
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "hyperref"
+literal "true"
 
 \end_inset
 
@@ -46830,6 +47076,7 @@ Documentation of the \SpecialChar LaTeX
 LatexCommand href
 name "hyperref"
 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
+literal "false"
 
 \end_inset
 
@@ -46853,6 +47100,7 @@ status collapsed
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "KOMA-Script"
+literal "true"
 
 \end_inset
 
@@ -46864,6 +47112,7 @@ Documentation of the \SpecialChar LaTeX
 LatexCommand href
 name "KOMA-Script"
 target "http://mirror.ctan.org/macros/latex/contrib/koma-script/doc/scrguien.pdf"
+literal "false"
 
 \end_inset
 
@@ -46887,6 +47136,7 @@ status collapsed
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "lettrine"
+literal "true"
 
 \end_inset
 
@@ -46898,6 +47148,7 @@ Documentation of the \SpecialChar LaTeX
 LatexCommand href
 name "lettrine"
 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
+literal "false"
 
 \end_inset
 
@@ -46908,6 +47159,7 @@ target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
 LatexCommand href
 name "example"
 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
+literal "false"
 
 \end_inset
 
@@ -46929,6 +47181,7 @@ status collapsed
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "listings"
+literal "true"
 
 \end_inset
 
@@ -46940,6 +47193,7 @@ Documentation of the \SpecialChar LaTeX
 LatexCommand href
 name "listings"
 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
+literal "false"
 
 \end_inset
 
@@ -46957,12 +47211,49 @@ status collapsed
 \end_inset
 
 
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "minted"
+literal "false"
+
+\end_inset
+
+Documentation of the \SpecialChar LaTeX
+-package 
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "minted"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/minted/minted.pdf"
+literal "false"
+
+\end_inset
+
+
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+-packages ! minted
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Bibliography
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "marginnote"
+literal "true"
 
 \end_inset
 
@@ -46974,6 +47265,7 @@ Documentation of the \SpecialChar LaTeX
 LatexCommand href
 name "marginnote"
 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
+literal "false"
 
 \end_inset
 
@@ -46997,6 +47289,7 @@ status collapsed
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "pdfpages"
+literal "true"
 
 \end_inset
 
@@ -47008,6 +47301,7 @@ Documentation of the \SpecialChar LaTeX
 LatexCommand href
 name "pdfpages"
 target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
+literal "false"
 
 \end_inset
 
@@ -47031,6 +47325,7 @@ status collapsed
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "prettyref"
+literal "true"
 
 \end_inset
 
@@ -47042,6 +47337,7 @@ Documentation of the \SpecialChar LaTeX
 LatexCommand href
 name "prettyref"
 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
+literal "false"
 
 \end_inset
 
@@ -47065,6 +47361,7 @@ status collapsed
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "pstricks"
+literal "true"
 
 \end_inset
 
@@ -47076,6 +47373,7 @@ Web page of the \SpecialChar LaTeX
 LatexCommand href
 name "PSTricks"
 target "http://tug.org/PSTricks/"
+literal "false"
 
 \end_inset
 
@@ -47099,6 +47397,7 @@ status collapsed
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "refstyle"
+literal "true"
 
 \end_inset
 
@@ -47110,6 +47409,7 @@ Documentation of the \SpecialChar LaTeX
 LatexCommand href
 name "refstyle"
 target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
+literal "false"
 
 \end_inset
 
@@ -47133,6 +47433,7 @@ status collapsed
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "sidecap"
+literal "true"
 
 \end_inset
 
@@ -47144,6 +47445,7 @@ Documentation of the \SpecialChar LaTeX
 LatexCommand href
 name "sidecap"
 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
+literal "false"
 
 \end_inset
 
@@ -47166,30 +47468,40 @@ status collapsed
 \begin_layout Bibliography
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
-key "NewInLyX20"
+key "Inkscape"
+literal "true"
 
 \end_inset
 
+Documentation of the option 
+\begin_inset CommandInset href
+LatexCommand href
+name "Omit text in PDF"
+target "http://tug.ctan.org/tex-archive/info/svg-inkscape/InkscapePDFLaTeX.pdf"
+literal "false"
+
+\end_inset
+
+ of the program 
+\noun on
 
 \begin_inset CommandInset href
 LatexCommand href
-name "Wiki page"
-target "http://wiki.lyx.org/LyX/NewInLyX20"
+name "Inkscape"
+target "https://inkscape.org"
+literal "false"
 
 \end_inset
 
- about new features in 
-\family sans
-\SpecialChar LyX
- 2.0
-\family default
-.
+
 \end_layout
 
 \begin_layout Standard
 \begin_inset CommandInset index_print
 LatexCommand printindex
 type "idx"
+name "Index"
+literal "false"
 
 \end_inset