Re: [NTG-context] how access to \namedstructurevariable [next / previous]

2023-04-29 Thread Garulfo via ntg-context
Got a solution, but it looks like "not a proper way to do it" Is it recommanded to work directly with lua tables like these : - structures.sections.current().references - fonts.current().specification === \def\CheckC% {\startluacode local numero

[NTG-context] how access to \namedstructurevariable [next / previous]

2023-04-29 Thread Garulfo via ntg-context
Hi all, I would like to use the title and the number of a section twice : - first with a specific layout (with makeup) - second, as usual, as part of the page flow. like in : http://www.pragma-ade.nl/general/manuals/cont-enp.pdf#page=23 looking at the source code

[NTG-context] Trial to use LibreOffice Calc (+ python) to build ConTeXt customized environnements files

2023-04-10 Thread Garulfo via ntg-context
Hi all, I started an attempt to help producing customized environnements files with LibreOffice Calc and macro with python, to see if and how it can helps newcomers (after viewing video about batch commander from Ricardo Lafuente and Kaveh Bazargan). It is very early stage (and very quick

Re: [NTG-context] Best way to access casul fonts

2023-01-23 Thread Garulfo via ntg-context
Hi, Following the instruction from : https://wiki.contextgarden.net/Use_the_fonts_you_want mtxrun --script font --list --file -pattern=*casual* gives : familyname weight   style    width    variant   fontname   filename    subfont   fontweight

Re: [NTG-context] Pull quote between two column - trial

2022-05-29 Thread Garulfo via ntg-context
to use pull quotes, I need to use the dimensions of the different elements to be typeset, before typesetting, in order to adapt the shapes of the flow accordingly. So here is just a basic code to 1/ get the dimensions of an item A that will be typeset, before it is actually typeset 2/ use

Re: [NTG-context] Pull quote between two column - trial

2022-05-28 Thread Garulfo via ntg-context
some progress... if it can help. No more issue with nonsymetrical behavior, and \framed are properly aligned with the grid. Garulfo getshapetext_for_pullquote.pdf Description: Adobe PDF document \setuplayout [grid=yes] \showgrid \definecolor [transparentred] [r=1,t=.5,a=1] \def\numA{18}

[NTG-context] Pull quote between two column - trial

2022-05-21 Thread Garulfo via ntg-context
Hi all, hope you are all doing well. I am still trying to display pull quote between two columns. lmt_parshape is really helpfull. I need to add a 1pt gap to make the left column behave correctly, but the right column remains shifted one line below the intended one. Question1: any clue ?

[NTG-context] intercolumn pull quotes typesetting

2022-03-13 Thread Garulfo via ntg-context
Hi all, what would be the prefered way to typeset pull quotes (with \startcolumns or even \startcolumnset if needed) between 2 columns. Examples: https://tex.stackexchange.com/questions/45709/how-do-you-create-pull-quotes

[NTG-context] intercolumn pull quotes typesetting

2022-03-13 Thread Garulfo via ntg-context
Hi all, what would be the prefered way to typeset pull quotes (with \startcolumns or even \startcolumnset if needed) between 2 columns. Examples: https://tex.stackexchange.com/questions/45709/how-do-you-create-pull-quotes

[NTG-context] An Org Mode export backend for ConTeXt

2021-09-14 Thread Garulfo via ntg-context
Hi, From https://blog.tecosaur.com/tmio/2021-08-38-roaming.html " We’ve long been able to export to LaTeX files with ox-latex, but now you can export to ConTeXt too with ox-context! While only just released, a lot of work has already gone into this — with development starting almost a

Re: [NTG-context] update

2021-09-13 Thread Garulfo via ntg-context
> Hopefully there are no side effects but the idea is to have somewhat > better (more robust and predictable) support for e.g. footnotes in > situations that are not natural to tex (like columns). The first > mechanism to benefit from that is page columns but all that is a > stepwise

[NTG-context] MetaFun : textext.dflt / textext.dlft and MkIV / LMTX

2021-09-05 Thread Garulfo via ntg-context
Hi, After https://mailman.ntg.nl/pipermail/ntg-context/2021/102052.html It seems that there is no backward compatibility between MkIV and LMTX for textext.dflt (MVE below) | MkIV | LMTX | -|---|--| textext.dflt | OK | KO | as DefauLT (unlike ulft