Re: [NTG-context] 16-bit png

2008-02-15 Thread Aditya Mahajan
Hi Does adding \setupcolors[state=start] at the top of the context file help? Hans, how about enabling colors by default in mkiv? Aditya On Thu, 14 Feb 2008, Alan BRASLAU wrote: > Hello, > > I am having problems including 16-bit png files in ConTeXt. In the following > example, red.png is a 80

Re: [NTG-context] 16-bit png

2008-02-15 Thread Taco Hoekwater
Alan BRASLAU wrote: > > $ cat test.tex \starttext \pdfimagehicolor=1 \externalfigure[red][width=\textwidth] \stoptext There, fixed that. That setting could go into the context core, though. > Does this have something to do with \pdfimagehicolor? I am always surprised how many peop

Re: [NTG-context] 16-bit png

2008-02-15 Thread Alan BRASLAU
On Friday 15 February 2008 09:23:12 Taco Hoekwater wrote: > Alan BRASLAU wrote: > > $ cat test.tex > >\starttext >\pdfimagehicolor=1 >\externalfigure[red][width=\textwidth] >\stoptext > > There, fixed that. > > That setting could go into the context core, though. > > > Does this hav

Re: [NTG-context] 16-bit png

2008-02-15 Thread Hans Hagen
Aditya Mahajan wrote: > Hi > > Does adding \setupcolors[state=start] at the top of the context file help? > > Hans, how about enabling colors by default in mkiv? i'll give it a thought (I always need to set it myself too -) Hans -

Re: [NTG-context] 16-bit png

2008-02-15 Thread Hans Hagen
can you send taco /me that image? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.

Re: [NTG-context] 16-bit png

2008-02-15 Thread Taco Hoekwater
Alan BRASLAU wrote: > 1. Of course, I tried "\pdfimagehicolor=1" without results before posting the > question. Next time, post also that you tried that already ;-) > (I would NEVER think about asking for help without trying different > possibilities myself...) Are you by chance running an

Re: [NTG-context] 16-bit png

2008-02-15 Thread Taco Hoekwater
Hans Hagen wrote: > can you send taco /me that image? no need. find an arbitrary png image, then run convert -depth 16 ___ If your question is of interest to others as well, please add an entry to the Wiki! ma

Re: [NTG-context] Subpagenumbers and unwanted last page with MkIV

2008-02-15 Thread Hans Hagen
Wolfgang Schuster wrote: > On Tue, Feb 5, 2008 at 9:57 AM, Wolfgang Schuster > <[EMAIL PROTECTED]> wrote: >> Hi, > \def\savenofsubpages > {\ifsubpaging > \showmessage\m!layouts6{\newnofsubpages,\the\subpageno}% > %\savetwopassdata{\s!subpage}{\newnofsubpages}{\the\subpageno}% > \i

Re: [NTG-context] 16-bit png

2008-02-15 Thread Taco Hoekwater
Hi, We did a bit of offlist emailing and have now fixed this issue. Because I got confused as well, here is a quick recap with the correct diagnostics, for future reference: The context example actually did work as promised: it included the image in 16-bit color in a PDF 1.5 document. The conte

Re: [NTG-context] 16-bit png

2008-02-15 Thread Alan BRASLAU
On Friday 15 February 2008 10:36:02 Taco Hoekwater wrote: > xpdf (and its derivatives) does not support 16-bit color. > No warning, the pdf is just displayed incorrectly. > > It 'works' in pdflatex in xpdf because the file does not contain a > 16-bit image at all, it is automatically downgraded. >

Re: [NTG-context] Problem with Portuguese hyphenation

2008-02-15 Thread Taco Hoekwater
Maurí­cio wrote: > Hi, > > In Portuguese, the rule about hyphenating > word that contain hyphens themselves is to > preserve the hyphen in the next line. For > instance, the sentence "Seria bom se eu > pudesse tê-lo mantido como amigo, mas por > mais bem-intencionado que eu fosse, não > foi poss

Re: [NTG-context] latest release(s) and XeTeX

2008-02-15 Thread Mojca Miklavec
On Fri, Feb 15, 2008 at 3:24 AM, Jeff Smith wrote: > On Wed, Feb 13, 2008 at 7:10 AM, Mojca Miklavec wrote: > > > The command needs to be in a single line (it has been broken in mail). > > So "folder-with-otf-lm" needs to stay in the same line (and you need > > to replace it with the actual fo

Re: [NTG-context] interaction query

2008-02-15 Thread Hans Hagen
Alan Bowen wrote: > \dorecurse{2}{\input knuth} ^ add a space here, or \relax \input whatever \relax - Hans Hagen | PRAGMA ADE Ridderstraat 27 |

Re: [NTG-context] interaction query

2008-02-15 Thread Alan Bowen
Thanks, Hans. That is good to know. The cross-reference however is still in the wrong color. Is it a problem just on my box? Alan On Feb 15, 2008, at 08;07,27 , Hans Hagen wrote: > Alan Bowen wrote: > >> \dorecurse{2}{\input knuth} > ^ add a space here, or \relax >

Re: [NTG-context] interaction query

2008-02-15 Thread Wolfgang Schuster
On Fri, Feb 15, 2008 at 2:35 PM, Alan Bowen <[EMAIL PROTECTED]> wrote: > Thanks, Hans. That is good to know. > > The cross-reference however is still in the wrong color. Is it a > problem just on my box? What do you want is not supported but you define your own command with a colored pagenumber.

Re: [NTG-context] interaction query

2008-02-15 Thread Hans Hagen
Wolfgang Schuster wrote: > On Fri, Feb 15, 2008 at 2:35 PM, Alan Bowen <[EMAIL PROTECTED]> wrote: >> Thanks, Hans. That is good to know. >> >> The cross-reference however is still in the wrong color. Is it a >> problem just on my box? > > What do you want is not supported but you define your own

[NTG-context] ghosts in mpost?

2008-02-15 Thread Olivier
Hi everyone, I ran into trouble while trying to compile \startreusableMPgraphic{try} label(textext{$x\vphantom{y}z$}, origin); \stopreusableMPgraphic \reuseMPgraphic{try} Is this a bug? Olivier ___ If your ques

Re: [NTG-context] latest release(s) and XeTeX

2008-02-15 Thread Jeff Smith
On Fri, Feb 15, 2008 at 6:59 AM, Mojca Miklavec <[EMAIL PROTECTED]> wrote: > You need the following four files in the proper location > (TDS/fonts/map/dvipdfm/lm/): > http://minimals.contextgarden.net/current/fonts/common/fonts/map/dvipdfm/lm/ > (accessible through rsync as well) Great! Matter

[NTG-context] setupreferenceformat questions

2008-02-15 Thread Santy, Michael
Due to some fairly unique customer requirements for bibliography, we're using the simple bibliography discussed in the wiki (http://wiki.contextgarden.net/Simple_Bibliography). While this approach gives us more flexibility, I'm having trouble with a couple of things... 1) The code below wrap

Re: [NTG-context] ghosts in mpost?

2008-02-15 Thread Taco Hoekwater
Olivier wrote: > Hi everyone, > > I ran into trouble while trying to compile > > \startreusableMPgraphic{try} > label(textext{$x\vphantom{y}z$}, origin); > \stopreusableMPgraphic > > \reuseMPgraphic{try} > > Is this a bug? Well, the error message is not nice, and maybe an \unexpanded in f

[NTG-context] hz and protrusion

2008-02-15 Thread Hans Hagen
Hi, The latest luatex beta + mkiv support hz and protruding. The user interface will be extended a bit, but for the moment it goes as follows: % engine=luatex % \setupfontexpansion [quality][stretch=2.5,shrink=2.5,step=.5,factor=1] \setupfontexpansion[oeps][a=1,b=2] \setuptolerance[verytolera

Re: [NTG-context] ghosts in mpost?

2008-02-15 Thread Olivier
Hi Taco, Quoting "Taco Hoekwater" : > -- was [EMAIL PROTECTED] on Feb 15, 2008 at 05:25:16PM -- > > \startreusableMPgraphic{try} > > label(textext{$x\vphantom{y}z$}, origin); > > \stopreusableMPgraphic > > > > \reuseMPgraphic{try} > Well, the error message is not nice, and maybe > an \unexp

Re: [NTG-context] Problem with Portuguese hyphenation

2008-02-15 Thread Maurí­cio
> Maurí­cio wrote: >> Hi, >> >> In Portuguese, the rule about hyphenating >> word that contain hyphens themselves is to >> preserve the hyphen in the next line. (...) > Because there is no low-level support for this > in TeX, you will have to input such words as tê|_|lo. > (...) Interesting. What

Re: [NTG-context] XML: mapping definiton on the fly?

2008-02-15 Thread Johannes Graumann
Hans Hagen wrote: > Johannes Graumann wrote: >> Hans, >> >> Can you drop any hints as to whether this is even possible and whether >> there's something exemplary around I may meditate about? > > this kind of questions always puts me in "need to think about it" mode > which may take some time >

Re: [NTG-context] interaction query

2008-02-15 Thread Alan Bowen
Wolfgang, Many thanks for this. It does the job perfectly. I supplemented your suggestion (following your lead) with \definereferenceformat [givenote] [command=\in, left={\color[blue]}] which gives me references formatted exactly as I need. All best, Alan On Feb 15, 2008, at 09;05,18 , Wolfg

Re: [NTG-context] XML: mapping definiton on the fly?

2008-02-15 Thread Johannes Graumann
Hans, Can you drop any hints as to whether this is even possible and whether there's something exemplary around I may meditate about? Thanks, Joh Johannes Graumann wrote: > Dear XML-processing inclined, > > I was wondering whether with MarkV it is possible to parse an XML file > that contains

Re: [NTG-context] XML: mapping definiton on the fly?

2008-02-15 Thread Hans Hagen
btw, see x-*.mkiv for examples - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com

Re: [NTG-context] XML: mapping definiton on the fly?

2008-02-15 Thread Hans Hagen
Johannes Graumann wrote: > Hans, > > Can you drop any hints as to whether this is even possible and whether > there's something exemplary around I may meditate about? this kind of questions always puts me in "need to think about it" mode which may take some time anyhow, one solution is ... \st