[NTG-context] Definition of lualetterbackslash

2011-08-22 Thread Aditya Mahajan
Hi Consider the following example: \startluacode print(lualetterbackslash:, [=[\\include]=]) \stopluacode \def\lualetterbackslash{\letterbackslash} \startluacode print(letterbackslash:, [=[\\include]=]) \stopluacode \bye gives lualetterbackslash: \\include letterbackslash:

Re: [NTG-context] Definition of lualetterbackslash

2011-08-22 Thread Hans Hagen
On 22-8-2011 09:15, Aditya Mahajan wrote: Hi Consider the following example: \startluacode print(lualetterbackslash:, [=[\\include]=]) \stopluacode \def\lualetterbackslash{\letterbackslash} \startluacode print(letterbackslash:, [=[\\include]=]) \stopluacode \bye gives lualetterbackslash:

Re: [NTG-context] Definition of lualetterbackslash

2011-08-22 Thread Aditya Mahajan
On Mon, 22 Aug 2011, Hans Hagen wrote: On 22-8-2011 09:15, Aditya Mahajan wrote: Hi Consider the following example: \startluacode print(lualetterbackslash:, [=[\\include]=]) \stopluacode \def\lualetterbackslash{\letterbackslash} \startluacode print(letterbackslash:, [=[\\include]=])

Re: [NTG-context] Definition of lualetterbackslash

2011-08-22 Thread Hans Hagen
On 22-8-2011 10:49, Aditya Mahajan wrote: and then \/include. Other than using the magic single letter commands, I don't see an easy way of getting a \ in a lua string inside luacode :( - \noexpand\include fails unless I define \include - \letterbackslash include gives \ include -

Re: [NTG-context] Two rotates on the same line

2011-08-22 Thread Peter Münster
On Wed, Aug 17 2011, Cecil Westerhof wrote: I am still expanding my knowledge of ConTeXt. At the moment I am playing with \rotate. When using:     \rotate[rotation=42]{Tekst kan ook worden geroteerd.}     \rotate[rotation=-42]{In elke richting die je maar wilt.} This is displayed as:     /

Re: [NTG-context] Lilypond

2011-08-22 Thread Henning Hraban Ramm
Am 2011-08-22 um 03:53 schrieb Aditya Mahajan: @Hraban: Long story short, the filter module is working again. Can you test the dev branch from the latest git version? Thank you! LilyPond ist called, but your approach of including the LaTeX file fails, since you don’t define \linebreak from:

Re: [NTG-context] Itemize right-aligned

2011-08-22 Thread Wolfgang Schuster
Hi, is it possible to right-align enumerations? Giving something like the following This is the first item * A somewhat longer second item * A short third item * Thanks Erik No but you can use descriptions to get this output: \definedescription [myitem]

Re: [NTG-context] Lilypond

2011-08-22 Thread Aditya Mahajan
On Mon, 22 Aug 2011, Henning Hraban Ramm wrote: Am 2011-08-22 um 03:53 schrieb Aditya Mahajan: @Hraban: Long story short, the filter module is working again. Can you test the dev branch from the latest git version? Thank you! LilyPond ist called, but your approach of including the LaTeX file

[NTG-context] arbitrary tex-code in xml?

2011-08-22 Thread Thomas A. Schmitz
Hi all, must be the heat here in Germany - I'm all out of ideas, and I have no example yet. Maybe someone can help: is it possible to define an xml setup that will run arbitrary tex code? Something like this (obviously pseudo-code): in a TeX file MyInputs.tex which will be loaded at

Re: [NTG-context] arbitrary tex-code in xml?

2011-08-22 Thread Hans Hagen
On 22-8-2011 18:02, Thomas A. Schmitz wrote: Hi all, must be the heat here in Germany - I'm all out of ideas, and I have no example yet. Maybe someone can help: is it possible to define an xml setup that will run arbitrary tex code? Something like this (obviously pseudo-code): I know that I

Re: [NTG-context] arbitrary tex-code in xml?

2011-08-22 Thread Thomas A. Schmitz
On 08/22/2011 07:19 PM, Hans Hagen wrote: I know that I should refuse to answer questions without a minimal example ... I'm pretty sure that your students can't use the heat-wave excuse. You're right, of course, for educational purposes... As for my students: they use the weirdest excuses

Re: [NTG-context] arbitrary tex-code in xml?

2011-08-22 Thread Hans Hagen
On 22-8-2011 19:31, Thomas A. Schmitz wrote: Excellent, it must be less hot in Hasselt then... Thanks for the no, also hot example, and for the solution! So \processTEXbuffer will end up in the core? yes, already put in Hans

[NTG-context] please fix command reference links on contextgarden

2011-08-22 Thread Philipp A.
it does *still* not work. the fuction is defined as such: function show_command(URL) { open_window().location.href='http://texshow.contextgarden.net/cmd/' + URL; } and thus redirects to some url under http://texshow.contextgarden.net/. but no matter what that url is, the subdomain

Re: [NTG-context] please fix command reference links on contextgarden

2011-08-22 Thread Mojca Miklavec
On Mon, Aug 22, 2011 at 21:14, Philipp A. wrote: it does still not work. the fuction is defined as such: function show_command(URL) { open_window().location.href='http://texshow.contextgarden.net/cmd/' + URL; } and thus redirects to some url under

Re: [NTG-context] please fix command reference links on contextgarden

2011-08-22 Thread Philipp A.
Can you please provide more details of course how can we reproduce the problem go to e.g. http://wiki.contextgarden.net/Quotes and click on a command link, e.g. *single quotes* \quote{some text} in the wiki, the fake link on \quote is a real one, calling javascript:show_command('quote') on

Re: [NTG-context] please fix command reference links on contextgarden

2011-08-22 Thread Mojca Miklavec
On Mon, Aug 22, 2011 at 21:53, Philipp A. wrote: and where is that function? the function can be found in http://wiki.contextgarden.net/index.php?title=-action=rawsmaxage=0gen=jsuseskin=monobook270, which is loaded in the head of each contextgarden wiki page. Thank you. It was a very nasty

Re: [NTG-context] please fix command reference links on contextgarden

2011-08-22 Thread Philipp A.
2011/8/22 Mojca Miklavec mojca.miklavec.li...@gmail.com Thank you. It was a very nasty one to find, it is located here: http://wiki.contextgarden.net/MediaWiki:Monobook.js I fixed the link now, but we probably need to remove javascript alltogether and just create a normal link. Mojca