diff options
Diffstat (limited to 'test/writer.latex')
-rw-r--r-- | test/writer.latex | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/test/writer.latex b/test/writer.latex index f88621a28..207e30569 100644 --- a/test/writer.latex +++ b/test/writer.latex @@ -17,6 +17,12 @@ \usepackage[]{microtype} \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts }{} +\IfFileExists{parskip.sty}{% +\usepackage{parskip} +}{% else +\setlength{\parindent}{0pt} +\setlength{\parskip}{6pt plus 2pt minus 1pt} +} \PassOptionsToPackage{hyphens}{url} % url is loaded by hyperref \usepackage{fancyvrb} \usepackage[unicode=true]{hyperref} @@ -39,12 +45,6 @@ \usepackage[normalem]{ulem} % avoid problems with \sout in headers with hyperref: \pdfstringdefDisableCommands{\renewcommand{\sout}{}} -\IfFileExists{parskip.sty}{% -\usepackage{parskip} -}{% else -\setlength{\parindent}{0pt} -\setlength{\parskip}{6pt plus 2pt minus 1pt} -} \setlength{\emergencystretch}{3em} % prevent overfull lines \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} @@ -877,10 +877,6 @@ Just a \href{/url/}{URL}. Foo \href{/url/}{bar}. -Foo \href{/url/}{bar}. - -Foo \href{/url/}{bar}. - With \href{/url/}{embedded {[}brackets{]}}. \href{/url/}{b} by itself should be a link. |