* Wiki example compilation failure
@ 2012-09-03 6:37 Procházka Lukáš Ing. - Pontex s. r. o.
2012-09-03 8:01 ` Sietse Brouwer
0 siblings, 1 reply; 5+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-09-03 6:37 UTC (permalink / raw)
To: ConTeXt
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
___________________________________________________________________________________
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] 5+ messages in thread
* Re: Wiki example compilation failure
2012-09-03 6:37 Wiki example compilation failure Procházka Lukáš Ing. - Pontex s. r. o.
@ 2012-09-03 8:01 ` Sietse Brouwer
2012-09-03 9:16 ` Procházka Lukáš Ing. - Pontex s. r. o.
0 siblings, 1 reply; 5+ messages in thread
From: Sietse Brouwer @ 2012-09-03 8:01 UTC (permalink / raw)
To: mailing list for ConTeXt users, Hans Hagen
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Wiki example compilation failure
2012-09-03 8:01 ` Sietse Brouwer
@ 2012-09-03 9:16 ` Procházka Lukáš Ing. - Pontex s. r. o.
2012-09-03 12:18 ` Sietse Brouwer
0 siblings, 1 reply; 5+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-09-03 9:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Mon, 03 Sep 2012 10:01:25 +0200, Sietse Brouwer <sbbrouwer@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: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
___________________________________________________________________________________
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] 5+ messages in thread
* Re: Wiki example compilation failure
2012-09-03 9:16 ` Procházka Lukáš Ing. - Pontex s. r. o.
@ 2012-09-03 12:18 ` Sietse Brouwer
2012-09-03 12:48 ` Procházka Lukáš Ing. - Pontex s. r. o.
0 siblings, 1 reply; 5+ messages in thread
From: Sietse Brouwer @ 2012-09-03 12:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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] 5+ messages in thread
* Re: Wiki example compilation failure
2012-09-03 12:18 ` Sietse Brouwer
@ 2012-09-03 12:48 ` Procházka Lukáš Ing. - Pontex s. r. o.
0 siblings, 0 replies; 5+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-09-03 12:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Mon, 03 Sep 2012 14:18:14 +0200, Sietse Brouwer <sbbrouwer@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%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
___________________________________________________________________________________
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] 5+ messages in thread
end of thread, other threads:[~2012-09-03 12:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-03 6:37 Wiki example compilation failure Procházka Lukáš Ing. - Pontex s. r. o.
2012-09-03 8:01 ` Sietse Brouwer
2012-09-03 9:16 ` Procházka Lukáš Ing. - Pontex s. r. o.
2012-09-03 12:18 ` Sietse Brouwer
2012-09-03 12:48 ` Procházka Lukáš Ing. - Pontex s. r. o.
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).