]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/EmbeddedObjects.lyx
Further fixes due to remarks by Pavel Sanda Sep. 5, 2016
[lyx.git] / lib / doc / EmbeddedObjects.lyx
index 63f8e170c53fa5ee876f5602bb028f16ba6ad2a2..e91914c6334a69c4bc2bb9010cafd4ef226b58d0 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 2.2 created this file. For more info see http://www.lyx.org/
-\lyxformat 507
+#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,12 @@ 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"
 \end_header
 
 \begin_body
@@ -646,7 +648,7 @@ reference "sec:Image-Formats"
 \end_inset
 
  within a separate, horizontally centered paragraph:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -667,7 +669,7 @@ reference "sec:Image-Formats"
 
 \begin_layout Standard
 This is the same image like the one above but in draft mode:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -1705,7 +1707,7 @@ The default table has lines around any cell and the first row appears separated
  have a line below them and the cells of the second row have a line above
  them.
  Here is an example table:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -3315,7 +3317,7 @@ reference "subsec:Multi-page-Table-Captions"
 \begin_layout Standard
 You can also specify a row where the table is split.
  See the following multi-page table to see how it works:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -7705,7 +7707,7 @@ reference "tab:DiffCaptions"
 
  is an example of a multi-page table with different heading where the second
  caption does not include the table number.
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -9880,7 +9882,7 @@ must be inserted as \SpecialChar TeX
  Code at the beginning of the cell.
  This ensures that the part of the cell that will be displayed on the new
  page appears with the full width.
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -11683,12 +11685,12 @@ 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
  in the last row without the upper border:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -12465,7 +12467,7 @@ Multirow
 
 \begin_layout Standard
 Here is an example table with a multirow in the first column:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -12647,7 +12649,7 @@ mm and is in a 3
 \end_inset
 
 cm wide column:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -12828,7 +12830,7 @@ arg   "newline-insert newline"
 \end_inset
 
 ) but this will not respect the cell lines as demonstrated in this table:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -13240,7 +13242,7 @@ Crystal Clear Pro
 \begin_layout Standard
 The 3-argument scheme is for example useful for cross-tables of sports leagues
  or distances:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -13463,7 +13465,7 @@ Falcons
 \begin_layout Standard
 For larger cross-tables one might use split cells in 2 or every corner of
  the table like in this example:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -13954,7 +13956,7 @@ is used.
 The necessary width of split cells is automatically calculated.
  Thus if you set a fixed column width smaller than the calculated one, the
  cell's content will protrude the cell borders:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -14179,7 +14181,7 @@ diagtest]{A}{B}
 
 \begin_layout Standard
 in the first cell:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -14280,7 +14282,7 @@ Perfect Green
 Note that the split cell needs to be the widest one in the column.
  Otherwise the length of the diagonal line cannot be calculated correctly
  like in this table:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -14395,7 +14397,7 @@ tabcolsep because the cell width is now the width of the column.
 \end_inset
 
 cm is used:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -14548,7 +14550,7 @@ Ctrl+Return
 \end_inset
 
 
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -24645,7 +24647,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 +24691,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
@@ -30934,19 +30934,27 @@ sideways false
 status open
 
 \begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
+\noindent
+\align center
+\begin_inset Box Boxed
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
 
 \begin_layout Plain Layout
-
-
-\backslash
-framebox{
-\end_layout
-
-\end_inset
-
-
 \begin_inset Graphics
        filename clipart/without_fntright.pdf
        width 100col%
@@ -30955,12 +30963,6 @@ framebox{
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
 \end_layout
 
 \end_inset
@@ -30999,19 +31001,27 @@ sideways false
 status open
 
 \begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
+\noindent
+\align center
+\begin_inset Box Boxed
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
 
 \begin_layout Plain Layout
-
-
-\backslash
-framebox{
-\end_layout
-
-\end_inset
-
-
 \begin_inset Graphics
        filename clipart/with_fntright.pdf
        width 100col%
@@ -31020,12 +31030,6 @@ framebox{
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
 \end_layout
 
 \end_inset
@@ -31139,33 +31143,35 @@ sideways false
 status open
 
 \begin_layout Plain Layout
+\noindent
 \align center
-\begin_inset ERT
-status collapsed
+\begin_inset Box Boxed
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
 
 \begin_layout Plain Layout
-
-
-\backslash
-framebox{
-\end_layout
-
-\end_inset
-
-
 \begin_inset Graphics
        filename clipart/endnotes.pdf
+       width 100col%
        scaleBeforeRotation
 
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
 \end_layout
 
 \end_inset
@@ -33146,7 +33152,7 @@ Inner
 Box
 \family default
 , you can align the box content horizontally in the box dialog.
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -34165,7 +34171,7 @@ Boxes ! Parboxes
 \begin_layout Standard
 Parboxes are very similar to minipages with the difference that they cannot
  have footnotes.
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -36580,7 +36586,7 @@ reference "sec:Wrap-Floats"
 \end_inset
 
  have these positions in the paragraph:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -37705,7 +37711,7 @@ No optional argument, the initial is the letter 'I' in the math font
 \end_inset
 
 :
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
 \begin_layout Enumerate
 Only one line is surrounding the initial, which is formed by two letters
  in standard font and no text is printed in small caps:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -37917,7 +37923,7 @@ white
 usepackage{color}}{}
 \series default
 
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -38215,67 +38221,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 ~
@@ -38664,8 +38609,136 @@ 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 images created with the program
+\begin_inset CommandInset href
+LatexCommand href
+name "Inkscape"
+target "https://en.wikipedia.org/wiki/Inkscape"
+
+\end_inset
+
+.
+ It 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.
+\end_layout
+
+\begin_deeper
+\begin_layout Standard
+
+\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
+
+.
+\end_layout
+
+\begin_deeper
+\begin_layout Standard
+
+\change_inserted 227574939 1473131628
+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.
+\end_layout
+
+\end_deeper
+\end_deeper
 \begin_layout Standard
 \begin_inset Float table
 placement !h
@@ -38694,12 +38767,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
@@ -38715,18 +38787,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
@@ -38762,15 +38822,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
@@ -38806,15 +38857,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">
@@ -38844,15 +38886,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">
@@ -39104,7 +39137,7 @@ Note:
 \begin_layout Description
 Input This method is very similar to the Include method.
  The differences are:
-\begin_inset Separator parbreak
+\begin_inset Separator latexpar
 \end_inset
 
 
@@ -39216,7 +39249,7 @@ Text
 Here is a child document inserted as Verbatim: 
 \begin_inset CommandInset include
 LatexCommand verbatiminput
-filename "DUMMYT~1.TXT"
+filename "DummyTextDocument.txt"
 
 \end_inset
 
@@ -39231,7 +39264,7 @@ Mark spaces in output
  option: 
 \begin_inset CommandInset include
 LatexCommand verbatiminput*
-filename "DUMMYT~1.TXT"
+filename "DummyTextDocument.txt"
 
 \end_inset