From 94077ca2eeefb4f7784b6b97879793085e50849e Mon Sep 17 00:00:00 2001 From: jpc Date: Sun, 27 Aug 2017 14:38:25 +0200 Subject: [PATCH] Copy new documentation of Insksscape external material in localized files and remove change tracking --- lib/doc/Changelog-EmbeddedObjects-LyX_23x.txt | 4 +- lib/doc/EmbeddedObjects.lyx | 122 ++---------------- lib/doc/es/EmbeddedObjects.lyx | 107 +++++++++------ lib/doc/fr/EmbeddedObjects.lyx | 95 ++++++++++---- lib/doc/ja/EmbeddedObjects.lyx | 104 ++++++++++----- 5 files changed, 230 insertions(+), 202 deletions(-) diff --git a/lib/doc/Changelog-EmbeddedObjects-LyX_23x.txt b/lib/doc/Changelog-EmbeddedObjects-LyX_23x.txt index 8a5763e00d..55e1f33044 100644 --- a/lib/doc/Changelog-EmbeddedObjects-LyX_23x.txt +++ b/lib/doc/Changelog-EmbeddedObjects-LyX_23x.txt @@ -5,10 +5,12 @@ Modified: first step: - sec. 1.2: changed image captions and labels - sec. 3.4.1: new paragraphs -- sec. 7.1: new description item for Inkscape drawings - sec. 8: new support for the LaTeX package minted - bibliography: new entry for Inkscape +second step +- sec 7.1: new description item for Inkscape drawings + For LyX 2.2.3: diff --git a/lib/doc/EmbeddedObjects.lyx b/lib/doc/EmbeddedObjects.lyx index 9a4275f52a..ea91162c3a 100644 --- a/lib/doc/EmbeddedObjects.lyx +++ b/lib/doc/EmbeddedObjects.lyx @@ -233,12 +233,11 @@ graphicboxes \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 -712698321 "Jürgen Spitzmüller" \end_header \begin_body @@ -293,7 +292,7 @@ author: Uwe Stöhr \family sans -Version 2.2.x +Version 2.3.x \end_layout \begin_layout Standard @@ -39674,39 +39673,11 @@ Inkscape \begin_inset space ~ \end_inset -figure This -\change_deleted -712698321 1503821681 -experimental -\change_unchanged -template supports -\change_inserted -712698321 1503822606 - specific scalable images derived from -\change_unchanged - -\change_inserted -712698321 1503821702 -scalable -\change_unchanged -vector graphics (SVG) -\change_deleted -712698321 1503822531 - images -\change_inserted -712698321 1503822543 -, in which the contained text -\change_unchanged - -\change_deleted -712698321 1503821741 -that contain text written in -\change_inserted -712698321 1503821781 -is replaced by a version typeset by -\change_unchanged - \SpecialChar LaTeX - -\change_inserted -712698321 1503821796 - (and hence in the current document font) -\change_unchanged -. - It relies on -\change_inserted -712698321 1503823562 -a feature of the program +figure This template supports specific scalable images derived from scalable + vector graphics (SVG), in which the contained text is replaced by a version + typeset by \SpecialChar LaTeX + (and hence in the current document font). + It relies on a feature of the program \series bold \begin_inset CommandInset href @@ -39724,46 +39695,13 @@ literal "false" \noun on Inkscape \noun default - itself, the feature is available via -\change_unchanged -the option + itself, the feature is available via the option \family sans Omit text in PDF and create LaTeX file \family default - when saving a drawing as PDF -\change_inserted -712698321 1503823315 -) -\change_deleted -712698321 1503822441 - with the program -\noun on -Inkscape -\noun default -, -\begin_inset CommandInset citation -LatexCommand cite -key "Inkscape" -literal "false" - -\end_inset - - -\change_unchanged -. - -\change_deleted -712698321 1503821818 -This allows to include SVG documents in which \SpecialChar LaTeX - will typeset the text. - -\change_unchanged -The benefit of such -\change_deleted -712698321 1503822559 -SVG -\change_inserted -712698321 1503823315 -file -\change_unchanged -s is a uniform text style throughout the whole document. -\change_inserted -712698321 1503823315 - + when saving a drawing as PDF). + The benefit of such files is a uniform text style throughout the whole + document. \begin_inset Newline newline \end_inset @@ -39806,25 +39744,11 @@ reference "sec:Child-Documents" \end_inset ) rather than using this template. -\change_unchanged - \begin_inset Newline newline \end_inset - -\change_deleted -712698321 1503822044 -One -\change_inserted -712698321 1503823315 -You -\change_unchanged - can use \SpecialChar TeX - code commands -\change_deleted -712698321 1503822051 -like -\change_inserted -712698321 1503823315 -such as -\change_unchanged - +You can use \SpecialChar TeX + code commands such as \series bold \backslash @@ -39843,13 +39767,7 @@ small in the text of the SVG. The size of the font will be taken from the settings of the \SpecialChar LyX document. - -\change_inserted -712698321 1503823315 -Please r -\change_deleted -712698321 1503822079 -R -\change_unchanged -efer to + Please refer to \begin_inset CommandInset citation LatexCommand cite key "Inkscape" @@ -39870,18 +39788,6 @@ Insert\SpecialChar menuseparator Preview \family default ) gives a better result. -\change_deleted -712698321 1503823118 - -\begin_inset Newline newline -\end_inset - -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. -\change_unchanged - \end_layout \begin_layout Description diff --git a/lib/doc/es/EmbeddedObjects.lyx b/lib/doc/es/EmbeddedObjects.lyx index c2b160a70d..95e81aa466 100644 --- a/lib/doc/es/EmbeddedObjects.lyx +++ b/lib/doc/es/EmbeddedObjects.lyx @@ -307,7 +307,7 @@ Traducción de: Ignacio García \family sans -Versión 2.2.x +Versión 2.3.x \end_layout \begin_layout Standard @@ -39329,39 +39329,82 @@ Figura Inkscape \lang english -This experimental template supports vector graphics (SVG) images that contain - text written in \SpecialChar LaTeX -. - It relies on the optio -\lang spanish -n -\family sans -Omitir texto en PDF y crear archivo LaTeX -\family default -\lang english -when saving a drawing as PDF with the program -\noun on -Inkscape -\noun default -, -\begin_inset CommandInset citation -LatexCommand cite -key "Inkscape" +This template supports specific scalable images derived from scalable vector + graphics (SVG), in which the contained text is replaced by a version typeset + by \SpecialChar LaTeX + (and hence in the current document font). + It relies on a feature of the program +\series bold + +\begin_inset CommandInset href +LatexCommand href +name "Inkscape" +target "https://inkscape.org/" literal "false" \end_inset -. - 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 - and one can use \SpecialChar TeX - code commands in the text of the SVG. + +\series default + which creates a special PDF and \SpecialChar LaTeX + file from a given SVG file (in +\noun on +Inkscape +\noun default + itself, the feature is available via the option +\family sans +Omit text in PDF and create LaTeX file +\family default + when saving a drawing as PDF). + The benefit of such files is a uniform text style throughout the whole + document. \begin_inset Newline newline \end_inset -One can use \SpecialChar TeX - code commands like +The external template reads SVG files and uses a converter program to generate + the respective PDF and \SpecialChar LaTeX + files (via +\noun on + +\noun default +Inkscape +\noun on +) +\noun default + on the fly, so you don't have to export those files yourself. + If you prefer the latter and want use given +\family typewriter +*.pdf +\family default + and +\family typewriter +*.pdf_tex +\family default + files instead, simply input the respective +\family typewriter +*.pdf_tex +\family default + file via the +\family sans +Child Documents +\family default + dialog (see sec. +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:Child-Documents" + +\end_inset + +) rather than using this template. +\begin_inset Newline newline +\end_inset + +You can use \SpecialChar TeX + code commands such as \series bold \backslash @@ -39380,7 +39423,7 @@ small in the text of the SVG. The size of the font will be taken from the settings of the \SpecialChar LyX document. - Refer to + Please refer to \begin_inset CommandInset citation LatexCommand cite key "Inkscape" @@ -39401,14 +39444,6 @@ Insert\SpecialChar menuseparator Preview \family default ) gives a better result. -\begin_inset Newline newline -\end_inset - -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 \begin_layout Description diff --git a/lib/doc/fr/EmbeddedObjects.lyx b/lib/doc/fr/EmbeddedObjects.lyx index 19b0db4696..7cf7cf7b21 100644 --- a/lib/doc/fr/EmbeddedObjects.lyx +++ b/lib/doc/fr/EmbeddedObjects.lyx @@ -40376,35 +40376,83 @@ Figure \begin_inset space ~ \end_inset -Inkscape supporte (expérimentalement) les images graphiques vectorielles - SVG contenant du texte écrit en \SpecialChar LaTeX +Inkscape supporte les images graphiques vectorielles SVG contenant du texte + écrit en \SpecialChar LaTeX . - Il repose sur l'option -\family sans -Exclure le texte du fichier PDF, et créer un fichier LaTeX -\family default -lorsqu'on enregistre un dessin avec le programme -\noun on -Inkscape -\noun default -, -\begin_inset CommandInset citation -LatexCommand cite -key "Inkscape" + Il repose sur une fonctionnalité du programme +\series bold + +\begin_inset CommandInset href +LatexCommand href +name "Inkscape" +target "https://inkscape.org/" literal "false" \end_inset -. - Ceci permet d’inclure des documents SVG dans lesquels \SpecialChar LaTeX - assurera la typographie - du texte. - L'avantage de ces SVG est d'assurer l'uniformité du style dans le document, - et il est possible de saisir du code \SpecialChar TeX + +\series default + qui crée un fichier PDF et un fichier \SpecialChar LaTeX + particulier à partir d'un fichier + SVG donné (depuis +\noun on +Inkscape +\noun default +, la fonctionnalité est disponible via l'option +\family sans +Exclure le texte du fichier PDF et créer un fichier LaTeX +\family default +lorsqu'on enregistre un dessin en tant que PDF). + L'avantage de ces fichiers est d'assurer l'uniformité du style dans le + document, et il est possible de saisir du code \SpecialChar TeX dans le texte du SVG. \begin_inset Newline newline \end_inset +Le modèle lit les fichiers SVG et utilise un convertisseur pour engendrer + les fichiers PDF et \SpecialChar LaTeX + (via +\noun on + +\noun default +Inkscape +\noun on +) +\noun default + à la volée, vous n'avez donc pas à exporter ces fichiers vous-mêmes. + Si vous préférez cette dernière solution, et voulez utiliser les fichiers + donnés +\family typewriter +*.pdf +\family default + et +\family typewriter +*.pdf_tex +\family default + à la place, saisissez simplement le nom des fichiers via le menu +\family sans +Insertion\SpecialChar menuseparator +Fichier\SpecialChar menuseparator +Sous-document +\family default + (voir sec. +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:Sous-documents" +plural "false" +caps "false" +noprefix "false" + +\end_inset + +) plutôt que d'utiliser ce modèle. +\begin_inset Newline newline +\end_inset + Il est possible d'utiliser les commandes du code TeX comme \series bold @@ -40448,10 +40496,7 @@ Aperçu \begin_inset Newline newline \end_inset -Le modèle fonctionne comme dans le cas d'un objet externe Xfig. - \SpecialChar LyX - va extraire le texte de l'image dans un fichier séparé et créer un fichier - PDF pour le reste. + \end_layout \begin_layout Description @@ -41367,7 +41412,7 @@ Note: \begin_layout Standard Si vous ne voulez visualiser ou exporter que certains des sous-documents de votre document maître, que ce soit pour diminuer les temps de compilation - ou parceque vous voulez distribuer des chapitres isolés d'un livre que + ou parce que vous voulez distribuer des chapitres isolés d'un livre que vous êtes en train d'écrire, vous pouvez exclure des sous-documents de la sortie en utilisant le menu \family sans diff --git a/lib/doc/ja/EmbeddedObjects.lyx b/lib/doc/ja/EmbeddedObjects.lyx index 928700b21f..647ac51391 100644 --- a/lib/doc/ja/EmbeddedObjects.lyx +++ b/lib/doc/ja/EmbeddedObjects.lyx @@ -343,7 +343,7 @@ status collapsed \family sans -第2.2.x版 +第2.3.x版 \end_layout \begin_layout Standard @@ -37255,36 +37255,84 @@ spreadsheet.lyx \end_layout \begin_layout Description -Inkscape -\lang english -This experimental template supports vector graphics (SVG) images that contain - text written in \SpecialChar LaTeX -. - 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" +\lang english + This template supports specific scalable images derived from scalable vector + graphics (SVG), in which the contained text is replaced by a version typeset + by \SpecialChar LaTeX + (and hence in the current document font). + It relies on a feature of the program +\series bold + +\begin_inset CommandInset href +LatexCommand href +name "Inkscape" +target "https://inkscape.org/" literal "false" \end_inset -. - 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 + +\series default + which creates a special PDF and \SpecialChar LaTeX + file from a given SVG file (in +\noun on +Inkscape +\noun default + itself, the feature is available via the option +\family sans +Omit text in PDF and create LaTeX file +\family default + when saving a drawing as PDF). + The benefit of such files is a uniform text style throughout the whole + document. \begin_inset Newline newline \end_inset -One can use \SpecialChar TeX - code commands like +The external template reads SVG files and uses a converter program to generate + the respective PDF and \SpecialChar LaTeX + files (via +\noun on + +\noun default +Inkscape +\noun on +) +\noun default + on the fly, so you don't have to export those files yourself. + If you prefer the latter and want use given +\family typewriter +*.pdf +\family default + and +\family typewriter +*.pdf_tex +\family default + files instead, simply input the respective +\family typewriter +*.pdf_tex +\family default + file via the +\family sans +Child Documents +\family default + dialog (see sec. +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:Child-Documents" + +\end_inset + +) rather than using this template. +\begin_inset Newline newline +\end_inset + +You can use \SpecialChar TeX + code commands such as \series bold \backslash @@ -37303,7 +37351,7 @@ small in the text of the SVG. The size of the font will be taken from the settings of the \SpecialChar LyX document. - Refer to + Please refer to \begin_inset CommandInset citation LatexCommand cite key "Inkscape" @@ -37324,14 +37372,6 @@ Insert\SpecialChar menuseparator Preview \family default ) gives a better result. -\begin_inset Newline newline -\end_inset - -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 \begin_layout Description