Package: db2latex-xsl Version: 0.8pre1-5 Severity: normal Hi,
in a lang="de" book, consider a pattern like this:
"123" abc
db2latex-xsl seems to copy this to the output, causing LaTeX to create
an A-Umlaut (Ã).
See the attached example.
Thanks for considering.
bye,
Roland
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_GB.UTF-8)
-- no debconf information
umlaut.xml
Description: application/xml
% ------------------------------------------------------------
% Autogenerated LaTeX file for books
% ------------------------------------------------------------
\ifx\pdfoutput\undefined
\documentclass[,a4paper,10pt,twoside,openright,]{report}
\else
\documentclass[pdftex,,a4paper,10pt,twoside,openright,]{report}
\fi
\label{id2425233}\usepackage{ifthen}
% --------------------------------------------
% Check for PDFLaTeX/LaTeX
% --------------------------------------------
\newif\ifpdf
\ifx\pdfoutput\undefined
\pdffalse % we are not running PDFLaTeX
\else
\pdfoutput=1 % we are running PDFLaTeX
\pdftrue
\fi
% --------------------------------------------
% Load graphicx package with pdf if needed
% --------------------------------------------
\ifpdf
\usepackage[pdftex]{graphicx}
\pdfcompresslevel=9
\else
\usepackage{graphicx}
\fi
\usepackage{anysize}
\marginsize{3cm}{2cm}{1.25cm}{1.25cm}
\makeatletter
% redefine the listoffigures and listoftables so that the name of the chapter
% is printed whenever there are figures or tables from that chapter. encourage
% pagebreak prior to the name of the chapter (discourage orphans).
\let\save@@[EMAIL PROTECTED]
\let\save@@[EMAIL PROTECTED]@figure
[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]@@chapter[{#1}]{#2}%
[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]
}
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL
PROTECTED]
[EMAIL PROTECTED]@figure
\makeatother
\usepackage{fancyhdr}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
% Safeguard against long headers.
\IfFileExists{truncate.sty}{
\usepackage{truncate}
% Use an ellipsis when text would be larger than x% of the text width.
% Preserve left/right text alignment using \hfill (works for English).
\fancyhead[ol]{\truncate{0.49\textwidth}{\sl\leftmark}}
\fancyhead[er]{\truncate{0.49\textwidth}{\hfill\sl\rightmark}}
\fancyhead[el]{\truncate{0.49\textwidth}{\sl\leftmark}}
\fancyhead[or]{\truncate{0.49\textwidth}{\hfill\sl\rightmark}}
}{\typeout{WARNING: truncate.sty wasn't available and functionality was
skipped.}}
\pagestyle{fancy}
% ----------------------
% Most Common Packages
% ----------------------
\usepackage{latexsym}
\usepackage{enumerate}
\usepackage{fancybox}
\usepackage{float}
\usepackage{ragged2e}
\usepackage{fancyvrb}
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]
\fvset{obeytabs=true,tabsize=3}
\makeatletter
[EMAIL PROTECTED]@endcenter\endcenter
[EMAIL PROTECTED]@ \parsep\parskip [EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]
\makeatother
\usepackage{rotating}
\usepackage{subfigure}
\usepackage{tabularx}
\usepackage{url}
% --------------------------------------------
% Math support
% --------------------------------------------
\usepackage{amsmath,amsthm, amsfonts, amssymb, amsxtra,amsopn}
%\newtheorem{thm}{Theorem}[section]
%\newtheorem{cor}[section]{Corollary}
%\newtheorem{lem}[section]{Lemma}
%\newtheorem{defn}[section]{Definition}
%\newtheorem{prop}[section]{Proposition}
%\newtheorem{ax}{Axiom}
%\newtheorem{theorem}[section]{Theorem}
%\newtheorem{corollary}{Corollary}
%\newtheorem{lemma}{Lemma}
%\newtheorem{proposition}{Proposition}
%\theoremstyle{definition}
%\newtheorem{definition}{Definition}
%\theoremstyle{remark}
%\newtheorem{rem}{Remark}
%\newtheorem*{notation}{Notation}
%\newcommand{\ntt}{\normalfont\ttfamily}
%\newcommand{\thmref}[1]{Theorem~\ref{#1}}
%\newcommand{\secref}[1]{\S\ref{#1}}
%\newcommand{\lemref}[1]{Lemma~\ref{#1}}
\newcommand{\bysame}{\mbox{\rule{3em}{.4pt}}\,}
\newcommand{\A}{\mathcal{A}}
\newcommand{\B}{\mathcal{B}}
\newcommand{\XcY}{{(X,Y)}}
\newcommand{\SX}{{S_X}}
\newcommand{\SY}{{S_Y}}
\newcommand{\SXY}{{S_{X,Y}}}
\newcommand{\SXgYy}{{S_{X|Y}(y)}}
\newcommand{\Cw}[1]{{\hat C_#1(X|Y)}}
\newcommand{\G}{{G(X|Y)}}
\newcommand{\PY}{{P_{\mathcal{Y}}}}
\newcommand{\X}{\mathcal{X}}
\newcommand{\wt}{\widetilde}
\newcommand{\wh}{\widehat}
% --------------------------------------------
%\DeclareMathOperator{\per}{per}
\DeclareMathOperator{\cov}{cov}
\DeclareMathOperator{\non}{non}
\DeclareMathOperator{\cf}{cf}
\DeclareMathOperator{\add}{add}
\DeclareMathOperator{\Cham}{Cham}
\DeclareMathOperator{\IM}{Im}
\DeclareMathOperator{\esssup}{ess\,sup}
\DeclareMathOperator{\meas}{meas}
\DeclareMathOperator{\seg}{seg}
% --------------------------------------------
% ---------------
% Document Font
% ---------------
\usepackage{palatino}
% --------------------------------------------
% Load hyperref package with pdf if needed
% --------------------------------------------
\ifpdf
\usepackage[pdftex,bookmarksnumbered,colorlinks,backref,bookmarks,breaklinks,linktocpage,plainpages=false,pdfstartview=FitH]{hyperref}
\else
\usepackage[bookmarksnumbered,colorlinks,backref,bookmarks,breaklinks,linktocpage,plainpages=false,]{hyperref}
\fi
% --------------------------------------------
% ----------------------------------------------
% Define a new LaTeX environment (adminipage)
% ----------------------------------------------
\newenvironment{admminipage}%
{ % this code corresponds to the \begin{adminipage} command
\begin{Sbox}%
\begin{minipage}%
} %done
{ % this code corresponds to the \end{adminipage} command
\end{minipage}
\end{Sbox}
\fbox{\TheSbox}
} %done
% ----------------------------------------------
% Define a new LaTeX length (admlength)
% ----------------------------------------------
\newlength{\admlength}
% ----------------------------------------------
% Define a new LaTeX environment (admonition)
% With 2 parameters:
% #1 The file (e.g. note.pdf)
% #2 The caption
% ----------------------------------------------
\newenvironment{admonition}[2]
{ % this code corresponds to the \begin{admonition} command
\hspace{0mm}\newline\hspace*\fill\newline
\noindent
\setlength{\fboxsep}{5pt}
\setlength{\admlength}{\linewidth}
\addtolength{\admlength}{-10\fboxsep}
\addtolength{\admlength}{-10\fboxrule}
\admminipage{\admlength}
{\bfseries \sc\large{#2}} \newline
\\[1mm]
\sffamily
\includegraphics[width=1cm]{#1}
\addtolength{\admlength}{-1cm}
\addtolength{\admlength}{-20pt}
\begin{minipage}[lt]{\admlength}
\parskip=0.5\baselineskip \advance\parskip by 0pt plus 2pt
} %done
{ % this code corresponds to the \end{admonition} command
\vspace{5mm}
\end{minipage}
\endadmminipage
\vspace{.5em}
\par
}
% --------------------------------------------
% Commands to manage/style/create floats
% figures, tables, algorithms, examples, eqn
% --------------------------------------------
\floatstyle{ruled}
\restylefloat{figure}
\floatstyle{ruled}
\restylefloat{table}
\floatstyle{ruled}
\newfloat{program}{ht}{lop}[section]
\floatstyle{ruled}
\newfloat{example}{ht}{loe}[section]
\floatname{example}{Beispiel}
\floatstyle{ruled}
\newfloat{dbequation}{ht}{loe}[section]
[EMAIL PROTECTED]
\floatname{dbequation}{Gleichung}
\floatstyle{boxed}
\newfloat{algorithm}{ht}{loa}[section]
\floatname{algorithm}{Algorithm}
\ifpdf
\DeclareGraphicsExtensions{.pdf,.png,.jpg}
\else
\DeclareGraphicsExtensions{.eps}
\fi
% --------------------------------------------
% $latex.caption.swapskip enabled for $formal.title.placement support
\newlength{\docbooktolatextempskip}
\newcommand{\captionswapskip}{\setlength{\docbooktolatextempskip}{\abovecaptionskip}\setlength{\abovecaptionskip}{\belowcaptionskip}\setlength{\belowcaptionskip}{\docbooktolatextempskip}}
\usepackage[ngerman]{babel}
% Guard against a problem with old package versions.
\makeatletter
\AtBeginDocument{
[EMAIL PROTECTED]
[EMAIL PROTECTED]
}
\makeatother
% --------------------------------------------
\makeatletter
\newcommand{\dbz}{\penalty [EMAIL PROTECTED]
\newcommand{\docbooktolatexpipe}{\ensuremath{|}\dbz}
\newskip\docbooktolatexoldparskip
\newcommand{\docbooktolatexnoparskip}{\docbooktolatexoldparskip=\parskip\parskip=0pt
plus 1pt}
\newcommand{\docbooktolatexrestoreparskip}{\parskip=\docbooktolatexoldparskip}
[EMAIL PROTECTED] [EMAIL PROTECTED]@twocolumn\hbox{}\newpage\fi\fi\fi}
\usepackage[latin1]{inputenc}
[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]@makeschapterhead
[EMAIL PROTECTED]@makeschapterhead{#1}}
[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]
% Facilitate use of \cite with \label
\newcommand{\docbooktolatexbibaux}[2]{%
[EMAIL PROTECTED]@[EMAIL PROTECTED]@#1}{#2}}
}
% Provide support for bibliography `subsection' environments with titles
\newenvironment{docbooktolatexbibliography}[3]{
\begingroup
\let\save@@chapter\chapter
\let\save@@section\section
\let\save@@@[EMAIL PROTECTED]
\let\save@@bibname\bibname
\let\save@@refname\refname
[EMAIL PROTECTED]@gobbletwo
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]@tempb
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\let\bibname\relax
\else
\let\chapter#2
\let\section#2
[EMAIL PROTECTED]
\fi
\let\refname\bibname
\begin{thebibliography}{#1}
}{
\end{thebibliography}
\let\chapter\save@@chapter
\let\section\save@@section
[EMAIL PROTECTED]@@@mkboth
\let\bibname\save@@bibname
\let\refname\save@@refname
\endgroup
}
%\usepackage{cite}
%\renewcommand\citeleft{(} % parentheses around list
%\renewcommand\citeright{)} % parentheses around list
\newcommand{\docbooktolatexcite}[2]{%
[EMAIL PROTECTED]@#1}%
{\cite{#1}}%
[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]@#1}}%
[EMAIL PROTECTED]@#1}}%
\fi%
}%
}
\newcommand{\docbooktolatexbackcite}[1]{%
[EMAIL PROTECTED]@undefined\else%
[EMAIL PROTECTED]@#1}{%
% emit warning?
}{%
[EMAIL PROTECTED]
\PackageInfo{backref}{back cite \string`#1\string' as [EMAIL
PROTECTED]@#1}\string'}%
\fi%
[EMAIL PROTECTED]@[EMAIL PROTECTED]
}%
\fi%
}
% --------------------------------------------
% A way to honour <footnoteref>s
% Blame j-devenish (at) users.sourceforge.net
% In any other LaTeX context, this would probably go into a style file.
[EMAIL PROTECTED]@[EMAIL PROTECTED]@#1}%
[EMAIL PROTECTED] ?}}%
[EMAIL PROTECTED]@warning{Footnote label `#1' was not defined}}%
[EMAIL PROTECTED]@[EMAIL PROTECTED]@#1}}}
\newcommand{\docbooktolatexmakefootnoteref}[1]{%
[EMAIL PROTECTED]@auxout{}%
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED] ?}}}%
}
% index labeling helper
\newif\ifdocbooktolatexprintindex\docbooktolatexprintindextrue
\let\dbtolatex@@theindex\theindex
\let\dbtolatex@@endtheindex\endtheindex
\def\theindex{\relax}
\def\endtheindex{\relax}
\newenvironment{dbtolatexindex}[1]
{
[EMAIL PROTECTED]
\let\dbtolatex@@indexname\indexname
[EMAIL PROTECTED]
\ifnum [EMAIL PROTECTED] >[EMAIL PROTECTED] \refstepcounter{chapter}\fi%
\label{#1}\hypertarget{#1}{\dbtolatex@@indexname}%
\global\docbooktolatexprintindexfalse}
[EMAIL PROTECTED]@@indexname\fi}
\dbtolatex@@theindex
}
{
\dbtolatex@@endtheindex\let\indexname\dbtolatex@@indexname
}
\newlength\saveparskip \newlength\saveparindent
\newlength\tempparskip \newlength\tempparindent
[EMAIL PROTECTED]
% Prevent multiple openings of the same aux file
% (happens when backref is used with multiple bibliography environments)
\ifx\AfterBeginDocument\undefined\let\AfterBeginDocument\AtBeginDocument\fi
\AfterBeginDocument{
\let\latex@@[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]@aux#1}{%
[EMAIL PROTECTED]@aux#1}{}%
\latex@@starttoc{#1}%
}{}
}
}
% --------------------------------------------
% Hacks for honouring row/entry/@align
% (\hspace not effective when in paragraph mode)
% Naming convention for these macros is:
% 'docbooktolatex' 'align' {alignment-type} {position-within-entry}
% where r = right, l = left, c = centre
[EMAIL PROTECTED]@@[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\newcommand{\docbooktolatexalignrl}{\protect\ifvmode\raggedleft\else\hfill\fi}
\newcommand{\docbooktolatexalignrr}{}
[EMAIL PROTECTED]
\makeatother
\title{}
\author{}
% --------------------------------------------
\makeindex
\makeglossary
% --------------------------------------------
\setcounter{tocdepth}{4}
\setcounter{secnumdepth}{4}
\begin{document}
\InputIfFileExists{title}{\typeout{WARNING: Using cover page
title}}{\maketitle\pagestyle{fancy}
\thispagestyle{empty}}
% -------------------------------------------------------------
% Chapter A Chapter
% -------------------------------------------------------------
\chapter{A Chapter}
\label{id2494921}\hypertarget{id2494921}{}%
% ------------------------
% Section
\section{A Section}
\label{id2455180}\hypertarget{id2455180}{}%
"123" abc
\end{document}
umlaut.pdf
Description: Adobe PDF document

