Re: [NTG-context] "Page-breakable" \subsubsubject?

2010-10-12 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Thanks, it works perfectly. On Tue, 12 Oct 2010 10:18:54 +0200, Wolfgang Schuster wrote: Am 12.10.2010 um 09:13 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, I'd have one more question. I need to have many \subsubject behind each other (again: actually processing an ext

[NTG-context] "Page-breakable" \subsubsubject?

2010-10-12 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'd have one more question. I need to have many \subsubject behind each other (again: actually processing an external file, but a small example is attached): --- \setupbodyfont[11pt] \starttext \subsubsubject{001} \subsubsubject{002} \subsubsubject{003} \subsubsubject{004} \s

Re: [NTG-context] Problem typing file with diacritics by \typefile

2010-10-11 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Tue, 12 Oct 2010 08:45:25 +0200, Peter Münster wrote: I would suggest to configure your environment (editor and so on) to use only utf8. It's a problem as the file which is \typefiled is generated by another program and I have no control of which characters or which encoding it uses. All

[NTG-context] Problem typing file with diacritics by \typefile

2010-10-11 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I have problem. Suppose having t-TypeF.ctx which is to print itself: --- \enableregime[cp1250] \starttext ABC ŽŠČ \typefile[]{t-TypeF.ctx} \stoptext --- The letters "ŽŠČ" to be printed during \typefile are the problem. I get a long error message, where the key message is: l

[NTG-context] Line height for smaller fonts. (Migrating from LaTeX to ConTeXt:) forcing new line and new page

2010-10-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, let's have the following example: --- \starttext \tt \input tufte \hairline \tfx \input tufte \hairline \tfxx \input tufte \stoptext --- When I look at the result, I see the smaller font the bigger "gap" between lines (or this may be taken as "line height"

Re: [NTG-context] Verbatim text loaded from a file? (reduced attachments)

2010-10-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
(I doubled this message to reduce size of attachments. Although the t.pdf.png is not very good, I believe it's enough to imagine proportions of letter height vs. line height and line number vs. letter [used for typing] height.) ... I keep on trying. I applied all your previous advice. But I sti

Re: [NTG-context] Stange behavior of \startluacode

2010-10-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, my observation: --- \starttext AAA \startluacode a = 10 context(a) -- a = 20 context(a) \stopluacode \stoptext --- - works OK, 'AAA', '10' and '20' is printed. If I modify the code: --- \starttext AAA \startluacode a = 10 context(a) -- a

Re: [NTG-context] Stange behavior of \startluacode

2010-10-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
(Sorry, I've written bad information, now correcting (*)...) Hello, my observation: --- \starttext AAA \startluacode a = 10 context(a) -- a = 20 context(a) \stopluacode \stoptext --- - works OK, 'AAA', '10' and '10' (*) is printed. If I modify the code: ---

Re: [NTG-context] Verbatim text loaded from a file?

2010-10-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, Sorry, I guess I misunderstood you: You mean the font of the numbers? I mean font (or or its size) used for printing for line numbers - see http://ftp.cstug.cz/pub/CTAN/macros/latex/contrib/fancyvrb/fancyvrb.pdf, pg. 11: line numbers which are turned on by "numbers=left" are printed w

[NTG-context] Verbatim text loaded from a file?

2010-10-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'd need to show contents of a (text) file like verbatim text (with a monospace font). So to do something being described at http://wiki.contextgarden.net/Verbatim_text using \startcode SOME TEXT \stop code, but the difference is that I don't need to write SOME TEXT manually but I nee

Re: [NTG-context] Lua programming conventions..

2010-09-30 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Thu, 30 Sep 2010 10:47:42 +0200, Patrick Gundlach wrote: Hi, besides that what Luigi wrote, I'd recommend the Lua users wiki. Don't take everything there as "perfect" or "the official way", as it is just a users wiki, like our wiki. http://lua-users.org/wiki/ Hello, I'd say there is no

[NTG-context] Lua & MP

2010-09-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, is it possible that Lua gets value of a MetaPost variable? Let's have MetaPost code: z11=(0,0) z12=(1,1) z21=(0,1) z22=(1,0) aa[z11,z12]=bb[21,z22] So now aa = bb = 0.5. And I'd need to access MetaPost values 'aa' and 'bb' from Lua (e.g. in Lua: "local a = mpost.aa, b = mpost.bb").

Re: [NTG-context] # in type in tabulate

2010-09-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I found no records to \asciimode or \mono at http://wiki.contextgarden.net/Category:Reference/en. Could they be added? - Even with no description, just to get to know they are valid ConTeXt commands. Lukas On Wed, 29 Sep 2010 16:58:51 +0200, Wolfgang Schuster wrote: Am 29.09.201

Re: [NTG-context] Calling Lua function from an external package

2010-09-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Thanks, it works now! It had to be fixed both in F() and in F2(). (I forgot ";" in MP statement as Lua doesn't require ";".) (Still it's a bit strange to me that calling F() worked even when the MP statement in F() was not finished by ";" and F2() was not called.) Lukas On Wed, 29 Sep 20

Re: [NTG-context] Custom lua script (updating and debugging)

2010-09-28 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I have also the experience that when the Lua file is placed where the LUA_PATH system variable points (or: see the documentation how exactly LUA_PATH works), than I can use the 'require' command and the Lua file will be found. E.g.: LUA_PATH = (...);C:\MyDir\?.lua C:\MyDir\MyFile.lua:

Re: [NTG-context] Drawing a diagram

2010-06-14 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, sorry for probably a silly question, but - how to get to e.g. "http://wiki.contextgarden.net/Flow_Charts"; from the "http://wiki.contextgarden.net";? I really cannot find the link which leads to "http://wiki.contextgarden.net/Flow_Charts";, even if I listed all hyperlinks from "http://

Re: [NTG-context] ConTeXt name/branding

2010-04-27 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, my opinion is that ConTeXt including capitalization of some preselected letters is OK. Imagine - how new mode of work brings ConTeXt (and other TeX family) to someone who knows only or has been working with Word before! If it's to much to someone to remember correct "ConTeXt" writing (

Re: [NTG-context] Which packages?

2010-03-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... OK, thanks to all for the answers. I'll keep on trying. Lukas On Mon, 29 Mar 2010 18:45:38 +0200, Mojca Miklavec wrote: 2010/3/29 Procházka Lukáš Ing. - Pontex s. r. o. wrote: - is there a manual, web site or something where comparison of LaTeX/ConTeXt packages/modules would be

[NTG-context] Which packages?

2010-03-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'm new to ConTeXt; I've been working with LaTeX but I'd like to try ConTeXt due to some reasons. The question is - - is there a manual, web site or something where comparison of LaTeX/ConTeXt packages/modules would be done? I'm interested how to include a part of a text file and how

<    3   4   5   6   7   8