I have created and attached a simple example showing the error.

[If this is a double-post, I apologize. I have subscribed to the lyx-user maillist as the first posting did not appear to work]


Yihui Xie wrote:
Could you attach a minimal real *.lyx file? I do not understand what
"pseudo-html markup" means.

Yihui Xie <xieyi...@gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA

On Mon, Nov 12, 2012 at 7:26 PM, Mark <mark.dalp...@pacificedge.co.nz> wrote:

Running lyx, version 2.0.5, built from source today.
Host system is (old): kubuntu 8.04

I am writing an in-house document which shows how to use "Sweave". This means I
want to both show the "Sweave" code and then the results of the Sweave code
being run. This has worked in the distant past (lyx version 1.4?) but as I
update the document now, I am having problems.

In my example below, I use pseudo-html markup to show the Lyx paragraph types.

<Lyx-code> paragraph:
    print( toLatex( sessionInfo() ))

<chunk> paragraph:
print( toLatex( sessionInfo() ))

This works fine (as expected) except that the AT-sign, '@', in the lyx-code
paragraph gets "eaten" and does not show up in the output. I can circumvent the
problem by adding a thin-space in front of the '@', however, it implies that I
need to know when characters will be eaten. I don't know the "rules" yet.

If I use the File --> Export --> LaTeX (plain) option, there is no '@' in the
tex file.



    Mark Dalphin Ph.D.

Director of Bioinformatics

mark.dalp...@pacificedge.co.nz <mailto:mark.dalp...@pacificedge.co.nz>
*Ph:* +64-3-479-5805
*Cell:* +64-21-156-7625
*Skype:* mark.dalphin.pel

87 St David St, PO Box 56, Dunedin, New Zealand 9016www.pacificedge.co.nz

Attachment: simpleExample.lyx
Description: application/lyx

<<attachment: mark_dalphin.vcf>>

Reply via email to