On Fri, Oct 06, 2017 at 01:31:49AM +0000, Scott Kostyshak wrote: > On Thu, Sep 28, 2017 at 08:48:13AM +0000, Guenter Milde wrote: > > On 2017-09-27, Bruce Momjian wrote: > > > On Wed, Sep 27, 2017 at 12:41:27PM -0400, Scott Kostyshak wrote: > > >> 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. > > > > > Actually, that would be fine output, as long as they look different. > > > > >> > 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. > > > > > OK, not sure what could be the cause then. I am using ps2pdf to produce > > > the PDF. > > > > The view in PDF depends on the selected fonts rather than export route. I > > get identic results with PDF (pdflatex) and PDF (ps2pdf). > > > > You may experiment with different fonts, as well as checking the result of > > drag-and-drop from the PDF. Here, it is > > ab'c de`f with PDF(pdflatex) and ab' de`f with PDF(ps2pdf). > > > > > What I have done as a work-around is to warn in my Makefile if a > > > backquote is used in the LyX document. > > > > Did you try with listings? > > Hi Bruce, > > I just wanted to make sure that you saw Günter's message (pasted above), > since he had a good idea, to experiment with different fonts.
Hi Bruce (I'm CC'ing you directly now), just wanted to make sure you saw Günter's message above. Scott
