logical markup and noweb articles

2009-07-24 Thread Sam Liddicott
The logical markup module's code markup: \code{code here} works fine, unless a noweb article is selected, in which case the typewriter font runs through to the rest of the document. The other logical markup types seem to work fine. Any clues for me? (Lyx 1.6.2) Sam

Re: logical markup and noweb articles

2009-07-24 Thread Sam Liddicott
* Sam Liddicott wrote, On 24/07/09 11:13: > The logical markup module's code markup: >\code{code here} > > works fine, unless a noweb article is selected, in which case the > typewriter font runs through to the rest of the document. The other > logical markup types seem to w

Re: logical markup and noweb articles

2009-07-24 Thread Sam Liddicott
* Sam Liddicott wrote, On 24/07/09 11:13: > The logical markup module's code markup: >\code{code here} > > works fine, unless a noweb article is selected, in which case the > typewriter font runs through to the rest of the document. The other > logical markup types

noweb chunk cross references in lyx

2009-07-24 Thread Sam Liddicott
I can use an ERT: \nextchunklabel{save-handle} to define a label for a code chunk, and then refer to this from another part of the document with ERT: \subpageref{save-handle} Does/Can lyx support this more natively to avoid the ERT, but allow a new label type beginning with nw: ? Sam

lyx-code / scrap bug?

2009-07-21 Thread Sam Liddicott
Please could someone competent with Lyx 1.6.3 try this; create a literate (noweb) document and have a scrap immediately follow a lyx-code section. In the generated .nw file (in the /tmp/lyx* dir when creating a dvi preview) the file looks like this: \} \end{lyxcode} \selectlanguage{english}%

lyx-code / scrap bug?

2009-07-21 Thread Sam Liddicott
Please could someone competent with Lyx 1.6.3 try this; create a literate (noweb) document and have a scrap immediately follow a lyx-code section. In the generated .nw file (in the /tmp/lyx* dir when creating a dvi preview) the file looks like this: \} \end{lyxcode} \selectlanguage{english}%

lyx-code / scrap bug?

2009-07-21 Thread Sam Liddicott
Please could someone competent with Lyx 1.6.3 try this; create a literate (noweb) document and have a scrap immediately follow a lyx-code section. In the generated .nw file (in the /tmp/lyx* dir when creating a dvi preview) the file looks like this: \} \end{lyxcode} \selectlanguage{english}%

Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 15/07/09 21:46: On 07/15/2009 03:42 PM, Sam Liddicott wrote: My C sources aren't generated via the tex files (partly because it's not simple to get Lyx to export a tex file from a noweb document without running noweb). I really need to be able to navigate to a line

Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 16/07/09 13:51: On 07/16/2009 06:23 AM, Pavel Sanda wrote: Richard Heck wrote: So are you doing this from outside LyX with calls to the lyxserver? If so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow and stupid, but it'll work. ouch, this

Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 15/07/09 17:28: Here's what the docs say: LFUN_SERVER_GOTO_FILE_ROW * Action Sets the cursor position based on the row number of generated TeX file. * Notion This can be useful for DVI inverse-search or detection of the problematic line from LaTeX compilation. Note

Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 15/07/09 21:46: On 07/15/2009 03:42 PM, Sam Liddicott wrote: My C sources aren't generated via the tex files (partly because it's not simple to get Lyx to export a tex file from a noweb document without running noweb). I really need to be able to navigate to a line

Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 16/07/09 13:51: On 07/16/2009 06:23 AM, Pavel Sanda wrote: Richard Heck wrote: So are you doing this from outside LyX with calls to the lyxserver? If so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow and stupid, but it'll work. ouch, this

Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 15/07/09 17:28: Here's what the docs say: LFUN_SERVER_GOTO_FILE_ROW * Action Sets the cursor position based on the row number of generated TeX file. * Notion This can be useful for DVI inverse-search or detection of the problematic line from LaTeX compilation. Note

Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 15/07/09 21:46: > On 07/15/2009 03:42 PM, Sam Liddicott wrote: >> My C sources aren't generated via the tex files (partly because it's >> not simple to get Lyx to export a tex file from a noweb document >> without running noweb). >> >> I r

Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 16/07/09 13:51: > On 07/16/2009 06:23 AM, Pavel Sanda wrote: >> Richard Heck wrote: >> >>> So are you doing this from outside LyX with calls to the lyxserver? If >>> so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow >>> and stupid, but it'll work. >>>

Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 15/07/09 17:28: > Here's what the docs say: > > LFUN_SERVER_GOTO_FILE_ROW > > * Action Sets the cursor position based on the row number of generated > TeX file. > > * Notion This can be useful for DVI inverse-search or detection of the > problematic line from LaTeX

server-goto-file-row goes to line 1

2009-07-15 Thread Sam Liddicott
If I type: server-goto-file-row THISFILENAME.lyx 20 into the Lyx command buffer, it always goes to the top of the document. (I'm using Lyx 1.6.2). Am I using the command wrongly or are there other known problems that someone can comment on? Thanks Sam

Re: server-goto-file-row goes to line 1

2009-07-15 Thread Sam Liddicott
rgheck wrote: On 07/15/2009 10:25 AM, Sam Liddicott wrote: If I type: server-goto-file-row THISFILENAME.lyx 20 into the Lyx command buffer, it always goes to the top of the document. (I'm using Lyx 1.6.2). Am I using the command wrongly...? Probably. I suspect you haven't run LaTeX

server-goto-file-row goes to line 1

2009-07-15 Thread Sam Liddicott
If I type: server-goto-file-row THISFILENAME.lyx 20 into the Lyx command buffer, it always goes to the top of the document. (I'm using Lyx 1.6.2). Am I using the command wrongly or are there other known problems that someone can comment on? Thanks Sam

Re: server-goto-file-row goes to line 1

2009-07-15 Thread Sam Liddicott
rgheck wrote: On 07/15/2009 10:25 AM, Sam Liddicott wrote: If I type: server-goto-file-row THISFILENAME.lyx 20 into the Lyx command buffer, it always goes to the top of the document. (I'm using Lyx 1.6.2). Am I using the command wrongly...? Probably. I suspect you haven't run LaTeX

server-goto-file-row goes to line 1

2009-07-15 Thread Sam Liddicott
If I type: server-goto-file-row THISFILENAME.lyx 20 into the Lyx command buffer, it always goes to the top of the document. (I'm using Lyx 1.6.2). Am I using the command wrongly or are there other known problems that someone can comment on? Thanks Sam

Re: server-goto-file-row goes to line 1

2009-07-15 Thread Sam Liddicott
rgheck wrote: On 07/15/2009 10:25 AM, Sam Liddicott wrote: If I type: server-goto-file-row THISFILENAME.lyx 20 into the Lyx command buffer, it always goes to the top of the document. (I'm using Lyx 1.6.2). Am I using the command wrongly...? Probably. I suspect you haven't run LaTeX

What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
(I'm using Lyx 1.6.2) A lyx file of mine has this text (when I look inside the raw lyx file) * --8---**--8---**--8---**--8---**--8---* *\begin_layout Section The ntvfs model \end_layout \begin_layout Standard Many vfs modules may be defined, as types of share backends. \end_layout \begin_layout

Re: What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
I worked it out, it does a tex export first. Sam

Re: What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
* Sam Liddicott wrote, On 14/07/09 15:14: I worked it out, it does a tex export first. Sam And I'll bet the only reason I had trouble with notangle is because I was running on the Lyx document and not on the tex document. mumble mumble gnash gnash grr grr Sam

Portable tex export

2009-07-14 Thread Sam Liddicott
Is there a portable way to get Lyx to export the latex document in batch mode, independent of what converters the user happens to have defined? Such as might be used by a makefile running in an known environment? (I'm not too pleased about having lyx as a build dependency, but it can be used in

What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
(I'm using Lyx 1.6.2) A lyx file of mine has this text (when I look inside the raw lyx file) * --8---**--8---**--8---**--8---**--8---* *\begin_layout Section The ntvfs model \end_layout \begin_layout Standard Many vfs modules may be defined, as types of share backends. \end_layout \begin_layout

Re: What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
I worked it out, it does a tex export first. Sam

Re: What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
* Sam Liddicott wrote, On 14/07/09 15:14: I worked it out, it does a tex export first. Sam And I'll bet the only reason I had trouble with notangle is because I was running on the Lyx document and not on the tex document. mumble mumble gnash gnash grr grr Sam

Portable tex export

2009-07-14 Thread Sam Liddicott
Is there a portable way to get Lyx to export the latex document in batch mode, independent of what converters the user happens to have defined? Such as might be used by a makefile running in an known environment? (I'm not too pleased about having lyx as a build dependency, but it can be used in

What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
(I'm using Lyx 1.6.2) A lyx file of mine has this text (when I look inside the raw lyx file) * --8<---**--8<---**--8<---**--8<---**--8<---* *\begin_layout Section The ntvfs model \end_layout \begin_layout Standard Many vfs modules may be defined, as types of share backends. \end_layout

Re: What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
I worked it out, it does a tex export first. Sam

Re: What does lyx munge about the file format to the convertors?

2009-07-14 Thread Sam Liddicott
* Sam Liddicott wrote, On 14/07/09 15:14: > I worked it out, it does a tex export first. > > Sam And I'll bet the only reason I had trouble with notangle is because I was running on the Lyx document and not on the tex document. mumble mumble gnash gnash grr grr Sam

Portable tex export

2009-07-14 Thread Sam Liddicott
Is there a portable way to get Lyx to export the latex document in batch mode, independent of what converters the user happens to have defined? Such as might be used by a makefile running in an known environment? (I'm not too pleased about having lyx as a build dependency, but it can be used in

Re: Using Lyx with Noweb help offered

2009-07-11 Thread Sam Liddicott
Fri Jul 10 2009 4:29:44 pm BST BSTfrom Paul A. Rubin ru...@msu.eduSubject: Re: Using Lyx with Noweb help offered Sam Liddicott wrote: * Paul A. Rubin wrote, On 09/07/09 20:40: Probably better to post it on the wiki (http://wiki.lyx.org/pmwiki.php) -- it would be easier

Re: Using Lyx with Noweb help offered

2009-07-11 Thread Sam Liddicott
Fri Jul 10 2009 4:29:44 pm BST BSTfrom Paul A. Rubin ru...@msu.eduSubject: Re: Using Lyx with Noweb help offered Sam Liddicott wrote: * Paul A. Rubin wrote, On 09/07/09 20:40: Probably better to post it on the wiki (http://wiki.lyx.org/pmwiki.php) -- it would be easier

Re: Using Lyx with Noweb help offered

2009-07-11 Thread Sam Liddicott
> Fri Jul 10 2009 4:29:44 pm BST BSTfrom "Paul A. Rubin" ><ru...@msu.edu>Subject: Re: Using Lyx with Noweb help offered > > Sam Liddicott wrote: > >>* Paul A. Rubin wrote, On 09/07/09 20:40: >> >>>Probably better to

Re: Using Lyx with Noweb help offered

2009-07-10 Thread Sam Liddicott
* Paul A. Rubin wrote, On 09/07/09 20:40: Probably better to post it on the wiki (http://wiki.lyx.org/pmwiki.php) -- it would be easier to find (and keep up to date) there. I've made a page at http://wiki.lyx.org/Tools/Noweb but I can't upload the files because I don't have a password or

Re: Using Lyx with Noweb help offered

2009-07-10 Thread Sam Liddicott
* Paul A. Rubin wrote, On 09/07/09 20:40: Probably better to post it on the wiki (http://wiki.lyx.org/pmwiki.php) -- it would be easier to find (and keep up to date) there. I've made a page at http://wiki.lyx.org/Tools/Noweb but I can't upload the files because I don't have a password or

Re: Using Lyx with Noweb help offered

2009-07-10 Thread Sam Liddicott
* Paul A. Rubin wrote, On 09/07/09 20:40: > Probably better to post it on the wiki (http://wiki.lyx.org/pmwiki.php) > -- it would be easier to find (and keep up to date) there. I've made a page at http://wiki.lyx.org/Tools/Noweb but I can't upload the files because I don't have a password or

Using Lyx with Noweb help offered

2009-07-09 Thread Sam Liddicott
I've had a dreadful job getting noweb 2.11b and Lyx 2.6.2 to work together nicely. My pain does make me if anyone uses Lyx with noweb recently. I now have a Lyx 2.6.2 document which talks about how to get it working, requiring various changes to Lyx's noweave filters, and some awk to fixup the

Using Lyx with Noweb help offered

2009-07-09 Thread Sam Liddicott
I've had a dreadful job getting noweb 2.11b and Lyx 2.6.2 to work together nicely. My pain does make me if anyone uses Lyx with noweb recently. I now have a Lyx 2.6.2 document which talks about how to get it working, requiring various changes to Lyx's noweave filters, and some awk to fixup the

Using Lyx with Noweb help offered

2009-07-09 Thread Sam Liddicott
I've had a dreadful job getting noweb 2.11b and Lyx 2.6.2 to work together nicely. My pain does make me if anyone uses Lyx with noweb recently. I now have a Lyx 2.6.2 document which talks about how to get it working, requiring various changes to Lyx's noweave filters, and some awk to fixup the

<    1   2   3