Re: [NTG-context] \doifinstring: strange characters on the output

2021-11-02 Thread Tomas Hala via ntg-context
Hi Hans, ok, thank you, lmtx is a good way. Tomáš > I would like to ask what is the cause of this behavior and how to > use the \doifinstring to prevent the "fbf@" on the output. partial expansion of a protected macro where one doesn't expect it before i patch i let wolfgang check it btw, you

[NTG-context] \doifinstring: strange characters on the output

2021-10-31 Thread Tomas Hala via ntg-context
Hi all, I noticed that \doifinstring produces quite strange output if a command follows immediately (or with any amount of spaces) after the substring I am searching for: -MWE \starttext \def\xxx{asdf \bf Z:\bf asdf} % strange \def\xxx{asdf \bf Z:

Re: [NTG-context] getting path and filename from url

2021-08-27 Thread Tomas Hala via ntg-context
Hi Pablo, is the following what you need? context("1. " .. url:match ".+/") context("2a. " .. url:match "[^/]+/.+[.]") -- path and name with period --context("2b. " .. url:match "[^/]+[^.]+$") -- name with period and extension context("2c. " .. (url:match "[^/]+[^.]+$") :match

Re: [NTG-context] Hyphenation pattern for Esperanto

2021-02-22 Thread Tomas Hala
ges: Dutch (Flemish) French (a little bit different from #France French) and German (1% of the population). # #Could you explain me the meaning of: # #Le 21/02/2021 à 23:48, Tomas Hala a écrit : # # And this one is also needed: # # # \installlanguage # #   [\s

Re: [NTG-context] Lua code and table

2021-02-17 Thread Tomas Hala
Hi Fabrice, see below, I attached two ideas how to do it. The best, Tomáš Wed, Feb 17, 2021 ve 06:40:54PM +0100 Fabrice Couvreur napsal(a): #Hi, The code works, but is it possible to make it shorter ? #Thank you #Fabrice #\startuseMPgraphic{DiagonalRule} #   rulethickness

Re: [NTG-context] Getting the filename which is being typeset

2020-12-01 Thread Tomas Hala
Hi Otared, try \jobname. Best wishes, Tomáš Tue, Dec 01, 2020 ve 02:45:18PM +0100 Otared Kavian napsal(a): # Hi everyone, # # I have to typeset a few files which get each an input file named in a certain way. For instance, a file named « myfile.tex » in which another file named «

Re: [NTG-context] MacOS+TeXlive: installation problems

2020-11-18 Thread Tomas Hala
/mac-help/mh40616/macAfter # # # Le 17 nov. 2020 à 15:23, Tomas Hala <[1]tomas.h...@mendelu.cz> a écrit : # Hi all, # # one student of mine asked me for a help with installation TeXlive # (from [2]http://www.tug.org/mactex/mactex-download.html) # on her MacBook

[NTG-context] MacOS+TeXlive: installation problems

2020-11-17 Thread Tomas Hala
Hi all, one student of mine asked me for a help with installation TeXlive (from http://www.tug.org/mactex/mactex-download.html) on her MacBook Air 16 with macOS Catalina. Despite the fact that the site states "All install packages are developer-signed and notarized by Apple.", she got:

Re: [NTG-context] \blank[] doesn't work when nothing precedes it

2020-11-05 Thread Tomas Hala
Hi Sylvain, on my computer (TL2020) I am not able to compile \blank with any command defining the dimension (2\paperheight, 0.25\paperheight, .25\paperheight). I do not know why... But if I use another dimension, eg. 5*big or 20cc, it works with \dontleavehmode: \starttext \dontleavehmode

[NTG-context] French spacing in ConTeXt

2020-11-04 Thread Tomas Hala
Hi all, the following code works for the default roman family but not for tt-family. \setuplayout[width=30cc,height=70cc,topspace=0cc] \def\sample{\input knuth \par\thinrule\par} \starttext \setuplanguage[en][spacing=packed] \mainlanguage[en] \sample \setuplanguage[en][spacing=broad]

Re: [NTG-context] Hyphenation patterns

2020-10-08 Thread Tomas Hala
Hi, you can find patterns on this directory: texlive/2020/texmf-dist/tex/context/patterns/mkiv/ Best wishes, Tomáš Thu, Oct 08, 2020 ve 05:41:09PM +0200 Denis Maier napsal(a): # Hi, # # where can I find the hyphenation patterns used by ConTeXt? I have # two wrongly hyphenated words, and I

Re: [NTG-context] Sections in content: macros v text

2020-10-07 Thread Tomas Hala
Thank you, Wolfgang, that's it! Tomáš Wed, Oct 07, 2020 ve 05:12:42PM +0200 Wolfgang Schuster napsal(a): # Tomas Hala schrieb am 05.10.2020 um 20:20: # >Hi all, # > # >the content generated by the MWE below contains # >1 bb ... 1 # >2 bb ... 1 # >instead of # >1 aa ... 1 # &

Re: [NTG-context] xml bookmarks + chapter no. in header

2020-10-07 Thread Tomas Hala
Hi, I tried \setuphead[section][expansion=yes] with no effect before I wrote my question to the list here. With the \setuphead, the .tuc file still contains macro names instead of the text: ["title"]="\\expanded \\name ", whereas without it only: ["title"]=" \\name ", So is there any way

Re: [NTG-context] chapter no. in header

2020-10-07 Thread Tomas Hala
Hi Hraban, \setupheadertexts [{\getmarking[sectionnumber]\getmarking[section]}] [{\pagenumber}] [{\pagenumber}] [{\getmarking[chapternumber]\getmarking[chapter]}] Best wishes, Tomáš Wed, Oct 07, 2020 ve 01:45:46PM +0200 Henning Hraban Ramm napsal(a): # This should be simple, but I

[NTG-context] Sections in content: macros v text

2020-10-05 Thread Tomas Hala
Hi all, the content generated by the MWE below contains 1 bb ... 1 2 bb ... 1 instead of 1 aa ... 1 2 bb ... 1 because the content structure refers to the macro name \name in both sections instead of to work with the text. Maybe it was already discussed by I am not able to find any solution

Re: [NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Tomas Hala
Hello Lukas, you can try this: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm,textcommand=\mycmd] \def\mycmd#1{\hskip20mm#1} \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext Best wishes, Tomáš

Re: [NTG-context] spacing before items

2020-06-16 Thread Tomas Hala
Hi Mike, \setupitemgroup[youritems][1][inbetween={\blank[5*big]}] could help you. Best wishes, Tomáš Tue, Jun 16, 2020 ve 05:51:20PM + Mike Cooper napsal(a): #Link: [1]File-List #Link: [2]Edit-Time-Data # #Hello list, # #  # #Another very simple issue—no doubt the

Re: [NTG-context] use parentheses in itemize

2020-06-02 Thread Tomas Hala
Hi Mike, use this: \setupitemize[left=(,stopper=)] \startitemize[a] \item 415,668 lb \item 415,668 lb \stopitemize Best wishes, Tomáš Tue, Jun 02, 2020 ve 09:56:38PM + Mike Cooper napsal(a): #Link: [1]File-List #Link: [2]Edit-Time-Data # #Hello list. # #  # #Here

Re: [NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Tomas Hala
Hi Otared, the question is how complicated structures you are going to have... Try the following code, I guess it works. (I did not solve distances between objects.) Tomáš %%% \setuppapersize[A2][A2] \setupcombination[offset=0cc,location=top,distance=1cc] \starttext

Re: [NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Tomas Hala
Hi Otared, maybe there is a better, more system solution, but the following works: \setupcaptions[figure][location=bottom] \startplacefigure[title={A combination of three figures}] % this title appears below the figure \startcombination[3*1]

[NTG-context] \type -- extra space in TABLE

2020-04-11 Thread Tomas Hala
Hi all, in the following code \starttext \type{6\az12}% \az = \anycommand \bTABLE \bTR\bTD\type{6\az12}\eTD\eTR \eTABLE \stoptext there is a different behaviour of \type: while its parametr in normal text is printed out as is (expected), in the TABLE the extra space is displayed after

Re: [NTG-context] Float positioning

2020-04-06 Thread Tomas Hala
more cow}{cow}{width=50mm} \myfig{one more cow}{cow}{width=150mm} \dorecurse{10}{{\green\input{knuth}}} \stoptext %% # # -- # Regards, # Alexey Kryukov # # Moscow State University # Faculty of History # # On Mon, 6 Apr 2020 13:58:57 +0200 # Tomas Hala wrote

Re: [NTG-context] Float positioning

2020-04-06 Thread Tomas Hala
Hi Alexey, I do not how free are you in decision where figures should be located but I tried with "leftpage" and "rightpage" instead of "page" and it seems to be ok. \placefigure[rightpage]{one more cow}{\externalfigure[cow][width=150mm]} \placefigure[leftpage]{cow

Re: [NTG-context] Different behaviour of textcommand (setupcaption+startplacefigure)

2020-03-29 Thread Tomas Hala
Sun, Mar 29, 2020 ve 08:24:53PM +0200 Wolfgang Schuster napsal(a): # Tomas Hala schrieb am 29.03.2020 um 19:55: # >Hi all, # > # >I noticed the difference in behaviour of textcommand which depends # >on the location: for top, bottom and page the \crlf (see MWE) is applied # >whi

[NTG-context] Different behaviour of textcommand (setupcaption+startplacefigure)

2020-03-29 Thread Tomas Hala
Hi all, I noticed the difference in behaviour of textcommand which depends on the location: for top, bottom and page the \crlf (see MWE) is applied while for the left and right not even if other values (\red, any-text) are used as expecterd. How could I activate the textcommand=\crlf for

Re: [NTG-context] \setupinteraction v commas

2020-03-28 Thread Tomas Hala
Sat, Mar 28, 2020 ve 01:20:26PM +0100 Hans Hagen napsal(a): # On 3/27/2020 6:06 PM, Pablo Rodriguez wrote: # >On 3/26/20 6:54 PM, Tomas Hala wrote: # >>[...] # >>I would like to have commas in metadata attribute keywords # >>because space is confusing -- one cannot di

Re: [NTG-context] \setupinteraction v commas

2020-03-28 Thread Tomas Hala
Hi Pablo, the data for attribute keywords is preprocessed also for other reasons, so there is no problem for me to add one gsub more. Thank you very much for this sample. Best wishes, Tomáš Fri, Mar 27, 2020 ve 06:06:21PM +0100 Pablo Rodriguez napsal(a): # On 3/26/20 6:54 PM, Tomas Hala

Re: [NTG-context] \setupinteraction v commas

2020-03-26 Thread Tomas Hala
Thu, Mar 26, 2020 ve 06:34:28PM +0100 Wolfgang Schuster napsal(a): # Tomas Hala schrieb am 26.03.2020 um 16:40: # >Hi all, # > # >I used the following MWE for creating the metainformation in PDF: # > # >\setupinteraction # > [title={a, b, c}, # >subtitle={a, b, c}, #

[NTG-context] \setupinteraction v commas

2020-03-26 Thread Tomas Hala
Hi all, I used the following MWE for creating the metainformation in PDF: \setupinteraction [title={a, b, c}, subtitle={a, b, c}, author={a, b, c}, keyword={a, b, c}, ] \starttext blah \stoptext While the title, subtitle and author contain the text without any change, in keyword

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 #

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

[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]

[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] 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

Re: [NTG-context] simplefonts directory

2020-02-18 Thread Tomas Hala
Tue, Feb 18, 2020 ve 08:49:37AM -0500 Yves Cloutier napsal(a): #Hello, #I'm on linux and trying to add my fonts directories using # # export OSFONTDIR=/usr/share/fonts/;$HOME/.fonts export OSFONTDIR="/usr/share/fonts/;$HOME/.fonts" Tomáš # #however when I do, I get the

[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.).

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

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

[NTG-context] multipage typing

2020-01-19 Thread Tomas Hala
Hi all, content of typing environment is automatically broken at the end of a page, so is it no problem to typeset multipage code. But when I used startframedtext inside (see below), the multipage code was suppressed. Is there any way how to get over it? Best wishes, Tomáš

Re: [NTG-context] typing+framedtext: different behaviour between TL2017 and 2019

2020-01-17 Thread Tomas Hala
# # This should fix it: # # \setupstartstop # #   [DefaultSnippet] # #   [before=, # #    after=, # #    style=] # # Wolfgang # # Unfortunately not, I tried it in preamble (with no effect) # as well as after the \starttext (with no effect + text of parameters were pushed to the document). Your

Re: [NTG-context] typing+framedtext: different behaviour between TL2017 and 2019

2020-01-17 Thread Tomas Hala
Fri, Jan 17, 2020 ve 08:48:47PM +0100 Wolfgang Schuster napsal(a): # This should fix it: # # \setupstartstop #   [DefaultSnippet] #   [before=, #    after=, #    style=] # Wolfgang Unfortunately not, I tried it in preamble (with no effect) as well as after the \starttext (with no effect + text

Re: [NTG-context] typing+framedtext: different behaviour between TL2017 and 2019

2020-01-17 Thread Tomas Hala
Hi Wolfgang, two files with the difference are attached. I thought about the current beta -- it could be good way for me but unfortunately it does not suit for my students. Tomáš Fri, Jan 17, 2020 ve 07:40:57PM +0100 Wolfgang Schuster napsal(a): # Tomas Hala schrieb am 17.01.2020 um 15:18

[NTG-context] typing+framedtext: different behaviour between TL2017 and 2019

2020-01-17 Thread Tomas Hala
Hi all, if I compile the following (minimised) code with ConTeXt from TL2017, I receive expected result -- one framed gray box with correct width. \starttext\showframe \defineframedtext[MPT][background=color,backgroundcolor=gray,width=\makeupwidth,frame=on,offset=1cc,]

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

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]

[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] 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

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

[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] 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

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, # ># > # ># &

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: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

[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] 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

[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] 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 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
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

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
, # # \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] 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] 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] 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] 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

[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] \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] \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] \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] \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] 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. # > # >

[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] 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] 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] --|--- 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

[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] 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] 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

[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] 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] 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

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

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

[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] 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] 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

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

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] 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 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

  1   2   >