ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Typesetting Markdown
@ 2019-05-23  5:18 Thangalin
  2019-05-23  5:44 ` Jan U. Hasecke
  2019-05-23  6:08 ` Saša Janiška
  0 siblings, 2 replies; 8+ messages in thread
From: Thangalin @ 2019-05-23  5:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 281 bytes --]

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!

[-- Attachment #1.2: Type: text/html, Size: 486 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Typesetting Markdown
  2019-05-23  5:18 Typesetting Markdown Thangalin
@ 2019-05-23  5:44 ` Jan U. Hasecke
  2019-05-23  6:08 ` Saša Janiška
  1 sibling, 0 replies; 8+ messages in thread
From: Jan U. Hasecke @ 2019-05-23  5:44 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Typesetting Markdown
  2019-05-23  5:18 Typesetting Markdown Thangalin
  2019-05-23  5:44 ` Jan U. Hasecke
@ 2019-05-23  6:08 ` Saša Janiška
  2019-05-24  3:37   ` Thangalin
  1 sibling, 1 reply; 8+ messages in thread
From: Saša Janiška @ 2019-05-23  6:08 UTC (permalink / raw)
  To: ntg-context

Thangalin <thangalin@gmail.com> writes:

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

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

-- 
From wherever the mind wanders due to its flickering and unsteady
nature, one must certainly withdraw it and bring it back under
the control of the self.

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Typesetting Markdown
  2019-05-23  6:08 ` Saša Janiška
@ 2019-05-24  3:37   ` Thangalin
  2019-05-24  6:00     ` Saša Janiška
  2019-05-25 12:45     ` Pablo Rodriguez
  0 siblings, 2 replies; 8+ messages in thread
From: Thangalin @ 2019-05-24  3:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 436 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 693 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Typesetting Markdown
  2019-05-24  3:37   ` Thangalin
@ 2019-05-24  6:00     ` Saša Janiška
  2019-05-25 19:54       ` Thangalin
  2019-05-25 12:45     ` Pablo Rodriguez
  1 sibling, 1 reply; 8+ messages in thread
From: Saša Janiška @ 2019-05-24  6:00 UTC (permalink / raw)
  To: ntg-context

Thangalin <thangalin@gmail.com> writes:

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Typesetting Markdown
  2019-05-24  3:37   ` Thangalin
  2019-05-24  6:00     ` Saša Janiška
@ 2019-05-25 12:45     ` Pablo Rodriguez
  1 sibling, 0 replies; 8+ messages in thread
From: Pablo Rodriguez @ 2019-05-25 12:45 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Typesetting Markdown
  2019-05-24  6:00     ` Saša Janiška
@ 2019-05-25 19:54       ` Thangalin
  2019-05-26  9:18         ` Pablo Rodriguez
  0 siblings, 1 reply; 8+ messages in thread
From: Thangalin @ 2019-05-25 19:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1050 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1607 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Typesetting Markdown
  2019-05-25 19:54       ` Thangalin
@ 2019-05-26  9:18         ` Pablo Rodriguez
  0 siblings, 0 replies; 8+ messages in thread
From: Pablo Rodriguez @ 2019-05-26  9:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-05-26  9:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-23  5:18 Typesetting Markdown Thangalin
2019-05-23  5:44 ` Jan U. Hasecke
2019-05-23  6:08 ` Saša Janiška
2019-05-24  3:37   ` Thangalin
2019-05-24  6:00     ` Saša Janiška
2019-05-25 19:54       ` Thangalin
2019-05-26  9:18         ` Pablo Rodriguez
2019-05-25 12:45     ` Pablo Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).