On Mon, Sep 25, 2017 at 10:24:47PM +0000, Bruce Momjian wrote:
> I am using LyX 2.1.2 on Ubuntu 14.04.
> 
> If I enter this:
> 
>        ab'c de`f
> 
> in "Standard" mode I get PDF output with proper left/right single
> quotes.  However, if I switch to LyX-Code mode for that text, I get as
> PDF output:
> 
>       ab'c de'f

Testing on 2.1.0 and on 2.3.0dev, I get the following as PDF output:

  ab’c de‘f

which is different from what you get, but also not what you want.

> This is a problem for text of shell scripts.  I the want backticks
> because backtick means 'execute' in the shell.
> 
> What I have done instead to get literal backticks output is to use a
> TeX Code URT (Ugly Red Text) block inside the "LyX-Code mode" block and
> used \char18, which properly outputs the backtick.
> 
> Is this expected behavior?  Is that the recommended solution for this?

I have not seen a report of this, but I haven't seen an indication that
a lot of people are using LyX-Code, so I'm not sure if is known.

Scott

Attachment: signature.asc
Description: PGP signature

Reply via email to