ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* authoring for web and print - suggestions
@ 2013-05-11 10:26 Norbert Preining
  2013-05-11 11:08 ` Thomas A. Schmitz
  2013-05-11 14:29 ` Martin Schröder
  0 siblings, 2 replies; 8+ messages in thread
From: Norbert Preining @ 2013-05-11 10:26 UTC (permalink / raw)
  To: ntg-context

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


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

* Re: authoring for web and print - suggestions
  2013-05-11 10:26 authoring for web and print - suggestions Norbert Preining
@ 2013-05-11 11:08 ` Thomas A. Schmitz
  2013-05-11 12:35   ` Ondřej Hošek
  2013-05-11 14:29 ` Martin Schröder
  1 sibling, 1 reply; 8+ messages in thread
From: Thomas A. Schmitz @ 2013-05-11 11:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


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

* Re: authoring for web and print - suggestions
  2013-05-11 11:08 ` Thomas A. Schmitz
@ 2013-05-11 12:35   ` Ondřej Hošek
  2013-05-11 12:47     ` Grant Rettke
  0 siblings, 1 reply; 8+ messages in thread
From: Ondřej Hošek @ 2013-05-11 12:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, May 11, 2013 at 1:08 PM, Thomas A. Schmitz
<thomas.schmitz@uni-bonn.de> 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
___________________________________________________________________________________


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

* Re: authoring for web and print - suggestions
  2013-05-11 12:35   ` Ondřej Hošek
@ 2013-05-11 12:47     ` Grant Rettke
  2013-05-11 12:54       ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Grant Rettke @ 2013-05-11 12:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

http://www.leverkruid.eu/context/index.html

Looks really interesting.

On Sat, May 11, 2013 at 7:35 AM, Ondřej Hošek <ondra.hosek@gmail.com> wrote:

> On Sat, May 11, 2013 at 1:08 PM, Thomas A. Schmitz
> <thomas.schmitz@uni-bonn.de> 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

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: authoring for web and print - suggestions
  2013-05-11 12:47     ` Grant Rettke
@ 2013-05-11 12:54       ` Hans Hagen
  2013-05-11 12:59         ` Grant Rettke
  0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2013-05-11 12:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


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

* Re: authoring for web and print - suggestions
  2013-05-11 12:54       ` Hans Hagen
@ 2013-05-11 12:59         ` Grant Rettke
  0 siblings, 0 replies; 8+ messages in thread
From: Grant Rettke @ 2013-05-11 12:59 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


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

On Sat, May 11, 2013 at 7:54 AM, Hans Hagen <pragma@wxs.nl> wrote:

> On 5/11/2013 2:47 PM, Grant Rettke wrote:
>
>> http://www.leverkruid.eu/**context/index.html<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.
>

Understood. Thanks!

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: authoring for web and print - suggestions
  2013-05-11 10:26 authoring for web and print - suggestions Norbert Preining
  2013-05-11 11:08 ` Thomas A. Schmitz
@ 2013-05-11 14:29 ` Martin Schröder
  2013-05-13 20:18   ` Mica Semrick
  1 sibling, 1 reply; 8+ messages in thread
From: Martin Schröder @ 2013-05-11 14:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2013/5/11 Norbert Preining <preining@logic.at>:
> 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
___________________________________________________________________________________


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

* Re: authoring for web and print - suggestions
  2013-05-11 14:29 ` Martin Schröder
@ 2013-05-13 20:18   ` Mica Semrick
  0 siblings, 0 replies; 8+ messages in thread
From: Mica Semrick @ 2013-05-13 20:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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 <martin@oneiros.de> wrote:

> 2013/5/11 Norbert Preining <preining@logic.at>:
> > 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
>
> ___________________________________________________________________________________
>

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2013-05-13 20:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-11 10:26 authoring for web and print - suggestions Norbert Preining
2013-05-11 11:08 ` Thomas A. Schmitz
2013-05-11 12:35   ` Ondřej Hošek
2013-05-11 12:47     ` Grant Rettke
2013-05-11 12:54       ` Hans Hagen
2013-05-11 12:59         ` Grant Rettke
2013-05-11 14:29 ` Martin Schröder
2013-05-13 20:18   ` Mica Semrick

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