[NTG-context] Problem with doublesided

2012-01-10 Thread Tomas Hala
page has mark on the left, odd one on the right, while the TeXlive2011 and the beta produce single-sided layout, i.e. marks are on the right side in all pages. Or is there any special option in the current version? Thanks for a help, Tomas Hala \starttext \setuppagenumbering

[NTG-context] Problem with doublesided

2012-01-11 Thread Tomas Hala
has mark on the left, odd one on the right, while the TeXlive2011 and the beta produce single-sided layout, i.e. marks are on the right side in all pages. Or is there any special option in the current version? Thanks for a help, Tomas Hala \starttext \setuppagenumbering[alternative

[NTG-context] Pagebreak in a list of figures

2012-01-16 Thread Tomas Hala
the first, nor the second. What is the proper way now? Tomas Hala ___ 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

Re: [NTG-context] Pagebreak in a list of figures -- version

2012-01-16 Thread Tomas Hala
Hellow, the version of ConTeXt I used is: ver: 2012.01.12 11:03 MKIV fmt: 2012.1.16. Tomas Hala Mon, Jan 16, 2012 ve 06:19:01PM +0100 Tomas Hala napsal(a): # Hello, # # I tried (unsuccessfully) to insert a page break on the concrete position in # a list of figures. # # Minimal example

[NTG-context] Problem with units and problem with libraries

2013-09-04 Thread Tomas Hala
in this list on May, so I tried the following but without the password for svn I was not successful. svn co http://svn.contextgarden.net/suite/build-binaries ./do_all.sh Thanks in advance for advice, help and/or password. Best wishes, Tomas Hala

Re: [NTG-context] Problem with units and problem with libraries

2013-09-05 Thread Tomas Hala
. The related question is how user can activate other units (or all font sizes of a unit, as a whole) by some simple way. (My favourite units are cc and dd) Best regards, Tomas Hala Wed, Sep 04, 2013 ve 07:13:53PM +0200 Wolfgang Schuster napsal(a): # # Am 04.09.2013 um 19:07 schrieb Tomas Hala th

Re: [NTG-context] Nested itemize (spaces before and after inside environment)

2013-10-24 Thread Tomas Hala
. Is this expected behaviour? Best regards, Tomas Hala Thu, Oct 24, 2013 ve 12:45:01PM +0200 Jaroslav Hajtmar napsal(a): # Hello ConTeXist. # # I tried convert plainTeX source code into ConTeXt source code so # that the output PDF gave the same (or approximately the same) # result. I did

Re: [NTG-context] Hanging punctuation

2014-06-24 Thread Tomas Hala
I tried it, but unfortunately it does not work, either before, or after. Is there any other way how to enable it? Tomas Mon, Jun 23, 2014 ve 10:39:49AM +0200 Wolfgang Schuster napsal(a): # # Am 22.06.2014 um 20:51 schrieb Tomas Hala tomas.h...@mendelu.cz: # # Hello, # # I tried hanging

Re: [NTG-context] Hanging punctuation

2014-07-01 Thread Tomas Hala
I installed ConTeXt from TL 2014 and this solution works. Thank you (and Wolfgang as well) for help. Tomas Tue, Jun 24, 2014 ve 08:56:05PM +0200 Pablo Rodriguez napsal(a): # On 06/24/2014 09:42 AM, Tomas Hala wrote: # # I tried it, but unfortunately it does not work, either before, or after

[NTG-context] Question to \startlines

2014-07-28 Thread Tomas Hala
Hello, I found out that the \startlines does not work if it is defined in a body of some other macro. Is it expected behaviour, or not? Thanks in advance, Tomáš Hála --- Minimal example: (CTX from TL2014) \starttext \def\{\startlines text text \stoplines} \ \stoptext %% Gives text

Re: [NTG-context] Question to \startlines

2014-07-28 Thread Tomas Hala
That works. Thank you, Wolfgang. Using this, I found out that buffers do not cooperate with \vfill. Is there any other how to move parts of the buffer to the top and bottom except two independent buffers? Tomas Hala Mon, Jul 28, 2014 ve 01:49:59PM +0200 Wolfgang Schuster napsal(a): # # Am

Re: [NTG-context] Typesetting file names with ~

2014-07-30 Thread Tomas Hala
Hi Lukáš, I know these two ways: \hyphenatedurl{d:/xx/~/yyy} \type{d:/xx/~/yyy} Cheers, Tom Wed, Jul 30, 2014 ve 02:09:43PM +0200 Procházka Lukáš Ing. - Pontex s. r. o. napsal(a): # Hello, # # which is the best way to typeset text (aka file names) containing tilde so that the tilde be

Re: [NTG-context] How not to print the chapter number

2015-08-07 Thread Tomas Hala
Hello Eric, try the following: \definehead[mysect][section] \setuphead[mysect][number=no] \starttext \mysect{Foo} \subsection{Bar one} \subsubsection{Barbar one} \subsubsection{Barbar two} \stoptext Best wishes, Tomas Fri, Aug 07, 2015 ve 03:04:04PM +0200 Eric Détrez napsal(a): # I wish to

[NTG-context] Troubles with presentations

2015-10-06 Thread Tomas Hala
Hello all, I would like to ask for a piece of help with presentations. I decided to use the way described at http://wiki.contextgarden.net/Presentations and http://wiki.contextgarden.net/RawSteps. (I use TL 2015.) Problems I came across are: 1. On the first slide, a line with the word "yes"

Re: [NTG-context] escaping quotes in \ctxlua

2015-09-30 Thread Tomas Hala
Hello Pablo, print commands are not balanced, second right parenthesis is missing. Then it will work. Tomas Wed, Sep 30, 2015 ve 05:07:49PM +0200 Pablo Rodriguez napsal(a): # Dear list, # # I have the following sample: # # \starttext # \startluacode # tex.print(os.getenv("USER") #

Re: [NTG-context] a question about \setuphead

2016-02-11 Thread Tomas Hala
Hello Pablo, the definition should be the following: \setuphead[subsection][style=\bf, deepnumbercommand={(}, number=yes, textcommand={\unskip)~}] Wishes, Tomas Thu, Feb 11, 2016 ve 04:08:46PM +0100 Pablo Rodriguez napsal(a): # Dear list, # # I have the following sample: # #

Re: [NTG-context] (My) problem with percent sign in URLs

2017-08-15 Thread Tomas Hala
Thanks, very simple, indeed. Tomas Tue, Aug 15, 2017 ve 04:36:15AM -0400 Aditya Mahajan napsal(a): # >It will be an honour for me to update the wiki but I guess I had # >no permissions. Could somebody give access to me? # # No permissions are needed. You can simply create a new account and #

Re: [NTG-context] (My) problem with percent sign in URLs -- about Wiki

2017-08-15 Thread Tomas Hala
Hi, I updated the page about URLs. Reading the text, I found the following sentence which -- in my opinion -- does not correspond with the current behaviour: "You can use \url[aurl] as well, which behaves like \from[#1]." I tried it but the \url[aurl] is not printed out in green colour as

Re: [NTG-context] (My) problem with percent sign in URLs -- about Wiki

2017-08-15 Thread Tomas Hala
# I would add other four (with Wolfgang’s permission): # # \letterleftparenthesis # \letterrightparenthesis # \letterleftbracket # \letterrightbracket Unfortunately, these four commands are not available on my computer (I use TL 2015). Tomas # Pablo # -- #

Re: [NTG-context] (My) problem with percent sign in URLs

2017-08-15 Thread Tomas Hala
Hi Pablo (and all), thank you for the solution, it is exactly what I need. It will be an honour for me to update the wiki but I guess I had no permissions. Could somebody give access to me? Tomas Mon, Aug 14, 2017 ve 09:52:20PM +0200 Pablo Rodriguez napsal(a): # On 08/14/2017 06:27 PM, Tomas

[NTG-context] (My) problem with percent sign in URLs

2017-08-14 Thread Tomas Hala
Hi all, I came across the problem with typesetting long URLs containing special characters transformed to hexadecimal form. Hyphenation of URLs is needed. Minimal examples (URL taken from our garden and adopted): 1.

Re: [NTG-context] Remove header after ToC

2017-10-17 Thread Tomas Hala
Hi Raghu, I did two changes in your code: 1. Disabling of header=empty. 2. Adding of \page[empty]. Probably, there is better and system solution, but this might help you, I guess. Best wishes, Tomas %% ... \setuphead [chapter] [page={yes,header,footer,right}, %

Re: [NTG-context] Remove header after ToC

2017-10-17 Thread Tomas Hala
Add the following \if command: \startfrontmatter \completecontent \ifodd\pageno\page[empty]\else\setupheadertexts[chapter][pagenumber]\fi \stopfrontmatter Best wishes, Tomas Tue, Oct 17, 2017 ve 07:17:34PM +0530 N. Raghavendra napsal(a): # At 2017-10-17T12:34:06+02:00, Tomas Hala

Re: [NTG-context] ligature exceptions

2017-09-27 Thread Tomas Hala
Hi Hraban, I am afraid that \/ will break not only the ligature but moreover it will erase the possible breakpoint between f and l. From this point of view, Auf{}lage seems better. General approach might be connected with font some features as Hans shown at ConTeXt Meeting this year. I

[NTG-context] Questions to PDF/A compliant documents: missing ICC files?

2018-06-18 Thread Tomas Hala
Hi all, at http://wiki.contextgarden.net/PDF/A I found the following: " In ConTeXt mkiv, in order to create such a compliant PDF/A file, one can do as follows: first install (or check that they are present) the following color profiles files default_cmyk.icc default_gray.icc

Re: [NTG-context] Parsing \...luacode within a \def

2018-06-14 Thread Tomas Hala
Hi Lukáš, I am not sure but I guess that the problem is related with the behaviour of the input processor which erases characters at the end of line (CR, LF) and replace them by a space. Then, the whole content between \start/stopluacode is at only one line. If you the second way of comment

[NTG-context] Question to Lua and Postgres (and ConTeXt)

2017-12-20 Thread Tomas Hala
Hi all, I installed the module (I'm at CentOS 6.6) by yum install luasql-postgres, ok. Then I used: lua myscript.lua /usr/bin/luamyscript.lua /usr/local/bin/lua myscript.lua I discovered that it is version dependent: lua (=/usr/local/bin/lua) does not operate, it is 5.3, whereas

Re: [NTG-context] Questions to PDF/A compliant documents: missing ICC files? -- II.

2018-07-26 Thread Tomas Hala
Fri, Jul 20, 2018 ve 09:24:23PM +0200 Hans Hagen napsal(a): # On 7/20/2018 5:05 PM, Tomas Hala wrote: # >Hi all, # > # >I would like to open the PDF/A topic once more. # # maybe discuss it at the upcoming ctx meeting ... Good idea, indeed. # ... you can prepare a # summative t

Re: [NTG-context] Questions to PDF/A compliant documents: missing ICC files? -- II.

2018-07-20 Thread Tomas Hala
--- Tue, Jun 19, 2018 ve 09:38:55AM +1200 Henri Menke napsal(a): # # # On 19/06/18 03:20, Tomas Hala wrote: # >Hi all, # > # >at http://wiki.contextgarden.net/PDF/A I found the following: # > # >""""" # >In ConTeXt mkiv, in order to create such a complian

[NTG-context] Question to covers

2018-07-20 Thread Tomas Hala
Hi all, I would like to ask whether we have got some module or macros for comfortable proposing of covers for different kinds of binding, containing automatic computation of the corresponding measurments and displaying the parts for bookbinders (eg cutting lines, protection zones, bends, pasting

Re: [NTG-context] how to change the colour of the footnote marker

2018-04-08 Thread Tomas Hala
Hi Robert, I don't understand if you need solution for MkII, or if you tried something from MkII. For MkIV you can use this: \def\mycmd#1{\startcolor[\kleur]#1\stopcolor} \setupnotation[footnote][numbercommand=\mycmd] (But I don't know whether it will work witk MkII.) The best, Tomáš Sun,

[NTG-context] Question to sectioning

2018-04-11 Thread Tomas Hala
Hello, I have got a document with e.g. six chapters, numbers are from 1 to 6. At special places I would like put a special page containing a special title. The special page should be without a header and without any number, the title should be put into the contents by the same way as other

Re: [NTG-context] Question to sectioning

2018-04-18 Thread Tomas Hala
Hello, # I have got a document with e.g. six chapters, numbers are from 1 to 6. # At special places I would like put a special page containing a special title. # The special page should be without a header and without any number, # the title should be put into the contents by the same way as

Re: [NTG-context] Question about paragraphs and hanging punctuation

2018-04-18 Thread Tomas Hala
07:20:05PM +0100 Pablo Rodriguez napsal(a): # On 03/20/2018 09:59 PM, Tomas Hala wrote: # > Hi Pablo, # > # > thank you very much, you are right. # > The align={hz, hanging} is not documented on the wiki, so I did not think about it. # # Hi Tomáš, # # your local tex/texmf-context

Re: [NTG-context] Question about paragraphs and hanging punctuation

2018-04-21 Thread Tomas Hala
s uvozovkami}\par \input knuth \stoptext Wed, Apr 18, 2018 ve 06:26:32PM +0200 Pablo Rodriguez napsal(a): # On 04/18/2018 05:45 PM, Tomas Hala wrote: # > Hi Pablo, # > # > thank you for the help, the i-context manual really became # > as a friend of mine. :-) # # Hi Tomáš, # #

Re: [NTG-context] Question about paragraphs and hanging punctuation

2018-04-21 Thread Tomas Hala
# # unfortunately, this does not work (on my computer with TL2017). # # Proper Czech quotation marks are available via \quotation command: # \mainlanguage[cz] # \quotation{text} # # But it is language independent problem, I did more tests: # neither Czech, nor US,

Re: [NTG-context] Questions about \starttext

2018-04-15 Thread Tomas Hala
Tue, Apr 03, 2018 ve 09:12:31AM +0200 Hans Hagen napsal(a): # On 4/3/2018 12:02 AM, John Culleton wrote: # >A reasonable approach to a Context file includes preliminary # >information before the first printed page. My basic master file # >looks like this : # > # > ... # # in the distribution

Re: [NTG-context] Question about paragraphs and hanging punctuation

2018-04-23 Thread Tomas Hala
#   \bgroup #   \aftergroup\typo_delimited_fontdriven_e #   \let\next=} # #\protect # #There was a bug when “method=font” was used but this was fixed last #October. # #Wolfgang # # [1]Tomas Hala # 21

Re: [NTG-context] Question to sectioning

2018-04-23 Thread Tomas Hala
7  [incrementnumber=list, 8 >>   header=empty 9 ] 10 Wed, Apr 18, 2018 ve 06:00:27PM +0200 Wolfgang Schuster napsal(a): # [1]Tomas Hala # 11. April 2018 um 19:36 # Hello, # # I have got a

[NTG-context] Strange behaviour of \start/stopplacefigure

2018-03-30 Thread Tomas Hala
Hi, in the example below I came across the very strange behaviour of key location: if I use values none or top, the following paragraph is indented according to the settings whereas if I use the value bottom, the first line of the following paragraph starts just on the left, without any

Re: [NTG-context] Question about a pair of floating fugures

2018-03-25 Thread Tomas Hala
Tomas Hala napsal(a): # Hi all, # # I struggled with a pair of figures which will float together in a text, # each with its own caption. I found out the following solution and # I would like to ask whether this is the "oficial" and the best way # how to do it. # # \starttext # \p

Re: [NTG-context] Question about a pair of floating fugures

2018-03-25 Thread Tomas Hala
# # [1]Tomas Hala # 25. März 2018 um 12:11 # Hi all, # # I struggled with a pair of figures which will float together in a text, # each with its own caption. I found out the following solution and # I would like

[NTG-context] Questions about \starttext

2018-03-20 Thread Tomas Hala
Hi all, doing some tests I discovered two interesting facts. The first is that commands \starttext and \stoptext do not behave as a group. Minimal example (tested on TL2015, TL2016, TL2017, current CTX from the Garden): \starttext text \starttext \bf text \stoptext text % this text is

[NTG-context] Questions about creation of PDF's

2018-03-20 Thread Tomas Hala
Hi all, I came across the following changes in behaviour of compilation. Using this minimal example \starttext \pdfminorversion=3 Hello! \stoptext I found out that since TL2010 till TL2015, the output PDF is of the version 1.3 whereas TL2016 (which I do not use), TL2017 and current ConTeXt

Re: [NTG-context] Question about paragraphs and hanging punctuation

2018-03-20 Thread Tomas Hala
(for normal text is necessary to set it separately). Thanks once more and wishes, Tomáš Tue, Mar 20, 2018 ve 08:30:24PM +0100 Pablo Rodriguez napsal(a): # On 03/20/2018 08:17 PM, Tomas Hala wrote: # > Hi all, # > # > I used together hanging punctuation and define/setup paragraphs #

[NTG-context] Question about paragraphs and hanging punctuation

2018-03-20 Thread Tomas Hala
Hi all, I used together hanging punctuation and define/setup paragraphs (tested on TL2017, current CTX). Unfortunately, inside the paragraph environment the hanging punctuation settings is ignored. Moreover, it seems that attributes inner= and command= works only for the first paragraph

[NTG-context] xtables: horizontal splitting

2018-10-12 Thread Tomas Hala
Hi all, at https://wiki.contextgarden.net/Tables_Overview is mentioned that the xtables can be splitted even horizontally (which will just suit me very well). The command \setupxtable[myxtable][split=yes] will do it only vertically. I would like to ask what is the correct option for the

[NTG-context] Questions to font family Pagella

2018-10-12 Thread Tomas Hala
Hi all, I am doing some first tests with fonts (related with our font testing intentions) and I found out that since 2015 there are two sets of files for pagella with the same metadata by otfinfo -i. Eg.: 152192

[NTG-context] mtxrun --script fonts --reload: Question to behaviour

2018-10-22 Thread Tomas Hala
Hi all, doing some test with fonts I discovered that mtxrun--script fonts --reload crashed (line 479, TL 2018) on existing directory if this directory has incorrect permissions (in tested case I set 000 for making the directory and its subtree completely invisible). Is this the expected

Re: [NTG-context] mtxrun --script fonts --reload: Question to behaviour

2018-10-22 Thread Tomas Hala
Mon, Oct 22, 2018 ve 04:22:43PM +0200 luigi scarso napsal(a): #On Mon, Oct 22, 2018 at 2:25 PM Tomas Hala <[1]tomas.h...@mendelu.cz> #wrote: # # Hi all, # # doing some test with fonts I discovered that # # mtxrun--script fonts --reload # # crashed (line 479, T

Re: [NTG-context] mtxrun --script fonts --reload: Question to behaviour

2018-10-22 Thread Tomas Hala
Mon, Oct 22, 2018 ve 04:40:46PM +0200 luigi scarso napsal(a): #On Mon, Oct 22, 2018 at 4:32 PM Tomas Hala <[1]tomas.h...@mendelu.cz> #wrote: # # Mon, Oct 22, 2018 ve 04:22:43PM +0200 luigi scarso napsal(a): # #    On Mon, Oct 22, 2018 at 2:25 PM Tomas Hala # <[1][

Re: [NTG-context] Questions to font family Pagella

2018-10-17 Thread Tomas Hala
Hans, thank you for the explanation, I agree, I did not like that cyrillic, too. Does somebody know whether TeXGyre team plans some additions of cyrillic to their font collection? Tomáš Fri, Oct 12, 2018 ve 07:27:50PM +0200 Hans Hagen napsal(a): # On 10/12/2018 5:05 PM, Tomas Hala wrote

Re: [NTG-context] xtables: horizontal splitting

2018-10-13 Thread Tomas Hala
Sat, Oct 13, 2018 ve 08:08:42PM +0200 Wolfgang Schuster napsal(a): # The information is correct and linetables support horizontal splitting. OK, thank you. Tomáš # Wolfgang # # # Tomas Hala schrieb am 13.10.18 um 19:29: # >Hi Hraban, # >thank you for this information, I c

Re: [NTG-context] xtables: horizontal splitting

2018-10-13 Thread Tomas Hala
is wrong; horizontal splitting is just planned (my misunderstanding when I wrote that up; need to fix that...) # # Greetlings, Hraban # --- # https://www.fiee.net # http://wiki.contextgarden.net # https://www.dreiviertelhaus.de # GPG Key ID 1C9B22FD # # Am 2018-10-12 um 17:20 schrieb Tomas Hala

[NTG-context] --|--- not transformed to endash|emdash

2018-10-23 Thread Tomas Hala
Hi all, usually, if one writes -- or ---, will receive real en-dash or em-dash, respectively. I just tried font called JohnBaskerville (commercial; from Štorm type foundry, CZ) but I got only '--' and '---', ie. sequences were not transformed to the proper characters. Dashes are present in then

Re: [NTG-context] --|--- not transformed to endash|emdash

2018-10-24 Thread Tomas Hala
or not? Best wishes, Tomáš Tue, Oct 23, 2018 ve 07:08:44PM +0200 Hans Hagen napsal(a): # On 10/23/2018 6:36 PM, Tomas Hala wrote: # >Hi all, # > # >usually, if one writes -- or ---, will receive real en-dash or em-dash, # >respectively. I just tried font called JohnBaskerville # >(comm

Re: [NTG-context] chapter number

2018-11-06 Thread Tomas Hala
Hi Andrea, try this: \starttext \startfrontmatter \placecontent \page \chapter{Foreword} \stopfrontmatter \startbodymatter \chapter{Introduction} \stopbodymatter \startbackmatter \chapter{Something at the end} \stopbackmatter \stoptext Best wishes, Tomáš

Re: [NTG-context] Colormanagement

2018-11-09 Thread Tomas Hala
Hi, by default, really not. At http://wiki.inkscape.org/wiki/index.php/Color_management and http://wiki.inkscape.org/wiki/index.php/ExportPDFCMYK there some instructions how to convert files to CMYK, or how to install some extension, respectively. But I have not test these ways yet. Best

Re: [NTG-context] spacing

2018-11-09 Thread Tomas Hala
Hi, I solve the same problem for ages... I decided for fixed time points related with new edition of TeXlive. Advantages: TeXlive versions (from my point of view) are most stable. You really can compile your files repeatedly getting the same result. Disadvantages: You have to store all

Re: [NTG-context] interaction

2018-09-21 Thread Tomas Hala
Tue, Sep 18, 2018 ve 11:26:25PM +0200 Hans Hagen napsal(a): # Hi, # # At the recent meeting Tomas Hala triggered a discussion about # interaction and as a side effect I promissed to update the 'widgets' # manual (mkii) which now will be 'interactions' (mkiv). In the # process I'll check and clean

[NTG-context] \showhyphens

2018-12-18 Thread Tomas Hala
Hi all, I would like to detect hyphen points in a paragraph. I hoped that the plain \showhyphens{text} can do it but it displays nothing. Is this plain macro available yet, or is it covered by other command? Thanks in advance. Best wishes Tomáš

Re: [NTG-context] \showhyphens

2018-12-19 Thread Tomas Hala
Hi Pablo, thank you, that's it... I will add it to the wiki, it is not mentioned there... Best, Tomáš Tue, Dec 18, 2018 ve 05:21:44PM +0100 Pablo Rodriguez napsal(a): # On 12/18/18 12:01 PM, Tomas Hala wrote: # > Hi all, # > # > I would like to detect hyphen points in a paragra

[NTG-context] Strange behaviour of TABLE with \currentTABLErow

2018-12-03 Thread Tomas Hala
Hi all, at https://wiki.contextgarden.net/Command/currentTABLEcolumn I learnt about \currentTABLErow etc. for counting lines in natural tables. I have got the following two minimal non-working examples (on TeXlive 2018): \starttext\setupTABLE[split=yes] \bTABLE \bTABLEhead\bTR\bTH head

Re: [NTG-context] Strange behaviour of TABLE with \currentTABLErow

2018-12-10 Thread Tomas Hala
ow. Mon, Dec 03, 2018 ve 11:14:53PM +0100 Wolfgang Schuster napsal(a): # Tomas Hala schrieb am 03.12.18 um 20:23: # >Hi all, # > # >at https://wiki.contextgarden.net/Command/currentTABLEcolumn I learnt # >about \currentTABLErow etc. for counting lines in natural tables. # > # >

Re: [NTG-context] Spacing between text and footnote line

2019-03-24 Thread Tomas Hala
Hello, one way could be \setupnote[footnote][before={\blank[10*big]}] Best wishes, Tomáš Sun, Mar 24, 2019 ve 02:22:34PM +0100 Huseyin Özoguz napsal(a): # Hello, # # how an I change the distance between the text and the line of the # footnotes? See this min-example: # #

[NTG-context] Question to key commnad at \setuphead

2019-03-04 Thread Tomas Hala
Hi all, compiling the ME below (ConTeXt from TeXlive) I got this error message: ! Argument of \MyChapterCommand has an extra } and I do not know why. What am I doing wrong? Best wishes, Tomáš === \starttext \def\MyChapterCommand#1#2{::#1//#2==} %\setuphead

Re: [NTG-context] Question to key commnad at \setuphead

2019-03-05 Thread Tomas Hala
ter napsal(a): # Tomas Hala schrieb am 04.03.19 um 18:42: # >Hi all, # > # >compiling the ME below (ConTeXt from TeXlive) I got this error message: # > # >! Argument of \MyChapterCommand has an extra } # > # >and I do not know why. What am I doing wrong? #

[NTG-context] How to repeat the hyphen?

2019-03-21 Thread Tomas Hala
Hi all, in composed words with hyphen inside (e.g. modro-zelený = blue-green), the hyphen character must be repeated at the beginning of the new line (modro-/-zelený). This rule is obligatory for Czech and Slovak typesetting. I am able to implement this feature by defining a new command (see

Re: [NTG-context] How to repeat the hyphen?

2019-03-22 Thread Tomas Hala
22 Mar 2019, at 10:37, Tomas Hala wrote: # > # > Hi, # > # > thanks, that's it. I did some tests and no side-effects appeared. # > Moreover, it seems that it has no influence on \hyphentatedurl which is also ok. # > # > But only one point I do not understand -- when I used

Re: [NTG-context] How to repeat the hyphen?

2019-03-22 Thread Tomas Hala
Mar 2019, at 15:38, Tomas Hala wrote: # > # > Hi Taco, # > # > good idea, I tried it but the problem is that it does not switch itself off # > automatically when the language is changed again. # > # > The following code works but I guess that must be some more sophi

[NTG-context] Question to floating figure and grid

2019-03-22 Thread Tomas Hala
Hi all, the following code worked in TL2017 but in TL2018 the unwanted vertical space appears before the 2nd knuth.tex. I do not know how to supress it. I also do not know how to deal with the distance between the text and the figure, I guessed that is controled by leftmargindistance but it

Re: [NTG-context] How to repeat the hyphen?

2019-03-22 Thread Tomas Hala
, # # \definebreakpoint [compound] [-] [nleft=3,nright=3,type=4] # \setbreakpoints[compound] # # But also check the wiki, there can be side-effects to \setbreakpoints[compound] # # https://wiki.contextgarden.net/Compound_words # # # Best wishes, # Taco # # > On 21 Mar 2019, at 16:23, Tomas Hala wr

[NTG-context] \symbol (ConTeXt vs. LateX)

2019-02-16 Thread Tomas Hala
Hi all, how can I print the corresponding character if I know its ordinal value? (In LaTeX, there is a command \symbol{number} but in ConTeXt this command has different meaning.) Thanks in advance, Best wishes, Tomáš Hála

Re: [NTG-context] \symbol (ConTeXt vs. LateX)

2019-02-16 Thread Tomas Hala
Thank you, Wolgang, that's it. Tomáš Sat, Feb 16, 2019 ve 03:31:47PM +0100 Wolfgang Schuster napsal(a): # # # Tomas Hala schrieb am 16.02.19 um 15:25: # >Hi all, # > # >how can I print the corresponding character if I know its ordinal value? # # You can use the \tochar{...} command.

[NTG-context] Lines in \showbodyfontenvironment

2019-02-17 Thread Tomas Hala
Hi all, I played with \definebodyfontenvironment and found the command \showbodyfontenvironment. Experimentally I changed parameters at \definebodyfontenvironment and I am not able to understand the logic of the table generated by the \showbodyfontenvironment. What is the meaning of lines in

Re: [NTG-context] Lines in \showbodyfontenvironment

2019-02-17 Thread Tomas Hala
(a): # Tomas Hala schrieb am 17.02.19 um 16:07: # >Hi all, # > # >I played with \definebodyfontenvironment and found the command # >\showbodyfontenvironment. # > # >Experimentally I changed parameters at \definebodyfontenvironment # >and I am not able to understand the logic o

Re: [NTG-context] Itemization formatting

2019-05-29 Thread Tomas Hala
turpis # et nulla venenatis tincidunt. Curabitur sit amet vehicula nisi, sit amet # # (extra empty brackets rarely are without side-effects) # # Best wishes, # Taco # # # > On 29 May 2019, at 16:27, Tomas Hala wrote: # > # > Hi Taco, # > # > probably, there is m

Re: [NTG-context] Itemization formatting

2019-05-29 Thread Tomas Hala
Hi Taco, probably, there is missing one pair of []: \setupitemize[1][][margin=1cm] \setupitemize[2][][margin=2cm] I tried it with TL2018 and I guess it works. Best wishes, Tomáš Wed, May 29, 2019 ve 04:15:25PM +0200 Taco Hoekwater napsal(a): # Hi all, # # I must be getting old :( # #

[NTG-context] Which math font for LinLibertine family?

2019-05-15 Thread Tomas Hala
Hi all, the font family LinLibertine (ConTeXt from TL2018 and older) does not contain any math font. On the file type-imp-libertine.mkiv there is a (disabled) line joining math from times family. Is the times math the best for LinLibertine or would you recommend me something else (from the

[NTG-context] pretty printers

2019-05-08 Thread Tomas Hala
Hi all, according to our wiki, there are pretty printers in ConTeXt implemented only for TEX, LUA, XML and MP. I am searching now for PHP pretty printer but I did not find anything on the net (only C and Java). I would like to ask whether is something for PHP (or for other programming

Re: [NTG-context] pretty printers

2019-05-08 Thread Tomas Hala
Wed, May 08, 2019 ve 10:14:45PM +0200 Wolfgang Schuster napsal(a): # Tomas Hala schrieb am 08.05.2019 um 21:58: # >Hi all, # > # >according to our wiki, there are pretty printers in ConTeXt # >implemented only for TEX, LUA, XML and MP. # > # >I am searching now for PHP pretty

Re: [NTG-context] pretty printers

2019-05-08 Thread Tomas Hala
Wed, May 08, 2019 ve 04:55:41PM -0400 Aditya Mahajan napsal(a): # On Wed, 8 May 2019, Tomas Hala wrote: # # >Wed, May 08, 2019 ve 10:14:45PM +0200 Wolfgang Schuster napsal(a): # ># Tomas Hala schrieb am 08.05.2019 um 21:58: # ># >Hi all, # ># > # ># >according to ou

Re: [NTG-context] pretty printers

2019-05-08 Thread Tomas Hala
Wed, May 08, 2019 ve 10:59:18PM +0200 Wolfgang Schuster napsal(a): # # # Tomas Hala schrieb am 08.05.2019 um 22:42: # >Wed, May 08, 2019 ve 10:14:45PM +0200 Wolfgang Schuster napsal(a): # ># Tomas Hala schrieb am 08.05.2019 um 21:58: # ># >Hi all, # ># > # ># &

[NTG-context] Question to lines in linetable

2019-04-27 Thread Tomas Hala
Hi all, I tried linetable tables (mkiv, TL2017) because I need even horizontal splitting. It works fine but I do not know how to make either horizontal or vertical lines. Have somebody got some experience with this? Best wishes, Tomáš

Re: [NTG-context] Question to lines in linetable

2019-04-28 Thread Tomas Hala
Sun, Apr 28, 2019 ve 01:01:12PM +0200 Hans Hagen napsal(a): # On 4/27/2019 10:55 PM, Tomas Hala wrote: # >Hi all, # > # >I tried linetable tables (mkiv, TL2017) because I need even # >horizontal splitting. It works fine but I do not know how to make # >either horizontal or

Re: [NTG-context] A5 != 210mm x 148mm ?

2019-11-03 Thread Tomas Hala
Hi, try: \definepapersize[myformat][height=210mm, width=148mm] \setuppapersize[myformat] Best wishes, Tomáš Sun, Nov 03, 2019 ve 09:51:40PM +1300 Kerry Sainsbury napsal(a): #Hi, #If A5 is 210mm x 148mm (and [1]the internet assures me that it is), then #shouldn't these two

[NTG-context] Bad cooperation between \unit and TABLE

2019-11-03 Thread Tomas Hala
Hi all, I came across the problem with bad aligment of cells in natural tables (longer MWE below): When I use \unit for better typesetting of units, lines 6, 6a, 8 and 9 are sloppy-aligned -- first, the alignmentcharacter is ignored, secondly the very huge space appears between e.g. m and 2. It

Re: [NTG-context] packed list only if items > 5

2019-11-14 Thread Tomas Hala
Hi Pablo, I am not sure if the itemize environment can be configured on the fly. The following code should solve your problem: \definecounter[minforpacked] \setcounter[minforpacked][5] \def\mystartitemize#1\stopitemize{% \definecounter[mycounter]

Re: [NTG-context] Difference between direct use of quotation marks and \quotation

2019-11-22 Thread Tomas Hala
Hi Wolfgang, great! Thank you very much. Tomáš Fri, Nov 22, 2019 ve 07:03:42PM +0100 Wolfgang Schuster napsal(a): # Tomas Hala schrieb am 22.11.2019 um 18:55: # >Hi all, # > # >I have got two "same" documents which differ at the left side when the hanging punctuati

[NTG-context] Difference between direct use of quotation marks and \quotation

2019-11-22 Thread Tomas Hala
Hi all, I have got two "same" documents which differ at the left side when the hanging punctuation has been enabled. The difference is in use of quotation marks. (It seems as a language and font independent problem.) How can I persuade macro \quotation to move the punctuation outside the

[NTG-context] Surprising change in function inspect()

2019-10-22 Thread Tomas Hala
Hi all, using the source code == \starttext \startluacode d={} d.data={"a",0} d.tabulka=function () context("pokus") end inspect(d) d.tabulka() \stopluacode pokus \stoptext == I discovered quite surprising change in the output of inspect: TL2019: table={ ["data"]={ "a", 0 }, }

Re: [NTG-context] Surprising change in function inspect()

2019-10-22 Thread Tomas Hala
# > # >I discovered quite surprising change in the output of inspect: # # indeed, i don't want to see that stuff # you can always use: # # print(table.serialize(d)) Thanks for the explanation. But there is the difference -- serialize says only the memory address and not the stuff there. Have

Re: [NTG-context] Question to installation ConTeXt from TeXlive

2020-03-01 Thread Tomas Hala
ve 02:56:47PM +0100 Hans Hagen napsal(a): # On 2/18/2020 1:28 PM, Tomas Hala wrote: # >Hi all, # > # >when one (eg. student) decides for customizing the Windows installation from TeXlive, # >24 items will appear in the group of packages list. # > # >Because I have no

[NTG-context] Nested quotation and left-hanging punctuation together?

2020-03-01 Thread Tomas Hala
Hi all, I do not know how to activate nested quotation together with left hanging punctuation at all levels. %% MWE: \setupdelimitedtext[quotation:1][method=font]%% cmd #1 \setupdelimitedtext[quotation:2][method=font]%% cmd #2 \setupdelimitedtext[quotation][method=font]

Re: [NTG-context] Left hanging hyphen

2020-03-04 Thread Tomas Hala
Hi Wolfgang, Mon, Mar 02, 2020 ve 05:38:35PM +0100 Wolfgang Schuster napsal(a): # On Mon, 2 Mar 2020 12:22:26 +0100 # Tomas Hala wrote: # # > Hi all, # > # > in composed words in Czech and Slovak languages, the hyphen must be repeated # > at the beginning of the new line. Ho

Re: [NTG-context] Left hanging hyphen

2020-03-05 Thread Tomas Hala
Hi Wolfgang, # You can use the default language for the reset: # # \startsetups [language:czech] # \setbreakpoints [czcompound] # \stopsetups # # \startsetups [language:other] # \resetbreakpoints # \stopsetups # # \setuplanguage # [cz] # [setups=language:czech] # # \setuplanguage #

[NTG-context] Left hanging hyphen

2020-03-02 Thread Tomas Hala
Hi all, in composed words in Czech and Slovak languages, the hyphen must be repeated at the beginning of the new line. How can I make it hanging at the left margin? Tomáš % for repeating the hyphen \definebreakpoints[czcompound] \definebreakpoint[czcompound][-][nleft=3,nright=3,type=4]

Re: [NTG-context] line numbering within frame

2020-01-23 Thread Tomas Hala
Hi Thomas, move definitions and setups for Three and Four before the use of \framed. (With TL2019 works.) Wishes, Tomáš Thu, Jan 23, 2020 ve 11:54:49AM +0100 Thomas A. Schmitz napsal(a): # Hi all, # # I want line numbering within a framed environment, and I need two (at least) independent

Re: [NTG-context] line numbering within frame

2020-01-24 Thread Tomas Hala
Hi Thomas, I compiled (TL2019) it with as well as without \setbreakpoints[compound] and I got the same result -- in both case I see both colours. Wishes, Tomáš Fri, Jan 24, 2020 ve 06:45:06PM +0100 Thomas A. Schmitz napsal(a): # # # > On 23. Jan 2020, at 12:45, Tomas Hala wr

[NTG-context] Question to installation ConTeXt from TeXlive

2020-02-18 Thread Tomas Hala
Hi all, when one (eg. student) decides for customizing the Windows installation from TeXlive, 24 items will appear in the group of packages list. Because I have no experience with W. installations, I would like to ask which of them are relevant or possible to use with ConTeXt MkIV (on W.).

  1   2   >