Your message dated Sun, 8 Nov 2009 19:28:08 +0100
with message-id <[email protected]>
and subject line Re: Bug#531992: lyx: Does not wrap or format hyperlinks
has caused the Debian Bug report #531992,
regarding lyx: Does not wrap or format hyperlinks
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
531992: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531992
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lyx
Version: 1.6.2-1
Severity: normal

When inserting a web link, LyX will not take care to wrap it or format it some other way in the resulting document. In effect, in the pdf document the link will cross
the boundary of the the text area.

Example of the problem in the attached lyx file and the resulting pdf.


-- System Information:
Debian Release: squeeze/sid
 APT prefers unstable
APT policy: (650, 'unstable'), (600, 'testing'), (500, 'oldstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-rc5-02044-ga4d7749 (SMP w/2 CPU cores; PREEMPT)
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-16 regular expression library for C++ ii libboost-signals1.34.1 1.34.1-16 managed signals and slots library
ii  libc6                  2.9-13            GNU C Library: Shared libraries
ii  libgcc1                1:4.4.0-5         GCC support library
ii  libqtcore4             4.5.1-2           Qt 4 core module
ii  libqtgui4              4.5.1-2           Qt 4 GUI module
ii  libstdc++6             4.4.0-5           The GNU Standard C++ Library v3
ii  libx11-6               2:1.2.1-1         X11 client-side library
ii lyx-common 1.6.2-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-13 compression library - runtime

Versions of packages lyx recommends:
ii acroread [pdf-viewer] 9.1.1-0.0 Adobe Acrobat Reader: Portable Doc ii dvipng 1.11-1 convert DVI files to PNG graphics ii ghostscript 8.64~dfsg-1.1 The GPL Ghostscript PostScript/PDF
ii  imagemagick               7:6.5.1.0-1.1  image manipulation programs
ii  kghostview [pdf-viewer]   4:3.5.9-3      PostScript viewer for KDE
ii latex-xft-fonts 0.1-8 Xft-compatible versions of some La
ii  okular [pdf-viewer]       4:4.2.4-1      document viewer for KDE 4
ii poppler-utils 0.10.6-1 PDF utilitites (based on libpopple 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-recommended 2007.dfsg.2-4  TeX Live: Recommended fonts
ii texlive-latex-extra 2007.dfsg.17-2 TeX Live: LaTeX supplementary pack ii texlive-latex-recommended 2007.dfsg.2-4 TeX Live: LaTeX recommended packag

Versions of packages lyx suggests:
pn  chktex         <none>                    (no description available)
ii cups-bsd [lpr] 1.3.10-2 Common UNIX Printing System(tm) - ii cups-client 1.3.10-2 Common UNIX Printing System(tm) -
ii  dillo [www-bro 0.8.6-3                   Small and fast web browser
pn  dvipost        <none>                    (no description available)
pn  gnuhtml2latex  <none>                    (no description available)
ii groff 1.18.1.1-22 GNU troff text-formatting system ii iceweasel [www 3.0.9-1 lightweight web browser based on M ii konqueror [www 4:4.2.4-1 KDE 4's advanced file manager, web
ii  latex2html     2002-2-1-20050114-6       LaTeX to HTML translator
pn  latex2rtf      <none>                    (no description available)
pn  libtiff-tools  <none>                    (no description available)
pn  linuxdoc-tools <none>                    (no description available)
ii menu 2.1.41 generates programs menu for all me
pn  noweb          <none>                    (no description available)
ii  opera [www-bro 10.00.4402.gcc4.qt3       The Opera Web Browser
ii  rcs            5.7-24                    The GNU Revision Control System
ii sgmltools-lite 3.0.3.0.cvs.20010909-15.1 convert DocBook SGML source into H ii tex4ht 20090521-1 LaTeX and TeX for Hypertext (HTML) ii w3m [www-brows 0.5.2-2+b1 WWW browsable pager with excellent
pn  writer2latex   <none>                    (no description available)
ii wv 1.2.4-2 Programs for accessing Microsoft W

-- no debconf information

Attachment: link.lyx
Description: application/lyx

Attachment: link.pdf
Description: Adobe PDF document


--- End Message ---
--- Begin Message ---
> On Sun, Jun 28, 2009 at 12:17:00PM +0200, Alex Dănilă wrote:

Hi,

> > thank you for the attention. I was actually curios why the "Break
> > links" option does not give the effect.
> > I confirm, the Tex file contains "breaklinks=true" but the pdf does
> > not wrap the link.

Ok after all this is not a bug in LyX but a general limitation about the
how and when LaTeX is able to break lines. Kudos to Uwe Stöhr who took
some time to take a look and explain it.

In general LaTeX can only break on spaces and "-". The general seperator
to signal LaTeX where it can break words, "\-", cannot be used in Hyperlinks.
You can use some "\\" magic in the Hyperlink names to force a line break or
use ERTs with \href.

An example document from Uwe is attached. Hope that helps.

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]

Attachment: link-breakurl.lyx
Description: application/lyx


--- End Message ---

Reply via email to