Verbatim and quotes

Enrico Forestieri forenr at lyx.org
Tue Feb 9 10:39:59 UTC 2021


On Tue, Feb 09, 2021 at 04:42:26PM +1300, Andrew Parsloe wrote:
> At present (LyX 2.4 alpha1 on windows 10) the grave ` and the single
> straight quote ' (apostrophe) produce "curly" left  and right quote marks 
> in a verbatim environment when compiled to pdf. I would expect them to be
> preserved as grave and straight quote. I can get grave and straight quote by
> adding \usepackage{upquote} to the preamble -- which is simple enough to do
> (now that I know of it), but is the current "curly" output the right one?

I don't know what is the "right" output, but the attached document
produces the same exact output since lyx version 1.3. So, if something
changed, it was in changed in latex.

-- 
Enrico
-------------- next part --------------
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard
\noindent 

\begin_inset ERT
status Open

\layout Standard

\backslash 
begin{verbatim}
\layout Standard
a`'b
\layout Standard

\backslash 
end{verbatim}
\end_inset 


\the_end


More information about the lyx-devel mailing list