[NTG-context] Wiki example compilation failure

2012-09-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

maybe the known problem with the wiki and the current Ctx versions.

The following code:


\setuppapersize[A5]

\starttext
\definedelimitedtext[mydt]
\setupdelimitedtext[mydt][left=\leftguillemot,right=\rightguillemot]

\quotation{Clancy of the Overflow}, by Banjo Paterson

\startmydt
  And an answer came directed in a manner unexpected, and I
  think the same was written with a thumbnail dipped in tar;
  't was his shearing-mate who wrote it, and verbatim I will quote it:
  \quotation{Clancy's gone to Queensland droving, and we don't know where he 
are.}
\stopmydt
\stoptext


is successfully compiled by the current Ctx version whilst the same example on 
http://wiki.contextgarden.net/Command/setupdelimitedtext is not.

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

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


Re: [NTG-context] Wiki example compilation failure

2012-09-03 Thread Sietse Brouwer
Hi Lukáš,
(CC Mojca, Taco)

 [\setupdelimitedtext example]
 is successfully compiled by the current Ctx version whilst the same example
 on http://wiki.contextgarden.net/Command/setupdelimitedtext is not.

Yes, the wiki's ConTeXt installation is about a year old, as you can see at
http://wiki.contextgarden.net/Help:Context
I remember not getting that to particular example to work, and in the
end wrapping it in texcode instead of context tags.

Hans, can you take the version in TeX Live 2012 and promote it to the
current stable version, or is that not so easy (or not your
responsibility? Once that is done, Taco can update the wiki's ConTeXt.

Thanks,
Sietse
___
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
___

Re: [NTG-context] Wiki example compilation failure

2012-09-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .

On Mon, 03 Sep 2012 10:01:25 +0200, Sietse Brouwer sbbrou...@gmail.com wrote:


http://wiki.contextgarden.net/Help:Context


BTW: Which of the following specifications is correct [for wiki]:

context mode=mkiv source=yes
or
context mode=mkiv source=yes?

The former is used in the prelast example on 
http://wiki.contextgarden.net/Help:Context and - AFAIK (see e.g. 
http://www.w3schools.com/xml/xml_attributes.asp) - it is not in accordance with X[HT]ML 
specification; whilst the latter is in accordance with X[HT]ML specification.

So is it sure that mode=mkiv is OK [on wiki - its parser doesn't require quotation marks 
for element attributes] or mode=mkiv should be preferred or even required?

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

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


Re: [NTG-context] Wiki example compilation failure

2012-09-03 Thread Sietse Brouwer
Procházka Lukáš wrote:
 BTW: Which of the following specifications is correct [for wiki]:

 context mode=mkiv source=yes
 or
 context mode=mkiv source=yes?

Both work. Because both work, we have no way to force future edits to
be XHTML compliant, so I don't think it is productive to try to
enforce XHTML compliance in this. Instead, if we ever do need
compliant XHTML, we can have a bot run a find-and-replace.

I do understand that the non-compliant example might cause confusion,
so Ive added a note explicitly stating that omitting the quotation
marks is okay.
http://wiki.contextgarden.net/index.php?title=Help%3AContextaction=historysubmitdiff=20362oldid=19861
Does that look all right to you?

Cheers,
Sietse
___
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
___

Re: [NTG-context] Wiki example compilation failure

2012-09-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .


On Mon, 03 Sep 2012 14:18:14 +0200, Sietse Brouwer sbbrou...@gmail.com wrote:


context mode=mkiv source=yes
or
context mode=mkiv source=yes?


Both work. Because both work, we have no way to force future edits to
be XHTML compliant, so I don't think it is productive to try to
enforce XHTML compliance in this. Instead, if we ever do need
compliant XHTML, we can have a bot run a find-and-replace.

I do understand that the non-compliant example might cause confusion,
so Ive added a note explicitly stating that omitting the quotation
marks is okay.
http://wiki.contextgarden.net/index.php?title=Help%3AContextaction=historysubmitdiff=20362oldid=19861
Does that look all right to you?


Perfect, thank you.

Best regards,

Lukas


Cheers,
Sietse



--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

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