Re: [NTG-context] Same counter for figures as theorems

2020-08-13 Thread Tim Steenvoorden
…) to be numbered consecutively prefixed by the chapter and section number, > so 1.1.1, 1.1.2, 1.2.1, ... > > I’ve managed to change figure/table captions to do this by: > > \setupcaptions[ >   way=bysection, >   prefixsegments=chapter:section, > ] > > And I’ve

Re: [NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Nicola
On 2020-08-11, Pablo Rodriguez wrote: > On 8/11/20 10:11 PM, Nicola wrote: >> Consider this example: >> >> \definemakeup[toc][align=middle] >> \setuppagenumbering[alternative=doublesided] >> \starttext >> \startfrontmatter >> \startmakeup[toc] >> \placecontent

Re: [NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Pablo Rodriguez
On 8/11/20 10:11 PM, Nicola wrote: > Consider this example: > > \definemakeup[toc][align=middle] > \setuppagenumbering[alternative=doublesided] > \starttext > \startfrontmatter > \startmakeup[toc] > \placecontent > \stopmakeup >

[NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Nicola
Consider this example: \definemakeup[toc][align=middle] \setuppagenumbering[alternative=doublesided] \starttext \startfrontmatter \startmakeup[toc] \placecontent \stopmakeup %\setuppagenumber[number=1]

[NTG-context] Same counter for figures as theorems

2020-08-11 Thread Tim Steenvoorden
figure/table captions to do this by: \setupcaptions[   way=bysection,   prefixsegments=chapter:section, ] And I’ve setup my enumerations by: \setupenumerations[   way=bysection,   prefix=yes,   prefixsegments=chapter:section, ] But how do I use the same counter for figures, tables, and all

Re: [NTG-context] consistent index entries

2020-08-01 Thread Wolfgang Schuster
to handle this – maybe a lookup table in Lua, so that \LookupPerson{Willy II} would call a Lua function that returns \Person{Wilhelm II. (Kaiser)} ? Or is there already something in place that I overlooked, like \OverwriteIndexEntry{Hraban}{Ramm, Henning Hraban} ? I came up with: \startluacode

Re: [NTG-context] consistent index entries

2020-08-01 Thread Jairo A. del Rio
rocław)} >> > or >> > \Person{Arends, Katharina (née Schoemaker)} >> > \Person{Wilhelm II. (Kaiser)} >> > >> > Now, I need that consistent and I don’t want to type these complicated >> entries every time. >> > >> > I’m looking for a good

Re: [NTG-context] consistent index entries

2020-08-01 Thread Jairo A. del Rio
onsistent and I don’t want to type these complicated > entries every time. > > > > I’m looking for a good way to handle this – maybe a lookup table in Lua, > so that > > \LookupPerson{Willy II} > > would call a Lua function that returns > > \Person{Wilhelm

Re: [NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
ery time. > > I’m looking for a good way to handle this – maybe a lookup table in Lua, so > that > \LookupPerson{Willy II} > would call a Lua function that returns > \Person{Wilhelm II. (Kaiser)} > ? > > Or is there already something in place that I overlooked, like > \Over

[NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
)} or \Person{Arends, Katharina (née Schoemaker)} \Person{Wilhelm II. (Kaiser)} Now, I need that consistent and I don’t want to type these complicated entries every time. I’m looking for a good way to handle this – maybe a lookup table in Lua, so that \LookupPerson{Willy II} would call a Lua function

Re: [NTG-context] tabulate inside itemize

2020-07-29 Thread Wolfgang Schuster
the blank line or should I use an entirely different approach? 1. Use \blank[overlay] to continue on the first line of the item entry 2. Disable the blank line at the start of the table with "before=" \starttext \startitemize[n] \startitem \blank[overlay] \starttabulate[

Re: [NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread James Withers
> reference spread over two lines with different font style and > > justification, plus a slightly different text for the table of contents. > > > > So that I can alter the styling of the section headings without having > > to recode each \startsection command, I ha

Re: [NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread Wolfgang Schuster
James Withers schrieb am 22.07.2020 um 21:20: Dear list I have a document with section headings which include a title, date and reference spread over two lines with different font style and justification, plus a slightly different text for the table of contents. So that I can alter

[NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread James Withers
Dear list I have a document with section headings which include a title, date and reference spread over two lines with different font style and justification, plus a slightly different text for the table of contents. So that I can alter the styling of the section headings without having

Re: [NTG-context] Bug with lmtx and color in table

2020-07-22 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 22.07.2020 um 17:09: Hello, With the latest version of lmtx, the background color of cells does not work. Unrelated to tables. You can reduce xtable and natural table based examples very often to a simple \framed because both tables types inherit many features

[NTG-context] Bug with lmtx and color in table

2020-07-22 Thread Fabrice Couvreur
Hello, With the latest version of lmtx, the background color of cells does not work. Thank you. Fabrice \starttext \startxtable [align={middle,lohi}, offset=0.8ex,background=color, backgroundcolor=red,frame=off] \startxrow \startxcell

Re: [NTG-context] Code lua in a table

2020-07-21 Thread Fabrice Couvreur
Hello, I am making progress and I almost get what I want to achieve but I still have two problems : how to color cells not containing numbers with the same color as the others ? how to color in salmon, for example, cells 1 2 ? 3

Re: [NTG-context] Code lua in a table

2020-07-20 Thread Jeong Dal
Dear Hans, Thank you for new methods! It would take some time for me to understand them fully. Learning Lua, metafun, lmtx, wiki is always a challenge for me. I also wonder where is the boundary of ConTeXt. I hope that you and all members in this list are well from COVID-19. Thank you again.

Re: [NTG-context] Code lua in a table

2020-07-20 Thread Hans Hagen
On 7/20/2020 2:40 PM, Jeong Dal wrote: I also wonder where is the boundary of ConTeXt. The boundaries are set and shift by users (the mailing list) and curiosity (personal). Hans - Hans

Re: [NTG-context] Code lua in a table

2020-07-20 Thread Fabrice Couvreur
Hi all, Thank you for your contributions, it allows me to progress. @Hans and Deal The code is impressive but does not correspond to the shape of the triangle that I have to make (by convention). Fabrice Le lun. 20 juil. 2020 à 10:36, Hans Hagen a écrit : > On 7/20/2020 7:56 AM, Jeong Dal

Re: [NTG-context] Code lua in a table

2020-07-20 Thread Jeong Dal
mbi = { fact = fact, ncr = ncr, } \stopluacode ** Your table is actually Pascal’d triangle. Using the above function, I was able to draw Pascal’s triangles. Hans helped me to complete it. I couldn’t wikify it at that time because I don’t know how to. I’ll do it soon. Here is the whole c

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-20 Thread Hans Hagen
! are untranslated (they often are so very 'system' that translation does more harm than good. So, we don't translate some font related keys simply because in many cases the styles etc are not guaranteed coded neutral (most are)). It doesn't harm to have non-used entries in the table but best play clean

Re: [NTG-context] Code lua in a table

2020-07-20 Thread Hans Hagen
On 7/20/2020 7:56 AM, Jeong Dal wrote: Dear Fabrice, You may split Binom(n,k) function into two functions as following: > see original mail > Dalyoung Best stay in a protected namespace ... \startluacode local function fact (n) if n <= 0 then return 1 else

Re: [NTG-context] Code lua in a table

2020-07-18 Thread Otared Kavian
> On 18 Jul 2020, at 23:35, Otared Kavian wrote: > > > >> On 18 Jul 2020, at 22:25, Fabrice Couvreur >> wrote: >> >> Hi Wolfgang, >> >> It works but why did you ask this question since I finally use context ? >> Are you sure you want to use context(...) here? >> How not to display the .0

Re: [NTG-context] Code lua in a table

2020-07-18 Thread Otared Kavian
> On 18 Jul 2020, at 22:25, Fabrice Couvreur > wrote: > > Hi Wolfgang, > > It works but why did you ask this question since I finally use context ? > Are you sure you want to use context(...) here? > How not to display the .0 ? Besides what Wolfgang suggested, ou can also use

Re: [NTG-context] Code lua in a table

2020-07-18 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 18.07.2020 um 22:25: Hi Wolfgang, It works but why did you ask this question since I finally use context ? Are you sure you want to use context(...) here? In your first version you used the context function in the loop to print the output of the Binom but the

Re: [NTG-context] Code lua in a table

2020-07-18 Thread Fabrice Couvreur
Small correction : \starttext \startluacode function Binom(n,k) if k > n then return 0 elseif (n == 0 or k == 0) then return 1 else return (n*Binom(n-1,k-1))/k end end context.startxtable({"align={middle,lohi},

Re: [NTG-context] Code lua in a table

2020-07-18 Thread Fabrice Couvreur
Hi Wolfgang, It works but why did you ask this question since I finally use context ? > Are you sure you want to use context(...) here? > How not to display the .0 ? Fabrice Le sam. 18 juil. 2020 à 22:22, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> a écrit : > Fabrice Couvreur

Re: [NTG-context] Code lua in a table

2020-07-18 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 18.07.2020 um 22:09: Hi, I improved the code to be able to display the grid but I cannot display the coefficients. Thank you Fabrice \starttext \startluacode      function Binom(n,k)        if k > n then              return 0        elseif (n == 0 or k == 0)

Re: [NTG-context] Code lua in a table

2020-07-18 Thread Fabrice Couvreur
a écrit : > Fabrice Couvreur schrieb am 18.07.2020 um 20:05: > > Hello, > I want to display the values of Pascal's triangle in a table. > Unfortunately my knowledge of Lua is not sufficient to run this code. > Thank you. > Fabrice > > \starttext > &

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-18 Thread Hans Hagen
ng any Tex / Lua skills. One remark : I was wrong, I spend hours to put all the content (from mult-def and context-en.xml) in a simple csv table and building quick scripts to put it back in mult-def. (normally i then put up some music or a movies i already saw before in the background

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-18 Thread Garulfo
exist, at least partially or at an early stage. And when I started to use it, I thought that it could easily be improved and updated without requiring any Tex / Lua skills. One remark : I was wrong, I spend hours to put all the content (from mult-def and context-en.xml) in a simple csv table and

Re: [NTG-context] Code lua in a table

2020-07-18 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 18.07.2020 um 20:05: Hello, I want to display the values of Pascal's triangle in a table. Unfortunately my knowledge of Lua is not sufficient to run this code. Thank you. Fabrice \starttext \startluacode      function Binom(n,k)      if k >

[NTG-context] Code lua in a table

2020-07-18 Thread Fabrice Couvreur
Hello, I want to display the values of Pascal's triangle in a table. Unfortunately my knowledge of Lua is not sufficient to run this code. Thank you. Fabrice \starttext \startluacode function Binom(n,k) if k > n then return 0 elseif (n == 0 or k =

Re: [NTG-context] Incorrect placement of a table with LMTX

2020-07-14 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 14.07.2020 um 11:28: Hello, In my lessons, I often have to include tables, figures, ... in definitions, theorems ... With the context engine it works fine but not with lmtx. Thanks for your help. Fabrice [...] \starttext \startdefinition   \blank I have no

Re: [NTG-context] Incorrect placement of a table with LMTX

2020-07-14 Thread Fabrice Couvreur
Hi Otared, Thanks, it works perfectly. Best regards. fabrice Le mar. 14 juil. 2020 à 12:23, Otared Kavian a écrit : > Hi Fabrice, > > You should enclose the table into \startplacetable... \stopplacetable as > in: > > \startplacetable[number=no] > % here put your xta

Re: [NTG-context] Incorrect placement of a table with LMTX

2020-07-14 Thread Otared Kavian
Hi Fabrice, You should enclose the table into \startplacetable... \stopplacetable as in: \startplacetable[number=no] % here put your xtable \stopplacetable Best regards: Otared > On 14 Jul 2020, at 11:28, Fabrice Couvreur > wrote: > > Hello, >

[NTG-context] Incorrect placement of a table with LMTX

2020-07-14 Thread Fabrice Couvreur
Hello, In my lessons, I often have to include tables, figures, ... in definitions, theorems ... With the context engine it works fine but not with lmtx. Thanks for your help. Fabrice \setupenumerations [before={\blank}, after={\blank}, alternative=serried, title=yes, titleleft=,

Re: [NTG-context] pdf tagging for accesbility

2020-07-12 Thread Duncan Hothersall
I have no answer I'm afraid, but I would like to register a similar interest in any potential answer to the question. Duncan On Sun, 12 Jul 2020, 14:20 David Eric Cox, wrote: > Hello. > > Is there any way to pdf-tag table headers to assist screen readers and the > like? I can

[NTG-context] pdf tagging for accesbility

2020-07-12 Thread David Eric Cox
Hello. Is there any way to pdf-tag table headers to assist screen readers and the like? I can get tagging in general and thought that natural tables would work because of \bTABLEhead ... \eTABLEhead would do the job, but it doesn't. I'd appreciate any feedback. David Sent with [ProtonMail

Re: [NTG-context] About the table of contents

2020-07-11 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 11.07.2020 um 16:30: Hi Wolfgang, Sorry but i was wrong on what i want to get : 1  My first chapter     1.1 My first section   1.1.1 My first subsection Set the margin values: \setuplist [section][margin=1em] \setuplist [subsection] [margin=2em]

Re: [NTG-context] About the table of contents

2020-07-11 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 11.07.2020 um 15:02: Hello, I would like to reduce the space between the numbering and the title of the chapters, sections and subsections. I would also like to have this: 1 My first chapter 1.1 My first section 1.1.1 My first subsection You can use \setuplist

[NTG-context] About the table of contents

2020-07-11 Thread Fabrice Couvreur
Hello, I would like to reduce the space between the numbering and the title of the chapters, sections and subsections. I would also like to have this: 1 My first chapter 1.1 My first section 1.1.1 My first subsection \setuplist [chapter] [style=bold,width=10mm] \starttext \placelist

Re: [NTG-context] \placetable vs. \placefloat and option "none"

2020-07-08 Thread Wolfgang Schuster
the float instance as first argument, e.g. \placefloat[table]. Wolfgang ___ 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/li

[NTG-context] Converting a CSV file to a Lua table and Lua file

2020-07-04 Thread Otared Kavian
Hi all, I have a bash script which converts a CSV file into a Lua table, which is then used in ConTeXt. It works fine, but I wonder whether there is a code within LuaMetaTeX for doing this directly there (writing a new file which contains the Lua table). This would be more efficient and neater

Re: [NTG-context] Multiple cases of unexpected behaviour in luametatex

2020-07-03 Thread Hans Hagen
if i make a slightly different implementation of it but i can add the test anyway) - There is token.primitives(). My assumption is that the returned table is meant to indicate the command is, mode and name corresponding to every primitive. (I think it is awesome that such a tab

[NTG-context] Multiple cases of unexpected behaviour in luametatex

2020-07-03 Thread Marcel Fabian Krüger
ly range-checks to ensure that such overflows don't happen, even if invalid values are passed as firstargument. - There is token.primitives(). My assumption is that the returned table is meant to indicate the command is, mode and name corresponding to every primitive. (I thin

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread Jairo A. del Rio
that is why > \over and \atop work. > > > For further information and actual details, you can just look at the > luatex source (it is in C): > > > https://github.com/TeX-Live/luatex/blob/trunk/source/texk/web2c/luatexdir/tex/maincontrol.c > > The function > > void

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread Taco Hoekwater
ntrol(void) is the one that does all the heavy lifting (using a dispatch table). Taco > On 29 Jun 2020, at 12:15, Jairo A. del Rio wrote: > > Hans, after your explanation I'm actually curious now about details, but my > knowledge is too limited now (maybe reading source codes would be

[NTG-context] update

2020-06-25 Thread Hans Hagen
Hi, I uploaded a new version (both mkiv and lmtx). We removed some low level no longer used code (older engines), normalized some in the process, fixed a few things, etc. === lmtx only === While updating the cld manual I decided to also add an other table mechanism (in addition to the one

Re: [NTG-context] Yet another cornercase of ^^ handling in LuaMetaTeX

2020-06-17 Thread Hans Hagen
On 6/17/2020 4:24 PM, Marcel Fabian Krüger wrote: How does this work with mark nodes? Their mark field has a table containing triples of command, character and "cs" value. How can the actual csname of a controlsequence be extracted from this in LuaMetaTeX? at the token ends marks

Re: [NTG-context] Yet another cornercase of ^^ handling in LuaMetaTeX

2020-06-17 Thread Marcel Fabian Krüger
local t1 = token.new(string.byte("{"),token.command_id("letter")) > local t2 = token.new(string.byte("}"),token.command_id("letter")) > tex.print(t1) > tex.print(t2) > } > > Properties like cs_token_flag are not user level and

[NTG-context] using annotations for extended print handling

2020-06-14 Thread Pablo Rodriguez
ead all text annotations in order to extract two fields from those annotations that contain a "whatever" /Subj. These fields are /T and /Contents. I guess that the way to deal with the (over 700) annotations would be to store both fields in a Lua table. But this is only a suspicion, since

Re: [NTG-context] chapter numbers

2020-06-08 Thread jbf
=Table of Contents] \starttext \completecontent \stoptext end example Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] chapter numbers

2020-06-08 Thread Wolfgang Schuster
for a different purpose. The \setupheadtext command is used to change the default titles for \completecontent, \completeindex etc. begin example \setupheadtext[en][content=Table of Contents] \starttext \completecontent \stoptext end example Wolfgang

Re: [NTG-context] spacing between chapters in TOC

2020-06-01 Thread jbf
:05: Hi list, I want my table of contents to look like: Chapter 1     section   5     section  10     section  15 In other words with section items indented. I presumed I would need to do something with \setuplist[section]. I know how to control interline

Re: [NTG-context] spacing between chapters in TOC

2020-06-01 Thread Wolfgang Schuster
jbf schrieb am 02.06.2020 um 03:05: Hi list, I want my table of contents to look like: Chapter 1     section   5     section  10     section  15 In other words with section items indented. I presumed I would need to do something with \setuplist[section]. I

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

2020-06-01 Thread Wolfgang Schuster
for figures. Best regards: Otared K. On 1 Jun 2020, at 21:23, Wolfgang Schuster wrote: Otared Kavian schrieb am 01.06.2020 um 14:30: […] The label position in combinations is fixed and the easiest way to create your own combination is to use a table. Wolfgang Combinations are tables

[NTG-context] spacing between chapters in TOC

2020-06-01 Thread jbf
Hi list, I want my table of contents to look like: Chapter 1     section   5     section  10     section  15 In other words with section items indented. I presumed I would need to do something with \setuplist[section]. I know how to control interline

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

2020-06-01 Thread Wolfgang Schuster
to create your own combination is to use a table. Wolfgang ___ 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/listinfo/ntg

[NTG-context] LMTX: natural table error namespace 'naturaltablelocal', key ', '

2020-05-28 Thread Marco Patzer
Hi! With LMTX the following example results in setup > error in line 7, namespace 'naturaltablelocal', key ',' setup > error in line 7, namespace 'naturaltablelocal', key ',' The file runs without error in MkIV. Has something changed or is it a bug? \starttext

Re: [NTG-context] issue with environment and Lua

2020-05-26 Thread Hans Hagen
all [560]: ...ext/tex/texmf-context/tex/context/base/mkiv/lxml-tex.lua:918: bad argument #2 to 'lpegmatch' (string expected, got table) mtx-context | fatal error: return code: 256 Is there any way to be able to know which XML code outputs a table instead of the string ConTeXt expects and complai

[NTG-context] issue with environment and Lua

2020-05-26 Thread Pablo Rodriguez
bad argument #2 to 'lpegmatch' (string expected, got table) mtx-context | fatal error: return code: 256 Is there any way to be able to know which XML code outputs a table instead of the string ConTeXt expects and complaints about? I already spent three hours and I got nothing. In cases l

Re: [NTG-context] Anyone managed a tabulated table of contents

2020-05-25 Thread Hans Hagen
On 5/25/2020 2:40 PM, Bruce Horrocks wrote: I can't be the first to have wanted to try something like this. Is it possible to use tabulate (or any of the table types) to customise the layout of the table of contents? I'd like 4 columns - title, subject, author and page - where subject

[NTG-context] Anyone managed a tabulated table of contents

2020-05-25 Thread Bruce Horrocks
I can't be the first to have wanted to try something like this. Is it possible to use tabulate (or any of the table types) to customise the layout of the table of contents? I'd like 4 columns - title, subject, author and page - where subject and author will (eventually) be additional

Re: [NTG-context] Wiki - Proposal to update the Welcome page

2020-05-23 Thread Aditya Mahajan
anuals page. A small suggestion is that we could omit the table of content on this page, as it is almost redundant in the new format. 2/ After  the Manuals,  please find a proposal for the Welcome Page,    which is probably trickier    - https://wiki.contextgarden.net/Main_Page_Tem

Re: [NTG-context] Proposal to update the "Manuals" wiki page

2020-05-22 Thread Jan Willem Flamma
ors choice, additional data such as authors, number of pages). It's mainly built from cvs table + script. Finally, if you approve this update, I can arrange to clean up some pages of the wiki about the manuals.  Best,   

Re: [NTG-context] Proposal to update the "Manuals" wiki page

2020-05-20 Thread Gerben Wierda
ppets here and there. > - https://github.com/hmenke/context-examples/blob/master/GUIDE.md > > Depending on your comments, and if there is an interest, I would be happy to > improve it (correct errors, change document segmentation, better colors > choice, additional data such as authors

Re: [NTG-context] Proposal to update the "Manuals" wiki page

2020-05-20 Thread context
of pages). It's mainly built from cvs table + script. Finally, if you approve this update, I can arrange to clean up some pages of the wiki about the manuals. Best, ___ If your question is of interest to other

Re: [NTG-context] Proposal to update the "Manuals" wiki page

2020-05-20 Thread Denis Maier
Depending on your comments, and if there is an interest, I would be happy to improve it (correct errors, change document segmentation, better colors choice, additional data such as authors, number of pages). It's mainly built from cvs table + script. Finally, if you approve this update, I can

Re: [NTG-context] Proposal to update the "Manuals" wiki page

2020-05-20 Thread Hans Hagen
Depending on your comments, and if there is an interest, I would be happy to improve it (correct errors, change document segmentation, better colors choice, additional data such as authors, number of pages). It's mainly built from cvs table + script. Finally, if you approve this update, I can arrange

Re: [NTG-context] Proposal to update the "Manuals" wiki page

2020-05-20 Thread Rudolf Bahr
ippets here and there. > - https://github.com/hmenke/context-examples/blob/master/GUIDE.md > > Depending on your comments, and if there is an interest, I would be happy to > improve it (correct errors, change document segmentation, better colors > choice, additional data such as auth

Re: [NTG-context] \read segfaults in lmtx

2020-05-20 Thread Hans Hagen
of the returned table. But that never happens (This might be a related bug: In my experiments, even for files loaded with `\input`, the close function is never called.) and the issue seems to occur even if there is no real file opened for this. So I don't see why LuaMetaTeX should call fclose here at all

Re: [NTG-context] \read segfaults in lmtx

2020-05-20 Thread Marcel Fabian Krüger
`open_data_file` callback, so even if they are closed they probably should be closed by calling the `.close` member of the returned table. But that never happens (This might be a related bug: In my experiments, even for files loaded with `\input`, the close function is never called.) and the i

[NTG-context] Emoji color fonts not working on LMTX/Context MKIV

2020-05-20 Thread Jairo A. del Rio
not found sh: 1: gm: not found sh: 1: gm: not found sh: 1: gm: not found ... and the same line repeating itself ... close source > level 1, order 3, name '/home/lol/lmtx/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv' ! error: (file /usr/share/fonts/truetype/noto/NotoColorEmoji

[NTG-context] Proposal to update the "Manuals" wiki page

2020-05-19 Thread Garulfo
, and if there is an interest, I would be happy to improve it (correct errors, change document segmentation, better colors choice, additional data such as authors, number of pages). It's mainly built from cvs table + script. Finally, if you approve this update, I can arrange to clean up some pages of the wiki

Re: [NTG-context] two superscript versions with Garamond Libre

2020-05-19 Thread Henning Hraban Ramm
inmiller/garamond-libre/releases/latest. >> >> Thank you for the hint, I’m always looking for interesting fonts. >> This is a nicely designed classical Garamond with a big glyph repertoire >> (Latin, poly Greek, Cyrillic, Byzantine/Greek music symbols, math and other >> symbol

Re: [NTG-context] two superscript versions with Garamond Libre

2020-05-19 Thread Jan U. Hasecke
nteresting fonts. > This is a nicely designed classical Garamond with a big glyph repertoire > (Latin, poly Greek, Cyrillic, Byzantine/Greek music symbols, math and other > symbols), but after first tests I found flaws: > – Numbers are a bit too dark; table numbers look a bit too big

Re: [NTG-context] two superscript versions with Garamond Libre

2020-05-18 Thread Henning Hraban Ramm
h repertoire (Latin, poly Greek, Cyrillic, Byzantine/Greek music symbols, math and other symbols), but after first tests I found flaws: – Numbers are a bit too dark; table numbers look a bit too big, oldstyle numbers a bit too small. – Small caps are lacking accented vowels including umlauts. – Cyrilli

Re: [NTG-context] Problem with \vfill in extreme table

2020-05-17 Thread Hans Hagen
On 5/17/2020 5:00 PM, Wolfgang Schuster wrote: Bruce Horrocks schrieb am 17.05.2020 um 13:47: If I want the words Top and Bottom at the top and bottom of a page then "Top \vfill Bottom" works as expected. If I use the same in an extreme table I get an error and I don't know why

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-17 Thread Henning Hraban Ramm
> Am 17.05.2020 um 13:38 schrieb Bruce Horrocks : > > >> On 16 May 2020, at 12:02, Henning Hraban Ramm wrote: >> >>> >>> Am 16.05.2020 um 08:30 schrieb Wolfgang Schuster >>> : >>> >>> Bruce Horrocks schrieb am 16.05.2020 u

Re: [NTG-context] Problem with \vfill in extreme table

2020-05-17 Thread Wolfgang Schuster
Bruce Horrocks schrieb am 17.05.2020 um 13:47: If I want the words Top and Bottom at the top and bottom of a page then "Top \vfill Bottom" works as expected. If I use the same in an extreme table I get an error and I don't know why. What's the 'official' way to align top and bottom

[NTG-context] Problem with \vfill in extreme table

2020-05-17 Thread Bruce Horrocks
If I want the words Top and Bottom at the top and bottom of a page then "Top \vfill Bottom" works as expected. If I use the same in an extreme table I get an error and I don't know why. What's the 'official' way to align top and bottom in an xrow? MWE \setuppapersize [A4] [A4]

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-17 Thread Bruce Horrocks
> On 16 May 2020, at 12:02, Henning Hraban Ramm wrote: > >> >> Am 16.05.2020 um 08:30 schrieb Wolfgang Schuster >> : >> >> Bruce Horrocks schrieb am 16.05.2020 um 00:47: >>> When I customise the table of contents layout I lose the automatic &g

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-16 Thread Henning Hraban Ramm
> Am 16.05.2020 um 08:30 schrieb Wolfgang Schuster > : > > Bruce Horrocks schrieb am 16.05.2020 um 00:47: >> When I customise the table of contents layout I lose the automatic >> hyperlinks. Is there a simple configuration option that I have missed or do >>

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-16 Thread Wolfgang Schuster
Bruce Horrocks schrieb am 16.05.2020 um 00:47: When I customise the table of contents layout I lose the automatic hyperlinks. Is there a simple configuration option that I have missed or do I need to create my own links somehow? Example: \setupinteraction[state=start] \setupinteractionscreen

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-16 Thread Henning Hraban Ramm
> Am 16.05.2020 um 00:47 schrieb Bruce Horrocks : > > When I customise the table of contents layout I lose the automatic > hyperlinks. Is there a simple configuration option that I have missed or do I > need to create my own links somehow? > > Example: > > \s

[NTG-context] Custom list layout with PDF bookmarks

2020-05-15 Thread Bruce Horrocks
When I customise the table of contents layout I lose the automatic hyperlinks. Is there a simple configuration option that I have missed or do I need to create my own links somehow? Example: \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \define[3]\SectionListEntry

Re: [NTG-context] mkiv digits/units zero padding not working

2020-05-07 Thread Benjamin Buchmuller
>> 8.12±0.34 >> But I get >> 15.0±1.00 >> 8.12±0.34 >> instead. >> From the source (phys-dim.mkiv), I can see that “=“ should expand to >> \hphantom{0}. (I think \zeropoint in the table is outdated, since >> \def\zeropoint\hphantom{0} does not solv

Re: [NTG-context] mkiv digits/units zero padding not working

2020-05-07 Thread Wolfgang Schuster
to \hphantom{0}. (I think \zeropoint in the table is outdated, since \def\zeropoint\hphantom{0} does not solve the problem either.) 1. Which table? 2. This is not how \def works. 3. When you redefine \zeropoint (which isn't a macro) you're going to break everything. I can’t use tabulate

[NTG-context] mkiv digits/units zero padding not working

2020-05-07 Thread Benjamin Buchmuller
Hi, I’m trying to get \digits{15.0=}±\digits{1.00} \digits{_8.12}±\digits{0.34} horizontally aligned as 15.0 ±1.00 8.12±0.34 But I get 15.0±1.00 8.12±0.34 instead. From the source (phys-dim.mkiv), I can see that “=“ should expand to \hphantom{0}. (I think \zeropoint in the table

Re: [NTG-context] \placetable[location=split] reference ??

2020-05-07 Thread Benjamin Buchmuller
be different as soon as xtable tries to place them … Cheers \startplacetable[reference=tab1,title={A table},location=split] \startxtable[split=repeat] \startxrow \startxcell hi \stopxcell \stopxrow \stopxtable \stopplacetable > On 22 Apr 2020, at 21:10, Benjamin Buchmuller > wrote: > >

Re: [NTG-context] Retrieving original value of enviroment variable HOME

2020-05-07 Thread Hans Hagen
r = homedir end But anyway - would it be possible to store the original value of HOME environment variable (if set) before it gets changed during initialization - e.g. to a Lua table? - I would need to work with the original value in run-time (Win7 / WinX; ConTeXt MkIV

[NTG-context] Retrieving original value of enviroment variable HOME

2020-05-06 Thread context
le to store the original value of HOME environment variable (if set) before it gets changed during initialization - e.g. to a Lua table? - I would need to work with the original value in run-time (Win7 / WinX; ConTeXt MkIV). Best regards, Lukas _

Re: [NTG-context] Shift tabulate into margin and center

2020-05-05 Thread Tim Steenvoorden
Hi all, Apparently the solution does not work with multiple blocks on the same page. Table floats get ill aligned and frame rules are drawn double (see attachment). How should I fix this? Cheers, Tim On 4 May 2020, 20:42 +0200, Tim Steenvoorden , wrote: > Hi all, > > I’ve a pa

[NTG-context] Shift tabulate into margin and center

2020-05-04 Thread Tim Steenvoorden
be shifted to the left. As the text, this table should centered in the box. \placefigure[none,force]{} \starttabulate[|l|r|] \NC 0 \NC 1 \NR \NC 2 \NC 3 \NR \NC 4 \NC 5 \NR \NC 6 \NC 7 \NR \NC 8 \NC 9 \NR \stoptabulate \startformula E=mc^2 \stopformula \stopframedtext \stopnarrower \input tufte

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Gerben Wierda
I replace all of them. That works. But what if I would like a way to introduce TeX commands again by using some other UTF8 character, would there be a character that curvies the pass through lmtx, can be used in a lua table so that I can (in a preferred order) get unescaped characters passed

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
wlines, but gets me an extra empty line when I only want ’next line’ and multiple \blanks do not work But I found the solution by using \strut\\ instead of \blank. In the above table: { ‘\n', ‘\\strut' }, This fools ConTeXt in thinking there actually is something on that line and

Re: [NTG-context] Fwd: Unicode normalization and Hebrew in ConTeXt

2020-04-28 Thread Joey McCollum
tain characters is found in > > Table 1 (p. 12) of > > https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf. The > So how official is that? Or is this something specific for this font? Hebrew Layout Intelligence, which was developed by John Hudson of Tiro Typeworks (who wrote this manu

Re: [NTG-context] Fwd: Unicode normalization and Hebrew in ConTeXt

2020-04-28 Thread Hans Hagen
with lower combining classes in canonical order. The typographically recommended ordering of certain characters is found in Table 1 (p. 12) of https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf. The So how official is that? Or is this something specific for this font? Hans

<    4   5   6   7   8   9   10   11   12   13   >