[NTG-context] Resetcounter in custom enumeration environment

2022-01-03 Thread Jan-Erik Hägglöf via ntg-context
Hi! I’ve been doing this in my exams to define exercises in a structural way. \defineenumeration[uppgift] \setupenumerations[uppgift][alternative=left,width=1cm,text= ,after={\blank[2*big]}] \starttext \startuppgift Here comes the exercise \stopuppgift \stoptext I want a simple solution

Re: [NTG-context] Is there a syntax for making many index entry's all in one?

2021-12-28 Thread Hans Hagen via ntg-context
and math that has + in it) it is no big deal top write this but just using a ; would for sure issues with existing indices anyway, apart from maybe some typing it is not more efficient to combine Hans

Re: [NTG-context] Critical Editions?

2021-12-21 Thread Henning Hraban Ramm via ntg-context
for criticial editions differ so much that it’s hard to tell what is really needed. So it’s good that Jürgen came up with his requirements and solution attempts. I remember several interesting talks about big edition projects at DANTE conferences and online, also of course Massi’s MEO project, and

Re: [NTG-context] Have a cell span multiple columns with tabulate

2021-11-27 Thread Denis Maier via ntg-context
simple tables (e.g. single line cells). You mean every cell has to be a single line cell? Or the ones where this span features applies ? That would be enough for me – at least ATM. How does that feature work? I couldn’t find information about it. A big feature of tabulate is that cells can be split

Re: [NTG-context] Have a cell span multiple columns with tabulate

2021-11-27 Thread Wolfgang Schuster via ntg-context
it works only for simple tables (e.g. single line cells). A big feature of tabulate is that cells can be split at page breaks while cells in natural tables and extreme tables are limited to a single page. Wolfgang

Re: [NTG-context] font problems

2021-11-26 Thread jdh via ntg-context
hoffset=.125in, > > voffset=.125in] > > \setlayer[mwe] { \switchtobodyfont[chancery,8pt] \hskip 5mm Chancery > > Font Here } > > \setupbackgrounds[page][background=mwe] > > > > \starttext > > Normal font text goes here. \blank[4*bi

Re: [NTG-context] font problems

2021-11-26 Thread Hans Hagen via ntg-context
tlayer[mwe] { \switchtobodyfont[chancery,8pt] \hskip 5mm Chancery Font Here } \setupbackgrounds[page][background=mwe] \starttext Normal font text goes here. \blank[4*big] { \switchtobodyfont[chancery] This should be Chancery here to. But isn't. } \b

[NTG-context] font problems

2021-11-26 Thread jdh via ntg-context
m Chancery Font Here } \setupbackgrounds[page][background=mwe] \starttext Normal font text goes here. \blank[4*big] { \switchtobodyfont[chancery] This should be Chancery here to. But isn't. } \blank[2*big]Note that if I comment out the \type{setlay

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Hans Hagen via ntg-context
thing should work in your case by defining two modes: unabridged and translation. And then use --mode=unabridged,translate etc to get multiple modes. Here's a working sample: === % \definebuffer[unabridged] % \definebuffer[abridged] \setupwhitespace[big] \starttext \startmode[unabridged] \

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Aditya Mahajan via ntg-context
; > > > Then, in the main tex file: > > > > > > \startsolution > > ... > > \stopsolution > > > > > > By default, gives the version without solution. Compile with --mode=solution > > to get the version with solution. The s

Re: [NTG-context] Can modes be used for content control?

2021-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
,translate etc to get multiple modes. Here's a working sample: === % \definebuffer[unabridged] % \definebuffer[abridged] \setupwhitespace[big] \starttext \startmode[unabridged] \input knuth \startblockquote \input ward \stopblockquote % \startmode[abridged] % \input knuth % \stopmode \sto

Re: [NTG-context] LMTX error processing Adobe Arabic Naskh font

2021-11-13 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
Problems I and II are apparently solved in the latest update. As for III, the following works: \definefont[ARABICFONT][file:almfixed.otf*arabic at 28pt] \noheaderandfooterlines \setupwhitespace[big] % \starttext \startTEXpage[offset=1ex] % \setupdirections[bidi=global,method=one

[NTG-context] rule beneath chapter number

2021-11-11 Thread jbf via ntg-context
=off,topframe=off,align=middle] {\vbox{\headtext{chapter} \underbar{#1}\crlf\blackrule[height=.1\exheight]\crlf#2}}} \setuphead[chapter][     header=empty,     alternative=middle,     style={\ssb},     number=yes,     command=\MyChapterCommand,     after={\blank[big]},     ] \setuplabeltext

Re: [NTG-context] LMTX error processing Adobe Arabic Naskh font

2021-11-10 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
28pt] % \definefont[ARABICFONT][file:Scheherazade-Regular.ttf*arabic at 28pt] % \definefont[ARABICFONT][file:UthmanTN1_Ver10.otf*arabic at 28pt] % \definefont[ARABICFONT][file:almfixed.otf*arabic at 28pt] \disabledirectives[filters.utf.reorder] \noheaderandfooterlines \setupwhitespace[big

[NTG-context] LMTX error processing Adobe Arabic Naskh font

2021-11-10 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
][file:UthmanTN1_Ver10.otf*arabic at 28pt] % \definefont[ARABICFONT][file:almfixed.otf*arabic at 28pt] \disabledirectives[filters.utf.reorder] \noheaderandfooterlines \setupwhitespace[big] % \setupinterlinespace[line=4.2ex] \starttext % \startTEXpage[offset=1ex] \setupdirections[bidi=global,method=one

[NTG-context] new upload

2021-11-05 Thread Hans Hagen via ntg-context
} \insertlinebefore{BEFORE 1b} \insertlineafter {AFTER 1} \dorecurse{20}{test #1 \hbox{\hbox{\hbox{\footnote{!} \dorecurse{20}{test #1 } \insertlinebefore{BEFORE 2} \insertlineafter {AFTER 2} \dorecurse{20}{test #1 } \blank } \page \dorecurse{20}{before #1 } \insertblankbefore[big

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
, sectionsegments=chapter, before={\blank[force,2*big]}, after={\blank[3*big]}] \definelist[chaptertext] \setuplist[chaptertext][margin=1.3em,pagecommand=\gobbleoneargument] \define[1]\ChapterAbstract{\writetolist[chaptertext]{}{\start\itx#1\stop}} \defineresetset [default] [0,0] [1

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-25 Thread Bruce Horrocks via ntg-context
gt;header=empty, >footer=chpaterfooter, >sectionsegments=chapter, >before={\setups[chapter:before]}, >after={\setups[chapter:after]}] > > \startsetups chapter:before > \page[left] > \noheaderandfooterlines > \startalignment[left,nothyphenated]

Re: [NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Wolfgang Schuster via ntg-context
]    % content \setuphead   [chapter]   [page=yes,    header=empty,    footer=chapterfooter,    sectionsegments=chapter,    before={\blank[force,2*big]},    after={\blank[3*big]},    beforesection=\directsetup{chapter:before}] \startsetups [chapter:before]     \page[left]     \noheaderandfooterlines

Re: [NTG-context] Failure to compile with new date code

2021-10-25 Thread Wolfgang Schuster via ntg-context
Fail with LMTX, works with MkIV. \stoptext If the answer is "don't do that" I can find another way to accomplish what this does -- not a big problem. But I do want to point out the difference in behavior. The date-key expects its argument in a certain format but you pass

[NTG-context] Failure to compile with new date code

2021-10-25 Thread Rik Kabel via ntg-context
"don't do that" I can find another way to accomplish what this does -- not a big problem. But I do want to point out the difference in behavior. -- Rik ___ If your question is of interest to others as w

[NTG-context] Move the page number from header to footer on the current page only?

2021-10-24 Thread Gerben Wierda via ntg-context
\setuphead[chapter] > [page=, >header=empty, >footer=chpaterfooter, >sectionsegments=chapter, >before={\setups[chapter:before]}, >after={\setups[chapter:after]}] > > \startsetups chapter:before > \page[left] > \noheaderandfooterlines > \st

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right] \blank[force,2*big] \stopsetups \startsetups chapter:after \blank[3*big] \stopsetups \definelist[chaptertext] \setuplist[chaptertext][margin=1.3em,pagecommand=\gobbleoneargument] \define[1

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
gt; > \startsetups chapter:before > \page[left] > \noheaderandfooterlines > \startalignment[left,nothyphenated] > \startnarrower[4*left] > \em \getbuffer[chapter:quote] > \stopnarrower > \stopalignment > \resetsetups[quote:text] >

[NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right] %\noheaderandfooterlines % I want the enumber in the footer here \blank[force,2*big] \stopsetups \startsetups chapter:after \blank[3*big

Re: [NTG-context] How to enable the use of the blackboard font in modern ConTeXt

2021-10-23 Thread Gerben Wierda via ntg-context
\blackboard switches math mode on/off if necessary. Not a big deal though. The fix is simple. Adding the info about math mode might also be helpful here: https://wiki.contextgarden.net/Blackboard_bold <https://wiki.contextgarden.net/Blac

Re: [NTG-context] upload

2021-10-23 Thread Mikael Sundqvist via ntg-context
Hans Hagen | PRAGMA ADE >Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----- Hi! As I wrote, I do not use the quadr

Re: [NTG-context] Bloody PDF boxes and cr*p marks!

2021-10-12 Thread Hans Hagen via ntg-context
prepress one would define a real, target size, not rely on a convenience value But it’s convenient ;) I usually just need a format that is big enough for the crop marks, and “oversized” does that. sure, i use it too % ... and no dependency on interactionscreen! that's a historic fact

Re: [NTG-context] Bloody PDF boxes and cr*p marks!

2021-10-12 Thread Henning Hraban Ramm via ntg-context
imoffset, I must know the difference between paper size and >> sheet size ("oversized" adds 15 mm). > > oversized is a convenience feature, in prepress one would define a real, > target size, not rely on a convenience value But it’s convenient ;) I usually just need a fo

Re: [NTG-context] SciTE configuration Mac

2021-10-10 Thread Hans Hagen via ntg-context
On 10/8/2021 6:39 PM, MANUEL GONZALEZ SUAREZ via ntg-context wrote: Hi everyone: Could someone send me a minimal configuration for the SciTE editor of the files needed to work with ConTeXt? I work with MaC OS Big Sur. There are some scite related files in the distribution that you can look at

[NTG-context] SciTE configuration Mac

2021-10-08 Thread MANUEL GONZALEZ SUAREZ via ntg-context
Hi everyone: Could someone send me a minimal configuration for the SciTE editor of the files needed to work with ConTeXt? I work with MaC OS Big Sur. Thanks. M. González. ___ If your question is of interest to others

Re: [NTG-context] metafun: circular arc

2021-10-05 Thread Hans Hagen via ntg-context
aw followtext(S[18], "\strut\hbox to 2em{\EmpArrow}\hskip2em RUHEPAUSE\hskip4em\strut") ; draw followtext(S[19], "\strut\hbox to 2em{\EmpArrow}EINHEIT (SPHAIROS)\hskip2em\strut") ; \stopuseMPgraphic \useMPgraphic{empedocles} \stoptext I have a big problem and some smaller ques

[NTG-context] metafun: circular arc

2021-10-05 Thread Thomas A. Schmitz via ntg-context
\hskip2em RUHEPAUSE\hskip4em\strut") ; draw followtext(S[19], "\strut\hbox to 2em{\EmpArrow}EINHEIT (SPHAIROS)\hskip2em\strut") ; \stopuseMPgraphic \useMPgraphic{empedocles} \stoptext I have a big problem and some smaller questions, for those who are better at math and at metafun tha

Re: [NTG-context] MkIV missing?

2021-10-04 Thread Marcus Vinicius Mesquita via ntg-context
” directory (around August 20). > Previously, the cache for LMTX still used files under luatex-cache, just > like MKIV. But since that change, the “context -—generate” call no longer > updates files in luatex-cache, only in luametatex-cache. > > > That is not a big problem unless som

Re: [NTG-context] MkIV missing?

2021-10-04 Thread Taco Hoekwater via ntg-context
cache, only in luametatex-cache. That is not a big problem unless something happens to clear any existing cache in that folder (like a re-install from scratch, say). Normally, one runs “context —-generate” to fix the cache and “context —-luatex” to run luatex Combined, that would be “co

Re: [NTG-context] Headline with numbers in margin doubleside layout

2021-09-14 Thread juh via ntg-context
| The text area stops at "dolor". So the long headline on page 2 should run into the outermargin. Sorry, I must confess that I am still experimenting with my layout. The outer margin is quite big so that the headline on right pages should run into the margin to balance the

Re: [NTG-context] Headline with numbers in margin doubleside layout

2021-09-13 Thread Wolfgang Schuster via ntg-context
juh via ntg-context schrieb am 13.09.2021 um 13:07: Hi all, I have a doubleside layout with a big outer margin. When I set alternative=margin in setuphead the chapter numbers appear in the left margin which is the outer margin on left pages, but the inner margin on right pages. While this

[NTG-context] Headline with numbers in margin doubleside layout

2021-09-13 Thread juh via ntg-context
Hi all, I have a doubleside layout with a big outer margin. When I set alternative=margin in setuphead the chapter numbers appear in the left margin which is the outer margin on left pages, but the inner margin on right pages. While this looks good on left pages, there is much free space on

Re: [NTG-context] Axis macro in MetaFun

2021-09-11 Thread kauśika cittūr via ntg-context
>sx = 2mm, sy = 2mm, >nx = 80, ny = 40, >tx = 15, ty = 15, > > list = { > [ >connect = true, >color = "darkblue", >close = true, >point

Re: [NTG-context] Axis macro in MetaFun

2021-09-11 Thread Hans Hagen via ntg-context
st = { [ connect = true, color = "darkblue", close = true, points = "MP.MyPoints('temp.csv')", labels = {"•"}, ] }, ] withpen pencircle scaled 0.5mm; \stopMPc

Re: [NTG-context] (neo)vim support & Lua

2021-09-09 Thread Hans Hagen via ntg-context
t also has built-in LSP client...so, I wonder if there is some work planned to improve Vim support for ConTeXt by taking advantage of those new development related to Neovim? It all depends on demand and usability. It is no big deal to write a script that gets some json request and returns a json r

[NTG-context] error: (nodes): fuzzy token cleanup in whatsit node

2021-09-07 Thread Sylvain Hubert via ntg-context
s,one] \setupchoice[before={\blank[medium]}] \starttext .\blank[32*big] \startitemize \item 0 \startchoice[text] \item 0 \item 0 \item 0 \item 0 \stopchoice \item 0 \startchoice \item 0 \item 0 \item 0 \item 0 \stopchoice \item 0 \startchoice \item 0 \item 0 \item 0 \item 0 \stopchoice \item 0 \startc

[NTG-context] error: (nodes): fuzzy token cleanup in whatsit node ...

2021-09-06 Thread Sylvain Hubert via ntg-context
% context version: 2021.03.05 19:11 % This seems to be a bug of a very subtle layout problem. % Inserting or removing anything will likely to suppress the bug \defineitemgroup[choice][itemize] \setupchoice[packed,columns,one] \setupchoice[before={\blank[medium]}] \starttext .\blank[32*big

Re: [NTG-context] Use MetaPost to distort images?

2021-09-05 Thread Henning Hraban Ramm via ntg-context
t;accuses of .." show that down side of the open > source community (which includes the tex community btw) ... it gets even > worse when something sells itself for big money and then after a few years > spins off again attacking those who paid them ... i suppose that > unconstrianed

Re: [NTG-context] Use MetaPost to distort images?

2021-09-05 Thread Hans Hagen via ntg-context
im didn't run well at that time on windows personally i think that "accuses of .." show that down side of the open source community (which includes the tex community btw) ... it gets even worse when something sells itself for big money and then after a few years spins off again

Re: [NTG-context] Fuzzy lines

2021-09-03 Thread Henning Hraban Ramm via ntg-context
> Am 13.05.2021 um 20:02 schrieb Henning Hraban Ramm : > > Thank you, that is what I was asking for! > > Unfortunately, the deviation of edge points is too big – try my attached test > file. Hi Aditya et al., coming back to this: I found "fill" was not working

Re: [NTG-context] "*.jpg is bugged", previously working

2021-09-01 Thread Henning Hraban Ramm via ntg-context
ror >> message "... is bugged". >> Maybe there *is* something wrong with them, but I don’t see a problem. >> "file" gives: >> JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=12, >> height=3408, bps=0, PhotometricIntepretat

Re: [NTG-context] "*.jpg is bugged", previously working

2021-09-01 Thread Hans Hagen via ntg-context
em. "file" gives: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=12, height=3408, bps=0, PhotometricIntepretation=RGB, orientation=upper-left, width=2368], baseline, precision 8, 607x420, components 3 JPEG image data, JFIF standard 1.01, resolution (DPI), de

Re: [NTG-context] "*.jpg is bugged", previously working

2021-09-01 Thread Hans Hagen via ntg-context
em. "file" gives: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=12, height=3408, bps=0, PhotometricIntepretation=RGB, orientation=upper-left, width=2368], baseline, precision 8, 607x420, components 3 JPEG image data, JFIF standard 1.01, resolution (DPI), de

[NTG-context] "*.jpg is bugged", previously working

2021-09-01 Thread Henning Hraban Ramm via ntg-context
Hi again, was something changed WRT JPEG images? Since a few versions some images that used to work are denied with the error message "... is bugged". Maybe there *is* something wrong with them, but I don’t see a problem. "file" gives: JPEG image data, Exif standard: [

[NTG-context] Gradient fill in embedded pdf disappear in externalfigure (on regular pages)

2021-08-29 Thread Benjamin Buchmuller via ntg-context
preparing a MWE, I further realized that I get the correct output when between \startTEXpage ... \stopTEXpage \starttext Embedded via \type{\externalfigure} PNG \externalfigure[drawing.png][width=72.631mm,height=21.702mm] \blank[big] PDF \externalfigure[drawing.pdf] \startTEXpage % this

Re: [NTG-context] Handling of negative values in the statistical-charts?

2021-08-28 Thread Ramkumar KB via ntg-context
, > > I have been exploring the use of the awesome statistical-charts > <https://akela.mendelu.cz/~thala/statcharts/> module. So first of all, a > big thanks to the authors of the same. > > I seem to have hit a snag when it comes to handling of -ve values. In my > example

Re: [NTG-context] Strange new behaviour of the mailing list

2021-08-21 Thread Bruce Horrocks via ntg-context
is >>> completely useless when you want to visually scan down the list for a >>> particular person. >> >> It doesn’t make sense to argue about this, but it’s apparently a setting (or >> unchangeable behavior) of your Email app. >> >> My Apple Mail

[NTG-context] Handling of negative values in the statistical-charts?

2021-08-21 Thread Ramkumar KB via ntg-context
Dear List, I have been exploring the use of the awesome statistical-charts <https://akela.mendelu.cz/~thala/statcharts/> module. So first of all, a big thanks to the authors of the same. I seem to have hit a snag when it comes to handling of -ve values. In my example (attached tex & p

Re: [NTG-context] lmtx update

2021-08-19 Thread Hans Hagen via ntg-context
extreme 2000 page 5 column doc tuc file down to 5% -- it was 70 MB; for the luametatex manual it reducec the tuc more than 30%; hard to tell if there will be an associated performance hit, but i'm sure thomas will complain if that's the case I never realized that tuc files can grow s

Re: [NTG-context] lmtx update

2021-08-19 Thread Aditya Mahajan via ntg-context
doc tuc file down to 5% -- it was 70 MB; for the > luametatex manual it reducec the tuc more than 30%; hard to tell if > there will be an associated performance hit, but i'm sure thomas will > complain if that's the case I never realized that tuc files can grow so big. Fo

Re: [NTG-context] Size of root symbol

2021-08-18 Thread Hans Hagen via ntg-context
quantities whose roots are being taken to be of the same size. \starttext % The simplest solution: \startformula \sqrt[3]{4n} \ne \sqrt[3] {\vphantom{4} n} \stopformula % More general % \strut = \vphantom{(}, which is too big \startformula \sqrt[3]{\strut 4n} \ne \sqrt[3] {\strut n} \stopformula % We

Re: [NTG-context] Size of root symbol

2021-08-18 Thread Aditya Mahajan via ntg-context
ken to be of the same size. \starttext % The simplest solution: \startformula \sqrt[3]{4n} \ne \sqrt[3] {\vphantom{4} n} \stopformula % More general % \strut = \vphantom{(}, which is too big \startformula \sqrt[3]{\strut 4n} \ne \sqrt[3] {\strut n} \stopformula % We can define our own phanto

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
textcommand=\groupedcommand{\blank[medium]}{}, > numbercolor=darkgray, > textstyle=ChapterTextStyle, > numberstyle=ChapterNumberStyle, > before=\startChapterFrame, > after=\stopChapterFrame, > header=high] > > \setuphead > [title] > [header=empty,

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Pablo Rodriguez via ntg-context
ommand=, textstyle=, style=\tfc, before={\blank[2*big]}, after={\blank[2*big]}] I hope it helps, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Strange new behaviour of the mailing list

2021-08-01 Thread Bruce Horrocks via ntg-context
the new system (just the topmost entry, >> shown selected) every email comes from "ntg-context@ntg.nl" which is >> completely useless when you want to visually scan down the list for a >> particular person. > > It doesn’t make sense to argue about this, but

Re: [NTG-context] Multimedia, PDF and ConTeXt

2021-07-26 Thread Hans Hagen via ntg-context
TeXt (\externalfigure, \useexternalsoundtrack). - Supported only in Evince and Okular (with their usual quirks, see below). Notably Acrobat Reader does no longer support this mechanism. this all became an issue when they dropped the quicktime plugin (probably also relates to the usual big c

[NTG-context] Solution: LMTX initial (drop cap) in combination with indenting

2021-07-22 Thread Gerben Wierda
line in small caps > \definefirstline[smallcapsfirstline][ > alternative=line, > style=smallcaps, > ] > > % First n words in small caps (three in this case) > \definefirstline[smallcapsfirstlinethree][ > alternative=word, > n=3, > style=smallcaps, > ] >

Re: [NTG-context] Use of lettrine module in LMTX

2021-07-21 Thread Nicola
small caps (three in this case) \definefirstline[smallcapsfirstlinethree][ alternative=word, n=3, style=smallcaps, ] \starttext \setfirstline[smallcapsfirstlinethree] \setinitial[normal] Suppose we have a system for the approval of loans. \input knuth \blank[2*big] \setfirstline[smallcapsfirstline

Re: [NTG-context] drop cap (initial) and indentation

2021-07-19 Thread Pablo Rodriguez
uth \stoptext Sectioning commands never indent next paragraph by default. You have to type either \setuphead[chapter][indentnext=yes] or \setupheads[indentnext=yes] to enable it. If every chapter starts with an initial, \setuphead[chapter][after={\blank[2*big]\placeinitial}] enables this automaticall

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-18 Thread Henning Hraban Ramm
;> 50°45’7” / 5°35’19” >>> >>> https://www.openstreetmap.org/export#map=18/50.75175/5.58883 >> If you want official data you can try the Belgian cadastre: >> https://data.gov.be/en/dataset/tt098dcb-f5c7-49b8-8e0b-7c3811630d85 :-) > Yet another format? No way. I managed to

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-17 Thread Hans Hagen
you can try the Belgian cadastre: https://data.gov.be/en/dataset/tt098dcb-f5c7-49b8-8e0b-7c3811630d85 :-) Yet another format? No way. I managed to go big so for instance the area where the colorado user group is located: https://www.openstreetmap.org/export#map=12/40.5117/-104.9496 produces a

Re: [NTG-context] Rolling out a pandoc-context publication workflow in an organization

2021-07-02 Thread Hans Hagen
ync (we need to ship on for windows and sometimes a mismatch will require an update on other platforms); it reminds me that we have to swap the cygwin bins by mingw bins; anyway. one problem is that organizations block the port - the lmtx installer needs a (luametatex) binary which is no bi

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread Hans Hagen
[part] [after={\blank[samepage,big]\placelist[endnote]}] \blank \placelist [part] [criterium=all] \blank \placelist [endnote] [criterium=text] \stoptext - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread Hans Hagen
On 6/30/2021 4:57 PM, denis.ma...@unibe.ch wrote: Cool. Thanks. So again something to be wikified. Two questions related to this relying on the list mechanism: 1. You use this to flush the notes \setuplist    [part]    [after={\blank[samepage,big]\placelist[endnote][criterium=part

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread denis.maier
Would be great if that missing piece could be > added! > it's in the latest Cool. Thanks. So again something to be wikified. Two questions related to this relying on the list mechanism: 1. You use this to flush the notes \setuplist [part] [after={\blank[samepage,big]\p

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-29 Thread Hans Hagen
][placehead=yes] \setupnotes [endnote] [way=bypart] \setupnotes [endnote] [location=list] \starttext \part{First Part} asdf\endnote{asdf} jklö\endnote{jklö} \part{Second Part} asdf\endnote{asdf} jklö\endnote{jklö} \page \setuplist [part] [after={\blank[samepage,big]\placelist[endnote

Re: [NTG-context] Soft-hyphen in Antykwa.

2021-06-26 Thread Rik Kabel
[section] [alternative=margintext, before={\blank[big]\blank}, insidesection={\blank[-line]\setupindenting[next]}, style=\HeadFont\tf] \setupindenting[yes, small] \setuptagging

Re: [NTG-context] injectors not working in LMTX?

2021-06-25 Thread Hans Hagen
[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \startsection[title

Re: [NTG-context] injectors not working in LMTX?

2021-06-24 Thread Rik Kabel
][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \startsection[title=Beta] second \index{second} \startsection[title

Re: [NTG-context] dictionary example

2021-06-13 Thread jbf
*big], if there is a way I can change that default behaviour just for that particular head, then I can solve my problem. Is there such a possibility? \definehead[mysubject][subject] and then set up mysubject differently \startmysubject[title={}]  etc Hans

Re: [NTG-context] dictionary example

2021-06-13 Thread Hans Hagen
On 6/13/2021 1:52 AM, jbf wrote: Assuming that the default space before and after a head (e.g. subsubject) is something like \blank[2*big], if there is a way I can change that default behaviour just for that particular head, then I can solve my problem. Is there such a possibility

Re: [NTG-context] dictionary example

2021-06-12 Thread jbf
Assuming that the default space before and after a head (e.g. subsubject) is something like \blank[2*big], if there is a way I can change that default behaviour just for that particular head, then I can solve my problem. Is there such a possibility? Julian On 12/6/21 11:25 pm, Wolfgang

Re: [NTG-context] upload / some new math stuff

2021-06-11 Thread Fabrice Couvreur
> > versions of latin modern and come in: > > > > - 10pt (serif, sane, mono, math) > > - book (serif, sane, mono, math) > > - 8pt (partial) > > > > I made a typescript for the 10pt regular and book (as I see no reason to > > configure 8pt). So, assum

Re: [NTG-context] upload / some new math stuff

2021-06-11 Thread Mikael Sundqvist
these integrals I > decided that it was about tiem to deal with it properly. It is no big > deal to implement them gropwing (after all one can see them as left > delimiter) but the main issue are these super and subscripts. > > \setupbodyfont[newcomputermodern-book] > % \setupbodyfo

[NTG-context] upload / some new math stuff

2021-06-10 Thread Hans Hagen
ath lovers is welcome). Now, this font also implements, as cambria does, upright integrals and as that has comes on my radar every year when I ponder these integrals I decided that it was about tiem to deal with it properly. It is no big deal to implement them gropwing (after all one can see th

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-24 Thread Eduardo Bohoyo
nging,flushright,nothyphenated] \blank[0.8cm,force]{\tfa\sc  Geofrey Chaucer,\hspace[big]} \blank[0.1cm,force]{\tfa\em The Canterbury Tales \hspace[big]} \stopalignment \stopmakeup You can add this to cont-new.mkxl (assuming lmtx) \unprotect \permanent\tolerant\protected\def\flushin

Re: [NTG-context] mathfun

2021-05-23 Thread Jairo A. del Rio
drawing would be awesome. I think it > > would nicely extend ConTeXt's drawing features... > > > > So, indeed it's a new primitive but (for now) only used with these > lua > > hacks. Actually it's no big deal to reimplement \thewithoutunit > as

Re: [NTG-context] mathfun

2021-05-23 Thread Hans Hagen
ithproperty2). Having flags for computing and drawing would be awesome. I think it would nicely extend ConTeXt's drawing features... So, indeed it's a new primitive but (for now) only used with these lua hacks. Actually it's no big deal to reimplement \thewithoutunit as

Re: [NTG-context] mathfun

2021-05-23 Thread Jairo A. del Rio
I think it would nicely extend ConTeXt's drawing features... So, indeed it's a new primitive but (for now) only used with these lua > hacks. Actually it's no big deal to reimplement \thewithoutunit as > So, is this Lua-specific? \thewithoutunit{\dowithproperty1\the} > > an

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-23 Thread Hans Hagen
otros que  podáis,  elegid  entre  las dos  situaciones  a  voluntad; yo,  por  mi  parte, continuaré como he empezado. \stopalignment \startalignment[hanging,flushright,nothyphenated] \blank[0.8cm,force]{\tfa\sc  Geofrey Chaucer,\hspace[big]} \blank[0.1cm,force]{\tfa\em The Canterbury Tales \h

Re: [NTG-context] mathfun

2021-05-23 Thread Hans Hagen
come up with variants (like \drawme\sin ...) which then would adapt behaviour (via \dowithproperty2). So, indeed it's a new primitive but (for now) only used with these lua hacks. Actually it's no big deal to reimplement \thewithoutunit as \thewithoutunit{\dowithproperty1\the}

[NTG-context] Special layouts don't recognise placeinitial

2021-05-22 Thread Eduardo Bohoyo
dos  situaciones  a  voluntad; yo,  por  mi  parte, continuaré como he empezado. \stopalignment \startalignment[hanging,flushright,nothyphenated] \blank[0.8cm,force]{\tfa\sc  Geofrey Chaucer,\hspace[big]} \blank[0.1cm,force]{\tfa\em The Canterbury Tales \hspace[big]} \stopalignment \stopmakeup Ed

Re: [NTG-context] \switchtobodyfont issue

2021-05-22 Thread Pablo Rodriguez
On 5/22/21 1:10 PM, Wolfgang Schuster wrote: > [...] > You can't use x and a with \switchtobodyfont, only small and big are > possible. > > \starttext > a > \switchtobodyfont[small] > a > \switchtobodyfont[big] > a > \stoptext Many thanks for your fast

Re: [NTG-context] \switchtobodyfont issue

2021-05-22 Thread Wolfgang Schuster
x and a with \switchtobodyfont, only small and big are possible. \starttext a \switchtobodyfont[small] a \switchtobodyfont[big] a \stoptext Wolfgang ___ If your question is of interest to others as well, please a

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Henning Hraban Ramm
> Am 13.05.2021 um 20:26 schrieb Thomas A. Schmitz : > > On 5/13/21 8:02 PM, Henning Hraban Ramm wrote: >> Unfortunately, the deviation of edge points is too big – try my attached >> test file. >> Strangely, if I include the MP code in a ConTeXt document, > >

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Thomas A. Schmitz
On 5/13/21 8:02 PM, Henning Hraban Ramm wrote: Unfortunately, the deviation of edge points is too big – try my attached test file. Strangely, if I include the MP code in a ConTeXt document, I find the discussion interesting. Could you send complete documents, like Aditya did? When I try to

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Henning Hraban Ramm
rather than using the default randomized path (which randomizes the > points of a path), I split the path into 20 segments, and randomize each > segment. Thank you, that is what I was asking for! Unfortunately, the deviation of edge points is too big – try my attached test file. Strang

Re: [NTG-context] What is the ConTeXt way to handle this \vbox trick?

2021-05-09 Thread Hans Hagen
On 5/8/2021 10:05 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, Consider the following MWE (for a sequential multiple-choice exam), using some old and ugly TeX code: === \setupbodyfont[schola] \noheaderandfooterlines \setupwhitespace[big] \def\CHOICE#1#2{\leavevmode\vbox

[NTG-context] What is the ConTeXt way to handle this \vbox trick?

2021-05-08 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Consider the following MWE (for a sequential multiple-choice exam), using some old and ugly TeX code: === \setupbodyfont[schola] \noheaderandfooterlines \setupwhitespace[big] \def\CHOICE#1#2{\leavevmode\vbox{\tabskip=0pt\everycr={} \halign{\strut\hfil##\hfil

[NTG-context] Page building and vertical stretching

2021-04-22 Thread denis.maier
mehow? Best, Denis \setuppapersize[A5][A5] \showframe \setupblank[big,flexible] \setupinterlinespace[stretch=0.03] \setuptolerance[vertical,stretch] \setupalign[height] \setuphead [section,subject] [ before={\blank[2*big,fle

Re: [NTG-context] register for biblical citations

2021-04-16 Thread jbf
xt test ... \bibcit{Gen 3:6} test ... \bibcit{Gen 4:2-8} test ... \bibcit{Gen 39:6-20} test ... \bibcit{Gen 17:1} test ... \bibcit{Gen 18:27} test ... \bibcit{Gen 28:10-12} test ... \bibcit{Ex 20:12} test ... \bibcit{Lev 6:5-6} test ... \bibcit{Deut 6:5} test ... \bibcit{Lam 3:27} \blank[3*big] \placere

Re: [NTG-context] register for biblical citations

2021-04-16 Thread Hans Hagen
18:27} test ... \bibcit{Gen 28:10-12} test ... \bibcit{Ex 20:12} test ... \bibcit{Lev 6:5-6} test ... \bibcit{Deut 6:5} test ... \bibcit{Lam 3:27} \blank[3*big] \placeregister[bibcit] \stop

[NTG-context] injectors not working in LMTX?

2021-03-25 Thread Pablo Rodriguez
Hans, the following sample (from https://pragma-ade.com/general/manuals/workflows-mkiv.pdf#search=resort) doesn’t get right output with LMTX (current latest from 2021.03.25 14:04): \showinjector \setinjector[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext

[NTG-context] Summing up ligature prevention tests

2021-03-24 Thread denis.maier
will actually need: \startexceptions[de] au{f-}{l}{fl}(f\zwnj l)a-ge \stopexceptions IMO, the \blockligatures is the cleanest, both conceptually and syntax wise. Being able to implicitely disable derived forms is a big plus, but of course there may be drawbacks I don't see now. The only dow

<    1   2   3   4   5   6   7   8   9   10   >