[NTG-context] Fraktur fonts

2013-06-13 Thread Rudolf Bahr
Hello list members, an only-a-few-days-fan of Context writes to you for the first time. I'm pleased to have found a program closer to TeX and younger than LaTeX. In the last years I used LaTeX for a bigger family project with good success, but experienced some difficulties in arranging

[NTG-context] (forw) Fraktur fonts

2013-06-17 Thread Rudolf Bahr
- Forwarded message from Rudolf Bahr qu...@quasi.de - From: Rudolf Bahr qu...@quasi.de Reply-To: ntg-context@ntg.nl To: ntg-context@ntg.nl Subject: Fraktur fonts Date: Wed, 12 Jun 2013 11:28:12 +0200 Message-ID: 20130612092603.GA1090@mini User-Agent: Mutt/1.5.21 (2010-09-15) Hello list

Re: [NTG-context] Fraktur fonts

2013-06-21 Thread Rudolf Bahr
Hello Luigi, Khaled and Hans, I have to apologize to you for not having written up to now. I simply didn't see your answers. Today, a young woman from the environment of Dante e.V. pointed me to here. She gave me some good advice to the topic too. Thanks a lot to you, now I have to digest your

Re: [NTG-context] underbraces slightly too narrow (with MkIV 2013.05.28)

2013-07-10 Thread Rudolf Bahr
On Wed, Jul 10, 2013 at 02:13:28PM +0200, Marco Patzer wrote: On 2013–07–10 Sanjoy Mahajan wrote: In certain cases, display-mathunderbraces are not quite wide enough. Here's a minimal example: === \starttext \placeformula\startformula \underbrace{15\,\tf

[NTG-context] \startmathcases ... \stopmathcases

2013-10-31 Thread Rudolf Bahr
Hello All! I order to design a genealogical table I found \startmathcases ... \stopmathcases in [1]. It is, what I need, at least partially, with a single left brace adjusting itself in height to the corresponding right text. I know that I'm misusing mathcases as my data are pure text and no

Re: [NTG-context] \startmathcases ... \stopmathcases

2013-10-31 Thread Rudolf Bahr
On Thu, Oct 31, 2013 at 06:27:11PM +0100, Rudolf Bahr wrote: Is there a way to make mathcases more tame (i.e. without there behaviour to be centered) or do you suggest a complete other method? Later in the evening I found Wolfgang's Mail to Vladimir Lomov from Thu May 20 13:04:15 CEST

[NTG-context] \quotation with yfrak-font?

2013-12-22 Thread Rudolf Bahr
In the following minimal example I'd like to get quotation marks around the Nein!, but I don't: \starttext \language[de] \pdfmapline{yfrak yfrak.pfb} \definefont[YfrakFont][yfrak at 11pt] \YfrakFont Zu meinem Vorschlag sagte das:

Re: [NTG-context] \quotation with yfrak-font?

2013-12-25 Thread Rudolf Bahr
On Sun, Dec 22, 2013 at 12:38:58PM +0100, Wolfgang Schuster wrote: Am 22.12.2013 um 11:26 schrieb Rudolf Bahr qu...@quasi.de: In the following minimal example I'd like to get quotation marks around the Nein!, but I don't

Re: [NTG-context] \quotation with yfrak-font?

2013-12-26 Thread Rudolf Bahr
minutes by creating my own \glqq and \grqq. Next time I will strive for a solution with \quotation{...}. Greetings, Rudolf On Thu, Dec 26, 2013 at 02:27:10PM +0600, Henning Hraban Ramm wrote: Am 2013-12-25 um 17:25 schrieb Rudolf Bahr qu...@quasi.de: Nearly all of the hundreds of fraktur

Re: [NTG-context] \quotation with yfrak-font?

2013-12-26 Thread Rudolf Bahr
On Thu, Dec 26, 2013 at 08:49:30PM +0100, Wolfgang Schuster wrote: Have you tried the unifraktur fonts, as you can see on the website the font has features to change the umlauts and also to replace the normal s with the long s. \definefontfamily[mainface][rm][Unifraktur Maguntia]

Re: [NTG-context] \quotation with yfrak-font?

2013-12-26 Thread Rudolf Bahr
On Thu, Dec 26, 2013 at 08:49:30PM +0100, Wolfgang Schuster wrote: This is the answer of my context (version: 2013.05.28 00:36): l.2 \definefontfamily [mainface][rm][Unifraktur Maguntia] ? h The control sequence at the end of the top line of your error

[NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-22 Thread Rudolf Bahr
sides, but it doesn't stop at all at page bottom. Something must be wrong here. But what? Regards, Rudolf Bahr -8 \setuppapersize[A4,landscape] \setuplayout[backspace=27.5mm,topspace=20mm

Re: [NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-23 Thread Rudolf Bahr
On Wed, Jan 22, 2014 at 11:20:45PM +0100, Wolfgang Schuster wrote: Hi Rudolf, what you try doesn’t work because the narrower environment and the list alternative you use try to change the same internal register for the distance from the left margin. What you have to do is to write your

[NTG-context] narrowered columns on background image?

2014-02-12 Thread Rudolf Bahr
Hi All, in the following two code examples I tried to place text in columns on a background image. The first example, partly achieved by plain TeX commands is ok, even narrowering works. Have a look at the attached .pdf file. The second example isn't ok. Neither narrowering nor putting the

Re: [NTG-context] narrowered columns on background image?

2014-02-13 Thread Rudolf Bahr
On Thu, Feb 13, 2014 at 10:52:44AM +0100, Wolfgang Schuster wrote: You have to use boxedcolumns environment because the normal columns environment doesn’t work in a frame. \setupexternalfigures[location={local,global,default}] \starttext

Re: [NTG-context] narrowered columns on background image?

2014-02-14 Thread Rudolf Bahr
On Fri, Feb 14, 2014 at 10:20:18AM +0100, Wolfgang Schuster wrote: On Thu, Feb 13, 2014 at 10:52:44AM +0100, Wolfgang Schuster wrote: Why do you want to use the narrower environment in a frame, when you want to change only the left and right margins you can use the loffset and roffset

[NTG-context] 1. \setupbackgrounds with colours 2. \textwidth = 1.09\textwidth?

2014-02-17 Thread Rudolf Bahr
Hello listmembers, 1. With \setupbackgrounds finally I achieved what I intended (see pdf-file), according to Context reference manual p. 187. But a question remains: Is it a feature of context not to colourize header and footer alone, but only in conjunction with text? 2. In the

Re: [NTG-context] 1. \setupbackgrounds with colours 2. \textwidth = 1.09\textwidth?

2014-02-17 Thread Rudolf Bahr
On Mon, Feb 17, 2014 at 07:38:20PM +0100, Wolfgang Schuster wrote: Am 17.02.2014 um 19:28 schrieb Rudolf Bahr qu...@quasi.de: Hello listmembers, 1. With \setupbackgrounds finally I achieved what I intended (see pdf-file), according to Context reference manual p. 187

Re: [NTG-context] structure Mk II vs IV

2014-02-26 Thread Rudolf Bahr
On Tue, Feb 25, 2014 at 11:48:11PM +0100, Wolfgang Schuster wrote: Am 25.02.2014 um 23:37 schrieb Andrea Valle andrea.va...@unito.it: Ah, so I was a bit mislead by the wiki. Actually I hace this. \usemodule[simplefonts][size=8pt] \definefontfamily [myfamily][serif][TeX Gyre

Re: [NTG-context] different page sizes on one sheet

2014-02-26 Thread Rudolf Bahr
On Wed, Feb 26, 2014 at 03:37:48PM +0100, amerke wrote: hi all, using \setuppaper[nx=2, ny=2] \setuparranging[XY] \showframe[cut=true] \setuppapersize[A4] \starttext \setuppapersize[A6][A4] Page 1. A6 Portrait \input knuth \page Page 2. A6 Portrait \input knuth \page

Re: [NTG-context] different page sizes on one sheet

2014-02-26 Thread Rudolf Bahr
On Wed, Feb 26, 2014 at 03:37:48PM +0100, amerke wrote: hi all, using \setuppaper[nx=2, ny=2] \setuparranging[XY] \showframe[cut=true] \setuppapersize[A4] \starttext \setuppapersize[A6][A4] Page 1. A6 Portrait \input knuth \page Page 2. A6 Portrait \input knuth \page

[NTG-context] Can \doifoddpageelse alter topspace?

2014-04-19 Thread Rudolf Bahr
Hello Contexters, is it possible to alter topspace somehow according to \doifoddpageelse? Or have I to use vertical page lists? I'd need this for composing a doublesided book in landscape mode with binding at the upper edge. Kind regards, Rudolf

Re: [NTG-context] Can \doifoddpageelse alter topspace?

2014-04-19 Thread Rudolf Bahr
On Sat, Apr 19, 2014 at 08:40:59PM +0200, Wolfgang Schuster wrote: Am 19.04.2014 um 19:57 schrieb Rudolf Bahr qu...@quasi.de: Hello Contexters, is it possible to alter topspace somehow according to \doifoddpageelse? Or have I to use vertical page lists? You can define different

[NTG-context] arch linux and ConTeXt

2014-05-13 Thread Rudolf Bahr
Hi Aditya, recently I changed my linux distribution to arch and so I used your arch suggestion to install ConTeXt. Instead of reporting any bugs at the ConTeXt mailing list according to the last sentence it's in my own interest to thank you for your work there! All went well, though one little

[NTG-context] Main or Overall Index of a series of volumes

2014-09-20 Thread Rudolf Bahr
Hello All, just to plan in advance: I'd like to construct a main or overall index out of the indices of a series of rather big volumes with their own page numbering from 1 to (say) 1000. Of course the intended main or overall index should point not only to a page number, but to the

[NTG-context] Hans Hagen: an index entry needs an anchor (Mail Archive 3/19/2014)

2014-11-14 Thread Rudolf Bahr
Hi, LaTeX index command doesn't need an anchor in order to print the page number. Sometimes you can't give the ConTeXt-Command index any anchor. Think of an external figure on a page and nothing else, without any text. When I say, for instance: \index{Brigitte Bardot}\strut I get a correct

Re: [NTG-context] Hans Hagen: an index entry needs an anchor (Mail Archive 3/19/2014)

2014-11-15 Thread Rudolf Bahr
On Fri, Nov 14, 2014 at 11:54:18AM +0100, Hans Hagen wrote: On 11/14/2014 10:24 AM, Rudolf Bahr wrote: Hi, LaTeX index command doesn't need an anchor in order to print the page number. Sometimes you can't give the ConTeXt-Command index any anchor. Think of an external figure on a page

Re: [NTG-context] Adrian Frutiger

2015-10-04 Thread Rudolf Bahr
On Thu, Sep 17, 2015 at 10:32:29AM +0200, luigi scarso wrote: > http://www.linotype.com/720-34866/adrianfrutigerremembered.html > Thank you Luigi for pointing to an interesting article! Rudolf ___ If your question

[NTG-context] superscripts?

2015-12-19 Thread Rudolf Bahr
Hello, using ConTeXt ver: 2015.12.17 15:57 MKIV beta fmt: 2015.12.18 and writing: \starttext \math{a^2 + b^2 = c^2} \stoptext I get "a?2 + b?2 = c?2" as the Pythagoras formula. Please, how should I write it better? Thanks in advance, Rudolf

Re: [NTG-context] imposition with some rotated pages

2017-08-01 Thread Rudolf Bahr
On Sun, Jul 30, 2017 at 08:55:56PM +0200, Pablo Rodriguez wrote: > > The rotated pages in the source PDF document are a problem here. > > Is there any way to have rotation for some pages in the source document > to get the right imposition? With "pdftk" you can rotate some or all pages of a

Re: [NTG-context] image file resolver in Lua?

2018-02-02 Thread Rudolf Bahr
On Fri, Feb 02, 2018 at 04:17:32PM +0100, Henning Hraban Ramm wrote: > Am 2018-02-02 um 12:08 schrieb Rudolf Bahr <qu...@quasi.de>: > > > On Fri, Feb 02, 2018 at 08:40:08AM +0100, Henning Hraban Ramm wrote: > >> Ahoi, > >> > >> I’m using a Lua fu

Re: [NTG-context] image file resolver in Lua?

2018-02-02 Thread Rudolf Bahr
On Fri, Feb 02, 2018 at 08:40:08AM +0100, Henning Hraban Ramm wrote: > Ahoi, > > I’m using a Lua function to calculate image sizes, cropping etc. > This snippet: > > local filename = figures.current().status.fullname > local pic = img.scan{filename = filename} > > ... works most of the time,

Re: [NTG-context] image file resolver in Lua?

2018-02-05 Thread Rudolf Bahr
On Sun, Feb 04, 2018 at 01:06:08PM +0100, Hans Hagen wrote: > On 2/3/2018 7:57 AM, Rudolf Bahr wrote: > > On Fri, Feb 02, 2018 at 04:17:32PM +0100, Henning Hraban Ramm wrote: > > > Am 2018-02-02 um 12:08 schrieb Rudolf Bahr <qu...@quasi.de>: > > > > > >

Re: [NTG-context] Sending data from lua to context and back to lua

2018-02-08 Thread Rudolf Bahr
On Thu, Feb 08, 2018 at 04:26:16PM +0100, Henning Hraban Ramm wrote: > Am 2018-02-08 um 15:34 schrieb Rudolf Bahr <qu...@quasi.de>: > > > On Thu, Feb 08, 2018 at 09:30:48AM +0100, Thomas A. Schmitz wrote: > >> On 02/07/2018 06:39 PM, Rudolf Bahr wrote: > >>&

Re: [NTG-context] Sending data from lua to context and back to lua

2018-02-07 Thread Rudolf Bahr
On Wed, Feb 07, 2018 at 06:39:53PM +0100, Bahr Rudolf wrote: > > Hello Contexteers! > > Sometimes the necessity could arise to send data from lua to context > and answers back to lua. I tried this by using "read" and > "immediate\write" commands in context. These commands are described > in

Re: [NTG-context] Sending data from lua to context and back to lua

2018-02-08 Thread Rudolf Bahr
On Thu, Feb 08, 2018 at 09:30:48AM +0100, Thomas A. Schmitz wrote: > On 02/07/2018 06:39 PM, Rudolf Bahr wrote: > > Sometimes the necessity could arise to send data from lua to context > > and answers back to lua. I tried this by using "read" and > > "

[NTG-context] Sending data from lua to context and back to lua

2018-02-07 Thread Rudolf Bahr
Hello Contexteers! Sometimes the necessity could arise to send data from lua to context and answers back to lua. I tried this by using "read" and "immediate\write" commands in context. These commands are described in chapter 21 and 22 of Donald E. Knuth's "The TeXbook". My question is: Do there

Re: [NTG-context] Google Search in ConTeXt Garden

2018-03-18 Thread Rudolf Bahr
On Sun, Mar 18, 2018 at 01:13:35PM +0100, Pablo Rodriguez wrote: > Dear list, > > when I use Google to search the wiki, such as in: > > http://wiki.contextgarden.net/google/new2.html?q=xmldoifelseempty > > I get the following error message: > > Unauthorized access to internal API. Please

Re: [NTG-context] Welcome to LMTX

2019-04-02 Thread Rudolf Bahr
On Mon, Apr 01, 2019 at 04:55:11PM +0200, Hans Hagen wrote: > http://www.pragma-ade.nl/install.htm > > Of course you should keep your current installation too. We're sure that > there will be issues so when you run into unexpected surprises, you can > blame us ... Hello All, I run

Re: [NTG-context] Welcome to LMTX

2019-04-02 Thread Rudolf Bahr
> > On Mon, Apr 01, 2019 at 04:55:11PM +0200, Hans Hagen wrote: > > > http://www.pragma-ade.nl/install.htm > > > > > /home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate > > --script context --autopdf ABCD-Helmstedt-Lauf.tex > > > > and got: > > > > sh: 1: luametatex: not

Re: [NTG-context] Welcome to LMTX

2019-04-02 Thread Rudolf Bahr
On Tue, Apr 02, 2019 at 11:41:08AM +0200, Hans Hagen wrote: > On 4/2/2019 11:34 AM, Rudolf Bahr wrote: > > > Could it have something to do with the lack of lua5.4 in my PC? lua5.3 and > > lua5.2 > > are installed. > No, there are no such depencies. All is built in

Re: [NTG-context] Welcome to LMTX

2019-04-02 Thread Rudolf Bahr
On Tue, Apr 02, 2019 at 12:50:40PM +0200, Hans Hagen wrote: > i assume that you have an independent install, i.e. not write lmtx over an > existing one .. your bin path should only have > > luametatex > mtxrun -> luametatex > context -> luametatex > mtxrun.lua > context.lua > > nothing more (in

Re: [NTG-context] Welcome to LMTX

2019-04-02 Thread Rudolf Bahr
On Tue, Apr 02, 2019 at 12:11:00PM +0200, Thomas A. Schmitz wrote: > On 02.04.19 11:34, Rudolf Bahr wrote: > > whereis mtxrun gives: > > mtxrun: /home/sam/context/tex/texmf-linux-64/bin/mtxrun > > > > whereis context gives: > > context: /usr/local/context /home/s

Re: [NTG-context] Welcome to LMTX

2019-04-02 Thread Rudolf Bahr
On Tue, Apr 02, 2019 at 01:38:15PM +0200, Hans Hagen wrote: > > > > "ls -l ./context-lmtx/tex/texmf-linux-64/bin/" gives the following: > > > > lrwxrwxrwx 1 sam sam 10 Apr 2 09:15 context -> luametatex > > -rw-r--r-- 1 sam sam1315 Apr 2 09:15 context.lua > > -rwxr--r-- 1 sam sam

Re: [NTG-context] Welcome to LMTX

2019-04-02 Thread Rudolf Bahr
On Tue, Apr 02, 2019 at 01:43:09PM +0200, Mojca Miklavec wrote: > Off-list: please try to remove the old/regular installation from path, > just for the test; it's probably interfering and you get one > executable from one path and the other one from another. Success! Yes, both executables must

Re: [NTG-context] When newsizing an external figure by [width=], what will be its height in pt and viceversa?

2019-02-24 Thread Rudolf Bahr
On Sun, Feb 24, 2019 at 07:38:42AM +0900, Jeong Dal wrote: > Dear Rudolf, > > It is working for me. > Using my figure, I got > (45126287sp,31048991sp) > > (1372,944) > > > As Hans said, either change ~ to some path or set the directory of > externalfigure. > > Best regards, > > Dalyoung

Re: [NTG-context] When newsizing an external figure by [width=], what will be its height in pt and viceversa?

2019-02-27 Thread Rudolf Bahr
On Wed, Feb 27, 2019 at 09:55:07AM +0100, Henning Hraban Ramm wrote: > Am 2019-02-24 um 09:11 schrieb Rudolf Bahr : > > > Yes, "~" was the reason for my failure. Its use seems to be linux specific > > only. > > No, it’s not Linux specific, but ConT

[NTG-context] When newsizing an external figure bei [width=], what will be its height in pt and viceversa?

2019-02-19 Thread Rudolf Bahr
Hi All, from an external figure I normally know its width and height in px. But I don't know its exact sizes in pt. When newsizing the figure in a document (by the same width-to-height-ratio), I'll do that as some part of textwidth or textheight, in pt or mm, but not in px, i.e. by means of

Re: [NTG-context] When newsizing an external figure bei [width=], what will be its height in pt and viceversa?

2019-02-22 Thread Rudolf Bahr
On Tue, Feb 19, 2019 at 10:48:38AM +0100, Bahr Rudolf wrote: > Hi All, > > from an external figure I normally know its width and height in px. > But I don't know its exact sizes in pt. When newsizing the figure > in a document (by the same width-to-height-ratio), I'll do that as > some part of

Re: [NTG-context] When newsizing an external figure bei [width=], what will be its height in pt and viceversa?

2019-02-23 Thread Rudolf Bahr
On Fri, Feb 22, 2019 at 12:59:55PM +0100, Peter Münster wrote: > On Fri, Feb 22 2019, Rudolf Bahr wrote: > > > The picture sizes in px One gets by invoking for instance graphics Magick's > > identify > > in a lua program: > > Or just img.scan(): > > \sta

Re: [NTG-context] externalfigure broken with 20190222 beta

2019-02-23 Thread Rudolf Bahr
On Sat, Feb 23, 2019 at 11:10:42AM -0500, Rik Kabel wrote: > With the following example, I get: > >...eXt/tex/texmf-context/tex/context/base/mkiv/grph-inc.lua:238: attempt > to call upvalue 'imgwrap' (a nil value) > > with the current (20190222) beta. > >

Re: [NTG-context] When newsizing an external figure bei [width=], what will be its height in pt and viceversa?

2019-02-23 Thread Rudolf Bahr
On Sat, Feb 23, 2019 at 11:56:32AM +0100, Hans Hagen wrote: > On 2/23/2019 11:08 AM, Rudolf Bahr wrote: > > On Fri, Feb 22, 2019 at 12:59:55PM +0100, Peter Münster wrote: > > > On Fri, Feb 22 2019, Rudolf Bahr wrote: > > > > > > > The picture sizes in px One

[NTG-context] Article on: How to install a font in ConTeXt?

2019-02-17 Thread Rudolf Bahr
Yesterday I got dante's revue and read Taco Hoekwater's article translated into German by Henning Hraban Ramm: "dante, Die TEXnische Komödie, 1/2019: 'Wie installiere ich eine Schrift für ConTeXt?'" Many thanks to both, its really good and thoroughly written! Rudolf

[NTG-context] [OT] rasperry 4

2019-06-25 Thread Rudolf Bahr
On Tue, Jun 25, 2019 at 10:15:29AM +1200, Henri Menke wrote: > On 25/06/19 12:30 AM, luigi scarso wrote: > > just seen > > https://www.raspberrypi.org/products/raspberry-pi-4-model-b/ > > > > I would like to know your impressions > > Does it still need proprietary binary blobs in the kernel?

Re: [NTG-context] [OT] rasperry 4

2019-06-25 Thread Rudolf Bahr
On Tue, Jun 25, 2019 at 03:33:00PM +0200, luigi scarso wrote: > On Tue, Jun 25, 2019 at 3:31 PM Rudolf Bahr wrote: > > > On Tue, Jun 25, 2019 at 10:15:29AM +1200, Henri Menke wrote: > > > On 25/06/19 12:30 AM, luigi scarso wrote: > > > > just seen > > &

[NTG-context] Strange behavior concerning pdf-output of .png-externalfigures

2019-05-21 Thread Rudolf Bahr
On Thu, May 16, 2019 at 02:40:07PM +0200, Hans Hagen wrote: > On 5/16/2019 12:21 PM, Rudolf Bahr wrote: > > The problem with artefacts in .png images is still unsolved for me. > > I can circumvent it by using .jpg or .tiff images instead of .png images > > as long as

Re: [NTG-context] https://wiki.contextgarden.net/Fraktur_fonts

2019-05-22 Thread Rudolf Bahr
On Wed, May 22, 2019 at 07:40:12PM +0200, Willi Egger wrote: > Hi Rudolf, > > I looked at your work on the wiki. It looks very nice, well-structured. > > I wanted to try to upload the pictures. However if I understand the help > correctly, then one needs privileges to upload files? > > Kind

Re: [NTG-context] Strange behavior concerning pdf-output of .png-externalfigures

2019-05-23 Thread Rudolf Bahr
On Tue, May 21, 2019 at 10:07:01AM +0200, Hans Hagen wrote: > On 5/17/2019 10:23 AM, Rudolf Bahr wrote: > > > > On Thu, May 16, 2019 at 02:40:07PM +0200, Hans Hagen wrote: > > > On 5/16/2019 12:21 PM, Rudolf Bahr wrote: > > > > The problem with artefacts in

Re: [NTG-context] Strange behavior concerning pdf-output of externalfigures

2019-05-16 Thread Rudolf Bahr
The problem with artefacts in .png images is still unsolved for me. I can circumvent it by using .jpg or .tiff images instead of .png images as long as no transparent areas in the images are needed. As far as I know .jpg and .tiff formats cannot handle transparancy, do they? Now in .log files

Re: [NTG-context] Strange behavior concerning pdf-output of externalfigures

2019-04-29 Thread Rudolf Bahr
On Mon, Apr 29, 2019 at 10:52:59AM +0200, Bahr Rudolf wrote: > On Sun, Apr 28, 2019 at 11:12:43PM +0200, Hans Hagen wrote: > > On 4/28/2019 8:10 PM, Rudolf Bahr wrote: > > > > > > Dear list, > > > > > > I'm getting unexplainable art

Re: [NTG-context] Strange behavior concerning pdf-output of externalfigures

2019-04-29 Thread Rudolf Bahr
On Sun, Apr 28, 2019 at 11:12:43PM +0200, Hans Hagen wrote: > On 4/28/2019 8:10 PM, Rudolf Bahr wrote: > > > > Dear list, > > > > I'm getting unexplainable artefacts in the pdf-output. > > > > My MWE is: > > > > -- > >

Re: [NTG-context] How to write a wiki page?

2019-05-01 Thread Rudolf Bahr
On Wed, May 01, 2019 at 04:51:11PM +0200, Henning Hraban Ramm wrote: > Am 2019-04-30 um 13:12 schrieb Rudolf Bahr : > > > When will next issue of ConTeXt journal be published? Could you send your > > article > > to me in advance? > > Should have been published

Re: [NTG-context] Strange behavior concerning pdf-output of externalfigures

2019-04-30 Thread Rudolf Bahr
On Mon, Apr 29, 2019 at 04:32:07PM -0600, Alan Braslau wrote: > On Mon, 29 Apr 2019 13:18:04 +0200 > Hans Hagen wrote: > > > anyway, as the png test suite passes ok the question is what makes your > > image different ... here it looks ok when included on windows64 bit and > > linux 64 bit > >

Re: [NTG-context] Strange behavior concerning pdf-output of externalfigures

2019-04-29 Thread Rudolf Bahr
On Mon, Apr 29, 2019 at 01:18:04PM +0200, Hans Hagen wrote: > On 4/29/2019 10:52 AM, Rudolf Bahr wrote: > > > Sorry, but even after updating to > > ConTeXt ver: 2019.04.29 09:02 MKIV beta fmt: 2019.4.29 > > I'm experiencing the same artefacts as before. > > >

Re: [NTG-context] How to write a wiki page?

2019-04-29 Thread Rudolf Bahr
On Mon, Apr 29, 2019 at 05:55:14PM +0200, Henning Hraban Ramm wrote: > Hi Rudolf, > > it’s a wiki, i.e. you write directly into the system. > You’re welcome to announce the new page here, then someone can look over it. > > First you need to register an account: >

Re: [NTG-context] How to write a wiki page?

2019-04-30 Thread Rudolf Bahr
On Mon, Apr 29, 2019 at 05:07:06PM +0200, Willi Egger wrote: > Hello Rudolf, > > the ConTeXt wiki kan be extended by everybody. What you should do is make > your account and then you can start. > > I would be glad to be involved in this page, because I have written an > article, which will be

[NTG-context] https://wiki.contextgarden.net/Special:Upload

2019-05-08 Thread Rudolf Bahr
When trying to upload an image I get following error message: "Could not open lock file for "mwstore://local-backend/local-public/c/c2/wiki-yfrak-mtxrun-pattern.png". Make sure your upload directory is configured correctly and your web server has permission to write to that directory." I have

Re: [NTG-context] Error concerning "pdfmapline"

2019-04-19 Thread Rudolf Bahr
On Fri, Apr 19, 2019 at 09:19:24AM +0200, Hans Hagen wrote: > On 4/18/2019 8:37 PM, Wolfgang Schuster wrote: > > > 2. Use a font in Truetype/Opentype format: > > http://unifraktur.sourceforge.net/ > Which is actually a quite nice and even readable fraktur. > > Hans Yes, perhaps. In the next

Re: [NTG-context] Error concerning "pdfmapline"

2019-04-18 Thread Rudolf Bahr
On Tue, Apr 16, 2019 at 01:54:21PM +0200, Hans Hagen wrote: > On 4/16/2019 12:04 PM, Rudolf Bahr wrote: > > Hello All! > > > > Using: > > LuaMetaTeX, Version 2.00.0 > > ConTeXt ver: 2019.04.13 17:25 MKIV beta fmt: 2019

[NTG-context] Strange behavior concerning pdf-output of externalfigures

2019-04-28 Thread Rudolf Bahr
Dear list, I'm getting unexplainable artefacts in the pdf-output. My MWE is: -- \starttext \externalfigure [input.png] [width=100mm] \stoptext -- I append the output "MWE.pdf" and the input-figure "input.png" for comparison. I'm experiencing the

Re: [NTG-context] Error concerning "pdfmapline"; Fraktur font to use in ConTeXt lmtx

2019-04-22 Thread Rudolf Bahr
On Fri, Apr 19, 2019 at 09:22:03PM +0200, Bahr Rudolf wrote: > On Fri, Apr 19, 2019 at 09:19:24AM +0200, Hans Hagen wrote: > > On 4/18/2019 8:37 PM, Wolfgang Schuster wrote: > > > > > 2. Use a font in Truetype/Opentype format: > > > http://unifraktur.sourceforge.net/ > > Which is actually a quite

Re: [NTG-context] Fraktur font to use in ConTeXt lmtx

2019-04-23 Thread Rudolf Bahr
On Mon, Apr 22, 2019 at 11:48:43PM +0200, Henning Hraban Ramm wrote: > Am 2019-04-22 um 15:26 schrieb Rudolf Bahr : > > > I'd enjoy making a wiki page. Do we have a program to print caracter code > > tables > > or font tables? If not, I'd use a bundle of single \char com

[NTG-context] How to write a wiki page?

2019-04-24 Thread Rudolf Bahr
Hello All! I'd like to write a wiki page on special Fraktur fonts, but I don't know how to begin technically. Are there rules? Certanly, but where? To whom would I send the result to correct it with respect to format, ConTeXt commands, English language, bringing it into the ConTeXt wiki and

[NTG-context] Error concerning "pdfmapline"

2019-04-16 Thread Rudolf Bahr
Hello All! Using: LuaMetaTeX, Version 2.00.0 ConTeXt ver: 2019.04.13 17:25 MKIV beta fmt: 2019.4.15 with following MWE: -- \pdfmapline {yfrak unsupported cs \pdfmapline mtx-context | fatal error: return code: 256 I'm using the above

Re: [NTG-context] Error concerning "pdfmapline"; Fraktur font to use in ConTeXt lmtx

2019-04-22 Thread Rudolf Bahr
> > In the meantime I had a look at different Fraktur fonts. Both suggested > > fonts [1] > > and [2] were not acceptable to me for various reasons. > > > > [1] has no gaps between words and many other errors. Horrible. > > Afaiks that font is rather bugged indeed. I tried it, even made sure

[NTG-context] Moving horizontally a whole ensemble of layers in the same run?

2019-12-17 Thread Rudolf Bahr
Hi Hans, assume we fixed between "\definelayer" and "\flushlayer" a whole ensemble of layers on a page. And by calculating per luacode we determined the leftmost and the rightmost edge of the ensemble and would now like to horizontally centre the ensemble. We don't know the rightmost edge before

Re: [NTG-context] "error not related to input file"

2019-12-16 Thread Rudolf Bahr
On Sat, Dec 14, 2019 at 10:31:20PM +0100, Hans Hagen wrote: > On 12/14/2019 5:43 PM, Rudolf Bahr wrote: > > > > Hello All, > > > > In: > > LuaMetaTeX, Version 2.03.3 > > ConTeXt ver: 2019.12.12 19:35 MKIV beta fmt: 2019.12.12 int: > > english/

[NTG-context] "error not related to input file"

2019-12-14 Thread Rudolf Bahr
Hello All, In: LuaMetaTeX, Version 2.03.3 ConTeXt ver: 2019.12.12 19:35 MKIV beta fmt: 2019.12.12 int: english/english I get the following error message: tex error > error not related to input file: tex error > tex: ! Emergency stop tex error > lua: ? tex error >

Re: [NTG-context] "error not related to input file"

2019-12-14 Thread Rudolf Bahr
On Sat, Dec 14, 2019 at 05:43:45PM +0100, Bahr Rudolf wrote: > > Hello All, > > In: > LuaMetaTeX, Version 2.03.3 > ConTeXt ver: 2019.12.12 19:35 MKIV beta fmt: 2019.12.12 int: > english/english > I get the following error message: > > tex error > error not related to input file: >

Re: [NTG-context] LMTX distorts PDF aspect

2019-10-19 Thread Rudolf Bahr
On Sat, Oct 19, 2019 at 12:07:03PM +0200, Pablo Rodriguez wrote: > Dear list, > > using the document attached to this message with the following sample > gives different outputs: > > \setuppapersize[A3, landscape] > \starttext > \externalfigure[fc-first.pdf] > \stoptext > > 1.

Re: [NTG-context] \ctxlua and \startluacode ... \stopluacode

2019-10-16 Thread Rudolf Bahr
On Tue, Oct 15, 2019 at 10:15:34AM +0200, Hans Hagen wrote: > On 10/15/2019 10:04 AM, Taco Hoekwater wrote: > > Hi Rudolf, > > > > > On 15 Oct 2019, at 00:50, Rudolf Bahr wrote: > > > > > > Now to your suggestion not to use "assert ()". Inde

Re: [NTG-context] \ctxlua and \startluacode ... \stopluacode

2019-10-14 Thread Rudolf Bahr
On Mon, Oct 14, 2019 at 09:26:58PM +0200, Taco Hoekwater wrote: > Hi, > > > On 14 Oct 2019, at 21:08, Rudolf Bahr wrote: > > > > > > 2. But in the case of an not existing file (BBB.lua) the known error > > message comes up > > again: > > &qu

Re: [NTG-context] Luacode: Data File to Table

2019-10-24 Thread Rudolf Bahr
On Thu, Oct 24, 2019 at 05:11:50PM +0200, Taco Hoekwater wrote: > Here is the problem: > > > context ( 'function Rosi(): b.smrk = ', b.smrk ) > > > That should be: > >context ( 'function Rosi(): b.smrk = ' .. b.smrk ) > > since the context() function does

[NTG-context] Luacode: Data File to Table

2019-10-24 Thread Rudolf Bahr
Hi All! LuaMetaTeX, Version 2.00.0 ConTeXt ver: 2019.10.10 18:15 MKIV beta fmt: 2019.10.19 int: english/english I'd like to transfer the entries in a data file to a Lua table according to [1]. Here a MWE of my data file, appended as file Rosi.lua: -- Rosi{ smrk

Re: [NTG-context] LMTX distorts PDF aspect

2019-10-19 Thread Rudolf Bahr
On Sat, Oct 19, 2019 at 07:40:32PM +0200, Bahr Rudolf wrote: > On Sat, Oct 19, 2019 at 12:07:03PM +0200, Pablo Rodriguez wrote: > > Dear list, > > > > using the document attached to this message with the following sample > > gives different outputs: > > > > \setuppapersize[A3, landscape] > >

[NTG-context] ConTeXt HTML

2019-10-19 Thread Rudolf Bahr
Hi, thank you! Installing ConTeXt HTML from "pragma-ade.nl/install.htm" (64 bit Linux) works now! Rudolf ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] mtxrun --generate: "warning: no lua configuration files found"

2019-10-17 Thread Rudolf Bahr
Hi All, after a new First-setup from "https://www.contextgarden.net/First-setup; I added new fonts to "~/context/tex/texmf-local/fonts", then run: "mtxrun --generate" and got "resolvers | resolving | warning: no lua configuration files found" Please, what is to be done in this case?

Re: [NTG-context] mtxrun --generate: "warning: no lua configuration files found"

2019-10-17 Thread Rudolf Bahr
On Thu, Oct 17, 2019 at 05:21:27PM +0200, Hans Hagen wrote: > On 10/17/2019 5:02 PM, Rudolf Bahr wrote: > > > > Hi All, > > > > after a new First-setup from "https://www.contextgarden.net/First-setup; > > I added new fonts to "~/context/tex/texmf-loca

Re: [NTG-context] mtxrun --generate: "warning: no lua configuration files found"

2019-10-17 Thread Rudolf Bahr
On Thu, Oct 17, 2019 at 06:23:23PM +0200, Hans Hagen wrote: > On 10/17/2019 5:40 PM, Rudolf Bahr wrote: > > > > On Thu, Oct 17, 2019 at 05:21:27PM +0200, Hans Hagen wrote: > > > On 10/17/2019 5:02 PM, Rudolf Bahr wrote: > > > > > > > > Hi All, >

[NTG-context] Exchangeing content of variables between luacode and context

2019-11-19 Thread Rudolf Bahr
Hello All! To send variable contents from context to luacode I can put them into the function invocation or use 'tokens.getters.macro("TestA")', an interesting and very nice possibility to let luacode itself getting contents of context macros. The (only?) way back, from luacode to context, could

Re: [NTG-context] Exchangeing content of variables between luacode and context

2019-11-20 Thread Rudolf Bahr
On Wed, Nov 20, 2019 at 09:24:44AM +0100, Hans Hagen wrote: > you can store info in the tuc file (there are examplex on the wiki and in > the test suite) or you cam create a table, save it at the end of the run and > load it at the start > > (assuming that you cannot just recalculate the values

Re: [NTG-context] Exchangeing content of variables between luacode and context

2019-11-19 Thread Rudolf Bahr
On Tue, Nov 19, 2019 at 04:55:15PM +0100, Wolfgang Schuster wrote: > > Can you make a minimal example of your actual problem. No, sorry, I can't. My 'actual problem' is more or less a design problem: Should in a book project ConTeXt be the master and Luacode the slave or vice versa? Both seems

Re: [NTG-context] passing variables/data between context and lua

2019-10-05 Thread Rudolf Bahr
> A solution which uses only existing commands in the document. > > \startsetups [martin] > \startlua > local points = tonumber(\getvariable{martin}{question}) or 0 ; > points = points * 92 ; > local answer = 42 ; >

Re: [NTG-context] passing variables/data between context and lua

2019-10-08 Thread Rudolf Bahr
On Sun, Oct 06, 2019 at 10:44:12PM +0200, Wolfgang Schuster wrote: > While it is true that you're free to choose the name for the keys there are > two keys with a special meaning, these two keys are "reset" and "set". The > value of the "reset" key is used before the values in \setvariables are

Re: [NTG-context] passing variables/data between context and lua

2019-10-08 Thread Rudolf Bahr
On Tue, Oct 08, 2019 at 08:55:30AM -0400, Aditya Mahajan wrote: > So, everytime \setvariables is call, the value of the `set` key is executed. Hello Aditya, this is the key sentence to understand better what "reset" and "set" are good for! I had to read your explanation thrice :-) and run

Re: [NTG-context] PDF viewer poll

2019-10-13 Thread Rudolf Bahr
On Sun, Oct 13, 2019 at 12:43:14PM +0200, Henning Hraban Ramm wrote: > Hi, I’d like to update my list of (usable!) PDF viewers. > Which one do you use? (Current version?) > What are its pros and cons? > Is it free (open source, freeware)? > Does it work on Win/Lin/Mac? > Does it have a localized

Re: [NTG-context] \ctxlua and \startluacode ... \stopluacode

2019-10-14 Thread Rudolf Bahr
On Mon, Oct 14, 2019 at 07:19:53PM +0200, Hans Hagen wrote: > On 10/14/2019 6:50 PM, Rudolf Bahr wrote: > > THis MWE must be faulty, but where is the error? > > > > > > > > \startluacode > > > >

[NTG-context] \ctxlua and \startluacode ... \stopluacode

2019-10-14 Thread Rudolf Bahr
Dear List! THis MWE must be faulty, but where is the error? \startluacode userdata = userdata or {} function userdata.file_exists (name) local name = name local f= assert ( io.open ( name, "r" )) if f then f:close ()

Re: [NTG-context] Moving horizontally a whole ensemble of layers in the same run?

2019-12-18 Thread Rudolf Bahr
On Tue, Dec 17, 2019 at 07:30:49PM +0100, Hans Hagen wrote: > you need to make a MWE to show what you mean > > normally > > \hbox to {\hss\hss} > > is good enough for centering Here is my MWE. Think of a photo album. To make it interesting the pages should all be different. To this purpose

Re: [NTG-context] Moving horizontally a whole ensemble of layers in the same run?

2019-12-18 Thread Rudolf Bahr
On Wed, Dec 18, 2019 at 06:13:51PM +0100, Wolfgang Schuster wrote: > Rudolf Bahr schrieb am 18.12.2019 um 15:13: > > On Tue, Dec 17, 2019 at 07:30:49PM +0100, Hans Hagen wrote: > > > > > you need to make a MWE to show what you mean > > > > > >

  1   2   >