2 Nov 2007 10:24
latex writer should include hyperref only at the end [ docutils-Bugs-1822272 ]
G. Milde <milde <at> users.berlios.de>
2007-11-02 09:24:30 GMT
2007-11-02 09:24:30 GMT
As there is IMO quite a lot to discuss here, I'd like to transfer this to the devel list. > Bugs item #1822272, was opened at 2007-10-29 18:36 > The problem is, hyperref is included before many extensions, among which the one that the user may specify using the --stylesheet command-line option. > This is highly likely to trigger incompatibilities. > Comment By: Nicolas Girard (ngirard) Date: 2007-11-01 16:35 > > there are two problems :: > > 1. the writer needs to read latex which might give new errors > Well, which ones ? Given the question > "Does the 'user stylesheet' s include hyperref", > isn't the answer as straightforward as: > 1. executing "kpathsea s" to locate the stylesheet file > 2. opening the stylesheet file > 3. looking for a line containing "\usepackage" or "\RequirePackage" and > "hyperref", regardless of the comments IMO, this is too complicated, I like the clear distinction of rst->tex conversion (which works also without LaTeX installed) and tex->pdf done independently (and maybe on a different computer). > > A solution to this problem might be to have a default docutils latex > > style file that can be *replaced* by user-specific one [...] See also > > latex2e_external_stylesheet__ for a proposal of such a latex writer(Continue reading)
RSS Feed