www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9376] New: Improve LaTeX -> PDF generation for the language spec

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9376

           Summary: Improve LaTeX -> PDF generation for the language spec
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: andrei erdani.com



PST ---
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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 22 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9376




PST ---
This looks mechanical but may actually be quite challenging. Requires good
command of both ddoc and latex.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 22 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9376


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla digitalmars.com



01:44:41 PST ---
This is marked as a DMD issue, but shouldn't it be a 'websites' issue?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 23 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9376


Andrei Alexandrescu <andrei erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|DMD                         |websites



PST ---
OK, changed the tag. Hopefully the issue doesn't get hidden by anyone's
filters.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 23 2013