Re: [NTG-context] Rendering differences between PDF viewers
On Tue, 2012-04-24 at 14:42 +0200, Hans Hagen wrote: > as a prelude, the next beta will have > > \setupcolors[pagecolormodel=rgb] % gray rgb cmyk auto none > > and issue a warning when no model is set when using transparencies Thanks Hans. I'll add that to my environment. When using the aforementioned beta, I take it I can remove the inline lua? \startluacode backends= backendsor { } backends.codeinjections = backends.codeinjections or { } function backends.codeinjections.rgbtransparencygroup() local d = lpdf.dictionary { S = lpdf.constant("Transparency"), CS = lpdf.constant("DeviceRGB"), I = true } lpdf.registerpagefinalizer(function() lpdf.addtopageattributes("Group",d) end) end backends.codeinjections.rgbtransparencygroup() \stopluacode -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] install older beta
On Tue, Apr 24, 2012 at 11:00 PM, Henning Hraban Ramm wrote: > Any hints? 1) start with a new standalone on folder ~/workspace/context/standalone Don't run #> . setuptex ie #> source setuptex 2) put the repo under ~/workspace/context/git 3) search the commit you need with git log #> git log e.g commit 47864ebdfe2d9916e365c2f278585a94879c813d Author: Marius Date: Mon Jan 2 18:40:26 2012 +0200 beta 2012.01.02 17:18 4) build a zip #> git archive --format=zip -v -o 'beta_2012_01_02_17_18.zip' 47864ebdfe2d9916e365c2f278585a94879c813d 5) replace all the files under ~/workspace/context/standalone/tex/texmf-context with the content of beta_2012_01_02_17_18.zip 6) now run setuptex: #> cd ~/workspace/context/standalone/tex #> . setuptex or #> source setuptex 7>) rebuild the format and the font cache #>context --generate #># mtxrun --script fonts --reload Update the repo with git pull, maybe with a daily cron. -- luigi ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] install older beta
Am 2012-04-24 um 21:00 schrieb luigi scarso: On Tue, Apr 24, 2012 at 8:41 PM, Henning Hraban Ramm wrote: While the current issues (footnotes, imposition) are open, I'd like to roll back to a working beta. Unfortately the latest listed at http://minimals.contextgarden.net/current/context/ is from 2011; is this really the list of available versions? http://gitorious.org/context Thank you, but I don't seem to get that working... - cloned the repo to ~/workspace/texmf-context and checked out some older commit - set TEXROOT to ~/workspace/texmf-context - created a symlink TEXROOT/texmf to TEXROOT, since setuptex looks for that - created empty tex/plain/base/plain.tex, since setuptex looks for that (why plain??) - symlinked "suite" binaries (~/Library/texmf/tex/texmf-osx-intel to TEXROOT/texmf-osx-intel) $ . ~/Library/texmf/tex/setuptex $TEXROOT Setting "/Users/hraban/workspace/texmf-context" as ConTeXt root. $ which context /Users/hraban/workspace/texmf-context/texmf-osx-intel/bin/context $ echo $TEXROOT /Users/hraban/workspace/texmf-context But ConTeXt still uses the suite tree: $ context --version mtx-context | ConTeXt Process Management 0.52 mtx-context | mtx-context | main context file: /Users/hraban/Library/texmf/tex/ texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2012.04.23 15:58 $ context --arrange arrange mtx-context | run 1: luatex --fmt="/Users/hraban/Library/texmf/tex/ texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/ formats/cont-en" --lua="/Users/hraban/Library/texmf/tex/texmf-cache/ luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont- en.lui" --backend="pdf" "./arrange" \stoptext This is LuaTeX, Version beta-0.70.1-2011051908 (rev 4277) \write18 enabled. (arrange.tex ConTeXt ver: 2012.04.23 15:58 MKIV fmt: 2012.4.23 int: english/ english Any hints? Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] install older beta
On Tue, Apr 24, 2012 at 8:41 PM, Henning Hraban Ramm wrote: > While the current issues (footnotes, imposition) are open, I'd like to roll > back to a working beta. > Unfortately the latest listed at > http://minimals.contextgarden.net/current/context/ is from 2011; is this > really the list of available versions? http://gitorious.org/context -- luigi ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] install older beta
While the current issues (footnotes, imposition) are open, I'd like to roll back to a working beta. Unfortately the latest listed at http://minimals.contextgarden.net/current/context/ is from 2011; is this really the list of available versions? Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
Am 24.04.2012 um 18:57 schrieb Mari Voipio: > On Sat, Apr 21, 2012 at 12:36, Wolfgang Schuster > wrote: >> You need \starttypescript[serif][blackletter] but there is a shorter method: >> >> \definetypeface[lucidablackletter][rm][specserif][Lucida Blackletter OT] >> >> \setupbodyfont[lucidaot] >> >> \starttext >> Lucida Bright {\lucidablackletter Lucida Blackletter} Lucida Bright >> \stoptext > > > OK, so I went and got stuck again... > > I want to use blackletter as my bodyfont (text and headings, no > footers or headers or captions or anything else), BUT I'd prefer to > use Lucida Calligraphy OT (\cg) as the font in emphasis both for the > sake of legibility and because that is at least close to correct for > the period I'm doing. > > > If I do > > {\lucidablackletter > component 5-loops-broad > } > > that is a) not neat and b) overrides any definition in my environment file > like > > \definebodyfontenvironment[lucidablackletter][em=cg] > > or > > > \definebodyfontenvironment[default][em=cg] > > > > I can get either or, but not both - I think I'm being a clueless > again, operating outside of the standard five font switches definitely > is uncharted waters for me... So what's the neatest way of ensuring > that when I compile this particular version of my product (with the > appropriate environment file), bodyfont is blackletter and emphasis is > calligraphy? > All the other versions will use ConTeXt defaults (or at least close), > it's just this one that needs a bit of expert help… \definetypeface[mainface][rm][specserif] [Lucida Blackletter OT][default][features=default] \definetypeface[mainface][cg][calligraphy][lucidaot] [default][features=default] \setupbodyfont[mainface] \definebodyfontenvironment[default][em=cg] \starttext \input knuth roman {\cg calligraphic} roman {\em emphasized} roman \stoptext 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
On Sat, Apr 21, 2012 at 12:36, Wolfgang Schuster wrote: > You need \starttypescript[serif][blackletter] but there is a shorter method: > > \definetypeface[lucidablackletter][rm][specserif][Lucida Blackletter OT] > > \setupbodyfont[lucidaot] > > \starttext > Lucida Bright {\lucidablackletter Lucida Blackletter} Lucida Bright > \stoptext OK, so I went and got stuck again... I want to use blackletter as my bodyfont (text and headings, no footers or headers or captions or anything else), BUT I'd prefer to use Lucida Calligraphy OT (\cg) as the font in emphasis both for the sake of legibility and because that is at least close to correct for the period I'm doing. If I do {\lucidablackletter component 5-loops-broad } that is a) not neat and b) overrides any definition in my environment file like \definebodyfontenvironment[lucidablackletter][em=cg] or \definebodyfontenvironment[default][em=cg] I can get either or, but not both - I think I'm being a clueless again, operating outside of the standard five font switches definitely is uncharted waters for me... So what's the neatest way of ensuring that when I compile this particular version of my product (with the appropriate environment file), bodyfont is blackletter and emphasis is calligraphy? All the other versions will use ConTeXt defaults (or at least close), it's just this one that needs a bit of expert help... Thank you for your patience, Mari ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Reducing inter-character spacing?
On Tue, Apr 24, 2012 at 18:20, Marco wrote: > \definecharacterkerning [narrow] [factor=-.1] > > \starttext > > \setcharacterkerning [narrow] > \input knuth > > \stoptext This did the trick - and -.1 was just enough to dense the text up but not into total mess (-.2 was definitely Far Too Much). > Watch out, this mechanism breaks ligatures. Doesn't matter in this case, I'm not that good at them when doing this by hand (involves ink, steel nib and too many splotches). My kerning still sucks big time in hand calligraphy, ConTeXt does it better. :-D Besides, if I ever want to do this really properly, I'll have to define my own ligatures anyway, they had all kinds of weird abbreviations which depend on whether you write English, Latin or Swedish... Won't happen this round, the contents won't be in fully period style either, just in the "inspired by" range. Maybe for September. Thank you, this admirably solved that little problem! Mari ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] multitone color problem
Hi, just playing around with spot colors and run into this problem. tested with 23.04.2012 and ??.11.2011, same result. the color definition leads to an invalid pdf. % multitone.tex \nopdfcompression \setuppagenumber[state=stop] \definemultitonecolor[combicolor] [blue=.12,yellow=.28] [c=.1,m=.1,y=.3,k=.1] \starttext \null \stoptext %-- I also attached the original example (spot.tex). Best wishes, Peter % interface=en output=pdftex % Time-stamp: % \setuplayout[header=0pt,footer=0pt,width=middle,height=middle,backspace=1cm,topspace=1cm] \setupcolors[state=start] \startbuffer \definecolor [blue] [c=1,m=.38,y=0,k=.64] \definecolor [yellow] [c=0,m=.28,y=1,k=.06] \definecolor [blue-100] [blue] [p=1] \definecolor [yellow-100] [yellow] [p=1] \definemultitonecolor [combicolor] [blue=.12,yellow=.28] [c=.1,m=.1,y=.3,k=.1] \definemultitonecolor [combicolor-b] [blue=1] [c=1,m=.38,y=0,k=.64] % force multitone \definemultitonecolor [combicolor-y] [yellow=1] [c=0,m=.28,y=1,k=.06] % force multitone \useexternalfigure[demo-a][mill.png] [object=no,width=.2\textwidth] \useexternalfigure[demo-b][hacker-bw.png][object=no,width=.2\textwidth] \startbaselinecorrection \startcombination[4*1] {\externalfigure[demo-a]} {no color} {\externalfigure[demo-a][color=combicolor]} {indexed duotone} {\externalfigure[demo-a][color=combicolor-b]} {spot color} {\externalfigure[demo-a][color=combicolor-y]} {spot color} \stopcombination \stopbaselinecorrection \startbaselinecorrection \startcombination[4*1] {\externalfigure[demo-b]} {no color} {\externalfigure[demo-b][color=combicolor]} {indexed duotone} {\externalfigure[demo-b][color=combicolor-b]} {spot color} {\externalfigure[demo-b][color=combicolor-y]} {spot color} \stopcombination \stopbaselinecorrection \startbaselinecorrection \startcombination[4*1] {\externalfigure[demo-a]} {no color} {\externalfigure[demo-a][color=combicolor]} {indexed duotone} {\externalfigure[demo-a][color=blue-100]} {spot color} {\externalfigure[demo-a][color=yellow-100]} {spot color} \stopcombination \stopbaselinecorrection \startbaselinecorrection \startcombination[4*1] {\externalfigure[demo-b]} {no color} {\externalfigure[demo-b][color=combicolor]} {indexed duotone} {\externalfigure[demo-b][color=blue-100]} {spot color} {\externalfigure[demo-b][color=yellow-100]} {spot color} \stopcombination \stopbaselinecorrection \stopbuffer \starttext \getbuffer \typebuffer \stoptext %%% Local Variables: %%% mode: context %%% TeX-master: "" %%% End: multitone.7z Description: Binary data ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Reducing inter-character spacing?
On 2012-04-24 Mari Voipio wrote: > How can I reduces inter-character spacing in a font? \definecharacterkerning [narrow] [factor=-.1] \definecharacterkerning [wide] [factor=.2] \starttext \setcharacterkerning [narrow] \input knuth \setcharacterkerning [wide] \input knuth \setcharacterkerning [reset] \input knuth \stoptext Watch out, this mechanism breaks ligatures. Marco ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Reducing inter-character spacing?
Hello, here comes yet another "I could do this in Word but can't figure it out how ConTeXt does it" font-related question: How can I reduces inter-character spacing in a font? I've found out that the spacing can be temporarily expanded by \stretched{}, but what's the opposite and how to control it? And I want to do it all over one product in my project, but on the other hand I don't need to reset it for any individual words or anything. (I assume that if the overall inter-character spacing is reduced, inter-word spacing will follow, but if not, I need to be able to reduce that, too.) I guess it isn't easily available because I'm not really supposed to be cramping the nicely designed fonts, especially not my nice new shiny Lucida OT - but I'm trying to create something in the style of past centuries when the style and requirements were different from today's. I've decided to use ConTeXt just because it should allow me to produce both the period-looking-but-illegible and nicely-typeset-modern-but-actually-usable versions of the same project. :-) TIA, Mari ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \goto[]…\reference[]{} in component files query
I will try again adding more detail in the hope that this will help. The following is not a minimal example but a bare outline of what I have and where the problems with the cross-references arise. This structure works with MKII, so the query is whether something has changed in the command structure or whether the problem with cross-references that Wolfgang mentioned some time ago still persists. If the latter, it would be really good to if there is going to be a fix soon. In either case, I need a solution: the journal lives on online and the cross-references are essential to it. So any suggestions or news will be gratefully received. Alan \startproduct prd_Journal_vol-09 \setupinteraction[state=start,color=blue,% contrastcolor=red,style=rm,display=new] \component c_comp01 \component c_comp02 \stopproduct %c_comp01 \startcomponent c_comp01 \at[abc] %this shows proper page number in blue % and is an active link \stopcomponent %c_comp02 \startcomponent c_comp02 \Title[abc]{x} pp. \at[abc]--\at[endcomp02] %shows correct page numbers in proper %colors but blue link goes to “page (null)” \goto{the end}[endcomp02] %shows “the end” in blue %but link goes to “page (null)” \reference[endcomp02]{} \stopcomponent ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] [OT] Average font
Am 24.04.2012 um 15:51 schrieb Hans Hagen: > On 24-4-2012 15:21, Aditya Mahajan wrote: >> http://iotic.com/averia/ >> >> Someone should write a luatex module that does the same thing :) > > In case you want to play with it ... attached a typescript file. The \typescripttwo for the serif style isn’t a good idea because \definetypeface[…][rm][serif][averia][default] won’t work. 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] [OT] Average font
On 24-4-2012 15:21, Aditya Mahajan wrote: http://iotic.com/averia/ Someone should write a luatex module that does the same thing :) In case you want to play with it ... attached a typescript file. \setupbodyfont[averia] \starttext \rm \input zapf \ss \input zapf \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - %D \module %D [ file=type-imp-averia, %Dversion=2012.04.24, %D title=\CONTEXT\ Typescript Macros, %D subtitle=Averia fonts (iotic.com), %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. %D The fonts can be downloaded from the (nice looking) page: %D %D \starttyping %D http://iotic.com/averia %D \stoptyping %D %D This link was posted by Aditya on the ConTeXt mailing list. %D %D There is no monospace font yet. \starttypescriptcollection[averia] \starttypescript [\s!serif] [averia,averiaserif] [\s!name] \setups[\s!font:\s!fallback:\s!serif] \definefontsynonym [\s!Serif] [\s!file:\typescripttwo-regular][\s!features=\s!default] \definefontsynonym [\s!SerifBold] [\s!file:\typescripttwo-bold] [\s!features=\s!default] \definefontsynonym [\s!SerifItalic] [\s!file:\typescripttwo-italic] [\s!features=\s!default] \definefontsynonym [\s!SerifBoldItalic] [\s!file:\typescripttwo-bolditalic] [\s!features=\s!default] \stoptypescript \starttypescript [\s!serif] [averia-light,averiaserif-light] [\s!name] \setups[\s!font:\s!fallback:\s!serif] \definefontsynonym [\s!Serif] [\s!file:\typescripttwo-light] [\s!features=\s!default] \definefontsynonym [\s!SerifBold] [\s!file:\typescripttwo-regular] [\s!features=\s!default] \definefontsynonym [\s!SerifItalic] [\s!file:\typescripttwo-lightitalic] [\s!features=\s!default] \definefontsynonym [\s!SerifBoldItalic] [\s!file:\typescripttwo-italic] [\s!features=\s!default] \stoptypescript \starttypescript [\s!sans] [averiasans] [\s!name] \setups[\s!font:\s!fallback:\s!sans] \definefontsynonym [\s!Sans] [\s!file:averiasans-regular][\s!features=\s!default] \definefontsynonym [\s!SansBold] [\s!file:averiasans-bold] [\s!features=\s!default] \definefontsynonym [\s!SansItalic] [\s!file:averiasans-italic] [\s!features=\s!default] \definefontsynonym [\s!SansBoldItalic] [\s!file:averiasans-bolditalic] [\s!features=\s!default] \stoptypescript \starttypescript [\s!sans] [averiasans-light] [\s!name] \setups[\s!font:\s!fallback:\s!sans] \definefontsynonym [\s!Sans] [\s!file:averiasans-light] [\s!features=\s!default] \definefontsynonym [\s!SansBold] [\s!file:averiasans-regular] [\s!features=\s!default] \definefontsynonym [\s!SansItalic] [\s!file:averiasans-lightitalic] [\s!features=\s!default] \definefontsynonym [\s!SansBoldItalic] [\s!file:averiasans-italic] [\s!features=\s!default] \stoptypescript % todo: rscale \starttypescript[averia] \definetypeface [averia] [\s!rm] [\s!serif] [averiaserif] [\s!default] \definetypeface [averia] [\s!ss] [\s!sans] [averiasans] [\s!default] \definetypeface [averia] [\s!tt] [\s!mono] [dejavu] [\s!default] \definetypeface [averia] [\s!mm] [\s!math] [times] [\s!default] \stoptypescript \starttypescript[averia-light] \definetypeface [averia] [\s!rm] [\s!serif] [averiaserif-light] [\s!default] \definetypeface [averia] [\s!ss] [\s!sans] [averiasans-light] [\s!default] \definetypeface [averia] [\s!tt] [\s!mono] [dejavu][\s!default] \definetypeface [averia] [\s!mm] [\s!math] [times] [\s!default] \stoptypescript \stoptypescriptcollection ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Rendering differences between PDF viewers
Am 24.04.2012 14:42, schrieb Hans Hagen: > On 20-4-2012 09:50, Peter Rolf wrote: >> Am 19.04.2012 20:25, schrieb Hans Hagen: >>> On 18-4-2012 13:12, Peter Rolf wrote: >>> I understand that there is no easy or general solution for this. But on the other hand is PNG currently the only way to use transparent bitmaps in TeX. The usage of transparent PNG is quite common, so this is a general problem that should be solved. I like your idea of automatically adding such groups, if the user declares the color space beforehand. Also no answer for the spot color problem, but as long as the user does not limit the used color spaces, things can stay as they are. Just my 2 cents. >>> >>> so first wen need to test with mixed color space documents and such >>> hacks to see what happens (as we don't want invalid documents) >>> >> >> ok. i don't expect any formal problems, only more or less ugly color >> shifts. anyhow, we will see. >> >> needs some thinking about proper examples (colored text, vector and >> pixel based graphics in RGB,CMYK,Spot)... >> i think 'draw ColorCircle(..)' is a perfect candidate for the complete >> graphic part. one page with transparency and also one page without any >> transparency (the page group shouldn't kick in). later on we can add >> some icc profiles to spice things up. >> >> i'll start to make a test document on the weekend then. if i have missed >> something important, let me know. any additional ideas are also >> welcome :-) > > as a prelude, the next beta will have > > \setupcolors[pagecolormodel=rgb] % gray rgb cmyk auto none > > and issue a warning when no model is set when using transparencies > nice. a test document with mixed color spaces is also in work and should be ready in a few days. Peter ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] [OT] Average font
On Tue, Apr 24, 2012 at 3:28 PM, Hans Hagen wrote: > On 24-4-2012 15:21, Aditya Mahajan wrote: >> >> http://iotic.com/averia/ >> >> Someone should write a luatex module that does the same thing :) > > > I guess that Luigi started immediately ... :-) I must admit that it's a nice application of MFLua ( with fflua, when both will be finished ). -- luigi ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] [OT] Average font
On 24-4-2012 15:21, Aditya Mahajan wrote: http://iotic.com/averia/ Someone should write a luatex module that does the same thing :) I guess that Luigi started immediately ... Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] [OT] Average font
http://iotic.com/averia/ Someone should write a luatex module that does the same thing :) Aditya ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] footnotes
On Tue, 24 Apr 2012 14:21:36 +0200 Wolfgang Schuster wrote: > > Am 24.04.2012 um 10:56 schrieb Alan BRASLAU: > > > 1. way=bypage does not seem to work > > > > \setupnote[footnote][way=bypage,numberconversion=set 2] > > \starttext > > \input{tufte}\footnote{Note.} > > \page > > \input{dawkins}\footnote{Another note.} > > \stoptext > > Counter settings are applied with the \setupnotation command. So, this is a treasure hunt! I tried \setupnotation[footnote][way=bypage,numberconversion=set 2] and this works, (I just corrected the wiki) sort-of: If one manages to get a footnote reference at the bottom of a page, where there is no room to place the footnote, and there is at least one footnote reference on the following page, this results in two successive footnotes having the same reference number (or symbol)! This is a bug. What about \startfootnote \stopfootnote and \autoinsertnextspace ? Alan ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Rendering differences between PDF viewers
On 20-4-2012 09:50, Peter Rolf wrote: Am 19.04.2012 20:25, schrieb Hans Hagen: On 18-4-2012 13:12, Peter Rolf wrote: I understand that there is no easy or general solution for this. But on the other hand is PNG currently the only way to use transparent bitmaps in TeX. The usage of transparent PNG is quite common, so this is a general problem that should be solved. I like your idea of automatically adding such groups, if the user declares the color space beforehand. Also no answer for the spot color problem, but as long as the user does not limit the used color spaces, things can stay as they are. Just my 2 cents. so first wen need to test with mixed color space documents and such hacks to see what happens (as we don't want invalid documents) ok. i don't expect any formal problems, only more or less ugly color shifts. anyhow, we will see. needs some thinking about proper examples (colored text, vector and pixel based graphics in RGB,CMYK,Spot)... i think 'draw ColorCircle(..)' is a perfect candidate for the complete graphic part. one page with transparency and also one page without any transparency (the page group shouldn't kick in). later on we can add some icc profiles to spice things up. i'll start to make a test document on the weekend then. if i have missed something important, let me know. any additional ideas are also welcome :-) as a prelude, the next beta will have \setupcolors[pagecolormodel=rgb] % gray rgb cmyk auto none and issue a warning when no model is set when using transparencies Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] footnotes
Am 24.04.2012 um 10:56 schrieb Alan BRASLAU: > Hello, > > Footnotes are (still?) undergoing development in mkiv. > I have several issues: > > 1. way=bypage does not seem to work > > \setupnote[footnote][way=bypage,numberconversion=set 2] > \starttext > \input{tufte}\footnote{Note.} > \page > \input{dawkins}\footnote{Another note.} > \stoptext Counter settings are applied with the \setupnotation command. > (I do not find numberconversion in strc-not.mkvi; > nevertheless, numbered footnotes do not get reset > on each page.) Footnotes use a internal version of \setupcounter for the counter setups. 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] footnotes
Hello, Footnotes are (still?) undergoing development in mkiv. I have several issues: 1. way=bypage does not seem to work \setupnote[footnote][way=bypage,numberconversion=set 2] \starttext \input{tufte}\footnote{Note.} \page \input{dawkins}\footnote{Another note.} \stoptext (I do not find numberconversion in strc-not.mkvi; nevertheless, numbered footnotes do not get reset on each page.) 2. next=\autoinsertnextspace still does not work \setupnote[footnote][next=\autoinsertnextspace] \starttext Subject% \startfootnote Note. \stopfootnote verb. \stoptext (Note, however, that \starttext Subject\footnote{Note.} verb. \stoptext does not exhibit this problem, as the space does not get eaten!) Alan ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page Numbering using IncludePicture from simple slides
Hi Aidtyam, I don't need the full stepping code ... at least not now ;) Your advice just to decrement the page counter works just fine for me and it's so simple I'm wondering why I could think of that myself. Thanks for your help and your work on simpleslides! Steffen Am 24.04.2012 um 01:22 schrieb Aditya Mahajan: > On Mon, 23 Apr 2012, Steffen Fritzsche wrote: > >> Hi, >> >> I love the IncludePicture command from simple slides but now I've got a >> picture which I want to show stepwise. Therefore I created two pictures a >> simplified version and the full version. I just place them right one after >> the other. >> >> Now it would be perfect if I could force context not to increase the page >> number counter for the second image because in my handout I will only >> include the full picture and at the moment the additional slide is messing >> up my page numbers. >> >> Any suggestions? > > I just manually decrement the userpage. Below is the current version of my > experimental stepping macros. > > \startmodule complexslides-step-yes > \unprotect > > % This module defines two macros: > % \ONLT{count}{...} which displays text on a particular page > % \STEP{count}{...} which displays text from a particular page > % There is also \StartStep {count} ... \StopStep and > % \StartOnly {count} ... \StopOnly version. > > % Everything must be nested in a \StartStepping {iterations} ... \StopStepping > > \def\complexslides_only#1{\csname complexslides_steps_only_#1\endcsname} > \def\complexslides_step#1{\csname complexslides_steps_step_#1\endcsname} > > \def\StartStep#1#2\StopStep{\complexslides_step{#1}{#2}} > \def\StartOnly#1#2\StopOnly{\complexslides_only{#1}{#2}} > > \long\def\gobble#1{} > \long\def\oneofone#1{#1} > > % TODO: Allow nesting of \StartStepping ... \StopStepping > > \def\StartStepping#1#2\StopStepping% > > {\dorecurse{#1}{\long\setvalue{complexslides_steps_step_\recurselevel}{\gobble}}% > > \dorecurse{#1}{\long\setvalue{complexslides_steps_only_\recurselevel}{\gobble}}% > \pushmacro\ONLY > \pushmacro\STEP > \def\ONLY{\complexslides_only}% > \def\STEP{\complexslides_step}% > \dorecurse{#1}{% > \edef\currentStepLevel{\recurselevel}% > \long\setvalue{complexslides_steps_step_\currentStepLevel}{\oneofone}% > \long\setvalue{complexslides_steps_only_\currentStepLevel}{\oneofone}% > #2% > \setvalue{complexslides_steps_only_\currentStepLevel}{\gobble}% > \page\decrementnumber[userpage]}% > \incrementnumber[userpage]% > \popmacro\ONLY > \popmacro\STEP > } > > \def\doifStepelse% >{\doifelse\currentStepLevel} > > % To be used in a group > \unexpanded\def\disablesteps >{\def\complexslides_only##1{\gobble}% ##2 > \def\complexslides_step##1{\oneofone}%##2 >} > > \unexpanded\def\SetStep#1#2% i of n > > {\dorecurse{#2}{\long\setvalue{complexslides_steps_step_\recurselevel}{\gobble}}% > > \dorecurse{#2}{\long\setvalue{complexslides_steps_only_\recurselevel}{\gobble}}% > \edef\currentStepLevel{#1}% > \long\setvalue{complexslides_steps_step_\currentStepLevel}{\oneofone}% > \long\setvalue{complexslides_steps_only_\currentStepLevel}{\oneofone}% >} > > \protect > \stopmodule > > ___ > 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://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > smime.p7s Description: S/MIME cryptographic 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___