Re: Updating ddoc to support modern HTML tags

2015-04-27 Thread Andrei Alexandrescu via Digitalmars-d
On 4/26/15 12:56 PM, Stewart Gordon wrote: On 26/04/2015 03:58, Andrei Alexandrescu wrote: On 4/25/15 5:41 PM, Stewart Gordon wrote: Even then, I wasn't able to do it perfectly. Has anybody tried to use Ddoc to generate (for example) LaTeX, RTF, XML or JSON output, for that matter? LaTeX i

Re: Updating ddoc to support modern HTML tags

2015-04-27 Thread Kagamin via Digitalmars-d
On Monday, 20 April 2015 at 19:42:43 UTC, Gary Willoughby wrote: I've just done a little bit of work on the ddoc documentation and it was brought to my attention that the HTML output of ddoc is actually quite old. Some of the current tags are deprecated. I've raised this as an issue here: htt

Re: Updating ddoc to support modern HTML tags

2015-04-26 Thread Stewart Gordon via Digitalmars-d
On 26/04/2015 03:58, Andrei Alexandrescu wrote: On 4/25/15 5:41 PM, Stewart Gordon wrote: Even then, I wasn't able to do it perfectly. Has anybody tried to use Ddoc to generate (for example) LaTeX, RTF, XML or JSON output, for that matter? LaTeX is there. I also wrote "text only" and "verba

Re: Updating ddoc to support modern HTML tags

2015-04-25 Thread Andrei Alexandrescu via Digitalmars-d
On 4/25/15 5:41 PM, Stewart Gordon wrote: But last time I knew, the default Ddoc template as a whole was generally incapable of producing logically structured HTML output, never mind which tags are used. I ended up redefining a number of the macros in my custom Ddoc template to get around this.

Re: Updating ddoc to support modern HTML tags

2015-04-25 Thread Stewart Gordon via Digitalmars-d
On 20/04/2015 20:42, Gary Willoughby wrote: Here's a list of the current ddoc symbols (and tag output) that IMHO would need updating: https://gist.github.com/nomad-software/333cd658ad88090dcb0a and here are some proposed substitutions: https://gist.github.com/nomad-software/20d2ab1f7d4c9e55a

Re: Updating ddoc to support modern HTML tags

2015-04-25 Thread Stewart Gordon via Digitalmars-d
On 22/04/2015 08:47, Gary Willoughby wrote: On Tuesday, 21 April 2015 at 11:27:35 UTC, Jacob Carlborg wrote: I don't think you should use the "style" attribute at all. I think it's better to use classes, or similar. Yes it's always better to use classes and style them in a CSS file. However

Re: Updating ddoc to support modern HTML tags

2015-04-22 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 21 April 2015 at 11:27:35 UTC, Jacob Carlborg wrote: On 2015-04-20 21:42, Gary Willoughby wrote: and here are some proposed substitutions: https://gist.github.com/nomad-software/20d2ab1f7d4c9e55a343 I don't think you should use the "style" attribute at all. I think it's better t

Re: Updating ddoc to support modern HTML tags

2015-04-21 Thread Walter Bright via Digitalmars-d
On 4/21/2015 5:45 PM, Jakob Ovrum wrote: On Tuesday, 21 April 2015 at 23:48:04 UTC, Walter Bright wrote: 1. none of these are problems with Ddoc No, but there's still a problem with dlang.org, the biggest user of DDoc. 2. they just look like a few typos to me No, the main issue is nesting

Re: Updating ddoc to support modern HTML tags

2015-04-21 Thread Jakob Ovrum via Digitalmars-d
On Tuesday, 21 April 2015 at 23:48:04 UTC, Walter Bright wrote: 1. none of these are problems with Ddoc No, but there's still a problem with dlang.org, the biggest user of DDoc. 2. they just look like a few typos to me No, the main issue is nesting lists in paragraphs and other illegal n

Re: Updating ddoc to support modern HTML tags

2015-04-21 Thread Walter Bright via Digitalmars-d
On 4/21/2015 12:39 AM, Jakob Ovrum wrote: On Tuesday, 21 April 2015 at 07:34:19 UTC, Walter Bright wrote: On 4/20/2015 11:39 PM, Jakob Ovrum wrote: It's still a long road before we even output correct HTML, ?? Have you ever tried validating the HTML output for dlang.org? It's a mess, see th

Re: Updating ddoc to support modern HTML tags

2015-04-21 Thread Jacob Carlborg via Digitalmars-d
On 2015-04-20 21:42, Gary Willoughby wrote: and here are some proposed substitutions: https://gist.github.com/nomad-software/20d2ab1f7d4c9e55a343 I don't think you should use the "style" attribute at all. I think it's better to use classes, or similar. -- /Jacob Carlborg

Re: Updating ddoc to support modern HTML tags

2015-04-21 Thread Jakob Ovrum via Digitalmars-d
On Tuesday, 21 April 2015 at 07:34:19 UTC, Walter Bright wrote: On 4/20/2015 11:39 PM, Jakob Ovrum wrote: It's still a long road before we even output correct HTML, ?? Have you ever tried validating the HTML output for dlang.org? It's a mess, see this PR for some details[1]. [1] https://g

Re: Updating ddoc to support modern HTML tags

2015-04-21 Thread Walter Bright via Digitalmars-d
On 4/20/2015 11:39 PM, Jakob Ovrum wrote: It's still a long road before we even output correct HTML, ??

Re: Updating ddoc to support modern HTML tags

2015-04-20 Thread Jakob Ovrum via Digitalmars-d
On Monday, 20 April 2015 at 19:42:43 UTC, Gary Willoughby wrote: I've just done a little bit of work on the ddoc documentation and it was brought to my attention that the HTML output of ddoc is actually quite old. Some of the current tags are deprecated. I've raised this as an issue here: htt

Updating ddoc to support modern HTML tags

2015-04-20 Thread Gary Willoughby via Digitalmars-d
I've just done a little bit of work on the ddoc documentation and it was brought to my attention that the HTML output of ddoc is actually quite old. Some of the current tags are deprecated. I've raised this as an issue here: https://issues.dlang.org/show_bug.cgi?id=14473 Before starting on an