Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Pablo Rodriguez via ntg-context
ode, perhaps with some \input and > something like a two-pass job. Hi Jeroen, not sure this might help you (I’m not sure you intend a single source file, in addition to a single PDF document), but here you have: \startbuffer[slides] \setuppapersize[CD] \setupbodyfont[60pt] \starttext

[NTG-context] LMTX: some alignment issues

2021-07-23 Thread Gerben Wierda
al. MVP source: %%% \definepapersize[smallpaperback][width=5in,height=8in] \setuppapersize[smallpaperback][smallpaperback] \setuplayout[location=doublesided] \setuppagenumbering[alternative=doublesided] \setupsectionblock[frontpart][page=no] \setupsectionblock[bodypart][page=no] \setupsectio

Re: [NTG-context] TikZ in buffers: My struggle with \definestartstop

2021-07-08 Thread Gavin
\marginTikZ command. Gavin \setuppapersize[letter] \setuplayout[ backspace=90pt, % Horizontal layout leftmargin=36pt, % 1/2 in leftmargindistance=9pt, % 3/8 in width=306pt, % 4 1/4 in rightmargindistance=27pt, % 3/8 in rightmargin=144pt, % 2 in ] \startbuffer[starttikz] \usemodule[tikz

[NTG-context] TikZ in buffers: My struggle with \definestartstop

2021-07-08 Thread Gavin
I can tell. ConTeXt version: 2021.07.06 18:49 Same results with MkIV and LMTX. Thanks! Gavin \setuppapersize[letter] \setuplayout[ backspace=90pt, % Horizontal layout leftmargin=36pt, % 1/2 in leftmargindistance=9pt, % 3/8 in width=306pt, % 4 1/4 in rightmargindistance=27pt, % 3/8 in rig

Re: [NTG-context] hyphenate nothyphenated

2021-06-29 Thread Hans Hagen
On 6/29/2021 12:06 PM, Steffen Wolfrum wrote: When running this mwe with luatex, the command \- could be used to manually break the line, even though it is set up nothyphenated. When running luametatex the word does not break: \setuppapersize[A10] \showframe \setuphead[chapter][align

[NTG-context] hyphenate nothyphenated

2021-06-29 Thread Steffen Wolfrum
When running this mwe with luatex, the command \- could be used to manually break the line, even though it is set up nothyphenated. When running luametatex the word does not break: \setuppapersize[A10] \showframe \setuphead[chapter][align={nothyphenated}] \starttext \chapter{abc\-def

Re: [NTG-context] LMTX, BIdi, full paragraph, and spurious empty line

2021-06-23 Thread Rik Kabel
od=unicode] \enabletrackers  [typesetters.directions] %\showmakeup  [glue,dir] \definepapersize [Testing] [width=6.69in] \setuppapersize  [Testing] \setuplayout [width=fit,   backspace=1.4in,   cu

Re: [NTG-context] LMTX, BIdi, full paragraph, and spurious empty line

2021-06-23 Thread Hans Hagen
e same installation./ %% Demonstration of spurious line insertion on full paragraph with bidi active \setupdirections  [bidi=on,method=unicode] \definepapersize  [Testing]   [width=6.69in] \setuppapersize   [Testing] \setuplayout  [wid

[NTG-context] splitting tables from csv with first row as header

2021-06-23 Thread Jan U. Hasecke
Hi all, I have this sample: \usemodule[database] \setuppapersize [A6] \setupTABLE [split=yes, header=repeat] \defineseparatedlist [test] [separator={;}, % tab before=\bTABLE,after=\eTABLE, first=\bTR,last=\eTR, left=\bTD,right=\eTD] \starttext \processdatabasefile[test

[NTG-context] LMTX, BIdi, full paragraph, and spurious empty line

2021-06-21 Thread Rik Kabel
ion of spurious line insertion on full paragraph with bidi active \setupdirections  [bidi=on,method=unicode] \definepapersize  [Testing]   [width=6.69in] \setuppapersize   [Testing] \setuplayout  [width=fit,    backspace

Re: [NTG-context] PDF forms not creating proper children

2021-06-09 Thread Leonard Janis Robert König
; nothing > > > to do with signatures. > > Here is a description: > https://www.adobe.com/content/dam/acom/en/devnet/pdf/PDF32000_2008.pdf#search=4.35 > (link should work with Firefox). Thanks a bunch! I wonder why PDF 2.0 still isn't uploaded there, but probably it'

Re: [NTG-context] PDF forms not creating proper children

2021-06-09 Thread Pablo Rodriguez
ry, objects is a very special term in PDF parlance. It has nothing >> to do with signatures. Here is a description: https://www.adobe.com/content/dam/acom/en/devnet/pdf/PDF32000_2008.pdf#search=4.35 (link should work with Firefox). But you might check yourself with the following sample: \set

Re: [NTG-context] issue with link (MkIV & LMTX)

2021-06-05 Thread Hans Hagen
On 6/5/2021 11:08 AM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setuppapersize[A10] \setupinteraction[state=start] \enabledirectives[references.border] \unexpanded\def\MyURL#1% {\bgroup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup} \starttext

[NTG-context] issue with link (MkIV & LMTX)

2021-06-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A10] \setupinteraction[state=start] \enabledirectives[references.border] \unexpanded\def\MyURL#1% {\bgroup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup} \starttext \startTEXpage[offset=1ex] \startitemize \item \MyURL

[NTG-context] Understanding penalties for orphans and widows

2021-06-01 Thread denis.maier
lmost full.). Is my interpretation correct? Denis \setuppapersize[A6] \setuplayout[lines=20] \setupalign[line] \showframe \startsetups[penalties1] \setdefaultpenalties \setpenalties\widowpenalties{1}{1} \stopsetups \startsetups[penalties2] \setdefaultpenalties \setpena

[NTG-context] wrong link rectagle in LMTX

2021-05-28 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A9] \setupinteraction[state=start] \enabledirectives[references.border] \unexpanded\def\MyURL#1% {\bgroup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup} \starttext \startitemize \dorecurse{2}{\item \MyURL{a.b\\/c.d

Re: [NTG-context] \setupbackend[space=yes] and hz

2021-05-22 Thread Hans Hagen
On 5/22/2021 11:28 AM, Pablo Rodriguez wrote: Hi Hans, I have the following sample: \definefontfeature [default] [default] [expansion=quality] \setupalign [hz] \setuppapersize[A6] \setupbodyfont[pagella] \setupbackend [space=yes] \starttext \input

[NTG-context] \setupbackend[space=yes] and hz

2021-05-22 Thread Pablo Rodriguez
Hi Hans, I have the following sample: \definefontfeature [default] [default] [expansion=quality] \setupalign [hz] \setuppapersize[A6] \setupbodyfont[pagella] \setupbackend [space=yes] \starttext \input zapf \stoptext Using SumatraPDF-3.1.2 and current latest

Re: [NTG-context] \setscript[hanzi] seems broken.

2021-05-20 Thread 李延瑞
com/adobe-fonts/source-han-serif/raw/release/OTF/SourceHanSerifSC_EL-M.zip > \definefontfamily[myfont][serif][sourcehanserifcn] > \setscript[hanzi] > \setupbodyfont[myfont,11pt] > \setuppapersize[A6][A6] > \starttext > 北冥有鱼,其名为鲲。鲲之大,不知其几千里也;化而为鸟,其名为鹏。鹏之背,不知其几千里也;怒而飞,其翼若垂天之云。是鸟也,海运则将徙于

[NTG-context] \setscript[hanzi] seems broken.

2021-05-20 Thread Li Yanrui
[myfont][serif][sourcehanserifcn] \setscript[hanzi] \setupbodyfont[myfont,11pt] \setuppapersize[A6][A6] \starttext 北冥有鱼,其名为鲲。鲲之大,不知其几千里也;化而为鸟,其名为鹏。鹏之背,不知其几千里也;怒而飞,其翼若垂天之云。是鸟也,海运则将徙于南冥。南冥者,天池也。 \stoptext ``` The command `context` gives the following output: Overfull \hbox (633.72849pt too wide) in

Re: [NTG-context] underscore hyphenation not working

2021-05-10 Thread Pablo Rodriguez
On 5/10/21 9:36 AM, Hans Hagen wrote: > [...] > but at the cost of runtime you can try \setupbackend [space=yes] It works perfectly fine, but not with font expansion: \definefontfeature [default] [default] [expansion=quality] \setupalign [hz] \setuppapers

Re: [NTG-context] underscore hyphenation not working

2021-05-09 Thread Pablo Rodriguez
On 5/9/21 7:46 PM, Hans Hagen wrote: > [...] > you can also retest the advance It works fine now. A minor issue happens with SumatraPDF-3.1.2 (aside from font advance): \setuppapersize[A6] \definefontfamily[mainface][rm] [TeX Gyre Pagella] \setupbodyfont[mainface] \sta

Re: [NTG-context] weird word breaking in Win64

2021-05-08 Thread denis.maier
8. Mai 2021 13:33 > An: mailing list for ConTeXt users > Betreff: [NTG-context] weird word breaking in Win64 > > Dear list, > > the following sample breaks some words not right in Win64 (I cannot > reproduce it in Linux): > > \enabledirectives[fonts.

[NTG-context] weird word breaking in Win64

2021-05-08 Thread Pablo Rodriguez
Dear list, the following sample breaks some words not right in Win64 (I cannot reproduce it in Linux): \enabledirectives[fonts.injections.method=advance] \setuppapersize[A6] \definefontfamily[mainface][rm] [TeX Gyre Pagella] \setupbodyfont[mainface] \starttext \input zapf

[NTG-context] A Bug in lmt_shade

2021-05-06 Thread Keith McKay
Hi all, I think a bug has appeared in lmt_shade in the latest upload. MWE below. Thanks Keith McKay %% \setuppapersize[A4,landscape][A4,landscape] \starttext \startMPpage StartPage; width := PaperWidth ; height := PaperHeight ; unit := cm ; definecolor [ name

[NTG-context] setupalign[line]/setupalign[height] break \testpage

2021-05-06 Thread denis.maier
thing? ==== \setuppapersize[A5][A5] % Activate this and \testpage stops working %\setupalign[height] %\setuptolerance[vertical,stretch] %\setupinterlinespace[ % stretch=0.001, % shrink=0.001, % ] % \showframe \starttext \section{Section} \input knuth\par \input knuth\par \input

[NTG-context] conditionally add \vfill before section if at end of page

2021-05-04 Thread denis.maier
Hi, I'm still playing/struggling with vertical glue to have pages of a constant height. The following settings give reasonable results: ===== \setuppapersize[A5][A5] \setupalign[line] \setuptolerance[vertical,stretch] \setupinterlinespace[ stretch=

Re: [NTG-context] calculating optimal height of textblock

2021-04-29 Thread denis.maier
One thing, I've noticed: Lines=40 seems to add more space than strictly necessary. Why is that? Example: === \setupbodyfont[10pt] \definepapersize[test][width=140mm,height=208mm] \setuppapersize[test][test] \setuppagenumbering[location={footer,middle}] \setuplayout[

[NTG-context] calculating optimal height of textblock

2021-04-28 Thread denis.maier
Hi, how do you usually calcultate your layouts? For example in this example, the third value for height is not really helpful as there will never be a complete line : = \setupbodyfont[10pt] \definepapersize[test][width=140mm,height=208mm] \setuppapersize[test][test

Re: [NTG-context] \setupalign[height] and \setupalign[line] in LMTX

2021-04-28 Thread denis.maier
Ok, after dabbling around a bit more, I can now come up with the following example \setuppapersize[A5][A5] \showframe \setuptolerance[vertical,stretch] %\setupalign[line] %\setupinterlinespace[stretch=0.1] % vertical stretching seems to kick in for

Re: [NTG-context] clubs and widows in columns

2021-04-27 Thread Jano Kula
Hello Massi, On Mon, Apr 26, 2021 at 11:29 AM mf wrote: > Il 25/04/21 22:19, Jano Kula ha scritto: > > Dear list, > > > > is there a way to avoid clubs and widows in columns? I don't know, how > > it would be implemented, if the task is splitting typeset vertic

Re: [NTG-context] \setupalign[height] and \setupalign[line] in LMTX

2021-04-26 Thread denis.maier
tupalign[height] and \setupalign[line] in LMTX Hi, \setupalign[height] and \setupalign[line] seem to have no effect in a LMTX. Do I need to change something? Best, Denis ``` \setuppapersize[A5][A5] \showframe %\setupalign[line] \setupalign[height] \setupdeli

Re: [NTG-context] clubs and widows in columns

2021-04-26 Thread mf
Il 25/04/21 22:19, Jano Kula ha scritto: Dear list, is there a way to avoid clubs and widows in columns? I don't know, how it would be implemented, if the task is splitting typeset vertical list. \setuppapersize[A7] \starttext \startcolumns[separator=rule,               align={

[NTG-context] clubs and widows in columns

2021-04-25 Thread Jano Kula
Dear list, is there a way to avoid clubs and widows in columns? I don't know, how it would be implemented, if the task is splitting typeset vertical list. \setuppapersize[A7] \starttext \startcolumns[separator=rule, align={right,nothyphenated}] \dorecurse{12}{→ one two three

[NTG-context] setupalign[height] vs setupalign[line] in MKIV

2021-04-23 Thread denis.maier
no effect at all under LMTX. Best, Denis \setuppapersize[A5][A5] \showframe \setupdelimitedtext[blockquote] [before={\switchtobodyfont[small]}, spacebefore={mediu

[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

[NTG-context] \setupalign[height] and \setupalign[line] in LMTX

2021-04-22 Thread denis.maier
Hi, \setupalign[height] and \setupalign[line] seem to have no effect in a LMTX. Do I need to change something? Best, Denis ``` \setuppapersize[A5][A5] \showframe %\setupalign[line] \setupalign[height] \setupdelimitedtext[blockquote

[NTG-context] Grid typesetting, blockquotes in smaller font across pagebreaks

2021-03-25 Thread denis.maier
Hi, I'm playing around with grid typesetting. Consider the following example: -- \setuppapersize[A5][A5] \setupbodyfont[10pt] \setuplayout[grid=yes] \showgrid \setupdelimitedtext[block

Re: [NTG-context] lmt_followtext and cycle

2021-03-19 Thread Hans Hagen
17 17:46 requires two scalings, in path and in lmt_followtext: \showframe \setuppapersize[A6, landscape] \starttext \startMPcode{doublefun} path p; p := (0,0)..(3,3.5)..(9,-3.5).. (12,0)..(9,3.5)..(3,-3.5)..cycle; draw lmt_followtext [ text = "\dorecurse{9}{· Just r

Re: [NTG-context] lmt_followtext and cycle

2021-03-19 Thread Pablo Rodriguez
ings, in path and in lmt_followtext: \showframe \setuppapersize[A6, landscape] \starttext \startMPcode{doublefun} path p; p := (0,0)..(3,3.5)..(9,-3.5).. (12,0)..(9,3.5)..(3,-3.5)..cycle; draw lmt_followtext [ text = "\dorecurse{9}{· Just random text }", path = p xsiz

[NTG-context] Bug in lmt_shade[...=...,...=...]

2021-03-16 Thread Keith McKay
Hi All  I think a bug has appeared quite recently in the command, lmt_shade. A MWE below followed by the error output. Best Wishes Keith McKay \setuppapersize[A4,landscape][A4,landscape] \starttext \startMPpage StartPage; width := PaperWidth ; height := PaperHeight ; unit := cm

[NTG-context] Multiple Layouts

2021-03-13 Thread Jeroen
][default] \definetypeface [mainface][tt][mono][dejavu][default] \definetypeface [mainface][mm][math][pagellaovereuler][default] \setupbodyfont [mainface,11.5pt] \setuppapersize [A4, portrait] \setuplayout [backspace=19mm, width=176mm, topspace=7mm, header=10mm, headerdistance

[NTG-context] (no subject)

2021-03-13 Thread Jeroen
][default] \definetypeface [mainface][tt][mono][dejavu][default] \definetypeface [mainface][mm][math][pagellaovereuler][default] \setupbodyfont [mainface,11.5pt] \setuppapersize [A4, portrait] \setuplayout [backspace=19mm, width=176mm, topspace=7mm, header=10mm, headerdistance

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-23 Thread Hans Hagen
On 2/23/2021 11:55 AM, Thomas A. Schmitz wrote: On 20.02.21 17:12, Hans Hagen wrote: hm, but it still makes sense to know if something fails .. keep en eye on it I just stumbled upon the same error. Arranging is broken in lmtx. MWE: \setuppapersize[A6][A4] \setuparranging[2*4] \starttext

[NTG-context] Possible problem with context using the ARM 64bit download for Apple Silicon M1

2021-02-23 Thread Keith McKay
64bit tree but not in the manual in the X86 64bits tree. Best Wishes Keith McKay Hamilton, Scotland. % \setuppapersize [A4, portrait] \usecolors[crayola] \starttext \startMPpage StartPage; width := PaperWidth ; height := PaperHeight ; unit := cm ; definecolor

Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Otared Kavian
Sorry, I didn't send the correct example… \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline}\dontleavehmode\hairline \startformula \margintext{

Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Otared Kavian
Hi Uschi, You may add \dontleavehmode at the right place as in the following: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-23 Thread Thomas A. Schmitz
On 20.02.21 17:12, Hans Hagen wrote: hm, but it still makes sense to know if something fails .. keep en eye on it I just stumbled upon the same error. Arranging is broken in lmtx. MWE: \setuppapersize[A6][A4] \setuparranging[2*4] \starttext \dorecurse{8}{Test: \recurselevel \page

Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Ursula Hermann
Dear Pablo! I have done some changes. How can I get both hairlines in the same height: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me

Re: [NTG-context] \blackrule and margin

2021-02-22 Thread Ursula Hermann
] \blackrule and margin On 2/19/21 4:02 PM, Ursula Hermann wrote: > Dear List, > i have the little following example: > > \setuppapersize[A8,landscape] > \setuplayout[leftmargin=2.5cm, > leftmargindistance=0.2cm, > backspace=2.9cm, >

Re: [NTG-context] \blackrule and margin

2021-02-19 Thread Hans Hagen
On 2/19/2021 4:02 PM, Ursula Hermann wrote: Dear List, i have the little following example: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm,              leftmargindistance=0.2cm,              backspace=2.9cm,              width=4cm] \showframe \starttext \blackrule \margintext

Re: [NTG-context] \blackrule and margin

2021-02-19 Thread Pablo Rodriguez
On 2/19/21 4:02 PM, Ursula Hermann wrote: > Dear List,  > i have the little following example:  > > \setuppapersize[A8,landscape] > \setuplayout[leftmargin=2.5cm, >              leftmargindistance=0.2cm, >              backspace=2.9cm, >              width=4cm] &

[NTG-context] \blackrule and margin

2021-02-19 Thread Ursula Hermann
Dear List, i have the little following example: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \blackrule \margintext{Me} \blackrule[color=black, height=0.5ex, width

Re: [NTG-context] temporary changes to the layout - \startlocal undefined

2021-02-16 Thread Werner Hennrich
rsion "\startlocal ... \stoplocal" is the way to go - unfortunately my LMTX (2021.02.02 15:49) disagrees: \setuppapersize[A4][A4] \setuplayout[ ... header=15mm, ... ] \starttext \input tufte \page \startlocal \setuplayo

Re: [NTG-context] temporary changes to the layout - \startlocal undefined

2021-02-16 Thread Wolfgang Schuster
Werner Hennrich schrieb am 16.02.2021 um 16:29: Hello Everybody, I need to increase my header's space temporarily and according to pg 99 of context_an_excursion "\startlocal ... \stoplocal" is the way to go - unfortunately my LMTX (2021.02.02 15:49) disagrees:     \setupp

[NTG-context] temporary changes to the layout - \startlocal undefined

2021-02-16 Thread Werner Hennrich
Hello Everybody, I need to increase my header's space temporarily and according to pg 99 of context_an_excursion "\startlocal ... \stoplocal" is the way to go - unfortunately my LMTX (2021.02.02 15:49) disagrees:     \setuppapersize[A4][A4]     \setuplayout[     ...

[NTG-context] issue printing with Acrobat?

2021-02-12 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A4, landscape] \setupinteractionscreen[option={landscape, paper}] \starttext \dorecurse{2} {\startmakeup[page][pagestate=start, align=middle] \dontleavehmode \scale[width=.8\textwidth]{middle} \stopmakeup} \stoptext

[NTG-context] Table of Content

2021-02-11 Thread Ursula Hermann
Dear List! I did this example, which works perfect. If i would like to take a new page after the Table of Content, is \page the right way? % mode=mkiv \setuppapersize[A7][A7] \language[de] %list the "subject" sections in the ToC but don't modify the "section" co

[NTG-context] About baseline alignment in metapost

2021-01-28 Thread Stefan Nedeljkovic
Dear list, Consider the following example: \definepapersize [custom] [width=20cm, height=15cm] \setuppapersize [custom] \setuplayout [ width=fit, rightmargin=0cm, leftmargin=0cm, leftmargindistance=0pt, rightmargindistance=0pt, height=fit, header=0pt, footer=0pt

Re: [NTG-context] Problem with show command in MetaFun

2021-01-07 Thread Keith McKay
e Texworks), however this does not seem to be happening. I haven't used "show" in MetaFun for a while, am I implementing it correctly? Best Wishes Keith McKay MWE % \setuppapersize[A4, portrait] \starttext \startMPpage StartPage; width := PaperWidth ; height :=

Re: [NTG-context] Problem with show command in MetaFun

2021-01-07 Thread Hans Hagen
correctly? Best Wishes Keith McKay MWE % \setuppapersize[A4, portrait] \starttext \startMPpage StartPage; width := PaperWidth ; height := PaperHeight ; unit := cm ; numeric p; p := 0; for q = 0 step 1 until 10: show p; p := p + 1; fill fullcircle xyscaled(3cm,4cm) shift

[NTG-context] Problem with show command in MetaFun

2021-01-07 Thread Keith McKay
Keith McKay MWE % \setuppapersize[A4, portrait] \starttext \startMPpage StartPage; width := PaperWidth ; height := PaperHeight ; unit := cm ; numeric p; p := 0; for q = 0 step 1 until 10: show p; p := p + 1; fill fullcircle xyscaled(3cm,4cm) shifted ((p +2)*cm, (p + 2)*cm) withcolor

Re: [NTG-context] MetaFun - "remove the paths of text" from a rectangle to let the background visible

2020-12-23 Thread Hans Hagen
=1pt] \startcolor[white] \starteffect[MyOutline] \input jojomayer \stopeffect \stopcolor \stopmakeup \stoptext %-- \setuppapersize  [A4] %

Re: [NTG-context] MetaFun - "remove the paths of text" from a rectangle to let the background visible

2020-12-23 Thread Otared Kavian
- to have something like "draw followtext" in mp-blob.mpiv ? > > > > %------ > > \setuppapersize [A4] > > %-- > > \def\MyFo

Re: [NTG-context] MetaFun - "remove the paths of text" from a rectangle to let the background visible

2020-12-23 Thread Garulfo
uot; in mp-blob.mpiv ? %------ \setuppapersize [A4] %-- \def\MyFont{\definedfont[name:% texgyrepagellabold% %exo2black% %agaramondprobold% *default at 55pt]} %-

[NTG-context] links in LMTX

2020-12-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A9] \setupinteraction[state=start] \enabledirectives[references.border] \unexpanded\def\MyURL#1% {\bgroup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup} \starttext \startitemize \dorecurse{2}{\item \MyURL{a.b\\/c.d

Re: [NTG-context] issue with link and margin in LMTX

2020-12-12 Thread Otared Kavian
Hi Pablo, I don't know which kind of problems you are having with your example, but it seems to me that I get the same result with mkiv and LMTX. Best regards: Otared > On 11 Dec 2020, at 19:00, Pablo Rodriguez wrote: > > Dear list, > > I have the following sample: >

[NTG-context] issue with link and margin in LMTX

2020-12-11 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A9] \setupinteraction[state=start] \enabledirectives[references.border] \unexpanded\def\MyURL#1% {\bgroup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup} \starttext \startitemize \dorecurse{2}{\item \MyURL{a.b\\/c.d

Re: [NTG-context] How can I make "natural table" be exactly as wide as the textwidth?

2020-12-08 Thread T. Kurt Bond
ation={footer,middle}] \setupwhitespace[quarterline] \setupbodyfont[pagella,9pt] \definepapersize[digest][width=5.5in,height=8.5in] \setuppapersize[digest] \starttext \startplacetable[location=force,title={Stun Levels}] \definecolor[back-3][r=.8,g=.8,b=.8] \setupTABLE[background=color,frame=off,frame

Re: [NTG-context] new lmtx

2020-11-27 Thread Pablo Rodriguez
On 11/27/20 8:26 PM, Hans Hagen wrote: > Hi, > > A new upload ... a few lua files cleaned up (stale code removed and so) > ... hopefully for the best. Many thanks for the new upload, Hans. A new glitch (present in the previous version too) in PDF links: \setup

Re: [NTG-context] Units of xpart and ypart of a pair in MetaFun

2020-11-26 Thread Keith McKay
t of x and ypart in the same units? The MWE belows shows what I have been doing. Thanks Keith McKay %%% MWE %%% \setuppapersize [A5, landscape][A4, portrait] \usecolors[crayola] \starttext \startMPpage StartPage; width := PaperWidth ; height := PaperHeight ; unit := cm ; numeric squig; pair a[

Re: [NTG-context] Units of xpart and ypart of a pair in MetaFun

2020-11-26 Thread Keith McKay
there some magic within MetaFun which takes account of the units in a pair and outputs the result of x and ypart in the same units? The MWE belows shows what I have been doing. Thanks Keith McKay %%% MWE %%% \setuppapersize [A5, landscape][A4, portrait] \usecolors[crayola] \startte

Re: [NTG-context] Units of xpart and ypart of a pair in MetaFun

2020-11-26 Thread Fabrice L
factor. I had made >>> the assumption that since the x and ypart in the pair was in cm that the >>> result would be in cm, but I see now that this is not the case. Will I have >>> to continue doing this or is there some magic within MetaFun which takes >>&

Re: [NTG-context] Units of xpart and ypart of a pair in MetaFun

2020-11-26 Thread Hans Hagen
ld be in cm, but I see now that this is not the case. Will I have to continue doing this or is there some magic within MetaFun which takes account of the units in a pair and outputs the result of x and ypart in the same units? The MWE belows shows what I have been doing. Thanks Keith McKay

Re: [NTG-context] Units of xpart and ypart of a pair in MetaFun

2020-11-26 Thread Keith McKay
se. Will I have to continue doing this or is there some magic within MetaFun which takes account of the units in a pair and outputs the result of x and ypart in the same units? The MWE belows shows what I have been doing. Thanks Keith McKay %%% MWE %%% \setuppapersize [A5, landscape][A4, p

Re: [NTG-context] question about frames

2020-11-26 Thread Wolfgang Schuster
: \definepapersize [etikett] [width=5cm, height=2cm] \setuppapersize [etikett] [A4] \setuplayout [page] \setuppaper [nx=4, ny=14] \setuppaper [dx=1sp, dy=1sp, backspace=5mm, topspace=10mm] \setuparranging [XY] \setuplayout [location=middle] \starttext \dorecurse{56

Re: [NTG-context] Units of xpart and ypart of a pair in MetaFun

2020-11-26 Thread Hans Hagen
puts the result of x and ypart in the same units? The MWE belows shows what I have been doing. cm is not really a unit but a multiplier cf := 72/2.54; %Converts points/in to points/cm% message(cm); message(cf); Thanks Keith McKay %%% MWE %%% \setuppapersize [A5, landscape][A4, portrait] \u

Re: [NTG-context] Units of xpart and ypart of a pair in MetaFun

2020-11-26 Thread Fabrice L
> continue doing this or is there some magic within MetaFun which takes account > of the units in a pair and outputs the result of x and ypart in the same > units? > > The MWE belows shows what I have been doing. > > Thanks > > Keith McKay > > %%% MWE %%%

[NTG-context] Units of xpart and ypart of a pair in MetaFun

2020-11-26 Thread Keith McKay
s? The MWE belows shows what I have been doing. Thanks Keith McKay %%% MWE %%% \setuppapersize [A5, landscape][A4, portrait] \usecolors[crayola] \starttext \startMPpage StartPage; width := PaperWidth ; height := PaperHeight ; unit := cm ; numeric squig; pair a[]; a0 = (2cm,11cm); a1 = (

Re: [NTG-context] Index formatting difference LMTX and MkIV redux

2020-11-17 Thread Rik Kabel
different results with both engines. This ConTeXt input: \definepapersize [pinched crown quarto] [width=6.69in,   height=9.61in] \setuppapersize  [pinched crown quarto] \setuplayout [width=fit,   backspace=1.4in

[NTG-context] messages on undefined control sequences

2020-11-06 Thread Pablo Rodriguez
**de,**de-de,**de-at,**de-ch] {\hiddentitle {[Bildtitelseite]}}\stopmodeset }\doifdefined {hiddentitle}{\CoverPageTitle } \setupbodyfont [svb]{\scale [width=.35\textwidth ]{\sc \getvariable {coverpage}{author}}}\vfill \scale [width=\textwidth]... \setuppapersize[A6] Would it be poss

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
ntended (no balancing, full left column). What’s wrong? Can I influence this e.g. with penalties? (Screenshots were too big...) Hraban \setuppapersize[A6] \setupbodyfont[16pt] \setupregister[index][balance=no,indicator=no] \showframe \starttext %\setinjector[index][10][{\column}] %\showin

Re: [NTG-context] How to really set the paper margin?

2020-11-04 Thread Duncan Hothersall
e results in a pdf that has a wide margin on both > sides despite the \setuplayout : > > \showframe > \setuppapersize[A4][A4] > \setuplayout[margin=0cm, edge=0cm, margindistance=0cm, > edgedistance=0cm] > \starttext > hello world > \stoptext > &

Re: [NTG-context] How to really set the paper margin?

2020-11-04 Thread Sylvain Hubert
Never mind, there's a 'backspace=0cm' to be set. On Wed, 4 Nov 2020 at 16:47, Sylvain Hubert wrote: > Dear List, > > The following example results in a pdf that has a wide margin on both > sides despite the \setuplayout : > > \showframe > \setup

[NTG-context] How to really set the paper margin?

2020-11-04 Thread Sylvain Hubert
Dear List, The following example results in a pdf that has a wide margin on both sides despite the \setuplayout : \showframe \setuppapersize[A4][A4] \setuplayout[margin=0cm, edge=0cm, margindistance=0cm, edgedistance=0cm] \starttext hello world \stoptext Does anyone know

Re: [NTG-context] Concerning text backgrounds (and further tuning) in references

2020-10-24 Thread Jairo A. del Rio
te=start] \definetextbackground[MyUrl] [ > > location=text, background=color,backgroundcolor=yellow, frame=off, > > ]\def\myfootnote#1{\MyUrl{\high{#1}}} > > \setupfootnotes[textcommand=\myfootnote] > > \definepapersize[default][A8,portrait] \setuppapersize [default] > > \useU

Re: [NTG-context] Concerning text backgrounds (and further tuning) in references

2020-10-24 Thread Wolfgang Schuster
state=start] \definetextbackground[MyUrl] [ location=text, background=color,backgroundcolor=yellow, frame=off, ]\def\myfootnote#1{\MyUrl{\high{#1}}} \setupfootnotes[textcommand=\myfootnote] \definepapersize[default][A8,portrait] \setuppapersize [default] \useURL[aurl] [https://wiki.contextgarde

[NTG-context] Concerning text backgrounds (and further tuning) in references

2020-10-23 Thread Jairo A. del Rio
=text, background=color, backgroundcolor=yellow, frame=off, ]\def\myfootnote#1{\MyUrl{\high{#1}}} \setupfootnotes[textcommand=\myfootnote] \definepapersize[default][A8,portrait]\setuppapersize [default]\useURL[aurl] [https://wiki.contextgarden.net] [] [\MyUrl{ConTeXt Garden}]\starttext Testing links to same

[NTG-context] Index formatting difference LMTX and MkIV redux

2020-10-21 Thread Rik Kabel
notice that the problem is very sensitive to the width settings, and slight variations in width create different results with both engines. This ConTeXt input: \definepapersize [pinched crown quarto] [width=6.69in,   height=9.61in] \setuppapersize

[NTG-context] Keep postponed footnotes on page where called

2020-10-07 Thread Denis Maier
e no difference.) ``` \setuppapersize[A6][A6] \starttext \startpostponingnotes \bTABLE[split=yes] \dorecurse{20}{ \bTR \bTD a\footnote{A footnote} \eTD \eTR } \eTABLE \stoppostponingnotes \stoptext ``` Is there anything else I can try? Or is that simply not possible? The problem is that I have a table whe

[NTG-context] Protusion and spurios empty line

2020-10-01 Thread Denis Maier
amily[mainface][rm][Cardo] \setupbodyfont[mainface,11pt] \setuppapersize[A4][A4] \setuplayout[ backspace=35mm, width=140mm, topspace=35mm, header=0mm, height=240mm, ] \setuphead [chapter][ alternative=left, page=no, indentnext=no, style=n

Re: [NTG-context] Full page image and caption in another page?

2020-09-23 Thread Taco Hoekwater
> \definepapersize[default][A4, portrait] > \definelayout[default][topspace=0.6cm, topdistance=0cm, header=1cm, > headerdistance=0cm, > height=27.3cm, footer=0cm, >backspace=4.2

[NTG-context] Full page image and caption in another page?

2020-09-22 Thread José de Mattos Neto
height=27.3cm, footer=0cm, backspace=4.2cm, width=13.6cm] \setuppapersize[default] \setuplayout[default] \setuppagenumbering[alternative=doublesided, location={header}] \setupexternalfigures[location={default}] \definepapersize[rotate][A4, lan

[NTG-context] columns yet again

2020-09-13 Thread Thomas A. Schmitz
ng; two column layout starts in the middle of pages. What I tried so far: 1. \defineparagraphs allows to have two paragraphs of unequal width, but the line numbering isn't visible: \setuppapersize[A4,landscape][A4,landscape] \setuplayout[grid=yes] \definelinenumbering [origin

[NTG-context] Wrong page number when placefigure spans full page in columnset

2020-09-09 Thread Charles Vejnar
1, 2, 2, 4, 5. If I reduce the height of the figure (from 15 to 12cm for example), then some main text gets added on the page and page number (3) becomes correct. Is that a bug or am I doing something wrong? Thanks for your help. Charles \setuppapersize[letter][letter] \setuplayout[heigh

[NTG-context] wrong 2TOPSIDE?

2020-08-27 Thread Pablo Rodriguez
Dear list, I have the following sample: \startmode[*first] \startbuffer[abcde] \setuppapersize[A5, landscape] \setupbodyfont[100pt] \starttext \dorecurse{158}{% \startmakeup[page][style=\bf\ss, align=center, pagestatus=start

Re: [NTG-context] setuplayout vs Indesign!

2020-08-27 Thread Henning Hraban Ramm
> Am 26.08.2020 um 12:13 schrieb jbf : > > Thank you. Let's see if the Quality Control person is convinced by what she > gets with the suggested measurements. > > I usually set things up 'as if' they would be on A4, in this case, > \setuppapersize[ACN][A

Re: [NTG-context] setuplayout vs Indesign!

2020-08-26 Thread jbf
Thank you. Let's see if the Quality Control person is convinced by what she gets with the suggested measurements. I usually set things up 'as if' they would be on A4, in this case, \setuppapersize[ACN][A4] (ACN being the name I give to the 140x216mm book in question). And yes

Re: [NTG-context] Missing graphic in MPpage when viewing in Apple MAC Preview or GIMP 2.10 but not Adobe

2020-08-16 Thread Keith McKay
Here is the code. Thanks Keith %% system > system > ConTeXt ver: 2020.07.29 18:36 LMTX fmt: 2020.7.29 int: english/english system > %%% \setuppapersize [A5, portrait] \usecolors[crayola] \starttext \startMPp

Re: [NTG-context] Missing graphic in MPpage when viewing in Apple MAC Preview or GIMP 2.10 but not Adobe

2020-08-15 Thread Taco Hoekwater
a way round this? Here is the code. > > Thanks > > Keith > > %% > system > > > system > ConTeXt ver: 2020.07.29 18:36 LMTX fmt: 2020.7.29 int: > english/english > system > > > %%% > > > \setupp

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