[Pkg-lyx-devel] Bug#516020: lyx: latex package hyperref seems to interfere with LyX's coding of mixed Hebrew / English documents

Celejar celejar at gmail.com
Wed Feb 18 21:15:42 UTC 2009


Package: lyx
Version: 1.6.1-1
Severity: normal

I can create a document with mixed Hebrew / English text, including mixed text
in footnotes.  Adding a hyperlink (anywhere in the document), which cause LyX
to therefore includes the hyperref package, somehow causes the resulting latex
to be interpreted incorrectly, causing English text to be output as Hebrew (and
causing some '\L' sequences to be incorrectly output literally).

I'm a latex newbie, so I can't figure out exactly what's happening, but after
much troubleshooting, I've narrowed down my problem to the above.  I'm
attaching these test files:

lyx-no-color.lyx - a LyX file that behaves correctly
lyx-no-color.tex - the corresponding latex output
lyx-bad-hyperlink.lyx - the same LyX file with a hyperlink added
lyx-bad-hyperlink.tex - the corresponding latex output

If you need them, I can send the dvi output of both files.

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-rc3-wl-lizzie
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lyx depends on:
ii  libaiksaurus-1.2-0c2a  1.2.1+dev-0.12-6  an English-language thesaurus (dev
ii  libaspell15            0.60.6-1          GNU Aspell spell-checker runtime l
ii  libboost-regex1.34.1   1.34.1-15         regular expression library for C++
ii  libboost-signals1.34.1 1.34.1-15         managed signals and slots library 
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libgcc1                1:4.3.3-4         GCC support library
ii  libqtcore4             4.4.3-2           Qt 4 core module
ii  libqtgui4              4.4.3-2           Qt 4 GUI module
ii  libstdc++6             4.3.3-4           The GNU Standard C++ Library v3
ii  libx11-6               2:1.1.5-2         X11 client-side library
ii  lyx-common             1.6.1-1           Architecture-independent files for
ii  mime-support           3.44-1            MIME files 'mime.types' & 'mailcap
ii  xdg-utils              1.0.2-6.1         desktop integration utilities from
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages lyx recommends:
ii  dvipng                 1.11-1            convert DVI files to PNG graphics
ii  evince [pdf-viewer]    2.22.2-4          Document (postscript, pdf) viewer
ii  imagemagick            7:6.3.7.9.dfsg1-3 image manipulation programs
ii  latex-xft-fonts        0.1-8             Xft-compatible versions of some La
ii  preview-latex-style    11.83-7.3         extraction of elements from LaTeX 
ii  psutils                1.17-26           A collection of PostScript documen
ii  texlive-fonts-recommen 2007.dfsg.1-5     TeX Live: Recommended fonts
ii  texlive-latex-extra    2007.dfsg.16-1    TeX Live: LaTeX supplementary pack
ii  texlive-latex-recommen 2007.dfsg.1-5     TeX Live: LaTeX recommended packag
ii  xpdf-reader [pdf-viewe 3.02-1.4          Portable Document Format (PDF) sui

Versions of packages lyx suggests:
pn  chktex                       <none>      (no description available)
ii  cups-bsd [lpr]               1.3.9-14    Common UNIX Printing System(tm) - 
ii  cups-client                  1.3.9-14    Common UNIX Printing System(tm) - 
ii  dillo [www-browser]          0.8.6-3     Small and fast web browser
pn  dvipost                      <none>      (no description available)
ii  epiphany-gecko [www-browser] 2.22.3-9    Intuitive GNOME web browser - Geck
pn  gnuhtml2latex                <none>      (no description available)
ii  groff                        1.18.1.1-21 GNU troff text-formatting system
ii  iceweasel [www-browser]      3.0.6-1     lightweight web browser based on M
pn  latex2rtf                    <none>      (no description available)
pn  libtiff-tools                <none>      (no description available)
ii  links2 [www-browser]         2.2-1       Web browser running in both graphi
pn  linuxdoc-tools               <none>      (no description available)
ii  menu                         2.1.41      generates programs menu for all me
pn  noweb                        <none>      (no description available)
pn  rcs                          <none>      (no description available)
pn  sgmltools-lite               <none>      (no description available)
ii  tex4ht                       20080701-2  LaTeX and TeX for Hypertext (HTML)
ii  w3m [www-browser]            0.5.2-2+b1  WWW browsable pager with excellent
pn  writer2latex                 <none>      (no description available)
pn  wv                           <none>      (no description available)

-- no debconf information

*** /home/yitzhak/lyx-no-color.lyx
#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\use_default_options true
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author "" 
\author "" 
\end_header

\begin_body

\begin_layout Standard
Here's some English text.
\end_layout

\begin_layout Standard

\lang hebrew
כאן יש חומר בעברית.
\begin_inset Foot
status open

\begin_layout Plain Layout

\lang hebrew
עברית 
\lang english
and English
\end_layout

\end_inset


\end_layout

\begin_layout Standard

\end_layout

\end_body
\end_document

*** /home/yitzhak/lyx-bad-hyperlink.lyx
#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\use_default_options true
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author "" 
\author "" 
\end_header

\begin_body

\begin_layout Standard
Here's some English text.
\end_layout

\begin_layout Standard

\lang hebrew
כאן יש חומר בעברית.
\begin_inset Foot
status open

\begin_layout Plain Layout

\lang hebrew
עברית 
\lang english
and English
\end_layout

\end_inset


\end_layout

\begin_layout Standard
And here's a 
\begin_inset CommandInset href
LatexCommand href
name "hyperlink"
target "example.com"

\end_inset


\end_layout

\end_body
\end_document
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lyx-no-color.tex
Type: text/x-tex
Size: 443 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-lyx-devel/attachments/20090218/38dabc69/attachment-0002.tex 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lyx-bad-hyperlink.tex
Type: text/x-tex
Size: 672 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-lyx-devel/attachments/20090218/38dabc69/attachment-0003.tex 


More information about the Pkg-lyx-devel mailing list