[NTG-context] Referencing formulas doesn't work?

2020-02-09 Thread Jon Wong
MWE: \starttext The famous result (and again) is given by \placeformula[formulalabel] \startformula c^2 = a^2 + b^2. \stopformula And now we can refer to formula \ref[][formulalabel]. \stoptext There is a blank where the formula label should be at “now we can refer to formula ---“. Regards

Re: [NTG-context] Entity to receive donations?

2019-12-27 Thread Jon Wong
Thanks! So if I wanna write a book about ConTeXt, and want to give half of book sales proceeds to ConTeXt group, the official beneficiary I should list is “ConTeXt Group”? > On 27 Dec 2019, at 3:55 PM, Henri Menke wrote: > > On 12/27/19 4:49 PM, Jon Wong wrote: >> Is there

[NTG-context] Entity to receive donations?

2019-12-26 Thread Jon Wong
Is there a formal entity for ConTeXt to receive donations? What about receiving earnings? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Watermark is behind \externalfigure

2019-12-26 Thread Jon Wong
Any way to put the watermark in front? ___ 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 :

[NTG-context] Using TestBackground inside Offset

2019-12-23 Thread Jon Wong
Is it possible? I get “missing endgroup inserted” error. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Macro expansion macros not defined

2019-12-20 Thread Jon Wong
expandtwoargsafter ___ 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 :

[NTG-context] How to get subsubject to show numbering in TOC?

2019-12-20 Thread Jon Wong
Is it \setuplist[subsubject][headnumber=yes]? ___ 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

Re: [NTG-context] Formatting spaces for \placelistof ?

2019-12-12 Thread Jon Wong
Sorry for the noise. \setupsynonyms[term][width=X]. But I can’t get textstyle to work. Tried bold too. How do I insert a blank line between entries? > On Dec 13, 2019, at 3:23 PM, Jon Wong wrote: > > Space between the term (left column) and the definition (right column) is too

[NTG-context] Formatting spaces for \placelistof ?

2019-12-12 Thread Jon Wong
Space between the term (left column) and the definition (right column) is too small. \definesynonyms[term][terms][\deffull] \setupsynonyms[term][textstyle=cap] \placelistofterms ___ If your question is of interest to

[NTG-context] Textbackground inside Layer?

2019-12-05 Thread Jon Wong
\setupwhitespace[line] % A line's spacing between paragraphs. \starttext \definetextbackground[InfoText][ location=paragraph, frame=on] \definelayer[testlayer] \setlayer[testlayer][x=1cm,y=3cm]{% \startInfoText \stopInfoText } \flushlayer[testlayer] \stoptext Doesn’t work. Only works if

[NTG-context] Place externalfigure anywhere on page

2019-12-04 Thread Jon Wong
A real float. Is that possible? ___ 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 :

[NTG-context] doifsomething vs iffirstargument in TABLE?

2019-09-12 Thread Jon Wong
Hi all, If I use iffirstargument, the optional (first argument) is always seen as false. If I use doifsomething, it works, but the “else” part is never executed when it should. MWE: \starttext % \def\MyRow{\dosingleempty\doMyRow} % \def\doMyRow[#1]#2#3#4#5{% % \bTR \bTD #2 \eTD % %

Re: [NTG-context] Loading OTF fonts?

2019-09-12 Thread Jon Wong
Hi all, Oops. I think I’m failing at understanding font lookup folder. Maybe I need pointers on OSFONTDIR? Specifying the full path works. Regards Jon > On Sep 12, 2019, at 6:42 PM, Jon Wong wrote: > > Hi all, > > I tried following this tex.sx answer: > https://tex

[NTG-context] Loading OTF fonts?

2019-09-12 Thread Jon Wong
Hi all, I tried following this tex.sx answer: https://tex.stackexchange.com/questions/453143/noto-cjk-font-not-usable-with-context Can someone give me an explanation of what I did wrong? Hit me with all the

Re: [NTG-context] hypertarget and hyperlink in ConTeXt?

2019-08-31 Thread Jon Wong
Hi all, I’m having trouble getting \textreference to show up. MWE: \starttext \textreference[bleh]{\bf Ref One}. \page \textreference[blah]{\bf Ref Two}. \at[bleh]. \at[blah]. \stoptext Regards Jon > On Aug 28, 2019, at 7:40 PM, Jon Wong wrote: > > Hi all, > >

Re: [NTG-context] My own marks

2019-08-31 Thread Jon Wong
Regards Jon > On Aug 31, 2019, at 9:28 PM, Jon Wong wrote: > > Hi all, > > It seems that \currentitemnumber won’t work for \marking if inside a nested > itemize? > > MWE: > > \definemarking[M] > > \startsetups S > default=(\getmarking[M])~ &g

Re: [NTG-context] My own marks

2019-08-31 Thread Jon Wong
} [\currentitemnumber] \input{knuth} \item \marking{\currentitemnumber} [\currentitemnumber] \input{zapf} \stopitemize \stopitemize \stoptext Regards Jon > On Aug 31, 2019, at 8:46 PM, Jon Wong wrote: > > Hi all, > > How does \marking really work? Can’t seem to get \cu

Re: [NTG-context] setupinterlinespace affects headers and footers

2019-08-31 Thread Jon Wong
[12pt] { \setuplocalinterlinespace[24pt] \input{knuth} \page \input{knuth} \page \input{knuth} } \stoptext Regards Jon > On Aug 31, 2019, at 9:05 PM, Wolfgang Schuster > wrote: > > Jon Wong schrieb am 31.08.2019 um 14:59: >> Hi, >> >> Yi

Re: [NTG-context] setupinterlinespace affects headers and footers

2019-08-31 Thread Jon Wong
{knuth} \page \input{knuth} \page \input{knuth} } \stoptext Only the last page is immune to the double-spacing. Regards Jon > On Aug 31, 2019, at 8:54 PM, Wolfgang Schuster > wrote: > > Jon Wong schrieb am 31.08.2019 um 09:25: >> Hi all, >> >> Can I limi

[NTG-context] My own marks

2019-08-31 Thread Jon Wong
Hi all, How does \marking really work? Can’t seem to get \currentitemnumber into it. MWE: \definemarking[M] \startsetups S \getmarking[M] \stopsetups \setupheadertexts[\setups{S}][][][\setups{S}] \starttext \startitemize[n] \item First item \marking[M]{Really?

[NTG-context] setupinterlinespace affects headers and footers

2019-08-31 Thread Jon Wong
Hi all, Can I limit \setupinterlinespace to body text only? Regards Jon ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] hypertarget and hyperlink in ConTeXt?

2019-08-28 Thread Jon Wong
Hi all, Any way to do hypertarget and hyperlink in ConTeXt? From https://www.contextgarden.net/Command/textreference: I see that the name of the anchor is also the displayed text (“houses”). Regards Jon

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
=off ]{My header!} \blank[-0.5em] \startsecondary { \setupwhitespace[line] \input knuth } \stopsecondary \stopnarrower } \input knuth \stoptext > On Aug 21, 2019, at 10:21 PM, Jon Wong wrote: > > Hi all, > > Ok, last message in this topic, I promise. I’v

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
\framed[ width=local, corner=03, background=color, backgroundcolor=cyan, frame=off ]{My header!} \blank[-0.5em] \startsecondary \input knuth \stopsecondary \stopnarrower \input knuth \stoptext Regards Jon > On Aug 21, 2019, at 9:37 PM, Jon Wong wrote: > > Hi all

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
I want rounded corners only for top corners (corner=03 with \framed). Seems I really should dig into MetaFun and TextBackground. Looks really fun and useful. Sorry for the noise. Am a little carried away exploring the Garden. :-P Regards Jon > On Aug 21, 2019, at 9:25 PM, Jon Wong wrote: &g

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
? It seems layers require absolutely positioning, and can’t be logically contained inside a \startnarrower? Regards Jon > On Aug 21, 2019, at 8:53 PM, Jon Wong wrote: > > Hi all, > > I got some progress! > > \setupnarrower[left=2cm, right=2cm] % what does middle do, actua

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
have to dive into MetaPost and MetaFun some time. Is that where the solution is? Regards Jon > On Aug 21, 2019, at 8:14 PM, Jon Wong wrote: > > Hi all, > > I want to have a \startnarrower effect. But I also want that segment to have > a border (hopefully a gradient ba

[NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I want to have a \startnarrower effect. But I also want that segment to have a border (hopefully a gradient background color too!). I tried: \startnarrower \framed{testing} Seems framed doesn’t observe startnarrower commands. \endnarrower How do I achieve that? Regards Jon

[NTG-context] Italic corrections?

2019-08-19 Thread Jon Wong
Hi all, Will this work? \usetypescript[pagella] \setupbodyfont[pagella,12pt] \definefontfeature [itlc=yes] This {\em will} work? Regards Jon ___ If your question is of interest to others as well, please add an

[NTG-context] LaTeX's itemsep in ConTeXt?

2019-08-19 Thread Jon Wong
Hi all, Is there a counterpart in ConTeXt to LaTeX’s itemsep? Regards Jon ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] texexec is deprecated?

2019-08-12 Thread Jon Wong
Hi all, I did a quick standalone install of Mark IV: ```shell mkdir ~/context cd ~/context wget http://minimals.contextgarden.net/setup/first-setup.sh sh first-setup.sh --modules=all --context=current --engine=luatex’) ``` Set the correct paths and env in `~/.bashrc': ```shell # Add ConTeXt

Re: [NTG-context] Convert SVG to MetaPost

2019-08-12 Thread Jon Wong
On Mon, Aug 12, 2019 at 12:11 PM Jon Wong <mailto:jhannw...@gmail.com>> wrote: > Hi all, > > Is it possible to convert SVG to MetaPost? > > Currently, I have Bash scripts in my workflow to invoke Inkscape (converting > SVG to PDF). I don’t like to allow shel

[NTG-context] Convert SVG to MetaPost

2019-08-12 Thread Jon Wong
Hi all, Is it possible to convert SVG to MetaPost? Currently, I have Bash scripts in my workflow to invoke Inkscape (converting SVG to PDF). I don’t like to allow shell access to TeX. If I can convert SVG to MetaPost, I will gladly Git-track MetaPost files instead of SVG files. That will do