Re: [NTG-context] Problems with TeX Live 2010
Dne četrtek 17. junija 2010 ob 19:39:32 je Wolfgang Schuster napisal(a): Can you show the content of the letter? See attached. Cheers, Matija -- gsm: +386 41 849 552 www: http://matija.suklje.name xmpp: matija.suk...@gabbler.org \mainlanguage[en] \enableregime[utf8] \setuppapersize[a4][a4] \usemodule[letter] \usetypescriptfile[type-gyr] \usetypescript[helvetica][qx] \setupbodyfont[helvetica,ss] \setupletter [opening={Dear FSFE,}, subject={Receipts for the Document Freedom Day 2010\note[style]}, closing={Best regards,}, signature={Matija Šuklje\\Coordinator FSFE Fellowship group Slovenia}] \setupletter [fromname={Matija Šuklje}, fromaddress={Dvořakova 10\\SI-1000 Ljubljana\\Slovenia}] \setupletter [toname={Free Software Foundation Europe e.V.}, toaddress={Talstraße 110\\D-40217 Düsseldorf\\Germany}] %enables colours (ConTeXt by default disables colours) \setupcolors[state=start] %Plussy — the FSFE Fellowship logo \startuseMPgraphic{plussy} unit := 0.2cm; dx := 1.2; color maincolor; maincolor = (0,0.9,0); % fixme path p; p := unitsquare scaled unit; fill p withcolor maincolor; fill p shifted ( dx*unit,0) withcolor maincolor; fill p shifted (-dx*unit,0) withcolor maincolor; fill p shifted (0, dx*unit) withcolor maincolor; p := p xscaled ((3-dx)/4) shifted (0,-dx*unit); fill p withcolor maincolor; fill p xyscaled (-1,1) shifted (unit,0) withcolor maincolor; \stopuseMPgraphic \starttext \startletter As promised, here is the financial report of our Fellowship group's Document Freedom Day event. We spent 116.50 € and below you see a small analysis of what these expenses were. \starttable[|r|l|rT|] \HL \NC receipt no. \NC contents \NC amount \SR \HL \NC 02300 \NC posters (photocopied)\NC 12.48 € \FR \NC 055990 \NC parking for cake transferal\NC 6.00 € \AR \NC 1548 \NC cake \NC 69.00 € \AR \NC 26008889 \NC snacks and drinks for the evening\note[frutiq] \NC 29.02 € \LR \HL \NC \NC \NC \Sigma\ = 116.50 € \SR \HL \stoptable \footnotetext[frutiq]{Note: on the snacks and drinks reciept there are also negative amounts — this is due to the fact that there was a \quote{buy a six pack of juice, get a six pack of flavoured water for free} action and the flavoured water had to be deducted from the reciept.} As you can see the expenses were a bit smaller then anticipated. Please find the receipts attached. \useMPgraphic{plussy} \footnotetext[style]{If it's in anyone's interest, I can link or upload my template to this \ConTeXt\ document on the FSFE wiki.} \stopletter \stoptext___ 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] \autoinsertnextspace in MKIV?
On 15-5-2010 12:59, Bernhard Rosensteiner wrote: Hi all, does anybody know if there is an replacement of \autoinsertnextspace in MKIV. I use it a lot in my macros. Until now i copied the macrodefinition from the MKII source in my document, but i think it would be nice if the macro is „out of my eyes“. i'll add a mkiv variant to the beta so that you can do \setupsorting[logo][next=\autoinsertnextspace] \starttext bla \TEX\autoinsertnextspace bla bla \TEX\autoinsertnextspace (bla) bla (\TEX\autoinsertnextspace) bla bla \TEX\autoinsertnextspace\ bla \usemodule[abr-01] bla \TEX bla bla \TEX (bla) bla (\TEX) bla bla \TEX\ bla \stoptext (beta will be uploaded later) - 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] Open Font Garden wiki
Hi, Yesterday I installed a wiki for Open Type font information: http://www.openfontgarden.net The goal of this wiki is to collect as much (meta-)information about freely available OpenType fonts as possible: * status of the font (project) * supported character set / features * known bugs / problems * Example glyph pages * status of OpenSource support for that font (especially TeX of course, but also other programs like Troff and Inkscape) Currently there is no content except for a main page with some dead links, so as you can imagine: I am looking for people to help fill it in. :) Besides content, I wonder if there are people that have ideas for a nice logo and layout. Finally, I am also looking for help setting up and maintaining the wiki itself. This is my first mediawiki, and I don't really know what I am doing. :-/ ___ 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] SVG 2 MetaPost/MetaFun
On 4-4-2010 7:29, Matija Šuklje wrote: Dne nedelja 4. aprila 2010 ob 19:23:18 je Peter Wüsten napisal(a): I just tried using an SVG image directly in MkIV, and it worked like a breeze. Apparently ConTeXt converts the image to PDF on the fly as I found a PDF-file with a similar name (m_k_v_i_your SVG filename.pdf) in the same directory as the SVG-file. If you would still love to convert your SVG-images you might want to use Inkscape: inkscape --export-pdf=PDF filename SVG filename Thanks for the tips :) But actually I'm thinking more in the line of including that logo into my styling directly. So the only solutions would be a) if ConTeXt could use in-line SVG or b) I'll have to port the SVG logo into MetaPost. Is there a non-overhelming howto somewhere ...It's a relatively simple logo (see attachment) :\ svg - pdf (using inkscape) - mp (using pstoedit) - 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 | 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] SVG 2 MetaPost/MetaFun
Is there a SVG to MetaPost/MetaFun converter available? I want to get this quite simple logo to converted from SVG into a ConTeXt- native vector graphic. Cheers, Matija P.S. Too bad SVG is not ConTeXt-native (yet?) -- gsm: +386 41 849 552 www: http://matija.suklje.name xmpp: matija.suk...@gabbler.org ___ 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] SVG 2 MetaPost/MetaFun
I just tried using an SVG image directly in MkIV, and it worked like a breeze. Apparently ConTeXt converts the image to PDF on the fly as I found a PDF-file with a similar name (m_k_v_i_your SVG filename.pdf) in the same directory as the SVG-file. If you would still love to convert your SVG-images you might want to use Inkscape: inkscape --export-pdf=PDF filename SVG filename Peter Wüsten Matija Suklje schrieb: Is there a SVG to MetaPost/MetaFun converter available? I want to get this quite simple logo to converted from SVG into a ConTeXt- native vector graphic. Cheers, Matija P.S. Too bad SVG is not ConTeXt-native (yet?) ___ 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] SVG 2 MetaPost/MetaFun
Dne nedelja 4. aprila 2010 ob 19:23:18 je Peter Wüsten napisal(a): I just tried using an SVG image directly in MkIV, and it worked like a breeze. Apparently ConTeXt converts the image to PDF on the fly as I found a PDF-file with a similar name (m_k_v_i_your SVG filename.pdf) in the same directory as the SVG-file. If you would still love to convert your SVG-images you might want to use Inkscape: inkscape --export-pdf=PDF filename SVG filename Thanks for the tips :) But actually I'm thinking more in the line of including that logo into my styling directly. So the only solutions would be a) if ConTeXt could use in-line SVG or b) I'll have to port the SVG logo into MetaPost. Is there a non-overhelming howto somewhere ...It's a relatively simple logo (see attachment) :\ Cheers, Matija -- gsm: +386 41 849 552 www: http://matija.suklje.name xmpp: matija.suk...@gabbler.org attachment: plussy_plain.svg___ 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] SVG 2 MetaPost/MetaFun
On Sun, Apr 4, 2010 at 19:29, Matija Šuklje wrote: Dne nedelja 4. aprila 2010 ob 19:23:18 je Peter Wüsten napisal(a): I just tried using an SVG image directly in MkIV, and it worked like a breeze. Apparently ConTeXt converts the image to PDF on the fly as I found a PDF-file with a similar name (m_k_v_i_your SVG filename.pdf) in the same directory as the SVG-file. If you would still love to convert your SVG-images you might want to use Inkscape: inkscape --export-pdf=PDF filename SVG filename Thanks for the tips :) But actually I'm thinking more in the line of including that logo into my styling directly. So the only solutions would be a) if ConTeXt could use in-line SVG or b) I'll have to port the SVG logo into MetaPost. Is there a non-overhelming howto somewhere ...It's a relatively simple logo (see attachment) :\ I don't know of any waterproof way to convert from SVG to metapost (all you can do is to convert it to PDF and use that PDF logo), but here's an approximation of your logo in metapost (the legs are wider - you'll need to fix the details by yourself): \starttext \startMPcode unit := 5cm; dx := 1.2; color maincolor; maincolor = (0,0.9,0); % fixme path p; p := unitsquare scaled unit; fill p withcolor maincolor; fill p shifted ( dx*unit,0) withcolor maincolor; fill p shifted (-dx*unit,0) withcolor maincolor; fill p shifted (0, dx*unit) withcolor maincolor; p := p xscaled ((3-dx)/4) shifted (0,-dx*unit); fill p withcolor maincolor; fill p xyscaled (-1,1) shifted (unit,0) withcolor maincolor; \stopMPcode \stoptext Mojca ___ 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] SVG 2 MetaPost/MetaFun
Dne nedelja 4. aprila 2010 ob 22:36:07 je Mojca Miklavec napisal(a): I don't know of any waterproof way to convert from SVG to metapost (all you can do is to convert it to PDF and use that PDF logo), but here's an approximation of your logo in metapost (the legs are wider - you'll need to fix the details by yourself): Wow, thanks! :D I'll dig through the manuals to figure out what that codeblock actually does and try to fix it. BTW, is there a special command I'm missing to turn on the colours in ConTeXt? Cheers, Matija -- gsm: +386 41 849 552 www: http://matija.suklje.name xmpp: matija.suk...@gabbler.org ___ 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] header in the middle on doublesided layout
On Mon, Mar 22, 2010 at 12:58, luigi scarso wrote: On Mon, Mar 22, 2010 at 12:29 PM, Mojca Miklavec wrote: I would like to set a different header on left and right page, but I would like it to be centered on page. How do I do that? I am now hacking with \setupheadertexts[\hbox{\kern-5mm\myheaderright}][][][\hbox{\myheaderleft\kern-5mm}] \def\myheaderright{\hbox to textwidth+10mm{...}} but that's a bit ugly. Mojca Why don't you use setups ? I do use setups on the outer level (not on the inner), but that hardly makes a difference (\setups{Header:Left} and \myleftheader are almost equal). \startsetups[header with logo] \doifmodeelse {twosided} {\setupheadertexts [\hbox{\kern-5mm\myheaderright}][] [][\hbox{\myheaderleft\kern-5mm}]} {\setupheadertexts[\myheaderright]} \stopsetups and then another structure full of hboxes, struts kerns ... but I find it ugly to use explicit kerning just to get the header alignment right. But apparently everyone is hacking with boxes here. That's also OK if there's no better option. Thanks, Mojca ___ 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] header in the middle on doublesided layout
On 22-3-2010 22:04, Mojca Miklavec wrote: On Mon, Mar 22, 2010 at 12:58, luigi scarso wrote: On Mon, Mar 22, 2010 at 12:29 PM, Mojca Miklavec wrote: I would like to set a different header on left and right page, but I would like it to be centered on page. How do I do that? I am now hacking with \setupheadertexts[\hbox{\kern-5mm\myheaderright}][][][\hbox{\myheaderleft\kern-5mm}] \def\myheaderright{\hbox to textwidth+10mm{...}} but that's a bit ugly. Mojca Why don't you use setups ? I do use setups on the outer level (not on the inner), but that hardly makes a difference (\setups{Header:Left} and \myleftheader are almost equal). \startsetups[header with logo] \doifmodeelse {twosided} {\setupheadertexts [\hbox{\kern-5mm\myheaderright}][] [][\hbox{\myheaderleft\kern-5mm}]} {\setupheadertexts[\myheaderright]} \stopsetups and then another structure full of hboxes, struts kerns ... but I find it ugly to use explicit kerning just to get the header alignment right. But apparently everyone is hacking with boxes here. That's also OK if there's no better option. \kern0pt should work or else \kern0pt\strut - 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 | 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] What do you miss in ConTeXt?
!rightquote=\upperrightsingleninequote, \c!leftquotation=\upperleftdoublesixquote, \c!rightquotation=\upperrightdoubleninequote, \c!date={\v!year,\ ,\v!month,\ ,\v!day}, \s!mapping={texnansi,ec}, \s!encoding={texnansi,ec}] \installlanguage [\s!ro] [\c!spacing=\v!packed, \c!leftsentence=---, \c!rightsentence=---, \c!leftsubsentence=---, \c!rightsubsentence=---, \c!leftquote=\leftguillemot, \c!rightquote=\rightguillemot, \c!leftquotation=\lowerrightdoubleninequote, \c!rightquotation=\upperleftdoublesixquote, \c!date={\v!day,\ ,\v!month,\ ,\v!year}] %D For compatibility reasons we also define: \installlanguage [fa] [\s!fr] % for dutchies only \installlanguage [french] [\s!fr] \installlanguage [spanish] [\s!es] \installlanguage [catalan] [\s!ca] \installlanguage [italian] [\s!it] \installlanguage [latin] [\s!la] \installlanguage [portuguese] [\s!pt] \installlanguage [romanian][\s!ro] %D Labels and header texts. \setupheadtext [\s!fr] [\v!content=Table des mati\`eres] \setupheadtext [\s!es] [\v!content=\'Indice] \setupheadtext [\s!ca] [\v!content=\'Index de continguts] \setupheadtext [\s!it] [\v!content=Indice] \setupheadtext [\s!la] [\v!content=Quod in libro continetur] %Argumentum \setupheadtext [\s!pt] [\v!content=Conte\'udo] \setupheadtext [\s!ro] [\v!content=Cuprins] \setupheadtext [\s!fr] [\v!tables=Tableaux] \setupheadtext [\s!es] [\v!tables=Tablas] \setupheadtext [\s!ca] [\v!tables=Taules] \setupheadtext [\s!it] [\v!tables=Tabelle] \setupheadtext [\s!la] [\v!tables=Tabulae] \setupheadtext [\s!pt] [\v!tables=Tabelas] \setupheadtext [\s!ro] [\v!tables=Tabele] \setupheadtext [\s!fr] [\v!figures=Figures] \setupheadtext [\s!es] [\v!figures=Ilustraciones] \setupheadtext [\s!ca] [\v!figures=Figures] \setupheadtext [\s!it] [\v!figures=Figure] \setupheadtext [\s!la] [\v!figures=Imagines] \setupheadtext [\s!pt] [\v!figures=Figuras] \setupheadtext [\s!ro] [\v!figures=Figuri] \setupheadtext [\s!fr] [\v!graphics=Graphiques] \setupheadtext [\s!es] [\v!graphics=Gr\'aficos] \setupheadtext [\s!it] [\v!graphics=Grafici] \setupheadtext [\s!ca] [\v!graphics=Gr\`afiques] \setupheadtext [\s!la] [\v!graphics=Typi] \setupheadtext [\s!pt] [\v!graphics=Gr\'aficos] \setupheadtext [\s!ro] [\v!graphics=Grafice] \setupheadtext [\s!fr] [\v!intermezzi=Interm\`edes] \setupheadtext [\s!es] [\v!intermezzi=intermedios] \setupheadtext [\s!ca] [\v!intermezzi=intermedis] \setupheadtext [\s!it] [\v!intermezzi=Intermezzi] \setupheadtext [\s!la] [\v!intermezzi=Intermissa] \setupheadtext [\s!pt] [\v!intermezzi=Interm\'edios] \setupheadtext [\s!ro] [\v!intermezzi=Intermzzo] \setupheadtext [\s!fr] [\v!index=Index] \setupheadtext [\s!es] [\v!index=\'Indice alfab\'etico] \setupheadtext [\s!ca] [\v!index=\'Index alfab\`etic] \setupheadtext [\s!it] [\v!index=Indice] \setupheadtext [\s!la] [\v!index=Indices] \setupheadtext [\s!pt] [\v!index=\'Indice] \setupheadtext [\s!ro] [\v!index=Index] \setupheadtext [\s!fr] [\v!abbreviations=Abr\'eviations] \setupheadtext [\s!es] [\v!abbreviations=Abreviaciones] \setupheadtext [\s!ca] [\v!abbreviations=Abreviacions] \setupheadtext [\s!it] [\v!abbreviations=Abbreviazioni] \setupheadtext [\s!la] [\v!abbreviations=Notae] \setupheadtext [\s!pt] [\v!abbreviations=Abreviaturas] \setupheadtext [\s!ro] [\v!abbreviations=Abrevieri] \setupheadtext [\s!fr] [\v!logos=Logos] \setupheadtext [\s!es] [\v!logos=Logotipos] \setupheadtext [\s!ca] [\v!logos=Logotips] \setupheadtext [\s!it] [\v!logos=Logotipi] \setupheadtext [\s!la] [\v!logos=Typi negotiales] \setupheadtext [\s!pt] [\v!logos=Logotipos] \setupheadtext [\s!ro] [\v!logos=Logo-uri] \setupheadtext [\s!fr] [\v!units=Unit\'es] \setupheadtext [\s!es] [\v!units=Unidades] \setupheadtext [\s!ca] [\v!units=Unitats] \setupheadtext [\s!it] [\v!units=Unit\`a] \setupheadtext [\s!la] [\v!units=Modi] \setupheadtext [\s!pt] [\v!units=Unidades] \setupheadtext [\s!ro] [\v!units=Unit\u{a}\c{t}i] \setupheadtext [\s!fr] [pubs=Bibliographie] %setupheadtext [\s!es] [pubs=?] \setupheadtext [\s!ca] [pubs=Referències] \setupheadtext [\s!it] [pubs=Bibliografia] %setupheadtext [\s!la] [pubs=?] %setupheadtext [\s!pt] [pubs=?] %setupheadtext [\s!ro] [pubs=?] \setuplabeltext [\s!fr] [\v!table=Tableau ] \setuplabeltext [\s!es] [\v!table=Tabla ] \setuplabeltext [\s!ca] [\v!table=Taula ] \setuplabeltext [\s!it] [\v!table=Tabella ] \setuplabeltext [\s!la] [\v!table=Tabula ] \setuplabeltext [\s!pt] [\v!table=Tabela ] \setuplabeltext [\s!ro] [\v!table=Tabelul ] \setuplabeltext [\s!fr] [\v!figure=Figure ] \setuplabeltext [\s!es] [\v!figure=Ilustraci\'on ] \setuplabeltext [\s!ca] [\v!figure=Figura ] \setuplabeltext [\s!it] [\v!figure=Fig. ] \setuplabeltext [\s!la] [\v!figure=Imago ] \setuplabeltext [\s!pt] [\v!figure=Figura ] \setuplabeltext [\s!ro] [\v!figure=Figura ] \setuplabeltext [\s!fr] [\v!intermezzo=Interm\`ede ] \setuplabeltext [\s!es] [\v!intermezzo=intermedio ] \setuplabeltext [\s!ca] [\v!intermezzo=Intermedi
Re: [NTG-context] lower case a incompatible with hanging
2009/12/19 Taco Hoekwater t...@elvenkind.com Hi, This was a bug in luatex: the function that copies the font information from the base font to the expanded font did not copy the last glyph at all. There is a one-character patch to trunk/source/texk/web2c/luatexdir/font/texfont.c: @@ -1094,7 +1094,7 @@ memcpy(math_param_base(k), math_param_base(f), i); } -for (i = 0; i font_tables[f]-charinfo_count; i++) { +for (i = 0; i = font_tables[f]-charinfo_count; i++) { ci = copy_charinfo(font_tables[f]-charinfo[i]); font_tables[k]-charinfo[i] = *ci; } And that fixes it. The only oddness with this particular font is that the 'a' happens to be its last glyph in the ordering of the glyph implementations inside the otf file. Usually, the last of those is something odd like an alternate or a designer' logo, which is probably why nobody noticed before. Lutz Haseloff wrote: Hi Michael, Your file works here without problems with the same ConTeXt and LuaTeX, Version beta-0.47.0-2009121623. That's weird, did you use Michaels font? I don't think so: My OctavianMTStd.otf: Version 2.040;PS 002.000;honconv 1.0.51;makeotf.lib 2.0.18671 Greetings Lutz Best wishes, Taco ___ 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 ___ ___ 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] lower case a incompatible with hanging
Hi, This was a bug in luatex: the function that copies the font information from the base font to the expanded font did not copy the last glyph at all. There is a one-character patch to trunk/source/texk/web2c/luatexdir/font/texfont.c: @@ -1094,7 +1094,7 @@ memcpy(math_param_base(k), math_param_base(f), i); } -for (i = 0; i font_tables[f]-charinfo_count; i++) { +for (i = 0; i = font_tables[f]-charinfo_count; i++) { ci = copy_charinfo(font_tables[f]-charinfo[i]); font_tables[k]-charinfo[i] = *ci; } And that fixes it. The only oddness with this particular font is that the 'a' happens to be its last glyph in the ordering of the glyph implementations inside the otf file. Usually, the last of those is something odd like an alternate or a designer' logo, which is probably why nobody noticed before. Lutz Haseloff wrote: Hi Michael, Your file works here without problems with the same ConTeXt and LuaTeX, Version beta-0.47.0-2009121623. That's weird, did you use Michaels font? Best wishes, Taco ___ 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] Layers don't repeat in Mk IV
I've been trying to use layers for a simple logo that repeats on all pages. Something along the lines of the code below: \definelayer[mybg][x=0mm, y=0mm,width=\paperwidth, height=\paperheight,repeat=yes] \setlayer [mybg] [hoffset=1cm, voffset=1cm] {\framed[frame=on, width=3cm, height=2cm]{\externalfigure[cow][width=1cm] }} \setupbackgrounds[page][background=mybg] \starttext \dorecurse{6}{\input tufte\par} \stoptext It works as expected using Mk II but does not work under Mk IV: The layer appears only on the first page. Please Help, Derek ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Layers don't repeat in Mk IV
Am 04.08.2009 um 18:52 schrieb Derek CORDEIRO: I've been trying to use layers for a simple logo that repeats on all pages. Something along the lines of the code below: \definelayer[mybg][x=0mm, y=0mm,width=\paperwidth, height= \paperheight,repeat=yes] \definelayer[mybg][width=\paperwidth,height=\paperheight,state=repeat] 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] t-vim: inline typing?
On Mon, 20 Jul 2009, Peter Münster wrote: Hello, Is it possible somehow, to get inline syntax highlighting (as with \type{...})? Attached is an ugly solution. I haven't tested it too much. Usage example \usemodule[vim] \setupwhitespace[big] \setupcolors[state=start] \definevimtyping[C][syntax=c] \starttext We can always type code in display mode \startC #include stdio.h \stopC But more interestingly, we can now type code in inline mode also. For example to print something we use \startinlineC printf(%d, num); \stopinlineC and we can continue typing. \stoptext It should be possible to also define \typeC{...}, but then I will need to read up how to read code in verbatim and write it to a file. Aditya%M \logo [VIM] {VIM} % Needed for the title %D \module %D [ file=t-vim, %Dversion=2008.07.15, %D title=\VIM\ to \CONTEXT, %D subtitle=Use \VIM\ to generate code listing, %D author=Mojca Miklavec \ Aditya Mahajan, %D email=adityam at umich dot edu, %D date=\currentdate, %D copyright=Public Domain] %M %M \usemodule [vim] %M \usemodule[int-load] %M \loadsetups[t-vim.xml] %M \usetypescript[modern-base][texnansi] \setupbodyfont[modern] %M \setuptyping[option=color] %M \setupcolors[state=start] %D \section {User Manual} %D %D \CONTEXT\ has an excellent pretty printing capabilities for many languages. %D The code for pretty printing is written in \TEX, and due to catcode %D jugglery verbatim typesetting is perhaps the trickiest part of \TEX. This %D makes it difficult for a \quotation{normal} user to define syntax %D highlighting rules for a new language. This module, takes the onus of %D defining syntax highlighting rules away from the user and uses \VIM\ editor %D to generate the syntax highlighting. There is a helper %D \filename{2context.vim} script to do the syntax parsing in \VIM. This is a %D stop|-|gap method, and hopefully with \LUATEX, things will be much easier. %D %D The main macro of this module is \type{\definevimtyping}. The best way to %D explain it is by using an example. Suppose you want to pretty print ruby %D code in \CONTEXT. So you can do %D \starttyping %D \definevimtyping [RUBY] [syntax=ruby] %D \stoptyping %D after which you can get ruby highlighting by %D \starttyping %D \startRUBY %D %D \stopRUBY %D \stoptyping %D %D For example %D \startbuffer %D \definevimtyping [RUBY] [syntax=ruby] %D %D \startRUBY %D #! /usr/bin/ruby %D # This is my first ruby program %D puts Hello World %D \stopRUBY %D \stopbuffer %D {\getbuffer} %D This was typed as \typebuffer %D %D The typing can be setup using \type{\setupvimtyping}. %D %D \showsetup{setupvimtyping} %D %D Here \type{syntax} is the syntax file in \VIM\ for the language %D highlighting that you want. See \type{:he syntax.txt} inside \VIM\ for %D details. \type{colorscheme} provides the syntax highlighting for various %D regions. Right now, two colorschemes are defined. The \type{default} %D colorscheme is based on on \filename{ps_color.vim} colorscheme in \VIM, and %D the \type{blackandwhite} colorscheme is based on \filename{print_bw.vim}. %D If there is a particular colorscheme that you will like, you can convert it %D into \CONTEXT. \type{space=(yes|on|no)} makes the space significant, %D visible, and insignificant respectively. \type{tab} specifies the number of %D spaces a tab is equivalent to. It's default value is 8. \type{start} and %D \type{stop} specify which lines to read from a file. These options only %D make sense for highlighting files and should not to be set by %D \type{\setupvimtyping}. \type{numbering} enables line numbering, and %D \type{step} specifies which lines are numbered. \type{numberstyle} and %D \type{numbercolor} specify the style and color of line numbers. By %D default the numbers are placed on the left. The location of the numbers can %D be configured using \type{numbercommand} option. %D %D A new typing region can be define using \type{\definevimtyping}. %D %D \showsetup{definevimtyping} %D %D Minor changes in syntax highlighting can be made easily. For example, Mojca %D likes \quote{void} to be bold in C programs. This can be done as follows %D %D \startbuffer %D \definevimtyping [C] [syntax=c,numbering=on] %D %D \startvimcolorscheme[default] %D %D \definevimsyntax %D [Type] %D [style=boldmono] %D %D \definevimsyntax %D [PreProc] %D [style=slantedmono] %D %D \stopvimcolorscheme %D %D \startC %D #include stdio.h %D #include stdlib.h %D %D void main() %D { %Dprintf(Hello World\n) ; %Dreturn; %D } %D \stopC %D \stopbuffer %D \typebuffer which gives {\getbuffer} %D %D The second command provided by this module is \type{\definetypevimfile} for %D typesetting files. The syntax of this command is %D %D \showsetup{definetypevimfile} %D %D For example, to pretty print a ruby file you can do %D \starttyping %D \definetypevimfile[typeRUBY] [syntax=ruby] %D \stoptyping %D after which one can use %D \starttyping %D
Re: [NTG-context] letter/correspondence module
Am 2009-07-02 um 15:56 schrieb Wolfgang Schuster: I'd like to change the reference table of alternative e a little bit to fit my logo: voffset=130mm, % absolute coordinates hoffset=40mm, width=20mm, % width of label It doesn't work in \setupletterstyle[reference][]. Where must I put it? Or should I define my own alternative, like yours in default.nli ? The alternatives a–e are not so easy to move to the place you prefer because the start of the bodytext depends on the position (I try to keep always two lines between them) but you can copy the layout of one element to another one with \copyletterlement[element][new alternative][old alternative] which looks for you \copyletterelement[reference][hraban][e] You can now place the reference line with \setupletterstyle [reference] [hoffset=..., voffset=...] and the width of the elements in the reference line with \setupletter [phone,street,...] [width=20mm] Thank you! Offset works, width doesn't (i.e. stays automatical). BTW: I'm using your simplefonts module for the first time in the same project - works great, thank you! (I had to refresh my font database several times, until LuaTeX could find all faces of my font family, but that's not your module's fault.) mtxrun --script fonts --list --pattern=... helps to find the right name. I know, it's in the wiki (Fonts_in_LuaTeX). Thanks anyway. BTW: You can another example for the use of the simplefonts module in the source of the correspondence manual (correspondence- environment.tex). Just wanted to ask if you published the source anywhere - didn't check the source tree before... Now I have enough examples for the moment, I think ;-) Greetlings from Lake Constance! 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] letter/correspondence module
Am 03.07.2009 um 13:07 schrieb Henning Hraban Ramm: Am 2009-07-02 um 15:56 schrieb Wolfgang Schuster: I'd like to change the reference table of alternative e a little bit to fit my logo: [...] Thank you! Offset works, width doesn't (i.e. stays automatical). Do you want to change the width of the complete reference line (\setupletterstyle) or the width of the entries (\setupletter)? 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] letter/correspondence module
Am 01.07.2009 um 22:33 schrieb Henning Hraban Ramm: Am 2009-06-29 um 18:38 schrieb Wolfgang Schuster: I don't think line is documented in your manual. You're right but it's so boring to write documentation. ;-) You don't need to write it step by step like in your manual, but a reference of options would be really helpful! The step by step method is only used to know how to write a simple letter, I won't use this to explain the option etc., what I want there are examples for predefined and user created element alternatives. I wrote: You need need to define all possible labels yourself, as long it's comprehensible how to add your own. I will add a section for this but if a label is useful I want to add it to the core. I'm only writing letters in one language at a time, so will others. It was only a suggestion to take the key as label as a fallback - mostly it will be easy enough, and you don't need to define a proper label. I have to check if this can be done (in a good way) and if I like this fallback method. So, here we are: I'd like to change the reference table of alternative e a little bit to fit my logo: voffset=130mm, % absolute coordinates hoffset=40mm, width=20mm, % width of label It doesn't work in \setupletterstyle[reference][]. Where must I put it? Or should I define my own alternative, like yours in default.nli ? The alternatives a–e are not so easy to move to the place you prefer because the start of the bodytext depends on the position (I try to keep always two lines between them) but you can copy the layout of one element to another one with \copyletterlement[element][new alternative][old alternative] which looks for you \copyletterelement[reference][hraban][e] You can now place the reference line with \setupletterstyle [reference] [hoffset=..., voffset=...] and the width of the elements in the reference line with \setupletter [phone,street,...] [width=20mm] BTW: I'm using your simplefonts module for the first time in the same project - works great, thank you! (I had to refresh my font database several times, until LuaTeX could find all faces of my font family, but that's not your module's fault.) mtxrun --script fonts --list --pattern=... helps to find the right name. BTW: You can another example for the use of the simplefonts module in the source of the correspondence manual (correspondence- environment.tex). 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] letter/correspondence module
Am 2009-06-29 um 18:38 schrieb Wolfgang Schuster: I don't think line is documented in your manual. You're right but it's so boring to write documentation. ;-) You don't need to write it step by step like in your manual, but a reference of options would be really helpful! Id wouldbe great if you'd also add the label stuff below! The keys street, city and skype aren't defined in your module. There is *no* predefined keys (except line in the reference line) for \setupletter in my module. Ok, in the manual it looks like. You mean because I use always the same keys and all of them work? Indeed. I don't think it would make sense to add my personal preferences to the module, just please document this. E.g. there are just too much IM services to provide them all; I myself use Address as label for the street and add the city without label, Web instead of URL as label for my homepage etc. I added the missing label from your example to my module, let me know what you think about the labels but 'Address' as label for 'street' is a no go. As I wrote: You need need to define all possible labels yourself, as long it's comprehensible how to add your own. BTW: Most of the previous labels are taken from scrlttr2, when you want always your own texts you can make a file with the name 'user.nls' and change the label text to your own style. Of course. At the moment I'm happy with defining it in my environment. Ok; I wrote the capital intentionally for my suggestion of using the key as label. Makes no sense because you need then different keys for each language, e.g. telefonnumer=... I'm only writing letters in one language at a time, so will others. It was only a suggestion to take the key as label as a fallback - mostly it will be easy enough, and you don't need to define a proper label. More questions will follow... I'll try to get my logo at the right place by myself before... The module provides a few layers you can use to position your graphic. I saw that in the manual and wanted to try it on my own first - but thank you very much! The problem is the module use hard coded background layers and the only option to place logos etc. is to use them. So, here we are: I'd like to change the reference table of alternative e a little bit to fit my logo: voffset=130mm, % absolute coordinates hoffset=40mm, width=20mm, % width of label It doesn't work in \setupletterstyle[reference][]. Where must I put it? Or should I define my own alternative, like yours in default.nli ? BTW I tried to come up with measures for Swiss business letters, but only found some advise for secretaries how to write addresses: http://home.intergga.ch/beck/wg/awi/schreibregeln/4_Briefe.pdf My typographical literature is only about Germany. Most swiss business letters are sent in B5 envelopes with a window on the right side - I could meter some right looking Swiss letters if you'd like. Sounds good. Isn't forgotten. BTW: I'm using your simplefonts module for the first time in the same project - works great, thank you! (I had to refresh my font database several times, until LuaTeX could find all faces of my font family, but that's not your module's fault.) Greetlings from Lake Constance! 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] letter/correspondence module
Am 2009-06-28 um 23:12 schrieb Henning Hraban Ramm: I guess it would be interesting how to define your own keys, maybe some IM adresses etc., also for other users. Would it be possible to use unknown keys just unchanged? I.e. if I say \setupletter[ Skype={fiee.visuelle} ] to get just Skype: fiee.visuelle? More questions will follow... I'll try to get my logo at the right place by myself before... I found a simple workaround (but would prefer a clean general solution): \setupletter[skype][ separator={Skype:} ] Greetlings from Lake Constance! 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] letter/correspondence module
Am 28.06.2009 um 23:12 schrieb Henning Hraban Ramm: Hallo Wolfgang! ;-) Since my old letter and CV environment doesn't work anymore in MkIV, I'm trying to reproduce it with t-letter. At the moment I struggle with the reference keys: \setupletterstyle[reference][ alternative=d, list={name,street,city,,phone,skype,email,,date}, ] Interesting way to insert empty lines, I never thought about this method and use myself the special key 'line' to insert a empty line. \setupletter[name,street,phone,date,skype,email][ separator={: }, titlestyle={\ss\tfxx}, ] The keys street, city and skype aren't defined in your module. There is *no* predefined keys (except line in the reference line) for \setupletter in my module. I found where the other keys are defined (and I guess I could mine in or use a similar approach in my environment), but I'm clueless, where the translation comes from - I grepped eg. after Telefon without results, and I think I looked into every file of your module. I guess it would be interesting how to define your own keys, maybe some IM adresses etc., also for other users. Would it be possible to use unknown keys just unchanged? I.e. if I say I don't define keys in my module, I set only labels for the text in the left column which can be find in the file 'label.nle', to get a text for skype, street etc. put the following lines in your document (or add them to label.nle and send me the extended list): \setuplabeltext[de][letter:skype=Skype] \setuplabeltext[de][letter:street=Stra\ssharp e] \setuplabeltext[de][letter:city=Ort] % or Stadt ... ... \setupletter[ Skype={fiee.visuelle} ] to get just Skype: fiee.visuelle? TeX is case sensitive, write 'skype=fiee.visuelle. More questions will follow... I'll try to get my logo at the right place by myself before... The module provides a few layers you can use to position your graphic. \setupletterstyle [lettermain] [hoffset=..cm, voffset=..cm, symbol={\externalfigure[...]}, state=repeat] % repeat=place on each page, start=only on first page, ... 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] letter/correspondence module
Am 2009-06-29 um 11:51 schrieb Wolfgang Schuster: \setupletterstyle[reference][ alternative=d, list={name,street,city,,phone,skype,email,,date}, ] Interesting way to insert empty lines, I never thought about this method and use myself the special key 'line' to insert a empty line. Woo, I found an accidental feature! ;-) I don't think line is documented in your manual. Id wouldbe great if you'd also add the label stuff below! The keys street, city and skype aren't defined in your module. There is *no* predefined keys (except line in the reference line) for \setupletter in my module. Ok, in the manual it looks like. the following lines in your document (or add them to label.nle and send me the extended list): \setuplabeltext[de][letter:skype=Skype] \setuplabeltext[de][letter:street=Stra\ssharp e] \setuplabeltext[de][letter:city=Ort] % or Stadt ... ... Thank you! I don't think it would make sense to add my personal preferences to the module, just please document this. E.g. there are just too much IM services to provide them all; I myself use Address as label for the street and add the city without label, Web instead of URL as label for my homepage etc. \setupletter[ Skype={fiee.visuelle} ] to get just Skype: fiee.visuelle? TeX is case sensitive, write 'skype=fiee.visuelle. Ok; I wrote the capital intentionally for my suggestion of using the key as label. More questions will follow... I'll try to get my logo at the right place by myself before... The module provides a few layers you can use to position your graphic. I saw that in the manual and wanted to try it on my own first - but thank you very much! BTW I tried to come up with measures for Swiss business letters, but only found some advise for secretaries how to write addresses: http://home.intergga.ch/beck/wg/awi/schreibregeln/4_Briefe.pdf My typographical literature is only about Germany. Most swiss business letters are sent in B5 envelopes with a window on the right side - I could meter some right looking Swiss letters if you'd like. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) PGP.sig Description: Signierter Teil der Nachricht ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] letter/correspondence module
Am 29.06.2009 um 17:31 schrieb Henning Hraban Ramm: Am 2009-06-29 um 11:51 schrieb Wolfgang Schuster: \setupletterstyle[reference][ alternative=d, list={name,street,city,,phone,skype,email,,date}, ] Interesting way to insert empty lines, I never thought about this method and use myself the special key 'line' to insert a empty line. Woo, I found an accidental feature! ;-) I would consider this as a ConTeXt feature. I don't think line is documented in your manual. You're right but it's so boring to write documentation. Id wouldbe great if you'd also add the label stuff below! The keys street, city and skype aren't defined in your module. There is *no* predefined keys (except line in the reference line) for \setupletter in my module. Ok, in the manual it looks like. You mean because I use always the same keys and all of them work? the following lines in your document (or add them to label.nle and send me the extended list): \setuplabeltext[de][letter:skype=Skype] \setuplabeltext[de][letter:street=Stra\ssharp e] \setuplabeltext[de][letter:city=Ort] % or Stadt ... ... Thank you! I don't think it would make sense to add my personal preferences to the module, just please document this. E.g. there are just too much IM services to provide them all; I myself use Address as label for the street and add the city without label, Web instead of URL as label for my homepage etc. I added the missing label from your example to my module, let me know what you think about the labels but 'Address' as label for 'street' is a no go. BTW: Most of the previous labels are taken from scrlttr2, when you want always your own texts you can make a file with the name 'user.nls' and change the label text to your own style. \setupletter[ Skype={fiee.visuelle} ] to get just Skype: fiee.visuelle? TeX is case sensitive, write 'skype=fiee.visuelle. Ok; I wrote the capital intentionally for my suggestion of using the key as label. Makes no sense because you need then different keys for each language, e.g. telefonnumer=... More questions will follow... I'll try to get my logo at the right place by myself before... The module provides a few layers you can use to position your graphic. I saw that in the manual and wanted to try it on my own first - but thank you very much! The problem is the module use hard coded background layers and the only option to place logos etc. is to use them. BTW I tried to come up with measures for Swiss business letters, but only found some advise for secretaries how to write addresses: http://home.intergga.ch/beck/wg/awi/schreibregeln/4_Briefe.pdf My typographical literature is only about Germany. Most swiss business letters are sent in B5 envelopes with a window on the right side - I could meter some right looking Swiss letters if you'd like. Sounds good. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] letter/correspondence module
Hallo Wolfgang! ;-) Since my old letter and CV environment doesn't work anymore in MkIV, I'm trying to reproduce it with t-letter. At the moment I struggle with the reference keys: \setupletterstyle[reference][ alternative=d, list={name,street,city,,phone,skype,email,,date}, ] \setupletter[name,street,phone,date,skype,email][ separator={: }, titlestyle={\ss\tfxx}, ] The keys street, city and skype aren't defined in your module. I found where the other keys are defined (and I guess I could mine in or use a similar approach in my environment), but I'm clueless, where the translation comes from - I grepped eg. after Telefon without results, and I think I looked into every file of your module. I guess it would be interesting how to define your own keys, maybe some IM adresses etc., also for other users. Would it be possible to use unknown keys just unchanged? I.e. if I say \setupletter[ Skype={fiee.visuelle} ] to get just Skype: fiee.visuelle? More questions will follow... I'll try to get my logo at the right place by myself before... Greetlings from Lake Constance! 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Simpleslides question
On Thu, 25 Jun 2009, Vyatcheslav Yatskovsky wrote: Thanks for asking. The problem is so simple from PowerPoint view. I want to place a logo of my academic institution on the front page, above the slide title. I can guess its x,y coordinates, but cannot understand how to place it there. I know something about overlays, but it seems that they can add an image to a text already placed somewhere. I have no text, I just want to place an image at arbitrary location at one page. With simpleslides, you will need to create your own style module. Currently, there is no documentation for it, but here is the gist of creating your own style. Simpleslides provides four overlays, simpleslides:background:horizontal, simpleslides:background:vertical, simpleslides:background:title, simpleslides:background:ornament. The title background is placed on the title page, the horizontal and ornamanet backgrounds are placed on all pages other than \IncludePicture[vertical] where the vertical and ornamenet backgrounds are placed. If you to place a logo at a specific position, use \startuseMPgraphic{simpleslides:MP:ornament} StartPage ; metapost code to draw/place logo at a particular location StopPage ; \stopuseMPgraphic and then \defineoverlay [simpleslides:background:ornament] [\useMPgraphic{simpleslides:MP:ornament}] 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Simpleslides question
Thanks for asking. The problem is so simple from PowerPoint view. I want to place a logo of my academic institution on the front page, above the slide title. I can guess its x,y coordinates, but cannot understand how to place it there. I know something about overlays, but it seems that they can add an image to a text already placed somewhere. I have no text, I just want to place an image at arbitrary location at one page. Hello, Can I arrange*multiple* images per a page in specified positions (x,y) using simpleslides module? Can you elaborate? Do you want the same images to appear in all slides in the background (like a corporate design), or do you want to include multiple images on a single page, say two images side by side? Aditya Vyatcheslav ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Setting the Non-Printable Area
Hi @all, i like to include a logo on the top-right-edge on every page in my Document. The pagesize is A4, but our printer could not print into the first 5mm from the borders. Now the Logo get's cut on the top and on the right side while printing. I defined my layout like this: -8schnipp- \setuppapersize[A4][A4] \setuplayout[backspace=20mm, width=160mm, topspace=20mm, top=0mm, header=0mm, footer=0mm, height=250mm, grid=yes] -8schnapp- ... and placed the logo like this: -8schnipp- \definelogo [imko logo] [top] [rightedge] [command=\IMKOLogo,state=start] -8schnapp- So how can I define the non-printable area of my A4 paper, so the logo doesn't get cut. - Markus -- ---it's like this-- even samurai have teddy bears and even teddy bears get drunk ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Setting the Non-Printable Area
Am 06.04.2009 um 10:19 schrieb Markus Hubig: Hi @all, i like to include a logo on the top-right-edge on every page in my Document. The pagesize is A4, but our printer could not print into the first 5mm from the borders. Now the Logo get's cut on the top and on the right side while printing. Don't use logos, they're outdated (and removed from MkIV), layers are better. \definelayer[logo][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=logo] \setlayer[logo][preset=righttop,offset=5mm,state=repeat] {\externalfigure[logo]} \starttext ... \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Setting the Non-Printable Area
Ahh! Works nice, but now I have this logo just on the first site of my document. How can I set this to be repeated on every page ... I structured my document with environment - project - product - component and I've put the layersetup into my environment file. - Markus On Mon, Apr 6, 2009 at 10:36 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 06.04.2009 um 10:19 schrieb Markus Hubig: Hi @all, i like to include a logo on the top-right-edge on every page in my Document. The pagesize is A4, but our printer could not print into the first 5mm from the borders. Now the Logo get's cut on the top and on the right side while printing. Don't use logos, they're outdated (and removed from MkIV), layers are better. \definelayer[logo][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=logo] \setlayer[logo][preset=righttop,offset=5mm,state=repeat]{\externalfigure[logo]} \starttext ... \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- ---it's like this-- even samurai have teddy bears and even teddy bears get drunk ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Setting the Non-Printable Area
Am 06.04.2009 um 11:32 schrieb Markus Hubig: Ahh! Works nice, but now I have this logo just on the first site of my document. How can I set this to be repeated on every page ... I structured my document with environment - project - product - component and I've put the layersetup into my environment file. \definelayer[logo][width=\paperwidth,height=\paperheight,state=repeat] 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new beta
Am 28.03.2009 um 01:03 schrieb Aditya Mahajan: On Fri, 27 Mar 2009, Hans Hagen wrote: anyhow, i tried to fix the font issue so there is a new attempt uploaded Another bug... \usemodule[abr-01] \starttext \CONTEXT \stoptext gives ! Missing } inserted. inserted text } to be read again \dostopattributes \processsort ...s {\??so #1}\c!style \c!color {#2} \endgroup \executesort ...}{#2}{#3}\processsort {#1}{#3}{#2} \endgroup \getvalue {\??so... l.3 \CONTEXT I couldn't figure out what is wrong. Smallcaps did not work in start/stopattributes, use \setupsorting[logo] [style=\tx\WORD] 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new beta
On Sat, 28 Mar 2009, Wolfgang Schuster wrote: Am 28.03.2009 um 01:03 schrieb Aditya Mahajan: On Fri, 27 Mar 2009, Hans Hagen wrote: anyhow, i tried to fix the font issue so there is a new attempt uploaded Another bug... \usemodule[abr-01] \starttext \CONTEXT \stoptext gives ! Missing } inserted. inserted text } to be read again \dostopattributes \processsort ...s {\??so #1}\c!style \c!color {#2} \endgroup \executesort ...}{#2}{#3}\processsort {#1}{#3}{#2} \endgroup \getvalue {\??so... l.3 \CONTEXT I couldn't figure out what is wrong. Smallcaps did not work in start/stopattributes, use \setupsorting[logo][style=\tx\WORD] Thanks. I just switched to abr-02 :) 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Logos of Context (context-free-design github repo)
Hi all of you, After aproving of Taco and Mojca, I announce that I start a repository of ConTeXt logos: http://github.com/somenxavi/context-free-designs/ Now it has only the Taco logo that reproduce the contextgarden logo, but it's open to anyone who wants to put in any logo. Just send me the file. The only condition is that the license were free (public domain, Creative Commons, ) I plan to put the logos in this repo in a Spreadshirt/Cafepress shop that I want to open in a medium time. But the main intention is to have a collection of ConTeXt logos freely distributable. Once I open the shop, the intention is not to earn money, else that fans of ConTeXt could have their t-shirts, cofee cups, . Surely I donor the few dolars I win to NTG, CTAN or something else. Sincerly, Xan. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Context logo
On Sat, Mar 14, 2009 at 21:52, Xan wrote: So it has transparent background, but why gimp says that eps does not support transparency? Strange. Really strange. At least in older versions of (E)PS you cannot use transparent blue or transparent red to fill shapes for example. But the background is always transparent even in PostScript in the sense that unless you explicitely paint the background with white, you can include your image in another document and you won't see any white white rectangular border around it. GIMP doesn't really support EPS. I don't know what you need GIMP for, but when I need to convert some EPS or PDF image into transparent PNG, I do: gs -dSAFER -dBATCH -dNOPAUSE \ -sDEVICE=pngalpha \ -dTextAlphaBits=4 \ -dGraphicsAlphaBits=4 \ -sOutputFile=converted_file.png \ -r100.0 \ (put here whatever number you want) original_file.pdf You can try that with the logo and you'll notice the transparent background with GIMP. Mojca ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Context logo
En/na Aditya Mahajan ha escrit: On Sat, 14 Mar 2009, Xan wrote: Yes, Wolfgang. Now I understand it. The actually process is: texexec prova.tex -- prova.pdf and prova-mpgraph.1 (eps file) generated. and I see what you said. So it has transparent background, but why gimp says that eps does not support transparency? Strange. Really strange. AFAIU, trasparency is implemented using specials in mp code, so the eps (the .1 file) does not contain transparency, but the pdf does. Did you open the pdf or the eps file in gimp? Aditya, when I open pdf or eps file in gimp, gimp pop-up a windows of convert the file. When the conversion is completed, it puts white background in the image. So I can't see if pdf has _really_ transparent background. Xan. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Context logo
En/na Mojca Miklavec ha escrit: On Sat, Mar 14, 2009 at 21:52, Xan wrote: So it has transparent background, but why gimp says that eps does not support transparency? Strange. Really strange. At least in older versions of (E)PS you cannot use transparent blue or transparent red to fill shapes for example. But the background is always transparent even in PostScript in the sense that unless you explicitely paint the background with white, you can include your image in another document and you won't see any white white rectangular border around it. Okay Mojca. Anyone knows if newest version of eps support it? GIMP doesn't really support EPS. I don't know what you need GIMP for, but when I need to convert some EPS or PDF image into transparent PNG, I do: gs -dSAFER -dBATCH -dNOPAUSE \ -sDEVICE=pngalpha \ -dTextAlphaBits=4 \ -dGraphicsAlphaBits=4 \ -sOutputFile=converted_file.png \ -r100.0 \ (put here whatever number you want) original_file.pdf You can try that with the logo and you'll notice the transparent background with GIMP. Thanks Mojca for this script. I did the same with gimp with more more effort (open eps file, gimp says that it should convert, then a file with white background appears and then I substitute white background with transparent background, and save as png file. Uf!!). Mojca, how is this script for converting pdf file to (newest) eps? For seeing if newest eps supports transparency. Mojca Regards, Xan. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Context logo
Xan wrote: Mojca, how is this script for converting pdf file to (newest) eps? For seeing if newest eps supports transparency. This has nothing to do with 'newest eps'. It is to do with the appalling support for the eps format in the gimp. Eps has had transparant backgrounds since day one (a whole quarter-century ago). Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Context logo
En/na Taco Hoekwater ha escrit: Xan wrote: Mojca, how is this script for converting pdf file to (newest) eps? For seeing if newest eps supports transparency. This has nothing to do with 'newest eps'. It is to do with the appalling support for the eps format in the gimp. Eps has had transparant backgrounds since day one (a whole quarter-century ago). Best wishes, Taco Clear, now. Thanks for all (all of you), Xan. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Context logo (was ConTeXt T-shirts?)
En/na Wolfgang Schuster ha escrit: Am 14.03.2009 um 14:50 schrieb Xan: How can I get the background were transaparent? (not white) What do you mean, the background is already transparent. Wolfgang __ Wolfgang, when I run texexec prova.tex I obtain prova.pdf and prova-mpgraph.1 Both files have background white and not transparent background. I don't know how explain it. Perhaps this [http://www.mediacollege.com/adobe/photoshop/transparent/background.html] could help you (?). How do you mean that it's already transparent? Xan. prova.pdf Description: Adobe PDF document % logo.mp: creates a blue traffic sign-style context logo % Copyright 2008 Taco Hoekwater % You are free to use this code any way you can \setupcolors[state=start,textcolor=white] \startMPenvironment[global] \usetypescript[postscript][ec] \setupbodyfont[postscript,ss,144pt] \stopMPenvironment \starttext \startMPpage[offset=0pt] color darkblue,textcolor; darkblue := (0.0625,0,.412); % 0f006b = textcolor := (1,1,1); def rect (expr xl,yl,r) = pickup pencircle scaled 1; draw (xl-.5r,yl-.5r) -- (xl+.5r,yl-.5r)-- (xl+.5r,yl+.5r) -- (xl-.5r,yl+.5r) -- cycle withcolor textcolor; enddef; f:= 14; h:=8; v:=4; fill fullcircle scaled 408 shifted (112,0) withcolor darkblue; label (textext(C), (0,v*f) ) withcolor textcolor ; label (textext(O), (f*h,2*v*f) ) withcolor textcolor ; label (textext(N), (2*f*h,v*f) ) withcolor textcolor ; label (textext(T), (0,-v*f)) withcolor textcolor ; label (textext(E), (f*h,0) ) withcolor textcolor ; label (textext(X), (f*h*2,-v*f)) withcolor textcolor ; label (textext(T), (f*h,-2*v*f)) withcolor textcolor ; r := h*f; rect (0,v*f,r); rect (f*h,2*v*f,r); rect (2*f*h,v*f,r); rect (0,-v*f,r); rect (f*h,0,r); rect (f*h*2,-v*f,r); rect (f*h,-2*v*f,r); \stopMPpage \stoptext prova-mpgraph.1 Description: PostScript 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Context logo
logo.pdf Description: Adobe PDF document Am 14.03.2009 um 16:45 schrieb Xan: Wolfgang, when I run texexec prova.tex I obtain prova.pdf and prova- mpgraph.1 Both files have background white and not transparent background. I don't know how explain it. Perhaps this [http://www.mediacollege.com/adobe/photoshop/transparent/background.html ] could help you (?). How do you mean that it's already transparent? \setupcolors[state=start] \setupbackgrounds[page][background=color,backgroundcolor=green] \starttext \externalfigure[prova] \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Context logo
En/na Wolfgang Schuster ha escrit: Am 14.03.2009 um 16:45 schrieb Xan: Wolfgang, when I run texexec prova.tex I obtain prova.pdf and prova-mpgraph.1 Both files have background white and not transparent background. I don't know how explain it. Perhaps this [http://www.mediacollege.com/adobe/photoshop/transparent/background.html] could help you (?). How do you mean that it's already transparent? \setupcolors[state=start] \setupbackgrounds[page][background=color,backgroundcolor=green] \starttext \externalfigure[prova] \stoptext Wolfgang Eh? Green? I think in transparent. I transform your logo.pdf with GIMP and applying transparency in green color. The result I save as png file (gimp says me that eps does not support transparency!? is it true?). Please, see the png file and see that background is transparent. Xan. inline: prova-mpgraph.1-1.png___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Context logo
Am 14.03.2009 um 17:15 schrieb Xan: Eh? Green? I think in transparent. I tried to show you the included pdf had a transparent background, the color is unimportant. I transform your logo.pdf with GIMP and applying transparency in green color. The result I save as png file (gimp says me that eps does not support transparency!? is it true?). Dunno about eps but AFAIK postscript 3(?) supports transparent colors. Please , see the png file and see that background is transparent. If you're interested I can send you a better version with bold letters. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Context logo
En/na Wolfgang Schuster ha escrit: Am 14.03.2009 um 17:15 schrieb Xan: Eh? Green? I think in transparent. I tried to show you the included pdf had a transparent background, the color is unimportant. Eh? Can you explain with more details this fact?. I see green the blackground. Why do you say that it's not important and transparent? I transform your logo.pdf with GIMP and applying transparency in green color. The result I save as png file (gimp says me that eps does not support transparency!? is it true?). Dunno about eps but AFAIK postscript 3(?) supports transparent colors. How do you pass from pdf to postscript?. When I run texexec prova.tex I get prova-mpgraph.1 that file says me that it's eps. How can I pass from this file to transparent postscript? or from pdf to postscript? In theory if postscript support transparent background, eps should do (?) Please , see the png file and see that background is transparent. If you're interested I can send you a better version with bold letters. Yes, I want to have exactly the same logo of the wiki. Wolfgang Thanks Wolfgang for your hacking. ;-) Regards, Xan. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Context logo
Am 14.03.2009 um 20:22 schrieb Xan: I tried to show you the included pdf had a transparent background, the color is unimportant. Eh? Can you explain with more details this fact?. I see green the blackground. Why do you say that it's not important and transparent? Let me explain this on a example. \setupcolors[state=start] \starttext \externalfigure[contextlogo.png][frame=on] \page \setupbackgrounds[page][background=color,backgroundcolor=red] \externalfigure[contextlogo.png][frame=on] \stoptext You can on the first page the background of the picture is white, to show the site of the picture I enabled the frame. On the second page I set a background color for the entire page and as you can see the background of the picture around the circle has the same color as the page background, this could only happen because the background of the picture is transparent. If you go now back on the first page you can now see, the white background is not from the picture but from the page background. I transform your logo.pdf with GIMP and applying transparency in green color. The result I save as png file (gimp says me that eps does not support transparency!? is it true?). Dunno about eps but AFAIK postscript 3(?) supports transparent colors. How do you pass from pdf to postscript?. When I run texexec prova.tex I get prova-mpgraph.1 that file says me that it's eps. How can I pass from this file to transparent postscript? or from pdf to postscript? In theory if postscript support transparent background, eps should do (?) Dou you need the eps generated or can you also use the pdf generated from ConTeXt with the included metapost graphic. If you're interested I can send you a better version with bold letters. Yes, I want to have exactly the same logo of the wiki. Which size do you need? 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Context logo
En/na Wolfgang Schuster ha escrit: Am 14.03.2009 um 20:22 schrieb Xan: I tried to show you the included pdf had a transparent background, the color is unimportant. Eh? Can you explain with more details this fact?. I see green the blackground. Why do you say that it's not important and transparent? Let me explain this on a example. \setupcolors[state=start] \starttext \externalfigure[contextlogo.png][frame=on] \page \setupbackgrounds[page][background=color,backgroundcolor=red] \externalfigure[contextlogo.png][frame=on] \stoptext You can on the first page the background of the picture is white, to show the site of the picture I enabled the frame. On the second page I set a background color for the entire page and as you can see the background of the picture around the circle has the same color as the page background, this could only happen because the background of the picture is transparent. If you go now back on the first page you can now see, the white background is not from the picture but from the page background. Yes, Wolfgang. Now I understand it. The actually process is: texexec prova.tex -- prova.pdf and prova-mpgraph.1 (eps file) generated. Try your code for prova.pdf: \setupcolors[state=start] \starttext \externalfigure[prova.pdf][frame=on] \page \setupbackgrounds[page][background=color,backgroundcolor=red] \externalfigure[prova.pdf][frame=on] \stoptext and I see what you said. So it has transparent background, but why gimp says that eps does not support transparency? Strange. Really strange. If you're interested I can send you a better version with bold letters. Yes, I want to have exactly the same logo of the wiki. Which size do you need? Size? The size of the font: the same. But more bold.If you see wiki logo have letters more bold than our pdf logo (see attachments) Wolfgang Thanks a lot, Xan. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ inline: logo-alt4.png prova.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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Context logo
On Sat, 14 Mar 2009, Xan wrote: Yes, Wolfgang. Now I understand it. The actually process is: texexec prova.tex -- prova.pdf and prova-mpgraph.1 (eps file) generated. and I see what you said. So it has transparent background, but why gimp says that eps does not support transparency? Strange. Really strange. AFAIU, trasparency is implemented using specials in mp code, so the eps (the .1 file) does not contain transparency, but the pdf does. Did you open the pdf or the eps file in gimp? 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt T-shirts?
En/na Wolfgang Schuster ha escrit: \startMPenvironment[global] \usetypescript[postscript][ec] \setupbodyfont[postscript,ss,144pt]\bf \stopMPenvironment Wolfgang Without \bf at the end, I get letters more bold. Is it not the contrary of natural behaviour? 8-| Thanks, Xan. % logo.mp: creates a blue traffic sign-style context logo % Copyright 2008 Taco Hoekwater % You are free to use this code any way you can \setupcolors[state=start,textcolor=white] \startMPenvironment[global] \usetypescript[postscript][ec] \setupbodyfont[postscript,ss,144pt] \stopMPenvironment \starttext \startMPpage[offset=0pt] color darkblue,textcolor; darkblue := (0.0625,0,.412); % 0f006b = textcolor := (1,1,1); def rect (expr xl,yl,r) = pickup pencircle scaled 1; draw (xl-.5r,yl-.5r) -- (xl+.5r,yl-.5r)-- (xl+.5r,yl+.5r) -- (xl-.5r,yl+.5r) -- cycle withcolor textcolor; enddef; f:= 14; h:=8; v:=4; fill fullcircle scaled 408 shifted (112,0) withcolor darkblue; label (textext(C), (0,v*f) ) withcolor textcolor ; label (textext(O), (f*h,2*v*f) ) withcolor textcolor ; label (textext(N), (2*f*h,v*f) ) withcolor textcolor ; label (textext(T), (0,-v*f)) withcolor textcolor ; label (textext(E), (f*h,0) ) withcolor textcolor ; label (textext(X), (f*h*2,-v*f)) withcolor textcolor ; label (textext(T), (f*h,-2*v*f)) withcolor textcolor ; r := h*f; rect (0,v*f,r); rect (f*h,2*v*f,r); rect (2*f*h,v*f,r); rect (0,-v*f,r); rect (f*h,0,r); rect (f*h*2,-v*f,r); rect (f*h,-2*v*f,r); \stopMPpage \stoptext ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt T-shirts?
En/na Hans Hagen ha escrit: Xan wrote: En/na Taco Hoekwater ha escrit: For Xan: Wolfgang Schuster wrote: % You are free to use this code any way you can ^ license So public domain. But % Copyright 2008 Taco Hoekwater so, it's really CC Atribution 3.0 unported [http://creativecommons.org/licenses/by/3.0] What this copyright means? Sorry for the nuissance ;-) we're talking about the cowfonts? In this message we are talking about the license of the code of Taco for doing in Metafun the wiki logo we've put them in the distribution because - we liked them - we wanted the wiki to use them (which is why there are some ligatures) but no one did that yet - we needed some funny font that related to context also, some day we might make aan open type variant with features now, one can use the font the way she/he wants but there is some restriction on messing around: the design/idea is copyrighted and so we don't want additional cows to show up in (a patched) font and this is why they're in non-free, not because they're not free, but because they should not be messed with (don't mess with animals) But good thing you talk about why cowfonts are non-free now I know one more thing ;-) For the other hand, the code suggest by Taco: \usesymbols[cow] \symbol[CowConTeXt] % IIRC does not work for me (I get CowConTeXt in pdf file). What fails? Regards, Xan. Hans - 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 | 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 : https://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt T-shirts?
En/na Taco Hoekwater ha escrit: Hi Xan, Most of these questions should be answered by Mojca, I guess, but: Xan wrote: 2) Another related question is what is the license of the ConTeXt official logo and what is it. Is it the logo that appears in the wiki [http://wiki.contextgarden.net/skins/common/images/logo-alt4.png] or is it simply the graphics of typing Con\TeX{t} ? Depending what are the license of this logo, I or any other person could open Spreadshirt/cafepress for other people could receive T-shirts with only ConTeXt logo (without I love ;-)). There is not really an official logo, but I think there are three things most people will likely recognize: * The word ConTeXt typeset in antykwa torunska, as in Mojca's T-shirts * The ConTeXt logo in the koeielogo font: \usesymbols[cow] \symbol[CowConTeXt] % IIRC It does not works for me. I hadn't koeielogo font. Even when I install context-nonfree (in ubuntu hardy) it does not works for me. For the other hand, because it's simply pdf file resulting processing text file, I suppose it has public domain license. Is there any legal-aid lawyer? For the other hand, is there any trademark of ConTeXt? TeX is a registred trademark (as we could read in en.wikipedia). Perhaps Hans could answer that?. * The blue traffic sign from the wiki. I have an mp file for that, which is attached. It does not work for me too. When I run texexec or mpost (following the first page of metafun manual) I get the following error: This is MetaPost, Version 0.993 (Web2C 7.5.6) (/usr/share/texmf/web2c/natural.tcx) (prova-mpgraph.mp (contextlogo.mp ! Font uhvb8a not usable: TFM file not found. thelabel-...ture(EXPR3):infont.defaultfont.scaled .defaultscale.fi;if.laboff... l.28 label (C, (0,v*f) ) withcolor textcolor; What's happen? What is the license of this file, Taco? I hope Mojca, or someone else, could answer the other questions. Thanks a lot, Xan. Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt T-shirts?
Am 12.03.2009 um 17:33 schrieb Xan: * The blue traffic sign from the wiki. I have an mp file for that, which is attached. It does not work for me too. When I run texexec or mpost (following the first page of metafun manual) I get the following error: I have the same problem with the minimals, I moved the code now in a ConTeXt file and this works for me: % logo.mp: creates a blue traffic sign-style context logo % Copyright 2008 Taco Hoekwater % You are free to use this code any way you can \setupcolors[state=start,textcolor=white] \usetypescript[helvetica] \setupbodyfont[helvetica,120pt] \starttext \startMPpage[offset=0pt] color darkblue,textcolor; darkblue := (0.0625,0,.412); % 0f006b = textcolor := (1,1,1); def rect (expr xl,yl,r) = pickup pencircle scaled 1; draw (xl-.5r,yl-.5r) -- (xl+.5r,yl-.5r)-- (xl+.5r,yl+.5r) -- (xl-.5r,yl+.5r) -- cycle withcolor textcolor; enddef; f:= 14; h:=8; v:=4; fill fullcircle scaled 408 shifted (112,0) withcolor darkblue; label (textext(C), (0,v*f) ) ; label (textext(O), (f*h,2*v*f) ) ; label (textext(N), (2*f*h,v*f) ) ; label (textext(T), (0,-v*f)) ; label (textext(E), (f*h,0) ) ; label (textext(X), (f*h*2,-v*f)) ; label (textext(T), (f*h,-2*v*f)) ; r := h*f; rect (0,v*f,r); rect (f*h,2*v*f,r); rect (2*f*h,v*f,r); rect (0,-v*f,r); rect (f*h,0,r); rect (f*h*2,-v*f,r); rect (f*h,-2*v*f,r); \stopMPpage \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt T-shirts?
En/na Wolfgang Schuster ha escrit: Am 12.03.2009 um 17:33 schrieb Xan: * The blue traffic sign from the wiki. I have an mp file for that, which is attached. It does not work for me too. When I run texexec or mpost (following the first page of metafun manual) I get the following error: I have the same problem with the minimals, I moved the code now in a ConTeXt file and this works for me: % logo.mp: creates a blue traffic sign-style context logo % Copyright 2008 Taco Hoekwater % You are free to use this code any way you can \setupcolors[state=start,textcolor=white] \usetypescript[helvetica] \setupbodyfont[helvetica,120pt] \starttext \startMPpage[offset=0pt] color darkblue,textcolor; darkblue := (0.0625,0,.412); % 0f006b = textcolor := (1,1,1); def rect (expr xl,yl,r) = pickup pencircle scaled 1; draw (xl-.5r,yl-.5r) -- (xl+.5r,yl-.5r)-- (xl+.5r,yl+.5r) -- (xl-.5r,yl+.5r) -- cycle withcolor textcolor; enddef; f:= 14; h:=8; v:=4; fill fullcircle scaled 408 shifted (112,0) withcolor darkblue; label (textext(C), (0,v*f) ) ; label (textext(O), (f*h,2*v*f) ) ; label (textext(N), (2*f*h,v*f) ) ; label (textext(T), (0,-v*f)) ; label (textext(E), (f*h,0) ) ; label (textext(X), (f*h*2,-v*f)) ; label (textext(T), (f*h,-2*v*f)) ; r := h*f; rect (0,v*f,r); rect (f*h,2*v*f,r); rect (2*f*h,v*f,r); rect (0,-v*f,r); rect (f*h,0,r); rect (f*h*2,-v*f,r); rect (f*h,-2*v*f,r); \stopMPpage \stoptext Wolfgang Thanks, Wolfgang. Now it works, but whith tiny letters (see attachments) Xan. prova.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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt T-shirts?
Am 12.03.2009 um 18:01 schrieb Xan: Thanks, Wolfgang. Now it works, but whith tiny letters (see attachments) New version (the old worked only under MkIV). % logo.mp: creates a blue traffic sign-style context logo % Copyright 2008 Taco Hoekwater % You are free to use this code any way you can \setupcolors[state=start,textcolor=white] \startMPenvironment \usetypescript[postscript][ec] \setupbodyfont[postscript,ss,120pt] \stopMPenvironment \usetypescript[postscript][ec] \setupbodyfont[postscript,ss,120pt] \starttext \startMPpage[offset=0pt] color darkblue,textcolor; darkblue := (0.0625,0,.412); % 0f006b = textcolor := (1,1,1); def rect (expr xl,yl,r) = pickup pencircle scaled 1; draw (xl-.5r,yl-.5r) -- (xl+.5r,yl-.5r)-- (xl+.5r,yl+.5r) -- (xl-.5r,yl+.5r) -- cycle withcolor textcolor; enddef; f:= 14; h:=8; v:=4; fill fullcircle scaled 408 shifted (112,0) withcolor darkblue; label (textext(C), (0,v*f) ) withcolor textcolor ; label (textext(O), (f*h,2*v*f) ) withcolor textcolor ; label (textext(N), (2*f*h,v*f) ) withcolor textcolor ; label (textext(T), (0,-v*f)) withcolor textcolor ; label (textext(E), (f*h,0) ) withcolor textcolor ; label (textext(X), (f*h*2,-v*f)) withcolor textcolor ; label (textext(T), (f*h,-2*v*f)) withcolor textcolor ; r := h*f; rect (0,v*f,r); rect (f*h,2*v*f,r); rect (2*f*h,v*f,r); rect (0,-v*f,r); rect (f*h,0,r); rect (f*h*2,-v*f,r); rect (f*h,-2*v*f,r); \stopMPpage \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt T-shirts?
En/na Wolfgang Schuster ha escrit: Am 12.03.2009 um 18:01 schrieb Xan: Thanks, Wolfgang. Now it works, but whith tiny letters (see attachments) New version (the old worked only under MkIV). % logo.mp: creates a blue traffic sign-style context logo % Copyright 2008 Taco Hoekwater % You are free to use this code any way you can \setupcolors[state=start,textcolor=white] \startMPenvironment \usetypescript[postscript][ec] \setupbodyfont[postscript,ss,120pt] \stopMPenvironment \usetypescript[postscript][ec] \setupbodyfont[postscript,ss,120pt] \starttext \startMPpage[offset=0pt] color darkblue,textcolor; darkblue := (0.0625,0,.412); % 0f006b = textcolor := (1,1,1); def rect (expr xl,yl,r) = pickup pencircle scaled 1; draw (xl-.5r,yl-.5r) -- (xl+.5r,yl-.5r)-- (xl+.5r,yl+.5r) -- (xl-.5r,yl+.5r) -- cycle withcolor textcolor; enddef; f:= 14; h:=8; v:=4; fill fullcircle scaled 408 shifted (112,0) withcolor darkblue; label (textext(C), (0,v*f) ) withcolor textcolor ; label (textext(O), (f*h,2*v*f) ) withcolor textcolor ; label (textext(N), (2*f*h,v*f) ) withcolor textcolor ; label (textext(T), (0,-v*f)) withcolor textcolor ; label (textext(E), (f*h,0) ) withcolor textcolor ; label (textext(X), (f*h*2,-v*f)) withcolor textcolor ; label (textext(T), (f*h,-2*v*f)) withcolor textcolor ; r := h*f; rect (0,v*f,r); rect (f*h,2*v*f,r); rect (2*f*h,v*f,r); rect (0,-v*f,r); rect (f*h,0,r); rect (f*h*2,-v*f,r); rect (f*h,-2*v*f,r); \stopMPpage \stoptext Wolfgang Great!. It works now with MKII. Thanks a lot, Wolfgang, Xan. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt T-shirts?
En/na Wolfgang Schuster ha escrit: Am 12.03.2009 um 18:01 schrieb Xan: Thanks, Wolfgang. Now it works, but whith tiny letters (see attachments) New version (the old worked only under MkIV). % logo.mp: creates a blue traffic sign-style context logo % Copyright 2008 Taco Hoekwater % You are free to use this code any way you can \setupcolors[state=start,textcolor=white] \startMPenvironment \usetypescript[postscript][ec] \setupbodyfont[postscript,ss,120pt] \stopMPenvironment \usetypescript[postscript][ec] \setupbodyfont[postscript,ss,120pt] \starttext \startMPpage[offset=0pt] color darkblue,textcolor; darkblue := (0.0625,0,.412); % 0f006b = textcolor := (1,1,1); def rect (expr xl,yl,r) = pickup pencircle scaled 1; draw (xl-.5r,yl-.5r) -- (xl+.5r,yl-.5r)-- (xl+.5r,yl+.5r) -- (xl-.5r,yl+.5r) -- cycle withcolor textcolor; enddef; f:= 14; h:=8; v:=4; fill fullcircle scaled 408 shifted (112,0) withcolor darkblue; label (textext(C), (0,v*f) ) withcolor textcolor ; label (textext(O), (f*h,2*v*f) ) withcolor textcolor ; label (textext(N), (2*f*h,v*f) ) withcolor textcolor ; label (textext(T), (0,-v*f)) withcolor textcolor ; label (textext(E), (f*h,0) ) withcolor textcolor ; label (textext(X), (f*h*2,-v*f)) withcolor textcolor ; label (textext(T), (f*h,-2*v*f)) withcolor textcolor ; r := h*f; rect (0,v*f,r); rect (f*h,2*v*f,r); rect (2*f*h,v*f,r); rect (0,-v*f,r); rect (f*h,0,r); rect (f*h*2,-v*f,r); rect (f*h,-2*v*f,r); \stopMPpage \stoptext Wolfgang Wolfgang, perhaps now I will be a little bit noisy, but the logo in the wiki [http://wiki.contextgarden.net/skins/common/images/logo-alt4.png ] has the letters more bold rather than the mp graphic (see attachment below). How can we do thick more the letters? (and have exactly the same logo). I don't know metafun. Thanks in advance, Xan prova.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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt T-shirts?
On Thu, 12 Mar 2009, Wolfgang Schuster wrote: Am 12.03.2009 um 18:01 schrieb Xan: Thanks, Wolfgang. Now it works, but whith tiny letters (see attachments) New version (the old worked only under MkIV). % logo.mp: creates a blue traffic sign-style context logo % Copyright 2008 Taco Hoekwater % You are free to use this code any way you can \setupcolors[state=start,textcolor=white] Ha, there is a trick that I know but Wolfgang does not ;) \startMPenvironment You can use \startMPenvironment[global] \usetypescript[postscript][ec] \setupbodyfont[postscript,ss,120pt] \stopMPenvironment then you do not need to repeat this. \usetypescript[postscript][ec] \setupbodyfont[postscript,ss,120pt] With [global] the environment is applied to both the MP file and the TeX file. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt T-shirts?
En/na Mojca Miklavec ha escrit: On Mon, Mar 9, 2009 at 21:06, Xan wrote: Do you have any cafepress/spreadshirt acount for selling t-shirts, tea cups, etc.? I think it could be useful for fans of ConTeXt. No, but I have a pile of please-send-me-asap I LOVE ConTeXt T-shirts from the last conference (sorry, I keep sending them for at least a decade already) and there are still some spare ones. If you want one, let me know. 1)Yes, I'm interested, but give me more details. What sizes are avaliable? Prices? Colors? Men/Woman? I googled it but I just found the design [http://www.ntg.nl/pipermail/ntg-context/2008/035005.html]. 2) Another related question is what is the license of the ConTeXt official logo and what is it. Is it the logo that appears in the wiki [http://wiki.contextgarden.net/skins/common/images/logo-alt4.png] or is it simply the graphics of typing Con\TeX{t} ? Depending what are the license of this logo, I or any other person could open Spreadshirt/cafepress for other people could receive T-shirts with only ConTeXt logo (without I love ;-)). I suppose that ConTeXt graphics is public domain, as anyone could have it typing only Con\TeXt and we have freedom speach. But the cicle ConTeXt image is another thing. Following [http://www.pragma-ade.com/general/manuals/mreadme.pdf], the documentation and code have specific licenses but nothing is know about logos and trademarks. Can you answer? 2.5) Note: this is not my intention to register an official shop without your permision, obviously. 3) For the other hand, I'm interested in you having shop in spreadshirt/cafepress and if you are insterested in the idea, I could help you. I think this good for the both parts: ConTeXt users and Pragma ADE. For one hand, user could have (not only) t-shirts with ConTeXt logo and Pragma ADE could join money. And last, we promote the knowledge about not all in the world is LaTeX ;-) If you are insterested, I could register in spreadshirt or cafepress and being person in charge of that. Well, better co-person in charge, because I believe best to have one elder context person with me ;-) But for the other hand I think I'm not the most appropiate for doing that because at least Spreadshirt ask for enterprise number, bank account for join money, ... data that I think it's Pragma ADE private data. Spreadshirt is best for europe and cafepress for US. With my best intentions, Xan. Mojca ___ 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 : https://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \LaTeX
Hi, I need the LaTeX logo in a document set with 8.5pt but with the last beta the following message. ! LuaTeX error (arithmetic): divided by zero. \actualshipout ... \box \postponedcontent \box 0}} \else \message {[\ifarrang... \myshipout ... \fi {\thisisrealpage \realfolio #1} \gotonextrealpage \aftersh... \dofinaloutput ...agebody #1#2\setpagecounters }}} \fi \the \everyaftershipou... \finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2 \resetselectiepagina \incr... \sidefloatoutput ...e \else \finalsidefloatoutput \global \sidefloatvsize \n... argument ...\fi \else \the \defaultstreamoutput \fi ... l.5 \stoptext The example file is: % engine=luatex \setupbodyfont[8.5pt] \starttext \LaTeX \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Updating lang-ita.tex (was [Fwd: Undelivered Mail Returned to Sender])
] \installlanguage [\s!ro] [\c!spacing=\v!packed, \c!leftsentence=---, \c!rightsentence=---, \c!leftsubsentence=---, \c!rightsubsentence=---, \c!leftquote=\leftguillemot, \c!rightquote=\rightguillemot, \c!leftquotation=\lowerrightdoubleninequote, \c!rightquotation=\upperleftdoublesixquote, \c!date={\v!day,\ ,\v!month,\ ,\v!year}, \c!state=\v!stop] %D For compatibility reasons we also define: \installlanguage [fa] [\s!fr] % for dutchies only \installlanguage [french] [\s!fr] \installlanguage [spanish] [\s!es] \installlanguage [catalan] [\s!ca] \installlanguage [italian] [\s!it] \installlanguage [latin] [\s!la] \installlanguage [portuguese] [\s!pt] \installlanguage [romanian][\s!ro] %D Labels and header texts. \setupheadtext [\s!fr] [\v!content=Table des mati\`eres] \setupheadtext [\s!es] [\v!content=\'Indice] \setupheadtext [\s!ca] [\v!content=\'Index de continguts] \setupheadtext [\s!it] [\v!content=Indice] \setupheadtext [\s!la] [\v!content=Quod in libro continetur] %Argumentum \setupheadtext [\s!pt] [\v!content=Conte\'udo] \setupheadtext [\s!ro] [\v!content=Cuprins] \setupheadtext [\s!fr] [\v!tables=Tableaux] \setupheadtext [\s!es] [\v!tables=Tablas] \setupheadtext [\s!ca] [\v!tables=Taules] \setupheadtext [\s!it] [\v!tables=Tabelle] \setupheadtext [\s!la] [\v!tables=Tabulae] \setupheadtext [\s!pt] [\v!tables=Tabelas] \setupheadtext [\s!ro] [\v!tables=Tabele] \setupheadtext [\s!fr] [\v!figures=Figures] \setupheadtext [\s!es] [\v!figures=Ilustraciones] \setupheadtext [\s!ca] [\v!figures=Figures] \setupheadtext [\s!it] [\v!figures=Figure] \setupheadtext [\s!la] [\v!figures=Imagines] \setupheadtext [\s!pt] [\v!figures=Figuras] \setupheadtext [\s!ro] [\v!figures=Figuri] \setupheadtext [\s!fr] [\v!graphics=Graphiques] \setupheadtext [\s!es] [\v!graphics=Gr\'aficos] \setupheadtext [\s!it] [\v!graphics=Grafici] \setupheadtext [\s!ca] [\v!graphics=Gr\`afiques] \setupheadtext [\s!la] [\v!graphics=Typi] \setupheadtext [\s!pt] [\v!graphics=Gr\'aficos] \setupheadtext [\s!ro] [\v!graphics=Grafice] \setupheadtext [\s!fr] [\v!intermezzi=Interm\`edes] \setupheadtext [\s!es] [\v!intermezzi=intermedios] \setupheadtext [\s!ca] [\v!intermezzi=intermedis] \setupheadtext [\s!it] [\v!intermezzi=Intermezzi] \setupheadtext [\s!la] [\v!intermezzi=Intermissa] \setupheadtext [\s!pt] [\v!intermezzi=Interm\'edios] \setupheadtext [\s!ro] [\v!intermezzi=Intermzzo] \setupheadtext [\s!fr] [\v!index=Index] \setupheadtext [\s!es] [\v!index=\'Indice alfab\'etico] \setupheadtext [\s!ca] [\v!index=\'Index alfab\`etic] \setupheadtext [\s!it] [\v!index=Indice] \setupheadtext [\s!la] [\v!index=Indices] \setupheadtext [\s!pt] [\v!index=\'Indice] \setupheadtext [\s!ro] [\v!index=Index] \setupheadtext [\s!fr] [\v!abbreviations=Abr\'eviations] \setupheadtext [\s!es] [\v!abbreviations=Abreviaciones] \setupheadtext [\s!ca] [\v!abbreviations=Abreviacions] \setupheadtext [\s!it] [\v!abbreviations=Abbreviazioni] \setupheadtext [\s!la] [\v!abbreviations=Notae] \setupheadtext [\s!pt] [\v!abbreviations=Abreviaturas] \setupheadtext [\s!ro] [\v!abbreviations=Abrevieri] \setupheadtext [\s!fr] [\v!logos=Logos] \setupheadtext [\s!es] [\v!logos=Logotipos] \setupheadtext [\s!ca] [\v!logos=Logotips] \setupheadtext [\s!it] [\v!logos=Logotipi] \setupheadtext [\s!la] [\v!logos=Typi negotiales] \setupheadtext [\s!pt] [\v!logos=Logotipos] \setupheadtext [\s!ro] [\v!logos=Logo-uri] \setupheadtext [\s!fr] [\v!units=Unit\'es] \setupheadtext [\s!es] [\v!units=Unidades] \setupheadtext [\s!ca] [\v!units=Unitats] \setupheadtext [\s!it] [\v!units=Unit\`a] \setupheadtext [\s!la] [\v!units=Modi] \setupheadtext [\s!pt] [\v!units=Unidades] \setupheadtext [\s!ro] [\v!units=Unit\u{a}\c{t}i] \setuplabeltext [\s!fr] [\v!table=Tableau ] \setuplabeltext [\s!es] [\v!table=Tabla ] \setuplabeltext [\s!ca] [\v!table=Taula ] \setuplabeltext [\s!it] [\v!table=Tabella ] \setuplabeltext [\s!la] [\v!table=Tabula ] \setuplabeltext [\s!pt] [\v!table=Tabela ] \setuplabeltext [\s!ro] [\v!table=Tabelul ] \setuplabeltext [\s!fr] [\v!figure=Figure ] \setuplabeltext [\s!es] [\v!figure=Ilustraci\'on ] \setuplabeltext [\s!ca] [\v!figure=Figura ] \setuplabeltext [\s!it] [\v!figure=Fig. ] \setuplabeltext [\s!la] [\v!figure=Imago ] \setuplabeltext [\s!pt] [\v!figure=Figura ] \setuplabeltext [\s!ro] [\v!figure=Figura ] \setuplabeltext [\s!fr] [\v!intermezzo=Interm\`ede ] \setuplabeltext [\s!es] [\v!intermezzo=intermedio ] \setuplabeltext [\s!ca] [\v!intermezzo=Intermedi ] \setuplabeltext [\s!it] [\v!intermezzo=Intermezzo ] \setuplabeltext [\s!la] [\v!intermezzo=Intermissum ] \setuplabeltext [\s!pt] [\v!intermezzo=Interm\'edio ] \setuplabeltext [\s!ro] [\v!intermezzo=Intermezzo ] \setuplabeltext [\s!fr] [\v!graphic=Illustration ] \setuplabeltext [\s!es] [\v!graphic=Gr\'afico ] \setuplabeltext [\s!ca] [\v!graphic=Gr\`afica ] \setuplabeltext [\s!it] [\v!graphic=Grafico ] \setuplabeltext [\s!la] [\v!graphic=Typus ] \setuplabeltext [\s!pt
Re: [NTG-context] \LaTeX
Wolfgang Schuster wrote: Hi, I need the LaTeX logo in a document set with 8.5pt but with the last beta the following message. ! LuaTeX error (arithmetic): divided by zero. \actualshipout ... \box \postponedcontent \box 0}} \else \message {[\ifarrang... \myshipout ... \fi {\thisisrealpage \realfolio #1} \gotonextrealpage \aftersh... \dofinaloutput ...agebody #1#2\setpagecounters }}} \fi \the \everyaftershipou... \finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2 \resetselectiepagina \incr... \sidefloatoutput ...e \else \finalsidefloatoutput \global \sidefloatvsize \n... argument ...\fi \else \the \defaultstreamoutput \fi l.5 \stoptext The example file is: unrelated to the logo ... any \txx does it patch font-ini.mkiv .. (i have no time now to se why the other code fails) \def\dododefinebodyfontenvironment[#1][#2][#3]% size class settings {\@@beginfontdef % \s!text goes wrong in testing because the 12pt alternative will called when typesetting the test (or so) \ifcsname\??ft#2#1\c!em\endcsname % we test for em as we assume it to be set \else \def\docommand##1% % fails: \def\checkbodyfontenvironment[#1]{! #1 ! \definebodyfontenvironment[\fontclass][#1][]} \setupbodyfont[8.5pt] % {\normalizebodyfontsize\csname\??ft\s!default##1\endcsname\dimexpr#1\relax\to\tempbodyfontsize % \letvalue{\??ft#2#1##1}\tempbodyfontsize}% {\scratchdimen\csname\??ft\s!default##1\endcsname\dimexpr#1\relax \normalizebodyfontsize\scratchdimen\to\tempbodyfontsize \letvalue{\??ft#2#1##1}\tempbodyfontsize}% \processcommacommand[\fontsizelist]\docommand \copyparameters [\??ft#2#1][\??ft\s!default] [\c!interlinespace,\c!em]% \fi \getparameters[\??ft#2#1][#3]% \@@endfontdef % new code, see remark \ifloadingfonts % only runtime \else\ifcsna...@size@#1\endcsname % only once \else % prevent loop (hence \empty) \letvalu...@size@#1}\empty \defineunknownfont{#1}% \fi\fi % so far \setvalu...@size@#1}{\docompletefontswitch[#1]}} ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Updating lang-ita.tex
] \setupheadtext [\s!la] [\v!content=Quod in libro continetur] %Argumentum \setupheadtext [\s!pt] [\v!content=Conte\'udo] \setupheadtext [\s!ro] [\v!content=Cuprins] \setupheadtext [\s!fr] [\v!tables=Tableaux] \setupheadtext [\s!es] [\v!tables=Tablas] \setupheadtext [\s!ca] [\v!tables=Taules] \setupheadtext [\s!it] [\v!tables=Tabelle] \setupheadtext [\s!la] [\v!tables=Tabulae] \setupheadtext [\s!pt] [\v!tables=Tabelas] \setupheadtext [\s!ro] [\v!tables=Tabele] \setupheadtext [\s!fr] [\v!figures=Figures] \setupheadtext [\s!es] [\v!figures=Ilustraciones] \setupheadtext [\s!ca] [\v!figures=Figures] \setupheadtext [\s!it] [\v!figures=Figure] \setupheadtext [\s!la] [\v!figures=Imagines] \setupheadtext [\s!pt] [\v!figures=Figuras] \setupheadtext [\s!ro] [\v!figures=Figuri] \setupheadtext [\s!fr] [\v!graphics=Graphiques] \setupheadtext [\s!es] [\v!graphics=Gr\'aficos] \setupheadtext [\s!it] [\v!graphics=Grafici] \setupheadtext [\s!ca] [\v!graphics=Gr\`afiques] \setupheadtext [\s!la] [\v!graphics=Typi] \setupheadtext [\s!pt] [\v!graphics=Gr\'aficos] \setupheadtext [\s!ro] [\v!graphics=Grafice] \setupheadtext [\s!fr] [\v!intermezzi=Interm\`edes] \setupheadtext [\s!es] [\v!intermezzi=intermedios] \setupheadtext [\s!ca] [\v!intermezzi=intermedis] \setupheadtext [\s!it] [\v!intermezzi=Intermezzi] \setupheadtext [\s!la] [\v!intermezzi=Intermissa] \setupheadtext [\s!pt] [\v!intermezzi=Interm\'edios] \setupheadtext [\s!ro] [\v!intermezzi=Intermzzo] \setupheadtext [\s!fr] [\v!index=Index] \setupheadtext [\s!es] [\v!index=\'Indice alfab\'etico] \setupheadtext [\s!ca] [\v!index=\'Index alfab\`etic] \setupheadtext [\s!it] [\v!index=Indice] \setupheadtext [\s!la] [\v!index=Indices] \setupheadtext [\s!pt] [\v!index=\'Indice] \setupheadtext [\s!ro] [\v!index=Index] \setupheadtext [\s!fr] [\v!abbreviations=Abr\'eviations] \setupheadtext [\s!es] [\v!abbreviations=Abreviaciones] \setupheadtext [\s!ca] [\v!abbreviations=Abreviacions] \setupheadtext [\s!it] [\v!abbreviations=Abbreviazioni] \setupheadtext [\s!la] [\v!abbreviations=Notae] \setupheadtext [\s!pt] [\v!abbreviations=Abreviaturas] \setupheadtext [\s!ro] [\v!abbreviations=Abrevieri] \setupheadtext [\s!fr] [\v!logos=Logos] \setupheadtext [\s!es] [\v!logos=Logotipos] \setupheadtext [\s!ca] [\v!logos=Logotips] \setupheadtext [\s!it] [\v!logos=Logotipi] \setupheadtext [\s!la] [\v!logos=Typi negotiales] \setupheadtext [\s!pt] [\v!logos=Logotipos] \setupheadtext [\s!ro] [\v!logos=Logo-uri] \setupheadtext [\s!fr] [\v!units=Unit\'es] \setupheadtext [\s!es] [\v!units=Unidades] \setupheadtext [\s!ca] [\v!units=Unitats] \setupheadtext [\s!it] [\v!units=Unit\`a] \setupheadtext [\s!la] [\v!units=Modi] \setupheadtext [\s!pt] [\v!units=Unidades] \setupheadtext [\s!ro] [\v!units=Unit\u{a}\c{t}i] \setuplabeltext [\s!fr] [\v!table=Tableau ] \setuplabeltext [\s!es] [\v!table=Tabla ] \setuplabeltext [\s!ca] [\v!table=Taula ] \setuplabeltext [\s!it] [\v!table=Tabella ] \setuplabeltext [\s!la] [\v!table=Tabula ] \setuplabeltext [\s!pt] [\v!table=Tabela ] \setuplabeltext [\s!ro] [\v!table=Tabelul ] \setuplabeltext [\s!fr] [\v!figure=Figure ] \setuplabeltext [\s!es] [\v!figure=Ilustraci\'on ] \setuplabeltext [\s!ca] [\v!figure=Figura ] \setuplabeltext [\s!it] [\v!figure=Fig. ] \setuplabeltext [\s!la] [\v!figure=Imago ] \setuplabeltext [\s!pt] [\v!figure=Figura ] \setuplabeltext [\s!ro] [\v!figure=Figura ] \setuplabeltext [\s!fr] [\v!intermezzo=Interm\`ede ] \setuplabeltext [\s!es] [\v!intermezzo=intermedio ] \setuplabeltext [\s!ca] [\v!intermezzo=Intermedi ] \setuplabeltext [\s!it] [\v!intermezzo=Intermezzo ] \setuplabeltext [\s!la] [\v!intermezzo=Intermissum ] \setuplabeltext [\s!pt] [\v!intermezzo=Interm\'edio ] \setuplabeltext [\s!ro] [\v!intermezzo=Intermezzo ] \setuplabeltext [\s!fr] [\v!graphic=Illustration ] \setuplabeltext [\s!es] [\v!graphic=Gr\'afico ] \setuplabeltext [\s!ca] [\v!graphic=Gr\`afica ] \setuplabeltext [\s!it] [\v!graphic=Grafico ] \setuplabeltext [\s!la] [\v!graphic=Typus ] \setuplabeltext [\s!pt] [\v!graphic=Gr\'afico ] \setuplabeltext [\s!ro] [\v!graphic=Graficul ] \setuplabeltext [\s!fr] [\v!chapter=] \setuplabeltext [\s!es] [\v!chapter=Cap\'\itulo] \setuplabeltext [\s!ca] [\v!chapter=Cap\'\itol] \setuplabeltext [\s!it] [\v!chapter=] \setuplabeltext [\s!la] [\v!chapter=] \setuplabeltext [\s!pt] [\v!chapter=] \setuplabeltext [\s!ro] [\v!chapter=] \setuplabeltext [\s!fr] [\v!section=] \setuplabeltext [\s!es] [\v!section=Secci\'on] \setuplabeltext [\s!ca] [\v!section=Secci\'o] \setuplabeltext [\s!it] [\v!section=] \setuplabeltext [\s!la] [\v!section=] \setuplabeltext [\s!pt] [\v!section=] \setuplabeltext [\s!ro] [\v!section=] \setuplabeltext [\s!fr] [\v!subsection=] \setuplabeltext [\s!es] [\v!subsection=Subsecci\'on] \setuplabeltext [\s!ca] [\v!subsection=Subsecci\'o] \setuplabeltext [\s!it] [\v!subsection=] \setuplabeltext [\s!la] [\v!subsection=] \setuplabeltext [\s!pt] [\v!subsection=] \setuplabeltext [\s!ro] [\v!subsection=] \setuplabeltext [\s!fr] [\v!subsubsection
[NTG-context] Update catalan + spanish translation (was Re: Bibtex doubt (was Re: Forward of moderated message))
: \installlanguage [fa] [\s!fr] % for dutchies only \installlanguage [french] [\s!fr] \installlanguage [spanish] [\s!es] \installlanguage [catalan] [\s!ca] \installlanguage [italian] [\s!it] \installlanguage [latin] [\s!la] \installlanguage [portuguese] [\s!pt] \installlanguage [romanian][\s!ro] %D Labels and header texts. \setupheadtext [\s!fr] [\v!content=Table des mati\`eres] \setupheadtext [\s!es] [\v!content=\'Indice] \setupheadtext [\s!ca] [\v!content=\'Index de continguts] \setupheadtext [\s!it] [\v!content=Indice] \setupheadtext [\s!la] [\v!content=Quod in libro continetur] %Argumentum \setupheadtext [\s!pt] [\v!content=Conte\'udo] \setupheadtext [\s!ro] [\v!content=Cuprins] \setupheadtext [\s!fr] [\v!tables=Tableaux] \setupheadtext [\s!es] [\v!tables=Tablas] \setupheadtext [\s!ca] [\v!tables=Taules] \setupheadtext [\s!it] [\v!tables=Tabelle] \setupheadtext [\s!la] [\v!tables=Tabulae] \setupheadtext [\s!pt] [\v!tables=Tabelas] \setupheadtext [\s!ro] [\v!tables=Tabele] \setupheadtext [\s!fr] [\v!figures=Figures] \setupheadtext [\s!es] [\v!figures=Ilustraciones] \setupheadtext [\s!ca] [\v!figures=Figures] \setupheadtext [\s!it] [\v!figures=Figure] \setupheadtext [\s!la] [\v!figures=Imagines] \setupheadtext [\s!pt] [\v!figures=Figuras] \setupheadtext [\s!ro] [\v!figures=Figuri] \setupheadtext [\s!fr] [\v!graphics=Graphiques] \setupheadtext [\s!es] [\v!graphics=Gr\'aficos] \setupheadtext [\s!it] [\v!graphics=Grafici] \setupheadtext [\s!ca] [\v!graphics=Gr\`afiques] \setupheadtext [\s!la] [\v!graphics=Typi] \setupheadtext [\s!pt] [\v!graphics=Gr\'aficos] \setupheadtext [\s!ro] [\v!graphics=Grafice] \setupheadtext [\s!fr] [\v!intermezzi=Interm\`edes] \setupheadtext [\s!es] [\v!intermezzi=intermedios] \setupheadtext [\s!ca] [\v!intermezzi=intermedis] \setupheadtext [\s!it] [\v!intermezzi=Intermezzi] \setupheadtext [\s!la] [\v!intermezzi=Intermissa] \setupheadtext [\s!pt] [\v!intermezzi=Interm\'edios] \setupheadtext [\s!ro] [\v!intermezzi=Intermzzo] \setupheadtext [\s!fr] [\v!index=Index] \setupheadtext [\s!es] [\v!index=\'Indice alfab\'etico] \setupheadtext [\s!ca] [\v!index=\'Index alfab\`etic] \setupheadtext [\s!it] [\v!index=Indice] \setupheadtext [\s!la] [\v!index=Indices] \setupheadtext [\s!pt] [\v!index=\'Indice] \setupheadtext [\s!ro] [\v!index=Index] \setupheadtext [\s!fr] [\v!abbreviations=Abr\'eviations] \setupheadtext [\s!es] [\v!abbreviations=Abreviaciones] \setupheadtext [\s!ca] [\v!abbreviations=Abreviacions] \setupheadtext [\s!it] [\v!abbreviations=Abbreviazioni] \setupheadtext [\s!la] [\v!abbreviations=Notae] \setupheadtext [\s!pt] [\v!abbreviations=Abreviaturas] \setupheadtext [\s!ro] [\v!abbreviations=Abrevieri] \setupheadtext [\s!fr] [\v!logos=Logos] \setupheadtext [\s!es] [\v!logos=Logotipos] \setupheadtext [\s!ca] [\v!logos=Logotips] \setupheadtext [\s!it] [\v!logos=Logotipi] \setupheadtext [\s!la] [\v!logos=Typi negotiales] \setupheadtext [\s!pt] [\v!logos=Logotipos] \setupheadtext [\s!ro] [\v!logos=Logo-uri] \setupheadtext [\s!fr] [\v!units=Unit\'es] \setupheadtext [\s!es] [\v!units=Unidades] \setupheadtext [\s!ca] [\v!units=Unitats] \setupheadtext [\s!it] [\v!units=Unit\`a] \setupheadtext [\s!la] [\v!units=Modi] \setupheadtext [\s!pt] [\v!units=Unidades] \setupheadtext [\s!ro] [\v!units=Unit\u{a}\c{t}i] \setuplabeltext [\s!fr] [\v!table=Tableau ] \setuplabeltext [\s!es] [\v!table=Tabla ] \setuplabeltext [\s!ca] [\v!table=Taula ] \setuplabeltext [\s!it] [\v!table=Tabella ] \setuplabeltext [\s!la] [\v!table=Tabula ] \setuplabeltext [\s!pt] [\v!table=Tabela ] \setuplabeltext [\s!ro] [\v!table=Tabelul ] \setuplabeltext [\s!fr] [\v!figure=Figure ] \setuplabeltext [\s!es] [\v!figure=Ilustraci\'on ] \setuplabeltext [\s!ca] [\v!figure=Figura ] \setuplabeltext [\s!it] [\v!figure=Fig. ] \setuplabeltext [\s!la] [\v!figure=Imago ] \setuplabeltext [\s!pt] [\v!figure=Figura ] \setuplabeltext [\s!ro] [\v!figure=Figura ] \setuplabeltext [\s!fr] [\v!intermezzo=Interm\`ede ] \setuplabeltext [\s!es] [\v!intermezzo=intermedio ] \setuplabeltext [\s!ca] [\v!intermezzo=Intermedi ] \setuplabeltext [\s!it] [\v!intermezzo=Intermezzo ] \setuplabeltext [\s!la] [\v!intermezzo=Intermissum ] \setuplabeltext [\s!pt] [\v!intermezzo=Interm\'edio ] \setuplabeltext [\s!ro] [\v!intermezzo=Intermezzo ] \setuplabeltext [\s!fr] [\v!graphic=Illustration ] \setuplabeltext [\s!es] [\v!graphic=Gr\'afico ] \setuplabeltext [\s!ca] [\v!graphic=Gr\`afica ] \setuplabeltext [\s!it] [\v!graphic=Grafico ] \setuplabeltext [\s!la] [\v!graphic=Typus ] \setuplabeltext [\s!pt] [\v!graphic=Gr\'afico ] \setuplabeltext [\s!ro] [\v!graphic=Graficul ] \setuplabeltext [\s!fr] [\v!chapter=] \setuplabeltext [\s!es] [\v!chapter=] \setuplabeltext [\s!ca] [\v!chapter=] \setuplabeltext [\s!it] [\v!chapter=] \setuplabeltext [\s!la] [\v!chapter=] \setuplabeltext [\s!pt] [\v!chapter=] \setuplabeltext [\s!ro] [\v!chapter=] \setuplabeltext [\s!fr] [\v!section=] \setuplabeltext [\s!es] [\v!section
Re: [NTG-context] context mascot
Hi, Have we a mascot ? http://chl.be/mascots/ Yes we do. Its the dutch cow :-) I thought that people in Bohinj more ore less agreed(*) that we don't want any animals as a logo (except for your elephant, of course ;-)). Wasn't this the reason, we tried hard to come up with a geometrically formed context logo? (*) those two or three that were still awake :) Patrick -- ConTeXt wiki and more: 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] context mascot
On Mon, Dec 15, 2008 at 9:25 PM, Patrick Gundlach patr...@gundla.ch wrote: Hi, Have we a mascot ? http://chl.be/mascots/ Yes we do. Its the dutch cow :-) I thought that people in Bohinj more ore less agreed(*) that we don't want any animals as a logo (except for your elephant, of course ;-)). Wasn't this the reason, we tried hard to come up with a geometrically formed context logo? It's not a logo. It's a mascot, like TeX lion, linux penguin, GNU gnu and so on . Cow fonts was made from Duane Bibby's illustrations ,as far I know, so no doubt that they are in TeX tradition -- 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] context mascot
Patrick Gundlach wrote: Hi, Have we a mascot ? http://chl.be/mascots/ Yes we do. Its the dutch cow :-) I thought that people in Bohinj more ore less agreed(*) that we don't want any animals as a logo (except for your elephant, of course ;-)). Wasn't this the reason, we tried hard to come up with a geometrically formed context logo? right: no mechandising of animals and no animals on covers of books -) - 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 | 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] context mascot
luigi scarso wrote: On Mon, Dec 15, 2008 at 9:25 PM, Patrick Gundlach patr...@gundla.ch wrote: Hi, Have we a mascot ? http://chl.be/mascots/ Yes we do. Its the dutch cow :-) I thought that people in Bohinj more ore less agreed(*) that we don't want any animals as a logo (except for your elephant, of course ;-)). Wasn't this the reason, we tried hard to come up with a geometrically formed context logo? It's not a logo. It's a mascot, like TeX lion, linux penguin, GNU gnu and so on . Cow fonts was made from Duane Bibby's illustrations ,as far I know, so no doubt that they are in TeX tradition Sure, but that's just visual jokes; you're not advocating a real 'pluche' animal are you? (hm, reminds me of this inflatable pig that the pink floyd guys use(d), a big inflatable cow floating above the context conference location) Hans - 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 | 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] context mascot
On Mon, Dec 15, 2008 at 11:23 PM, Hans Hagen pra...@wxs.nl wrote: Patrick Gundlach wrote: I thought that people in Bohinj more ore less agreed(*) that we don't want any animals as a logo (except for your elephant, of course ;-)). Wasn't this the reason, we tried hard to come up with a geometrically formed context logo? right: no mechandising of animals and no animals on covers of books -) I must admit that martina particularly like O'REAILLY books for their covers Every time that she is able to take one (i.e., every time that I'm not able to stop her from taking one) she says 'b', appartently happy to see a beautiful animal (the book is then stressed to see if this animal can come out from the cover, I suppose) I don't know why 'b' (children have their little secrets); BTW, 'b' is much like 'm' . -- 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] context mascot
On Mon, Dec 15, 2008 at 11:27 PM, Hans Hagen pra...@wxs.nl wrote: luigi scarso wrote: On Mon, Dec 15, 2008 at 9:25 PM, Patrick Gundlach patr...@gundla.ch wrote: Hi, Have we a mascot ? http://chl.be/mascots/ Yes we do. Its the dutch cow :-) I thought that people in Bohinj more ore less agreed(*) that we don't want any animals as a logo (except for your elephant, of course ;-)). Wasn't this the reason, we tried hard to come up with a geometrically formed context logo? It's not a logo. It's a mascot, like TeX lion, linux penguin, GNU gnu and so on . Cow fonts was made from Duane Bibby's illustrations ,as far I know, so no doubt that they are in TeX tradition Sure, but that's just visual jokes; you're not advocating a real 'pluche' animal are you? Well , actually I really appreciate a *real* dutch cow... martina needs milk every morning... BTW, no, I'm not advocate for a real pluche animal. (hm, reminds me of this inflatable pig that the pink floyd guys use(d), a big inflatable cow floating above the context conference location) Arrghh.. this pig (Animals album) created some problems to floyd.. On 3 December 1976, during the second day, a gust of wind broke the pig free of its moorings. Because there was no one to shoot the pig down, it sailed away into the morning sky. A passenger plane reported seeing the pig, causing all the flights at London Heathrow Airporthttp://en.wikipedia.org/wiki/London_Heathrow_Airportto be delayed [*citation needed http://en.wikipedia.org/wiki/Wikipedia:Citation_needed*]. A police helicopter was sent up to track the pig, but was forced to return after following the pig to an altitude of 5,000 feet. A warning was sent out to pilots that a giant, flying pink pig was loose in the area[*citation needed http://en.wikipedia.org/wiki/Wikipedia:Citation_needed*]. The CAA lost radar contact on the pig near Chatham in Kent, at a height of 18,000 feet and flying East. It finally landed in a farmer's field, without much damage. ..: http://en.wikipedia.org/wiki/Animals_(album) -- 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] [OT] context mascot
On Fri, Dec 12, 2008 at 12:29 AM, Aditya Mahajan adit...@umich.edu wrote: On Fri, 12 Dec 2008, luigi scarso wrote: Have we a mascot ? http://chl.be/mascots/ Yes we do. Its the dutch cow :-) right, damn, I'm getting old BTW I think we should put on the wiki something like this http://melusine.eu.org/syracuse/metapost/animations/poulain/?swf=2 under the logo -- 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] vertical alignment in footer
Am 23.11.2008 um 19:20 schrieb Zoho Vignochi: Hello: I am a recent convert from LaTeX to conTeXt. kudos to all the developers! I have read through the wiki and as many tutorials/manuals as I can find. My problem is that I have a footer which includes a logo. I would like all the elements in the footer to be vertically centred, where as now they are aligned along the bottom. Here is my code: \startsetups footer \hfill \pagenumber \hfill \llap{\externalfigure[logo]} \stopsetups \setupfooter [before=\vss, after=\vss] 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] vertical alignment in footer
Hello: I am a recent convert from LaTeX to conTeXt. kudos to all the developers! I have read through the wiki and as many tutorials/manuals as I can find. My problem is that I have a footer which includes a logo. I would like all the elements in the footer to be vertically centred, where as now they are aligned along the bottom. Here is my code: \startsetups footer \hfill \pagenumber \hfill \llap{\externalfigure[logo]} \stopsetups Thanks, Zoho ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] stretching smallcaps with a style command
Just to let anyone know who's interested, I more or less solved this problem with the (more or less undocumented) command \definealternativestyle [StretchedSmallCaps] [\StretchedSmallCaps] [\StretchedSmallCaps]. It allows me to set \setupsynonyms [abbreviation] [textstyle=StretchedSmallCaps, criterium=all], which essentially works. Is this generally applicable enough to put on the wiki somewhere? I now have another abbreviations question. What is the easiest way to allow digits (and, ideally, the forward slash) in abbreviation names (i.e. be able to type \PS/2 and not get the error \PS is undefined)? This occurs quite commonly, particularly with numbers. I can define the abbreviation fine, and I can use the \infull version of it fine, but I can't use the command version at all. Another example: \ATX12V. I've been working around it by defining both synonyms and a logo like \PSTwo which typesets like I want \PS/2 to typeset, but what is a more elegent way of doing this that doesn't involve definining two different commands? I don't know how to change catcodes, despite numerous failed attempts to do just that with commands like \unprotect \catcode`2=\@@letter \protect. Thanks, Bob - Original Message From: Bob Reynolds [EMAIL PROTECTED] To: ntg-context@ntg.nl Sent: Friday, November 14, 2008 10:24:26 AM Subject: stretching smallcaps with a style command Hello Everyone: I'm an intermediate-skilled user trying to typeset notes for my CompTIA A+ certification course with ConTeXt, but I'm having trouble with styling abbreviations. I would like to letterspace (I think that is a correct typographical term, I'm a little new at typesetting, sorry) and smallcap my dozens of abbreviations, and I can get it to work manually but not with \setupsynonyms. Googling the wiki, mailing lists, etc. didn't help and I'm not enough of a TeX programmer to understand the definitions in the source code in this case. I run TeXLive 2008 on Gentoo Linux with ConTeXt version: CtxTools | context version: 2008.05.21 15:21 (/usr/share/texmf-dist/tex/context/base/context.tex) CtxTools | context version: 2008.05.21 15:21 (/usr/share/texmf-dist/tex/context/base/cont-new.tex) http://live.contextgarden.net/ doesn't seem to be working for anything at the moment, so I don't know if it works there or not. Below is a small sample input I made to illustrate my attempts; I tried to make it as transparent as possible. I would greatly appreciate any help. Thank You Very Much, Bob \setupcolor [hex] \definecolor [LightBlue] [h=8080FF] \setupcolors [state=start] \setupbodyfont [10pt] \setupcapitals [sc=yes] \def\stretchedspaceamount {.1em} \define [1] \StretchedSmallCaps {\smallcaps {\stretchedlowercase {#1}}} \define \Term {\color [LightBlue]} % \setupsynonyms [abbreviation] [textstyle=\StretchedSmallCaps] % I would like this to work, but it doesn't % \setupsynonyms [abbreviation] [textstyle=\italic] % other commands like this work \abbreviation {CPU} {central processing unit} \starttext \Term {\StretchedSmallCaps {CPU}} = \Term {\infull {CPU}} % this produces the output that I want \Term {\smallcaps {\lowercase {CPU}}} = \Term {\infull {CPU}} % this is what it looks like without stretching \Term {\CPU} = \Term {\infull {CPU}} % this is what I want to type to produce the stretched, smallcaps output \stoptext ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] stretching smallcaps with a style command
Bob Reynolds wrote: I can define the abbreviation fine, and I can use the \infull version of it fine, but I can't use the command version at all. Another example: \ATX12V. I've been working around it by defining both synonyms and a logo like \PSTwo which typesets like I want \PS/2 to typeset, but what is a more elegent way of doing this that doesn't involve definining two different commands? I don't know how to change catcodes, despite numerous failed attempts to do just that with commands like \unprotect \catcode`2=\@@letter \protect. Changing the catcode of digits is a bad idea because you are likely to run into problems elsewhere (like in section headings etc.). The cleanest solution is to use a small dedicated macro to call the abbreviated version with: \logo [PS/2] [Play School Halved] \unexpanded\def\abbr#1{\getvalue{#1}} \starttext \abbr{PS/2} \stoptext That takes a bit more typing, but is much safer and will work regardless of the current catcode values. Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] stretching smallcaps with a style command
Bob Reynolds wrote: \define [1] \StretchedSmallCaps {\smallcaps {\stretchedlowercase {#1}}} You need a more low-level definition of this command because of macro expansion issues inside the logo processing. It works fine with this: \unexpanded\def\StretchedSmallCaps#1% {\smallcaps {\stretchedlowercase {#1}}} It is not easy to explain why precisely this is needed, so I am not going to try :-) Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Place externalfigure in middle position
mattia schirosa wrote: I looking in documentation for a long time, but i didn't find a command to set a image in middle area without using the \placefigure command. Anyone can help me? \centerbox {...} \centerbox width 1cm height 20cm {...} \starttext \startstandardmakeup \sc \startalignment[middle] Politecnico di Torino \crlf Tesi di laurea specialistica \vfill \setupheads[alternative=middle] \title{Un modello per la generazione dinamica \crlf di paesaggi sonori} \blank[line] Ingegneria del cinema e dei mezzi di comunicazione \blank[line] \vfill %\useexternalfigure[some logo][logopolito][width=5cm] %\placeexternalfigure{'}{\externalfigure[some logo]} % whit this i can put the figure in the middle, but i don't want text {\externalfigure[D:/Documenti/ProgettoTesi/MaterialeTeorico/Immagini/logopolito][width=5cm]} \vfill Autore: Mattia Schirosa \blank[line] I Relatore: Masoero Marco Carlo \crlf II Relatore: Andrea Valle \crlf Torino, 28$/$12$/$2008 \stopalignment \page \stopstandardmakeup \stoptext Best regards Mattia Scopri la community di Io fotografo e video Il nuovo corso http://us.rd.yahoo.com/SIG=11ud6kror/**http%3A%2F%2Fwww.flickr.com%2Fgroups%2Fiofotografoevideo%2F di Gazzetta dello sport per diventare veri fotografi! ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- - 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 | 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Place externalfigure in middle position
I looking in documentation for a long time, but i didn't find a command to set a image in middle area without using the \placefigure command. Anyone can help me? \starttext \startstandardmakeup \sc \startalignment[middle] Politecnico di Torino \crlf Tesi di laurea specialistica \vfill \setupheads[alternative=middle] \title{Un modello per la generazione dinamica \crlf di paesaggi sonori} \blank[line] Ingegneria del cinema e dei mezzi di comunicazione \blank[line] \vfill % \useexternalfigure[some logo][logopolito][width=5cm] % \placeexternalfigure{'}{\externalfigure[some logo]} % whit this i can put the figure in the middle, but i don't want text {\externalfigure[D:/Documenti/ProgettoTesi/MaterialeTeorico/Immagini/logopolito][width=5cm]} \vfill Autore: Mattia Schirosa \blank[line] I Relatore: Masoero Marco Carlo \crlf II Relatore: Andrea Valle \crlf Torino, 28$/$12$/$2008 \stopalignment \page \stopstandardmakeup \stoptext Best regards Mattia Unisciti alla community di Io fotografo e video, il nuovo corso di fotografia di Gazzetta dello sport: http://www.flickr.com/groups/iofotografoevideo___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Place externalfigure in middle position
Am 13.11.2008 um 17:40 schrieb mattia schirosa: I looking in documentation for a long time, but i didn't find a command to set a image in middle area without using the \placefigure command. Anyone can help me? \starttext \startstandardmakeup \sc \startalignment[middle] Politecnico di Torino \crlf Tesi di laurea specialistica \vfill \setupheads[alternative=middle] \title{Un modello per la generazione dinamica \crlf di paesaggi sonori} \blank[line] Ingegneria del cinema e dei mezzi di comunicazione \blank[line] \vfill %\useexternalfigure[some logo][logopolito][width=5cm] %\placeexternalfigure{'}{\externalfigure[some logo]} % whit this i can put the figure in the middle, but i don't want text {\externalfigure[D:/Documenti/ProgettoTesi/MaterialeTeorico/ Immagini/logopolito][width=5cm]} \dontleavehmode\externalfigure[...] \vfill Autore: Mattia Schirosa \blank[line] I Relatore: Masoero Marco Carlo \crlf II Relatore: Andrea Valle \crlf Torino, 28$/$12$/$2008 \stopalignment \page \stopstandardmakeup \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \definelogo Undefine control sequence in luatex
Hello, I tried to put logo on my pages. I got an undefine control sequence with luatex. This small exemple look to run fine with pdftex but not luatex in context live. \definelogo[mypic][bottom][left] [state=start,command={\externalfigure[pic]}] \placelogos[mypic] \starttext Hello world! \stoptext Did the syntax change ? Cheers, Olivier. -- [Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ] http://nemolivier.blogspot.com ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \definelogo Undefine control sequence in luatex
Olivier Guéry wrote: Hello, I tried to put logo on my pages. I got an undefine control sequence with luatex. This small exemple look to run fine with pdftex but not luatex in context live. \definelogo[mypic][bottom][left] [state=start,command={\externalfigure[pic]}] \placelogos[mypic] \starttext Hello world! \stoptext Did the syntax change ? no, i just disabled in mkiv, use layers instead; they should provide the same functionality and are more flexible Hans - 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 | 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Reorganization of the main page
in fact i like the logo on the photo. It's cool On Wed, Aug 27, 2008 at 7:30 PM, Mojca Miklavec [EMAIL PROTECTED] wrote: Another request: can the photo please go to blog rather than being on the first page of the wiki? (It's been fun, but I feel that promoting Union on the first page is not the best idea :) Mojca ___ 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 : https://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Reorganization of the main page
It has a much better structure indeed. Missing the wiki-only search feature though. Placing the texshow-web and mail archive links in a more relevant section, instead of hidden in the wiki's left column, would be welcome - especially for newbies. Also, when a newbie reads texshow-web (s)he doesn't have a clue what that means. It's geek talk. Better say something like ConTeXt commands directory or something else that's meaningful, relevant and useful for them. Samewise: - live context - download - download area All these don't mean a thing to somebody who sees this page for the first time. Live ConTeXt ? What's that ? A live recording of a band named ConTeXt ? (joking ;O) Download and download area? What's the difference ? As a newbie I don't want to have waste my time and click on every link to find out what's behind it. Tell me from the link itself what it means, what's behind it so I can find what I'm looking for and get up to speed asap. As for the logo... Who cares ? Logo's don't enable people to figure out how to use software and be productive with it. The proof is in the pudding, not in the logo. Hope that helps. Best, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Reorganization of the main page
Hi, but where is the original search buttom? I don't like the google special search here:( I've removed it in favour of the google one. I thought two search areas could be confusing. What do the others think? @Mojca: could you update the custom google search to the new logo? Patrick -- ConTeXt wiki and more: 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Reorganization of the main page
Hi, Missing the wiki-only search feature though. OK, you're number two. I'll think about it. Also, when a newbie reads texshow-web (s)he doesn't have a clue what that means. Jano Kula suggested to rename it to reference or sth. like that. I'll do so. - live context - download - download area Could you suggest some other names? I always have a hard time thinking of some. All these don't mean a thing to somebody who sees this page for the first time. You're right. As for the logo... Who cares ? Logo's don't enable people to figure out how to use software and be productive with it. The proof is in the pudding, not in the logo. Right, but presenting ConTeXt in a more professional way could be worth an effort. A new logo is one step forward, even it will disappear again in some day. Patrick -- ConTeXt wiki and more: 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Reorganization of the main page
Le 27 août 08 à 11:20, Marcin Borkowski a écrit : As you said: a professional-looking logo is a good thing. BTW: the current logo looks like this: O C N E T X T I don't like the order; I didn't like it neither what about O C N T T X E ? I rather suggest O C N E TT X ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Reorganization of the main page
Dnia Wed, Aug 27, 2008 at 11:14:10AM +0200, Patrick Gundlach napisa#322;(a): As for the logo... Who cares ? Logo's don't enable people to figure out how to use software and be productive with it. The proof is in the pudding, not in the logo. Right, but presenting ConTeXt in a more professional way could be worth an effort. A new logo is one step forward, even it will disappear again in some day. On my personal webpage, I'm using a small wiki engine called oddmuse. It's maunal says in one place: Logos and little icons (usually smilies) are eye candy and therefore of utmost importance. As you said: a professional-looking logo is a good thing. BTW: the current logo looks like this: O C N E T X T I don't like the order; what about O C N T T X E ? This way, we emphasize the TeX logo inside the ConTeXt one. Patrick Greets -- Marcin Borkowski (http://mbork.faculty.fmcs.amu.edu.pl) - Why did a mathematician call his dog Cauchy? - Because it left a residue at every pole. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Reorganization of the main page
On Wed, Aug 27, 2008 at 10:48 AM, Patrick Gundlach wrote: Hi, but where is the original search buttom? I don't like the google special search here:( I also agree that wiki search is missing, and I would put a search button somewhere on the top. I've removed it in favour of the google one. I thought two search areas could be confusing. What do the others think? @Mojca: could you update the custom google search to the new logo? Done, but please delete the gray line below the logo. (slightly more than 12 hours since I finally came home, still didn't catch for the lack of sleep :) Mojca ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Reorganization of the main page
I like it a lot So, new logo from Bohinj? -a- On 26 Aug 2008, at 12:19, Aditya Mahajan wrote: Hi, After the discussions at Bohinj, I have created a new first page of the wiki. I am tried to keep things short and to the point, rather than complete. As a result a lot of links that were present in the original main page are missing. This is the first step in the effort to clean up and reorganize the wiki so that it is easier to browse. Comments are welcome http://wiki.contextgarden.net/Main_Page_New If everyone agrees with the new design, I will replace the current main page. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino -- http://www.cirma.unito.it/andrea/ -- http://www.myspace.com/andreavalle -- [EMAIL PROTECTED] -- Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty (Ken Perlin on noise) ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Tables in headers
Hi Stefan, On Mon, Apr 28, 2008 at 8:06 AM, Stefan Larsson [EMAIL PROTECTED] wrote: First post on this list... I have been using LaTeX for several large projects during the last 10 years and just recently tried to switch to ConTeXt due to the claim of easier handling of custom page layout. So far it is an enjoyable experience... I would need to customize my page headers with a custom table (like LaTeX's tabular environment) instead of just changing the text in the left and right corners. From the quick browsing I have been doing of documentation and articles at contextgarden this feature called layers might be what I am looking for. But before trying to grasp this feature I would like to ask any experienced ConTeXt user for the recommended approach to achieve what I am trying to do... So, to conclude: How do I customize my page header to contain a table instead of the predefined style? can you give us a example of the header do you want to get, tables are not best solution and they will couse troubles in a few cases. We could try to find a better solution if possible. I'll try to illustrate using a monospaced font: +--+ Company Name | | | Logo | | | +--+ + Type of document| Page Report of something | 2 (10) ---++ Name of document | Issue | Date My document name | 1 | 2008-04-22 ---++ Issuer (dept, name, email) | Appendix dept, name, email | Appendix + This is the full header. A reduced header is used on the rest of the pages where the last row is excluded. (I am trying to convert a MS-Word template...) Thanks, /Stefan ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Tables in headers
Hi Stefan, I'll try to illustrate using a monospaced font: +--+ Company Name | | | Logo | | | +--+ + Type of document| Page Report of something | 2 (10) ---++ Name of document | Issue | Date My document name | 1 | 2008-04-22 ---++ Issuer (dept, name, email) | Appendix dept, name, email | Appendix + This is the full header. A reduced header is used on the rest of the pages where the last row is excluded. (I am trying to convert a MS-Word template...) \setvariables [document] [type={Report of something}, name={My document name}, issue={1}, date=\currentdate, issue={dept, name, email}, appendices={Appendix}] \definelayer [head:table] [width=\paperwidth, height=\paperheight, state=start] \definelayer [head:picture] [width=\paperwidth, height=\paperheight, state=repeat] \startsetups head:table \setlayer [head:table] [hoffset=\backspace, voffset=5cm] {\ifnum\pagenumber=\plusone \setups{head:table:first}% \else \setups{head:table:next}% \fi} \stopsetups \startsetups head:table:first \bTABLE[textwidth=\textwidth,option=stretch,align=right] \bTR \bTD[nx=2] Type of document\\\getvariable{document}{type} \eTD \bTD Page\\\pagenumber\space(\lastpagenumber) \eTD \eTR \bTR \bTD Name of document\\\getvariable{document}{name} \eTD \bTD Issue\\\getvariable{document}{issue} \eTD \bTD Date\\\getvariable{document}{date} \eTD \eTR \bTR \bTD[nx=2] Issuer (dept, name, email)\\\getvariable{document}{issue} \eTD \bTD Appendix\\\getvariable{document}{appendices} \eTD \eTR \eTABLE \stopsetups \startsetups head:table:next \bTABLE[textwidth=\textwidth,option=stretch,align=right] \bTR \bTD[nx=2] Type of document\\\getvariable{document}{type} \eTD \bTD Page\\\pagenumber\space(\lastpagenumber) \eTD \eTR \bTR \bTD Name of document\\\getvariable{document}{name} \eTD \bTD Issue\\\getvariable{document}{issue} \eTD \bTD Date\\\getvariable{document}{date} \eTD \eTR \eTABLE \stopsetups \setlayer [head:picture] [hoffset=\backspace, voffset=\topspace] {\externalfigure[Logo][width=3cm]} \setlayer [head:picture] [preset=righttop, hoffset=\cutspace, voffset=\topspace] {Company Name} \setupbackgrounds[page][setups={head:table},background={head:table,head:picture}] \starttext \dorecurse{3}{\page[empty]} \stoptext Greetings, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Discussion: correspondence with ConTeXt
On Thu, Apr 17, 2008 at 5:34 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote: Am 2008-04-17 um 17:08 schrieb Wolfgang Schuster: You need a closing (Sincerely,) and signature, and don't forget enough topspace to accommodate a company logo/letterhead :-) You set closing and signature also with the optional argument for \startletter \startletter [opening=Dear Idris\textcomma, closing=Sincerely\textcomma, signature=Wolfgang Schuster] Would you support an externalfigure for the signature? e.g. Yours, [my fancy signature graphics] Henning Hraban Ramm You could write \setupletter [data] [signature={\externalfigure[my_fancy_signature][height=2\lineheight]}] Greetings 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Discussion: correspondence with ConTeXt
On Thu, Apr 17, 2008 at 5:32 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote: Am 2008-04-17 um 16:32 schrieb Wolfgang Schuster: I normally use InDesign for my business letters and invoices. Dou you use a template for your letters. Not an InDesign template file (.idt), but a single document (with master pages) for every purpose (German/Swiss/English, letter/ invoice, private/business) that I overwrite every time. (I save a copy if the matter is important.) LaTeX has two packages to create invoices and we could also have one for ConTeXt but it makes only sense to use it with LuaTeX, TeX's arithmetic to limited for longer calculations. For other purposes I simply write my TeX code with a script, mostly only one file that contains the dynamical data and gets included. E.g. - cover for backup CD/DVDs (that script even has a GUI - it reads a disk; shows the directory tree, so you can select which parts you'd like to be visible; writes a TeX file; calls ConTeXt and opens the PDF) - my address book (pulls and formats data from a MySQL database) - business cards for one big company (I receive an Excel file with personnel data, save it as CSV and convert that to ConTeXt, PDF with one page per person gets imposed and printed on cardboard with pre-printed logo) Another problem were different letter heads for first, odd and even pages. Different header for the first and another one for the following headers is simple and possible with my module. The option to change the layout for odd and even pages is currently not supported but should be possible but it has to be integrated in the normal interface. My sheets have a pre-printed logo, I use the same for all pages of a letter. On the first page I need address and bank data. Easy to do with layers,option state=start. On even pages (back side) there's no logo, so I don't need the big top border. Harder to implement because I hide the layers from the user and I don't know hoe I could support the doublesided option but it is possible to one special layers (lefthead/righthead) for just this feature. Normally I leave out the first even page, e.g. my job application starts with an one-side letter, the following data (CV, references etc.) uses front and back page. Different layouts for left and right pages are not supported because letters are normally printed singlesided or the header has only on the first page a different layout but this could be related to the restrictions in Word why I newver saw this. CV's are another topic and it makes sense to use a seperate environment for them, this is what I did for myself. The application had the additional difficulty that there's the photo on the CV page, and I wanted the title in white *on* the photo... I don't get what you mean, can you give me a example. At least in the online PDF - I used modes to produce both printed version (without logo, because that's pre-printed on my sheets) and email version (with logo) \startmode[print] \setupletterstyle[header=no] \stopmode (It would have been *much* easier to use InDesign for that stuff, like for most other designs that I do...) This is also possible with ConTeXt because you could setup layers to place content dependent on left and right pages and the page layout could also change for left and right pages as long as you don't change the text width. I used layers and setups, but I had difficulties switching them on and off. And what not - can't remember everything. A few things are easy and I can do basic things without any manuals but advanced layouts are only possible with the source and trial and error. It is even harder to place layers if you want to fix them on lines in grid mode in the text with frames a content for the layer. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Discussion: correspondence with ConTeXt
Hi Wolfgang, On Thu, 17 Apr 2008 02:13:54 -0600, Wolfgang Schuster [EMAIL PROTECTED] wrote: Take the following minimal example \usemodule[letter] \setupletter [sender] [name={Mike Meiers}, address={Mustergasse 12\\25694 Musterstadt}] \setupletter [address] [name={Hans Hansen}, address={Zielweg 34\\78561 Tiny Town}] \starttext \startletter [opening={Dear Hans,}] letter text \stopletter \stoptext You need a closing (Sincerely,) and signature, and don't forget enough topspace to accommodate a company logo/letterhead :-) FWIW: Here is the basic structure of my setup (based on someone else's work, I forget his name): = \protect %\setuppapersize[A4][A4] \setuppapersize[letter][letter] \setuplayout[header=.5in, topspace=1.37in, backspace=1.5in, footer=0mm, %header=0in, %,width=middle, width=middle, lines=60, height=middle] % margins etc. \setupbodyfontenvironment[default][em=italic] \setuppagenumbering[state=stop] \long\def\addresser#1{\leavevmode\blank[1*line] \lbox{#1}} % Defines field for receiver's address and places it at right position. \long\def\addressee#1{\rbox{#1}} % Subject line, in bold face. \long\def\lettersubject#1{\blank[2*line]{\BF %Re: #1}} \long\def\letteropening#1{\blank[line]#1} % opening... \definestartstop [letter] [before={\blank[line]\setupwhitespace[medium]}, after={}] \long\def\letterclosing#1#2{\vbox{\blank[line]#1\blank[3*line]#2}} % and the closing formula \unprotect = Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Discussion: correspondence with ConTeXt
Am 2008-04-17 um 10:13 schrieb Wolfgang Schuster: Before I start to give you information about my module and give you the chance to mention your own wishes or thoughts about the inteface I'm interested what do you use currently to write you own correspondence (letter, invoices etc.). I normally use InDesign for my business letters and invoices. But I coded my last job applications completely in ConTeXt and adapted Holger Schöner's environment for my needs. I remember it was not that easy to get my address and logo exactly in the same places as in my InDesign template - I use sheets with some pre-printed elements. Another problem were different letter heads for first, odd and even pages. (It would have been *much* easier to use InDesign for that stuff, like for most other designs that I do...) Greetlings from Lake Constance! 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Discussion: correspondence with ConTeXt
On Thu, Apr 17, 2008 at 4:17 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote: Am 2008-04-17 um 10:13 schrieb Wolfgang Schuster: Before I start to give you information about my module and give you the chance to mention your own wishes or thoughts about the inteface I'm interested what do you use currently to write you own correspondence (letter, invoices etc.). I normally use InDesign for my business letters and invoices. Dou you use a template for your letters. LaTeX has two packages to create invoices and we could also have one for ConTeXt but it makes only sense to use it with LuaTeX, TeX's arithmetic to limited for longer calculations. But I coded my last job applications completely in ConTeXt and adapted Holger Schöner's environment for my needs. I remember it was not that easy to get my address and logo exactly in the same places as in my InDesign template - I use sheets with some pre-printed elements. Another problem were different letter heads for first, odd and even pages. Different header for the first and another one for the following headers is simple and possible with my module. The option to change the layout for odd and even pages is currently not supported but should be possible but it has to be integrated in the normal interface. (It would have been *much* easier to use InDesign for that stuff, like for most other designs that I do...) This is also possible with ConTeXt because you could setup layers to place content dependent on left and right pages and the page layout could also change for left and right pages as long as you don't change the text width. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Discussion: correspondence with ConTeXt
On Thu, Apr 17, 2008 at 4:12 PM, Idris Samawi Hamid [EMAIL PROTECTED] wrote: Hi Wolfgang, On Thu, 17 Apr 2008 02:13:54 -0600, Wolfgang Schuster [EMAIL PROTECTED] wrote: Take the following minimal example \usemodule[letter] \setupletter [sender] [name={Mike Meiers}, address={Mustergasse 12\\25694 Musterstadt}] \setupletter [address] [name={Hans Hansen}, address={Zielweg 34\\78561 Tiny Town}] \starttext \startletter [opening={Dear Hans,}] letter text \stopletter \stoptext You need a closing (Sincerely,) and signature, and don't forget enough topspace to accommodate a company logo/letterhead :-) You set closing and signature also with the optional argument for \startletter \startletter [opening=Dear Idris\textcomma, closing=Sincerely\textcomma, signature=Wolfgang Schuster] You could define your own letterhead but by default I use just name and address from the sender. FWIW: Here is the basic structure of my setup (based on someone else's work, I forget his name): = \protect %\setuppapersize[A4][A4] \setuppapersize[letter][letter] \setuplayout[header=.5in, topspace=1.37in, backspace=1.5in, footer=0mm, %header=0in, %,width=middle, width=middle, lines=60, height=middle] % margins etc. \setupbodyfontenvironment[default][em=italic] \setuppagenumbering[state=stop] \long\def\addresser#1{\leavevmode\blank[1*line] \lbox{#1}} % Defines field for receiver's address and places it at right position. \long\def\addressee#1{\rbox{#1}} % Subject line, in bold face. \long\def\lettersubject#1{\blank[2*line]{\BF %Re: #1}} \long\def\letteropening#1{\blank[line]#1} % opening... \definestartstop [letter] [before={\blank[line]\setupwhitespace[medium]}, after={}] \long\def\letterclosing#1#2{\vbox{\blank[line]#1\blank[3*line]#2}} % and the closing formula \unprotect Simple but working solution but a formal german requires a little bit more work because most of the field use fixed positions whereas blocks styles are written from top to bottom and each field use only as much space as the text needs. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Discussion: correspondence with ConTeXt
Am 2008-04-17 um 16:32 schrieb Wolfgang Schuster: I normally use InDesign for my business letters and invoices. Dou you use a template for your letters. Not an InDesign template file (.idt), but a single document (with master pages) for every purpose (German/Swiss/English, letter/ invoice, private/business) that I overwrite every time. (I save a copy if the matter is important.) LaTeX has two packages to create invoices and we could also have one for ConTeXt but it makes only sense to use it with LuaTeX, TeX's arithmetic to limited for longer calculations. For other purposes I simply write my TeX code with a script, mostly only one file that contains the dynamical data and gets included. E.g. - cover for backup CD/DVDs (that script even has a GUI - it reads a disk; shows the directory tree, so you can select which parts you'd like to be visible; writes a TeX file; calls ConTeXt and opens the PDF) - my address book (pulls and formats data from a MySQL database) - business cards for one big company (I receive an Excel file with personnel data, save it as CSV and convert that to ConTeXt, PDF with one page per person gets imposed and printed on cardboard with pre-printed logo) Another problem were different letter heads for first, odd and even pages. Different header for the first and another one for the following headers is simple and possible with my module. The option to change the layout for odd and even pages is currently not supported but should be possible but it has to be integrated in the normal interface. My sheets have a pre-printed logo, I use the same for all pages of a letter. On the first page I need address and bank data. On even pages (back side) there's no logo, so I don't need the big top border. Normally I leave out the first even page, e.g. my job application starts with an one-side letter, the following data (CV, references etc.) uses front and back page. The application had the additional difficulty that there's the photo on the CV page, and I wanted the title in white *on* the photo... At least in the online PDF - I used modes to produce both printed version (without logo, because that's pre-printed on my sheets) and email version (with logo) (It would have been *much* easier to use InDesign for that stuff, like for most other designs that I do...) This is also possible with ConTeXt because you could setup layers to place content dependent on left and right pages and the page layout could also change for left and right pages as long as you don't change the text width. I used layers and setups, but I had difficulties switching them on and off. And what not - can't remember everything. Greetlings from Lake Constance! 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] New Member Introductory Rant
Hello ConTeXt Users, I have become obsessed with ConTeXt since I found out about it while browsing through the TeX related software on my Ubuntu Linux box. I've been teaching myself web development in XHTML/CSS over the last couple years, and developed a passion for structured documents that separate presentation as much as possible. I'm starting to setup Drupal CMS installations for some friends in preparation for doing web publishing work for clients. It's been fun to learn, but so frustrating and difficult for my poor mind. I've long been curious about TeX but it seemed too ossified, fragmented, inflexible, and hard to learn. Later I discovered LyX and understood implicitly the style based markup idea, and it's power. I've always hated things like word, open office, and DTP programs. I'm fine doing the GUI for PhotoShop, but somehow I feel I should be able to just type text, and have it come out all pretty. ConTeXt seems to share that philosophy, so I'm giddy about it. I suppose I should learn InDesign too, but I don't really want to. I use a text editor for my web coding rather than dragging boxes around in DreamWeaver. I like that I can just cut paste other people's code and learn what they did. GUI programs are harder to learn in that way since someone has to write a whole step-by-step tutorial rather than just show you their commented code. I've been working my way through the documentation, ConTeXt Garden, and whatever I can find on Google searches. I've worked my way up to making a letter head with my address, a graphic logo, and couple of font switches, and some hanging punctuation. I made another version for my journal with two columns under each section heading. I'm using Scite as my editor, but I haven't set it up anyway special. Kile didn't seem to like ConTeXt much, and it's command completion facility kept spitting out LaTeX code as I typed. I like Scite as it starts fast, has nice colors, and is easy to get around. TexFont doesn't work on Ubuntu. It craps out saying it can't find it's TeX root. Even when I set the FontRoot with the command line switch, it fails to find it's map files. I filed a bug with Ubuntu about it as it seems like some files like the font maps got put in /var/lib. So I'm completely frustrated by the font situation. Don't understand why I can't just point TexFont at my directory of OTF, TTF, and PFB fonts and have it suck up every last glyph and variant like Scribus, InkScape, and InDesign do. It should configure a reasonable set of typescripts, and tell me what's available. All the other TeX fonts should just work out of the box. Why do I have to wrestle so vainly just to get the damn fonts to be available. Also, I can't for the life of me figure out how to change typefaces in headers and footers. I can change to italics, or sizes with style=\it\x but have no clue how to switch a header to say the Zaph Chancery caligraphic. I can switch the body font to it, so I'm part way there. I'm pretty pissed off about the state of the documentation for ConTeXt. Out of date docs, that were never finished, and full of holes. Small set of MyWay articles, old dead links on the wiki, no roadmap, no bug database. It's 2008, there's things like SourceForge, and LaunchPad for these sort of things. I don't understand why Pragma can't sell support for ConTeXt like other open source projects. That way Hans can afford a staff to handle people's questions, he can focus on building what he likes (and we all love), new users can be brought in, and a virtuous cycle of new contributors, new features, and new users. TexShow is missing tons of commands I've read about in the manual, and doesn't bother to explain what any command or option does. Nor do I understand how options are chained or structured into more than simple switches. Where are the screencasts of gurus showing off how to do cool things? Where are the tutorials? Where are the contributed templates, so I can read other people's code to learn from? You'd think that people who make structured document typesetting systems would spend some more time on their documentation. I'd be glad to help, but first I'd need to learn the system. Since the docs are so incomplete, I'm not sure how I'd do that. Catch 22. I've gotten as far as letter writing, and I'm pretty happy with that. My goal is to typeset my housemate's pirate novel that she's writing. I'm going to stick it out and see how far I can get. I hope I don't have to go running back to LyX and the memoir class. I'm home sick with Hepatitis and Diabetes so I've got some quality time with my six year old Ubuntu laptop. If there are any Bay Area ConTeXt users around, I'd love to meet you. And if any one wants help setting up a better community website, I could help with that, knowing Drupal. Hope to speak with some of you soon. Regards, Corin Royal Drummond San
Re: [NTG-context] New Member Introductory Rant
Hi Corin, Welcome. I will offer some brief comments, and maybe others will elaborate on things I skip, pass over, or inadequately discuss: On Sun, 30 Mar 2008 02:01:30 -0600, Corin Royal Drummond [EMAIL PROTECTED] wrote: I've long been curious about TeX but it seemed too ossified, No, see the luatex project, developed and supported mostly (though not exclusively) by the ConTeXt community. fragmented, engines: pdfTeX is standard, luaTeX (experimental) will one day be its successor, and xeTeX is is also available for special script needs (an area where luaTeX also shines). Other TeX versions are deprecated or obsolete. In the next three years only luaTeX and xetex will be relavant. formats: ConTeXt and LaTeX. So: you have two/three engines to choose from (depending on your needs) and two formats. inflexible, This is simply not the case. Indeed, I am not aware of any foundation for typography and typesetting that is more flexible than TeX. And you have a variety of options depending on your needs, as I just explained above. and hard to learn. That is true, to an extent. OTOH ConTeXt has a very consistent interface, much more so than LaTeX's (including its package system). Later I discovered LyX and understood implicitly the style based markup idea, and it's power. LyX, now THAT's inflexible ;-) I've always hated things like word, open office, and DTP programs. I'm fine doing the GUI for PhotoShop, but somehow I feel I should be able to just type text, and have it come out all pretty. ConTeXt seems to share that philosophy, so I'm giddy about it. I suppose I should learn InDesign too, but I don't really want to. For structured elements that require automated processing ConTeXt is way ahead of InDesign AKAIK. I've been working my way through the documentation, ConTeXt Garden, and whatever I can find on Google searches. I've worked my way up to making a letter head with my address, a graphic logo, and couple of font switches, and some hanging punctuation. I made another version for my journal with two columns under each section heading. I'm using Scite as my editor, but I haven't set it up anyway special. There is a ConTeXt-enabled version of scite that is distributed by Pragma. Kile didn't seem to like ConTeXt much, and it's command completion facility kept spitting out LaTeX code as I typed. I like Scite as it starts fast, has nice colors, and is easy to get around. See the wiki http://wiki.contextgarden.net/Main_Page and search for the text editors page. For what follows, I will make a comment or two, but note the following: 1. There are people here more than happy to help you with any problems you may be experiencing. 2. In general, try to focus on one problem per email subject. 3. When possible, always give the smallest sample context file that illustrates the problem. TexFont doesn't work on Ubuntu. It craps out saying it can't find it's TeX root. Even when I set the FontRoot with the command line switch, it fails to find it's map files. I filed a bug with Ubuntu about it as it seems like some files like the font maps got put in /var/lib. So I'm completely frustrated by the font situation. Don't understand why I can't just point TexFont at my directory of OTF, TTF, and PFB fonts and have it suck up every last glyph and variant like Scribus, InkScape, and InDesign do. It should configure a reasonable set of typescripts, and tell me what's available. All the other TeX fonts should just work out of the box. Why do I have to wrestle so vainly just to get the damn fonts to be available. ConTeXt is extraordinarily flexible when it comes to fonts, and this inevitably involves much user configuration. With luaTeX and mkiv (next generation context) things will become streamlined in ways but you will have to learn to manipulate fonts the context way. There are lots of tutorials out there (see the wiki). AKAIK pdfTeX+mkii (which I presume you are using) has pretty much stabilized so bring your problems here and there is probably an easy fix. About Ubuntu, I know nothing. Make sure you have installed the latest context and are not using an old version. Also, I can't for the life of me figure out how to change typefaces in headers and footers. I can change to italics, or sizes with style=\it\x but have no clue how to switch a header to say the Zaph Chancery caligraphic. I can switch the body font to it, so I'm part way there. Send a separate email illustrating the problem (this one's easy btw: \switchtotypeface, \switchtobodyfont). I'm pretty pissed off about the state of the documentation for ConTeXt. Out of date docs, that were never finished, and full of holes. Actually, given the size of ConTeXt and the number of developers, it's amazing how much documentation there is. Look at the cup as half-full, not half-empty. Small set of MyWay articles, old dead links on the wiki
Re: [NTG-context] bib module and pdftex 1.40.7: Virtual memory exhausted using MiKTeX-2.7
On Feb 20, 2008, at 10:05 AM, luigi scarso wrote: Just the other day, I encountered a mysterious error which may or may not be related. I upgraded to pdftex 1.40.7 on all my boxes. This was smooth on my intel-macs (OS X 10.5.2). On my powerpc-mac, I got a TeX capacity exceeded! error with 1.40.7 for a file that compiled fine with 1.40.5. I tried several times: all I did was dropping the pdftex binary and pdftex.pool in place, rebuilding th format and compiling the file. Compilation was smooth with 1.40.5 and consistently failed with 1.40.7 (which I compiled and recompiled without any special flags). I haven't pursued the matter for the moment and just went back to 1.40.5, but I'm wondering if these problems are related. Do you have a test file ? Sorry, it took me a while because this is the computer in my office, from which I;ve been away for a while. I think I nailed it down: if I try to include a pdf image into a ConTeXt document \starttext \externalfigure[Logo][width=56mm,height=20mm] \stoptext (with any pdf file) I get this error: ./Logo.pdf ! TeX capacity exceeded, sorry [PDF object stream buffer=5]. \dogetTPDfiguresize ...geBox {\@@DriverImageFile } \xdef \PDFimagereference {... \doanalyzefiguredimensionsinternal ...tfiguresize \setanalyzedfiguredimensio... argument ...}\doanalyzefiguredimensionsinternal \doanalyzefiguredimensions... \firstoftwoarguments #1#2-#1 \dododoanalyzeunknownfiguretype ...guredimensions \fi \next2 ...dododoanalyzeunknownfiguretype {pdf}{#1} \doprocesscommaitem ... l.4 ! == Fatal error occurred, no output PDF file produced! The pdf file is OK; this error only occurs with pdftex 1.40.7 on powerpc (OS X, 10.5.2). The same file compiles fine with luatex on powerpc and intel pdftex 1.40.5 on powerpc and intel pdftex 1.40.7 on OS X intel All best Thomas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___