soul package doesn't work with diacritical marks

Bug #334491 reported by Marek Jancuska
4
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>
                \par
l.31 \st{č}

? R
OK, entering \nonstopmode...
! Missing \endcsname inserted.
<to be read again>
                   \par
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.2-1ubuntu1
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/username/bin:/home/username/programs/work-stealing/MPS/bin/Linux:/home/username/bin:/home/username/programs/work-stealing/MPS/bin/Linux
 LANG=en_US.UTF-8
 LANGUAGE=
SourcePackage: texlive-extra
Uname: Linux 2.6.27-11-generic i686

Tags: apport-bug
Revision history for this message
Marek Jancuska (marek-jancuska) wrote :
Revision history for this message
Marek Jancuska (marek-jancuska) wrote :

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.

Revision history for this message
Marek Jancuska (marek-jancuska) wrote :

I found out that the problem is related to using utf8 encoding. When I use \usepackage[latin2]{inputenc}, everything goes ok. (so this is another workaround)

Anders (eddiedog988)
Changed in texlive-extra (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.