Re: [NTG-context] Third party modules in LMTX
On 2/12/20 5:10 PM, jdh wrote: > > > I would like to use Wolfgang's t-letter module, but need some help. > > I found the following instructions: > > "The ConTeXt suite only comes with Taco's t-bib module. If you want to > install a new module, say Wolfgang's t-letter module, you can use > > first-setup.sh --modules="t-letter" > > > BUT, the LMTX standalone does not have any "first-setup.sh" shell script. > > Is there another way to install the "t-letter" module for use with LMTX? > #!/bin/sh # Install or update texmf-modules # Requires: awk, rsync # Check whether LuaMetaTeX is available if ! command -v luametatex > /dev/null; then echo "luametatex is not in PATH, so there likely won't be the correct mtxrun" echo "Aborting..." exit 1 fi # Make the texmf-modules directory, just in case TEXMFMODULES="$(mtxrun --resolve-path "\$TEXMFMODULES")" mkdir -p "${TEXMFMODULES}/" # Sync with the Garden GARDENRSYNC="contextgarden.net::minimals/current/modules" for module in $(rsync "${GARDENRSYNC}/*" | awk '{print $NF}'); do echo "Syncing ${module}" rsync -rpztlv --delete "${GARDENRSYNC}/${module}/" "${TEXMFMODULES}/" done > Any help is appreciated. > > Thanks > Darel > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Third party modules in LMTX
I would like to use Wolfgang's t-letter module, but need some help. I found the following instructions: "The ConTeXt suite only comes with Taco's t-bib module. If you want to install a new module, say Wolfgang's t-letter module, you can use first-setup.sh --modules="t-letter" BUT, the LMTX standalone does not have any "first-setup.sh" shell script. Is there another way to install the "t-letter" module for use with LMTX? Any help is appreciated. Thanks Darel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Global \setup has no effect while ad-hoc setting does
On 2/14/20 6:30 PM, Wolfgang Schuster wrote: > On Fri, 14 Feb 2020 02:21:03 +0100 > Exp wrote: > >> Dear list, >> >> I want to prevent an overfull hbox caused by an inline typing by making the >> alignment very tolerant, but it didn't work: >> >> ``` >> \setupframedtext[ >> width=broad, >> align={verytolerant, stretch} > > You need a command at the end of the argument because the line end adds a > space. > > align={verytolerant, stretch}, > ^^^ This comes up like every other day. I've documented this now in https://wiki.contextgarden.net/Unexpected_behavior#Assignments > Wolfgang > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Global \setup has no effect while ad-hoc setting does
On Fri, 14 Feb 2020 02:21:03 +0100 Exp wrote: > Dear list, > > I want to prevent an overfull hbox caused by an inline typing by making the > alignment very tolerant, but it didn't work: > > ``` > \setupframedtext[ > width=broad, > align={verytolerant, stretch} You need a command at the end of the argument because the line end adds a space. align={verytolerant, stretch}, ^^^ Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)
On 2/13/2020 03:56, Hans Hagen wrote: On 2/13/2020 12:45 AM, Rik Kabel wrote: Perhaps there is something in the difference between annotations and attachments that results in different treatments by the various viewers. it has always been that messy; there's also the annotation symbol treatment that can differ; it doesn't help that acrobat changed behaviour a couple of times i think this is why the whole attachment handling was as it is: some comprimise that kind of made them show up ok on the average; but validatin spoiled this and now we're stick with these incompatible viewer behaviour .. not much we can do about it i fear (For instance, i remember that at some point acrobat showed attachments twice in some lists. Often these features ended up in specs without viewer support yet so probably not well tested for interferences either.) Hans The further I look into bookmark, annotation, and attachment handling by a number of viewers, the more confusing things appear. And Acrobat still shows attachments twice under some circumstances, with the helpful flyover for one entry giving the location as the associated page number, and for the other giving it as the attachments tab. What is more troublesome on the ConTeXt side is the validation issue with the appearance dictionary for visible attachments. The difference between validators when looking at the hidden attachment in my example hinges on the handling of the attachment mime type. I have filed a defect report with VeraPDF, which appears to be rejecting valid mime type that includes a charset clause. -- Rik ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Metapost and TikZ color code equivalent
On 2/14/20 10:45 AM, Fabrice Couvreur wrote: > Hi, > How to have the color defined by {yellow!60!black} with Metapost ? \usemodule[tikz] \starttext \startMPcode fill fullsquare scaled 1cm withcolor (.6yellow + black) ; \stopMPcode \starttikzpicture \fill[yellow!60!black] (0,0) rectangle (1,1); \stoptikzpicture \stoptext > Thank you. > Fabrice > > > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Global \setup has no effect while ad-hoc setting does
Dear list, I want to prevent an overfull hbox caused by an inline typing by making the alignment very tolerant, but it didn't work: ``` \setupframedtext[ width=broad, align={verytolerant, stretch} ] \starttext \startframedtext%[align={verytolerant, stretch}] xx. x xx- xx , xx xxx xxx xx \type{yyy}. xx x x xx x xx xxx. \stopframedtext \stoptext ``` while the following works: ``` \setupframedtext[ width=broad, align={verytolerant, stretch} ] \starttext \startframedtext[align={verytolerant, stretch}] xx. x xx- xx , xx xxx xxx xx \type{yyy}. xx x x xx x xx xxx. \stopframedtext \stoptext ``` ConTeXt version: `mtx-context | current version: 2019.03.21 21:39`. Any help would be appreciated. Best, Exp ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Metapost and TikZ color code equivalent
Hi, How to have the color defined by {yellow!60!black} with Metapost ? Thank you. Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Repeat backgrounds on slides
On Thu, 13 Feb 2020 09:19:10 +0100 juh wrote: > Hi all, > > I am a little bit confused as I never had this problem, although I often use > backgrounds and layers. > > \definelayer[bg:hs2020-mond] > [x=0, y=0, width=\paperwidth, height=\paperheight] > > \setlayer[bg:hs2020-mond] > [x=0mm, y=0mm] > {\externalfigure[background.jpg][height=\paperwidth]} > > Ususally I call the background after a head command like \starttitle or when I > create slides like this > > \startslide[title={foobar}] > \setupbackgrounds[page][background=bg:hs2020-mond] > ... > \stopslide > > The problem is that I cannot call the background on another slide. > It seems as if the layer is gone after the first usage. This is normal behaviour for layers but you can repeat it on every page with \definelayer [bg:...] [state=repeat] In your case a simple overlay is the simpler solution to get repeated images on every page, i.e. \defineoverlay [bg:hs2020-mond] [{\externalfigure[background.jpg][height=\paperheight]}] or \defineoverlay [bg:hs2020-mond] [\overlayfigure{background.jpg}] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Color Profiles in lmtx
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/juh/context-linux-64/tex/texmf-context/colors/icc/context/colorprofiles.xml' > > I just realized that the above output is the right output. > > Ok. But now I have another question > > I want to install a new profile I downloaded from eci.org > > I extended colorprofiles.xml putting it in > texmf-local/colors/icc/context/ with this additional xml: > > > PSO_Uncoated_ISO12647_eci.icc > CMYK > prtr > Custom > PSO Uncoated ISO12647 ECI > ae81087e1c54c6fdda2f93bd2d47cfaf > 200 > http://www.eci.org > Commercial and specialty offset, paper type 4, > uncoated white paper, positive plates, tone value increase curves C > (CMY) and D (K), white backing. > > > > I generated the md5 checksum from the file PSO_Uncoated_ISO12647_eci.icc. > > But the file in texmf-local is not found > > backend > profiles > profile specification 'PSO Uncoated > ISO12647 ECI' not found in 'colorprofiles.xml, colorprofiles.lua' > > How can I make context aware of the files? > Just tried to do the same and after some fiddling it worked. I used this settings for the profile (slightly modified) PSO_Uncoated_ISO12647_eci.icc CMYK prtr Fogra47L PSO Uncoated ISO12647 (ECI) ae81087e1c54c6fdda2f93bd2d47cfaf 200 http://www.eci.org Commercial and specialty offset, paper type 4, uncoated white paper, positive plates, tone value increase curves C (CMY) and D (K), white backing. Copy the icc-profile into the same folder as the shipped profiles. Call "context --make" to make a new format, update the file database. %-- \enabletrackers[backend.pdfx] \setupbackend[ format=PDF/X-3:2003, intent={PSO Uncoated ISO12647 (ECI)}, ] \setupcolors[cmyk=yes,rgb=no] \nopdfcompression \starttext foo \stoptext %--- The produced PDF has a size of 1.7MB. Tested with context --version mtx-context | ConTeXt Process Management 1.03 mtx-context | mtx-context | main context file: r:/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2020.01.26 18:34 mtx-context | main context file: r:/tex/texmf-context/tex/context/base/mkiv/context.mkxl mtx-context | current version: 2020.01.26 18:34 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with \setuparranging
Hello, I missed to write my code: \starttext \pagefigure[A3.pdf] \start \setuppapersize[A4,portrait][A3,landscape] \setuparranging[2SIDE] \pagefigure[A4.pdf] \input knuth \stop \pagefigure[A3.pdf] \start \setuppapersize[A4,portrait][A3,landscape] \setuparranging[2SIDE] \pagefigure[A4.pdf] \input knuth \stop \stoptext Any idea what I am doing wrong? Best regards, Lukas On 2020-02-13 10:38, cont...@vivaldi.net wrote: Hello, I need to create a document where page arranging is mixed somhow - so that some pages are to be typeset "normally", some other placed "2 pages onto 1 page". All pages should appear as A3 size. A simplified code follows; its goal is: - page 1: to be one external figure of size A3 (red), - page 2: to be composed of one page of size A4 (green) on the left half, some text on the right half, - page 3: to be one external figure of size A3 (the same as on page 1) - page 4: to be composed of one page of size A4 on the left half, some text on the right half (as on page 2). The (unwanted) result is: - page 1: as expected, - page 2: as expected, - page 3: surprisignly A4 (red) (whilst the figure is of A3), - page 4: surprisingly A3, but some text on the left half, and no green A4. Is \setuparranging limited somehow or intended for another use? How to generate "Goal.pdf" instead of "t.pdf"? Best regards, Lukas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] upload
On 2/13/2020 11:28 AM, mf wrote: Il 11/02/20 17:00, Hans Hagen ha scritto: Hi, I uploaded a fresh lmtx. There is some new stuff in there: I'm a little bit confused about versions. 1) GIT MIRROR The last commit in the branch "beta" is 2020-01-26 18:37:00. I've seen no update since your "upload" message (the one i'm replying to). (Hans, I know it's not you updating it) 2) CONTEXT MKIV I've just updated the "latest" ConTeXt MkIV, i mean the one you update with first-setup.sh ... Once updated, this is the output of "context --version": mtx-context | ConTeXt Process Management 1.03 mtx-context | mtx-context | main context file: /home/massi/context/latest/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2020.01.30 14:13 mtx-context | main context file: /home/massi/context/latest/tex/texmf-context/tex/context/base/mkiv/context.mkxl mtx-context | current version: 2020.01.30 14:13 3) LMTX After ./install.sh and setting the PATH, "context --version" gives: mtx-context | ConTeXt Process Management 1.03 mtx-context | mtx-context | main context file: /home/massi/context/lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2019.07.24 11:31 mtx-context | main context file: /home/massi/context/lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkxl mtx-context | current version: 2020.02.11 16:41 "2020.02.11 16:41" for MKXL looks right to me, since it's the version you are talking of in your message. But what about "2019.07.24 11:31" for MKIV? It's even older than the one you get with first-setup.sh. Maybe it's the version when MKXL and MKIV split, and "2020.01.30 14:13" is the latest version of MKIV with the backporting of some of the enhancements that took place in MKXL. Is it like that? if you fetch from the web site you need to use /latest as we no longer have lpha, beta current ... maybe somthing got messed up in the git sync, i don't know it occasionally can be that there is some difference with lmtx but not that large Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] upload
Il 11/02/20 17:00, Hans Hagen ha scritto: Hi, I uploaded a fresh lmtx. There is some new stuff in there: I'm a little bit confused about versions. 1) GIT MIRROR The last commit in the branch "beta" is 2020-01-26 18:37:00. I've seen no update since your "upload" message (the one i'm replying to). (Hans, I know it's not you updating it) 2) CONTEXT MKIV I've just updated the "latest" ConTeXt MkIV, i mean the one you update with first-setup.sh ... Once updated, this is the output of "context --version": mtx-context | ConTeXt Process Management 1.03 mtx-context | mtx-context | main context file: /home/massi/context/latest/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2020.01.30 14:13 mtx-context | main context file: /home/massi/context/latest/tex/texmf-context/tex/context/base/mkiv/context.mkxl mtx-context | current version: 2020.01.30 14:13 3) LMTX After ./install.sh and setting the PATH, "context --version" gives: mtx-context | ConTeXt Process Management 1.03 mtx-context | mtx-context | main context file: /home/massi/context/lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2019.07.24 11:31 mtx-context | main context file: /home/massi/context/lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkxl mtx-context | current version: 2020.02.11 16:41 "2020.02.11 16:41" for MKXL looks right to me, since it's the version you are talking of in your message. But what about "2019.07.24 11:31" for MKIV? It's even older than the one you get with first-setup.sh. Maybe it's the version when MKXL and MKIV split, and "2020.01.30 14:13" is the latest version of MKIV with the backporting of some of the enhancements that took place in MKXL. Is it like that? Best greetings, Massi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Color Profiles in lmtx
Am 12.02.20 um 19:48 schrieb Pablo Rodriguez: > On 2/12/20 5:15 PM, Jan U. Hasecke wrote: >> [...] >> I just realized that the above output is the right output. > > Hi Jan Ulrich, > > you might check profiles that with VeraPDF (or simply \nopdfcompression > as first command in the source and search for the profile 😎), > >> Ok. But now I have another question >> >> I want to install a new profile I downloaded from eci.org >> [...] >> But the file in texmf-local is not found >> >> backend > profiles > profile specification 'PSO Uncoated >> ISO12647 ECI' not found in 'colorprofiles.xml, colorprofiles.lua' >> >> How can I make context aware of the files? > > How about deleting the cache (simply remove > tex/context-cache/luatex-cache) and generate it again (by running > "mtxrun --generate", before compiling your source again? I get the error that was reported in another thread. :-( resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) .sh ./install.sh was the solution. I cannot use mtxrun in a way like "mtxrun --locate" in lmtx: $ mtxrun --locate mtxrun | forcing cache reload resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/juh/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/juh/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/juh/texmf-context/web2c' from specification 'selfautoparent:/texmf-context/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/juh/texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/juh/texmf/web2c' from specification 'selfautoparent:/texmf/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/juh/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/juh/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/juh/texmf-context/web2c' from specification 'selfautoparent:/texmf-context/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/juh/texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path '/home/juh/texmf/web2c' from specification 'selfautoparent:/texmf/web2c' resolvers | resolving | resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) resolvers | resolving | mtxrun | the resolver databases are not present or outdated ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Label in externalfigures
I’ve tested this but it appears outside, not as an layer over the picture. \startMPcode draw lmt_svg [ filename = "steguppgift.svg", height = 5cm, width = 10cm, ] ; label(\sometxt{5,0m},(63.936298,129.563995)); label(\sometxt{37°},(95.652702,27.367201)); \stopMPcode Thanks /Janne > 12 feb. 2020 kl. 20:10 skrev Hans Hagen : > > On 2/12/2020 6:01 PM, Jan-Erik Hägglöf wrote: >> The expected output should be like this, see example in the link below >> https://drive.google.com/file/d/13pCuUvNeL7T_Hs7-qrKZclkadcJ7_jVV/view?usp=sharing >> So that I have a picture so I can change the label text inside according to >> different needs e.g change from 37° to 41° without reediting it in Inkscape. >> A similar properties like latex export picture.pdf_tex which is a function >> in Inkscape >> I investigate the details manual tip you provided, thanks a lot. > you might want to peek into the luametafun manual as svg is discussed there, > including label stuff > > what you can also try (with lmtx) is this (no real interface yet): > > \starttext > > \hbox\bgroup > \ctxlua{metapost.startsvghashing()}% > \includesvgfile[labels-004.svg]% > \ctxlua{metapost.stopsvghashing()}% > \egroup > > \stoptext > > which should turn your labels into tex, so you can typeset them as tex (so > $\\sin(x)$ comes out as math) it's no big deal to add a remap option there > but then i'd rather go for symbolic names > > Hans > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Problem with \setuparranging
Hello, I need to create a document where page arranging is mixed somhow - so that some pages are to be typeset "normally", some other placed "2 pages onto 1 page". All pages should appear as A3 size. A simplified code follows; its goal is: - page 1: to be one external figure of size A3 (red), - page 2: to be composed of one page of size A4 (green) on the left half, some text on the right half, - page 3: to be one external figure of size A3 (the same as on page 1) - page 4: to be composed of one page of size A4 on the left half, some text on the right half (as on page 2). The (unwanted) result is: - page 1: as expected, - page 2: as expected, - page 3: surprisignly A4 (red) (whilst the figure is of A3), - page 4: surprisingly A3, but some text on the left half, and no green A4. Is \setuparranging limited somehow or intended for another use? How to generate "Goal.pdf" instead of "t.pdf"? Best regards, Lukas A3.pdf Description: Adobe PDF document A4.pdf Description: Adobe PDF document \starttext \pagefigure[A3.pdf] \start \setuppapersize[A4,portrait][A3,landscape] \setuparranging[2SIDE] \pagefigure[A4.pdf] \input knuth \stop \pagefigure[A3.pdf] \start \setuppapersize[A4,portrait][A3,landscape] \setuparranging[2SIDE] \pagefigure[A4.pdf] \input knuth \stop \stoptext t.pdf Description: Adobe PDF document Goal.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)
On 2/13/2020 12:45 AM, Rik Kabel wrote: Perhaps there is something in the difference between annotations and attachments that results in different treatments by the various viewers. it has always been that messy; there's also the annotation symbol treatment that can differ; it doesn't help that acrobat changed behaviour a couple of times i think this is why the whole attachment handling was as it is: some comprimise that kind of made them show up ok on the average; but validatin spoiled this and now we're stick with these incompatible viewer behaviour .. not much we can do about it i fear (For instance, i remember that at some point acrobat showed attachments twice in some lists. Often these features ended up in specs without viewer support yet so probably not well tested for interferences either.) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Repeat backgrounds on slides
Hi all, I am a little bit confused as I never had this problem, although I often use backgrounds and layers. \definelayer[bg:hs2020-mond] [x=0, y=0, width=\paperwidth, height=\paperheight] \setlayer[bg:hs2020-mond] [x=0mm, y=0mm] {\externalfigure[background.jpg][height=\paperwidth]} Ususally I call the background after a head command like \starttitle or when I create slides like this \startslide[title={foobar}] \setupbackgrounds[page][background=bg:hs2020-mond] ... \stopslide The problem is that I cannot call the background on another slide. It seems as if the layer is gone after the first usage. So in this example the second bg:hs2020-mond would not print. \startslide[title={foobar}] \setupbackgrounds[page][background=bg:hs2020-mond] ... \stopslide \startslide[title={foobar}] \setupbackgrounds[page][background=bg:other] ... \stopslide \startslide[title={foobar}] \setupbackgrounds[page][background=bg:hs2020-mond] ... \stopslide TIA juh -- Autoren-Homepage: . http://literatur.hasecke.com Satiren & Essays: . http://www.sudelbuch.de Privater Blog: http://www.hasecke.eu Netzliteratur-Projekt: http://www.generationenprojekt.de signature.asc Description: PGP signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___