mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
Load the package breakurl with hyperref in DVI output (fix bug 7033).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36861 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
221d898a32
commit
204695b878
@ -237,6 +237,7 @@
|
||||
\TestPackage{bm}
|
||||
\TestPackage{booktabs}
|
||||
\TestPackage{braille}
|
||||
\TestPackage{breakurl}
|
||||
\TestPackage{CJKutf8}
|
||||
\TestPackage{color} % this one should be there if graphics.sty is there.
|
||||
\TestPackage{covington}
|
||||
|
@ -1,4 +1,4 @@
|
||||
#LyX 1.6.7 created this file. For more info see http://www.lyx.org/
|
||||
#LyX 1.6.9svn created this file. For more info see http://www.lyx.org/
|
||||
\lyxformat 345
|
||||
\begin_document
|
||||
\begin_header
|
||||
@ -4198,6 +4198,35 @@ bibtopic
|
||||
is used to split BibTeX created bibliographies into sections.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
breakurl
|
||||
\end_layout
|
||||
|
||||
\begin_layout Description
|
||||
Found:
|
||||
\begin_inset Info
|
||||
type "package"
|
||||
arg "breakurl"
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Description
|
||||
CTAN:
|
||||
\family typewriter
|
||||
macros/latex/contrib/breakurl/
|
||||
\end_layout
|
||||
|
||||
\begin_layout Description
|
||||
Notes: The package
|
||||
\family sans
|
||||
breakurl
|
||||
\family default
|
||||
assures that url's are correctly broken at the end of lines with DVI output
|
||||
when hyperref is used.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
CJKutf8
|
||||
\end_layout
|
||||
|
@ -1344,6 +1344,10 @@ bool BufferParams::writeLaTeX(odocstream & os, LaTeXFeatures & features,
|
||||
texrow.newlines(lines);
|
||||
// set back for the rest
|
||||
lyxpreamble.clear();
|
||||
// correctly break URLs with hyperref and dvi output
|
||||
if (features.runparams().flavor == OutputParams::LATEX
|
||||
&& features.isAvailable("breakurl"))
|
||||
lyxpreamble += "\\usepackage{breakurl}\n";
|
||||
}
|
||||
|
||||
// Will be surrounded by \makeatletter and \makeatother when not empty
|
||||
|
@ -52,6 +52,9 @@ What's new
|
||||
|
||||
* DOCUMENT INPUT/OUTPUT
|
||||
|
||||
- Correctly break URLs at the end of lines in DVI output when hyperref
|
||||
is used (bug 7033).
|
||||
|
||||
- Fix DVI output of the document class "letter (lettre)".
|
||||
|
||||
- Do not output PDF settings if these are disabled in the document
|
||||
|
Loading…
Reference in New Issue
Block a user