Hi folks! I'm thinking about writing a series of blog posts about how to typeset Markdown using ConTeXt. I've written the first part and am wondering if anyone would be interested in reading more: https://dave.autonoma.ca/blog/2019/05/22/typesetting-markdown-part-1/ Thank you!
Am 23.05.19 um 07:18 schrieb Thangalin:
Hi folks!
I'm thinking about writing a series of blog posts about how to typeset Markdown using ConTeXt. I've written the first part and am wondering if anyone would be interested in reading more:
https://dave.autonoma.ca/blog/2019/05/22/typesetting-markdown-part-1/
That is interesting. Do you provide a RSS feed for your blog? juh
Thangalin
I'm thinking about writing a series of blog posts about how to typeset Markdown using ConTeXt. I've written the first part and am wondering if anyone would be interested in reading more:
From wherever the mind wanders due to its flickering and unsteady nature, one must certainly withdraw it and bring it back under
I'm interested for the topic, but it would be nice, imho, if the Part-1 would contain some kind of Abstract along with the TOC for the whole series according to your plan? Otoh, I still wonder which method to use for typesetting Markdown with ConTeXt, iow. whether to use Mardkown module and/or filter or to go with pandoc-xhtml (http://www.from-pandoc-to-context.tk/) method... However, one thing is certain: (Pandoc's) Markdown seems easy and good-enough for most of documents I plan to write, while ConTeXt is without comparison when it comes to the quality of final output. Sincerely, Gour -- the control of the self.
Hi Gour, I added an abstract, an overview section with the plan, and an RSS feed: https://dave.autonoma.ca/blog/2019/05/22/typesetting-markdown-part-1/ One of the reasons I chose Pandoc's Markdown is for its support of classes and annotations. I looked into the pandoc-xhtml link and it looked both incomplete and lacking support for typesetting mathematics. Have a read and let me know what you think! Thank you for the feedback.
Thangalin
I added an abstract, an overview section with the plan, and an RSS feed:
Thanks a lot - now it's much better seeing what is ahead of us. ;)
One of the reasons I chose Pandoc's Markdown is for its support of classes and annotations.
I was not using Pandoc's markdown, so will have to check the docs in regard.
I looked into the pandoc-xhtml link and it looked both incomplete and lacking support for typesetting mathematics.
For Markdown --> ConTeXt usage, math is not my primary concern, but wonder what do you think about the Pandoc's "cons" as stated on pandoc-xhtml site, iow: * Main document language information. * Markup for language in text portions. * Any <div> or <span> elements markup.
Have a read and let me know what you think!
See above. ;) Sincerely, Gour -- You have a right to perform your prescribed duty, but you are not entitled to the fruits of action. Never consider yourself the cause of the results of your activities, and never be attached to not doing your duty.
For Markdown --> ConTeXt usage, math is not my primary concern, but wonder what do you think about the Pandoc's "cons" as stated on pandoc-xhtml site, iow:
* Main document language information. * Markup for language in text portions. * Any <div> or <span> elements markup.
For the document language, Pandoc provides language variables: https://pandoc.org/MANUAL.html#language-variables I haven't tried it, so I don't know if it'll handle variations on quotes or hyphenation, but that strikes me as more a presentation layer aspect than a content aspect. That is, ConTeXt (or LaTeX), given a language, is responsible for showing the correct representation; whereas, Markdown is responsible for the prose. Intermixing languages is also possible, as per the above link. Lastly, the above link also shows how to mark up div elements. I'll cover how to create inline images later in the series---it requires a little bit of Lua, depending on the complexity of the problem. See: https://pandoc.org/MANUAL.html#divs-and-spans Cheers!
On 5/25/19 9:54 PM, Thangalin wrote:
[...] For the document language, Pandoc provides language variables:
https://pandoc.org/MANUAL.html#language-variables [...] Intermixing languages is also possible, as per the above link.
As far as I can remember, neither of them were available when I wrote that (for ConTeXt, I mean). I think that TeX output is the main problem in the development of pandoc, because XML is so different from TeX. But this is another issue and it doesn’t belong here. Looking forward to seeing your sources and your output documents! Pablo -- http://www.ousia.tk
On 5/24/19 5:37 AM, Thangalin wrote:
Hi Gour,
I added an abstract, an overview section with the plan, and an RSS feed:
https://dave.autonoma.ca/blog/2019/05/22/typesetting-markdown-part-1/
One of the reasons I chose Pandoc's Markdown is for its support of classes and annotations. I looked into the pandoc-xhtml link and it looked both incomplete and lacking support for typesetting mathematics.
Hi Dave, pandoc-xhtml is only a poor example about handling XML as input source. I only use Markdown and pandoc, because they provide a limited way of XML code easily. The real thing is that you can feed ConTeXt with XML sources to typeset what you want. My use of XML typesetting is basic when compared to that of Hans, Taco, Thomas Schmitz and Hans van der Meer. Of course, other approaches are perfectly fine. My comment was only about not focusing on pandoc-xhtml (which I should rewrite from scratch when I find time for that), but on what makes it thick. Just in case it helps, Pablo -- http://www.ousia.tk
participants (4)
-
Jan U. Hasecke
-
Pablo Rodriguez
-
Saša Janiška
-
Thangalin