]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/EmbeddedObjects.lyx
de.po
[lyx.git] / lib / doc / EmbeddedObjects.lyx
index 4c166f8f0d0cbd295243ba435e712af7c39311d2..23ece6ce5c84b70b5131cd8a25cf33ab46690d55 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 2.2 created this file. For more info see http://www.lyx.org/
-\lyxformat 508
+#LyX 2.3 created this file. For more info see http://www.lyx.org/
+\lyxformat 512
 \begin_document
 \begin_header
 \save_transient_properties true
@@ -171,6 +171,7 @@ graphicboxes
 \font_osf false
 \font_sf_scale 100 100
 \font_tt_scale 100 100
+\use_microtype false
 \graphics default
 \default_output_format pdf2
 \output_sync 0
@@ -227,11 +228,13 @@ graphicboxes
 \papercolumns 1
 \papersides 2
 \paperpagestyle default
-\tracking_changes false
+\tracking_changes true
 \output_changes false
 \html_math_output 0
 \html_css_as_file 0
 \html_be_strict false
+\author 227574939 "Kyttj"
+\author 2047637253 "Guillaume Munch"
 \end_header
 
 \begin_body
@@ -11683,7 +11686,7 @@ Multicolumn
 \end_layout
 
 \begin_layout Standard
-Multicolumns have there own cell settings.
+Multicolumns have their own cell settings.
  That means changing cell borders, cell alignment, and the width only affects
  the multicolumn.
  Here is an example table with a multicolumn cell in the first row and one
@@ -24645,7 +24648,6 @@ arg   "label-insert"
  A grey label box like this one: 
 \begin_inset Graphics
        filename clipart/label.png
-       scale 85
        scaleBeforeRotation
 
 \end_inset
@@ -24690,7 +24692,6 @@ arg   "dialog-show-new-inset ref"
  A grey cross-reference box like this one: 
 \begin_inset Graphics
        filename clipart/reference.png
-       scale 85
        scaleBeforeRotation
 
 \end_inset
@@ -38221,67 +38222,6 @@ target "http://en.wikipedia.org/wiki/XBoard"
 .
 \end_layout
 
-\begin_layout Description
-Date This inserts the date in the form 
-\emph on
-Day-Month-Year
-\emph default
-.
- This is a date inserted as external material: 
-\begin_inset External
-       template Date
-       filename .
-
-\end_inset
-
-
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset Note Note
-status collapsed
-
-\begin_layout Plain Layout
-Remove the protected space when bug 4398 is fixed!
-\end_layout
-
-\end_inset
-
-
-\begin_inset Newline newline
-\end_inset
-
-The date is not shown within \SpecialChar LyX
-, only in the output.
- There are two other methods of inserting a date: Via menu 
-\family sans
-Insert\SpecialChar menuseparator
-Date
-\family default
- and with the \SpecialChar LaTeX
- command 
-\series bold
-
-\backslash
-today
-\series default
- as \SpecialChar TeX
- Code.
- The different methods are compared in Table
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Comparison-of-the"
-
-\end_inset
-
-.
-\end_layout
-
 \begin_layout Description
 Dia
 \begin_inset space ~
@@ -38670,8 +38610,230 @@ target "http://en.wikipedia.org/wiki/Xfig"
 
 \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
+ 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"
+
+\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
+\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
+
+\backslash
+Large
+\family default
+, 
+\family typewriter
+
+\backslash
+small
+\family 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
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+
+\change_inserted 227574939 1473131628
+Here, the child document input inset (
+\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
+\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
+
+\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
+
+\end_layout
+
+\end_deeper
 \begin_layout Standard
 \begin_inset Float table
 placement !h
@@ -38700,12 +38862,11 @@ Comparison of the date input methods.
 \begin_layout Plain Layout
 \align center
 \begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="4">
+<lyxtabular version="3" rows="4" columns="3">
 <features tabularvalignment="middle">
 <column alignment="center" valignment="top">
 <column alignment="center" valignment="top">
 <column alignment="center" valignment="top">
-<column alignment="center" valignment="top">
 <row>
 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
@@ -38721,18 +38882,6 @@ Document format
 
 \begin_layout Plain Layout
 
-\family sans
-External Material\SpecialChar menuseparator
-Date
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
 \family sans
 Insert\SpecialChar menuseparator
 Date
@@ -38768,15 +38917,6 @@ today
 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
 
-\begin_layout Plain Layout
-as inset box
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
 \begin_layout Plain Layout
 as date
 \end_layout
@@ -38812,15 +38952,6 @@ as \SpecialChar TeX
 as date
 \end_layout
 
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-as date
-\end_layout
-
 \end_inset
 </cell>
 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
@@ -38850,15 +38981,6 @@ DVI, PDF, PS
 as date
 \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
-as date
-\end_layout
-
 \end_inset
 </cell>
 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">