* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 16:30 ` John Haltiwanger
@ 2009-05-25 16:39 ` Hans Hagen
2009-05-25 16:53 ` John Haltiwanger
2009-05-26 15:54 ` Bruce D'Arcus
2009-05-25 16:50 ` Wolfgang Schuster
` (2 subsequent siblings)
3 siblings, 2 replies; 29+ messages in thread
From: Hans Hagen @ 2009-05-25 16:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
John Haltiwanger wrote:
> On Sun, May 24, 2009 at 2:35 PM, Henning Hraban Ramm <hraban@fiee.net>wrote:
>
>> Am 2009-05-24 um 19:17 schrieb John Haltiwanger:
>>
>> 1) Can environment files be used across documents, or is it generally
>>> understood that every ConTeXt document requires its own environment
>>> formatting? (The latter is the view of someone on c.t.t, who said his
>>> perception of ConTeXt was that it was for typesetting individual documents
>>> and had less application beyond that domain.)
>>>
>> Normally you use environment files for coherent projects (magazines, books)
>> or sets of similar documents (letters, presentations).
>>
>> The difference in usage between a LaTeX document class and a ConTeXt
>> environment is neglectable IMO. The real difference is that most LaTeX users
>> just *use* some document class unchanged, because LaTeX doesn't encourage
>> defining your own, while there are nearly no ready-to-use ConTeXt
>> environments available and most ConTeXt users want write their own anyway.
>>
>> For one-off documents I put everything in one file (and perhaps copy setup
>> bits from other one-off files or environments).
>>
>> If *I* require a special layout for a single document, I normally use
>> InDesign. The effort of "programming" a setup or an environment pays off
>> only if you use it more often IMO.
>>
>
>
> These paragraphs seems to contradict. ConTeXt is useful if you use an
> environment more than once, but there are no ready-to-use ConTeXt
> environments.
setting up a style for a paper takes a few commands: \setuplayout,
\setuphead, \setupheadertexts ... and then structure in your document
can do the rest; however, if we have styles of (say) 40 lines of code,
users want a different font, diferen theaders etc and patch those 40
lines which then gives 80 lines most of which are redundant
i've seen that happen a lot: copy an old style, then patch 50%, copy
that file, patch again, and eventually one gets a big style that is 90%
code that does more harm than good
as context does need a style to start with, you can just start working
and then every time you wonder if it should look different, you add a
few lines to the preamble or style (more fun that way too)
> I am not averse to rolling my own, I am just confused why, if environments
> are so powerful and flexible (flexible meaning one can easily change things,
> unlike document classes), there are no pre-rolled environments available. I
> am thinking here of standardized thesis environments for universities, or a
> nice letter environment to demonstrate the beauty of TeX.
sure, but all organizations want it slightly different
>
> 2) What is the state of XML output for ConTeXt files? I have to say I will
>> find it hard to justify using TeX for documents if it means they are not
>> translatable to XML easily. I'm also interested in any RDF support ConTeXt
>> might have.
>>
>
> XML is no target format for any TeX implementation.
>> XML is a source format, and a good one if you want to process (typeset) it
>> with ConTeXt (and perhaps make HTML from the same source).
>>
>> What do you mean with RDF? This one?: http://www.w3.org/RDF/
>> Or did you mean RTF?
>
>
> Yes, I meant RDF. XML is a very important format. I find it odd that TeX can
> generate PDF but cannot output simple XML. So in order to have a semantical
> document I must write it in XML and then process it with ConTeXt? Is the
> capacity there (through LuaTeX perhaps) to write an XML generator?
sure, but how useful is it to have a representation of (e.g.) a node
list that makes up a paragraph in xml format? no app can do something
with it
maybe at some point the adobe and microsoft xml output formats become an
option (which then involves resources like fonts and graphics as well so
it's pretty bulky and one might wonder what gain there is)
> While I would expect the reasons for wanting XML output would be obvious, a
> concrete example is that at least one journal is deprecating LaTeX because
> it wants to archive all of its articles in XML.
in which case it keeps the input in xml and converts to other formats
(coule be tex in the case of rendering print)
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 16:39 ` Hans Hagen
@ 2009-05-25 16:53 ` John Haltiwanger
2009-05-25 16:59 ` Hans Hagen
2009-05-26 15:54 ` Bruce D'Arcus
1 sibling, 1 reply; 29+ messages in thread
From: John Haltiwanger @ 2009-05-25 16:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2116 bytes --]
>
> I am not averse to rolling my own, I am just confused why, if environments
>> are so powerful and flexible (flexible meaning one can easily change
>> things,
>> unlike document classes), there are no pre-rolled environments available.
>> I
>> am thinking here of standardized thesis environments for universities, or
>> a
>> nice letter environment to demonstrate the beauty of TeX.
>>
>
> sure, but all organizations want it slightly different
Okay, but that does imply that an organization can set up an environment and
expect its members to use it.
>
> Yes, I meant RDF. XML is a very important format. I find it odd that TeX
>> can
>> generate PDF but cannot output simple XML. So in order to have a
>> semantical
>> document I must write it in XML and then process it with ConTeXt? Is the
>> capacity there (through LuaTeX perhaps) to write an XML generator?
>>
>
> sure, but how useful is it to have a representation of (e.g.) a node list
> that makes up a paragraph in xml format? no app can do something with it
I'm not sure what you mean by a representation of a node list for a
paragraph (I am new to TeX, remember), but I am thinking more along the
lines of extracting Title, Author, and the content. Typesetting is not the
goal, as XML is for computers not people.
> maybe at some point the adobe and microsoft xml output formats become an
> option (which then involves resources like fonts and graphics as well so
> it's pretty bulky and one might wonder what gain there is)
>
The gain of XML is participation in the semantic web and concordance with
many new data keeping rules in governments and organizations.
While I would expect the reasons for wanting XML output would be obvious, a
> concrete example is that at least one journal is deprecating LaTeX because
> it wants to archive all of its articles in XML.
>
in which case it keeps the input in xml and converts to other formats (coule
> be tex in the case of rendering print)
The input is actually a specific version of Word. This is converted to XML.
In the case of LaTeX, the LaTeX is converted to Word and then to XML.
[-- Attachment #1.2: Type: text/html, Size: 3358 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 16:53 ` John Haltiwanger
@ 2009-05-25 16:59 ` Hans Hagen
0 siblings, 0 replies; 29+ messages in thread
From: Hans Hagen @ 2009-05-25 16:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
John Haltiwanger wrote:
> Okay, but that does imply that an organization can set up an environment and
> expect its members to use it.
indeed, of seek help in doing so (not much different from setting up a
housestyle for word ro whatever)
> I'm not sure what you mean by a representation of a node list for a
> paragraph (I am new to TeX, remember), but I am thinking more along the
> lines of extracting Title, Author, and the content. Typesetting is not the
> goal, as XML is for computers not people.
<glyph font='1' char='123'><kern width='1pt'><glyph font='1' char='456'>
etc .. the result of typeseting (kind of application xml which actually
much of the xml around is)
> The gain of XML is participation in the semantic web and concordance with
> many new data keeping rules in governments and organizations.
that should happen with the source, ot the typeset result
- structured document in xml format
- rendering to the web using xslt and xhtml and css
- rendering for paper using tex
- analysing for whatever purpose using xml toolkits
> The input is actually a specific version of Word. This is converted to XML.
> In the case of LaTeX, the LaTeX is converted to Word and then to XML.
i'd then go from latex directly to xml (given enough structure) but even
workflows like word -> xml -> context are quite doable
Hans
ps most of our work here involves making styles and going from word/xml
-> pdf (either or not reassembled) using context
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 16:39 ` Hans Hagen
2009-05-25 16:53 ` John Haltiwanger
@ 2009-05-26 15:54 ` Bruce D'Arcus
2009-05-26 21:26 ` John Haltiwanger
1 sibling, 1 reply; 29+ messages in thread
From: Bruce D'Arcus @ 2009-05-26 15:54 UTC (permalink / raw)
To: ntg-context
Hans Hagen <pragma <at> wxs.nl> writes:
...
> in which case it keeps the input in xml and converts to other formats
> (coule be tex in the case of rendering print).
As Hans says, if you're interesting in integrating XML and RDF in source
documents, you need to think of ConTeXt as a lower-level output format; not the
other way around.
Depending on your needs, I'd consider two options for the source format: XHTML +
RDFa, and OpenDocument 1.2 (which will include RDF and RDFa support; likely to
be implemented first in OpenOffice 3.2). DocBook is an option too, but does not
AFAIK support RDFa.
In any case, I'd worry less about the technology, and more about what you need
from it. That will make it easier to figure out which approach is best.
Bruce
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-26 15:54 ` Bruce D'Arcus
@ 2009-05-26 21:26 ` John Haltiwanger
2009-05-26 22:08 ` luigi scarso
2009-05-26 23:07 ` Bruce D'Arcus
0 siblings, 2 replies; 29+ messages in thread
From: John Haltiwanger @ 2009-05-26 21:26 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 980 bytes --]
>
>
> In any case, I'd worry less about the technology, and more about what you
> need
> from it. That will make it easier to figure out which approach is best.
>
> Bruce
>
>
>
Markdown with RDFa on the side will suit quite nicely, thanks to pandoc. The
desire for semantical documents sounds like it will be resolved sooner or
later with Tagged PDF. Until then the semantics can reside outside the PDF
in my case. I consider it only a "need" inasmuch as I am an archivist by
archetype, and so the idea of the best looking documents (the PDFs) being
also the most monolithic just goes against my natural grain. For now it is
not an urgency, but I do thank you all for the advice and comments!
The markdown solution is doubly good because now I see a way to incorporate
conTeXt in a web project that centers on language The better rendered the
text, the better the project. Ah, the universal adoption of TeX in
everything I do may not be far off ;)
Regards,
John C. Haltiwanger
[-- Attachment #1.2: Type: text/html, Size: 1311 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-26 21:26 ` John Haltiwanger
@ 2009-05-26 22:08 ` luigi scarso
2009-05-26 23:07 ` Bruce D'Arcus
1 sibling, 0 replies; 29+ messages in thread
From: luigi scarso @ 2009-05-26 22:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 490 bytes --]
On Tue, May 26, 2009 at 11:26 PM, John Haltiwanger <
john.haltiwanger@gmail.com> wrote:
>
>
>>
>> In any case, I'd worry less about the technology, and more about what you
>> need
>> from it. That will make it easier to figure out which approach is best.
>>
>> Bruce
>>
>>
>>
> Markdown with RDFa on the side will suit quite nicely, thanks to pandoc.
>
Just a reminder to me for a sprint in The Hague:
I think that Markdown can be parsed by context mkiv with an ad hoc lpeg
--
luigi
[-- Attachment #1.2: Type: text/html, Size: 1078 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-26 21:26 ` John Haltiwanger
2009-05-26 22:08 ` luigi scarso
@ 2009-05-26 23:07 ` Bruce D'Arcus
1 sibling, 0 replies; 29+ messages in thread
From: Bruce D'Arcus @ 2009-05-26 23:07 UTC (permalink / raw)
To: ntg-context
John Haltiwanger <john.haltiwanger <at> gmail.com> writes:
[...]
> Markdown with RDFa on the side will suit quite nicely, thanks to pandoc.
Actually, you can embed the RDFa within the markdown files if you like.
<div property="x:section">
# Introduction
Test.
</div>
Pandoc will just pass it on to the output XHTML (though throw it out for the
context). But it's admittedly a little awkward to have to wrap the markdown with
XHTML every time to want to add a triple.
Bruce
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 16:30 ` John Haltiwanger
2009-05-25 16:39 ` Hans Hagen
@ 2009-05-25 16:50 ` Wolfgang Schuster
2009-05-25 17:00 ` John Haltiwanger
2009-05-25 17:23 ` Arthur Reutenauer
2009-05-25 18:26 ` Aditya Mahajan
3 siblings, 1 reply; 29+ messages in thread
From: Wolfgang Schuster @ 2009-05-25 16:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 25.05.2009 um 18:30 schrieb John Haltiwanger:
> I am not averse to rolling my own, I am just confused why, if
> environments
> are so powerful and flexible (flexible meaning one can easily change
> things,
> unlike document classes), there are no pre-rolled environments
> available. I
> am thinking here of standardized thesis environments for
> universities, or a
> nice letter environment to demonstrate the beauty of TeX.
There are a lot of letter styles are available for ConTeXt, what's
wrong with them?
• http://wiki.contextgarden.net/Letter_style
• http://wiki.contextgarden.net/Letter
Wolfgang
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 16:50 ` Wolfgang Schuster
@ 2009-05-25 17:00 ` John Haltiwanger
2009-05-25 17:12 ` Mohamed Bana
2009-05-25 17:24 ` Hans Hagen
0 siblings, 2 replies; 29+ messages in thread
From: John Haltiwanger @ 2009-05-25 17:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1275 bytes --]
On Mon, May 25, 2009 at 12:50 PM, Wolfgang Schuster <
schuster.wolfgang@googlemail.com> wrote:
>
> Am 25.05.2009 um 18:30 schrieb John Haltiwanger:
>
> I am not averse to rolling my own, I am just confused why, if environments
>> are so powerful and flexible (flexible meaning one can easily change
>> things,
>> unlike document classes), there are no pre-rolled environments available.
>> I
>> am thinking here of standardized thesis environments for universities, or
>> a
>> nice letter environment to demonstrate the beauty of TeX.
>>
>
>
> There are a lot of letter styles are available for ConTeXt, what's wrong
> with them?
>
> • http://wiki.contextgarden.net/Letter_style
> • http://wiki.contextgarden.net/Letter
>
> Wolfgang
>
Thank you for those! I had not come across them yet. I was responding to
Henning's statement that "there are nearly no ready-to-use ConTeXt
environments available". In fact I realize I had misread that until right
now, having missed the 'nearly' that qualifies the statement. Sorry for the
confusion.
Also, I don't want it to seem like I don't enjoy rolling my own documents.
While I'm new at it, I quite like interfacing with documents in this
'programming' way.
Thank you,
John C. Haltiwanger
[-- Attachment #1.2: Type: text/html, Size: 1998 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 17:00 ` John Haltiwanger
@ 2009-05-25 17:12 ` Mohamed Bana
2009-05-25 17:24 ` Hans Hagen
1 sibling, 0 replies; 29+ messages in thread
From: Mohamed Bana @ 2009-05-25 17:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
my personal favourite
http://thread.gmane.org/gmane.comp.tex.context/44368/focus=46254, beware
you might have trouble getting that to compile with a new version of LuaTeX.
John Haltiwanger wrote:
>
>
> On Mon, May 25, 2009 at 12:50 PM, Wolfgang Schuster
> <schuster.wolfgang@googlemail.com
> <mailto:schuster.wolfgang@googlemail.com>> wrote:
>
>
> Am 25.05.2009 um 18:30 schrieb John Haltiwanger:
>
>
> I am not averse to rolling my own, I am just confused why, if
> environments
> are so powerful and flexible (flexible meaning one can easily
> change things,
> unlike document classes), there are no pre-rolled environments
> available. I
> am thinking here of standardized thesis environments for
> universities, or a
> nice letter environment to demonstrate the beauty of TeX.
>
>
>
> There are a lot of letter styles are available for ConTeXt, what's
> wrong with them?
>
> • http://wiki.contextgarden.net/Letter_style
> • http://wiki.contextgarden.net/Letter
>
> Wolfgang
>
>
> Thank you for those! I had not come across them yet. I was responding to
> Henning's statement that "there are nearly no ready-to-use ConTeXt
> environments available". In fact I realize I had misread that until
> right now, having missed the 'nearly' that qualifies the statement.
> Sorry for the confusion.
>
>
> Also, I don't want it to seem like I don't enjoy rolling my own
> documents. While I'm new at it, I quite like interfacing with documents
> in this 'programming' way.
>
> Thank you,
> John C. Haltiwanger
>
>
> ------------------------------------------------------------------------
>
> ___________________________________________________________________________________
> 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 : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 17:00 ` John Haltiwanger
2009-05-25 17:12 ` Mohamed Bana
@ 2009-05-25 17:24 ` Hans Hagen
2009-05-25 17:51 ` John Haltiwanger
1 sibling, 1 reply; 29+ messages in thread
From: Hans Hagen @ 2009-05-25 17:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
John Haltiwanger wrote:
> On Mon, May 25, 2009 at 12:50 PM, Wolfgang Schuster <
> schuster.wolfgang@googlemail.com> wrote:
>
>> Am 25.05.2009 um 18:30 schrieb John Haltiwanger:
>>
>> I am not averse to rolling my own, I am just confused why, if environments
>>> are so powerful and flexible (flexible meaning one can easily change
>>> things,
>>> unlike document classes), there are no pre-rolled environments available..
>>> I
>>> am thinking here of standardized thesis environments for universities, or
>>> a
>>> nice letter environment to demonstrate the beauty of TeX.
>>>
>>
>> There are a lot of letter styles are available for ConTeXt, what's wrong
>> with them?
>>
>> • http://wiki.contextgarden.net/Letter_style
>> • http://wiki.contextgarden.net/Letter
>>
>> Wolfgang
>>
>
> Thank you for those! I had not come across them yet. I was responding to
> Henning's statement that "there are nearly no ready-to-use ConTeXt
> environments available". In fact I realize I had misread that until right
> now, having missed the 'nearly' that qualifies the statement. Sorry for the
> confusion.
>
>
> Also, I don't want it to seem like I don't enjoy rolling my own documents.
> While I'm new at it, I quite like interfacing with documents in this
> 'programming' way.
in tex/context/[base|third], take a look at:
m-* : specialized modules
s-* : styles
x-* : xml relatex modules
t-* : third party modules
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 17:24 ` Hans Hagen
@ 2009-05-25 17:51 ` John Haltiwanger
2009-05-25 18:00 ` Arthur Reutenauer
2009-05-25 20:25 ` Mohamed Bana
0 siblings, 2 replies; 29+ messages in thread
From: John Haltiwanger @ 2009-05-25 17:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 582 bytes --]
Thank you Arthur, Mohamed, and Hans for pointing me towards the available
modules.
As far as working towards semantical documents in TeX, I'll just have to
settle for writing external RDF descriptors for the documents. I'll take a
look at using XML as the source and feeding it into ConTeXt, but since I
rather like conTeXt's markup over XML, I'm not sure how likely I will be to
go that route. Since Arthur implies that an XML output might one day be
feasible,
Thanks everyone for being so helpful, speaks volumes about the community you
have here.
Regards,
John C. Haltiwanger
[-- Attachment #1.2: Type: text/html, Size: 627 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 17:51 ` John Haltiwanger
@ 2009-05-25 18:00 ` Arthur Reutenauer
2009-05-25 18:09 ` John Haltiwanger
2009-05-25 20:25 ` Mohamed Bana
1 sibling, 1 reply; 29+ messages in thread
From: Arthur Reutenauer @ 2009-05-25 18:00 UTC (permalink / raw)
To: Mailing list for ConTeXt users
> Since Arthur implies that an XML output might one day be
> feasible,
Note that the final estimate for the stable release of LuaTeX is 2012,
but the backend features may be available sooner. Many people are looking
forward to using LuaTeX for producing XML-based and other formats :-)
See http://luatex.org/roadmap.html for the roadmap.
Arthur
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 18:00 ` Arthur Reutenauer
@ 2009-05-25 18:09 ` John Haltiwanger
2009-05-25 18:21 ` Arthur Reutenauer
2009-05-25 18:55 ` Hans Hagen
0 siblings, 2 replies; 29+ messages in thread
From: John Haltiwanger @ 2009-05-25 18:09 UTC (permalink / raw)
To: Mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 840 bytes --]
On Mon, May 25, 2009 at 2:00 PM, Arthur Reutenauer <
arthur.reutenauer@normalesup.org> wrote:
> > Since Arthur implies that an XML output might one day be
> > feasible,
>
> Note that the final estimate for the stable release of LuaTeX is 2012,
> but the backend features may be available sooner. Many people are looking
> forward to using LuaTeX for producing XML-based and other formats :-)
> See http://luatex.org/roadmap.html for the roadmap.
>
Nice, glad to hear it. Also of interest are new semantic tagging facilities
for PDF in the newest proposal for ISO 32000, mentioned by an Adobe engineer
in the comments of this blog entry
http://digitalcuration.blogspot.com/2009/04/semantically-richer-pdf.html
Hopefully there can be found a way to incorporate these facilities in
ConTeXt and/or LuaTeX when they emerge.
[-- Attachment #1.2: Type: text/html, Size: 1359 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 18:09 ` John Haltiwanger
@ 2009-05-25 18:21 ` Arthur Reutenauer
2009-05-25 18:24 ` John Haltiwanger
2009-05-25 18:55 ` Hans Hagen
1 sibling, 1 reply; 29+ messages in thread
From: Arthur Reutenauer @ 2009-05-25 18:21 UTC (permalink / raw)
To: Mailing list for ConTeXt users
> Nice, glad to hear it. Also of interest are new semantic tagging facilities
> for PDF in the newest proposal for ISO 32000, mentioned by an Adobe engineer
> in the comments of this blog entry
> http://digitalcuration.blogspot.com/2009/04/semantically-richer-pdf.html
If you mean Leonard Rosenthol's comment at
http://digitalcuration.blogspot.com/2009/04/semantically-richer-pdf.html?showComment=1239112800000#c5624378574116031944
the general issue is Tagged PDF. It's not really supported yet in any
variant of TeX, but there is an active group working on it at River Valley
Technologies (http://lists.river-valley.com/cgi-bin/mailman/listinfo/tex).
I haven't been following closely, but there's definitely progress.
Arthur
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 18:21 ` Arthur Reutenauer
@ 2009-05-25 18:24 ` John Haltiwanger
0 siblings, 0 replies; 29+ messages in thread
From: John Haltiwanger @ 2009-05-25 18:24 UTC (permalink / raw)
To: Mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1432 bytes --]
Yes, that is the comment. Thank you for the heads up :)
On Mon, May 25, 2009 at 2:21 PM, Arthur Reutenauer <
arthur.reutenauer@normalesup.org> wrote:
> > Nice, glad to hear it. Also of interest are new semantic tagging
> facilities
> > for PDF in the newest proposal for ISO 32000, mentioned by an Adobe
> engineer
> > in the comments of this blog entry
> > http://digitalcuration.blogspot.com/2009/04/semantically-richer-pdf.html
>
> If you mean Leonard Rosenthol's comment at
>
> http://digitalcuration.blogspot.com/2009/04/semantically-richer-pdf.html?showComment=1239112800000#c5624378574116031944
> the general issue is Tagged PDF. It's not really supported yet in any
> variant of TeX, but there is an active group working on it at River Valley
> Technologies (http://lists.river-valley.com/cgi-bin/mailman/listinfo/tex).
> I haven't been following closely, but there's definitely progress.
>
> Arthur
>
> ___________________________________________________________________________________
> 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 : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 2551 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 18:09 ` John Haltiwanger
2009-05-25 18:21 ` Arthur Reutenauer
@ 2009-05-25 18:55 ` Hans Hagen
2009-05-25 21:09 ` luigi scarso
1 sibling, 1 reply; 29+ messages in thread
From: Hans Hagen @ 2009-05-25 18:55 UTC (permalink / raw)
To: mailing list for ConTeXt users
John Haltiwanger wrote:
> On Mon, May 25, 2009 at 2:00 PM, Arthur Reutenauer <
> arthur.reutenauer@normalesup.org> wrote:
>
>>> Since Arthur implies that an XML output might one day be
>>> feasible,
>> Note that the final estimate for the stable release of LuaTeX is 2012,
>> but the backend features may be available sooner. Many people are looking
>> forward to using LuaTeX for producing XML-based and other formats :-)
>> See http://luatex.org/roadmap.html for the roadmap.
>>
>
> Nice, glad to hear it. Also of interest are new semantic tagging facilities
> for PDF in the newest proposal for ISO 32000, mentioned by an Adobe engineer
> in the comments of this blog entry
> http://digitalcuration.blogspot.com/2009/04/semantically-richer-pdf.html
>
> Hopefully there can be found a way to incorporate these facilities in
> ConTeXt and/or LuaTeX when they emerge.
as it takes a bit of work i'll only look into it when i need it (in a
project) or when i'm extremely bored; it's rather doable
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 18:55 ` Hans Hagen
@ 2009-05-25 21:09 ` luigi scarso
2009-05-25 21:14 ` Hans Hagen
2009-05-25 21:16 ` Arthur Reutenauer
0 siblings, 2 replies; 29+ messages in thread
From: luigi scarso @ 2009-05-25 21:09 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1236 bytes --]
On Mon, May 25, 2009 at 8:55 PM, Hans Hagen <pragma@wxs.nl> wrote:
> John Haltiwanger wrote:
>
>> On Mon, May 25, 2009 at 2:00 PM, Arthur Reutenauer <
>> arthur.reutenauer@normalesup.org> wrote:
>>
>> Since Arthur implies that an XML output might one day be
>>>> feasible,
>>>>
>>> Note that the final estimate for the stable release of LuaTeX is 2012,
>>> but the backend features may be available sooner. Many people are
>>> looking
>>> forward to using LuaTeX for producing XML-based and other formats :-)
>>> See http://luatex.org/roadmap.html for the roadmap.
>>>
>>>
>> Nice, glad to hear it. Also of interest are new semantic tagging
>> facilities
>> for PDF in the newest proposal for ISO 32000, mentioned by an Adobe
>> engineer
>> in the comments of this blog entry
>> http://digitalcuration.blogspot.com/2009/04/semantically-richer-pdf.html
>>
>> Hopefully there can be found a way to incorporate these facilities in
>> ConTeXt and/or LuaTeX when they emerge.
>>
>
> as it takes a bit of work i'll only look into it when i need it (in a
> project) or when i'm extremely bored; it's rather doable
>
well , if you give us some hints maybe
someone will present an article at next context meeting ...
--
luigi
[-- Attachment #1.2: Type: text/html, Size: 2291 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 21:09 ` luigi scarso
@ 2009-05-25 21:14 ` Hans Hagen
2009-05-25 21:16 ` Arthur Reutenauer
1 sibling, 0 replies; 29+ messages in thread
From: Hans Hagen @ 2009-05-25 21:14 UTC (permalink / raw)
To: mailing list for ConTeXt users
luigi scarso wrote:
> well , if you give us some hints maybe
> someone will present an article at next context meeting ...
(1) wait for the rewritten backend (next year)
(2) wait till structure in mkiv is stable
but indeed we can discuss these things at the upcoming context meeting
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 21:09 ` luigi scarso
2009-05-25 21:14 ` Hans Hagen
@ 2009-05-25 21:16 ` Arthur Reutenauer
1 sibling, 0 replies; 29+ messages in thread
From: Arthur Reutenauer @ 2009-05-25 21:16 UTC (permalink / raw)
To: Mailing list for ConTeXt users
> well , if you give us some hints maybe
> someone will present an article at next context meeting ...
If you're interested in Tagged PDF, you should really look into what
the River Valley guys are doing on the mailing-list I mentioned, and
contact Ross Moore, Han The Thanh, etc.
http://lists.river-valley.com/cgi-bin/mailman/listinfo/tex
Arthur
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 17:51 ` John Haltiwanger
2009-05-25 18:00 ` Arthur Reutenauer
@ 2009-05-25 20:25 ` Mohamed Bana
2009-05-25 21:02 ` John Haltiwanger
2009-05-26 22:27 ` Wolfgang Schuster
1 sibling, 2 replies; 29+ messages in thread
From: Mohamed Bana @ 2009-05-25 20:25 UTC (permalink / raw)
To: mailing list for ConTeXt users
i tend to write in Markdown, as the syntax is very light weight, then
compile with pandoc (http://johnmacfarlane.net/pandoc/).
$ pandoc --toc --smart --number-sections --standalone -H header.tex -w
context file.pdc -o file.tex
$ texexec file.tex
i think Aditya has some documents floating around somewhere.
John Haltiwanger wrote:
> Thank you Arthur, Mohamed, and Hans for pointing me towards the
> available modules.
>
> As far as working towards semantical documents in TeX, I'll just have to
> settle for writing external RDF descriptors for the documents. I'll take
> a look at using XML as the source and feeding it into ConTeXt, but since
> I rather like conTeXt's markup over XML, I'm not sure how likely I will
> be to go that route. Since Arthur implies that an XML output might one
> day be feasible,
>
> Thanks everyone for being so helpful, speaks volumes about the community
> you have here.
>
> Regards,
> John C. Haltiwanger
>
>
> ------------------------------------------------------------------------
>
> ___________________________________________________________________________________
> 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 : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 20:25 ` Mohamed Bana
@ 2009-05-25 21:02 ` John Haltiwanger
2009-05-26 22:27 ` Wolfgang Schuster
1 sibling, 0 replies; 29+ messages in thread
From: John Haltiwanger @ 2009-05-25 21:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2230 bytes --]
Wow, that is handy! Thanks for the tip Modamed.
On Mon, May 25, 2009 at 4:25 PM, Mohamed Bana <mbana.lists@googlemail.com>wrote:
> i tend to write in Markdown, as the syntax is very light weight, then
> compile with pandoc (http://johnmacfarlane.net/pandoc/).
>
> $ pandoc --toc --smart --number-sections --standalone -H header.tex -w
> context file.pdc -o file.tex
> $ texexec file.tex
>
> i think Aditya has some documents floating around somewhere.
>
> John Haltiwanger wrote:
>
>> Thank you Arthur, Mohamed, and Hans for pointing me towards the available
>> modules.
>>
>> As far as working towards semantical documents in TeX, I'll just have to
>> settle for writing external RDF descriptors for the documents. I'll take a
>> look at using XML as the source and feeding it into ConTeXt, but since I
>> rather like conTeXt's markup over XML, I'm not sure how likely I will be to
>> go that route. Since Arthur implies that an XML output might one day be
>> feasible,
>>
>> Thanks everyone for being so helpful, speaks volumes about the community
>> you have here.
>>
>> Regards,
>> John C. Haltiwanger
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> ___________________________________________________________________________________
>> 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 : https://foundry.supelec.fr/projects/contextrev/
>> wiki : http://contextgarden.net
>>
>> ___________________________________________________________________________________
>>
>
> ___________________________________________________________________________________
> 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 : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 3630 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 20:25 ` Mohamed Bana
2009-05-25 21:02 ` John Haltiwanger
@ 2009-05-26 22:27 ` Wolfgang Schuster
1 sibling, 0 replies; 29+ messages in thread
From: Wolfgang Schuster @ 2009-05-26 22:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 25.05.2009 um 22:25 schrieb Mohamed Bana:
> i tend to write in Markdown, as the syntax is very light weight,
> then compile with pandoc (http://johnmacfarlane.net/pandoc/).
>
> $ pandoc --toc --smart --number-sections --standalone -H header.tex -
> w context file.pdc -o file.tex
> $ texexec file.tex
I think you can automate the first step with a ctx file and use only
'texexec/context --ctx=pandoc' to create a pdf from your source file.
Wolfgang
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 16:30 ` John Haltiwanger
2009-05-25 16:39 ` Hans Hagen
2009-05-25 16:50 ` Wolfgang Schuster
@ 2009-05-25 17:23 ` Arthur Reutenauer
2009-05-25 18:26 ` Aditya Mahajan
3 siblings, 0 replies; 29+ messages in thread
From: Arthur Reutenauer @ 2009-05-25 17:23 UTC (permalink / raw)
To: Mailing list for ConTeXt users
> These paragraphs seems to contradict. ConTeXt is useful if you use an
> environment more than once, but there are no ready-to-use ConTeXt
> environments.
You're probably confused by the term "environment". It means
something very specific in ConTeXt, see for example section 2.3 of
http://www.pragma-ade.com/general/manuals/cont-eni.pdf
If by "environment" you mean some less down-to-earth, general document
layout, e.g. for articles, books, presentation slides or letters, then
yes, there are such ready-to-use layouts. Not always in the ConTeXt
core, but they're there; for example, for letters you would use Wolfgang
Schuster's letter module; for presentation, one of the solutions is
Thomas Schmitz' and Aditya Mahajan's simple-presentation module, etc.
> Yes, I meant RDF. XML is a very important format. I find it odd that TeX can
> generate PDF but cannot output simple XML.
Generating a document with a logical structure is really the opposite
of what TeX does, at least in my view: in today's trend, you write a TeX
document with a logical structure, and you generate PDF, a highly
specialized format for describing the layout of a printed or on-screen
page; it has rather few means of specifying logical structure (it's
coming, but rather poorly supported by PDF producer applications at the
moment). The same is of course even more true of DVI. Hence, what TeX
does is to take a logically structured document, and to make it into a
visually structured one.
Note that I am not always convinced by the whole "separation of
content and layout" creed which is heard very often as a selling point
for LaTeX vs. MS Word etc., but there is some truth to it, and,
generally speaking, you're still going from semantic markup to visual
appearance, not the other way round.
> So in order to have a semantical
> document I must write it in XML and then process it with ConTeXt?
Pretty much. ConTeXt is rather good at it. You have a lot of tools
to process XML in the base code. There is also a module to deal with
DocBook, but I think its development has stalled.
> Is the
> capacity there (through LuaTeX perhaps) to write an XML generator?
The goal is that at some point, you will be able to redefine LuaTeX's
backend, the same way you can act on the TeX engine at the moment. This
will allow to control the output format entirely.
> While I would expect the reasons for wanting XML output would be obvious
If I may, your statement might be biased by your own expectations.
There are thousand people out there who use some form of TeX without
even knowing about XML. But I know why you want it.
As far as LaTeX is concerned, there are quite a number of toolchains
that produce XML from some sort of restricted LaTeX markup. I'm not
aware of anything similar for ConTeXt.
Arthur
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 16:30 ` John Haltiwanger
` (2 preceding siblings ...)
2009-05-25 17:23 ` Arthur Reutenauer
@ 2009-05-25 18:26 ` Aditya Mahajan
2009-05-25 18:35 ` John Haltiwanger
3 siblings, 1 reply; 29+ messages in thread
From: Aditya Mahajan @ 2009-05-25 18:26 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Mon, 25 May 2009, John Haltiwanger wrote:
> unlike document classes), there are no pre-rolled environments available. I
> am thinking here of standardized thesis environments for universities, or a
There are no standardized thesis styles for universities mainly because
there are no consistent specs. Most univs want you to use times, double
spaced lines, wide margins, and some formatting guidelines regarding the
chapter headings, table of content, page headers and footers. Setting
these are easy in ConTeXt (and also LaTeX if you know the relevant
packages). Universities do not provide an official thesis style (either in
LaTeX or ConTeXt) because in most cases they do not have the resources to
maintain them. Students figure something out, and then pass along their
styles to the next generation. If the formatting guidelines change, the
burden is on the students to correct the style, rather than on the
university.
When I was writing my thesis, it took me about a few hours to understand
the formatting guidelines, which were a jigjaw puzzle. Statements like:
Always use Times New Roman at 12pt as the main font. ... two pages down
... The abstract can be in 10pt or 12pt ... a few pages later, use any of
the standard fonts. It also used vague terminology. Statements like leave
two blank lines after the title (blank lines, er... for what fontsize, the
bodyfont or the title font?).
ConTeXt makes it really easy to make the formatting changes. Once I
understood the formatting guidelines, writing the main style was very easy
(with a few trips to the manual, and a few questions here on the mailing
list). Making sure that the resultant style looked visually appealing
while not violating the formatting guidelines too a lot of experimentation.
As Hans said, you can think of ConTeXt as the "standard" thesis
style. Setup a few commands, and you meet your formatting requirements.
Write it in an environment or a module, and you can reuse it.
Aditya
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: Seeking a Deeper ConTeXt: Questions for Initializing
2009-05-25 18:26 ` Aditya Mahajan
@ 2009-05-25 18:35 ` John Haltiwanger
0 siblings, 0 replies; 29+ messages in thread
From: John Haltiwanger @ 2009-05-25 18:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2807 bytes --]
Thank you Aditya. All that makes sense to me. It is quite clear from
everyone's responses that the person on c.t.t who claimed ConTeXt is "only"
for one-offs was not correct.
On Mon, May 25, 2009 at 2:26 PM, Aditya Mahajan <adityam@umich.edu> wrote:
> On Mon, 25 May 2009, John Haltiwanger wrote:
>
> unlike document classes), there are no pre-rolled environments available.
>> I
>> am thinking here of standardized thesis environments for universities, or
>> a
>>
>
> There are no standardized thesis styles for universities mainly because
> there are no consistent specs. Most univs want you to use times, double
> spaced lines, wide margins, and some formatting guidelines regarding the
> chapter headings, table of content, page headers and footers. Setting these
> are easy in ConTeXt (and also LaTeX if you know the relevant packages).
> Universities do not provide an official thesis style (either in LaTeX or
> ConTeXt) because in most cases they do not have the resources to maintain
> them. Students figure something out, and then pass along their styles to the
> next generation. If the formatting guidelines change, the burden is on the
> students to correct the style, rather than on the university.
>
> When I was writing my thesis, it took me about a few hours to understand
> the formatting guidelines, which were a jigjaw puzzle. Statements like:
> Always use Times New Roman at 12pt as the main font. ... two pages down ...
> The abstract can be in 10pt or 12pt ... a few pages later, use any of the
> standard fonts. It also used vague terminology. Statements like leave two
> blank lines after the title (blank lines, er... for what fontsize, the
> bodyfont or the title font?).
>
> ConTeXt makes it really easy to make the formatting changes. Once I
> understood the formatting guidelines, writing the main style was very easy
> (with a few trips to the manual, and a few questions here on the mailing
> list). Making sure that the resultant style looked visually appealing while
> not violating the formatting guidelines too a lot of experimentation.
>
> As Hans said, you can think of ConTeXt as the "standard" thesis style.
> Setup a few commands, and you meet your formatting requirements. Write it in
> an environment or a module, and you can reuse it.
>
> Aditya
>
>
> ___________________________________________________________________________________
> 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 : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 3716 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 29+ messages in thread