Hello,

When I write som block of code with apostrophes, these are transformed by 
pdflatex to backquotes.
For example, this asciidoc block:

*[source,bash]*
*-----*
*awk '{print $1}'*
*-----*


Gets transformed to:
*awk ’{print $1}’*

Which I cannot copy/paste to a terminal without generating errors.

I know how to correct that as soon as I have the .tex file, but I would 
like to know how to correct this directly from asciidoc.

In .tex file, I add "upquote=true" like this:

*\begin{lstlisting}[language=bash,firstnumber=1,upquote=true,]*
*awk '{print $1}'*
*\end{lstlisting}*


Does anyone know how to add the upquote option directly from asciidoc? This 
would be really great!

Thanks a lot for any help.

Regards,

Joseph

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to