Package: dblatex
Version: 0.2.9-3

        dblatex puts double quotes into the intermediate `.tex' file as
        if these are not ``active'' characters, like:

\begin{lstlisting}[firstnumber=1,escapeinside={<:}{:>},]
$ <:\textbf{\textbf{echo} "\textbackslash{}"Hello, world!\textbackslash{}""}:>
"Hello, world!"
$ 
  \end{lstlisting}

        This works well for, e. g., English documents, but fails for
        Russian ones, since `babel' makes the double quote character
        active (as per babel.pdf, table 28 on page 247,
        texlive-latex-base-doc, 2007.dfsg.1-5.)

        I've attached a couple of trivial examples that show the problem
        -- one results in the example typeset fine, and the other
        results in missing double quotes in the example.

        I guess, there could be a problem with << and >> (in, e. g.,
        Shell code examples), too.

-- 
FSF associate member #7257
% -----------------------------------------  
% Autogenerated LaTeX file from XML DocBook  
% -----------------------------------------  
%%<params>
%%</params>
\documentclass{article}
\usepackage{ifxetex}
\ifxetex
\usepackage{fontspec}
\usepackage{xltxtra}
\setmainfont{DejaVu Serif}
\setsansfont{DejaVu Sans}
\else
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\fi
\usepackage{fancybox}
\usepackage{makeidx}
\usepackage[hyperlink]{docbook}
\renewcommand{\DBKreleaseinfo}{}
\setcounter{tocdepth}{5}
\setcounter{secnumdepth}{5}
\title{}
\author{}
\hypersetup{%
pdfcreator={DBLaTeX-0.2.9-3},%
pdftitle={},%
pdfauthor={}%
}
% ------------------
% Collaborators
% ------------------
\renewcommand{\DBKindexation}{
\begin{DBKindtable}
\DBKinditem{\writtenby}{}
\end{DBKindtable}
}
\makeindex
\makeglossary
\begin{document}
\frontmatter
\maketitle
\tableofcontents
\mainmatter

An example of using \textbf{different}  \emph{markup}.
 

\begin{lstlisting}[firstnumber=1,escapeinside={<:}{:>},]
$ <:\textbf{\textbf{echo} "\textbackslash{}"Hello, world!\textbackslash{}""}:>
"Hello, world!"
$ 
  \end{lstlisting}

\end{document}

Attachment: russian-2009-04-26.xml
Description: XML document

Reply via email to