[NTG-context] Hidden chapter header? ... was: Change counter of chapters

2015-04-17 Thread Jaroslav Hajtmar
ction).  It is possible in a similar way as I set the start page number set also the counter of chapters (sections)? Thanx for help. Jaroslav Hajtmar Here is my minimal example: \starttext %\hiddenchapter{Fictive chapter} %\hiddenchapter{Fictive chapter} %\hiddenchapter{Fictive ch

Re: [NTG-context] Hidden chapter header? ... was: Change counter of chapters

2015-04-18 Thread Jaroslav Hajtmar
no condemnation to me, but to someone else:-). Greeting Jaroslav Hajtmar From: "ntg-context" ntg-context-boun...@ntg.nl To: "mailing list for ConTeXt users" ntg-context@ntg.nl Cc: Date: Sat, 18 Apr 2015 09:23:51 +0200 Subject: Re: [NTG-context] Hidden chapter header? ... wa

[NTG-context] ConTeXt installation problem with Windows 8.1

2015-04-28 Thread Jaroslav Hajtmar
Hello ConTeXist. I tried to install standalone ConTeXt (64 bit. Version) into the new installation of Windows 8.1 During installation, I encounter a message about missing DLL library (at first MSVCR100.DLL, after insert this library next error message.). Does anyone have a similar experience? re

Re: [NTG-context] ConTeXt installation problem with Windows 8.1

2015-04-29 Thread Jaroslav Hajtmar
. 8.1 and probably even different versions (Home, Professional, Enterprise ???). Thanx Jaroslav Hajtmar Od: "ntg-context" ntg-context-boun...@ntg.nl Komu: "mailing list for ConTeXt users" ntg-context@ntg.nl Kopie: Datum: Wed, 29 Apr 2015 11:30:18 +0200 Předmet: Re: [

Re: [NTG-context] ConTeXt installation problem with Windows 8.1

2015-04-29 Thread Jaroslav Hajtmar
Thanx Mojca.When I downloaded Your ZIP file, then the installation has been completed without any problems and everything works as it should. Thanks again. Jaroslav Hajtmar Od: "ntg-context" ntg-context-boun...@ntg.nl Komu: "mailing list for ConTeXt users" ntg-context@ntg.n

[NTG-context] Problem with rfc4180splitter in last beta?

2015-06-15 Thread Jaroslav Hajtmar
Jaroslav Hajtmar Here is my minimal version of problematic example: % csvfile.txt content: % first,second,third,fourth % 1,"2","3","4" % "a","b","c","d" % "foo","bar""baz","boogie",&q

Re: [NTG-context] Problem with rfc4180splitter in last beta?

2015-06-15 Thread Jaroslav Hajtmar
After I read my e-mail the I cut more my source code and I am sending now more minimalized version of minimal example Sorry, Jaroslav Hajtmar Here is another minimal version: % csvfile.txt content: % first,second,third,fourth % 1,"2","3","4" % "a"

Re: [NTG-context] Problem with rfc4180splitter in last beta?

2015-06-15 Thread Jaroslav Hajtmar
Hi Hans. Once again. It occurred to me to send a minimum Hans's example. When I compile with new beta version are the results the same for header and noheader versions, while a compilation of TL 2014 Contex proceeds differently. Jaroslav Hajtmar \starttext % csvfile.txt content: %

[NTG-context] Problem with rfc4180splitter in last beta (sticking point was found... maybe)

2015-06-15 Thread Jaroslav Hajtmar
change these lines and regenerate ConTeXt format then suddenly it works as expected. Of course, you will probably need to make some adjustments depending on your idea of a line 533rd. I hope this information helps a little in search of a problem. Jaroslav Hajtmar Dne 15. 6. 2015 v 10:45

Re: [NTG-context] Problem with rfc4180splitter in last beta (sticking point was found... maybe)

2015-06-15 Thread Jaroslav Hajtmar
Thanx Hans very much. It works fine now. Jaroslav Hajtmar Dne 15. 6. 2015 v 21:40 Hans Hagen napsal(a): On 6/15/2015 8:22 PM, Jaroslav Hajtmar wrote: Hello Hans. I tried to find differences in beta compared to a fully functional version of the TL 2014 and I found two changes in the file

Re: [NTG-context] conTeXt Mkiv: the number of parameters can not be more than 9?

2015-07-04 Thread Jaroslav Hajtmar
\readparameters\parameters \dorecurse{16}{parameter \recurselevel is : \var{param\recurselevel}\crlf} \stoptext Jaroslav Hajtmar Dne 5. 7. 2015 v 3:55 土卜皿 napsal(a): hi, all For testing, I have a definition: |\define[9]\DEFINETEST{#1,#2,#3,#4,#5,#6,#7,#8,#9}| |context test| can work fine

[NTG-context] Using lua to define a macro with one optional parameter in brackets

2015-07-08 Thread Jaroslav Hajtmar
/Definitions_and_Assignments), but each time I broke a tooth on it. Can you, please, someone advise how something can be it done? Suffice some reference to solve a similar problem. Thanks Jaroslav Hajtmar Here is my minimal example: \starttext \def\lastname{\dosingleempty\dolastname} \def

Re: [NTG-context] Using lua to define a macro with one optional parameter in brackets

2015-07-08 Thread Jaroslav Hajtmar
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 Ha

Re: [NTG-context] Using lua to define a macro with one optional parameter in brackets

2015-07-08 Thread Jaroslav Hajtmar
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

Re: [NTG-context] Using lua to define a macro with one optional parameter in brackets

2015-07-08 Thread Jaroslav Hajtmar
context['do'..xlsname]() end }) } % \A[5] % % % \A \stoptext Dne 8. 7. 2015 v 13:28 Taco Hoekwater napsal(a): On 08 Jul 2015, at 13:04, Jaroslav Hajtmar wrote: Hi Taco. full deployment is unfortunately not working. Unfortunately I need to cycle create different macro

Re: [NTG-context] Using lua to define a macro with one optional parameter in brackets

2015-07-08 Thread Jaroslav Hajtmar
be done differently? Thanks Jaroslav Hajtmar Here is minimal example: \ctxlua{ xlsname='A' content='content when parameter is missing' context([[\definecomplexorsimple\]]..xlsname) %context([[\def\simple]]..xlsname..[[{]]..content..[[}]]) %context([[\def\complex]]..xlsname.

Re: [NTG-context] Using lua to define a macro with one optional parameter in brackets

2015-07-08 Thread Jaroslav Hajtmar
nd also to other counselors too at the conference for their cooperation in solve my problems. Jaroslav Hajtmar Dne 8. 7. 2015 v 20:54 Hans Hagen napsal(a): 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

Re: [NTG-context] Using lua to define a macro with one optional parameter in brackets

2015-07-09 Thread Jaroslav Hajtmar
tried to use it, but somehow I can not realize what I wanted. Not available somewhere a minimal example? I tried to scan codes in the folder with the installation of ConTeXt, but I never encountered a working example of where you could bounce. Thanks Jaroslav Hajtmar Dne 9. 7. 2015 v 11:07 Hans

Re: [NTG-context] Using lua to define a macro with one optional parameter in brackets

2015-07-10 Thread Jaroslav Hajtmar
write a macro with one or more parameters? Now the parameter in square brackets displayed together with the contents of the macro. You can do this at all? It would get any minimal example? Thanks again for your support. Jaroslav Hajtmar Dne 9. 7. 2015 v 17:24 Hans Hagen napsal(a): On 7/9/2015

Re: [NTG-context] Using lua to define a macro with one optional parameter in brackets

2015-07-13 Thread Jaroslav Hajtmar
write a macro with one or more parameters? Now the parameter in square brackets displayed together with the contents of the macro. You can do this at all? It would get any minimal example? Thanks again for your support. Jaroslav Hajtmar Dne 9. 7. 2015 v 17:24 Hans Hagen napsal(a): On 7/9/2015

[NTG-context] Dig out contents of the TeX macro using Lua

2015-07-14 Thread Jaroslav Hajtmar
y: Is there any alternative how using Lua somehow easily evaluate the macro content? For example to determine whether two different macros have the same content? Jaroslav Hajtmar here is minimal example: \starttext This works as expected: \def\makrowithcontent{} \edef\testparame

[NTG-context] \doifnotmodeelse - undefined control sequence error?

2015-09-15 Thread Jaroslav Hajtmar
Hello ConTeXist. I do not know if I'm not mistake somewhere, but it seems to me that the macro \doifnotmodeelse does not work. Can anyone verify this? Jaroslav Hajtmar Here is a simple example: \enablemode[mymode] % \disablemode[mymode] \starttext \startmode[mymode] mode '

Re: [NTG-context] \doifnotmodeelse - undefined control sequence error?

2015-09-15 Thread Jaroslav Hajtmar
Thanx to Wolfgang and Aditya too, I was a little confused, because in wiki is this command mentioned. Thanx for explanation and correction in wiki too. Jaroslav Hajtmar Dne 15. 9. 2015 v 15:49 Aditya Mahajan napsal(a): On Tue, 15 Sep 2015, Wolfgang Schuster wrote: Jaroslav Hajtmar

[NTG-context] Next problem with rfc4180splitter()

2015-09-28 Thread Jaroslav Hajtmar
where, or is something else wrong with the splitter? Thanx Jaroslav Hajtmar Here is minimal example: \starttext % mycsvfile.txt content one column data without separator: % a % b % c % d % e % f % myothercsvfile.txt content two columns data: % a,1 % b,2 % c,3 % d,4 % e,5 % f,6 \startluacode

[NTG-context] Error notification on the wiki (Loops_and_Recursion)

2015-09-28 Thread Jaroslav Hajtmar
, that these macros are not defined. Or I make anything wrong? Jaroslav Hajtmar ___ 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

[NTG-context] Instalation ConTeXt to MAC - newbie problem

2016-01-17 Thread Jaroslav Hajtmar
ise how to perform the installation? There is an option to download the installation package and install ConTeXt differently? Thanks for replies. Jaroslav Hajtmar ___ If your question is of interest to others as well,

Re: [NTG-context] Instalation ConTeXt to MAC - newbie problem

2016-01-17 Thread Jaroslav Hajtmar
ing inside your home directory should be safe. Also, as a general precaution, make sure the path to your installation directory doesn’t contain unusual characters. Matthias On Jan 17, 2016, at 7:19 AM, Jaroslav Hajtmar wrote: Hello ConTeXist. I am trying to install a standalone ConTeXt on MacB

Re: [NTG-context] Instalation ConTeXt to MAC - newbie problem

2016-01-17 Thread Jaroslav Hajtmar
ws PC installation. Running at (for me) an unfamiliar OS-X it is for me still long run (but adventurous) :-). However installation on my MAC is currently commissioned and operational. Thanks for the advices. Jaroslav Hajtmar Dne 17.01.16 v 14:38 Otared Kavian napsal(a): Hello Jaroslav, Here is

Re: [NTG-context] Instalation ConTeXt to MAC - newbie problem

2016-01-17 Thread Jaroslav Hajtmar
it's all OK. Thanks for the advice, perhaps maybe I'll ever for you further advice about ConTeXt on OS-X. Jaroslav Hajtmar Dne 17.01.16 v 17:57 Otared Kavian napsal(a): Hi Jaroslav, On Mac, you can use TeXShop and your standalone Context very easily. First create a specific « .engine

[NTG-context] Problem with rfc4180splitter

2016-01-27 Thread Jaroslav Hajtmar
anybody that somehow did change the functionality of this script and aproximatelly in which date? The script is the cornerstone of my library and I need to find out what had changed in him. I want figure out what the problem is. Thanx very much for help Jaroslav Hajtmar

[NTG-context] Last version standalone ConTeXt issue.

2016-02-09 Thread Jaroslav Hajtmar
token.csname_name(token.create(macroname)) == macroname then return true else return false end end Is there any alternative (ConTeXt like), which is should be possible use in Lua code? Thanx Jaroslav Hajtmar

Re: [NTG-context] Last version standalone ConTeXt issue.

2016-02-09 Thread Jaroslav Hajtmar
Thanx Hans. Great! It works fine now! For me it is very useful and important macro. One more thanx for reply. Jaroslav Hajtmar Dne 09.02.16 v 19:50 Hans Hagen napsal(a): On 2/9/2016 1:28 PM, Jaroslav Hajtmar wrote: Hello ConTeXist. In the latest version ConTeXt it stopped working my macros

[NTG-context] Usedirectory and paths in OSX and Windows

2016-02-15 Thread Jaroslav Hajtmar
a complete beginner MAC OSX and although I advanced user of Windows, then some basic things in OSX yet I reveal hardly. Thanx Jaroslav Hajtmar ___ If your question is of interest to others as well, please add a

Re: [NTG-context] For the Mac users: AppleScript to launch ConTeXt in a flexile way

2016-03-23 Thread Jaroslav Hajtmar
Thanks Thomas for the link. For me it will be helpful. Jaroslav Hajtmar Dne 24.03.16 v 5:13 Thomas Floeren napsal(a): Hi, A small fix for the Typeset Tool: 1.2.5 (64) / 2016-03-22 Notifications now working on El Capitan (10.11). http://dflect.net/context-typeset-tool/ Best, -- Tom

[NTG-context] Updating ConTeXt standalone problem on Mac OS X

2016-04-26 Thread Jaroslav Hajtmar
failed: Permission denied (13) etc.... Thanx Jaroslav Hajtmar ___ 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/

Re: [NTG-context] Updating ConTeXt standalone problem on Mac OS X

2016-04-26 Thread Jaroslav Hajtmar
Thanks Monca and Hans for the reply. I deleted the entire installation tree and I installed again the entire ConTeXt and it seems that everything is already OK. Jaroslav Hajtmar Dne 26.04.16 v 11:34 Mojca Miklavec napsal(a): On 26 April 2016 at 11:21, Jaroslav Hajtmar wrote: Hello

[NTG-context] Strange bug in the latest version of ConTeXt

2016-04-26 Thread Jaroslav Hajtmar
moment I am not able to reveal the mistake to be able make a minimal example. Some of the older versions (not necessarily penultimate) worked without problems. Is there someone who help me start look from which point look for a mistake in my code library? Thanks for

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-04-30 Thread Jaroslav Hajtmar
this type is not recommended, however, I was surprised that in a previous version of standalone ConTeXt the bug did not show. Is there any changes in code, which is related with tables typing? Thanks Jaroslav Hajtmar Here is minimal example: \starttext \starttable[|l w50mm|c|] \NC \NC

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-05-01 Thread Jaroslav Hajtmar
Thanx Wolfgang for the correction of my code. This error is probably more than 8 years old (inside predefined macros in any old library code). ConTeXt was all existing time generously tolerant for my bug :-). One more thanx for their fix. Jaroslav Hajtmar Dne 01.05.16 v 9:50 Wolfgang

Re: [NTG-context] Ideas for restructuring the ConTeXt garden?

2011-03-12 Thread Jaroslav Hajtmar
Hello ConTeXist. I installed ConTeXt minimals until pretty late. Before, I used the context in the TeXLive. For a long time I really thought that Minimals are "incomplete" versions of minimal and that there was something more. I was very pleasantly surprised at how easily Minimals installed an

[NTG-context] \placecontent (\placemylist) problem in last beta

2011-06-20 Thread Jaroslav Hajtmar
Hello ConTeXist. When I create my own list of content, so there is a repetition of chapter numbers in the list of contents. Is it a bug in last minimals? In previous versions it worked OK! Thanx Jaroslav Here is my minimal example: \definelist[Ichap] \definelist[IIchap] \definecombinedlis

Re: [NTG-context] \placecontent (\placemylist) problem in last beta

2011-06-20 Thread Jaroslav Hajtmar
Thanx Wolfgang. It is working OK now. Surprised me that in previous versions it was OK. Jaroslav Dne 20.6.2011 23:17, Wolfgang Schuster napsal(a): Am 20.06.2011 um 23:12 schrieb Jaroslav Hajtmar: Hello ConTeXist. When I create my own list of content, so there is a repetition of

[NTG-context] List of bibliography problem in mkiv minimals

2011-06-20 Thread Jaroslav Hajtmar
Hello ConTeXist again, I found an irregularity in the functioning of the latest minimals beta version and earlier versions. When a create list of bibliography (in a my little special format), then item numbers are aligned left, whereas previously been aligned to the right. In addition, the num

Re: [NTG-context] \placecontent (\placemylist) problem in last beta

2011-06-20 Thread Jaroslav Hajtmar
and occasionally I encounter any problems... Jaroslav Dne 20.6.2011 23:58, Hans Hagen napsal(a): On 20-6-2011 11:29, Jaroslav Hajtmar wrote: Thanx Wolfgang. It is working OK now. Surprised me that in previous versions it was OK. wat previous versions? definehead has always defined lists

[NTG-context] Change the appearance of a list of bibliography (\placepublications)

2011-06-21 Thread Jaroslav Hajtmar
Hello ConTeXtist. Is there any possibility to influence the appearance of a list of bibliography when I make it in MKIV minimals using the command \placepublications? I am thinking in particular spacing, stoppers etc. Specifically, I need to change the alignment of reference items and increas

Re: [NTG-context] Bibliography is not working

2011-06-22 Thread Jaroslav Hajtmar
Hello Yoraxe, what about this: \setupbibtex[database=bib] \starttext Citation: \cite[booklet] \placepublications[criterium=all] \stoptext Dne 22.6.2011 23:10, yoraxe napsal(a): Hey, Typing \setupbibtex[database=bib] \starttext \completepublications \stoptext with bib.bib: @BOOKLET{boo

Re: [NTG-context] Bibliography is not working

2011-06-23 Thread Jaroslav Hajtmar
It is strange. I compiled it by 1) latest minimals 2) ConTeXt (MKIV) in TeXLive 2010. (LuaTeX, Version beta-0.60.2-2010071421 (Web2C 2010) (rev 3736) ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.9.21 int: english/english and in both cases it was fine... (I really tried) Jaroslav Dne 23.6.

Re: [NTG-context] Bibliography is not working

2011-06-23 Thread Jaroslav Hajtmar
(a): Am 23.06.2011 11:37, schrieb Jaroslav Hajtmar: It is strange. I compiled it by 1) latest minimals 2) ConTeXt (MKIV) in TeXLive 2010. (LuaTeX, Version beta-0.60.2-2010071421 (Web2C 2010) (rev 3736) ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.9.21 int: english/english and in both cases

Re: [NTG-context] setuplist inherit margin and width

2011-06-23 Thread Jaroslav Hajtmar
Hello Wolfgang. I know that my question is a little off this topic, but: Is there any possibility change due this method affect appearance list typed using \placecontent (the gap between list items, alignment, etc.)? If I knew how to do it, maybe I found how to change appearance list of bibliog

[NTG-context] Influencing of horizontal arrangement of list of publications

2011-06-23 Thread Jaroslav Hajtmar
Hello ConTeXist, As is known, the layout of a list (of content) is determined by the values of alternative, margin, width and distance. Required values can be changed via commands \setuplist or \setupcombinedlist. Can somehow influence the horizontal arrangement of items in lists typed usin

Re: [NTG-context] Influencing of horizontal arrangement of list of publications

2011-06-27 Thread Jaroslav Hajtmar
for somebody. Jaroslav Dne 23.6.2011 21:49, Jaroslav Hajtmar napsal(a): Hello ConTeXist, As is known, the layout of a list (of content) is determined by the values of alternative, margin, width and distance. Required values can be changed via commands \setuplist or \setupcombinedlist. Can someh

[NTG-context] Optimal way to defining of macros in Luacode in ConTeXt

2011-07-12 Thread Jaroslav Hajtmar
Hello ConTeXist. How best (optimally) in Lua code in ConTeXt define own ConTeXt macros? I was used recently LuaTeX syntax (for example) : tex.sprint(tex.ctxcatcodes,'\\def\\mymacro\{arg of mymacro\}') But someone advised me that I use the better syntax: context('\\def\\Mymacro\{arg of mymacro\}

Re: [NTG-context] Optimal way to defining of macros in Luacode in ConTeXt

2011-07-13 Thread Jaroslav Hajtmar
s a LuaTeX parameter? Thanx Jaroslav Dne 12.7.2011 17:43, Hans Hagen napsal(a): On 12-7-2011 5:30, Jaroslav Hajtmar wrote: But someone advised me that I use the better syntax: context('\\def\\Mymacro\{arg of mymacro\}') or context("\\def\\test#1{#1}") etc...

Re: [NTG-context] Optimal way to defining of macros in Luacode in ConTeXt

2011-07-13 Thread Jaroslav Hajtmar
Great Hans, thanx very much for complete an exhaustive answer.. It very help me to solve my module Regards Jaroslav Dne 13.7.2011 11:55, Hans Hagen napsal(a): On 13-7-2011 10:05, Jaroslav Hajtmar wrote: Hello all. It is GREAT! Thanx Hans and Wolfgang too. It is very instructive and

Re: [NTG-context] Optimal way to defining of macros in Luacode in ConTeXt

2011-07-13 Thread Jaroslav Hajtmar
'#2')) etc... I want completely rewrite my entire module into LUA code (this means only lua file without TEX code) Thanx Jaroslav Dne 13.7.2011 14:56, Wolfgang Schuster napsal(a): Am 13.07.2011 um 12:05 schrieb Jaroslav Hajtmar: > Great > Hans, thanx very mu

Re: [NTG-context] Optimal way to defining of macros in Luacode in ConTeXt

2011-07-14 Thread Jaroslav Hajtmar
16:33, Wolfgang Schuster napsal(a): Am 13.07.2011 um 16:09 schrieb Jaroslav Hajtmar: Thanx Wolfgang, It looks very interesting... It can be used this method for example for macro definitions? It depends what you want to achieve, while you try to create many commands in the form \MacroXX

[NTG-context] Finding values ​​of the context macros inside Lua functions (=expansion inside Lua functions?)

2011-07-17 Thread Jaroslav Hajtmar
Hello all, For several hours trying to find solutions of problem. My minimal example (I mention it at the end of email) for clear reasons show, that : 7 is not number. 7 is number. 7is not number. 7is not number. In the first is argument '\value' negotiable to the value, in second it is n

Re: [NTG-context] Finding values ​​of the context macros inside Lua functions (=expansion inside Lua functions?)

2011-07-17 Thread Jaroslav Hajtmar
rg) end end \stopluacode \starttext \ctxlua{test("7")} \ctxlua{test("-4")} \ctxlua{test("text")} \def\macroI{6} \ctxlua{test("\macroI")} \ctxlua{test("\\macroI")} \stoptext Dne 17.7.2011 14:19, Wolfgang Schuster napsal(a): Am 17.0

Re: [NTG-context] Finding values ​​of the context macros inside Lua functions (=expansion inside Lua functions?)

2011-07-17 Thread Jaroslav Hajtmar
eXt, but without knowledge of his contents ... If you write that: Not possible. then it's not for me very good news, because I thus probably not my module to process only at the Lua language ... Thanx Jaroslav... Dne 17.7.2011 14:53, Wolfgang Schuster napsal(a): Am 17.07.201

Re: [NTG-context] Finding values ​​of the context macros inside Lua functions (=expansion inside Lua functions?)

2011-07-17 Thread Jaroslav Hajtmar
Thanx Wolfgang. It is a good example, which I will definitely come in handy sometimes, but unfortunately I can not help my problem to solve. Once again, many thanks Jaroslav Dne 17.7.2011 15:40, Wolfgang Schuster napsal(a): You can’t expand macro from Lua but the following is possible: \st

[NTG-context] How well do ConTeXt (lua)module for other users?

2011-07-19 Thread Jaroslav Hajtmar
Hello ConTeXist. I have done the module (for context), which is entirely written in Lua (ConTeXt definitions are done through Lua too). I wonder how it can be loaded into ConTeXt file. Have I to use the beginning of the file: \startluacode dofile ("my-module.lua") \stopluacode to loading

Re: [NTG-context] How well do ConTeXt (lua)module for other users?

2011-07-19 Thread Jaroslav Hajtmar
Great ... that's exactly what I needed ... Thanks very much Wolfgang. It can be somewhere on similar techniques to read more? Just links to some sample files to the dissected ... Thanks a lot Jaroslav Dne 19.7.2011 14:39, Wolfgang Schuster napsal(a): Am 19.07.2011 um 14:27 schrieb Jar

Re: [NTG-context] How well do ConTeXt (lua)module for other users?

2011-07-20 Thread Jaroslav Hajtmar
lude? Best regards Jaroslav Dne 19.7.2011 17:06, Wolfgang Schuster napsal(a): Am 19.07.2011 um 16:26 schrieb Jaroslav Hajtmar: Great ... that's exactly what I needed ... Thanks very much Wolfgang. It can be somewhere on similar techniques to read more? Just links to some samp

[NTG-context] Weirdness with the names of files processed

2011-07-26 Thread Jaroslav Hajtmar
m probably caused by my library, so it probably is not very important at this point because the problem is maybe a bit wider. Best regards Jaroslav Hajtmar Here is my minimal example. When the file called "list-aaa.tex" so everything is OK. When the file named "list+aaa.t

Re: [NTG-context] *****SPAM***** Re: Weirdness with the names of files processed

2011-07-26 Thread Jaroslav Hajtmar
Thanx Peter. Sure ... I don't use the problematic characters in file names for obvious reasons. It happened rather by accident when processing an older file. But I am surprised because sometimes it works well and sometimes not at all. Best regards Jaroslav Hajtmar Dne 26.7.2011

Re: [NTG-context] sorted phone directory

2011-08-02 Thread Jaroslav Hajtmar
better to have that list in an external file. I do these things with my scancsv.lua tool. Now I finishing module for ConTeXt. see http://public.hajtmar.com/?cesta=JRsVFQdsBhwIWyAGFFsAJkBJQURsAgsVByYcDREAKh0X Jaroslav Hajtmar Dne 2.8.2011 11:08, Johan Sandblom napsal(a): I am maintaining a

Re: [NTG-context] sorted phone directory

2011-08-02 Thread Jaroslav Hajtmar
Hello Johan, Certainly it is possible to combine solution of Wolfgang with retrieving data from an external file without having to sort the data by another application. Enough to define a simple ConTeXt macro that contains a piece of Lua code. Here my modification of Wolfgang last solution for

Re: [NTG-context] Smileys

2011-08-17 Thread Jaroslav Hajtmar
Hello Cecil ... Here is my simple tip. All you need is a font set, which are needed emoticons ... \def\numcharacter#1{\char#1{}} \let\dochar\numcharacter \definefont[wingding][wingding.ttf at 12pt] \starttext {\wingding \dochar{74}\dochar{75}\dochar{76}} \stoptext With greeting Jaroslav

Re: [NTG-context] Smileys

2011-08-18 Thread Jaroslav Hajtmar
Hajtmar Dne 17.8.2011 23:57, Wolfgang Schuster napsal(a): Am 17.08.2011 um 16:20 schrieb Cecil Westerhof: 2011/8/17 Jaroslav Hajtmar mailto:hajt...@gyza.cz>> Hello Cecil ... Here is my simple tip. All you need is a font set, which are needed emoticons ... \def\numchara

[NTG-context] Is there any change in processing of Projects, Product and Components?

2011-08-25 Thread Jaroslav Hajtmar
not load at all! It is necessary to explicitly specify the file extension? Why components (in separate files) into all the main project file do not load? Thanks Jaroslav Hajtmar ___ If your question is of interest

Re: [NTG-context] Is there any change in processing of Projects, Product and Components?

2011-08-25 Thread Jaroslav Hajtmar
this time, then compilation of project is OK... When I compiling by standalone version, then components are not loaded ... What is diference between those versions of context (in terms of processing projects) ?? Thanx Jaroslav Hajtmar Dne 26.8.2011 0:46, Jaroslav Hajtmar napsal(a): Hello

Re: [NTG-context] Is there any change in processing of Projects, Product and Components?

2011-08-25 Thread Jaroslav Hajtmar
Hello Hans, Thanks for the advice. Enough swap (change) \startproject ... \stopproject to \startproduct ... \stopproduct in the source file and everything runs just fine! Thanx Jaroslav Hajtmar Dne 26.8.2011 1:18, Hans Hagen napsal(a): On 26-8-2011 00:46, Jaroslav Hajtmar wrote: Hello

[NTG-context] Splitting of rotate table

2011-08-27 Thread Jaroslav Hajtmar
arrange some trick? Thanx Jaroslav Hajtmar Here is my minimal example: \setupTABLE[split=yes] \setupTABLE[row][first][background=color,backgroundcolor=gray] \setupTABLE[column][1][width=1cm] \setupTABLE[column][2][width=2cm] \setupTABLE[column][3][width=3cm] \setupTABLE[column][4][width=4cm

Re: [NTG-context] Splitting of rotate table

2011-08-28 Thread Jaroslav Hajtmar
part of the table. The remaining parts are moved partially off the page. Thanx Jaroslav Hajtmar Here is working example: \setupTABLE[split=yes] \setupTABLE[row][first][background=color,backgroundcolor=gray] \setupTABLE[column][1][width=1cm] \setupTABLE[column][2][width=2cm

Re: [NTG-context] Splitting of rotate table

2011-08-28 Thread Jaroslav Hajtmar
Hello ... To my previous mail I am sending minimal example of strange behavior of splitting rotated table: Can somehow be corrected? Jaroslav Hajtmar \definepapersize[paperportrait][A4] \definelayout[portrait][width=middle, topspace=5mm, header=1cm, footer=1.5cm, height=middle

[NTG-context] \setuplayout and splitted rotated tables

2011-08-29 Thread Jaroslav Hajtmar
y put the data at the corresponding position on the page by using layers? Or exist any way to do it using \setuplayout? Thanx Jaroslav Hajtmar Here is my example: % http://source.contextgarden.net/page-lay.mkiv %\showframe \definepapersize[paperportrait][A4] \definepapersize[paperlandscap

[NTG-context] Bug in links in the list of splitted tables (standalone ver. only)?

2011-09-03 Thread Jaroslav Hajtmar
of TeX live 2010 (ConTeXt ver: 2011.07.26 09:17 MKII fmt: 2011.7.26) then everything is fine. Is it a bug or I something wrong? Thanx Jaroslav Hajtmar Here is my minimal example: \setupcolors[state=start] \setupinteraction[state=start,color=blue] \def\parenttable{{\bTABLE\dorecurse{60

[NTG-context] Blank lines inside verbatim environment

2011-09-28 Thread Jaroslav Hajtmar
lines is replaced by a single blank line (for obvious reasons). I tried to experiment with the settings \setuptyping, but without success. Thanx Jaroslav Hajtmar Here is my minimal example : \definetyping[mytyping][color=blue, style=type, option=, blank=line, space=fixed]% \starttext

Re: [NTG-context] Project structure and modes

2011-11-12 Thread Jaroslav Hajtmar
Hello, Hans. Did not make a change now (in project structure)? I've updated an thirty minutes ago ConTeXt and stopped me working translation of things that I have a few days in order compiled. It is possible to go some way older install standalone ConTeXt? Thanx Jaroslav Here is compilati

Re: [NTG-context] Project structure and modes

2011-11-12 Thread Jaroslav Hajtmar
OK... thanx I'm sorry to bother you., but give the corrected version to download soon? I am not working at the moment the project. Thanks Jaroslav. Dne 12.11.2011 13:46, Hans Hagen napsal(a): On 12-11-2011 13:03, Jaroslav Hajtmar wrote: Hello, Hans. Did not make a change now (in pr

Re: [NTG-context] Project structure and modes

2011-11-13 Thread Jaroslav Hajtmar
ject ! ==> Fatal error occurred, no output PDF file produced!^ Dne 12.11.2011 13:59, Hans Hagen napsal(a): On 12-11-2011 13:55, Jaroslav Hajtmar wrote: OK... thanx I'm sorry to bother you., but give

Re: [NTG-context] Project structure and modes

2011-11-13 Thread Jaroslav Hajtmar
Thanks Wolfgang, but unfortunately for me it still does not work... Jaroslav Dne 13.11.2011 14:13, Wolfgang Schuster napsal(a): -\def\resetsystemmode#1% +\def\popsystemmode#1% {\ifcsname\@mode@:\systemmodeprefix#1\endcsname \expandafter\popmacro\csname\@mode@:\systemmodeprefix#1\endcsn

Re: [NTG-context] Project structure and modes

2011-11-13 Thread Jaroslav Hajtmar
:43, Wolfgang Schuster napsal(a): Am 13.11.2011 um 14:38 schrieb Jaroslav Hajtmar: Thanks Wolfgang, but unfortunately for me it still does not work… Minimal example: \startcomponent test \input knuth \stopcomponent With the current beta this fails but after I changed \def

Re: [NTG-context] Combinations without any vertical space

2011-11-23 Thread Jaroslav Hajtmar
Hello ConTeXist. The thing I'm interested. It is possible to achieve that arose at the bottom of an emptyspace and was fully utilized the entire page? Here is an minimal example: \definecombination [overviewpage] [distance=\zeropoint, inbetween=, ] \setuplayout[page] \startTEX

[NTG-context] Change the gap between image and caption

2011-11-25 Thread Jaroslav Hajtmar
Hello ConTeXt folks. Is it possible to adjust the size of the gap between the lower edge of the picture and its caption in simple externalfigure command? By experimenting I found that this gap can be set in a floating environment (placefigure) using "inbetween" parameter. Is there possibilitie

Re: [NTG-context] Change the gap between image and caption

2011-11-25 Thread Jaroslav Hajtmar
are in a "startcombinations" block and not a figure environement, try this: \setupcombinations[inbetween={\blank[1cm]}] -Ursprüngliche Nachricht- Von: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] Im Auftrag von Jaroslav Hajtmar Gesendet: Freitag, 25. Nov

Re: [NTG-context] Change the gap between image and caption

2011-11-26 Thread Jaroslav Hajtmar
ntext-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] Im Auftrag von Jaroslav Hajtmar Gesendet: Freitag, 25. November 2011 20:54 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Change the gap between image and caption Hello Christian. Thank you. For the entire block of images it works w

Re: [NTG-context] captions trouble

2011-11-26 Thread Jaroslav Hajtmar
Hello Hans, My tip is use \setupcaptions[number=yes, suffix=\hskip5mm] I do not know whether it is a clean solution, but visually it looks OK. Probably will need to determine the exact size of \hskip parameter. Jaroslav \setuppapersize[A6][A6] \starttext \placefigure[][fig:1]{label with spa

Re: [NTG-context] Columnsets: bug in current beta?

2011-11-27 Thread Jaroslav Hajtmar
Hello Peter. I have a similar experience. If image width is greater than the width of one column and at the same time is a picture with the caption then text does not wrap around the image. If the picture is without caption (for example \placefigure[btrl,none]{}{...}) then everything works fine

[NTG-context] Passing TeX parameters to the lua functions

2011-12-05 Thread Jaroslav Hajtmar
Hello ConTeXist. Sorry for the beginner question, more for Lua(TeX) experts. Can somehow be achieved that the parameter of TeX macro get to luafunction unchanged? In the debug.txt file is the result obtained. Thanx Jaroslav \startluacode debug=io.open("debug.txt","w+") function testfun(param)

Re: [NTG-context] Passing TeX parameters to the lua functions

2011-12-05 Thread Jaroslav Hajtmar
Thanx Wolfgang. In ConTeXt this solution works well. Exist any similar solution in pure LuaTeX? I need solve one problem in pure LuaTeX. But solutions in Context I will also throw - thanx. Jaroslav Dne 5.12.2011 21:33, Wolfgang Schuster napsal(a): Am 05.12.2011 um 21:22 schrieb Jaroslav

Re: [NTG-context] Passing TeX parameters to the lua functions

2011-12-05 Thread Jaroslav Hajtmar
Great, great, great... It works very well Thanx very much... Jaroslav Dne 5.12.2011 22:08, Wolfgang Schuster napsal(a): Am 05.12.2011 um 22:06 schrieb Jaroslav Hajtmar: Thanx Wolfgang. In ConTeXt this solution works well. Exist any similar solution in pure LuaTeX? I need solve one

[NTG-context] Problem with Lua processing UTF8 substrings

2012-02-01 Thread Jaroslav Hajtmar
(orig_pos) string.lenutf8(string), but without success. Can you please someone help? Thanks Jaroslav Hajtmar Here is my minimal example: \def\mymacro#1{\ctxlua{for i=1, string.len('#1') do context(string.sub('#1',i,i)..", ") end}} \starttext %\mymacro{šěřěžř

Re: [NTG-context] Problem with Lua processing UTF8 substrings

2012-02-01 Thread Jaroslav Hajtmar
Hello Philipp. Thanx very much for very quick and perfect help. Is there any manual or source, where I can read these (and next and similar) information? One more thanx Jaroslav Hajtmar Dne 1.2.2012 21:05, Philipp Gesang napsal(a): \def\mymacro#1{% \startluacode local utf

Re: [NTG-context] Problem with Lua processing UTF8 substrings

2012-02-01 Thread Jaroslav Hajtmar
Thanx Philipp! It just - I do not mind studying the code ... Many thanx. Jaroslav Dne 1.2.2012 21:35, Philipp Gesang napsal(a): On 2012-02-01 21:17, Jaroslav Hajtmar wrote: Hello Philipp. Thanx very much for very quick and perfect help. Is there any manual or source, where I can read

[NTG-context] Problem with \writebetweenlist

2012-02-24 Thread Jaroslav Hajtmar
with expansion ?? What could it be? Thanx Jaroslav Hajtmar Here is my "problematic" macro and error report: When I delete the rows with "\writebetweenlist" then everything is OK. \def\rtitle[#1][#2] #3\par{\reference[#2]{#3}% \writebetweenlist[#1kap]{\blank}% \wr

Re: [NTG-context] Problem with \writebetweenlist

2012-02-24 Thread Jaroslav Hajtmar
Thanks Hans for the reply. Can you please advise where to stop this group? That is where to put \endgroup? I can not find this place... Thanks Jaroslav Hajtmar Dne 24.2.2012 22:58, Hans Hagen napsal(a): On 24-2-2012 12:34, Jaroslav Hajtmar wrote: Hello ConTeXist, Just a minute ago I

[NTG-context] Collision of sectioning and bibliography?

2012-02-25 Thread Jaroslav Hajtmar
\section{} or \title{} commands), bibliography stops working and the error will appear in the bibliography links (Error2) and a list of the bibliography does not list. What I am doing wrong? Thanx Jaroslav Hajtmar Here is my minimal example: \setupbibtex[database={samplebib}] \setuppublications

Re: [NTG-context] Problem with \writebetweenlist

2012-02-25 Thread Jaroslav Hajtmar
] Section Three \stoptext Dne 25.2.2012 8:24, Wolfgang Schuster napsal(a): Am 24.02.2012 um 23:19 schrieb Jaroslav Hajtmar: Thanks Hans for the reply. Can you please advise where to stop this group? That is where to put \endgroup? I can not find this place… You don’t \endgroup because

Re: [NTG-context] Problem with \writebetweenlist

2012-02-25 Thread Jaroslav Hajtmar
Just one a notice. Using the standalone version can not be resolved even Hans's example in wikipedia at http://wiki.contextgarden.net/Reference/en/writebetweenlist Jaroslav Hajtmar Dne 25.2.2012 12:02, Jaroslav Hajtmar napsal(a): Thanx Wolfgang for reply, but it does not work still.

<    1   2   3   4   >