Your message dated Tue, 26 Jul 2011 13:00:23 +0200
with message-id <[email protected]>
has caused the report #635491,
regarding texlive-latex-extra: ucshyper check for PDF mode buggy and not
necessary anyway
to be marked as having been forwarded to the upstream software
author(s) [email protected]
(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.)
--
635491: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635491
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Hi,
(Please keep [email protected] in the CC list when replying).
ucshyper.sty tries (buggily) to disable itself when (la)tex is not run
in PDF output mode. But ucshyper works like a charm when producing a
DVI meant for post-processing with dvipdfm (and hyperref loaded with
hdvipdfm driver). I have only tested it with pdf(la)tex running in DVI
output mode, but I expect "plain" (la)tex would work just as well.
Patch attached. Assumes e-tex (uses \ifdefined). I assume this is OK.
I disabled the loading of hyperref, so that the user can choose hir
hyperref driver freely; instead a call to \hypersetup{unicode=true},
and hence a requirement that ucshyper be loaded *after* hyperref.
What would be your thoughts about upgrading the warnings (or maybe one
of them) to errors?
ucshyper.sty is in directory Master/texmf-dist/tex/latex/ucs
--
Lionel
--- /usr/share/texmf-texlive/tex/latex/ucs/ucshyper.sty 2006-01-13 01:10:12.000000000 +0100
+++ ucshyper.sty 2011-07-26 12:47:40.000000000 +0200
@@ -7,19 +7,29 @@
%% ucs.dtx (with options: `ucshyper.sty')
%%
%% Copyright 2001 Dominique Unruh <[email protected]>
+%% Changed directly (not through ucs.dtx)in 2011 by
+%% Lionel Elie Mamane <[email protected]>
+%% to allow use with .tex -> .dvi -> .pdf toolchain
+%% with latex and dvipdfm, using hyperref's hdvipdfm driver.
%%
%% This program is provided under the terms of the LaTeX Project Public
%% License with some modifications.
%% See the file LICENSE (http://www.unruh.de/DniQ/latex/unicode/content/LICENSE)
%% for information.
%%
-\ProvidesPackage{ucshyper}[2002/03/05
+\ProvidesPackage{ucshyper}[2011/07/26
UCS: Unicode in Hyperref's PDF bookmarks]%
-\ifx\pdfoutput\undefined
- \PackageWarning{ucshyper}{ucshyper needs to be run with
- pdflatex.\MessageBreak Disabling functionality}%
+\ifdefined\PrerenderUnicode\else%
+\PackageWarning{ucshyper}{ucshyper needs to be run with
+ inputenc utf8x.\MessageBreak Disabling functionality}%
\expandafter\endinput\fi
-\RequirePackage[pdftex,unicode]{hyperref}
+\ifdefined\hypersetup%
+ \hypersetup{unicode=true}%
+\else%
+ \PackageWarning{ucshyper}{ucshyper needs to be loaded after
+ hyperref.\MessageBreak Disabling functionality}%
+ \expandafter\endinput%
+\fi%
\newif\ifucshyper@prerender\ucshyper@prerendertrue
\newif\ifucshyper@direct\ucshyper@directtrue
\DeclareOption{nodirect}{\ucshyper@directfalse}%
--- End Message ---