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
In order to get some inline framed verbatim text, I have in the past always used the following: \starttext This is an \inframed [frame=on, corner=00, radius=2mm,offset=-1.5pt] {\ttx \bf example} \stoptext Since this has come-up more and more often, I created the following:

[NTG-context] Filter Module with Openscad

2023-04-26 Thread Jeroen via ntg-context
I am using OpenSCAD to create drawings with the filter module with the following MWE: \usemodule[filter] \defineexternalfilter[openscad] [filtercommand={/context/openscad/openscad -o \externalfilteroutputfile}, output={\externalfilterbasefile.png}, cache=force, readcommand=\ReadImage]

[NTG-context] Example from Practex Journal

2022-10-08 Thread Jeroen via ntg-context
Hello, Could anybody help me out with the setup and a MWE to get a document exactly as the one from Steve Peter in the Practex Journal in 2005 as in https://tug.org/pracjourn/2005-1/peter/peter.pdf I find this one hard to replicate. What is the font type that was used for this document ? Thanks

[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
Is there an easy way to write a Context document and also code simpleslides in the same document so that the simpleslides are automatically added to the document as for example an appendix? Ie one tex document with Context code, perhaps with some \input and something like a two-pass job. I was

[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
Is there a way to have two different styles of typing. I tried the following, but it does not seem to work. \setuptyping[abc][style=\ttx] \setuptyping[def][style=\ttxx] \starttext \starttyping[abc] example example \stoptyping \starttyping[def] example example \stoptyping \stoptext Thanks