[NTG-context] Suppress the Chapter Number in the Section Numbering

2024-03-19 Thread Jeroen
I am trying to suppress the chapter number in a section number as below as in 1., 2., etc instead of 1.1, 1.2, etc. Is there a simple way to achieve this? 1. The First Chapter 1. The First Section ... 2. The Second Section ... 2. The Second Chapter 1. The Third Section ... 2. The Fourth Section

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Jeroen
: > Hi Jeroen, > > it might make sense to use > > \setuphead[chapter][ > conversion=R, > ] > \setuplabeltext[nl][chapter={Boek }] > > instead of ownnumber. > > I would use one command for number and title and put both in the same kind > of frame. Proba

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Jeroen
}] Also the inline options seems to unbold the inline text nicely: \margindata[inouter]{\rm \it example} Op di 19 mrt 2024 om 16:17 schreef Marco Patzer : > On Tue, 19 Mar 2024 15:38:16 +0100 > Jeroen wrote: > > > Can this text be placed in the margin in regular text or possibly

[NTG-context] Comments placed in the margin

2024-03-19 Thread Jeroen
For comments that are placed in the margin, the \inleft{}, \inouter{} etc will place text in the margin in bold. Can this text be placed in the margin in regular text or possibly in slightly smaller font size compared to the regular text in the document?

[NTG-context] Adjusted Chapter Headings

2024-03-19 Thread Jeroen
I have some style adjustments for the chapters. The chapter "numbers" need to be Boek I, Boek II, etc. A vertical separator was introduced with an inframe. The chapter title at the right side does not vertically align properly with the chapter number in the frame (inside the frame is vertically

[NTG-context] Re: Local alternative to \input

2024-03-03 Thread Jeroen
{tufte} \stopenvironment \stoptext Op do 4 jan 2024 om 20:14 schreef Henning Hraban Ramm : > Am 04.01.24 um 18:00 schrieb Jeroen: > > I just would like to have a lot of mark-up for combined figures and > > tables etc moved out of the way, similar to this. I am loosing the > >

[NTG-context] Text in Margin

2024-02-19 Thread Jeroen
text from the textflow 2. Figures 3. An expansion of a table that is placed in the main textflow but that needs to cover a wider range then the text area so it expands into the margin What is the the easiest way to achieve this? Jeroen

[NTG-context] Local alternative to \input

2024-01-04 Thread Jeroen
I have a document that is getting a lot of mark-up instructions for creating tables and placing figures. I would like to move this out of the main text flow. The easiest way would be using \input, but i rather place all this at the bottom of the file and just refer to it with something like

[NTG-context] Re: Status of Asymptote

2024-01-03 Thread Jeroen
Below is how I have used Asymptote in the past with the Context filter module: download portable ghostsctipt create dir c:\context\ghostscript and install from https://portableapps.com/apps/utilities/ghostscript_portable download non-portable asymptote create dir c:\context\asymptote and

[NTG-context] Frontpage and Titlepage

2023-10-02 Thread Jeroen
The following MWE is how I create my frontpage and titlepage. Is this the proper way to do so? \definemakeup [frontpage] [align=middle] \definemakeup [titlepage] \setupmakeup [titlepage] [align={right,top}, top=\vfill, pagestate=stop, style=smallbodyfont]

[NTG-context] Re: Framed Text with Chapter Numbers as Counter

2023-09-17 Thread Jeroen
\stopCode \stopchapter \stoptext Op zo 17 sep 2023 om 17:31 schreef Bruce Horrocks : > > > > On 16 Sep 2023, at 21:28, Jeroen wrote: > > > > This MWE has a framed text for some verbatim text (code) with as title > ref. a counter 1, 2, etc.. Is there a way to change

[NTG-context] Framed Text with Chapter Numbers as Counter

2023-09-16 Thread Jeroen
This MWE has a framed text for some verbatim text (code) with as title ref. a counter 1, 2, etc.. Is there a way to change this frame text title as following with the chapter number and a sequential number and the title. Code Fragment 1.1 (The First Title) Code Fragment 1.2 (The Second Title)

[NTG-context] Chapters without new page

2023-09-14 Thread Jeroen
In the \startbackmatter ... \stopbackmatter section i would like to have some chapters that are not automatically placed on a new page for the next chapter. Is there an easy way to suppress the new page for these chapters? Thanks, Jeroen

[NTG-context] Re: Reduce space between lines in Natural Tables

2023-09-12 Thread Jeroen
It does not seem to have an effect to the table. The distance between the rows remains the same Thanks, Jeroen Op ma 11 sep 2023 om 09:08 schreef : > \bTABLE[spaceinbetween=0cm] > > ... > > \eTABLE > > > > > > > > *Von:* Jeroen > *Gesendet:* Sonntag

[NTG-context] Reduce space between lines in Natural Tables

2023-09-10 Thread Jeroen
Is there an easy way to reduce the line space between rows in a natural table so the table takes less vertical space. Thanks, Jeroen ___ If your question is of interest to others as well, please add an entry

[NTG-context] Verbatim Textbox with Reference NUmbering

2023-09-09 Thread Jeroen
for chapter 1, codefragment 1, 2 etc. with the possibility that in the text I can refer to the codefragment like \in{codefragment\space}[code:ccpsample] similar as to tables and figures? Thanks Jeroen %% % MWE1 %% \startuseMPgraphic{mpos:par:myexample} path p; for i = 1

[NTG-context] Text runs out of Verbatim Frame

2023-09-08 Thread Jeroen
a frame half pagewidth, like a width=0.5\textwidth Thanks Jeroen \unprotect \startuseMPgraphic{mpos:par:myexample} path p; for i = 1 upto nofmultipars : p := multipars[1] topenlarged 4pt bottomenlarged 4pt cornered 2mm ; fill p withcolor 0.95white ; draw p withcolor black withpen pencircle

[NTG-context] Vertical Space between Text and Itemize List

2023-09-06 Thread Jeroen
To get a packed itemize list I use this in the preamble \setupitemgroup [itemize] [packed] To get less vspace between the text and the first item, i changed it to this \setupitemgroup [itemize] [packed, nowhite] now there is indeed no whitespace. Is there a more granular way to

[NTG-context] Adjust width of section part of table of contents

2023-09-04 Thread Jeroen
The following is a setuplist for the table of contents. Is there a way to have the section part only go to 80% of the page width, similar to width=0.8\textwidth \setuplist [chapter] [style={\bf}] \setuplist [section] [style={\tfx}] \setuplist [chapter,section] [headnumber=no]

[NTG-context] Re: Adjust pagenumbering while skipping first page

2023-09-04 Thread Jeroen
Pablo, Thanks, even though I use LMTX, only this form works: [\pagenumber{} of \the\numexpr\totalnumberofpages - 1\relax] Thanks Jeroen Op ma 4 sep 2023 om 18:43 schreef Pablo Rodriguez : > On 9/4/23 18:09, Jeroen wrote: > > The following MWE shows pagenumbering starting at the se

[NTG-context] Adjust pagenumbering while skipping first page

2023-09-04 Thread Jeroen
The following MWE shows pagenumbering starting at the second page with page number 1. With the totalnumberofpages we end up with one page too many. Is there a way to reduce this with 1? \setupfootertexts [title] [\pagenumber{} of \totalnumberofpages] \setcounter [userpage] [0]

[NTG-context] Different Layout for First Page

2023-09-04 Thread Jeroen
for the first page since it has no footer. For the first page, I would like to have the text run all the way to the bottom with \vfill where normally the footer would be. Thanks Jeroen ___ If your question is of interest

Re: [NTG-context] Moving up a Figure

2023-06-06 Thread Jeroen via ntg-context
23 05/06/23, 00:08, Mikael Sundqvist via ntg-context wrote: > > > On Mon, Jun 5, 2023 at 4:03 AM Jeroen via ntg-context > > > wrote: > > >> Not fully, it indeed moves up the figure but a little too much. Is > there a > > >> more granular method? > > &g

Re: [NTG-context] Moving up a Figure

2023-06-04 Thread Jeroen via ntg-context
Not fully, it indeed moves up the figure but a little too much. Is there a more granular method? Op za 3 jun 2023 om 20:24 schreef Mikael Sundqvist via ntg-context < ntg-context@ntg.nl>: > Hi, > > On Sat, Jun 3, 2023 at 6:36 PM Jeroen via ntg-context > wrote: > > > &

[NTG-context] Moving up a Figure

2023-06-03 Thread Jeroen via ntg-context
With the following example, the figure is placed a little lower than the first text line. The top of the figure is at about the middle of the first line. Is there a way to move-up the figure slightly to align it with the top of the text line? \useMPlibrary[dum] \starttext \startplacefigure

[NTG-context] Context Live

2023-05-24 Thread Jeroen via ntg-context
I would like to setup a website with a live Context renderer like live.contextgarden.net Is there a procedure how to setup such a live setup? Thanks, Jeroen ___ If your question is of interest to others as well

Re: [NTG-context] Inline framed verbatim text

2023-05-19 Thread Jeroen via ntg-context
Many thanks. Is there a proper way to add some space (a couple of pt or em) to the left and the right of the text itself so the frame does not get so close to the text? Op vr 19 mei 2023 om 14:10 schreef Wolfgang Schuster via ntg-context < ntg-context@ntg.nl>: > Jeroen via ntg-context s

[NTG-context] Inline framed verbatim text

2023-05-19 Thread Jeroen via ntg-context
]\infr{ \inframed [frame=on, corner=00, radius=2mm,offset=-1.5pt]{#1}} \starttext This is an \infr{example} \stoptext This works fine except that I cannot get the text in verbatim/teletype. I have tried style=mono and style={\ttx \bf} but nothing seems to work. Thanks Jeroen

[NTG-context] Filter Module with Openscad

2023-04-26 Thread Jeroen via ntg-context
. Is there anything I am missing? Thanks Jeroen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage

[NTG-context] Example from Practex Journal

2022-10-08 Thread Jeroen via ntg-context
Jeroen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl

[NTG-context] Rotating pages

2021-08-07 Thread Jeroen via ntg-context
For the following document, the last 3 pages are landscape, but I would like to have the pdf-ed rotated so they are in the pdf document portrait, ie rotated 90 degree to the left but leave the page as how they are now. Is there an easy way to achieve this? \startbuffer[apx] \setuppapersize[

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-08-06 Thread Jeroen via ntg-context
> > > One final question on this one. As per latest comments this works great, > but is there a way so the presentation pages in the appendix are made-up > landscape as they are now, but are rotated 90 degrees so they are created > in the pdf document as the first two pages.

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Jeroen via ntg-context
I worked around it, instead of simpleslides just use larger fonts to with regular pages \startbuffer[slides] \setuptolerance[ horizontal, tolerant, stretch] \setuppapersize[ A4,landscape] \setuplayout[ width=middle, backspace=35mm, cutspace=35mm, height=middle, topspace=5mm,

[NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Jeroen via ntg-context
was thinking if the simpleslides could be saved as a number of png images and then with the recurse add them to the document with placefigure. Jeroen ___ If your question is of interest to others as well, please add an entry

[NTG-context] Verbatim text in a frame

2021-07-30 Thread Jeroen via ntg-context
I am using the following preamble to put a frame around verbatim text. How can I have all the text start some 5pt from the frame and how can I get rounded corners, corner=0 does not seem to work \setupcolors[state=start] \setupcolor[xwi] \definetextbackground [Code] [frame=on,

[NTG-context] Different Styles of Typing

2021-07-28 Thread Jeroen via ntg-context
Is there a way to have two different types of typing. I tried the following, but it does not seem to work. \setuptyping[abc][style=\ttx] \setuptyping[def][style=\ttxx] \starttext \starttyping[abc] text text \stoptyping \starttyping[def] text text \stoptyping \stoptext

[NTG-context] Different Typing Styles

2021-07-28 Thread Jeroen via ntg-context
Jeroen ___ 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-context webpage : http://www.pragma-ade.nl / http

Re: [NTG-context] Metapost Animation of Sine

2021-07-22 Thread Jeroen
\stopMPcode > \stopframe} > } > \stopanimation > \stopTEXpage > \stoptext > % end wave-sine.tex > > Best regards: OK > > > On 21 Jul 2021, at 19:44, Jeroen wrote: > > > > I am looking for a sine animation as the one file f.pdf on th

Re: [NTG-context] Metapost Animation of Sine

2021-07-21 Thread Jeroen
I am looking for a sine animation as the one file f.pdf on this site http://www.12000.org/my_notes/Mathematica_animation_into_PDF_using_latex/index.htm Jeroen Op wo 21 jul. 2021 om 17:54 schreef Fabrice L : > Hi, > > Le 21 juill. 2021 à 10:08, Jeroen a écrit : > > I use this

[NTG-context] Metapost Animation of Sine

2021-07-21 Thread Jeroen
I use this small animation to enlarge a circle \usemodule[animation] \setupinteraction[state=start] \starttext \startanimation[menu=yes,framerate=10] \dorecurse{7}{\expanded {\startframe \startMPcode path p; numeric n, u; u := 1cm; n:=\recurselevel*u; p := fullcircle

[NTG-context] specify a directory for tex files

2021-05-24 Thread Jeroen
similar to this for figures \setupexternalfigures [directory={./myfigures}] is there a way to specify a directory for tex files so with \input{myfile.tex} the file myfile.tex can be placed in a subdirectory for example ./mytexfiles?

[NTG-context] One chapter with different heading settings

2021-05-23 Thread Jeroen
In the preamble I have the following setup for the chapter header setup. There is one chapter I want to have a different heading setup with some less spacing, what would be the easiest way to achieve this? \setuphead [section] [style=bold, before={\vskip 4mm}, after={\vskip 1.5mm}]

[NTG-context] Expanding a table into the second column

2021-05-22 Thread Jeroen
In a document with two columns, is there a method to expand a table partially into the second column in case there are many tablecolumns to show ___ If your question is of interest to others as well, please add an

Re: [NTG-context] Hand Style Sketching in Metapost

2021-05-21 Thread Jeroen
I have updated LMTX and indeed seems to be working now Thanks Op do 20 mei 2021 om 21:05 schreef Aditya Mahajan : > On Thu, 20 May 2021, Jeroen wrote: > > > I have the following working example with hatching. This works fine, but > > when I uncomment the sketching c

[NTG-context] Hand Style Sketching in Metapost

2021-05-20 Thread Jeroen
I have the following working example with hatching. This works fine, but when I uncomment the sketching commands, no figure is rendered. Is the mp-sketch macro still working? \starttext \startMPcode input hatching; %input mp-sketch; %sketchypaths; %sketch_amount := 2bp; u := 1cm; path

[NTG-context] Chapternumber and chaptertitle in footer

2021-05-16 Thread Jeroen
How can I combine in the footer the chapternumber and the chaptertitle in the footer. This way I can achieve the chaptertitle \setupfootertexts [chapter] [\pagenumber] \starttext \input{tufte} \stoptext The following I achieve this with the chapternumber \setupfootertexts

[NTG-context] Expanding a figure into the second column

2021-05-16 Thread Jeroen
I have the following MWE whereby the figure nicely fits the first column. If I now have a picture with more details and want to expand it partially into the second column, it will not work with width=1.5\textwidth , is there a simple way to achieve this? \starttext \startcolumns[n=2]

[NTG-context] Multiple Layouts

2021-03-13 Thread Jeroen
I have the following document, but I want a different \setuplayout[backspace] for the titlepage and copyright space. What is the best way to achieve this? \setupcolors [state=start] \usecolors [xwi] \usetypescriptfile [euler] \definetypeface

[NTG-context] (no subject)

2021-03-13 Thread Jeroen
I have the following document, but I want a different \setuplayout[backspace] for the titlepage and copyright space. What is the best way to achieve this? \setupcolors [state=start] \usecolors [xwi] \usetypescriptfile [euler] \definetypeface

Re: [NTG-context] Loading modules in Windows

2020-10-31 Thread Jeroen
Many thanks. Would you perhaps have the method to install third party modules by hand in Windows. I have found a way to do it in Linux only. Jeroen Op za 31 okt. 2020 om 09:37 schreef Wolfgang Schuster < wolfgang.schuster.li...@gmail.com>: > Jeroen schrieb am 31.10.2020 um 06:4

[NTG-context] Loading modules in Windows

2020-10-30 Thread Jeroen
Hi, In Context MKIV I always used the gnuplot module. I switched to Context lmtx on MS Windows but seem to have great difficulty loading the Gnuplot module. Any suggestions? Thanks jeroen ___ If your question

Re: [NTG-context] general syntax for startparagraph command

2019-09-29 Thread Jeroen
Many thanks. Is there also a simple way to place a 2 above the = character as the definition does. Thanks Jeroen Op zo 29 sep. 2019 om 18:47 schreef Wolfgang Schuster < wolfgang.schuster.li...@gmail.com>: > Jeroen schrieb am 29.09.2019 um 20:30: > > Dear list members, > > &

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
tays the same, and the section changes. Many Thanks Jeroen \setuppapersize[A4,portrait] [A4,portrait] \setuplayout[backspace=20mm, width=175mm, topspace=20mm, header=0mm, footer=2mm, height=263mm,

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
%\input{a1.tex} \stopappendices \stoptext Op zo 29 sep. 2019 om 18:28 schreef Henning Hraban Ramm : > > > Am 2019-09-29 um 20:16 schrieb Jeroen : > > > > Dear list members, > > > > I am using the following environment file. The document itself is > made-up of s

[NTG-context] general syntax for startparagraph command

2019-09-29 Thread Jeroen
be needed here? Thanks Jeroen ___ 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-context webpage : http

[NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
to adjust it. Who can help me out? Best Regards, Jeroen \startenvironment mkivcnotesenv \setuppapersize[A4,portrait] [A4,portrait] \setuplayout[backspace=20mm, width=175mm, topspace=20mm, header=0mm, footer=2mm, height

[NTG-context] MetaPost with Multiple Variable Sections

2019-09-18 Thread Jeroen
I have been working with MetaPost as following, which worked fine with one startMPcode section with variables, but with 2 startMPcode Metapost sections, it keeps telling me the numbers dont add up: \definefloat [floatright][figure] \setupfloat [floatright][default={right,none}]

[NTG-context] Fwd: Fwd: IBM Wordcloud with the Filter Module

2019-03-14 Thread Jeroen
I have installed portable java8 in /context/java, so paths will not be needed when using absolute paths with the commands in these files. When I execute the following batch file sample2.bat with a command on a single line, it will create the sample2.png wordcould file as expected in the

[NTG-context] Fwd: IBM Wordcloud with the Filter Module

2019-03-14 Thread Jeroen
I am able to run R, asymptote, graphviz, octave, openscad, python and freecad all on the filter module without problems. The same problem as I have with wordcloud I have with maxima and geogebra. \traceexternalfilters isnt giving me a lot. I have tried the following sample1.bat batch file and it

[NTG-context] Fwd: Question and Answer Iteration

2019-03-13 Thread Jeroen
This worked very well, thanks. I now want at the end of each chapter some questions with the chapter number in the follow-up number, and then at the end of the document a separate chapter with the answers with matching numbers. In general for a single QA section this works, but now I start

[NTG-context] Fwd: Meptapost Drawing not showing-up in Context Letter Style

2019-03-12 Thread Jeroen
Eventually, these two options worked. Firstly changing \setupbackgrounds % BEGIN MP LOGO SETUP \startuseMPgraphic{mpglogo} path p; p := (0,0)--(100,0)--(100,100)--(0,100)--cycle; path q; q := p cornered 30pt; draw q withcolor black withpen pencircle scaled 7pt; \stopuseMPgraphic

[NTG-context] Question and Answer Iteration

2019-03-12 Thread Jeroen
Dear list The configuration below is what I found for a question and answer section. If would like the text to start immediately after "question 1", "question2", etc. and not below it and the same for the answers. Is there an easy way to achieve this? Regards, Jeroen \se

Re: [NTG-context] IBM Wordcloud with the Filter Module

2019-03-11 Thread Jeroen
Yes, there is a batch file for testing purposes, and that one works fine Thanks, Jeroen Op ma 11 mrt. 2019 om 16:55 schreef Aditya Mahajan : > Can you run the java file from the command promt? > > Aditya > > On Mon, 11 Mar 2019, Jeroen wrote: > > > Dear List, &g

[NTG-context] IBM Wordcloud with the Filter Module

2019-03-11 Thread Jeroen
installed and I am indicating absolute file locations. Thanks, Jeroen \usemodule[filter] \defineexternalfilter [wordcloud] [filtercommand={/Program Files/Java/jre1.8.0_181/bin/java -jar /context/wordcloud/ibm-word-cloud.jar -c /context/wordcloud/examples/configuration.txt -w 800

Re: [NTG-context] Gnuplot module: Patching of Gnuplot binary still needed?

2011-01-10 Thread jeroen . muskee
is. Jeroen -- This message was sent on behalf of jeroen.mus...@hotmail.com at openSubscriber.com http://www.opensubscriber.com/message/ntg-context@ntg.nl/14992530.html ___ If your question is of interest to others as well

Re: [NTG-context] Gnuplot module: Patching of Gnuplot binary still needed?

2011-01-09 Thread jeroen . muskee
In the past I was using this instruction set to install GnuPlot in Windows Context Mkiv minimals but it does not work anymore. Is there a bug in t-gnuplot version 2009-07-21? Create folder c:\context\gnuplot Download from http://dl.contextgarden.net/modules/gnuplot-win.zip the gnuplot file

Re: [NTG-context] Fields and JS Calculations

2009-11-22 Thread jeroen muskee
OK, I started off with a simpler example, just an addition of 2 numbers. I know this should be pretty close to the correct setup by looking at other Javascript examples, but it just does not work jet. Any suggestions Thanks Jeroen \startJSpreamble {Calculate} used now function

[NTG-context] Fields and JS Calculations

2009-11-21 Thread jeroen muskee
value to JS caluclation and show the result into another field. Thanks Jeroen \setupcolors[state=start] \setupinteraction[state=start] \starttext \definefield[textdensity] [line] [linedensity] [] [] \definefield[textdepth] [line] [linedepth] [] [] \definefield[textpressure

Re: [NTG-context] How to make this section header in ConTeXt?

2006-06-17 Thread Jeroen Heijmans
Hans Hagen: rough approach ... Thanks a lot, this is what I'm looking for - although it's a bit more involved than I had expected. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] How to make this section header in ConTeXt?

2006-06-16 Thread Jeroen Heijmans
to put a \section in the table. Any suggestion on how to do this will be highly appreciated. thanks, Jeroen Heijmans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context