[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] Re: producing PDF documentation
From: |
Stephan Hennig |
Subject: |
[Help-glpk] Re: producing PDF documentation |
Date: |
Sat, 01 Nov 2008 15:05:08 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 |
[posted through gmane.org, CC Robbie Morrison, Andrew Makhorin]
Robbie Morrison schrieb:
> The 'pdflatex' method gives the best quality output.
> The resultant PDF is also seachable using Adobe
> 'acroread' with the following qualification: the
> various TeX ligatures, such as "fi", are not understood
> by 'acroread' -- which means that "specified" will fail
> but that "speci" works fine.
The attached patch makes ligatures searchable in pdflatex output.
Tested with
Windows XP
Adobe Reader 9.0.0
pdflatex 3.1415926-1.40.9 (MiKTeX 2.7)
and the following LaTeX packages:
*File List*
ifpdf.sty 2007/12/12 v1.6 Provides the ifpdf switch (HO)
cmap.sty 2008/03/06 v1.0h CMap support: searchable PDF
report.cls 2005/09/16 v1.4f Standard LaTeX document class
size11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
omscmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
***********
> Version information:
>
> pdflatex : pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4)
>
> This email follows up an similar posting on 22-May-2008.
Where you gave the additional information that you're using a teTeX
distribution shipped with Ubuntu. The preferred TeX distribution for
unix-flavoured operating systems is TeX Live, nowadays. A fresh
edition---TeX Live 2008---has recently been released. teTeX is horribly
outdated and no longer maintained. It might contain an older cmap.sty
package, that can break DVI compilation.
Best regards,
Stephan Hennig
PS: What about replacing glpk.ps by glpk.pdf, given that
* nowadays, PDF provides better accessibility than PS,
* pdfTeX is known to produce very good (compatible) PDF code,
* hyper link, outline, PDF meta data, and XMP data support can be easily
added for PDF output,
* PDF size is around 260 kB smaller than PS size,
* ...
--- glpk.tex 2008-10-30 10:00:00.000000000 +0100
+++ glpk-2.tex 2008-11-01 14:23:10.328125000 +0100
@@ -21,6 +21,10 @@
% along with GLPK. If not, see <http://www.gnu.org/licenses/>.
%***********************************************************************
+\RequirePackage{ifpdf}
+\ifpdf
+\RequirePackage{cmap}% Improve PDF text search.
+\fi
\documentclass[11pt,draft]{report}
\begin{document}