Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-06 Thread Jan Willem Flamma
Willem FlammaSubject: Re: [NTG-context] \setupuserpagenumber not working as expected Jan Willem Flamma schrieb am 03.09.2020 um 10:29:> Dear Julian,> > I use something similar using a main product file, an environment file > that contain the styling and several components t

Re: [NTG-context] Combining modes and MetaFun

2020-09-06 Thread Jan Willem Flamma
Thank you Hans, this is exactly what I need. I will wikify the examples. Kind regards,Jan Willem Flamma  From: Hans HagenSent: Friday, 4 September 2020 15:09To: mailing list for ConTeXt users; Jan Willem FlammaSubject: Re: [NTG-context] Combining modes and MetaFun On 9/4/2020 2:20 PM, Jan Willem

Re: [NTG-context] Typing efficiency

2020-09-06 Thread Jan Willem Flamma
Thank you Taco and Wolfgang. I will have a look at both solutions. Kind regards,Jan Willem Flamma From: Wolfgang SchusterSent: Friday, 4 September 2020 16:26To: mailing list for ConTeXt usersSubject: Re: [NTG-context] Typing efficiency Taco Hoekwater schrieb am 04.09.2020 um 15:51:> &

[NTG-context] Combining modes and MetaFun

2020-09-04 Thread Jan Willem Flamma
Dear list members, Is it possible to combine modes and MetaFun? In the below MWE, the \doifmode construction does not work. Kind regards,Jan Willem Flamma ===\enablemode[en]%\enablemode[nl] \starttext \startbuffer[square]    u := 2cm ;    draw unitsquare scaled u ; drawdblarrow (0,-0.2u)..(u

[NTG-context] Typing efficiency

2020-09-04 Thread Jan Willem Flamma
Dear list member, Following up from:https://www.mail-archive.com/ntg-context@ntg.nl/msg94719.html The below MWE works but how can I avoid having to type    \startmode[en]    \getbuffer[en]    \stopmode    \startmode[nl]    \getbuffer[nl]    \stopmode after every block of text?  I tried to

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Jan Willem Flamma
below! Might take me a while to digest, but I'll explore it carefully.JulianOn 3/9/20 6:29 pm, Jan Willem Flamma wrote:Dear Julian, I use something similar using a main product file, an environment file that contain the styling and several components that build up the frontmatter, the

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread Jan Willem Flamma
) Once the bodymatter starts the pagenumber is set  to the arabic 1 (see below in the main product file) You should be able to copy and adapt to your needs. Kind regards,Jan Willem Flamma   The main product file==\environment env-WA \startproduct currentproduct % Document definitions\define

[NTG-context] Error with negative superscript

2020-09-01 Thread Jan Willem Flamma
Dear list, I noticed that negative superscripts are not printed correctly. ConTeXt  ver: 2020.08.31 22:16 LMTX  fmt: 2020.9.1  \starttext 10\high{6} 10\high{-6} \stoptext  ___ If your question is of interest to others

Re: [NTG-context] using modeset

2020-06-17 Thread Jan Willem Flamma
Thank you for your advice Hraban.  From: Henning Hraban RammSent: Monday, 15 June 2020 20:23To: mailing list for ConTeXt usersSubject: Re: [NTG-context] using modeset  > Am 12.06.2020 um 11:26 schrieb Jan Willem Flamma :> > Thank you Wolfgang, BPJ and Robert for your answers and feedb

Re: [NTG-context] using modeset

2020-06-12 Thread Jan Willem Flamma
something! Kind regards,Jan Willem Flamma  From: r.erm...@hccnet.nlSent: Friday, 12 June 2020 07:56To: mailing list for ConTeXt usersSubject: Re: [NTG-context] using modeset I tried this too, a number of times. For lengthy texts it makes little sense. One important thing is that, as BPJ says, you loose

[NTG-context] using modeset

2020-06-11 Thread Jan Willem Flamma
title and caption text for all the structural elements and floats. Kind regards,Jan Willem Flamma test_modeset.pdf Description: Adobe PDF document test_modeset.tex Description: Binary data ___ If your question

Re: [NTG-context] start/stop executed conditionally on mode ?

2020-06-10 Thread Jan Willem Flamma
\startanswerAnswer A\stopanswer\endanswer Regards,Jan Willem Flamma  From: Hans HagenSent: Tuesday, 9 June 2020 09:37To: mailing list for ConTeXt users; Fabrice LSubject: Re: [NTG-context] start/stop executed conditionally on mode ? On 6/8/2020 9:53 PM, Fabrice L wrote:> > >> Le 7 juin 2020 à 23:19, Ad

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

2020-05-22 Thread Jan Willem Flamma
This is great work. Many thanks! Kind regards,Jan Willem Flamma From: GarulfoSent: Tuesday, 19 May 2020 15:23To: ntg-context@ntg.nlSubject: [NTG-context] Proposal to update the "Manuals" wiki page Hi, I hope you're all doing well. Please, you will find a proposal to update the Ma

Re: [NTG-context] Math font not embedded

2020-03-18 Thread Jan Willem Flamma
-context] Math font not embedded On 3/18/2020 11:20 AM, Jan Willem Flamma wrote:> Wiping the cache directory > (C:\data\context\tex\texmf-cache\luatex-cache\context\5fe67e0bfe781ce0dde776fb1556f32e\fonts)> > and mtxrun --script fonts --reload --force> > has not solved my issue.> >

Re: [NTG-context] Math font not embedded

2020-03-18 Thread Jan Willem Flamma
Wiping the cache directory (C:\data\context\tex\texmf-cache\luatex-cache\context\5fe67e0bfe781ce0dde776fb1556f32e\fonts)and mtxrun --script fonts --reload --forcehas not solved my issue. Running Pablo’s example on a Mac and Windows machine gives the attached logs and output.--JW  From: Hans

[NTG-context] Math font not embedded

2020-03-18 Thread Jan Willem Flamma
. I tried the below without success.context --generatecontext --makemtxrun --script font –reloadmtxrun --script font --reload --force Regards,Jan Willem Flamma ===\definefontfamily [mainface] [serif] [DejaVu Serif]\definefontfamily [mainface] [sans]  [DejaVu Sans]\definefontfamily [mainface] [mono]

Re: [NTG-context] margintext and floats in the margin

2020-01-31 Thread Jan Willem Flamma
Dear Otared, Please have a look at: https://www.mail-archive.com/ntg-context@ntg.nl/msg63579.html <https://www.mail-archive.com/ntg-context@ntg.nl/msg63579.html> Kind regards, Jan Willem Flamma > On 29 Jan 2020, at 09:30, Otared Kavian wrote: > > Hi, > > Is it possi

Re: [NTG-context] LMTX issue with multple question blocks

2019-11-08 Thread Jan Willem Flamma
Thanks, this solves the issue. Can I assume things like these are changed in the next beta? > On 7 Nov 2019, at 20:19, Wolfgang Schuster > wrote: > > Jan Willem Flamma schrieb am 07.11.2019 um 20:08: >> Rik: thank you for testing and confirming. >> >> Ha

Re: [NTG-context] LMTX issue with multple question blocks

2019-11-07 Thread Jan Willem Flamma
Rik: thank you for testing and confirming. Hans, Wiping the tuc file (or others) does not solve the issue. The data-vir.lua file already contains the proposed change. Jan Willem > On 7 Nov 2019, at 17:06, Hans Hagen wrote: > > On 11/7/2019 3:50 PM, Jan Willem Flamma wrote: >

[NTG-context] LMTX issue with multple question blocks

2019-11-07 Thread Jan Willem Flamma
llback modern-designsize rm 12pt' is loaded open source > level 3, order 4, name 'knuth.tex' close source> level 3, order 4, name 'knuth.tex' I cannot reproduce the problem on a Windows system. Can somebody on an OS X system check and confirm the issue? Thanks, Jan Willem Fl

[NTG-context] Tagged blocks

2019-06-18 Thread Jan Willem Flamma
chapter and only appear in the second chapter. According to the wiki and reference manual it should be possible using either \useblocks or \selectblocks but I can't get it to work. Who can help me out? Best regards, Jan Willem Flamma \defineenumeration[question][location=margin,text=Question

[NTG-context] prevent page break when using blocks

2018-09-27 Thread Jan Willem Flamma
Dear list members, How can I prevent that a question block breaks across a page? Kind regards, Jan Willem Flamma MWE \defineblock[question] \defineblock[answer] \hideblocks[question] \hideblocks[answer] \defineenumeration [question] [text={Question}, after={\blank[2*big

Re: [NTG-context] Itemize and natural tables

2018-09-24 Thread Jan Willem Flamma
\bTR > \bTD (\itemtag) Item 1 \eTD > \eTR > \eTABLE > \stopitemize > > \stoptext > > but there is a bug which prevents the item counter to appear in the output > (which I will report in a different thread). > > Wolfgang > > > Jan Willem

[NTG-context] Itemize and natural tables

2018-09-23 Thread Jan Willem Flamma
Dear list members, I’m able to combine itemize and tabulate as per: https://www.mail-archive.com/ntg-context@ntg.nl/msg86189.html Also, based on this discussion, I understand that combining modes and tabulate is not possible.

[NTG-context] Construct tables column after column

2018-09-10 Thread Jan Willem Flamma
\eTR \eTC \bTC \bTR Column 2, Row 1 \eTR \bTR Column 2, Row 2 \eTR \eTC \eTABLE Kind regards, Jan Willem Flamma ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Modes in tables

2018-09-10 Thread Jan Willem Flamma
huster > wrote: > > > > Jan Willem Flamma schrieb am 07.09.18 um 20:01: >> Thank you Wolfgang. >> >> When comparing the results between tabulate and TABLE, I noticed some >> different results in formatting. >> >> 1. When using TABLE the ta

Re: [NTG-context] Modes in tables

2018-09-07 Thread Jan Willem Flamma
tartmode [BL] \bTD \unit{1.08 kilogram per liter} \eTD \stopmode > \eTR > \eTABLE > > \stoptext > > Wolfgang > > > Jan Willem Flamma schrieb am 06.09.18 um 11:44: >> Dear list members >> >> I would like to disable to third column in the question w

[NTG-context] Modes in tables

2018-09-06 Thread Jan Willem Flamma
Dear list members I would like to disable to third column in the question when mode BL is not enabled. When mode BL is enabled (using the toggle), the third column should of course appear again. How can I achieve this? Regards, Jan Willem MWE: \starttext %Toggles %\enablemode[BL]

Re: [NTG-context] Multicolumn enumeration in a column

2018-01-02 Thread Jan Willem Flamma
Fabrice, Please have a look at: https://www.mail-archive.com/ntg-context@ntg.nl/msg86189.html <https://www.mail-archive.com/ntg-context@ntg.nl/msg86189.html> Kind regards, Jan Willem Flamma > On 31 Dec 2017, at 11:57, Fabrice Couvreur <fabrice1.couvr...@gmail.com> >

Re: [NTG-context] Couple of questions

2017-07-31 Thread Jan Willem Flamma
driguez <oi...@gmx.es> wrote: > > On 07/31/2017 08:01 AM, Jan Willem Flamma wrote: >> Dear Gerion, >> >> Add >> >> \setuphead[subsubsection] >>[incrementnumber=no] > > Dear Jan Willem, > > do you have an explanation for that

Re: [NTG-context] Couple of questions

2017-07-31 Thread Jan Willem Flamma
Dear Gerion, Add \setuphead[subsubsection] [incrementnumber=no] Regards, Jan Willem Flamma > On 30 Jul 2017, at 22:51, Gerion Entrup <gerion.entrup-c...@flump.de> wrote: > > Am Samstag, 29. Juli 2017, 11:13:21 CEST schrieb Pablo Rodriguez: >> On 07/29/2017 04:45 AM

Re: [NTG-context] Couple of questions

2017-07-27 Thread Jan Willem Flamma
> On 28 Jul 2017, at 02:22, Gerion Entrup wrote: > > > 1. Color of references and table of content: > How can I define/change the colors of references and the table of content? And > why are some references red and others green? > This is what I use to control

[NTG-context] Large space between mode blocks

2017-05-18 Thread Jan Willem Flamma
}{ \input ward } \stopmode \blank[big] % Case 3 - Double space NOT present \startmode[X] \input ward \doifmode{Y}{\input ward} \stopmode \stoptext > On 18 May 2017, at 14:28, Hans Hagen <pra...@wxs.nl> wrote: > > On 5/18/2017 1:48 PM, Jan Willem Flamma

[NTG-context] \doifmode error with question blocks

2017-05-18 Thread Jan Willem Flamma
constructions because they can be nested. The question block must play a role here but I don’t know why. Am I overlooking something here? Kind regards, Jan Willem Flamma \enablemode[test] \defineblock[question] \defineblock[answer] \starttext \doifmode{test}{ \input knuth

[NTG-context] Colored rule using MPgraphic

2017-05-17 Thread Jan Willem Flamma
Dear list members, I’m trying to make certain text standout from the surrounding text by adding a colored rule to the side. See below MWE. The colored rule is not shown over the area where the picture is displaced. Does anybody know how can I fix this? Kind regards, Jan Willem

Re: [NTG-context] Horizontal adjustment of left/right floats

2017-05-12 Thread Jan Willem Flamma
Hi Aditya, This is what I could find. Hope it suits your needs. From the details manual, page 57: \starttext \movesidefloat [x=-2cm] \startplacefigure[location={left,none}] \externalfigure[cow] \stopplacefigure \input knuth \stoptext Regards, Jan Willem Flamma > On 11 May 2017, at 17

Re: [NTG-context] align text and formula

2017-02-09 Thread Jan Willem Flamma
Dear list members, The below solution stopped working in the latest bet (2017.01.27 14:39 MKIV beta) It is still workig fine using the wiki ConTeXt online. Has anything changed using this align feature? Kind regards, Jan Willem Flamma > > >> On 25 aug. 2016, at 13:52, Henri Me

Re: [NTG-context] Vim wiki page updated

2016-11-02 Thread Jan Willem Flamma
Excellent piece of work. Many thanks! > On 1 Nov 2016, at 14:13, Nicola wrote: > > I have updated the Vim page at ConTeXt Garden: > >http://wiki.contextgarden.net/Vim > > It may be considered as the official documentation of the ConTeXt scripts in > Vim, as the

[NTG-context] Influence enumeration spacing

2016-10-25 Thread Jan Willem Flamma
[a,packed] \item answer a \item answer b \stopitemize \stopquestion \endquestion \stoptext Kind regards Jan Willem Flamma ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] buffers inside startMPpage

2016-10-14 Thread Jan Willem Flamma
Thank you Wolfgang. This suits my needs just fine. Kind regards, Jan Willem Flamma > On 14 okt. 2016, at 10:34, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> Jan Willem Flamma <mailto:jwfregis...@icloud.com> 14. Oktober 2016 um 10:12 >> Dear

[NTG-context] buffers inside startMPpage

2016-10-14 Thread Jan Willem Flamma
the \enablemode[makepdf] I can create the pdf file with drawings. It seems however that startMPpage does not accept buffers (I also tried processbuffer and processMPbuffer). Is it possible to somehow make this work? Thanks and regards, Jan Willem Flamma %\enablemode[makepdf] \startbuffer[fig1] draw

Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-11 Thread Jan Willem Flamma
, is there anything else that needs to be done to ensure Vim picks up these files? Appreciate any help you can provide. Kind regards, Jan Willem Flamma > On 10 okt. 2016, at 12:49, Nicola <nvitacolo...@gmail.com> wrote: > > Hello, > attached you find an update of the Vim scripts fo

[NTG-context] Looking for wiki master(s)

2016-09-29 Thread Jan Willem Flamma
Hi Mojca and other brainstormers, I still consider myself a ConTeXt beginner but am willing to help out with at least part of the tasks and whenever I have time available. Regards, Jan Willem Flamma ___ If your

Re: [NTG-context] Tabulation in itemize list

2016-09-27 Thread Jan Willem Flamma
Dear Florian, Maybe this functionality is helpful to you https://www.mail-archive.com/ntg-context@ntg.nl/msg81351.html Regards, Jan Willem > On 26 sep. 2016, at 17:25, Florian Leupold wrote: > > >> On

Re: [NTG-context] Captions numbering

2016-09-01 Thread Jan Willem Flamma
Hi Jose Luis, I eventually solved this by setting up the subsubsection as follows: \setuphead[subsubsection] [incrementnumber=no] This links to a set of test files on the pragma website and maybe of use to you: http://context.aanhet.net/download-1.htm Kind regards, Jan Willem > On 31

Re: [NTG-context] align text and formula

2016-08-25 Thread Jan Willem Flamma
Hi Henri, Thanks for your solution. This is indeed providing the functionality I was after. I need to pick up a good Tex book one of these days to try and master those commands :-) Regards, Jan Willem Flamma > On 25 aug. 2016, at 13:52, Henri Menke <henrime...@gmail.com> wrote: &g

Re: [NTG-context] align text and formula

2016-08-24 Thread Jan Willem Flamma
\NC \text{Text2}\NC\hskip 3cm E = mc^2\NR > \stopalign > \stopformula > > \stoptext > %%% end example.tex > >> On 24 Aug 2016, at 10:02, Jan Willem Flamma <jwfregis...@icloud.com> wrote: >> >> Dear list, >> >> I would li

Re: [NTG-context] align text and formula

2016-08-24 Thread Jan Willem Flamma
\text{This is a longer explanation} \NC \qquad \NC E = mc^2 \NR \stopalign \stopformula \stoptext Thanks JW > On 24 aug. 2016, at 10:21, Jan Willem Flamma <jwfregis...@icloud.com> wrote: > > Hi Otared, > > Thanks for the (very quick) reply. &g

Re: [NTG-context] align text and formula

2016-08-24 Thread Jan Willem Flamma
\NC \text{Text2}\NC\hskip 3cm E = mc^2\NR > \stopalign > \stopformula > > \stoptext > %%% end example.tex > >> On 24 Aug 2016, at 10:02, Jan Willem Flamma <jwfregis...@icloud.com> wrote: >> >> Dear list, >> >> I would li

[NTG-context] align text and formula

2016-08-24 Thread Jan Willem Flamma
Dear list, I would like to include text on the same line as a formula. The text needs to be left-aligned and the formula needs to be mid-aligned (as per normal). I’ve tried various solutions from the mathalign MyWay but have not succeeded to get the desired result sofar. Below a M-Not-WE.

Re: [NTG-context] Hyphenation errors (again or still) in recent mkiv

2016-08-01 Thread Jan Willem Flamma
n 07/31/2016 08:40 PM, Jan Willem Flamma wrote: >> Dear all, >> >> I can confirm it behaves incorrectly on ConTeXt ver: 2016.07.30 00:26 MKIV >> beta > > Hi Jan Willem, > > are patterns for Brittish English better? > >\starttext &

Re: [NTG-context] Hyphenation errors (again or still) in recent mkiv

2016-07-31 Thread Jan Willem Flamma
practices and drills. Subsea BOP systems include choke and kill lines built into the BOP stack and LMRP and integrated with the marine riser system. \stoptext Kind regards, Jan Willem Flamma > On 31 jul. 2016, at 16:51, Hans Hagen <pra...@wxs.nl> wrote: > > On 7/31/2016 12:57 PM, Ro

Re: [NTG-context] inconsistent math fontsize

2016-07-30 Thread Jan Willem Flamma
> On 28 jul. 2016, at 00:46, Hans Hagen <pra...@wxs.nl> wrote: > > On 7/27/2016 2:29 PM, Jan Willem Flamma wrote: >> Dear list members >> >> Sofar, I’ve been using \qquad to separate two formulas side-by-side on a >> single line. >> To ensure consi

[NTG-context] inconsistent math fontsize

2016-07-27 Thread Jan Willem Flamma
construction gives a noticeably smaller fontsize ! I’m using the latest beta: ConTeXt ver: 2016.07.25; Luatex 0.95 Worth noting that all both fontsizes are identical when using context live via contextgarden. Kind regards, Jan Willem Flamma MWE: \starttext % Printed in normal fontsize

Re: [NTG-context] disappearing margin text

2016-06-22 Thread Jan Willem Flamma
to indicate question categories. Regards, Jan Willem > On 22 jun. 2016, at 11:52, Jan Willem Flamma <jwfregis...@icloud.com> wrote: > > Dear list members > > In the following MWE, the margin text appears at question 1 but not at > question 2. > > How is this poss

[NTG-context] disappearing margin text

2016-06-22 Thread Jan Willem Flamma
Dear list members In the following MWE, the margin text appears at question 1 but not at question 2. How is this possible? Kind regards, Jan Willem MWE: \defineblock[question] \hideblocks[question] \defineenumeration [question] [text=Question]

[NTG-context] enumeration header spacing control

2016-06-18 Thread Jan Willem Flamma
} \stopquestion \endquestion \stopsection \stoptext Kind regards, Jan Willem Flamma ___ 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

[NTG-context] combining itemize and starttabulate

2016-04-06 Thread Jan Willem Flamma
Dear members, The following combination of itemize and starttabulate is numbered from 'd. to f.' instead of from 'a. to c.' \starttext \startitemize[a] \starttabulate[|l|p|] \item \NC column1 \NC column2 \NC \NR \item \NC column1 \NC column2 \NC \NR \item \NC column1 \NC column2 \NC \NR

[NTG-context] Unexpected float numbering in unnumbered subsubsection

2015-12-15 Thread Jan Willem Flamma
Dear list members, I ran into the following issue related to figure/float numbering. I use numbered chapters, sections, subsections and unnumbered subsubsections. See minimal example below. Figure numbering works as expected in the numbered chapters, sections and subsections. Figures get