Re: [NTG-context] context module t-account in LMTX

2022-04-28 Thread Heinrich Paeßens via ntg-context
17:10, Wolfgang Schuster via ntg-context > wrote: > > Heinrich Paeßens schrieb am 28.04.2022 um 16:39: >> Many thanks Wolfgang, >> >> I can see the 'values' in a table like form, nothing but the values — how >> can I switch on the 'lines' of the tab

Re: [NTG-context] context module t-account in LMTX

2022-04-28 Thread Wolfgang Schuster via ntg-context
Heinrich Paeßens schrieb am 28.04.2022 um 16:39: Many thanks Wolfgang, I can see the 'values' in a table like form, nothing but the values — how can I switch on the 'lines' of the table? You can either add     \setuptaccount[mp=taccount:line] or     \setuptacco

Re: [NTG-context] context module t-account in LMTX

2022-04-28 Thread Heinrich Paeßens via ntg-context
Many thanks Wolfgang, I can see the 'values' in a table like form, nothing but the values — how can I switch on the 'lines' of the table?Best regards, HeinrichI took your file t-taccount.mkxland——% !TEX program = lmtx\usemodule[t][taccount]\startTEXpage[offset=5pt]\startt

[NTG-context] Why can I no longer place \input inside table after update?

2022-04-23 Thread Joel via ntg-context
ing an argument." Before the update, this code worked fine. How can I \input a file while inside a table environment, as above? Thanks, --Joel ___ If your question is of interest to others as well, please add a

Re: [NTG-context] xmlpos values doubled

2022-04-20 Thread Pablo Rodriguez via ntg-context
On 4/20/22 11:51, Ben Moon via ntg-context wrote: > Hello again, > > I wonder whether anyone has some thoughts to help with my problem? > Either why \xmlpos gives double values or alternatives to arrange my > table format? Hi Ben, I think that both \xmlpos and \xmldepth give weird

Re: [NTG-context] xmlpos values doubled

2022-04-20 Thread Ben Moon via ntg-context
Hello again, I wonder whether anyone has some thoughts to help with my problem? Either why \xmlpos gives double values or alternatives to arrange my table format? Best wishes, Ben On Mon, 28 Mar 2022, at 10:44, Ben Moon via ntg-context wrote: > Hello All, > > I'm trying to

Re: [NTG-context] right item marks for associative questions?

2022-04-12 Thread Wolfgang Schuster via ntg-context
ially with long answers.. That makes a four columns table more cumbersome, so I believe. You can use different alignment settings to move the bullet points to the right side of your lists. \starttext \bTABLE[frame=off,width=.4\textwidth,columndistance=.2\textwidth,align={normal,lohi}]  

Re: [NTG-context] right item marks for associative questions?

2022-04-12 Thread Damien Thiriet via ntg-context
ot; feature is one way to go Might be, but I do not always give the same number of answers on both columns Something I forgot to put in my MWE is that I randomize both lists. Messing the answers is a good way to prevent pupils from cheating, especially with long answers.. That makes a four colu

Re: [NTG-context] right item marks for associative questions?

2022-04-11 Thread śrīrāma via ntg-context
ak the alternative, align, closesymbol, closecommand to get exactly what you want; the example above will give a somewhat symmetric layout] More generally, if the text can multi-line, then I think TABLE (with proper alignment options) might be better-suited: %%% start example-2 \define\startIte

Re: [NTG-context] processdatabasefile styling of table cells

2022-04-06 Thread Bruce Horrocks via ntg-context
ers a lot. Sometimes only the last column contains decimal > numbers, sometimes the last two columns. Not sure what will happen here - try it and see. Whenever my table layouts go wildly wrong, Context usually manage

[NTG-context] processdatabasefile styling of table cells

2022-04-06 Thread juh+ntg-context--- via ntg-context
Hi all, I include tables via csv files like this \processdatabasefile[test][test.csv] I was able to style the tables with this: \setupTABLE [ split=yes, header=repeat, option=stretch, loffset=.5ex,roffset=.5ex] \setupTABLE [row] [odd] [background=color,backgroundcolor=hs-hellblau,] \setupTA

Re: [NTG-context] modify kern between two glyphs

2022-04-05 Thread mf via ntg-context
There's a problem with oldstyle glyphs, because they have different codes inside a font. I used fontforge to find the "four.oldstyle" glyph, whose code is 0xf734. But then I discovered that the 'four.oldstyle' key works the same in the lua table. This is the

Re: [NTG-context] modify kern between two glyphs

2022-04-05 Thread mf via ntg-context
the right macro. It looks like it's not. I'm expecting there's a lua font table with glyph pairs kerning to update. Massi ___ If your question is of interest to others as well, please add an entry to the W

Re: [NTG-context] How to group list of figures and list of tables by chapter?

2022-03-31 Thread Werner Schmidt via ntg-context
Thanks a lot it works! I just had to add \noindent because for some strange reason the chapter title was indented after adding the \writebetweenlist hook to \setuphead. before={ \noindent \writebetweenlist [figure] [location=here] {\blank} \writebetweenlist [table] [location=here] {\blank

[NTG-context] xmlpos values doubled

2022-03-28 Thread Ben Moon via ntg-context
Hello All, I'm trying to render a table stored in XML JATS format (https://jats.nlm.nih.gov/archiving/) and eventually want to use the tag to setup column aligning from the @align attribute, e.g., \setupTABLE [column] [\xmlpos{#1}] [align=\xmlatt{#1}{align}] Including \xmlpos{#1}

Re: [NTG-context] embedding tex and lua code in

2022-03-24 Thread mf via ntg-context
t;script type="text/x-lua"> in the <head> element (BTW, "text/x-lua" is the mimetype proposed by freedesktop.org for lua scripts. That element is managed by this code: --   if mimetype and mimetype == "text/x-lua" then     local

Re: [NTG-context] redefining xmlsetups inside a XML document

2022-03-22 Thread mf via ntg-context
s) context( "\\startluacode " .. code .. " \\stopluacode" ) end -- s is the table representing the script element. That works, but it has a problem with one-line comments: -- <script type="

Re: [NTG-context] Make footnote/endnote number not superscript?

2022-03-20 Thread Rik Kabel via ntg-context
t will make the main text cleaner if I use endnotes rather than include the URL in-line in the text or as a (distracting) footnote. So when the author writes "See my video at URL>" I will print "See my video at link 1". At the back of the book, in an appendix somewhere, I t

Re: [NTG-context] Make footnote/endnote number not superscript?

2022-03-20 Thread Wolfgang Schuster via ntg-context
include the URL in-line in the text or as a (distracting) footnote. So when the author writes "See my video at " I will print "See my video at link 1". At the back of the book, in an appendix somewhere, I then use \placenotes to display a table of the actual URLs for any readers

Re: [NTG-context] Make footnote/endnote number not superscript?

2022-03-20 Thread jbf via ntg-context
an include the URL in-line in the text or as a (distracting) footnote. So when the author writes "See my video at " I will print "See my video at link 1". At the back of the book, in an appendix somewhere, I then use \placenotes to display a table of the actual URLs for any rea

[NTG-context] Make footnote/endnote number not superscript?

2022-03-20 Thread Bruce Horrocks via ntg-context
te. So when the author writes "See my video at " I will print "See my video at link 1". At the back of the book, in an appendix somewhere, I then use \placenotes to display a table of the actual URLs for any readers that want to type them in. I want the "link 1" bit

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
dypart] \setuphead[chapter][color=blue] \stopsectionblockenvironment \starttext \startfrontmatter \title{Table of content} \placecontent \stopfrontmatter \startbodymatter \chapter{Knuth} \input knuth \chapter{Zapf} \input zapf \stopbodymatter \stoptext \starttext a\texttilde b\let

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Willi Egger via ntg-context
pter][style=\ssc] > > % Local settings for chapter in the bodymatter block > \startsectionblockenvironment[bodypart] > \setuphead[chapter][color=blue] > \stopsectionblockenvironment > > \starttext > > \startfrontmatter > > \title{Table of content} > > \

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
% Global settings for all chapters \setuphead[chapter][style=\ssc] % Local settings for chapter in the bodymatter block \startsectionblockenvironment[bodypart] \setuphead[chapter][color=blue] \stopsectionblockenvironment \starttext \startfrontmatter \title{Table of content} \placecontent

Re: [NTG-context] "Flushbottom" / \setupalign[line] in LMTX

2022-03-09 Thread Denis Maier via ntg-context
la bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla} \def\Fig{\placefigure{A figure.}{\framed{\vbox to 5cm{bla}}}} \def\Tab{\placetable{A table.}{\framed{\vbox to 5cm{bla \starttext \section{Section}\Par\Par\P

[NTG-context] "Flushbottom" / \setupalign[line] in LMTX

2022-03-09 Thread Denis Maier via ntg-context
la bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla} \def\Fig{\placefigure{A figure.}{\framed{\vbox to 5cm{bla \def\Tab{\placetable{A table.}{\framed{\vbox to 5cm{bla \starttext \section{Section}\Par\Par\Par\F

Re: [NTG-context] OT world history: other measuring systems?

2022-01-26 Thread BPJ via ntg-context
the grains contain, > one has different amount of the real stuff. If one measures the volume of > the grains, then according how compressed they are, the amount of the > grains may be different… (at some point there was a law which stated that > when a unit vessel of grains was to be sold,

Re: [NTG-context] OT world history: other measuring systems?

2022-01-26 Thread Jean-Pierre Delange via ntg-context
stuff. If one measures the volume of the grains, then according how compressed they are, the amount of the grains may be different… (at some point there was a law which stated that when a unit vessel of grains was to be sold, the seller should struck the bottom of the vessel on a table three times

Re: [NTG-context] OT world history: other measuring systems?

2022-01-26 Thread Otared Kavian via ntg-context
mount of the grains may be different… (at some point there was a law which stated that when a unit vessel of grains was to be sold, the seller should struck the bottom of the vessel on a table three times and then refill again sthe vessel for it to be full). The measure of the distances on

Re: [NTG-context] Counter names

2022-01-20 Thread Hans Hagen via ntg-context
nenote paragraph realpage subpage table textnote:note userpage otherw will be defined when you create instances Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH

Re: [NTG-context] Custom Table of Contents

2022-01-20 Thread Hans Hagen via ntg-context
On 1/20/2022 3:45 PM, andrei--- via ntg-context wrote: Hi! I’m new to ConTeXt. I need to make a custom table of contents that looks like this: https://imgur.com/a/Ca3By6X <https://imgur.com/a/Ca3By6X> Each row in the table corresponds to an item that has following data to print in the

[NTG-context] Custom Table of Contents

2022-01-20 Thread andrei--- via ntg-context
Hi! I’m new to ConTeXt. I need to make a custom table of contents that looks like this: https://imgur.com/a/Ca3By6X Each row in the table corresponds to an item that has following data to print in the table of contents: page, total number of pages which the item spans, name of the item and a

Re: [NTG-context] How to create cell data that spans four rows in a table?

2022-01-09 Thread Wolfgang Schuster via ntg-context
Willi Egger via ntg-context schrieb am 08.01.2022 um 23:57: I would suggest not to use \starttable at all. To me the most suitable table environment for such a table is \bTABLE \eTABLE. It gives you all kind of control over layout, dimensions, frames on and off etc. I agree natural tables

Re: [NTG-context] How to create cell data that spans four rows in a table?

2022-01-08 Thread Aditya Mahajan via ntg-context
On Sat, 8 Jan 2022, Joel via ntg-context wrote: > I created a table that has some cells span multiple rows. This works good > with cells that span an odd-number of rows, but when I try to span 4 rows, > the text isn't quite vertically centered. How can I get the cell with the &g

Re: [NTG-context] How to create cell data that spans four rows in a table?

2022-01-08 Thread Joel via ntg-context
Thank you! The code is much easier to understand than the other way I was trying to use. --Joel On Saturday, January 8, 2022, 04:00:12 PM MST, Willi Egger via ntg-context wrote: I would suggest not to use \starttable at all. To me the most suitable table environment for such a table

Re: [NTG-context] How to create cell data that spans four rows in a table?

2022-01-08 Thread Willi Egger via ntg-context
I would suggest not to use \starttable at all. To me the most suitable table environment for such a table is \bTABLE \eTABLE. It gives you all kind of control over layout, dimensions, frames on and off etc. \setupTABLE[c][1][leftframe=off,width=40mm] \setupTABLE[c][2][rightframe=off, width=60mm

[NTG-context] How to create cell data that spans four rows in a table?

2022-01-08 Thread Joel via ntg-context
I created a table that has some cells span multiple rows. This works good with cells that span an odd-number of rows, but when I try to span 4 rows, the text isn't quite vertically centered. How can I get the cell with the text "Archaeon Eon" to be a little lower, so it is cent

Re: [NTG-context] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-07 Thread Hans Hagen via ntg-context
On 1/7/2022 4:18 PM, J. P. Ascher via ntg-context wrote: % Libertine with a Junicode fallback, lib-fb-jun looks like there is some beta junicode two (i tried the variable font but the ttf crashes (no hvar table) and the otf also has issues so probably a bit too beta) .. maybe that font will

Re: [NTG-context] Align table (framed) top

2022-01-04 Thread Mikael Sundqvist via ntg-context
Oh, I should have thought of that. Thanks (again) Wolfgang! /Mikael On Tue, Jan 4, 2022 at 5:22 PM Wolfgang Schuster wrote: > > Mikael Sundqvist via ntg-context schrieb am 04.01.2022 um 13:21: > > Oh, thanks! > > > > I can simply wrap my table in a framed environment,

Re: [NTG-context] Align table (framed) top

2022-01-04 Thread Wolfgang Schuster via ntg-context
Mikael Sundqvist via ntg-context schrieb am 04.01.2022 um 13:21: Oh, thanks! I can simply wrap my table in a framed environment, then. If it is still possible to solve without the surrounding framed I'm interested to hear how. You have to put the table in a box to change the vertical pos

Re: [NTG-context] Align table (framed) top

2022-01-04 Thread Mikael Sundqvist via ntg-context
Oh, thanks! I can simply wrap my table in a framed environment, then. If it is still possible to solve without the surrounding framed I'm interested to hear how. /Mikael On Tue, Jan 4, 2022 at 12:12 PM kauśika wrote: > > On Tuesday, January 4, 2022 4:24:22 PM IST Mikael Sundqv

Re: [NTG-context] Align table (framed) top

2022-01-04 Thread kauśika via ntg-context
On Tuesday, January 4, 2022 4:24:22 PM IST Mikael Sundqvist via ntg-context wrote: > What is the correct way to get the last line, "The last foo", > to automatically be placed below the second table? There is only one table in your example. > I still want the first line of

[NTG-context] Align table (framed) top

2022-01-04 Thread Mikael Sundqvist via ntg-context
Hi, This is probably simple, but I cannot combine the right keys to get it to work. What is the correct way to get the last line, "The last foo", to automatically be placed below the second table? I still want the first line of the table to align vertically with the text Bar. /Mikael

Re: [NTG-context] aligning Malayalam horizontally across column

2022-01-01 Thread Ajith R via ntg-context
On Fri, 31 Dec 2021 20:49:30 +0530 kauśika wrote: > If the height varies due to the formation of conjuncts, I > think you are better off using "(natural) tables" : > https://wiki.contextgarden.net/TABLE > In particular, setting align=lohi for the two columns concerned >

Re: [NTG-context] footnotes not aligned if tabulate cell is centered.

2021-12-31 Thread Ajith R via ntg-context
Hi, On Fri, 31 Dec 2021 14:35:57 +0100 Wolfgang Schuster wrote: > 1. Provide the correct number of columns in your table because in the > preamble you specify two columns but each row in your table contains > only a single row. That was an error that creeped in while preparing the ex

Re: [NTG-context] aligning Malayalam horizontally across column

2021-12-31 Thread kauśika via ntg-context
ink you are better off using "(natural) tables" : https://wiki.contextgarden.net/TABLE In particular, setting align=lohi for the two columns concerned should work. Again, your example is not clear enough for me to suggest much. kauśika __

Re: [NTG-context] footnotes not aligned if tabulate cell is centered.

2021-12-31 Thread Wolfgang Schuster via ntg-context
. When I use local footnotes within a tabulate section, the foot notes gets placed unevenly. If I remove the "c" from \starttabulate[|p(3cm)c|p|], then the footnotes are aligned. Is it a bug? If not, how can I correct it? 1. Provide the correct number of columns in your table because in the

Re: [NTG-context] Table of Contents Header?

2021-12-30 Thread kauśika via ntg-context
On Friday, December 31, 2021 7:53:08 AM IST Michael Urban via ntg-context wrote: > Or is there some more foolproof way of getting those headers into the right > place? Here is something I quickly wrote up: First, define some labels for the columns of the ToC — \definesynonyms[toclabel][tocla

[NTG-context] Table of Contents Header?

2021-12-30 Thread Michael Urban via ntg-context
I am playing around with imitating the design of fiction books from the early 20th century. The table of contents for these books often has small headings, 'CHAPTER' (or 'CHAP.') and 'PAGE' over the respective columns. How might this best be accomplished in

Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-26 Thread Hans Hagen via ntg-context
scratch, shifts in glyphs table… For sure, the original font by Georg Duffner was much better, but I need the variable version. Lots of fixing necessary, but thanks to fonts.handlers.otf.addfeature I have almost succeeded to make it a usable Garamond. a probably more reliable solution is to

Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-25 Thread Thomas Savary via ntg-context
rewritten from scratch, shifts in glyphs table… For sure, the original font by Georg Duffner was much better, but I need the variable version. Lots of fixing necessary, but thanks to fonts.handlers.otf.addfeature I have almost succeeded to make it a usable Garamond. Of course, it would be

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Hans Hagen via ntg-context
On 12/24/2021 5:45 PM, Jason Ross via ntg-context wrote: Dear list, Is it possible to set the maximum table of contents depth to a number rather than providing an explicit list of section names? Background: I am developing an exporter for Org mode. In Org, users can specify the number of

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Bruce Horrocks via ntg-context
> On 24 Dec 2021, at 16:45, Jason Ross via ntg-context > wrote: > > Dear list, > > Is it possible to set the maximum table of contents depth to a number rather > than providing an explicit list of section names? > > > Background: > > I am develop

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
Does that make sense? I understand. The issue I see is that this introduces a coupling between section structure and table of contents that could be confusing for users, and also makes the interface more complicated by adding another keyword. I am trying to take advantage of the flexibili

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
a way _in ConTeXt_ to create a table of contents with depth `n` regardless of the sectioning used. Jason ___ If your question is of interest to others as well, p

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
cifically looking for a way _in ConTeXt_ to create a table of contents with depth `n` regardless of the sectioning used. Jason ___ If your question is of interest to others

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
known it should be possible to map toc:2 to a combinedlist definition. I can't require the user to use more document keywords to get the same functionality they already have with the other exporters by default. I am really specifically looking for a way _in ConTeXt_ to create a table o

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
Jason Ross via ntg-context hat am 24.12.2021 22:22 geschrieben: On 12/24/21 1:20 PM, Denis Maier via ntg-context wrote: >> >> I see. >> >> Next try: add

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
On 12/24/21 1:20 PM, Denis Maier via ntg-context wrote: I see. Next try: add a new option "#+Context_Section_Levels: Thus will take an alist. Now you'll know about the user defined structure levels and the toc option can be translated to the corresponding setting. (Here again, you can if

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
Denis Maier via ntg-context hat am 24.12.2021 22:13 geschrieben: Jason Ross via ntg-context hat am 24.12.2021 18:53 geschrieben: On 12/24/21 9:49

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
Jason Ross via ntg-context hat am 24.12.2021 18:53 geschrieben: On 12/24/21 9:49 AM, Denis Maier via ntg-context wrote: For the six = for the toc... Denis Maier via ntg-cont

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
On 12/24/21 9:49 AM, Denis Maier via ntg-context wrote: For the six = for the toc... Denis Maier via ntg-context hat am 24.12.2021 18:42 geschrieben: Can't you just define a default structurelevel scheme and a default combined list for the six. If a user redefines the structure level sch

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
Dear list, Is it possible to set the maximum table of contents depth to a number rather than providing an explicit list of section names? Background: I am developing an exporter for Org mode. In

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
ntext <ntg-context@ntg.nl> hat am 24.12.2021 17:45 geschrieben: Dear list, Is it possible to set the maximum table of contents depth to a number rather than providing an explicit list of se

[NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
Dear list, Is it possible to set the maximum table of contents depth to a number rather than providing an explicit list of section names? Background: I am developing an exporter for Org mode. In Org, users can specify the number of levels they want in the table of contents with a number. I

Re: [NTG-context] Title for tabulate

2021-12-16 Thread Benjamin Buchmuller via ntg-context
mixture 1}] >> \FL >> \NC Absolute \BC Stock \NC Ingredient \NC Final \NR >> \HL >> \NC 1 \NR >> \LL >> \stoprecipe >> \startrecipe[title={Whatever mixture 2}] >> \FL >> \BC Absolute \BC Stock \BC Ingredient \BC Final \NR >> \HL >> \NC

Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Michal Vlasák via ntg-context
t/archive/X.source.tar.xz PS: To be frank I didn't manage to even run the mtx-ctan script, seems like a problem with locating libs-imp-curl.lmt, although util-jsn.lua is fine and is also "require"d. [...] resolvers | libraries | locating, level '1', method 'already l

Re: [NTG-context] Title for tabulate

2021-12-14 Thread Hans Hagen via ntg-context
\LL \stoprecipe \stoptext etc. However, I cannot change the way the title is styled (or spaced from the table) unless I do "title={\bi Some text.}". However, blank commands are also stripped off at this place. (I also don't get a clue from the source if there is any argument to spike-

Re: [NTG-context] Title for tabulate

2021-12-14 Thread Benjamin Buchmuller via ntg-context
rtrecipe[title={Whatever mixture 1}] \FL \NC Absolute \BC Stock \NC Ingredient \NC Final \NR \HL \NC 1 \NR \LL \stoprecipe \startrecipe[title={Whatever mixture 2}] \FL \BC Absolute \BC Stock \BC Ingredient \BC Final \NR \HL \NC 1 \NR \LL \stoprecipe \stoptext etc. However, I cannot change the way

Re: [NTG-context] circuitikz module seems broken

2021-12-14 Thread Jan-Erik Hägglöf via ntg-context
f@temp{#1}% > \expandafter\pgfutil@writetoaux\expandafter{% > > \expandafter\noexpand\expandafter\pgfsyspdfmark\expandafter{\pgf@temp}{\the\lastxpos}{\the\lastypos}}% > } > > This can easil

Re: [NTG-context] circuitikz module seems broken

2021-12-13 Thread Aditya Mahajan via ntg-context
ily be stored in the tuc file using two-pass data, but I don't use this feature of tikz, so don't have examples to test this. @HenriMenke: Do you know if it is save to not create the `.pgf` file and rewrite the above macro to r

Re: [NTG-context] Parameter order in float location matters

2021-11-30 Thread Marco Patzer via ntg-context
cify the other, AFAIK. Which is a bit unfortunate since the placement belongs in an environment and not the running text (it's a style decision after all). Take the following example: \setupfloats [figure] [default=top] \setupfloats [table] [default=bottom] %% \setupfloats [table]

Re: [NTG-context] Have a cell span multiple columns with tabulate

2021-11-27 Thread Jean-Philippe Rey via ntg-context
ntext <mailto:ntg-context@ntg.nl>> a écrit : > > Hi, > > I’m using tabulate for parallel texts (source and translation next to each > other). The top of each table should consist of only one cell covering both > columns with centered content. Is that possible? > &g

Re: [NTG-context] Have a cell span multiple columns with tabulate

2021-11-27 Thread Denis Maier via ntg-context
he top of each table should consist of only one cell covering both columns with centered content. Is that possible? A HTML equivalent will look roughly like this: Manuscript XY Some text in Greek or Hebrew or whatever This is the translation With ConteXt I’d like

Re: [NTG-context] Have a cell span multiple columns with tabulate

2021-11-27 Thread Jean-Philippe Rey via ntg-context
Dear Denis, > Le 27 nov. 2021 à 13:25, Denis Maier via ntg-context a > écrit : > > Hi, > > I’m using tabulate for parallel texts (source and translation next to each > other). The top of each table should consist of only one cell covering both > columns with c

[NTG-context] Have a cell span multiple columns with tabulate

2021-11-27 Thread Denis Maier via ntg-context
Hi, I'm using tabulate for parallel texts (source and translation next to each other). The top of each table should consist of only one cell covering both columns with centered content. Is that possible? A HTML equivalent will look roughly like this: Manuscript XY Some

Re: [NTG-context] Neovim and ConTeXt

2021-11-25 Thread Clint Grady via ntg-context
cript mtx-interface --vim > > The next version of my plugin uses those. The version currently shipping > with Vim was curated by hand, with the help of custom scripts to > automate keyword extraction. It should be ok, although at this point not > really up to date with the most recen

Re: [NTG-context] Neovim and ConTeXt

2021-11-25 Thread Nicola via ntg-context
to automate keyword extraction. It should be ok, although at this point not really up to date with the most recently added keywords. > It will be cool to have a more integrated support, like showing table > of contents in the sidebar, For that, I use the TagBar plugin, with custom Ctags con

Re: [NTG-context] Neovim and ConTeXt

2021-11-24 Thread Aditya Mahajan via ntg-context
ua. Metafun has added some new keywords and it will be nice to support those. I believe that context ships with a file that outputs all these keywords but I don't remember the name. It will be cool to have a more integrated support, like showing table of contents in the sidebar, (these are st

Re: [NTG-context] fixing indentation of xtable inside item

2021-11-22 Thread fv leung via ntg-context
add \dontleavehmode before the table Andres Conrado Montoya via ntg-context 於 2021年11月23日 週二 上午7:58寫道: > Considering the following MWE, I would like to know how I can get > the table inside the item to be aligned with the item. It seems the > tabel takes the width right, but it gets

[NTG-context] fixing indentation of xtable inside item

2021-11-22 Thread Andres Conrado Montoya via ntg-context
Considering the following MWE, I would like to know how I can get the table inside the item to be aligned with the item. It seems the tabel takes the width right, but it gets pushed to the left, disregarding the item's indentation. I think I read about this behaviour somewhere, but I have sp

Re: [NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread musa furber via ntg-context
ous documentation and examples. > > > > My book design requires the front matter to contain an abridged table of > > contents just for chapters, and a detailed table of contents in the back > > matter. > > > > Everything worked fine -- including the PDF boo

Re: [NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread Musa Furber via ntg-context
amples. > > My book design requires the front matter to contain an abridged table of > contents just for chapters, and a detailed table of contents in the back > matter. > > Everything worked fine -- including the PDF bookmarks and table of > contents -- until I started usi

Re: [NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread Hans Hagen via ntg-context
On 11/22/2021 10:49 AM, musa furber via ntg-context wrote: I am relatively new to ConTeXt and have encountered something that does not work as I expected it to based on various documentation and examples. My book design requires the front matter to contain an abridged table of contents just

[NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread musa furber via ntg-context
I am relatively new to ConTeXt and have encountered something that does not work as I expected it to based on various documentation and examples. My book design requires the front matter to contain an abridged table of contents just for chapters, and a detailed table of contents in the back

Re: [NTG-context] Neste itemize in table (or vice-versa?)

2021-11-20 Thread Wolfgang Schuster via ntg-context
Alexandre Christe via ntg-context schrieb am 20.11.2021 um 16:19: Dear all, I'm trying something out in LMTX, which is to combine itemize with a table. Application could be to put a question and the answer in the next column. A minimal example would be: [...] The numbering unfortun

[NTG-context] Neste itemize in table (or vice-versa?)

2021-11-20 Thread Alexandre Christe via ntg-context
Dear all, I'm trying something out in LMTX, which is to combine itemize with a table. Application could be to put a question and the answer in the next column. A minimal example would be: \starttext \startitemize [a] [right=),stopper=] \bTABLE[frame=off] \setupTABLE[column][1] [

Re: [NTG-context] Multiline cell in spreadsheettable

2021-11-19 Thread juh via ntg-context
Am Fri, Nov 19, 2021 at 09:19:08AM +0100 schrieb Henning Hraban Ramm via ntg-context: > Maybe in https://wiki.contextgarden.net/TABLE > That page needs some better structure... Thats probably correct. I inserted a paragraph without improving the structure. juh -- Autoren-Ho

Re: [NTG-context] Multiline cell in spreadsheettable

2021-11-19 Thread Henning Hraban Ramm via ntg-context
this would fit? Maybe in https://wiki.contextgarden.net/TABLE That page needs some better structure... Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] Using old fonts

2021-11-18 Thread Hans Hagen via ntg-context
used, if the GPOS and GSUB tables are present and adequately filled. Now, the old font files do not have these tables, but instead use some obsolete (?) form of kerning table, and ligatures are not qualified as such, but only trough their Unicode point and name (most commonly fi and fl). I used

[NTG-context] Using old fonts

2021-11-18 Thread Gérard Milmeister via ntg-context
. Now, the old font files do not have these tables, but instead use some obsolete (?) form of kerning table, and ligatures are not qualified as such, but only trough their Unicode point and name (most commonly fi and fl). I used fontforge, which creates the GPOS table automatically, added the liga

Re: [NTG-context] Bug in lmt_arrow

2021-11-15 Thread Hans Hagen via ntg-context
the code and cannot figure out why this is happening. it happens in the 'direct' variant (metapost.registerdirect) where a boolean is passed as signal and that boolean then is also picked up by the (shared) path injector as (old school) signal that a path is closed while it shoul

Re: [NTG-context] Bug in lmt_arrow

2021-11-14 Thread Aditya Mahajan via ntg-context
not have a cycle. > > > > > > I have looked at the code and cannot figure out why this is happening. > > > > it happens in the 'direct' variant (metapost.registerdirect) where a boolean > > is passed as signal and that boolean then is also picked up

Re: [NTG-context] Bug in lmt_arrow

2021-11-14 Thread Aditya Mahajan via ntg-context
mt_arrow has drawn the > > "cycle" version of the path, even though p does not have a cycle. > > > > I have looked at the code and cannot figure out why this is happening. > > it happens in the 'direct' variant (metapost.registerdirect) where a boolean >

Re: [NTG-context] Bug in lmt_arrow

2021-11-14 Thread Hans Hagen via ntg-context
signal and that boolean then is also picked up by the (shared) path injector as (old school) signal that a path is closed while it should instead consutl the closed field in a path table (sounds more complex than it is) so in the end it is a nasty side effect of the fast inject code path

Re: [NTG-context] issue importing metadata from PDF

2021-11-12 Thread Pablo Rodriguez via ntg-context
On 11/12/21 8:04 PM, Hans Hagen via ntg-context wrote: > On 11/12/2021 7:24 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> I’m afraid I don’t know how to extract the real information, I only >> get:>> >>table: 0x324279a3400 > > then you're

Re: [NTG-context] issue importing metadata from PDF

2021-11-12 Thread Hans Hagen via ntg-context
know how to extract the real information, I only get: table: 0x324279a3400 then you're doing something wrong \startluacode local main = lpdf.epdf.load("ar.pdf") context(tostring(main.Info.ModDate)) context(tostring(main.Info.Title)) local crap1 = tostri

Re: [NTG-context] issue importing metadata from PDF

2021-11-12 Thread Pablo Rodriguez via ntg-context
On 11/12/21 7:14 PM, Hans Hagen via ntg-context wrote: > They are tables because in lua objects are like tables. Doesn't > > context(tostring(main_doc.Info.ModDate)) > > work? Many thanks for your reply, Hans. I’m afraid I don’t know how to extract the real information,

Re: [NTG-context] Any initial thoughts on luau?

2021-11-08 Thread Ramkumar KB via ntg-context
ink the authors > >> are aware of all that) ... and ... who knows what (side effects) > >> pallene will bring > >> > >> (also about performance: i know pretty well how to write fast lua code > >> but no one ever comes around asking so that means everyone

Re: [NTG-context] Any initial thoughts on luau?

2021-11-06 Thread Hans Hagen via ntg-context
mes around asking so that means everyone is satisfied) Hans After Ramkumar's initial e-mail, I reread some of the manuals describing Lua 5.1 / 5. 2 / 5.3 / 5.4 / LuaJIT evolution and evaluation. As I learned more about Lua and LuaTeX I realized that they share (or contrast in) some core concepts

<    1   2   3   4   5   6   7   8   9   10   >