On 08 Jul 2015, at 11:05, Jaroslav Hajtmar hajt...@gyza.cz wrote:
Hello ConTeXist.
Within the one very complex problem I need to solve the following case. I
want using lua code to define a macro with one optional parameter in brackets.
Simplest solution I know is this:
\startluacode
On 08 Jul 2015, at 13:58, Jaroslav Hajtmar hajt...@gyza.cz wrote:
Thanx Taco for reply.
the minimal example see bellow not crashed, but \A macro is not created.
I don't Know in what could still be a problem. Example I am even more
minimalize
It works for me after changing \directlua {}
On 08 Jul 2015, at 13:04, Jaroslav Hajtmar hajt...@gyza.cz wrote:
Hi Taco.
full deployment is unfortunately not working.
Unfortunately I need to cycle create different macros whose names are
variable. At this moment I can not deal with this:
--- context.doxlsname() --- ?
Hi Taco.
full deployment is unfortunately not working.
Unfortunately I need to cycle create different macros whose names are
variable. At this moment I can not deal with this:
--- context.doxlsname() --- ?
Thanx Jaroslav Hajtmar
here is another minimal example:
\starttext
Thanx Taco for reply.
the minimal example see bellow not crashed, but \A macro is not created.
I don't Know in what could still be a problem. Example I am even more
minimalize
Thanx Jaroslav
\starttext
\directlua{
xlsname='A'
interfaces.definecommand ('do'..xlsname, {
arguments = {
Hello ConTeXist.
Within the one very complex problem I need to solve the following case.
I want using lua code to define a macro with one optional parameter in
brackets. I tried it using commands context.setgvalue, or find something
on the wiki
Thanks Taco,
your solution helped me ... Based on initial tests, it seems that it
works correctly. I'll know more after thorough testing.
Once again, thank you many times.
Sincerely Jaroslav Hajtmar
Dne 8. 7. 2015 v 12:07 Taco Hoekwater napsal(a):
On 08 Jul 2015, at 11:05, Jaroslav Hajtmar
Hello,
I also tried one of the ConTeXt suite test files, namely:
test\doc\context\tests\mkiv\bibtex\components-002.tex
where I just commented two lines, so I got:
% Was: components-001.tex
% \endinput % to be adapted
% adapted example from list
\startpublication[
k=me,
Dear all!
I want to define a command that is to be used in a section title. Also I
want to use \autoinsertnextspace with this command. In the following MWE,
why do \This and \AName not work, while \TEX does work?
I appreciate any feedback,
Christoph
MWE:
\setupinteraction[state=start]
Thanks Taco very much.
At this point, it really works in simple situations, but in the event
that this solution will incorporate into the existing system, then I
have big problems with expansion (values are not updated in macros). I
need more solutions using something like context.setgvalue,
Hello,
On Wed, 08 Jul 2015 20:53:10 +0200, Hans Hagen pra...@wxs.nl wrote:
On 7/8/2015 4:06 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
I also tried one of the ConTeXt suite test files, namely:
test\doc\context\tests\mkiv\bibtex\components-002.tex
where I just commented two
Hi Hans.
Only for explanation of my (maybe) crazy request:
I can not at this level TeX macros to create, because it creates
automatically after opening the CSV file. Although I tried to start
creating something with \ csname \ endcsname etc. but my experiments
with this method were never
On 7/8/2015 4:06 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
I also tried one of the ConTeXt suite test files, namely:
test\doc\context\tests\mkiv\bibtex\components-002.tex
where I just commented two lines, so I got:
% Was: components-001.tex
% \endinput % to be adapted
On 7/8/2015 4:11 PM, Jaroslav Hajtmar wrote:
Thanks Taco very much.
At this point, it really works in simple situations, but in the event
that this solution will incorporate into the existing system, then I
have big problems with expansion (values are not updated in macros). I
need more
On 7/8/2015 4:18 PM, Christoph Reller wrote:
Dear all!
I want to define a command that is to be used in a section title. Also I
want to use \autoinsertnextspace with this command. In the following
MWE, why do \This and \AName not work, while \TEX does work?
I appreciate any feedback,
Christoph
15 matches
Mail list logo