www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - [TDPL] Will TDPL LaTeX class/template be accessible?

reply Philippe Sigaud <philippe.sigaud gmail.com> writes:
Hi,

I quite like the layout of TDPL, it's nice and clean, particularly the color
version that Andrei used for sample chapters. IIRC, it's done as a LaTeX
(pdfTex?) template that Andrei developed.
The fact that your editor chose to use it directly is also a proof of its
quality [*]

Andrei, I think you had plans to release it somehow, so that we could use it
to generate D docs? With the apparition of nice new tex editors like TeXWorks
or LateX Lab, I'm interested in diving into TeX again. Do you think you could
make the classes or templates you used accessible? The B&W as well as the
color version?


Philippe

[*] What? flattery?
Jun 26 2010
parent reply Adrian Matoga <epi atari8.info> writes:
Philippe Sigaud pisze:
 Hi,
 
 I quite like the layout of TDPL, it's nice and clean, particularly the color
 version that Andrei used for sample chapters. IIRC, it's done as a LaTeX
 (pdfTex?) template that Andrei developed.
 The fact that your editor chose to use it directly is also a proof of its
 quality [*]
 
 Andrei, I think you had plans to release it somehow, so that we could use it
 to generate D docs? With the apparition of nice new tex editors like TeXWorks
 or LateX Lab, I'm interested in diving into TeX again. Do you think you could
 make the classes or templates you used accessible? The B&W as well as the
 color version?
 
 
 Philippe
 
 [*] What? flattery?

I don't know which one was used by Andrei, but you can try Pygments: http://pygments.org/ I used it for several languages (including D) with LaTeX output and it worked very well. There are many color schemas available, including B&W.
Jun 26 2010
next sibling parent "Nick Sabalausky" <a a.a> writes:
"Adrian Matoga" <epi atari8.info> wrote in message 
news:i05bmq$1jpi$1 digitalmars.com...
 Philippe Sigaud pisze:
 Hi,

 I quite like the layout of TDPL, it's nice and clean, particularly the 
 color
 version that Andrei used for sample chapters. IIRC, it's done as a LaTeX
 (pdfTex?) template that Andrei developed.
 The fact that your editor chose to use it directly is also a proof of its
 quality [*]

 Andrei, I think you had plans to release it somehow, so that we could use 
 it
 to generate D docs? With the apparition of nice new tex editors like 
 TeXWorks
 or LateX Lab, I'm interested in diving into TeX again. Do you think you 
 could
 make the classes or templates you used accessible? The B&W as well as the
 color version?


 Philippe

 [*] What? flattery?

I don't know which one was used by Andrei, but you can try Pygments:

Andrei mentioned at one point that he developed his own. ------------------------------- Not sent from an iPhone.
Jun 26 2010
prev sibling parent Philippe Sigaud <philippe.sigaud gmail.com> writes:
--0016e6d7dfefda25530489f4a962
Content-Type: text/plain; charset=ISO-8859-1

On Sat, Jun 26, 2010 at 19:53, Nick Sabalausky <a a.a> wrote:

 "Adrian Matoga" <epi atari8.info> wrote in message

pygment is nice to color source code and then paste the resulting latex code into a document, but what I'm asking there is not so much the way Andrei highlighted D code in TDPL (though that would be nice to know) as much as getting my hands on the way the entire book is formatted. Oh, and the way he did the diagrams in the array chapter. Philippe --0016e6d7dfefda25530489f4a962 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div class=3D"gmail_quote">On Sat, Jun 26, 2010 at 19:53, Nick Sabalausky <= span dir=3D"ltr">&lt;a a.a&gt;</span> wrote:<br><blockquote class=3D"gmail_= quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, = 204, 204); padding-left: 1ex;"> &quot;Adrian Matoga&quot; &lt;<a href=3D"mailto:epi atari8.info">epi atari8= .info</a>&gt; wrote in message<br></blockquote><div><br>pygment is nice to = color source code and then paste the resulting latex code into a document, = but what I&#39;m asking there is not so much the way Andrei highlighted D c= ode in TDPL (though that would be nice to know) as much as getting my hands= on the way the entire book is formatted.<br> <br>Oh, and the way he did the diagrams in the array chapter.<br><br><br>Ph= ilippe<br><br><br></div></div> --0016e6d7dfefda25530489f4a962--
Jun 26 2010