soul package doesn't work with diacritical marks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LyX |
New
|
Undecided
|
Unassigned | ||
texlive-extra (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Commands from soul package don't work if their argument contains diacritical marks. For example, if a LaTeX file contains \st{č}, i get the following error message:
! Argument of \UTFviii@two@octets has an extra }.
<inserted text>
l.31 \st{č}
? R
OK, entering \nonstopmode...
! Missing \endcsname inserted.
<to be read again>
l.31 \st{č}
The control sequence marked <to be read again> should
not appear between \csname and \endcsname.
! Package inputenc Error: Unicode char \u8:�\endcsname not set up for use with
LaTeX.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...
l.31 \st{č}
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
! Package inputenc Error: Unicode char \u8:�\the not set up for use with LaTeX.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...
l.31 \st{č}
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
! Missing { inserted.
<to be read again>
l.31 \st{č}
A left brace was mandatory here, so I've put one in.
You might want to delete and/or insert some corrections
so that I will find a matching right brace soon.
(If you're confused by all this, try typing `I}' now.)
! Package inputenc Error: Unicode char \u8:�\null not set up for use with LaTeX
.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...
l.31 \st{č}
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
! Package soul Error: Reconstruction failed.
See the soul package documentation for explanation.
Type H <return> for immediate help.
...
l.31 \st{č}
I came across hyphenatable material enclosed in group braces,
which I can't handle. Either drop the braces or make the material
unbreakable using an \mbox (\hbox). Note that a space
also counts as possible hyphenation point. See page 4 of the manual.
I'm leaving a black square so that you can see where I am right now.
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: texlive-latex-extra 2007.dfsg.
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
PATH=/
LANG=en_US.UTF-8
LANGUAGE=
SourcePackage: texlive-extra
Uname: Linux 2.6.27-11-generic i686
Changed in texlive-extra (Ubuntu): | |
status: | New → Confirmed |
This bug makes "change tracking" feature of LyX unusable, because LyX uses \st{} to highlight deleted text.
A workaround is to add \def\st#1{#1} in the LaTeX preamble.