authoring for web and print - suggestions
Dear all, this time I have a question not concerning how to ship ConTeXt in Debian or so, but very different. Does anyone have experience with authoring for web and print. I.e., we want to maintain only one format and generate both web pages and printed documentation from it. Is there intrinsic or through addons support in ConteXt for this? Any suggestion would be greatly welcome Norbert ------------------------------------------------------------------------ PREINING, Norbert http://www.preining.info JAIST, Japan TeX Live & Debian Developer DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------
On 05/11/2013 12:26 PM, Norbert Preining wrote:
Does anyone have experience with authoring for web and print. I.e., we want to maintain only one format and generate both web pages and printed documentation from it. Is there intrinsic or through addons support in ConteXt for this?
Any suggestion would be greatly welcome
I think the most natural route would be to author your content in generic xml. This can be wonderfully processed in ConTeXt, and you can use XSLT to produce xhtml. In theory, you could also directly process xhtml in ConTeXt, but personally (mind you, I'm no authority on these questions at all) writing xml (such as docbook) gives you more wiggle room, should you ever want to reuse your content (just think your organization uses a new CMS, and you need a different form of html). Thomas
On Sat, May 11, 2013 at 1:08 PM, Thomas A. Schmitz
I think the most natural route would be to author your content in generic xml. This can be wonderfully processed in ConTeXt
The relevant manual section [1] seems to be the authoritative document on this, though I don't know how up-to-date it is. The wiki [2] contains additional, perhaps more practical, information. Cheers, ~~ Ondra [1] http://pragma-ade.com/show-man-43.htm [2] http://wiki.contextgarden.net/XML P.S. TU Wien represent.
http://www.leverkruid.eu/context/index.html
Looks really interesting.
On Sat, May 11, 2013 at 7:35 AM, Ondřej Hošek
On Sat, May 11, 2013 at 1:08 PM, Thomas A. Schmitz
wrote: I think the most natural route would be to author your content in generic xml. This can be wonderfully processed in ConTeXt
The relevant manual section [1] seems to be the authoritative document on this, though I don't know how up-to-date it is. The wiki [2] contains additional, perhaps more practical, information.
Cheers, ~~ Ondra
[1] http://pragma-ade.com/show-man-43.htm [2] http://wiki.contextgarden.net/XML
P.S. TU Wien represent.
___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
-- Grant Rettke | ACM, AMA, COG, IEEE grettke@acm.org | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates ((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurably better since I have been forced to stop taking it seriously.” --Thompson
On 5/11/2013 2:47 PM, Grant Rettke wrote:
http://www.leverkruid.eu/context/index.html
Looks really interesting.
Don't go that route ... it's mkii based and overloads low level context commands (which even for that approach is not needed). It's far more convenient to use mkiv's tree based xml handler with expressions. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Sat, May 11, 2013 at 7:54 AM, Hans Hagen
On 5/11/2013 2:47 PM, Grant Rettke wrote:
http://www.leverkruid.eu/**context/index.htmlhttp://www.leverkruid.eu/context/index.html
Looks really interesting.
Don't go that route ... it's mkii based and overloads low level context commands (which even for that approach is not needed). It's far more convenient to use mkiv's tree based xml handler with expressions.
Understood. Thanks!
2013/5/11 Norbert Preining
Does anyone have experience with authoring for web and print. I.e., we want to maintain only one format and generate both web pages and printed documentation from it. Is there intrinsic or through addons support in ConteXt for this?
Consider pandoc. But you probably need math. :-) Best Martin
I've always thought that TEI-Lite was a nice, general purpose xml markup.
There is already an example of an XML stylesheet on the wiki.
On Sat, May 11, 2013 at 7:29 AM, Martin Schröder
2013/5/11 Norbert Preining
: Does anyone have experience with authoring for web and print. I.e., we want to maintain only one format and generate both web pages and printed documentation from it. Is there intrinsic or through addons support in ConteXt for this?
Consider pandoc. But you probably need math. :-)
Best Martin
___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
participants (7)
-
Grant Rettke
-
Hans Hagen
-
Martin Schröder
-
Mica Semrick
-
Norbert Preining
-
Ondřej Hošek
-
Thomas A. Schmitz