On Tue, Jul 26, 2022 at 2:10 PM Alan wrote:
> On Thu, 21 Jul 2022 17:56:45 -0400
> John Kitzmiller wrote:
>
> > (Apologies for double-dipping, but usage direction for the
> > least-squares fit extension in m-graph would be a gift.)
>
> The least-squares fit (to a pol
On Tue, Jul 26, 2022 at 1:51 PM Alan wrote:
> On Thu, 21 Jul 2022 17:56:45 -0400
> John Kitzmiller wrote:
>
> > > On Wed, Jul 20, 2022 at 9:48 AM Alan
> > > wrote: % Autoform is the format string used
> > > by autogrid % Autoform_X, Aut
> On Sat, 16 Jul 2022 13:21:06 -0400
> John Kitzmiller via ntg-context wrote:
>
> > The horizontal axis label of mwe below has 0.0 (showing tenths; pdf
> > attached; filename is mwe.tex).
> >
> > I expected it to show -1, 0, 1, 2, 3, (integers only). Can this
The horizontal axis label of mwe below has 0.0 (showing tenths; pdf
attached; filename is mwe.tex).
I expected it to show -1, 0, 1, 2, 3, (integers only). Can this be
formatted?
% -1 1
% 0 1
% 0 2
% 1 1
% 2 1
% 2 2
% 2 3
% 2 4
% 3 1
% 3 2
\usemodule[m-graph]
\startMPpage[instance=graph,
>
> Date: Fri, 17 Dec 2021 08:49:55 +0900
> From: Jeong Dal
> Subject: [NTG-context] \startcolumnset ... \stopcolumnset fatal error:
> return code 11
>
> I have used newcolumnset module to make a test sheet. It was made by the
> help of experts in the list.
> It worked fine a month ago
>
> How to redirect the path for ConTeXt in MacVim?
>
I put this in .vimrc:
map :w :!context %
and $PATH directs "context" to the right place:
/Users/kitz/lmtx/tex/texmf-osx-64/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin
To open the .pdf:
:!open -a %r.pdf
I just started testing with lmtx and this minor detail with different
file names presented:
fourth2.tex compiles to produce fourth2.pdf
but fourth.2.tex compiles to produce fourth.pdf
With mkiv I get fourth2.pdf and fourth.2.pdf
Not a problem, just an observation.
Adjust shading and outline of cells and text in steps module, or not
available as written?
Something like \startSTEPtable[frame=off], etc.
I have grabbed the code to modify for local input, but I have made a
terrible mess of it!
Martin Althoff wrote:
Hello, I am trying to vertically align images within a
bTABLE/Natural Table cell.
The result should be 4 cards on an A4 page with a simple maths
exercise and a small image that illustrates the exercise. The image
should be horizontally and vertically centered
In the first table, the lohi of align works, but the middle does not have any
effect. Putting the content in a frame gives the desired result as in the
second table. This is not a problem, I just wondered if it is supposed to work
in the first table.
Thanks, John
\useMPlibrary[dum]
> On 8Jul, 2016, at 09:20, Wolfgang Schuster
> wrote:
>
>> The code below works with context2016.02.15, but fails with
>> context2016.05.19.
>>
>> Itemize within the defined paragraph (Mypar) no longer puts the thinrule in
>> the margin (see the third question.)
> John Kitzmiller <mailto:kitz at inradius.net
> <https://mailman.ntg.nl/mailman/listinfo/ntg-context>>
> 25. Juni 2016 um 16:20
> The following is no longer putting the “answer blank” in the right margin.
>
> \define\ansblank{\inright{\getnumber[itemgroup:itemize].
The following is no longer putting the “answer blank” in the right margin.
\define\ansblank{\inright{\getnumber[itemgroup:itemize]. \thinrule}}
\setupitemgroup [itemize] [n, style=bold,right=\ansblank]
\starttext
\startitemize[n]
\item A question.
\stopitemize
\showframe
\stoptext
When I
I expect anglestriped to work more like fill, but it shifts the path. Is it
intended behavior?
\startMPpage[offset=2mm]
path p;
p = unitsquare scaled 4cm ;
filldraw p withcolor blue;
draw p;
draw p anglestriped(0,0,0) withcolor blue;
\stopMPpage
Thanks,
John
On Aug 9, 2015, at 8:38 AM, Alan BRASLAU alan.bras...@cea.fr wrote:
One needs to think about closing the data file as ConTeXt opens a single
MP instance that is run throughout the entire document AND over its
multiple runs. If the file is left open, a second run will try to read
on from the
On Thu, 6 Aug 2015 16:48:51 -0400
John Kitzmiller k...@inradius.net mailto:k...@inradius.net wrote:
On Aug 6, 2015, at 12:59 PM, Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl
mailto:pra...@wxs.nl mailto:pra...@wxs.nl wrote:
On 8/6/2015 5:30 PM, John Kitzmiller wrote:
Given a file, data.d
On Aug 6, 2015, at 12:59 PM, Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl
wrote:
On 8/6/2015 5:30 PM, John Kitzmiller wrote:
Given a file, data.d, containing 1 4 7
I expected the following code to draw a line from (4,1) to (7,1)…
\enabletrackers[metapost.showlog]
\usemodule[m-graph
Given a file, data.d, containing 1 4 7
I expected the following code to draw a line from (4,1) to (7,1)…
\enabletrackers[metapost.showlog]
\usemodule[m-graph]
\startMPpage[instance=graph,offset=3mm]
draw begingraph(5cm,5cm);
gdata(data.d, v,
for n = 1 upto 3:
a[n] =
The minimals use ~/texmf for the local tex folder. How to change it to
~/dropbox/texmf?
My ConTeXt installation is ~/dropbox/context.
One option is:
ln -s ~/dropbox/texmf ~/texmf
Aditya
A fine option it is. Thank you
The minimals use ~/texmf for the local tex folder. How to change it to
~/dropbox/texmf?
My ConTeXt installation is ~/dropbox/context.
I have tried directly modifying cnf files but I am missing some magic.
___
If
On Mar 9, 2015, at 5:13 PM, Hans Hagen wrote:
i uploaded a new beta ... works at luigi's end (actually we tested that
previous time too but the issue is only triggered in docs that use
positions and tuc files remember that)
Hans
Now with current version: 2015.03.09 22:02 and
On Mar 9, 2015, at 4:28 PM, Hans Hagen wrote:
On 3/9/2015 8:11 PM, Pablo Rodriguez wrote:
Hans,
I’m afraid that the following sample crashes ConTeXt:
\starttext
\input knuth
\stoptext
Error message is the following:
tex errorerror on line 1 in file
On Mar 9, 2015, Aditya wrote:
By any chance, is the name of your test file `knuth.tex`?
Aditya
Yes, 127 times yes! Sorry about that.
John
___
If your question is of interest to others as well, please add an entry to
On Feb 16, 2015, at 3:21 PM, Fabrice Couvreur wrote:
This does not work with :
labeloffset := 2mm;
On Feb 09, 2015, Hans Hagen wrote:
\startMPpage[offset=2pt]
path p, q, r ; pair z ;
p := unitsquare scaled 4cm ;
z := point 3.6 of p ;
q := z--urcorner p ;
r := q
On Feb 15, 2015, at 6:00 AM, Fabrice couvreur.fabr...@wanadoo.fr
mailto:couvreur.fabr...@wanadoo.fr wrote:
Thank you for this new example.
Try the mpost variable lableoffset := ? to adjust.
This does not seem to workwith lableoffset := 2mm.
Fabrice
I spelled it wrong, sorry! It is
On Feb 10, 2015, at 3:42 PM, couvreur.fabr...@wanadoo.fr
mailto:couvreur.fabr...@wanadoo.fr wrote:
Is it possible to have some explanation of the parameters of the macro
numberstriped(#1,#2,#3) ?
How to have horizontal hatching ? (How to change the slope hatching ?)
There is
On Feb 9, 2015, at 1:46 PM, Fabrice couvreur.fabr...@wanadoo.fr
mailto:couvreur.fabr...@wanadoo.fr wrote:
Great, but I did not know the macro numberstriped. Is it a Metapost or
Metafun macro?
It is a MetaFun macro in mp-tool, afaik.
The idea of filling a path is sometimes clipping to a
Using 2UP the rightmargin on odd (recto) pages becomes the leftmargin on even
(verso) pages.
Is there an option for 2UP doublesided to be printed and folded where the
rightmargin is always on the righthand side of each ‘page’ from the reader’s
viewpoint? Or another layout scheme to get the
On Jan 26, 2015, at 4:04 AM, schuster.wolfg...@gmail.com wrote:
Am 25.01.2015 um 23:15 schrieb John Kitzmiller k...@inradius.net
mailto:k...@inradius.net:
Desired outcome: a multipage booklet on letter size paper with margins lined
up when duplex printed and folded.
Using
Desired outcome: a multipage booklet on letter size paper with margins lined up
when duplex printed and folded.
Using imposition with [letter][letter,landscape] did not work, so to start I
used:
\definepapersize[booklet][width=140mm,height=216mm]
\setuppapersize[booklet][letter,landscape]
On Jan 5, 2015, at 5:51 AM, Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl
wrote:
On 1/4/2015 6:04 AM, Akira Kakuto wrote:
Dear John,
How to make this a polygon?
An example:
\starttext
\startluacode
local metafun = context.metafun
metafun.start()
io.input(DATA)
local i, j
local
On Jan 4, 2015, at 6:00 AM, ntg-context-requ...@ntg.nl wrote:
Dear John,
How to make this a polygon?
An example:
Many thanks to you Akira.
Reading the file into lua tables is good sense, and thank you for the string
manipulations to pass to metafun().
From your teaching I changed this
I seek how to use context-lua to draw a path from ‘points’ in an external file.
Below is one way to plot points from an external file, call the file DATA with
contents:
1 3
-2 2
-3 -1
3 -2
\starttext
\startluacode
local metafun = context.metafun
metafun.start()
io.input(“DATA)
while true do
On Jan 1, 2015, at 6:00 AM, Kumar Appaiah wrote:
I am trying to use the simplefonts approach to get Euler for math,
along with TeX Gyre fonts for text.
Here is setup magic from Hans and Aditya from August 2013:
\usetypescriptfile[euler]
\starttypescript[myfamily]
Am 22.11.2014 um 21:32 schrieb John Kitzmiller:
Given rectangles with text:
\starttext
Before:\\
\startMPcode
draw unitsquare xscaled 2cm yscaled 1cm;
\stopMPcode
\\
After:\\
\startMPcode
for i=0 upto 1:
draw unitsquare scaled 1cm
Given rectangles with text:
\starttext
Before:\\
\startMPcode
draw unitsquare xscaled 2cm yscaled 1cm;
\stopMPcode
\\
After:\\
\startMPcode
for i=0 upto 1:
draw unitsquare scaled 1cm xshifted i*cm;
endfor;
\stopMPcode
\stoptext
How can a line be drawn connecting the right edges of
On Aug 2, 2014, Aditya Mahajan adit...@umich.edu wrote:
On Sat, 2 Aug 2014, luigi scarso wrote:
On Sat, Aug 2, 2014, John Kitzmiller k...@inradius.net wrote:
Here is Lua code that prints the first nine fibonacci numbers:
local function fib(n)
f={1,1}
...the Wiki entries, CLD, and tried
Here is Lua code that prints the first nine fibonacci numbers:
local function fib(n)
f={1,1}
for i=3,9 do
f[i]=f[i-1]+f[i-2]
end
return(f[n])
end
for n=1,9 do print(fib(n)) end
Here is Context+Lua that prints 3 x 3 table of the first nine natural numbers:
\starttext
Where to find s-edu-01.cld mentioned in Context Lua Documents?
I use minimals, just updated, --modules=all --engine=luatex. Also tried
--modules=s-edu-01.cld as well as Google.
___
If your question is of interest
On Feb 17, 2014, at 5:51 PM, ntg-context-requ...@ntg.nl wrote:
On Mon, Feb 17, 2014 at 9:23 PM, John Kitzmiller wrote:
I attempted to put ConTeXt minimal on Samsung chromebook and got:
Error: your system Linux armv7l is not supported yet.
Please report to the ConTeXt mailing-list (ntg
I attempted to put ConTeXt minimal on Samsung chromebook and got:
Error: your system Linux armv7l is not supported yet.
Please report to the ConTeXt mailing-list (ntg-context@ntg.nl)
This is not a request to support the armv7l (unless it is trivial) but,
is it futile to attempt installing
On Feb 17, 2014, at 4:01 PM, Martin maaca Rehula wrote:
I was using ConTeXt (ages ago) on my Nokia N800. There were/are pre-compiled
Debian packages for arm architecture. Try looking this direction.
Martin
21:23:53 CET 2014, John Kitzmiller k...@inradius.net napsal(a):
I attempted
Maybe you need to specify the installation directory or issue tex/setuptex from
inside the install folder?
font-opt.lua should be in install folder/tex/texmf-context/tex/context/base
John
On 09/25/2013 12:01 AM, Mica Semrick wrote:
Have you added the bin directory to your PATH?
No, I
On Jul 31, 2013, at 12:15 PM, ntg-context-requ...@ntg.nl wrote:
Am 30.07.2013 um 18:55 schrieb Aditya Mahajan adit...@umich.edu:
Is it possible to use the fallback mechanism for math fonts? For example, I
am using Neo Euler for math which has a few missing glyphs. Can I use
Cambria (or
= (scantokens v1, scantokens v2);
augment.p(x,0);
augment.p(x,y);
x := x + 0.4 ;
augment.p(x,y);
augment.p(x,0);
Alan
On Sat, 6 Jul 2013 22:01:06 -0400
John Kitzmiller k...@inradius.net wrote:
When trying to make a bar graph with m-graph.mkiv and sarith, the
command Ssub (string subtract
When trying to make a bar graph with m-graph.mkiv and sarith, the command Ssub
(string subtract) seems to Sadd instead. An mwe of a bar graph:
(data1 is a separate file containing
01 02
02 03)
\usemodule[m-graph]
\startMPpage[instance=graph]
input sarith;
draw begingraph(5cm,5cm);
On Wed, Apr 17, 2013 at 10:51 PM, John Kitzmiller wrote:
Is there something extra needed to use mptopdf with only context minimal?
Does it help if you run the following command first?
texexec --make mptopdf
(it should or at least used to be used in past)
Mojca
--
Thank you Mojca
Is there something extra needed to use mptopdf with only context minimal?
Experimenting with having just context standalone on mac osx:
On Apr 17, 2013, at 5:00 PM, Hans Hagen wrote:
On 4/17/2013 10:51 PM, John Kitzmiller wrote:
Is there something extra needed to use mptopdf with only context minimal?
Experimenting with having just context standalone on mac osx
My primary plea for help is how to make an arc symbol over 3 letters in ConTEXt
with lucidaot as body font.
In pdfLaTeX I could use package fourier to get such an extensible symbol where
\widearc was preferable to \widehat.
Hans' new about regarding extensible glyphs is suggestive, but because
Any hints on enumerating fillinlines? Below describes the request (I
hope this fomats okay on forum) the answer lines align with the top
line of the question and are in a margin column:
1. Here is a question. 1. __
2. Here is another question. If
From: Marco net...@lavabit.com
To: ntg-context@ntg.nl
Cc:
Date: Tue, 21 Feb 2012 17:19:42 +0100
Subject: Re: [NTG-context] enumerate fillinlne
On 2012-02-21 John Kitzmiller jki...@gmail.com wrote:
Any hints on enumerating fillinlines? Below describes the request (I
hope this fomats okay
It looks like you need to point Scite to
/home/peter/context1220/texmf-mswin/bin (assuming you are using
windows) in your PATH.
On Mon, Jan 2, 2012 at 10:52 PM, Peter Park Nelson
peter.park.nel...@gmail.com wrote:
Hello, I installed and configured SciTE today to try it out. I am
using the
This may not belong here but perhaps someone would be willing to confer
with me off-list?
After Scite re-install with new MkIV instructions I can not find where to
change background color. (I was able to change it before under ebswift
installation although syntax highlighting for *tex did not
On Tue, Dec 27, 2011 at 6:00 AM, ntg-context-requ...@ntg.nl wrote:
Hi ConTeXt user's,
A few weeks ago I upgraded to the 11-11-29 version (MkIV) and today
installed the 11-12-23 version (MkIV). The \setupMPpage command in the
basic example below:
\setupMPpage[offset=1pt]
---Mojca wrote:
On Sat, Dec 3, 2011 at 04:56, John Kitzmiller wrote:
I think I can get this setuptex.bat automated for random context runs but,
for some reason(s) C:context somefile.tex will not work globally on my
personal computer (Lenovo x100e) over which I have admin control (maybe I
am
Hello.
Trying to make my first doc with ConTeXt (Win7, standalone install) I get
the error:
context: The Lua script is not registered
context: Data: context
and I am taken back to the command prompt. Nothing is produced.
Any ideas?
What did I overlook?
After `texing otherwise for years I am
I hope this does not open another thread with the same name, but I did not
find a way to respond directly within the archive--something else I am
missing or will ntg find the reference? Here it goes...
Thank you for response luigi. The story:
OS = Windows7 professional
I also have MikTeX
Replying to the list in this manner--having to retype the subject--is
unusual to me, and I hope it does not create problems for the list. Please
help me on how to reply within the mail archive to make more efficient.
Many thanks to those who have replied on the topic!
Thank you, Aditya--
I had
59 matches
Mail list logo