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
:
> 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
}]
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
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?
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
{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
> >
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
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
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
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]
\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
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)
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
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
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
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
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
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
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]
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
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]
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
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
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:
> >
> &
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
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
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
]\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
. 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
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
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[
>
>
> 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.
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,
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
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,
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
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
\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
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
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
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?
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}]
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
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
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
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
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]
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
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
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
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
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,
> >
&
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,
%\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
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
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
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}]
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
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
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
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
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
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
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
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
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
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
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
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
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
70 matches
Mail list logo