Wiki example compilation failure
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:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
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
On Mon, 03 Sep 2012 10:01:25 +0200, Sietse Brouwer
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:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
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%3AContext&action=historysubmit&diff=20362&oldid=19861 Does that look all right to you? Cheers, Sietse
On Mon, 03 Sep 2012 14:18:14 +0200, Sietse Brouwer
<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%3AContext&action=historysubmit&diff=20362&oldid=19861 Does that look all right to you?
Perfect, thank you. Best regards, Lukas
Cheers, Sietse
-- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
participants (2)
-
Procházka Lukáš Ing. - Pontex s. r. o.
-
Sietse Brouwer