From d7e5c303d21a97eb701b05e7920de23bd8ef02a6 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Wed, 17 Oct 2012 20:44:28 -0400 Subject: [PATCH] Additional.lyx: references to knitr & Sweave doc Add references to the knitr.lyx example file and to the Sweave manual. Also correct a couple of typos. --- lib/doc/Additional.lyx | 55 +++++++++++++++++++++++++++++++++++------- 1 file changed, 46 insertions(+), 9 deletions(-) diff --git a/lib/doc/Additional.lyx b/lib/doc/Additional.lyx index 4404d03daf..95ad9aa127 100644 --- a/lib/doc/Additional.lyx +++ b/lib/doc/Additional.lyx @@ -122,11 +122,12 @@ End \papercolumns 1 \papersides 2 \paperpagestyle headings -\tracking_changes false +\tracking_changes true \output_changes false \html_math_output 0 \html_css_as_file 0 \html_be_strict true +\author 1835761398 "scott,,," \end_header \begin_body @@ -21388,6 +21389,10 @@ Starting from there you can reach many other interesting links and even \begin_layout Subsection LyX and Literate Programming +\change_inserted 1835761398 1350520576 + with Noweb +\change_unchanged + \end_layout \begin_layout Standard @@ -21545,9 +21550,13 @@ LyX should be prevented from making any special interpretation of what has \end_layout \begin_layout Standard -The down side of the Scrap paragraph layout is that consecutive paragraphs - of code will be spaced with one empty line in the source code and also - in the printed documentation. +The down +\change_deleted 1835761398 1350520593 + +\change_unchanged +side of the Scrap paragraph layout is that consecutive paragraphs of code + will be spaced with one empty line in the source code and also in the printed + documentation. The work around is to enter each line of code within a single Scrap, with a newline (ctrl-return). The example above will look like this: @@ -22215,8 +22224,11 @@ Helpers \end_layout \begin_layout Standard -I take advantage of the new created LyX server function and this ddd feature, - and set +I take advantage of the new +\change_inserted 1835761398 1350520612 +ly +\change_unchanged + created LyX server function and this ddd feature, and set \begin_inset Quotes eld \end_inset @@ -22234,9 +22246,15 @@ echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in \begin_layout Standard With this, whenever you are using ddd and find a point in the program that you want to edit, you just press shift-ctrl-V (in the ddd window), and - ddd you forward this information to LyX through the LyX server and then - the LyX window will show the same file with the cursor at the same position - ddd was pointing to. + ddd +\change_deleted 1835761398 1350520625 +you +\change_inserted 1835761398 1350520626 +will +\change_unchanged + forward this information to LyX through the LyX server and then the LyX + window will show the same file with the cursor at the same position ddd + was pointing to. No more guessing or long scrolling to locate a point in the program back from debugging ! \end_layout @@ -22442,7 +22460,26 @@ The next thing is the visible presence of the newline character in the screen. I recommend you choosing a color that is close to the background but not equal, that way you still can see it is there, but it is not bothering you anymore. + +\change_deleted 1835761398 1350520662 +\change_inserted 1835761398 1350520663 + +\end_layout + +\begin_layout Subsection + +\change_inserted 1835761398 1350520763 +LyX and knitr/Sweave +\end_layout + +\begin_layout Standard + +\change_inserted 1835761398 1350520764 +Support for knitr and Sweave is documented in the knitr.lyx example file + and in the Sweave manual (in the Help > Specific Manuals submenu). +\change_unchanged + \end_layout \begin_layout Chapter -- 2.39.5