[NTG-context] Using \currentreferencenumber triggers “has a hidden number” in log file

2019-07-18 Thread Marco Patzer
Hi, I use \enabletrackers [structures.referencing.empty] to catch references by number to sections without a number. The log file contains “has a hidden number…” in that case. I have a command that uses \currentreferencenumber which triggers the “has a hidden number…” warning in the log

Re: [NTG-context] Spacing after combination

2019-07-16 Thread Marco Patzer
On Tue, 16 Jul 2019 21:09:15 +0200 Wolfgang Schuster wrote: > A alternative to using floats is to put the combination in a > linecorrection environment, i.e. > > \startlinecorrection >   \startcombination [2*2] >   ... >   \stopcombination > \stoplinecorrection > > or > >

[NTG-context] Spacing after combination

2019-07-16 Thread Marco Patzer
Hi! Is there a way to influence the spacing after a combination is placed? \useMPlibrary [dum] \starttext \startcombination [2*2] \startcontent \externalfigure \stopcontent \startcaption Foo\stopcaption \startcontent \externalfigure \stopcontent \startcaption Bar\stopcaption

Re: [NTG-context] Distance between two Columns

2019-02-28 Thread Marco Patzer
On Thu, 28 Feb 2019 10:43:48 + Ursula Hermann wrote: > I have the following example. I would like to have two columns that > are in the distance small. I'm not sure if I understand you correctly. You want to change the distance between the columns? That can be done with: \setupcolumns

Re: [NTG-context] Frame

2019-02-21 Thread Marco Patzer
On Thu, 21 Feb 2019 18:24:29 +0100 Wolfgang Schuster wrote: > > \startprettyblock > >\noindentation > > You don’t need \noindentation when you add “next” to the indenting > options. That's even better (meaning cleaner source). I didn't know that option. Marco

Re: [NTG-context] Pretty printer for matlab

2019-02-21 Thread Marco Patzer
On Thu, 21 Feb 2019 15:10:27 +0100 Otared Kavian wrote: > Thanks for pointing to that module, which I didn't know because I > never use vim… I just tested it and seems fine, but I would need to > modify some of the keywords of Matlab in order to adapt them to > Scilab. However I didn't find

Re: [NTG-context] Pretty printer for matlab

2019-02-21 Thread Marco Patzer
On Thu, 21 Feb 2019 14:25:03 +0100 Otared Kavian wrote: > Is there a pretty printer file to typeset Matlab codes? How about Aditya's vim module? It supports Matlab: \usemodule [vim] \definevimtyping [matlab] [syntax=matlab] \starttext \startmatlab … \stopmatlab \stoptext Marco

Re: [NTG-context] Frame

2019-02-21 Thread Marco Patzer
On Thu, 21 Feb 2019 10:50:21 + Ursula Hermann wrote: > Here is my example: > > \setuppapersize[A5] > \setupcolors[state=start] This is the default, no need to start the colours any longer. > {\framed >[width=10cm, >background=color,backgroundcolor=darkblue, >

Re: [NTG-context] Frame

2019-02-19 Thread Marco Patzer
On Tue, 19 Feb 2019 13:01:35 + Ursula Hermann wrote: > I have: > \framed > [height=3em, >width=.5\textwidth, >foregroundcolor=red, >framecolor=blue, >rulethickness=2pt, >background=color, >backgroundcolor=green] > \starttext > {Ich bin da.\par Du auch} > \stoptext

Re: [NTG-context] Frame with Color

2019-02-18 Thread Marco Patzer
On Mon, 18 Feb 2019 12:26:45 + Ursula Hermann wrote: > \framed > [background=color,backgroundcolor=red, >foreground=color,foregroundcolor=white foreground=color,foregroundcolor=white, > frame=off] > {\bf Wichtig} Marco

Re: [NTG-context] degrade module

2019-02-18 Thread Marco Patzer
On Sun, 17 Feb 2019 12:14:14 +0100 Peter Münster wrote: > On Fri, Feb 15 2019, Marco Patzer wrote: > > > - It's 99% Peter's code, he's the maintainer of the module and > > probably he should just fix his code. > > Done. > > > > - My modification con

Re: [NTG-context] degrade module

2019-02-15 Thread Marco Patzer
On Fri, 15 Feb 2019 11:48:51 +0100 Lutz Haseloff wrote: > Your Module with wrapper finally works for me as expected. Great to hear it's finally working. > Will it find its way into the distribution as an enhanced degrade > module? Probably not, for the following reasons: - It's 99% Peter's

Re: [NTG-context] degrade module

2019-02-15 Thread Marco Patzer
On Fri, 15 Feb 2019 10:22:48 +0100 Lutz Haseloff wrote: > but both scripts trow the same error on windows and linux-armhf: > > grph-downsample.lua:32: bad argument #2 to 'format' (number has no > integer representation) It works here on linux-armhf. No Lua error. Maybe the file got mangled

Re: [NTG-context] degrade module

2019-02-14 Thread Marco Patzer
On Fri, 15 Feb 2019 07:56:31 +0100 Lutz Haseloff wrote: > First i tried the grph-downsample.lua script. > Unfortunately i get an error message > grph-downsample.lua:31: bad argument #2 to 'format' (number has no > integer representation) See attached log file. I remember that error. The script

Re: [NTG-context] degrade module

2019-02-14 Thread Marco Patzer
On Thu, 14 Feb 2019 20:49:43 +0100 Lutz Haseloff wrote: > I wanted to use the degrade module with recent ConTeXt and LuaTeX. > The minimal example from the degrade manual gives an error. > See the attached log. > Is there any chance to get the module working again? I never used the degrade

Re: [NTG-context] State of the reference manual contextref.pdf

2019-02-11 Thread Marco Patzer
On Mon, 11 Feb 2019 09:11:53 +0100 Taco Hoekwater wrote: > Hi, > > > On 11 Feb 2019, at 07:43, Hans Hagen wrote: > > > > > >> The wiki should reflect that, at least the old repo information > >> (foundry.supelec.fr) should go. The manual can stay. But before > >> removing the info on the

Re: [NTG-context] State of the reference manual contextref.pdf

2019-02-10 Thread Marco Patzer
On Sun, 10 Feb 2019 17:43:09 +0100 Hans Hagen wrote: > that effort was changed in cooking up smaller independent manuals ... Which I personally like. It provides more in depth knowledge. > that ref manual still applies to much (encodings and fonts have > changed of course) I know about the

[NTG-context] State of the reference manual contextref.pdf

2019-02-10 Thread Marco Patzer
Hi! I'm wondering about the state of the reference manual contextref.pdf. The wiki states “ConTeXt reference manual. This is the most comprehensive and up-to-date general manual[…]” Date: September 27, 2013 There used to be SVN access on foundry.supelec.fr/projects/contextman, but

Re: [NTG-context] Automatic thousands separation in \unit

2019-02-09 Thread Marco Patzer
On Tue, 5 Feb 2019 12:22:29 +0100 Marco Patzer wrote: > Is there a way to hook the \spaceddigits into \unit somehow? I tried to add \spaceddigits to the \unit command, but it didn't work. If someone has an idea how to do that, I'd greatly appreciate. Ma

Re: [NTG-context] Bad names

2019-02-09 Thread Marco Patzer
On Fri, 8 Feb 2019 23:26:21 +0100 Hans Hagen wrote: > On 2/8/2019 10:22 PM, Marco Patzer wrote: > > > What is a bad name for context? Does it have any consequences if > > badly named files are used? Just being curious. > Bad names are names that can result i a miss whe

[NTG-context] Bad names

2019-02-08 Thread Marco Patzer
Hi! I was wondering what context considers a “bad” file name and what consequences that might have. From workflows-mkiv.pdf: “Bad names are reported and suitable action can be taken” Indeed, every run context tells me how many files are badly named: mkiv lua stats > graphics processing

Re: [NTG-context] Metapost graphic in setupbackground

2019-02-08 Thread Marco Patzer
On Fri, 8 Feb 2019 12:36:16 +0100 "Jan U. Hasecke" wrote: > \definelayer[kreisbackground][width=70mm,height=70mm] \definelayer[kreisbackground][width=70mm,height=70mm, state=repeat] start: layer appears only on the current page stop : layer doesn't show up repeat : layer prints on

[NTG-context] context --ansi creates empty log file

2019-02-08 Thread Marco Patzer
Hi! Is it expected behaviour that --ansi creates an empty log file? Example: %% foo.tex \startext\null\stoptext # context foo # wc -c foo.log 7501 foo.log # context --ansi foo # wc -c foo.log 1 foo.log ctx 2019.01.28 16:58 Marco

Re: [NTG-context] Automatic thousands separation in \unit

2019-02-05 Thread Marco Patzer
On Thu, 31 Jan 2019 13:43:13 +0100 Otared Kavian wrote: Sorry for the late response. > Can this give what you wish? > > \define[2]\myunit{\spaceddigits{#1}\unit{#2}} > \starttext > \myunit{123456789}{volt} > \stoptext That's a way to solve it, yes. But I'd prefer it to be integrated into the

[NTG-context] Automatic thousands separation in \unit

2019-01-31 Thread Marco Patzer
Hi! I'm wondering if there's a way to have automatic thousands separation in the \unit command? \spaceddigits does that, but it doesn't work inside \unit. And using both would be quite verbose to write. Example: \starttext %% no thousands separation \unit{123456789 volt} %% manual

Re: [NTG-context] Itemize lists run into floats - how to add additional spacing

2018-12-19 Thread Marco Patzer
On Wed, 19 Dec 2018 18:29:33 +0100 Hans Hagen wrote: > \setupfloat >[figure] >[default=left,margin=1cm] Thanks for the eye-opener. I realised I applied the margin on the item group instead of the float. Sometimes it's the simple things… Marco

[NTG-context] Itemize lists run into floats - how to add additional spacing

2018-12-19 Thread Marco Patzer
Hi! The bullet of itemize lists runs into the boxes and caption of floats. How to add spacing so the bullet doesn't touch the float? Example: \setupexternalfigures [location=default] \setupfloat [figure] [default=left] \setupitemize [packed, autointro] \starttext \startitemize

[NTG-context] Multiple image conversions

2018-12-16 Thread Marco Patzer
Hi! I wonder if/how it's possible to specify multiple image conversions. Example: \startluacode local format = string.format local function degradejpg(oldname, newname) local s = format("gm convert -strip -quality 75%% -resize '300x300>' %s %s", oldname, newname) os.execute(s) end

Re: [NTG-context] Ending strings with non-break space in lang-txt.lua

2018-12-06 Thread Marco Patzer
On Thu, 6 Dec 2018 09:34:57 +0100 Hans Hagen wrote: > > Also, how about: > > > > \at{\labeltext{atpage}}[#1] > > indeed, that is the command to use Don't get too hung up on that command. That was just a quick way to demonstrate the point and create an MWE. > can you experiment with this >

[NTG-context] Ending strings with non-break space in lang-txt.lua

2018-12-05 Thread Marco Patzer
Hi! I've got a few unfortunate line breaks in my documents. In particular, breaks are introduced in between the string “page” and the number: See figure 1 at page 2. The reason is that many strings in lang-txt.lua end in a space, rather than a non-break space: ["atpage"]={

Re: [NTG-context] Text running of the page with default=top float parameter

2018-12-05 Thread Marco Patzer
On Wed, 5 Dec 2018 13:44:53 +0100 Marco Patzer wrote: > I've got a problem with text running off the page. The culprit is > the "default=top" float parameter. Is this expected behaviour? > > Slightly OT bonus question: What does the “default=auto” parameter > do? I adde

[NTG-context] Text running of the page with default=top float paremeter

2018-12-05 Thread Marco Patzer
Hi! I've got a problem with text running off the page. The culprit is the "default=top" float parameter. Is this expected behaviour? Slightly OT bonus question: What does the “default=auto” parameter do? I added that years ago and have not found documentation what it actually does. I actually

Re: [NTG-context] Language dependency in environment-project file

2018-11-29 Thread Marco Patzer
On Thu, 29 Nov 2018 20:30:53 +0100 Wolfgang Schuster wrote: > Below is a improved version of the token method which works with the > new beta. > > \startenvironment [*] > > \definetokenlist [english] % optional because \starttokenlist > \definetokenlist [swedish] % checks if the token lists

Re: [NTG-context] Language dependency in environment-project file

2018-11-28 Thread Marco Patzer
On Wed, 28 Nov 2018 09:20:49 +0100 Hans Hagen wrote: > An alternative is to use system modes: > > \mainlanguage[nl] > > % \startmode[*en] > % \setupitemize[n] > % \stopmode > > % \startmode[*nl] > % \setupitemize[a] > % \stopmode > > % \startmode[*de] > % \setupitemize[i] > %

Re: [NTG-context] \everystarttext in components

2018-11-28 Thread Marco Patzer
On Wed, 28 Nov 2018 09:12:45 +0100 Hans Hagen wrote: > On 11/27/2018 9:40 PM, Marco Patzer wrote: > > On Tue, 27 Nov 2018 18:42:51 +0100 > > Wolfgang Schuster wrote: > > > >>> Has that changed over the course of the last year or always been > >&

Re: [NTG-context] Language dependency in environment-project file

2018-11-27 Thread Marco Patzer
On Tue, 27 Nov 2018 22:41:25 +0100 Wolfgang Schuster wrote: > > With named setups I need to specify a name for each occurrence and > > gather them at the end. This is not as clean. Is it possible e.g. to > > add something to an already existing setup instead of creating a new > > one every time?

Re: [NTG-context] Language dependency in environment-project file

2018-11-27 Thread Marco Patzer
On Tue, 27 Nov 2018 22:05:27 +0100 Wolfgang Schuster wrote: > > But even your solution doesn't work here. Did you try it in the > > example project file? > > \startenvironment [*] > > \startsetups [itemgroup:en] >   \setupitemgroup [itemize] [i] > \stopsetups > > \startsetups

Re: [NTG-context] Language dependency in environment-project file

2018-11-27 Thread Marco Patzer
On Tue, 27 Nov 2018 21:41:52 +0100 Wolfgang Schuster wrote: > > A nudge in the right direction appreciated. > > \appendtoks >   \mainlanguage[\documentvariable{language}]% > %\doifdocumentvariable{language}{\mainlanguage[\documentvariable{language}]}% > \to \everysetupdocument That's

Re: [NTG-context] \everystarttext in components

2018-11-27 Thread Marco Patzer
On Tue, 27 Nov 2018 18:42:51 +0100 Wolfgang Schuster wrote: > > Has that changed over the course of the last year or always been > > that way? > > This was always the case. OK, I'm wondering why I set it up that way back then. I'm sure I tested it. But I don't remember. > > ... it's not a

[NTG-context] Language dependency in environment-project file

2018-11-27 Thread Marco Patzer
Hi, I do have a project structure with environment, project and component files. The language of the individual documents is defined in the components using \setupdocument [language=sv] The environment needs to adjust language-dependent settings. However, when the environment file is

Re: [NTG-context] \everystarttext in components

2018-11-27 Thread Marco Patzer
On Tue, 27 Nov 2018 18:21:45 +0100 Hans Hagen wrote: > > MWE: > > > > \startcomponent * > >\appendtoks Foobar \to\everystarttext > >\startdocument\null\stopdocument > > \stopcomponent > > > > If the first and last line is commented out, it prints “Foobar”, > > when compiled as a

[NTG-context] \everystarttext in components

2018-11-27 Thread Marco Patzer
Hi! I've got an issue with my documents after updating context (to 2018.11.18 14:07). I believe it has something to do with \everystarttext. But I'm still digging. Question: Is it intended behaviour that \everystarttext doesn't work in components? MWE: \startcomponent * \appendtoks Foobar

Re: [NTG-context] Addressing glyphs in Lua

2018-10-10 Thread Marco Patzer
On Wed, 10 Oct 2018 10:26:14 +0200 Hans Hagen wrote: > On 10/10/2018 8:46 AM, Marco Patzer wrote: > > On Tue, 9 Oct 2018 23:36:32 +0200 > > Hans Hagen wrote: > > > >> On 10/9/2018 10:40 PM, Marco Patzer wrote: > >>> Hi! > >>> > &g

Re: [NTG-context] Addressing glyphs in Lua

2018-10-10 Thread Marco Patzer
On Tue, 9 Oct 2018 23:36:32 +0200 Hans Hagen wrote: > On 10/9/2018 10:40 PM, Marco Patzer wrote: > > Hi! > > > > I have two questions regarding addressing glyphs in Lua: > > > > 1) How to address glyphs in slots as e.g. U+F0029? > > 2) How

[NTG-context] Addressing glyphs in Lua

2018-10-09 Thread Marco Patzer
Hi! I have two questions regarding addressing glyphs in Lua: 1) How to address glyphs in slots as e.g. U+F0029? 2) How to address glyphs by name? Use: \startluacode fonts.handlers.otf.addfeature { name = "foo", type = "substitution", data = { [0xF0029] = 0xF0030 }, -- ←

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-26 Thread Marco Patzer
On Tue, 25 Sep 2018 12:57:54 +0200 "Jan U. Hasecke" wrote: > \definemeasure > [bleed] > [3mm] > > I used this value to generalize the A4-flyer dimensions. > > \definepapersize > [A4-flyer] > [width=\dimexpr297mm+2\measured{bleed}\relax, >

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-25 Thread Marco Patzer
On Mon, 24 Sep 2018 22:25:52 +0200 "Jan U. Hasecke" wrote: > On 21.09.18 16:56, Marco Patzer wrote: > > > A while ago I made a corporate flyer with context using the > > TRYPTICHON method. Printing required 3mm bleed. > > Thanks a lot for this template. T

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Marco Patzer
On Fri, 21 Sep 2018 15:27:02 +0200 "Jan U. Hasecke" wrote: > consulting the wiki I found > http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf > and the command \setuparranging [TRYPTICHON]. So I think that I should > be able to make a pdf for a flyer and print it

Re: [NTG-context] Printer requires vectorised contour path for cut contour

2018-09-10 Thread Marco Patzer
On Thu, 6 Sep 2018 17:00:38 +0200 Wolfgang Schuster wrote: > > I created a non-rectangular shaped document. The printer requires a > > cut contour in a particular colour, no problem so far. However, he > > complained about a missing “single continuous closed vectorised > > contour path”. The one

[NTG-context] Printer requires vectorised contour path for cut contour

2018-09-06 Thread Marco Patzer
Hi! I created a non-rectangular shaped document. The printer requires a cut contour in a particular colour, no problem so far. However, he complained about a missing “single continuous closed vectorised contour path”. The one I provided is an area, not a contour path. I created the path as

Re: [NTG-context] Shading and transparency

2018-07-12 Thread Marco Patzer
On Thu, 12 Jul 2018 22:59:05 +0200 Hans Hagen wrote: > hm, I'm puzzled as a shade doesn't go between colors + transparent > but from one color to another (in the same color space) and > transparency is just a different mechanism > > maybe it was some side effect of chosen values / vectors that

Re: [NTG-context] Shading and transparency

2018-07-12 Thread Marco Patzer
On Thu, 12 Jul 2018 11:21:45 +0200 Hans Hagen wrote: > > For the old implementation (pre 2016-ish) I had a working solution > > because shading to transparent colours just worked (at least in my > > case of a simple transparent shade, nothing fancy), but not so any > > longer. With the new

Re: [NTG-context] Shading and transparency

2018-07-11 Thread Marco Patzer
On Wed, 11 Jul 2018 23:11:31 +0200 Hans Hagen wrote: > > Is there a method that does not require an external file or > > pre-processing? Using the external file works. Just wondering if > > there's a better - more integrated - way. > i guess that with some experimenting you can come close but

[NTG-context] Shading and transparency

2018-07-11 Thread Marco Patzer
Hi! It's shadings and transparency again. For most things transparency is not required since the background colour (white) can be used instead, to achieve the same effect (thanks Hans for the reimplementation/cleanup a while ago). For one use case I worked around this by including an external

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-08 Thread Marco Patzer
On Sun, 8 Jul 2018 10:39:52 +0200 Hans Hagen wrote: > On 7/8/2018 1:45 AM, Marco Patzer wrote: > > On Sat, 7 Jul 2018 14:27:38 -0600 > > Alan Braslau wrote: > > > >> For "historic" reasons, > >> draw externalfigure "co

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-07 Thread Marco Patzer
On Sat, 7 Jul 2018 14:27:38 -0600 Alan Braslau wrote: > For "historic" reasons, > draw externalfigure "cow" scaled 5cm ; > normalizes the figure to a square. This will not be changed as it is a > very old feature of MetaFun. > > The solution is > draw rawtextext("\externalfigure[cow]")

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-07 Thread Marco Patzer
On Sat, 7 Jul 2018 22:27:51 +0200 Hans Hagen wrote: > On 7/7/2018 8:58 PM, Marco Patzer wrote: > > Hi! > > > > How to scale an image in MetaPost, maintaining the aspect ratio > > (without specifying the height explicitly)? > > > > Example: > >

[NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-07 Thread Marco Patzer
Hi! How to scale an image in MetaPost, maintaining the aspect ratio (without specifying the height explicitly)? Example: \setupexternalfigures [location=default] \starttext \externalfigure [cow][width=5cm] \startMPcode draw externalfigure "cow" scaled 5cm; \stopMPcode \stoptext

Re: [NTG-context] 6-sided letter fold (TRYPTICHON) with unequal page size

2018-06-28 Thread Marco Patzer
On Wed, 27 Jun 2018 20:40:52 +0200 Pablo Rodriguez wrote: > On 06/27/2018 07:54 PM, Wolfgang Schuster wrote: > > This isn’t possible because the imposition mechanism puts the > > finished pages in boxes with the same size. > > Wolfgang, > > isn’t it a case for \definepageshift and

Re: [NTG-context] 6-sided letter fold (TRYPTICHON) with unequal page size

2018-06-27 Thread Marco Patzer
On Wed, 27 Jun 2018 18:42:40 +0200 Henning Hraban Ramm wrote: > I'd not try that with pages and imposition, but just use two A4 pages > and place my content on them - using layers or maybe column sets. > http://wiki.contextgarden.net/Layers > http://wiki.contextgarden.net/Columns#Column_Sets

Re: [NTG-context] 6-sided letter fold (TRYPTICHON) with unequal page size

2018-06-27 Thread Marco Patzer
On Tue, 19 Jun 2018 22:15:31 +0200 Marco Patzer wrote: > I try getting a 6-sided letterfold with unequal page size to work. > > […] > > How to adapt for the changed page size without an overlapping page 4 > and a page with clearance to the adjacent 6th page? Suggestions >

[NTG-context] 6-sided letter fold (TRYPTICHON) with unequal page size

2018-06-19 Thread Marco Patzer
Hi, I try getting a 6-sided letterfold with unequal page size to work. This is how it's supposed to look like: https://www.saxoprint.co.uk/blog/wp-content/uploads/2013/06/roll-fold-leaflets-02-01.png This is easy with the arranging option TRYPTICHON. *But* the page sizes are not equal and

Re: [NTG-context] hairline & rules

2018-06-16 Thread Marco Patzer
On Fri, 15 Jun 2018 00:20:23 -0700 "jdh" wrote: > I want to use a colored hairline, but can't get it working and can't > find anything to explain any options or parameters. > > I've tried > > \setuptextrules[rulecolor=red,color=red] > \hairline > or >

Re: [NTG-context] 'lua.registercode' bug in latest beta

2017-11-26 Thread Marco Patzer
On Tue, 7 Nov 2017 11:59:51 +0800 Li Yanrui (李延瑞) wrote: > Using '\ctxloadluafile' can get an error: > > ``` > ..ext/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua:50: bad > argument #1 to 'gmatch' (string expected, got nil) > ``` > > It seems to be caused by 'if

Re: [NTG-context] Two hyphens do not replaced on em—dash when dejavu,14pt

2017-03-31 Thread Marco Patzer
On Fri, 31 Mar 2017 11:46:00 +0300 Kostirya wrote: > Two hyphens do not replaced on em—dash when dejavu,14pt Use the tlig font feature \definefontfeature [tlig] [default] [tlig=yes] Marco

[NTG-context] Documentation for the letter module

2017-03-21 Thread Marco Patzer
Hi! Where can the current documentation for the letter module be found? I seems like it's not included in the distribution (why is it missing?) and http://bitbucket.org/wolfs/correspondence/downloads/correspondence.pdf is (out)dated: 2010-08-27 Furthermore, the latest updates on

Re: [NTG-context] Calculating with \measure

2017-03-19 Thread Marco Patzer
On Sun, 19 Mar 2017 18:18:48 +0100 Wolfgang Schuster wrote: > > Is it possible to calculate with \measure or do I have to resort to > > dimens? Example: > > > > \definemeasure [mymeasure] [4cm] > > \newdimen\mydim \mydim4cm > > > > \starttext > >

[NTG-context] Calculating with \measure

2017-03-19 Thread Marco Patzer
Hi! Is it possible to calculate with \measure or do I have to resort to dimens? Example: \definemeasure [mymeasure] [4cm] \newdimen\mydim \mydim4cm \starttext \framed[width=4cm]{Foobar} \framed[width=\measure{mymeasure}]{Foobar} \framed[width=2\mydim]{Foobar}

Re: [NTG-context] The requested font has no files for the 'tf' alternative

2017-03-15 Thread Marco Patzer
On Wed, 15 Mar 2017 19:26:06 +0100 Wolfgang Schuster wrote: > > Pablo Rodriguez > > 15. März 2017 um 19:10via Postbox > > > > > > How about removing the directory

Re: [NTG-context] The requested font has no files for the 'tf' alternative

2017-03-15 Thread Marco Patzer
On Tue, 14 Mar 2017 23:44:29 +0100 Marco Patzer <li...@homerow.info> wrote: > Your example works for me. But it's still unclear what I'm doing > wrong. According to your explanation this should work: > > \definefontfamily > [mainface] > [rm] > [Caecilia

Re: [NTG-context] The requested font has no files for the 'tf' alternative

2017-03-14 Thread Marco Patzer
On Tue, 14 Mar 2017 21:39:34 +0100 Wolfgang Schuster wrote: > [...] Thanks for the explanation, Wolfgang. > Each font of your collection has its individual name, e.g. the > regular style has the name “Caecilia LT Std Roman” but all styles use > the same name for

Re: [NTG-context] The requested font has no files for the 'tf' alternative

2017-03-14 Thread Marco Patzer
On Mon, 13 Mar 2017 22:10:56 +0100 Pablo Rodriguez <oi...@gmx.es> wrote: > On 03/13/2017 09:55 PM, Marco Patzer wrote: > > On Fri, 10 Mar 2017 17:12:36 +0100 Pablo Rodriguez wrote: > >> [...] > >> \definefontfamily[mainface][rm][Caecilia LT Std-

Re: [NTG-context] The requested font has no files for the 'tf' alternative

2017-03-13 Thread Marco Patzer
On Fri, 10 Mar 2017 17:12:36 +0100 Pablo Rodriguez <oi...@gmx.es> wrote: > On 03/09/2017 10:33 AM, Marco Patzer wrote: > > \definefontfamily > > [mainface] > > [rm] > > [Caecilia LT Std Roman] > > %% doesn't work, either &g

Re: [NTG-context] The requested font has no files for the 'tf' alternative

2017-03-10 Thread Marco Patzer
On Fri, 10 Mar 2017 08:13:59 +0800 Vladimir Lomov wrote: > Some time ago I faced the same problem: I tried to use one of > Microsoft font but it didn't work, the only thing I saw in log was > the same message. I solved the problem by deleting "font cache" >

[NTG-context] The requested font has no files for the 'tf' alternative

2017-03-09 Thread Marco Patzer
Hi! I run into a problem using some fonts. Latin Modern is used instead and ConTeXt displays: selectfont > The requested font 'Caecilia LT Std Roman' has no files for the 'tf' alternative, Latin Modern is used instead. Example: \definefontfamily [mainface] [rm] [Caecilia LT Std Roman]

Re: [NTG-context] There is only german in the little text, why

2016-11-16 Thread Marco Patzer
On Wed, 16 Nov 2016 10:01:08 +0100 "Ursula Hermann" wrote: > Now i have tried another one , but I have only german text in the > PDF. Why? Because the font you use doesn't contain the letter “ἄ”. Switch fonts and it'll work. > mainlanguage[de] Typo ^^

Re: [NTG-context] Framedtext in a float

2016-11-01 Thread Marco Patzer
On Tue, 1 Nov 2016 00:12:37 +0100 Fabrice Couvreur wrote: > How to make the width of framedtext automatically adapts to its > contents. > > […] > > \defineframedtext > [MyFrame] > [before={\blank}, >after={\blank}, >frame=off, >background=MyFrame, >

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Marco Patzer
On Fri, 15 Jul 2016 16:27:57 +0200 "Ursula Hermann" wrote: > Now i have tried this one: > > […] Wolfgang said: > 1. it contains 3 \starttext commands, Your example still contains 2 \starttext commands. It doesn't even compile. Fix that first. > 2. there are too

Re: [NTG-context] url with umlaut

2016-07-15 Thread Marco Patzer
On Fri, 15 Jul 2016 07:25:36 -0400 Alan Bowen wrote: > The following link > > \goto{ >

[NTG-context] Update server appears to be down

2016-07-04 Thread Marco Patzer
Hi (Mojca?) The contextgarden update server appears to be down: rsync rsync://contextgarden.net rsync: failed to connect to contextgarden.net (193.2.4.200): Connection refused (111) rsync: failed to connect to contextgarden.net (2001:1470:ff80:88::80:c): Network is unreachable (101)

Re: [NTG-context] trying to delete an attribute reference of a non attribute node

2016-07-03 Thread Marco Patzer
On Sun, 3 Jul 2016 11:22:20 +0200 Hans Hagen <pra...@wxs.nl> wrote: > On 7/2/2016 12:42 PM, Marco Patzer wrote: > > On Thu, 30 Jun 2016 18:23:18 +0200 > > Marco Patzer <li...@homerow.info> wrote: > > > >> The following example throws the error: >

Re: [NTG-context] trying to delete an attribute reference of a non attribute node

2016-07-02 Thread Marco Patzer
On Thu, 30 Jun 2016 18:23:18 +0200 Marco Patzer <li...@homerow.info> wrote: > The following example throws the error: > > ! error: (nodes): trying to delete an attribute reference of a non > attribute node mtx-context | fatal error: return code: 1 > > \

[NTG-context] trying to delete an attribute reference of a non attribute node

2016-06-30 Thread Marco Patzer
Hi! The following example throws the error: ! error: (nodes): trying to delete an attribute reference of a non attribute node mtx-context | fatal error: return code: 1 \setbreakpoints [compound] \useMPlibrary [dum] \starttext \startTABLE \NC \externalfigure [foo-bar]

Re: [NTG-context] disappearing margin text

2016-06-22 Thread Marco Patzer
On Wed, 22 Jun 2016 11:52:04 +0200 Jan Willem Flamma wrote: > In the following MWE, the margin text appears at question 1 but not > at question 2. They both appear, but are overlaid (try with different texts). > MWE: > \defineblock[question] > \hideblocks[question] >

Re: [NTG-context] Underbar offset

2016-05-26 Thread Marco Patzer
On Thu, 26 May 2016 14:48:00 +0200 Mojca Miklavec wrote: > On 25 May 2016 at 17:35, Wolfgang Schuster wrote: > > > > With \shiftup the line under the raised text stays at the same > > position. > > > > \starttext > > \underbar{Test this \shiftup{®}} > > \stoptext

Re: [NTG-context] starting a chapter on odd page

2016-05-11 Thread Marco Patzer
On Wed, 11 May 2016 18:02:00 +0200 Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: > > Marco Patzer <mailto:li...@homerow.info> > > 11. Mai 2016 um 13:59 > > On Wed, 11 May 2016 13:19:41 +0200 > > > > I don't know what the actual difference is. Ac

Re: [NTG-context] starting a chapter on odd page

2016-05-11 Thread Marco Patzer
On Wed, 11 May 2016 13:19:41 +0200 Andrea Valle wrote: > Thanks marco, should I rather use > > > \definepagebreak > [chapterpagebreak] > [yes, odd] I don't know what the actual difference is. According to the source it has something to do with floats. Marco

Re: [NTG-context] starting a chapter on odd page

2016-05-11 Thread Marco Patzer
On Wed, 11 May 2016 12:38:17 +0200 Andrea Valle wrote: > in the book I’m finishing I’m using a structure like this > > \starttext > > \input c_preface.tex > > \input c_chapter1.tex > > [etc] > > \stoptext > > > where each .tex file contains > > \startchapter[various

Re: [NTG-context] headline and no indent

2016-05-09 Thread Marco Patzer
On Mon, 9 May 2016 17:19:15 +0200 Andrea Valle wrote: > When opting for paragraph indents, paragraphs following directly > after a headline should no show the indent. > > I guess that the first line of chapter/section/subsection should have > no indent. Hmm, how to get this?

[NTG-context] listalternative and filler throws error

2016-05-05 Thread Marco Patzer
Hi, the following used to work with 2014.02.14 17:07 but a current 2016.05.01 09:52 throws the error: Use of \syst_helpers_set_local_hsize_yes doesn't match its definition \definefiller [myfiller] \setupcombinedlist [content] [alternative=c] \setuplistalternative [c]

Re: [NTG-context] Assigning a variable to the list argument in \setupsection

2016-04-14 Thread Marco Patzer
On Thu, 14 Apr 2016 09:46:34 +0200 Michael Guravage wrote: > I would like to use a variable for the value of the list argument in, > e.g., the \startsection command. If you compile my little example you > will see that the first 'literal' assignment works, while the second >

Re: [NTG-context] help on def & buffer

2016-03-30 Thread Marco Patzer
On Wed, 30 Mar 2016 10:34:46 +0200 Erik Margraf wrote: > My plan is simply to use the output of a sagemath run in this way. A > run should produce > several files containing TeX code. I only wanted to shorten the > \startbuffer \input ... \stopbuffer > sequence. Maybe

Re: [NTG-context] Expansion in PDF metadata

2016-03-04 Thread Marco Patzer
On Fri, 4 Mar 2016 10:34:49 +0100 Hans Hagen <pra...@wxs.nl> wrote: > On 3/4/2016 7:58 AM, Marco Patzer wrote: > > Hi! > > > > How to expand \translate so that it doesn't show up in the PDF > > metadata? Example: > > > > \setupdocument [metadata:titl

[NTG-context] Expansion in PDF metadata

2016-03-03 Thread Marco Patzer
Hi! How to expand \translate so that it doesn't show up in the PDF metadata? Example: \setupdocument [metadata:title=\documentvariable{title}] \mainlanguage [sv] \startdocument [title={\translate[en=Foo, sv=Bar]}] \input knuth \stopdocument This literally shows: Title: \translate

Re: [NTG-context] Vertically centered text in each page

2016-02-19 Thread Marco Patzer
On Fri, 19 Feb 2016 12:51:14 +0100 Nicola <nvitacolo...@gmail.com> wrote: > On 2016-02-19 11:23:18 +0000, Marco Patzer said: > > > On Fri, 19 Feb 2016 11:54:12 +0100 > > Nicola <nvitacolo...@gmail.com> wrote: > > > >> How do I setup the slide com

Re: [NTG-context] Vertically centered text in each page

2016-02-19 Thread Marco Patzer
On Fri, 19 Feb 2016 11:54:12 +0100 Nicola wrote: > How do I setup the slide command to do that by default? I have tried > putting {before,after,beforesection,aftersection}=\vfill in various > combinations in \setuphead, but I cannot obtain the desired effect.

Re: [NTG-context] Buffer with syntax highlighting

2016-02-17 Thread Marco Patzer
On Wed, 17 Feb 2016 13:16:03 +0100 Procházka Lukáš Ing. wrote: > is it possible to \typebuffer with a syntax highlighting? \typebuffer [demo] [option=context] Also have a look at Aditya's vim syntax highlighter module which is great. Marco

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Marco Patzer
On Tue, 16 Feb 2016 08:21:42 -0700 Alan BRASLAU wrote: > I do note that the VIM syntax highlighting routine is pretty poor and > has difficulties around $, which is a symbol that I like using > (unpaired) quite a lot in MetaPost (\startMPcode...\stopMPcode). The stock vim

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Marco Patzer
On Tue, 16 Feb 2016 09:22:23 +0100 Nicola wrote: > I read in the wiki (http://wiki.contextgarden.net/Math) that $…$ > for inline math is deprecated in favor of \m{…} and more verbose > variants. Is that really the case? If so, what is the reason and > what are the

Re: [NTG-context] Character rotation font feature available?

2016-02-14 Thread Marco Patzer
On Mon, 15 Feb 2016 04:42:31 +0800 Zhichu Chen wrote: > I have some special needs that requires all the characters be rotated > by 90 degrees. I've searched around the web and maybe adding > /FontMatrix [0 1 -1 0 0 0] > to the font descriptor dictionary is helpful. But I

  1   2   3   4   5   6   >