[NTG-context] ConTeXt version stuck at 2020.01.30

2020-05-05 Thread Marco Patzer
Hi! Has something changed regarding the installation/update procedure? ConTeXt seems to be stuck at 2020.01.30 and downloading the newest version results in that very version. Steps to reproduce: rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh . tex

Re: [NTG-context] ConTeXt version stuck at 2020.01.30

2020-05-05 Thread Marco Patzer
On Tue, 5 May 2020 20:38:55 +0200 Wolfgang Schuster wrote: > Marco Patzer schrieb am 05.05.2020 um 20:26: > > Hi! > > > > Has something changed regarding the installation/update procedure? > > ConTeXt seems to be stuck at 2020.01.30 and downloading the newest >

Re: [NTG-context] Retrieving original value of enviroment variable HOME

2020-05-11 Thread Marco Patzer
On Mon, 11 May 2020 12:50:51 +0200 cont...@vivaldi.net wrote: > so I made a new parallel installation, following exactly instructions > here: > >https://wiki.contextgarden.net/Windows_10_64_bit_Installation_2019 > > I forced 32b version due to some reasons. > > But I'm still getting the sa

Re: [NTG-context] Styling of included buffers or files

2020-05-17 Thread Marco Patzer
On Sun, 17 May 2020 18:16:13 +0200 "Jan U. Hasecke" wrote: > I am currently writing a text where I want to include text snippets > either by including files or including buffers. > > What is the best way to style all these included buffers? > > I know that I can do something like this: > > \st

[NTG-context] LMTX: natural table error namespace 'naturaltablelocal', key ', '

2020-05-28 Thread Marco Patzer
Hi! With LMTX the following example results in setup > error in line 7, namespace 'naturaltablelocal', key ',' setup > error in line 7, namespace 'naturaltablelocal', key ',' The file runs without error in MkIV. Has something changed or is it a bug? \starttext \bTA

[NTG-context] LMTX: different output if dots are used in the file name

2020-05-28 Thread Marco Patzer
Hi! LMTX and MkIV behave differently if dots are used in the file name. Example: printf '%s\n' '\starttext\null\stoptext' > foo.10.tex && context foo.10.tex MkIV: → foo.10.pdf LMTX: → foo.pdf Is this intentional? This is LuaMetaTeX, Version 2.06.05 current version: 2020.05.25 23:39 Marco __

Re: [NTG-context] LMTX: different output if dots are used in the file name

2020-05-28 Thread Marco Patzer
On Thu, 28 May 2020 17:33:19 +0200 Hans Hagen wrote: > On 5/28/2020 2:49 PM, Marco Patzer wrote: > > Hi! > > > > LMTX and MkIV behave differently if dots are used in the file > > name. Example: > > > >printf '%s\n' '\starttext

Re: [NTG-context] LMTX: different output if dots are used in the file name

2020-05-28 Thread Marco Patzer
On Thu, 28 May 2020 17:33:19 +0200 Hans Hagen wrote: > On 5/28/2020 2:49 PM, Marco Patzer wrote: > > Hi! > > > > LMTX and MkIV behave differently if dots are used in the file > > name. Example: > > > >printf '%s\n' '\starttext

Re: [NTG-context] LMTX: different output if dots are used in the file name

2020-05-28 Thread Marco Patzer
On Thu, 28 May 2020 18:18:51 +0200 Hans Hagen wrote: > > MkIV (everything's predictable and fine): > > 10.10.10.tex → 10.10.10.pdf > > 10.10.11.tex → 10.10.11.pdf > > 11.10.11.tex → 11.10.11.pdf > > > > LMTX: > > 10.10.10.tex → 10.10 (not even a PDF suffix) > > 10.10.

Re: [NTG-context] mtxrun exit code

2020-05-29 Thread Marco Patzer
On Fri, 29 May 2020 11:20:22 +0200 Hans van der Meer wrote: > I am producing a series of files in a shell script with mtxrun > --autogenerate --script context input Doing exit mtxrun... shows > there is no exit number to test in the shell The exit code from mtxrun works here: printf '%s\n' '\by

Re: [NTG-context] Installing Modules with ConTeXt LMTX

2020-06-01 Thread Marco Patzer
On Mon, 01 Jun 2020 19:58:59 +0200 Sebastian Miele wrote: > I want to try the t-letter module. I have a fresh install of ConTeXt > LMTX from today. The page https://wiki.contextgarden.net/Modules has > sections "Installation by hand" and "ConTeXt standalone", but no > section on ConTeXt LMTX. >

Re: [NTG-context] Using \defineoverlay for a framed text

2020-06-16 Thread Marco Patzer
On Tue, 16 Jun 2020 14:17:09 +0200 Willi Egger wrote: > I try to use a Metapost drawing as a background to a framed text. — I > can not make it working though… > > \startuniqueMPgraphic{Markings} > %{Markings:\overlaywidth:\overlayheight} fill OverlayBox enlarged 5mm > withcolor blue; \stopuniqu

Re: [NTG-context] Using \defineoverlay for a framed text

2020-06-16 Thread Marco Patzer
On Tue, 16 Jun 2020 14:37:17 +0200 Marco Patzer wrote: > On Tue, 16 Jun 2020 14:17:09 +0200 > Willi Egger wrote: > > > I try to use a Metapost drawing as a background to a framed text. — > > I can not make it working though… > > > > \startuniqueMPgraphic{Marki

Re: [NTG-context] Store images and text in the right margin

2020-07-02 Thread Marco Patzer
On Thu, 2 Jul 2020 17:20:07 +0200 Fabrice Couvreur wrote: Try: > \useMPlibrary[dum] > > \setuppapersize[A4] > > \setuplayout > [width=12cm, >rightmargin=5cm] > > \definemargindata[marginfigure][inright] > \setupmargindata [marginfigure][command=\vbox,align=middle] \setupmargindata [mar

Re: [NTG-context] Store images and text in the right margin

2020-07-03 Thread Marco Patzer
On Fri, 3 Jul 2020 08:40:22 +0200 Fabrice Couvreur wrote: > Thanks, it works but only for a comment and a picture. Indeed, if I > add a comment and an image, the first image is placed on the second > comment. Fabrice > > \starttext > \startuserdata[margintext] > \input ward > \stopuserdata > \m

Re: [NTG-context] Input file name containing full stop "."

2020-09-09 Thread Marco Patzer
On Wed, 9 Sep 2020 10:56:09 +0200 Christoph Reller wrote: > I am using ConTeXt LMTX Version 2020.09.05 21:18 with an input file > named, e.g., "test.test.tex". When compiling, ConTeXt generates files > "test.log", "test.tua", "test.pdf". > > ConTeXt MKIV used to produce files "test.test.log", "t

[NTG-context] Subfigures, referencing and resetting counter

2020-11-18 Thread Marco Patzer
Hi! I struggle with referencing subfigures. Combinations can't be referenced to my knowledge, that's why I went with another float for the inner subfigure. Example: \useMPlibrary[dum] \definefloat [subfigure] [subfigures] [figure] \setupcaptions [subfigure]

[NTG-context] Section head placement wrong when the after key is used

2020-11-19 Thread Marco Patzer
Hi! In the following example the 2nd section head stays on page one when the “after” key is used. If the blackrule is commented out the section head moves to page two as intended. What's the reason the section head stays on the previous page when the “after” is used and how to fix this? \setuphe

Re: [NTG-context] Section head placement wrong when the after key is used

2020-11-19 Thread Marco Patzer
On Thu, 19 Nov 2020 16:53:52 +0100 Pablo Rodriguez wrote: > On 11/19/20 11:55 AM, Marco Patzer wrote: > > Hi! > > [...] > > What's the reason the section head stays on the previous page when > > the “after” is used and how to fix this? > > Hi Marco, >

Re: [NTG-context] Subfigures, referencing and resetting counter

2020-11-23 Thread Marco Patzer
On Wed, 18 Nov 2020 20:22:24 +0100 Marco Patzer wrote: > I struggle with referencing subfigures. > > […] Any ideas? Marco ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] Orphan issue with \startitemize

2020-11-26 Thread Marco Patzer
On Thu, 26 Nov 2020 21:11:25 + Bruce Horrocks wrote: > With \dorecurse{34} all of the items move to the second page even > though only one extra line has been added and there is now quite a > large gap at the bottom of the first page. > > Is there a setting that controls this a bit more prec

Re: [NTG-context] Part label and chapter numbers

2021-01-04 Thread Marco Patzer
On Mon, 4 Jan 2021 13:22:55 +1100 jbf wrote: > Issue 1: > > Parts need to be called 'Section' (Section 1, section 2 etc.). \setuphead [part] [placehead=yes, bodypartlabel=part] \setuplabeltext [part=Section\nobreakspace] > Issue 2: > > While the above 'sections' are numbered in arab

Re: [NTG-context] Part label and chapter numbers

2021-01-04 Thread Marco Patzer
On Tue, 5 Jan 2021 08:32:33 +1100 jbf wrote: > and apologies if you didn't think I provided an MWE. The idea is that people can just copy-paste the code into an editor and keep tweaking. It doesn't have to produce the correct output, but it should compile. If you add an MWE you're more likely to

Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread Marco Patzer
On Wed, 6 Jan 2021 20:24:07 +1100 jbf wrote: > I need chapter numbers to continue sequentially across several parts. > At the moment, when Part 2 begins, it begins with Chapter 1 once > more, while it should be (in continued sequence) Chapter 4. \defineresetset [jbfreset] [] [0] \setuphead

Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread Marco Patzer
On Thu, 7 Jan 2021 07:09:46 +1100 jbf wrote: > I had searched everywhere on the wiki and in the manuals for > something like this, based on 'reset' but could not find it. AFAIK it's not mentioned in the manuals. But a variant is on the wiki “Independent Section Numbering”: https://wiki.contex

Re: [NTG-context] Continued chapter numbers

2021-01-07 Thread Marco Patzer
On Thu, 7 Jan 2021 00:02:20 +0100 Wolfgang Schuster wrote: > > \definestructureresetset is the same as \defineresetset. I assume > > that \definestructureresetset is the preferred way. But both will > > work. > > No, \defineresetset is the main command and \definestructureresetset > is a alias

Re: [NTG-context] midi

2021-02-03 Thread Marco Patzer
On Wed, 3 Feb 2021 22:15:59 -0500 Fabrice L wrote: > I usually do images ; if you or the list ever want to see more, the > site https://art-aleatoire.com is to > show my work, and all you can see there is made by me using 100% > MetaFun That is some impressive work!

Re: [NTG-context] LMTX: different output if dots are used in the file name

2021-07-06 Thread Marco Patzer
On Thu, 28 May 2020 18:18:51 +0200 Hans Hagen wrote: > > LMTX: > > 10.10.10.tex → 10.10 (not even a PDF suffix) > > 10.10.11.tex → 10.10 (file 10.10 is over-written) > > 11.10.11.tex → 11.10 (no suffix) I've checked again with 2021.07.06 18:49 LMTX 10.10.10.tex → 10.10.pdf + 1

Re: [NTG-context] LMTX: different output if dots are used in the file name

2021-07-07 Thread Marco Patzer
On Wed, 7 Jul 2021 12:25:29 -0600 Alan Braslau wrote: Thank you for your reply. > Windows, I believe, does not take kindly to filenames containing > multiple dots. Disclaimer: I don't use Windows, I know nothing about Windows. But I downloaded a Windows 10 VM and fired it up, installed LMTX, cr

Re: [NTG-context] LMTX: different output if dots are used in the file name

2021-07-08 Thread Marco Patzer
On Thu, 8 Jul 2021 10:34:32 +0200 Hans Hagen wrote: > Now, to the issue of names like 10.11.12.13 ... here .13 is the > suffix, like it or not, so in principle we then get > > 10.11.12.log > 10.11.12.tuc > 10.11.12.pdf It's not that I use files without (.tex, .mkiv, ...) suffixes, but your 10.1

[NTG-context] Ampersand in \unprotect fails in LMTX

2021-07-09 Thread Marco Patzer
Hi! the following example compiles with MkIV but fails in LMTX: \unprotect \setupinteraction [\c!author={Foo & Bar}] %% {Foo \& Bar} works for MkIV and LMTX \protect \starttext\null\stoptext LMTX: 1 \unprotect 2 \setupinteraction 3 [\c!author={Foo & Bar}] 4 >>

Re: [NTG-context] Ampersand in \unprotect fails in LMTX

2021-07-09 Thread Marco Patzer
On Fri, 9 Jul 2021 14:29:20 +0200 Hans Hagen wrote: > > As \& works for MkIV as well as LMTX, there's an easy workaround. > > But maybe this isn't intended behaviour and needs checking. > intended ... author passes different through the system in lmtx > (better) Apparently not only author. Also

[NTG-context] Using Farad with \unit messes up feet, µ not recognised as prefix

2023-10-03 Thread Marco Patzer
Hi! I struggle using the unit Farad (unit of capacitance): \starttext %% prints 10 10 ft \unit{10 F} \unit{20 ft} \registerunit [F=Farad] \setupunittext [Farad=F] %% prints 10 F 20 F⋅t \unit{10 F} \unit{20 ft} \stoptext When registering Farad as new unit it messes up feet. This looks like a

[NTG-context] Re: Using Farad with \unit messes up feet, µ not recognised as prefix

2023-10-03 Thread Marco Patzer
On Tue, 3 Oct 2023 15:42:57 +0200 Wolfgang Schuster wrote: > Marco Patzer schrieb am 03.10.2023 um 12:31: > > Hi! > > > > I struggle using the unit Farad (unit of capacitance): > > The unit "farad" exists. You're right \unit{10 Farad} works. &

[NTG-context] Re: Using Farad with \unit messes up feet, µ not recognised as prefix

2023-10-03 Thread Marco Patzer
On Tue, 3 Oct 2023 16:27:22 +0200 Marco Patzer wrote: > What about: > > \unit{10 um} > \unit{10 µm} > > Can I assign µ to mean micro (prefix)? Found it: \registerunit [prefix] [µ=micro] \starttext \unit{10 micro meter} \crlf \unit{10 µm} \stoptext Should this be the d

[NTG-context] Re: Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-08 Thread Marco Patzer
On Sun, 5 Nov 2023 18:11:45 + Bruce Horrocks wrote: > When I go to the page layout page on the Contextgarden wiki > > > > the "typesetting areas" diagram is missing its text labels. Fixed. > Any suggestions as to what needs to be changed to g

[NTG-context] Re: placing \externalfigure

2023-11-12 Thread Marco Patzer
On Sun, 12 Nov 2023 16:34:00 +0100 Hans van der Meer via ntg-context wrote: > In placing \externalfigure[file] I observe the figure is placed with > its bottom on the baseline, thus: > > [externalfigure] > --- baseline > > I looked into the option list of setupextern

[NTG-context] textbackground spacing offset

2023-11-16 Thread Marco Patzer
Hi! I'm having problems getting the textbackground spacing offset to work. Example: \setupframedtext [offset=overlay, width=max, depthcorrection=off] \setuptextbackground [location=paragraph, %% offset=overlay, %% does nothing %% backgroundoffset=overlay, %% does nothin

[NTG-context] Vertically aligned alternating fillers

2023-11-16 Thread Marco Patzer
Hi! A while back Wolfgang presented a nice solution for alternating fillers: https://www.mail-archive.com/ntg-context@ntg.nl/msg67677.html It works if the text has a constant width. But if the width changes, the alternating look is lost. Is there a way to align the dots vertically even if the

[NTG-context] Re: [ how to force hyphenation all words ]

2023-11-16 Thread Marco Patzer
On Thu, 16 Nov 2023 21:40:08 +0100 vm via ntg-context wrote: > Is there a command in context to force every word in a text to > hyphenate? e.g to typeset a text with "ge-dach-ten-streep-jes" Like this? \starttext \hyphenatedword{\samplefile{knuth}} \stoptext Marco ___

[NTG-context] Re: marginwidths

2023-11-22 Thread Marco Patzer
On Wed, 22 Nov 2023 14:17:29 +0100 Hans van der Meer via ntg-context wrote: > I would like to change the width of the margins on the page. > In the MWE here, the pagelayout does not seem to obey the > \setuplayout command. Why are the margins shown uneffected by > \setuplayout? Works as expected

[NTG-context] Invalid certificate for distribution.contextgarden.net

2023-11-22 Thread Marco Patzer
Hi! The site https://distribution.contextgarden.net/ uses an invalid certificate: echo | openssl s_client -servername 'distribution.contextgarden.net' -connect 'distribution.contextgarden.net':443 2>/dev/null | openssl x509 -noout -ext subjectAltName X509v3 Subject Alternative Name:

[NTG-context] Re: Invalid certificate for distribution.contextgarden.net

2023-11-23 Thread Marco Patzer
On Thu, 23 Nov 2023 08:58:56 +0100 Taco Hoekwater wrote: > > probably a side effect if moving some more to the (ntg) server in > > the netherlands (also setting up the build there) > > Even if it used the right certificate, it would not work right now > because of the move: there is nothing be

[NTG-context] Re: Invalid certificate for distribution.contextgarden.net

2023-11-23 Thread Marco Patzer
On Thu, 23 Nov 2023 11:32:45 +0100 Taco Hoekwater wrote: > The command > > context —version > > gives the local installed version. That lists the *local* version, not the most current available version. > Not sure whether there is a clean way to see if there is a remote > newer update wit

[NTG-context] Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Marco Patzer
Hi! I have a strange issue when TeX Gyre Pagella Math is used together with bold text. MWE: \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros] %% comment/remove this line and it works \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Marco Patzer
On Thu, 30 Nov 2023 20:51:42 +0100 Wolfgang Schuster wrote: > > %% comment/remove this line and it works > > \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math] > > Use the \definetypeface command to load the math font. That example was taken straight from https://wiki.contextgarden.

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Marco Patzer
On Thu, 30 Nov 2023 20:51:42 +0100 Wolfgang Schuster wrote: > Use the \definetypeface command to load the math font. Math fonts > always use special > settings or load additional settings which are missing when you use > \definefontfamily. > > \definetypeface [mainface] [mm] [math] [pagella] \

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-12-01 Thread Marco Patzer
On Fri, 1 Dec 2023 15:09:32 +0100 Wolfgang Schuster wrote: > You get the same error with Latin Modern as soon as you use a non > predefined font size in combination with bold math. True, thanks for pointing that out. I wasn't aware and frankly, that's rather unexpected behaviour. So to put it

[NTG-context] \unit{mercury} renders as m (meter) and \unit{millimetermercury} doesn't work as expected

2023-12-05 Thread Marco Patzer
Hi! I'm struggling with the rendering of a particular liquid metal: %% renders as m (meter), not as Hg \unit{mercury} %% renders as mm·m, not as mmHg \unit{millimetermercury} This is strange, since both “mercury” and “millimetermercury” are defined in phys-dim.lua. To get mercury recogn

[NTG-context] Re: \unit{mercury} renders as m (meter) and \unit{millimetermercury} doesn't work as expected

2023-12-05 Thread Marco Patzer
On Tue, 5 Dec 2023 17:27:59 +0100 Wolfgang Schuster wrote: > None of your examples work because millimetermercury and mercury are > the names for the labels > and the units are accessed with hg and mmhg. Ok, that makes sense. And it works, thanks for the explanation and the quick reply. > \setu

[NTG-context] Re: \unit{mercury} renders as m (meter) and \unit{millimetermercury} doesn't work as expected

2023-12-05 Thread Marco Patzer
On Tue, 5 Dec 2023 20:06:46 +0100 Wolfgang Schuster wrote: > > That doesn't make sense, inch and mm are different units. I'd rather > > add: > > > >\registerunit > > [inHg=inchmercury] > > > >\setupunittext > > [en] > > [inchmercury=inHg] > > It's just a stupid example t

[NTG-context] Re: Asking help for better way to make tickets.

2024-01-12 Thread Marco Patzer
On Fri, 12 Jan 2024 23:05:14 +0900 Jeong Dal via ntg-context wrote: > I’d like to make a ticket on A4 as follows: > > 1. Use all of A4(no margin, no header, no footer,…) > 2. Arange 12 tickets in the form of 3 x 4 on one page, > 3. Two rows are same, > 4. Numbers in the center of the ticket whic

[NTG-context] Re: textbackground spacing offset

2024-01-31 Thread Marco Patzer
On Thu, 16 Nov 2023 13:52:05 +0100 Marco Patzer wrote: > I'm having problems getting the textbackground spacing offset to work. > Example: > > \setupframedtext > [offset=overlay, >width=max, >depthcorrection=off] > > \setuptextbackground >

[NTG-context] Re: textbackground spacing offset

2024-01-31 Thread Marco Patzer
On Wed, 31 Jan 2024 19:41:02 +0100 Hans Hagen wrote: > >> How do it get the same spacing as in the framedtext case? > > > > Is there a solution to this? Or an explanation why the spacing > > differs? > these are fundamentally different mechanisms .. you can play with > \inframed in the seco

[NTG-context] Re: Best way to input UTF-8

2024-02-18 Thread Marco Patzer
On Sun, 18 Feb 2024 22:12:25 +0530 Shiv Shankar Dayal wrote: > What is the best way to input UTF-8 in LuaMetaTex? “Best” is subjective. What might be a good way for me might not be your preferred way. LuaMetaTex doesn't care at all *how* you input the characters into your text editor. The chara

[NTG-context] Re: Best way to input UTF-8

2024-02-18 Thread Marco Patzer
On Mon, 19 Feb 2024 09:45:03 +0800 黄复雄 wrote: > I recommend you to always show missing font markers in PDF documents > with \replacemissingcharacters Or let context throw an error in case a font/char is missing: %% alternative: %% context --errors='*' \enabledirectives [logs.errors=*]

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Marco Patzer
On Tue, 5 Mar 2024 23:14:04 +0100 Wolfgang Schuster wrote: > Here is the official solution: > > \startxmlsetups xml:meta >\setupmetadata > [author={\xmltext{#1}{/author}}, > title={\xmltext{#1}{/title}}] > \stopxmlsetups So now we have: \setupinteraction [title=FooBar] \setup

[NTG-context] Re: Why is header page number appearing when I define a header?

2024-03-16 Thread Marco Patzer
On Sat, 16 Mar 2024 20:33:33 + (UTC) Joel via ntg-context wrote: > How do I remove the page number from the header texts? \setupheadertexts [] or \setuplayouttext [header][text] [middletext=] Marco _

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Marco Patzer
On Tue, 19 Mar 2024 15:38:16 +0100 Jeroen wrote: > Can this text be placed in the margin in regular text or possibly > in slightly smaller font size compared to the regular text in the > document? \setupmargindata [inleft] [style=\tfx] Marco ___

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 > > When has \shiftup been imp

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] > > \defineenumeration >

[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] [width=\tex

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 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 > > \setbreakpoints [compound] &g

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 wrote: > On 7/2/2016 12:42 PM, Marco Patzer wrote: > > On Thu, 30 Jun 2016 18:23:18 +0200 > > Marco Patzer wrote: > > > >> The following example throws the error: > >> > >> ! error: (nodes): tryin

[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) rsy

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{ > http://brunelleschi.imss.fi.it/galileopalazzostrozzi/object/RegiomontanusJohannesMullerVonKönigsbergAstrolabe.html}[url(http://brunelleschi.imss.fi.it/galileopalazzostrozzi/object/RegiomontanusJohannesMullerVo

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 many setups (e.g. \setupinter

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, >width=6cm, align=tolera

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 ^^ \mainlanguage[de] \setupbodyfont [dejavu]

[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] 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" > luatex-cache/context/HASH/fonts > and

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 wrote: > On 03/09/2017 10:33 AM, Marco Patzer wrote: > > \definefontfamily > > [mainface] > > [rm] > > [Caecilia LT Std Roman] > > %% doesn't work, either > > %% [tf=file:CaeciliaLTSt

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 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-Roman] > > > > Thi

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 the family (i.e. “Caecilia LT St

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 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 LT Std]

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 tex/texmf-cache/luatex-ca

[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} \framed[width=2\measure{myme

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 > > \framed[width=4cm]{Foobar} > > \framed[width=\meas

[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 http://bitbuc

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 ___ If your

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 options ~= ""' in `lua.r

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 > \hairline[color=red

Re: [NTG-context] problem with t-gnuplot.tex

2013-03-21 Thread Marco Patzer
On 2013–03–21 JIN Xiao-Yong wrote: > Using the new beta from context-minimal > > […] > > This happens with context running on a file generated by gnuplot 4.6.1. I > have been using context in the texlive 2012 without any problem. The gnuplot module is broken at the moment. I posted a workaroun

Re: [NTG-context] man pages for ConTeXt: looking for volunteers

2013-03-21 Thread Marco Patzer
On 2013–03–21 Mojca Miklavec wrote: > In preparation of this year's TeX Live release, it would be nice to > also revise man pages a bit. > > Hans just implemented auto-conversion of help into man pages for the > lua scripts. So the options are described as they should be, but if > there are any v

Re: [NTG-context] chapter titles

2013-03-21 Thread Marco Patzer
On 2013–03–21 H. van der Meer wrote: > I would like to put something directly after each chapter number, like so: > > Chapter 5 Title of Chapter > > Is there an option for this? \setuphead? \setupheader? which parameter? http://article.gmane.org/gmane.comp.tex.context/77262 There should be mo

[NTG-context] Framed: Individual background offsets

2013-03-23 Thread Marco Patzer
Hi, how can I set individual offsets for the background, similar to loffset, roffset, etc.? \defineframedtext [foo] [frame=off, offset=none, backgroundoffset=1cm, %% backgroundloffset=1cm, %% there is no backgroundloffset background=screen] \starttext %% backgroundoffset is appl

[NTG-context] [***SPAM***] Re: Framed: Individual background offsets

2013-03-23 Thread Marco Patzer
On 2013–03–23 Wolfgang Schuster wrote: > […] > \startuseMPgraphic{framed:background} > fill unitsquare xyscaled(OverlayWidth,OverlayHeight) leftenlarged 1cm > withcolor \MPcolor{lightgray}; > setbounds currentpicture to OverlayBox ; > \stopuseMPgraphic > […] How about making this configurabl

Re: [NTG-context] userpagenumber

2013-03-26 Thread Marco Patzer
On 2013–03–26 Thomas A. Schmitz wrote: > shouldn't this work? > > \setupuserpagenumber[number=34] I don't know if that's the recommended way, but I set the page number as follows: \setcounter [userpage] [34] Marco signature.asc Description: Digital signature __

[NTG-context] Rebuilding font cache fails

2013-03-26 Thread Marco Patzer
Hi, rebuilding the font cache fails in the latest beta. I didn't check the last few beta, though. mtxrun --script fonts --reload ..beta/tex/texmf-context/scripts/context/lua/mtx-fonts.lua:173: attempt to index global 'arguments' (a nil value) Marco signature.asc Description: Digital signatur

Re: [NTG-context] userpagenumber

2013-03-27 Thread Marco Patzer
On 2013–03–27 Hans Hagen wrote: > (in fact, setting up doublesided should be in setuplayout but i'll > keep that one) Perhaps both locations could be supported for some time. \setuppagenumbering is indeed an awkward place to set up the layout. Marco signature.asc Description: Digital signatur

[NTG-context] List of bugs and quirks

2013-03-27 Thread Marco Patzer
Hi Hans, > maybe after the current is made (which happens sometime within the > next two weeks) > > best make sure that we have no serious bugs (experimental features apart) I think it's better to start a new thread for this issue. I maintain a small list of bugs and quirks which I would like t

Re: [NTG-context] List of bugs and quirks

2013-03-27 Thread Marco Patzer
On 2013–03–27 Hans Hagen wrote: > A potentially incompatible change It's already the second time you warn me about this. Should I be concerned? > ... upto you and wolfgang to check it Actually I used a patched version for months in several projects without issues. I replaced the kern with an hs

Re: [NTG-context] Attach source to pdf

2013-03-28 Thread Marco Patzer
On 2013–03–28 pol stra wrote: > Is there a way to automatically attach the source file to the produced pdf? \setupinteraction [state=start] \starttext \attachment[file=attachfile.tex, title=Some file, author=Me] \stoptext signature.asc Description: Digital signature __

Re: [NTG-context] manual

2013-04-03 Thread Marco Patzer
On 2013–04–03 Meer H. van der wrote: > The latest downloaded ConTeXt manual to be found on my system is: > > ConTeXt reference manual > Hans Hagen, Taco Hoekwater > June 1,2011 > > Is there a more recent one? October 18, 2012: http://wiki.contextgarden.net/Manual_being_revised Marco

[NTG-context] Latest beta breaks LuajitTeX

2013-04-03 Thread Marco Patzer
Hi, the latest beta throws: mtx-context | redirect texlua -> luajittex: luajittex --luaonly "/tmp/luajitbug/newbeta/tex/texmf-linux-64/bin/mtxrun" --script context --jit t --redirected/tmp/luajitbug/newbeta/tex/texmf-linux-64/bin/mtxrun:15230: attempt to index field 'searchers' (a nil valu

Re: [NTG-context] Latest beta breaks LuajitTeX

2013-04-03 Thread Marco Patzer
On 2013–04–03 luigi scarso wrote: > Hans is working on a new beta that (among other things) That's good news. > will fix the issue, in the meanwhile you can try to comment the offending > line . Not necessary, I'll wait for the new beta. Marco signature.asc Description: Digital signature _

Re: [NTG-context] Latest beta breaks LuajitTeX

2013-04-04 Thread Marco Patzer
On 2013–04–03 Hans Hagen wrote: > On 4/3/2013 12:46 PM, Marco Patzer wrote: > >Hi, > > > >the latest beta throws: > > > >mtx-context | redirect texlua -> luajittex: luajittex --luaonly > >"/tmp/luajitbug/newbeta/tex/texmf-linux-64/bin/mtxrun&quo

Re: [NTG-context] Latest beta breaks LuajitTeX

2013-04-04 Thread Marco Patzer
On 2013–04–04 Hans Hagen wrote: > >Indeed, LuajitTeX works, but you broke MkII. The format generation > >already fails: > > > >… > >(/tmp/mkiitest/tex/texmf/metapost/base/string.mp > >(/tmp/mkiitest/tex/texmf-context/metapost/context/base/mp-func.mpii) ) ) > >(end occurred when else on line 5

Re: [NTG-context] Latest beta breaks LuajitTeX

2013-04-04 Thread Marco Patzer
On 2013–04–04 Marco Patzer wrote: > On 2013–04–04 Hans Hagen wrote: > > > >Indeed, LuajitTeX works, but you broke MkII. The format generation > > >already fails: > > > > > >… > > >(/tmp/mkiitest/tex/texmf/metapost/base/string.mp > > &

Re: [NTG-context] markdown: referencing tables

2013-04-10 Thread Marco Patzer
On 2013–04–09 Xenia wrote: > \startmarkdown > Right Left Center Default > --- -- -- --- > 12 121212 > 123 123 123 123 > 1 1 1 1 > > Table: Demonstration of simple table synt

  1   2   3   4   5   6   7   8   >