Bug 9376 – Improve LaTeX -> PDF generation for the language spec
Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-01-22T23:12:29Z
Last change time
2019-12-17T17:58:40Z
Keywords
preapproved
Assigned to
No Owner
Creator
Andrei Alexandrescu
Comments
Comment #0 by andrei — 2013-01-22T23:12:29Z
I just made PDF generation via LaTeX work. To build the PDF, go to the d-programming-language.org project on github and run
make LATEST=2.061 `pwd`/web/dlangspec.pdf
Compilation proceeds without error, however the generated PDF has a lot of issues. A few the come to mind:
* there are still quite a few hardcoded HTML tags in source that need to be replaced with macros. Warning, the section headers should be bumped by one, e.g. <h2>xyz</h2> becomes $(H3 xyz).
* tables need a fair amount of tuning and adjustment
* a lot of code is in bold $(B xyz), but should be $(D xyz).
* Probably some HTML escapes &xyz; are still hiding somewhere
* Need to use the new ESCAPES macro recently introduced
Comment #1 by andrei — 2013-01-22T23:13:12Z
This looks mechanical but may actually be quite challenging. Requires good command of both ddoc and latex.
Comment #2 by bugzilla — 2013-01-23T01:44:41Z
This is marked as a DMD issue, but shouldn't it be a 'websites' issue?
Comment #3 by andrei — 2013-01-23T04:57:43Z
OK, changed the tag. Hopefully the issue doesn't get hidden by anyone's filters.
Comment #4 by bugzilla — 2019-12-17T17:58:40Z
Skimming though the pages it looks to me, like this has been addressed meanwhile...