Re: [NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Peter Rolf
Am 27.05.2020 um 17:46 schrieb Wolfgang Schuster: > Hans Hagen schrieb am 27.05.2020 um 17:39: >> On 5/27/2020 5:30 PM, Wolfgang Schuster wrote: >>> Peter Rolf schrieb am 27.05.2020 um 16:38: >>>> Hi, >>>> >>>> this used to work, but wants a d

[NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Peter Rolf
Hi, this used to work, but wants a dimension now \starttext \rotate[rotation=-0.2]{Rotation} \stoptext No such problems with integer rotation numbers. Peter T:\tmp>context --version mtx-context | ConTeXt Process Management 1.03 mtx-context | mtx-context | main context file:

Re: [NTG-context] Color Profiles in lmtx

2020-02-13 Thread Peter Rolf
Am 12.02.2020 um 17:15 schrieb Jan U. Hasecke: > Am 12.02.20 um 11:09 schrieb Peter Rolf: > >>> I get this in my logs >>> >>> backend > profiles > profile specification 'ISO Coated v2 300% >>> (ECI)' loaded from >>> '/home/

Re: [NTG-context] Color Profiles in lmtx

2020-02-12 Thread Peter Rolf
Am 12.02.2020 um 09:41 schrieb juh: > Hi all, > > again I have a question concerning color profiles. > > I have this to load the ISO Coated v2 300% profile. > > \setupbackend[ >format=PDF/X-3:2003, >intent={ISO Coated v2 300\letterpercent\space (ECI)}, >] > >

Re: [NTG-context] issues with \attachment when specifying name

2020-02-08 Thread Peter Rolf
Am 08.02.2020 um 09:31 schrieb Pablo Rodriguez: > Hi Peter, > > here you have a minimal sample with file name changed inside the > attachment command: > >\setupinteraction[state=start] > \starttext > an attachment\attachment[file=secret-name.pdf, > type={application/pdf}, >

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-08 Thread Peter Rolf
Am 07.02.2020 um 22:37 schrieb Hans Hagen: > On 2/7/2020 9:55 PM, Pablo Rodriguez wrote: >> On 2/7/20 9:19 PM, Rik Kabel wrote: >>> >>> On 2/7/2020 14:46, Pablo Rodriguez wrote: many thanks for having fixed the issues with attachments (in latest beta from 2020.02.07 18:36). I

[NTG-context] overlay problem (beta 31.12.2019)

2020-01-02 Thread Peter Rolf
Hi Hans There is a small problem with overlays. %- \starttext \defineoverlay[foo][{\blackrule[color=black,width=20mm,height=20mm]}]% \framed[background=foo,strut=no,offset=overlay]%{\blackrule[color=white,width=16mm,height=16mm]} \stoptext %- The inner square should be centered. Peter

Re: [NTG-context] Transparency in PNGs becomes black in PDF/X

2019-12-20 Thread Peter Rolf
Hi Hraban, PDF/X-1a:2001 doesn't support transparency. You have to use PDF/X-4(p) for that (the first X variant that supports transparency). PDF/A-2|3 may also be an option. These formats also support transparency. Peter Am 19.12.2019 um 21:49 schrieb Henning Hraban Ramm: > I think this is

Re: [NTG-context] PDF/A-3a attachment support query

2019-12-07 Thread Peter Rolf
Am 06.12.2019 um 16:56 schrieb Hans Hagen: > On 12/6/2019 4:21 PM, Peter Rolf wrote: >> Hi Rik, >> >> I guess it's not supported yet. >> >> In "lpdf-fmt.lua" it says: >> [..] >>     ["pdf/a-3a"] = { -- untested; NEW: any

Re: [NTG-context] PDF/A-3a attachment support query

2019-12-06 Thread Peter Rolf
Hi Rik, I guess it's not supported yet. In "lpdf-fmt.lua" it says: [..] ["pdf/a-3a"] = { -- untested; NEW: any type of attachment is allowed [..] I remember adding the "a-2a" and "a-3a" versions back when Hans and I added experimental support for "PDF/UA-1" (which is based on "PDF/A-3a",

Re: [NTG-context] issue with JavaScript in Acrobat

2019-10-07 Thread Peter Rolf
Hi Pablo Nearly no experience with JavaScript, no working Acrobat version installed (no testing possible). So take the following with a grain of salt... I guess it's just the too small call interval of the "step_clock" function. Calling it a thousand times per second doesn't seem to work. If the

Re: [NTG-context] background problem with layers

2019-07-23 Thread Peter Rolf
Am 22.07.2019 um 19:00 schrieb Wolfgang Schuster: > Peter Rolf schrieb am 22.07.2019 um 13:32: >> Hi, >> >> I have a problem with a not printed color background when using layers. >> Small test file is attached. > Below is a simpler example of your problem. > >

[NTG-context] background problem with layers

2019-07-22 Thread Peter Rolf
Hi, I have a problem with a not printed color background when using layers. Small test file is attached. ConTeXt version: 2019.07.16 18:23 Peter test.pdf Description: Adobe PDF document \defineframed[framedclass][ foregroundcolor=black, foregroundstyle=\bfa,

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-11 Thread Peter Rolf
Am 10.07.2019 um 21:29 schrieb Wolfgang Schuster: > Sanjoy Mahajan schrieb am 10.07.2019 um 04:15: >> Dear List, >> >> Warning: The following may be a bug or feature or just my >> misunderstanding!  It seems that parentheses cause trouble in >> references. > Braces are used for the argument of

Re: [NTG-context] [DKIM Failure] Re: reference containing parentheses causes trouble

2019-07-10 Thread Peter Rolf
Am 10.07.2019 um 13:36 schrieb Sanjoy Mahajan: > On 2019-07-10 13:04, Peter Rolf wrote: > >> Hi Sanjoy, >> >> I think it's just the 'normal' limitations you have when setting a >> variable/id name. Special characters, like parenthesis, are not allowed >> here.

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-10 Thread Peter Rolf
Hi Sanjoy, I think it's just the 'normal' limitations you have when setting a variable/id name. Special characters, like parenthesis, are not allowed here. Even whitespace can be problematic. Yesterday I had a problem with a reference (data driven) that has a trailing space (obviously a typo).

Re: [NTG-context] Fwd: Re: Already new binaries?

2019-04-14 Thread Peter Rolf
Am 14.04.2019 um 15:44 schrieb Hans Hagen: > Hi, > > Forwarded ... gmx.* mail accounts bounce here (always have) so i cc to > the list. > > > Forwarded Message > Subject: Re: Already new binaries? > Date: Sun, 14 Apr 2019 15:25:02 +0200 > From

Re: [NTG-context] luatex crash around page 1000

2019-04-12 Thread Peter Rolf
Am 12.04.2019 um 07:36 schrieb Akira Kakuto: >> mtx-context | fatal error: return code: -1073741571 > > I suspect that may be a limitation in 32bit binary. > Try to install 64bit ConTeXt if you are using 32bit one > and your OS is 64bit. > I'm already on 64bit, so that won't help here. The

[NTG-context] luatex crash around page 1000

2019-04-11 Thread Peter Rolf
Hi, I have a compilation problem with a data driven document. This is what I get after around 12min (first run)... [..] pages > flushing realpage 991, userpage 970, subpage 991 pages > flushing realpage 992, userpage 971, subpage 992 pages > flushing realpage 993,

Re: [NTG-context] Drops Module

2018-12-13 Thread Peter Rolf
Hi Aditya, thanks for the hint. I run into the same problem some time ago (also uploaded a new version). Sadly no final fix, because I had a naming problem (number part) with luajit some days later. The current (local) version works so far, but is a bit hackish (no time for a clean solution).

Re: [NTG-context] Issues with RGB to CMYK conversion with color profiles (was: Colormanagement)

2018-11-14 Thread Peter Rolf
Am 2018-11-14 um 15:36 schrieb Jan U. Hasecke: > Thanks a lot, Peter. > > Am 14.11.18 um 14:58 schrieb Peter Rolf: >> Hi Jan, >> >> I donno if things have changed (ConTeXt is a fast moving target), so >> take my answers with a grain of salt. >> >> (1)

Re: [NTG-context] Issues with RGB to CMYK conversion with color profiles (was: Colormanagement)

2018-11-14 Thread Peter Rolf
Hi Jan, I donno if things have changed (ConTeXt is a fast moving target), so take my answers with a grain of salt. (1) AFAIK there is no ACTIVE color management in ConTeXt in the sense that there is an automatic color conversion from one profiled(!) colorspace into another profiled color space.

Re: [NTG-context] index problem with \setupcolumnset

2018-11-10 Thread Peter Rolf
Am 2018-11-10 um 13:00 schrieb Peter Rolf: > Hi Wolfgang, > > thanks for the info. I will download the new manual right now. > Mh, already on my RAM disk :D I tend to ignore the shipped documentation. My bad. > > Best wishes, Peter > > Am 2018-11-10 um 12:03 s

Re: [NTG-context] index problem with \setupcolumnset

2018-11-10 Thread Peter Rolf
the old code with > \usemodule[old-columnsets]. > > How you can apply backgrounds per column with the new code is shown in a > example in the manual. > > Wolfgang > > > Peter Rolf schrieb am 09.11.18 um 17:23: >> Hi, >> >> I run into this error after updati

[NTG-context] index problem with \setupcolumnset

2018-11-09 Thread Peter Rolf
Hi, I run into this error after updating my ConTeXt version. Small (but not minimal) example attached. mtx-context | current version: 2018.10.18 00:07 Peter \startuniqueMPgraphic{column:bg} fill OverlayBox withcolor yellow; \stopuniqueMPgraphic

Re: [NTG-context] issue with external image and PDF/A-3a

2017-10-10 Thread Peter Rolf
Am 05.10.2017 um 22:40 schrieb Pablo Rodriguez: > On 10/05/2017 09:05 PM, luigi scarso wrote: >> On Thu, Oct 5, 2017 at 8:18 PM, Pablo Rodriguez wrote: >>> [...] >>> Well, this is a minimal sample, but my real document is much bigger. Is >>> there any way to convert the stream to something that

Re: [NTG-context] ICC profiles in the ConTeXt Suite?

2017-08-27 Thread Peter Rolf
Am 27.08.2017 um 21:49 schrieb Pablo Rodriguez: > On 08/27/2017 08:23 PM, Peter Rolf wrote: >> Am 27.08.2017 um 19:24 schrieb Pablo Rodriguez: >>> [...] >>> Since we have ICC profiles in the ConTeXt Garden >>> (http://wiki.contextgarden.net/PDFX#ICC_profiles,

Re: [NTG-context] ICC profiles in the ConTeXt Suite?

2017-08-27 Thread Peter Rolf
Hi Pablo, Am 27.08.2017 um 19:24 schrieb Pablo Rodriguez: > Dear Mojca, > > [I beg your pardon, if you aren’t the maintainer of the ConTeXt Suite > distribution. In that case I address this message to whom it might > concern :-).] > > After reading some messages about PDF/A and PDF/X, I

Re: [NTG-context] PDF/X-1a(2001) ourput.

2017-08-26 Thread Peter Rolf
Hi John, Am 25.08.2017 um 23:47 schrieb John Culleton: > I need to have context generate the above format. Any hints? > ConTeXt is also shipped with some PDF/A|X|UA test files. Written mainly as a simple functionality test, but still all parameter in it. \texmf-context\tex\context\test\mkiv\

Re: [NTG-context] XML export of a lua table

2017-02-23 Thread Peter Rolf
Am 23.02.2017 um 14:10 schrieb Hans Hagen: > On 2/23/2017 1:50 PM, Peter Rolf wrote: >> Hi, >> >> what is the easiest way to export a lua table (mostly key-value pairs) >> into a XML file? I found 'lxml.save', but no luck with a converter >> function. Any h

[NTG-context] XML export of a lua table

2017-02-23 Thread Peter Rolf
Hi, what is the easiest way to export a lua table (mostly key-value pairs) into a XML file? I found 'lxml.save', but no luck with a converter function. Any help welcome. Peter ___ If your question is of interest to

Re: [NTG-context] strange crash

2017-02-17 Thread Peter Rolf
Am 17.02.2017 um 14:30 schrieb luigi scarso: > On Fri, Feb 17, 2017 at 11:45 AM, Peter Rolf <indi...@gmx.net> wrote: >> There seems to be a problem with the latest beta (at least on my >> Windows10 system). The synchronisation breaks right after the start. >> >&

Re: [NTG-context] strange crash

2017-02-17 Thread Peter Rolf
There seems to be a problem with the latest beta (at least on my Windows10 system). The synchronisation breaks right after the start. - v:\tmp\context>first-setup.bat receiving incremental file list sent 96 bytes received 273 bytes 246.00 bytes/sec total size is 12066614 speedup is

Re: [NTG-context] pdfboxes

2017-02-13 Thread Peter Rolf
Am 11.02.2017 um 01:25 schrieb Hans Hagen: > On 2/10/2017 2:56 PM, Peter Rolf wrote: >> Hi, >> >> I tried to set some PDF boxes properly, but no luck (setupcanvas). >> After searching the mailing archive from 2015 I found this (broken) >> example. Is this still th

[NTG-context] pdfboxes

2017-02-10 Thread Peter Rolf
Hi, I tried to set some PDF boxes properly, but no luck (setupcanvas). After searching the mailing archive from 2015 I found this (broken) example. Is this still the official method to set the crop|trim|bleed boxes? - \showframe \setuplayout [location=middle, width=middle,

Re: [NTG-context] nested colors problem

2017-01-21 Thread Peter Rolf
Am 21.01.2017 um 11:11 schrieb Hans Hagen: > On 1/20/2017 9:42 PM, Peter Rolf wrote: >> Hi, >> >> the nested color inherits the transparency from it's surrounding color. >> >> \definecolor[colA] [r=0,g=0,b=0.01,t=0.2,a=1] % transparent >> \definecolor[colB] [

Re: [NTG-context] nested colors problem

2017-01-20 Thread Peter Rolf
Am 20.01.2017 um 23:12 schrieb Henning Hraban Ramm: > Am 2017-01-20 um 22:26 schrieb Peter Rolf <indi...@gmx.net>: > >> Am 20.01.2017 um 21:54 schrieb Alan Braslau: >>> On Fri, 20 Jan 2017 21:42:16 +0100 >>> Peter Rolf <indi...@gmx.net> wrote: >>>

Re: [NTG-context] nested colors problem

2017-01-20 Thread Peter Rolf
Am 20.01.2017 um 21:54 schrieb Alan Braslau: > On Fri, 20 Jan 2017 21:42:16 +0100 > Peter Rolf <indi...@gmx.net> wrote: > >> Maybe intended behaviour, maybe a bug. Donno. > > Not a bug: color and transparency are not the same thing. > True, but you define and use

[NTG-context] nested colors problem

2017-01-20 Thread Peter Rolf
Hi, the nested color inherits the transparency from it's surrounding color. \definecolor[colA] [r=0,g=0,b=0.01,t=0.2,a=1] % transparent \definecolor[colB] [r=.278431,g=.235294,b=.545098] % opaque \starttext \startcolor[colA] \definedfont[SansBold at 96bp]Titanfall\,

Re: [NTG-context] 'overprint' swallows leading number

2017-01-06 Thread Peter Rolf
Am 06.01.2017 um 20:01 schrieb Hans Hagen: > On 1/6/2017 3:49 PM, Peter Rolf wrote: >> Hi, >> >> title says it all. > > \unexpanded\def\registercolorintent#1#2% \relax is needed ! > > {\setevalue{\??colorintent#1}{\attribute\colorintentattribute\clf_registercol

[NTG-context] 'overprint' swallows leading number

2017-01-06 Thread Peter Rolf
Hi, title says it all. (ConTeXt 2016.12.28 17:55) minimal example: \starttext \startluacode local bCI,eCI = context.startcolorintent, context.stopcolorintent bCI({"overprint"})context("1.2345\\crlf")eCI() -- also no 'overprint' for that text part in the PDF

Re: [NTG-context] PDF/A generation

2016-10-18 Thread Peter Rolf
ed to fix > it? I'm on the TL 2016 release and cannot update because I fear regressions > for my important document. > > Cheers, Henri > > On 10/18/2016 02:54 PM, Peter Rolf wrote: >> Hi, >> >> just for the records. The problems were on ConTeXt's side (fixed now), &

Re: [NTG-context] PDF/A generation

2016-10-18 Thread Peter Rolf
Hi, just for the records. The problems were on ConTeXt's side (fixed now), the online validator does a pretty good job. Peter Am 14.10.2016 um 17:10 schrieb Peter Rolf: > Am 14.10.2016 um 14:16 schrieb luigi scarso: >> On Fri, Oct 14, 2016 at 2:04 PM, Peter Rolf <indi...@gm

Re: [NTG-context] PDF/A generation

2016-10-14 Thread Peter Rolf
Am 14.10.2016 um 14:16 schrieb luigi scarso: > On Fri, Oct 14, 2016 at 2:04 PM, Peter Rolf <indi...@gmx.net> wrote: >> Sigh.. I had high hopes on this one. Would be nice to have a free and >> working (in this combination) validator. I'll make some tests over the >> weeke

Re: [NTG-context] PDF/A generation

2016-10-14 Thread Peter Rolf
Am 14.10.2016 um 11:22 schrieb luigi scarso: > On Thu, Oct 13, 2016 at 4:58 PM, Peter Rolf <indi...@gmx.net> wrote: >> Meanwhile I stumpled over >> >> https://www.pdf-tools.com/pdf/validate-pdfa-online.aspx >> >> but haven't found the time (and mood!) to

Re: [NTG-context] PDF/A generation

2016-10-13 Thread Peter Rolf
Am 13.10.2016 um 16:23 schrieb luigi scarso: > On Thu, Oct 13, 2016 at 3:40 PM, Henri Menke wrote: >> Dear Luigi, >> >> thanks for the link. I tried the validation with a little simplified >> example, which I show below. VeraPDF reports some errors, see attached >>

Re: [NTG-context] How to export to PDF-A?

2016-05-17 Thread Peter Rolf
Hi, Am 16.05.2016 um 13:38 schrieb Matija Šuklje: > Dear ConTeXt community, > > There is a document I wrote in ConTeXt that I’m required to submit > in PDF-A. > > I’ve already done my RTFM homework: > http://wiki.contextgarden.net/PDF/A > including links in it, > but can’t figure out how

Re: [NTG-context] Undefined control sequence: \pdfpxdimen

2016-03-09 Thread Peter Rolf
Am 10.03.2016 um 00:03 schrieb Aditya Mahajan: > The drops module uses the primitive \pdfpxdimen in a couple of places, > but that is no longer defined in the current beta. What is the > equivalent command now? > > Examples of usage: > >

[NTG-context] drops module update

2016-01-26 Thread Peter Rolf
Hi, just a small maintenance update (everything was broken) for the drops module. Should be working again with the latest versions of ImageMagick (6.9.2-0+) and ConTeXt (luatex 0.85.0+). Files (version 2016-01-18) can be found here [the zip file also contains the documentation (drops.pdf)]

[NTG-context] (beta) missing /Shading entry in page /Resources

2016-01-13 Thread Peter Rolf
Hi, I attached a minimal test file and the old (working) and new (broken) PDF files. The '/Shading 4 0 R' entry is missing in the page /Resources object ('10 0 obj <> endobj') of the 'new' version. mtx-context | ConTeXt Process Management 0.63 mtx-context | mtx-context | main

Re: [NTG-context] PDF/UA Support

2015-10-20 Thread Peter Rolf
Am 20.10.2015 um 20:03 schrieb Andrew Dunning: > >> On 20 Oct 2015, at 9:26 AM, Peter Rolf <indi...@gmx.net> wrote: >> >> Will look into it (sorry, but I am kind of ignorant to new standards, >> that I don't use myself) :D > > That’s hugely appreciated; I

Re: [NTG-context] PDF/UA Support

2015-10-20 Thread Peter Rolf
>> \setuptagging[state=start] >> >> Thank you! Would it also be possible to have something to the effect >> of `\setupbackend[format={pdf/ua:2014}` to set up the appropriate >> options? > > you have to discuss that with Peter Rolf as he is the one who keeps

Re: [NTG-context] color (rendering) intent

2015-08-10 Thread Peter Rolf
Am 10.08.2015 um 18:58 schrieb Hans Hagen: On 8/10/2015 5:23 PM, Henning Hraban Ramm wrote: Am 2015-08-10 um 17:52 schrieb Hans Hagen pra...@wxs.nl: On 8/10/2015 10:28 AM, Henning Hraban Ramm wrote: Hi, in http://wiki.contextgarden.net/Context_2009.10.27#Data_files there’s: • new

[NTG-context] drops module release

2014-12-08 Thread Peter Rolf
Hi, finally(!?) the release of the drops module for ConTeXt. The module, the manual (also part of the module) and the example documents can be downloaded here https://spideroak.com/browse/share/indiego/public/ConTeXt/drops/ Feel free to copy the files to other servers. Have fun, Peter

Re: [NTG-context] drops: arbitrary path examples

2014-11-27 Thread Peter Rolf
Am 26.11.2014 um 20:17 schrieb Hans Hagen: On 11/26/2014 7:56 PM, Peter Rolf wrote: A 2-3 years old PC should be able to handle the examples in acceptable time (judging from my hardware). But not only hardware power is needed, the software can be crucial too. Indeed sumatra (mupdf) views

[NTG-context] drops: arbitrary path examples

2014-11-26 Thread Peter Rolf
Hi, just two example documents I made while testing arbitrary paths with the 'drops' module. I plan to release the module soon, so this is not more than an appetizer. The code is still messy and unfinished, but I probably don't have the time to change that. Creating the examples took away all my

Re: [NTG-context] overlay

2014-11-24 Thread Peter Rolf
Am 22.11.2014 um 21:32 schrieb John Kitzmiller: Given rectangles with text: \starttext Before:\\ \startMPcode draw unitsquare xscaled 2cm yscaled 1cm; \stopMPcode \\ After:\\ \startMPcode for i=0 upto 1: draw unitsquare scaled 1cm

[NTG-context] viewer magnification in full screen (/OpenAction)

2014-10-06 Thread Peter Rolf
Hi, I want to open a document in 'full screen', showing the complete page at maximal magnification. Couldn't find a proper way to set the magnification though. Peter Example: \setupinteraction[state=start]% openaction, focus \setupinteractionscreen[option=max,height=fit] \starttext Full

Re: [NTG-context] lpdf.checkedkey has problem with false values

2014-09-15 Thread Peter Rolf
Am 15.09.2014 um 16:14 schrieb Michail Vidiassov: Dear Developers and All, lpdf.checkedkey routine from lpdf-ini.lua has problems with accessing false boolean values, it returns them as nil. Is it by design or neglect? More a lua design decision. 'nil' is equal to 'false' here, 'true' is

Re: [NTG-context] Spurious pages in makeups

2014-09-04 Thread Peter Rolf
Hi Indris, I guess the double sided setup is also true for your makeup definitions. An additional doublesided=no in the makeup definition gives the wanted result. Best, Peter Am 04.09.2014 um 16:04 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear gang, For a doublesided book, I get

Re: [NTG-context] interaction (mailto) query

2014-07-16 Thread Peter Rolf
Hi Alan, Am 16.07.2014 13:27, schrieb Alan Bowen: To open a new email message in the user’s email client, I have \useURL [xxx] [mailto:x...@yyy.org mailto:x...@yyy.org] [mailto:x...@yyy.org?subject=foo] There are also 'body=' for the mail text and 'cc=' / 'bcc='. All worked well in a quick

Re: [NTG-context] blank overlay

2014-06-03 Thread Peter Rolf
Am 03.06.2014 16:27, schrieb john Culleton: I need a graphic (a thumbnail) on the right hand pages but not on the left hand pages. Following the instructions in the Metafun Manual page 168 I have assigned different pairs to the two overlays: \startuseMPgraphic{right page} ...

Re: [NTG-context] Ctx goes into infinite loop?

2014-05-23 Thread Peter Rolf
Am 23.05.2014 13:50, schrieb Hans Hagen: On 5/23/2014 1:30 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, \input \HOME/Common/_Defs_.ctx at least put { } around the input name -- \startluacode local home = (os.getenv(HOME.ORG) or os.getenv(HOME) or ?):gsub(\\, /)

Re: [NTG-context] Ctx goes into infinite loop?

2014-05-23 Thread Peter Rolf
Am 23.05.2014 16:18, schrieb Peter Rolf: Am 23.05.2014 13:50, schrieb Hans Hagen: On 5/23/2014 1:30 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, \input \HOME/Common/_Defs_.ctx at least put { } around the input name -- \startluacode local home = (os.getenv(HOME.ORG

Re: [NTG-context] pdf X/1-a:2001 format for print output.

2014-05-22 Thread Peter Rolf
Am 22.05.2014 16:07, schrieb john Culleton: The above format is required for pdf files containing color for many American printers. I am looking for the minimal case. In the wiki there is an example: \setupbackend [format=PDF/X-1a:2001, intent=SWOP2006_Coated3v2.icc] Is this

Re: [NTG-context] pagecolormodel problem

2014-04-17 Thread Peter Rolf
Am 16.04.2014 01:15, schrieb Hans Hagen: On 4/16/2014 12:41 AM, Sanjoy Mahajan wrote: can someone confirm, that this code fails with a recent ConTeXt version? It fails for me with 2014.03.27 (luatex 0.78.2). will be fixed in next beta Works with the beta from 2014-04-17. Thanks to Hans

[NTG-context] pagecolormodel problem

2014-04-15 Thread Peter Rolf
Hi, can someone confirm, that this code fails with a recent ConTeXt version? No such problems with version 2013.12.24. \setupcolors[pagecolormodel=auto] \starttext FOO \stoptext This is what I get here... output D:\mydocs\TeX\dokumente\test\IMcontext test mtx-context | warning: no

Re: [NTG-context] Metapost: I only need a little bit padding

2014-04-05 Thread Peter Rolf
Hi Jan, Am 05.04.2014 15:48, schrieb Jan Heinen: \startuseMPgraphic{rotatedHeadline} % Text Headline in a box which is rotated draw btex {\strut\tfd Headline} etex; setbounds currentpicture to boundingbox currentpicture enlarged 2mm; The following code is based on the boundingbox, so just

[NTG-context] MP bounding box

2014-03-12 Thread Peter Rolf
Hi, I run into a problem with the bounding box calculation of a MP graphic. Seems like very small values are represented in scientific notation and MP can't handle those. Example attached. [..] to be read again e to be read again e - argument 6.103515625e- 005 \setMPboundingbox

Re: [NTG-context] MP bounding box

2014-03-12 Thread Peter Rolf
Am 12.03.2014 17:05, schrieb Hans Hagen: On 3/12/2014 2:38 PM, Peter Rolf wrote: Hi, I run into a problem with the bounding box calculation of a MP graphic. Seems like very small values are represented in scientific notation and MP can't handle those. Example attached. [..] to be read

Re: [NTG-context] MP bounding box

2014-03-12 Thread Peter Rolf
Am 12.03.2014 18:15, schrieb Hans Hagen: On 3/12/2014 5:25 PM, Peter Rolf wrote: Am 12.03.2014 17:05, schrieb Hans Hagen: On 3/12/2014 2:38 PM, Peter Rolf wrote: Hi, I run into a problem with the bounding box calculation of a MP graphic. Seems like very small values are represented

Re: [NTG-context] glyph path

2014-02-20 Thread Peter Rolf
Am 20.02.2014 09:58, schrieb Hans Hagen: On 2/19/2014 7:41 PM, Peter Rolf wrote: Forgot to tell why I need the glyph paths... I implemented multi path support in drops yesterday and now I want to test it with some glyphs. Currently I use Inkscape (export the glyph path as PDF) and pdftoedit

[NTG-context] glyph path

2014-02-19 Thread Peter Rolf
Hi, I tried the Dcaron example from the MetaPost manual (page 50) and it works nicely when called with mpost. % Dcaron.mp fontmapfile=lm-ec.map; beginfig(56); picture q; path p; interim ahlength:=12bp; interim ahangle:=25; q:= glyph Dcaron of ec-lmr10 scaled .2; for item

Re: [NTG-context] glyph path

2014-02-19 Thread Peter Rolf
. Here is my current test example. Needless to say, that the path blew up my code in the first run (a too low threshold value) :-D http://www.wuala.com/indiego/public/ConTeXt/pathtest.pdf Am 19.02.2014 13:25, schrieb Peter Rolf: Hi, I tried the Dcaron example from the MetaPost manual (page 50

Re: [NTG-context] runtime problem with metafun() code

2014-01-27 Thread Peter Rolf
Am 27.01.2014 13:12, schrieb Hans Hagen: On 1/25/2014 1:58 PM, Peter Rolf wrote: Am 25.01.2014 01:07, schrieb Hans Hagen: On 1/24/2014 7:41 PM, Peter Rolf wrote: Am 24.01.2014 14:45, schrieb Hans Hagen: On 1/24/2014 1:35 PM, Peter Rolf wrote: Hi, I try to create a Metapost path in lua

Re: [NTG-context] runtime problem with metafun() code

2014-01-25 Thread Peter Rolf
Am 25.01.2014 01:07, schrieb Hans Hagen: On 1/24/2014 7:41 PM, Peter Rolf wrote: Am 24.01.2014 14:45, schrieb Hans Hagen: On 1/24/2014 1:35 PM, Peter Rolf wrote: Hi, I try to create a Metapost path in lua and it works so far for the attached example. But a call of that function from another

[NTG-context] runtime problem with metafun() code

2014-01-24 Thread Peter Rolf
Hi, I try to create a Metapost path in lua and it works so far for the attached example. But a call of that function from another lua function sadly fails (no path visible after call). The code seems to be executed later (the output from 'show pid;' appears somewhere later in the log). How can I

Re: [NTG-context] runtime problem with metafun() code

2014-01-24 Thread Peter Rolf
Am 24.01.2014 14:45, schrieb Hans Hagen: On 1/24/2014 1:35 PM, Peter Rolf wrote: Hi, I try to create a Metapost path in lua and it works so far for the attached example. But a call of that function from another lua function sadly fails (no path visible after call). The code seems

Re: [NTG-context] Include PDF Fails

2014-01-13 Thread Peter Rolf
Hi, Am 13.01.2014 06:37, schrieb Thangalin: Hi, I am trying to include a single test page in my document. The following code fails to set the PDF as the background layer for the cover page. I've tried several variations (http://wiki.contextgarden.net/Including_pages_from_PDF_documents),

Re: [NTG-context] Include PDF Fails

2014-01-13 Thread Peter Rolf
Am 13.01.2014 13:29, schrieb Hans Hagen: On 1/13/2014 1:13 PM, Peter Rolf wrote: Hi, Am 13.01.2014 06:37, schrieb Thangalin: Hi, I am trying to include a single test page in my document. The following code fails to set the PDF as the background layer for the cover page. I've tried several

Re: [NTG-context] Request for metapost

2013-12-25 Thread Peter Rolf
Also thanks from my side. Just what I needed for further tests (graphics with multiple paths). Peter Am 22.12.2013 19:10, schrieb Hans Hagen: \starttext % \enabletrackers[metapost.variables] \startMPcode numeric n[] ; for i=1 upto 10: n[i] := 1/i ; endfor ; pathp[] ;

Re: [NTG-context] passvariable(); path problem

2013-10-07 Thread Peter Rolf
Am 06.10.2013 17:06, schrieb Hans Hagen: On 10/6/2013 3:05 PM, Peter Rolf wrote: Thanks for the explanation. I think I have understood the scheme (but I might be wrong, because this doesn't help me with my example). Where is the starting point['20 20'] in the returned example path? Same

Re: [NTG-context] passvariable(); path problem

2013-10-07 Thread Peter Rolf
Am 07.10.2013 11:47, schrieb luigi scarso: On Mon, Oct 7, 2013 at 10:48 AM, Peter Rolf indi...@gmx.net mailto:indi...@gmx.net wrote: Am 06.10.2013 17:06, schrieb Hans Hagen: On 10/6/2013 3:05 PM, Peter Rolf wrote: Thanks for the explanation. I think I have

Re: [NTG-context] passvariable(); path problem

2013-10-06 Thread Peter Rolf
Am 06.10.2013 00:37, schrieb Hans Hagen: On 10/5/2013 5:52 PM, Peter Rolf wrote: I played around with it, but I have problems to understand the format of the returned path. Example: % \setuppagenumber[state=stop] \starttext \nopdfcompression \startMPpage path p; p

Re: [NTG-context] passvariable(); path problem

2013-10-05 Thread Peter Rolf
are the same, as in the PDF code. But how do I calculate the starting point and the first control point from the returned values? And is the type of operation (line, curve,..) given by the number of values? Peter Am 04.10.2013 16:15, schrieb Hans Hagen: On 10/4/2013 2:52 PM, Peter Rolf wrote: Hi, I

[NTG-context] passvariable(); path problem

2013-10-04 Thread Peter Rolf
Hi, I played around with the new passvariable() option and ran into errors when passing a path. Used the latest beta (01.10.2013). Can someone confirm this? Peter \starttext \startMPcode passvariable(path,fullcircle scaled 1cm) ; \stopMPcode \stoptext

[NTG-context] brogue (OT) and a related question

2013-09-12 Thread Peter Rolf
Hi, starting with the off topic... A new Brogue (https://sites.google.com/site/broguegame/) version shipped and I updated the table with the monster statistics. For all interested [your chance to stop reading here], the link to the final document (made with today's version).

[NTG-context] left bracket in string.format()

2013-08-26 Thread Peter Rolf
Hi, Not sure if this is a bug or intended behaviour. I want to fill a TABLE row with [number], but the leading left bracket causes some problems here. I tried the syntax 'print(string.format([%d],10)' in pure lua and the result is as desired. %% -- \starttext \startluacode

Re: [NTG-context] left bracket in string.format()

2013-08-26 Thread Peter Rolf
Am 26.08.2013 17:40, schrieb Wolfgang Schuster: Am 26.08.2013 um 17:01 schrieb Peter Rolf indi...@gmx.net: Hi, Not sure if this is a bug or intended behaviour. I want to fill a TABLE row with [number], but the leading left bracket causes some problems here. I tried the syntax 'print

Re: [NTG-context] Tagged PDF

2013-08-15 Thread Peter Rolf
Am 15.08.2013 09:05, schrieb Aditya Mahajan: On Wed, 14 Aug 2013, D. K. wrote: Hi everyone, in my quest to generate tagged pdf's that meet nowaday's accessibility requirements (it seems to me that tags are the major hurdle when using tex), I came around context. There is a very

[NTG-context] 'math-rad.mkvi' missing

2013-07-19 Thread Peter Rolf
Hi, I just started 'first-setup.bat' and the final compilation fails with [..] loading ConTeXt Math Macros / Scripts ) (V:/tmp/context/tex/texmf-context/tex/context/base/math-int.mkiv loading ConTeXt Math Macros / Integrals )

Re: [NTG-context] Section in golden ratio?

2013-07-03 Thread Peter Rolf
Am 03.07.2013 16:10, schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, I'm trying to setup section to be placed vertically in the golden ratio of the page, i.e. cca 2 units above the section and 3 units bellow. How to achieve this? My code so far is: \setuplayout[page]

Re: [NTG-context] [***SPAM***] Float placement

2013-06-15 Thread Peter Rolf
Hi, adding 'force' ([here,force]) should help 'here'. (sorry for the pun) http://wiki.contextgarden.net/Command/placefloat Peter Am 15.06.2013 00:31, schrieb Tethys: I'm trying to typeset a book. It has two columns, and some floating diagrams. My problem is that the floats aren't going

Re: [NTG-context] Float placement

2013-06-15 Thread Peter Rolf
Am 15.06.2013 15:29, schrieb Tethys: Peter Rolf writes: adding 'force' ([here,force]) should help 'here'. (sorry for the pun) http://wiki.contextgarden.net/Command/placefloat Yes, it should. But I tried that and it didn't work. Have you also tried 'force' alone? If that doesn't work

Re: [NTG-context] Mtxrun.exe in minimals not working.

2013-06-10 Thread Peter Rolf
Am 10.06.2013 10:40, schrieb Mojca Miklavec: On Mon, Jun 10, 2013 at 1:15 AM, DB wrote: I just downloaded the latest version of the standalone package (2013-06-08, 09:15). When I run first-setup.bat, mtxrun.exe crashes just as it's about to start downloading the files. It's impossible to get

Re: [NTG-context] Layers: corner, location

2013-06-07 Thread Peter Rolf
Am 07.06.2013 10:06, schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, On Fri, 07 Jun 2013 09:27:14 +0200, Hans Hagen pra...@wxs.nl wrote: On 6/7/2013 9:07 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: The working code is: \definelayer [Logo]

[NTG-context] \getfiguredimensionsonly (mkiv)

2013-06-03 Thread Peter Rolf
Hi, the macro \MPfigure in meta-fig.mkiv uses \getfig... , which seems to be undefined for mkiv. Best wishes, Peter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

[NTG-context] typo in meta-pdf.lua (beta)

2013-05-22 Thread Peter Rolf
Hi, I found a typo in the current beta (2013-05-21) meta-pdf.lua, line 169 168 function mps.translate(tx,ty) 169 mpscode(f_translate(tx,ty) 170 end Regards, Peter ___ If your question is of interest to

[NTG-context] \smash broken (beta)

2013-05-22 Thread Peter Rolf
as the subject says... :-) \starttext \starttabulate[|l|l|] \NC w \NC \ruledhbox{\smash [w]{This is some great smashing, isn't it?}} \NC \NR \NC h \NC \ruledhbox{\smash [h]{This is some great smashing, isn't it?}} \NC \NR \NC d \NC \ruledhbox{\smash [d]{This is some great smashing,

Re: [NTG-context] \smash broken (beta)

2013-05-22 Thread Peter Rolf
Am 22.05.2013 18:44, schrieb Wolfgang Schuster: Am 22.05.2013 um 18:00 schrieb Peter Rolf indi...@gmx.net: as the subject says... :-) \starttext \starttabulate[|l|l|] \NC w \NC \ruledhbox{\smash [w]{This is some great smashing, isn't it?}} \NC \NR \NC h \NC \ruledhbox{\smash [h

  1   2   3   4   5   6   7   8   9   >