Re: [NTG-context] CMYK colors not as expected
2011/6/28 Hans van der Meer > I would be pleased to get some advice from "color-knowledgeable people" on > the following matter. > > In TV-broadcasts there are usually two kinds of subtitles present: Teletext > as characters and DVB as pixels. These can be extracted and rendered with > Metapost. I have done this, but I am not very satisfied with the colors > produced. On the television screen they look bright, when rendered in > Metapost they are dull and muddy. The text is barely readable. > > As I am fairly sure I did extract the correct bits from the CLUT contained > in the stream, I wonder if I am doing something not right at the Metapost > side. In the datastream the values given are the most significant 6, 4, 4 > and 2 bits of respectively Y, Cr, Cb, T. These are scaled to the values > given to Metapost by dividing them by 255. > > In the zip one finds the program (ConTeXt MKIV) used for typesetting, an > example pixel map with clut, and the output. I would be obliged to get some > comments. > > > have you already seen http://en.wikipedia.org/wiki/YCbCr ? -- 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] Repeated Hyphens in URL Cause Fatal Error
On Wed, Jun 29, 2011 at 4:37 AM, Raymond LeClair < raymond.lecl...@synterein.com> wrote: > The following (real) URL causes a fatal error: > > \starttext > \hyphenatedurl{ > http://www.freakingnews.com/Celebrities-Upside-Down-Pictures2433-0.asp > } > \stoptext > > This is LuaTeX, Version beta-0.50.0-2010010503 > ^^^ Really old luatex. It's ok with latest minimals, but as usual "---" is problematic -- 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] Repeated Hyphens in URL Cause Fatal Error
The following (real) URL causes a fatal error: \starttext \hyphenatedurl{http://www.freakingnews.com/Celebrities-Upside-Down-Pictures2433-0.asp} \stoptext This is LuaTeX, Version beta-0.50.0-2010010503 ConTeXt ver: 2009.11.26 16:28 MKIV fmt: 2011.6.24 int: english/english Tex Live distribution on Ubuntu 10.04 LTS Anyone know why? (The URL was included in the tweets of a random Twitter user) ___ 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] Large Figure on Landscape Orientation
On Tue, 2011-06-28 at 01:35 -0400, Aditya Mahajan wrote: > You don't switch layout to fullpage! (...) > Here is a complete working example: Thanks Aditya. That worked =) How can I have the figure centred in that page, uniformly scaled to the maximum size of the page, save, say, 1 cm around the edge? -- 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] Large Figure on Landscape Orientation
After my answer, Wolfgang's answer and Hans's answer, I think that we can officially conclude that : "Yes: if you are not a module writer then you can just remove all the \v! and \c! and everything will be fine" -- 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] Large Figure on Landscape Orientation
On Tue, 2011-06-28 at 23:59 +0200, Hans Hagen wrote: > Sure, I guess that apart from module writers, no one on this list > uses > that notation. Also, when you look at the wiki or discussions on this > list you will seldom see them, Noted. Thanks. -- 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] Large Figure on Landscape Orientation
On 28-6-2011 11:38, Kip Warner wrote: On Tue, 2011-06-28 at 09:28 +0200, Hans Hagen wrote: consider them keys and values that adapt to the interface language, so it's only needed for core code and modules and styles that are meant to run under the dutch, german, etc interface as well so, you probably don't need those prefixes Hans So I can just remove all the \v! and \c! and everything should still be fine? Sure, I guess that apart from module writers, no one on this list uses that notation. Also, when you look at the wiki or discussions on this list you will seldom see them, 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] \about[node] quotation marks
On Tue, 2011-06-28 at 07:13 +0200, Peter Münster wrote: > On Tue, Jun 28 2011, Kip Warner wrote: > > > Is there any way to have ConTeXt not surround the link in the text with > > quotation marks when using \about[some_node]? > > \setupreferencing[left=, right=] Thank you. That did it. -- 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] Large Figure on Landscape Orientation
Am 28.06.2011 um 23:38 schrieb Kip Warner: > On Tue, 2011-06-28 at 09:28 +0200, Hans Hagen wrote: >> >> consider them keys and values that adapt to the interface language, >> so it's only needed for core code and modules and styles that are meant >> to run under the dutch, german, etc interface as well >> >> so, you probably don't need those prefixes >> >> Hans > > So I can just remove all the \v! and \c! and everything should still be fine? Yes. 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] Large Figure on Landscape Orientation
On Tue, Jun 28, 2011 at 11:38 PM, Kip Warner wrote: > On Tue, 2011-06-28 at 09:28 +0200, Hans Hagen wrote: > > > > consider them keys and values that adapt to the interface language, > > so > > it's only needed for core code and modules and styles that are meant > > to > > run under the dutch, german, etc interface as well > > > > so, you probably don't need those prefixes > > > > Hans > > So I can just remove all the \v! and \c! and everything should still be > fine? > > yes -- 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] Large Figure on Landscape Orientation
On Tue, 2011-06-28 at 09:28 +0200, Hans Hagen wrote: > > consider them keys and values that adapt to the interface language, > so > it's only needed for core code and modules and styles that are meant > to > run under the dutch, german, etc interface as well > > so, you probably don't need those prefixes > > Hans So I can just remove all the \v! and \c! and everything should still be fine? -- 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] Large Figure on Landscape Orientation
On Tue, 28 Jun 2011, Wolfgang Schuster wrote: Am 28.06.2011 um 07:35 schrieb Aditya Mahajan: @Hans: Does it make sense to modify \adaptlayout so that it will also accept pre-defined layout. So that we could use: \page \adaptpapersize[diagram] \adaptlayout[fullpage] Current, \adaptlayout only accepts key-values. \page \setuplayout[page] ... \page \setuplayout[reset] That's what I used in my solution. But I think that for situations, \adaptlayout is better (for example, when you don't know when the current page will end). ___ 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] space between label and number
On 28-6-2011 3:06, dalyoung wrote: Hi, By Hans's help, the labels of figures and of tables are appeared in Korean after setting \mainlagnuage[kr]. (\placefigure of \placetable ) Thanks! However, there is no space between label and number like "그림1" or "표3". I tried to add a space like "그림 " in the file char-def and some other files, but it won't work. When mainlanguage is english, the labels are "Figure 1" or "Table 3". There exists a space. You can tweak lang-txt.lua (you need to remake the format afterards). 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] space between label and number
Hi, By Hans's help, the labels of figures and of tables are appeared in Korean after setting \mainlagnuage[kr]. (\placefigure of \placetable ) Thanks! However, there is no space between label and number like "그림1" or "표3". I tried to add a space like "그림 " in the file char-def and some other files, but it won't work. When mainlanguage is english, the labels are "Figure 1" or "Table 3". There exists a space. How to add a space in this case? I have another question. Is it possible to calculate the remaining length to the bottom of the page? I'd like to add a big frame to fit the remaining space after some texts. I think that it is possible in ConTeXt. Thank you for reading. Best regards, Dalyoung ___ 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] Large Figure on Landscape Orientation
Am 28.06.2011 um 07:35 schrieb Aditya Mahajan: > @Hans: Does it make sense to modify \adaptlayout so that it will also accept > pre-defined layout. So that we could use: > >\page >\adaptpapersize[diagram] >\adaptlayout[fullpage] > > > Current, \adaptlayout only accepts key-values. \page \setuplayout[page] ... \page \setuplayout[reset] 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] Large Figure on Landscape Orientation
On 28-6-2011 3:55, Kip Warner wrote: On Mon, 2011-06-27 at 09:52 +0200, Wolfgang Schuster wrote: Make a working minimal example. Thank you. See attached. BTW: Why do you use \c! and \v! for the setups, the arent necessary? I don't know what any of that means, but I saw them in the reference manual's environment source and copied and pasted. I'm new to typesetting with ConTeXt. consider them keys and values that adapt to the interface language, so it's only needed for core code and modules and styles that are meant to run under the dutch, german, etc interface as well so, you probably don't need those prefixes 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 ___