From 9c3c9806a9e66618a2ec65e68c1e4af2bcca4f05 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sun, 22 Jan 2012 20:00:19 +0000 Subject: [PATCH] Backport fix for bug #5906 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40654 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/tex2lyx/tex2lyx.1in | 17 ++++++----------- status.20x | 2 ++ 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/tex2lyx/tex2lyx.1in b/src/tex2lyx/tex2lyx.1in index 028f10c906..1ac5161efb 100644 --- a/src/tex2lyx/tex2lyx.1in +++ b/src/tex2lyx/tex2lyx.1in @@ -34,6 +34,11 @@ creates a file of textclass \*[lq]foo\*[rq] and reads the LyX layout file for th (something like /usr/local/share/lyx/layouts/foo.layout \s-1OR\s0 \fB\s-1HOME\s0\fR/.lyx/layouts/foo.layout). Use \fB\-c\fR to declare a different textclass (and read a different layout file). +.IP "" +This option is needed if the input file is a LaTeX fragment, with no preamble +matter or \f(CW\ebegin{document}\fR command. LyX files created by +\fBtex2lyx\fR from partial files can be included in an existing LyX file using +the \*[lq]Include LyX File\*[rq] command from LyX's Insert menu. .TP .BI \-f Force. \fBtex2lyx\fR will not run if the .lyx file it would generate already exists. @@ -44,16 +49,6 @@ Noweb. Translate a noweb (aka literate programming) file. This should be (almost?) equivalent to running \*[lq]noweb2lyx foo.tex foo.lyx\*[rq]. This option requires the \fB\-c\fR option. .\" .TP -.\" .BI \-p -.\" Partial file. The input files are LaTeX fragments, with no preamble matter or -.\" \f(CW\ebegin{document}\fR commands. This option requires the \fB\-c\fR option, since there -.\" are no \f(CW\edocumentclass\fR commands in the files \fBtex2lyx\fR is translating. When -.\" using this option, you can translate more than one file, as long as all files -.\" are the same class. The LyX file created by \fBtex2lyx\fR can be included in an -.\" existing LyX file using the \*[lq]Include LyX File\*[rq] command from -.\" LyX's Insert menu. (\fBNOTE\fR: this feature of the older \fBreLyX\fR script has -.\" not yet been implemented in \fBtex2lyx\fR). -.\" .TP .\" .BI \-r .\" Regular environments (see the section on \fISyntax Files\fR). If you give more than one .\" environment, separate them with commas (not spaces). You'll probably need to @@ -120,7 +115,7 @@ Run \fBtex2lyx\fR. you don't want any output at all, try (in csh) `tex2lyx foo.tex >& /dev/null'. You should \s-1NOT\s0 redirect standard output to \fIfoo.lyx\fR. .IP "\(bu" 4 -Run LyX (version 1.6 or later) on the resulting .lyx file. +Run LyX (version 2.1 or later) on the resulting .lyx file. .IP "" In theory, most of the file will have been translated, and anything that's untranslatable will be transferred to TeX code (ERT in LyX-speak). In theory, LyX will be diff --git a/status.20x b/status.20x index d5cfd3bb28..23e382e93c 100644 --- a/status.20x +++ b/status.20x @@ -216,6 +216,8 @@ What's new - Fixed example file modernCV.lyx: corrected subsection example, added a separator, set the page size to A4 (bug 7991). +- Update tex2lyx man page regarding partial documents (bug 5906). + * ADVANCED FIND AND REPLACE -- 2.39.5