Re: [NTG-context] Interactive URL's and Acronyms
On Fri, Sep 07, 2012 at 06:34:04PM +0200, Wolfgang Schuster wrote: > Am 07.09.2012 um 17:58 schrieb Markus Hubig : > > > how do I get clickable/interactiv URLs and acronyms. After reading > > the manual I thought just setting > > > > | \setupinteraction > > | [state=start, color=black, contrastcolor=black, style=normal] > > | \definesynonyms [acronym] [acronyms] [\infull] > > | \setupsynonyms [acronym] [criterium=all] > > > > would be enough. But it's not... what I am missing here? > > There are different ways to create a hyperlink to a website, e.g. > > \setupinteraction[state=start] > \useurl[NASA][http://www.nasa.gov] > \starttext > \from[NASA] > \goto{NASA}[url(http://www.nasa.gov)] > \stoptext Ahh thanks \from[] is what I need! > but I have no idea why you need hyperlinks for a synonym. Because I have a \placelistofacronyms in the backmatter of my document and it I click on a Acronym I wanna get there easily ... > \setupinteraction[state=start] > \abbreviation{NASA}{National Aeronautics and Space Administration} > \starttext > \NASA > \infull{NASA} > \stoptext This dosen't work here ... Thanks for your help, Markus ___ 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] Problem with codelistings and linenumbers
Hi @all, I'm trying to put some codelistings into my ConTeXt file, but I don't get line numbers. Im using a resend version of ConTeXt: | ConTeXt ver: 2012.09.06 23:03 MKIV fmt: 2012.9.7 int: english/english Here is the setup for my code environment: | \definefloat [listing] [listings] | \setupfloat [listing] [topframe=on, bottomframe=on] | \setupheadtext [listings=Quellcodelistings] | | \defineblank [aroundcode] [medium] | \definetyping [code] | \setuptyping [code] | [option=color, bodyfont=8.0pt, margin=yes, | before={\blank[aroundcode]\startlinenumbering}, | after={\blank[aroundcode]\stoplinenumbering}] And here is an example, how I use it. I place it into a floating environment so I can have a nice Listion of my code sippets with \completelistoflistings. | \placelisting [here] [lst:bb] | {Beispiel eines bitbake Rezeptes (zlib_1.2.7.bb)} | {\startcode | SUMMARY = "Zlib Compression Library" | DESCRIPTION = "Zlib is a general-purpose, patent-free, lossless data \ | compression library which is used by many different programs." | HOMEPAGE = "http://zlib.net/"; | SECTION = "libs" | | LICENSE = "Zlib" | LIC_FILES_CHKSUM = "file://zlib.h;beginline=4;endline=23;md5=94d1b5a..." | | SRC_URI = "http://www.zlib.net/${BPN}-${PV}.tar.bz2 \ |file://remove.ldconfig.call.patch \ |" | SRC_URI[md5sum]= "2ab442d1691..." | SRC_URI[sha256sum] = "49e2e9658df..." | | do_configure (){ | ./configure --prefix=${prefix} --shared --libdir=${libdir} | } | | do_compile (){ | oe_runmake | } | | do_install() { | oe_runmake DESTDIR = ${D} install | } | \stopcode} You can have a look at the result here: https://dl.dropbox.com/u/2721576/code.pdf Besides the lack of the linenumbers you may notice the slightly bigger space between the top line and the code and the bottom line and the code. At the moment I'm adding the line numbers by hand ... Cheers, Markus ___ 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] Ugly Bibliography layout ...
Hi @all, I'm writing my Bachelor thesis with ConTeXt and now I have a strage Problem with the bibliography. I'm using a resend version on context and MKIV: | ConTeXt ver: 2012.09.06 23:03 MKIV fmt: 2012.9.7 int: english/english My layoutfile has these settings: | \setupbibtex | [database={thesis}, sort=author] | \setuppublications | [alternative=ams, numbering=short, refcommand=short] You can have a look at the result here: https://dl.dropbox.com/u/2721576/ugly_bib_1.pdf If I add this additional setup | \setuppublicationlist | [samplesize={XX}] I get this result: https://dl.dropbox.com/u/2721576/ugly_bib_2.pdf How do I get a nice biblist with the reverences aligned left and some space between the reverences and the entry? Cheers, Markus ___ 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] Interactive URL's and Acronyms
Hi @all, how do I get clickable/interactiv URLs and acronyms. After reading the manual I thought just setting | \setupinteraction | [state=start, color=black, contrastcolor=black, style=normal] | \definesynonyms [acronym] [acronyms] [\infull] | \setupsynonyms [acronym] [criterium=all] would be enough. But it's not... what I am missing here? I'm using | ConTeXt ver: 2012.09.06 23:03 MKIV fmt: 2012.9.7 int: english/english Cheers, Markus ___ 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] Fresh install & t-letter module
Thank you! I've replaced the "default.nli" in my context tree with the file you send me. Now "texexec letter.tex" and "texexec --xtx letter.tex" works, but "texexec --lua letter.tex" fails with: -8wrote: > > > Fixed version is only (don't know how long it takes till you get it with > the minimals), > for the moment use the attached file. Sorry for the crash (which was my > fault) but > a few features I use in my module depend on the ConTeXt version (especially > when > you use MkIV). > > Wolfgang > -- ---"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 ___
[NTG-context] Fresh install & t-letter module
Hi @all, I did a fresh install @linux. mkdir context && cd context wget http://minimals.contextgarden.net/setup/first-setup.sh first-setup.sh --extras="t-letter" Wrote a letter: \usemodule[letter] \starttext \startletter Thus, I came to the conclusion ... \stopletter \stoptext Compiled it: *texexec --lua brief.tex* Aaaand -> bum! system : brief.top loaded (brief.top) fonts : preloading latin modern fonts bodyfont: 12pt rm is loaded language: language en is active system : module letter not found systems : begin file brief at line 2 ! Undefined control sequence. l.3 \startletter *texexec --xtx brief.tex* ! Undefined control sequence. \dosetbuffer ...setcurrentbuffer {#1}\mksetbuffer *texexec brief.tex* ! Undefined control sequence. \dosetbuffer ...setcurrentbuffer {#1}\mksetbuffer Why can't something like this not "just work"! 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 ___
[NTG-context] Switching Layers on and off
Hi @all, l'm trying to some vertical text into the margins of my Document. But I don't wanna have this text on every page so I'm looking for a solution to switch it on or off ... I tried this but it doesn't work: *environment File:* \setupbackgrounds [leftpage] [background=Watermark-Left] \definelayer [Watermark-Left] [width=\paperwidth, height=\paperheight, state=stop] \setlayer [Watermark-Left] [hoffset=1cm, voffset=1cm] {\scale[sx=2,sy=3]{\rotate[rotation=-90.0]{margintext}}} *Project File:* \startbodymatter \setupbackgrounds[lefttpage][state=repeat] \stopbodymatter Maybe some knows a solution for this ... 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 ___
[NTG-context] good layout for tech manual
Hi @all, at the moment I'm writing a tech manual with a lt of screenshots & plots. I've played around to find the perfect layout for my document but I'm not fully satisfied with what I have till now. 8<---schnipp- \setuppapersize[A4][A4] \setuplayout [topspace=25mm, bottomspace=50mm, backspace=30mm, leftmargin=23mm, rightmargin=23mm] 8<---schnapp- The big problem I have is because of the many screenshots there's a lot of unused space in my document. Maybe some of you can give me a tip for a better layout ... 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 ___
[NTG-context] \definedescription and space after \par
Hi @all, how can I alter the vertical space between two description items? I defined my description environment like this: ---8<-schnipp--- \definedescription [dsc] [location=left,headstyle=bold,width=8em,style=packed] ---8<-schnapp--- But the vertical spaces between two \dsc's are to big! - 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
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 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 ___
[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: -8
[NTG-context] Perfect Mac OS X Installation?
Hi @all, i've done a fresh install of ConTeXt Minimals on my Mac OS X box. Now I like to put my setup steps into a small script so my brother can use it. It wold be nice if someone can give me some comments ... maybe I missed something, maybe I did something stupid! - Markus ---8<---schnipp-- # Create the application folder mkdir /Applications/ConTeXtMinimals/ # Download & Install the 'ConTeXt Minimals' distro cd /Applications/ConTeXtMinimals/ curl -o first-setup.sh http://minimals.contextgarden.net/setup/first-setup.sh sh ./first-setup.sh # Fix some path values inside setuptex cd /Applications/ConTeXtMinimals/tex cp setuptex setuptex.orig sed -e 's#^export HOMETEXMF .*$#export HOMETEXMF = ~/texmf#g' \ -e 's#^export TEXMF .*$#export TEXMF = {$HOMETEXMF,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN}#g' \ setuptex.orig > setuptex # Fix some path values inside texmf.cnf cd /Applications/ConTeXtMinimals/tex mkdir -p texmf-local/web2c cp texmf/web2c/texmf.cnf texmf-local/web2c/texmf.orig cd texmf-local/web2c sed -e 's#^HOMETEXMF .*$#HOMETEXMF = ~/texmf#g' \ -e 's#^TEXMF .*$#TEXMF = {$HOMETEXMF,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN}#g' \ texmf.orig > texmf.cnf # customize bash settings cd echo "source /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex" >> ~/.bash_profile source ~/.bash_profile # do some stuff ... ctxtools --update texexec --make --all --pdftex texexec --make --all --xetex luatools --generate luatools --ini --compile --verbose cont-en luatools --ini --compile --verbose cont-de luatools lmr12.afm context --generate ---8<---schnapp-- -- ---"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] Strange extra page with xetex ...
Ahh Ok! Thanks! But I updated my minimals to the latest version, well at least I thought I did it. I run 'first-setup.sh --keep' right before I made the test.pdf. As it's mentioned here: http://wiki.contextgarden.net/ConTeXt_Minimals#Updating this should update my minimals to the latest beta... Markus On Fri, Apr 3, 2009 at 10:15 AM, Thomas A. Schmitz wrote: > > On Apr 3, 2009, at 10:05 AM, Markus Hubig wrote: > >> Hmm, don't know what's the latest 'zip'. I'm using Ubuntu 8.10 and >> installed >> and updated ConTeXt Minimals using the first-setup.sh script. The included >> XeTeX says: >> >> 'This is XeTeX, Version 3.1415926-2.2-0.999.7 (Web2C 7.5.6)' > > This is irrelevant. Hans wanted to know if you're using the latest ConTeXt > version. The answer is in your log file: > > ConTeXt ver: 2009.03.24 17:07 MKII fmt: 2009.4.3 int: english/english > > so this isn't the latest version > > The same error had been reported here: > > http://archive.contextgarden.net/message/20090330.110905.eaa721c3.en.html > > and has been fixed. Please update your minimals to the latest version. > > Thomas -- ---"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] Strange extra page with xetex ...
Hmm I just installed another ConTeXt Minimals tree and the error is gone ... Strange! On Fri, Apr 3, 2009 at 10:05 AM, Markus Hubig wrote: > Hmm, don't know what's the latest 'zip'. I'm using Ubuntu 8.10 and installed > and updated ConTeXt Minimals using the first-setup.sh script. The included > XeTeX says: > > 'This is XeTeX, Version 3.1415926-2.2-0.999.7 (Web2C 7.5.6)' > > I can reproduce this error with a small test file: > > 8< > \starttext > > Bla Bla Blubb ... > > \stoptext > 8< > > I've attached the resulting PDF-File and the log file. > > - Markus > > On Thu, Apr 2, 2009 at 5:55 PM, Hans Hagen wrote: >> Markus Hubig wrote: >>> >>> Hi @all, >>> >>> when i'm using XeTeX (texexec --xtx bla.tex) to create my document I'm >>> getting >>> an extra first page aug PDF output containing the chars "sss e" ... >>> >>> I'm using ConTeXt Minimals (TeXExec | version 6.2.1 - 1997-2009 - >>> PRAGMA ADE/POD). >>> >>> Is this a known Problem? Is there a fix for it? I'm not having this >>> Problem when using >>> LuaTeX or pdfTeX ... >> >> is this with the latest zip? >> >> - >> 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 > > -- > ---"it's like this"-- > even samurai have teddy bears > and even teddy bears get drunk > -- ---"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] Strange extra page with xetex ...
Hmm, don't know what's the latest 'zip'. I'm using Ubuntu 8.10 and installed and updated ConTeXt Minimals using the first-setup.sh script. The included XeTeX says: 'This is XeTeX, Version 3.1415926-2.2-0.999.7 (Web2C 7.5.6)' I can reproduce this error with a small test file: 8< \starttext Bla Bla Blubb ... \stoptext 8< I've attached the resulting PDF-File and the log file. - Markus On Thu, Apr 2, 2009 at 5:55 PM, Hans Hagen wrote: > Markus Hubig wrote: >> >> Hi @all, >> >> when i'm using XeTeX (texexec --xtx bla.tex) to create my document I'm >> getting >> an extra first page aug PDF output containing the chars "sss e" ... >> >> I'm using ConTeXt Minimals (TeXExec | version 6.2.1 - 1997-2009 - >> PRAGMA ADE/POD). >> >> Is this a known Problem? Is there a fix for it? I'm not having this >> Problem when using >> LuaTeX or pdfTeX ... > > is this with the latest zip? > > - > 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 -- ---"it's like this"-- even samurai have teddy bears and even teddy bears get drunk test.pdf Description: Adobe PDF document This is XeTeX, Version 3.1415926-2.2-0.999.7 (Web2C 7.5.6) (format=cont-en 2009.4.3) 3 APR 2009 09:55 entering extended mode \write18 enabled. **test.tex \emergencyend (./test.tex ConTeXt ver: 2009.03.24 17:07 MKII fmt: 2009.4.3 int: english/english system: cont-new loaded (/home/markus/context/tex/texmf-local/tex/context/base/cont-new.tex systems: beware: some patches loaded from cont-new.tex (/home/markus/context/tex/texmf-local/tex/context/base/cont-new.mkii) (/home/markus/context/tex/texmf-local/tex/context/base/cont-mtx.tex)) system: cont-fil loaded (/home/markus/context/tex/texmf-local/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system: cont-sys.rme loaded (/home/markus/context/tex/texmf-local/tex/context/user/cont-sys.rme (/home/markus/context/tex/texmf-local/tex/context/base/type-tmf.tex) (/home/markus/context/tex/texmf-local/tex/context/base/type-siz.tex) (/home/markus/context/tex/texmf-local/tex/context/base/type-otf.tex) (/home/markus/context/tex/texmf-local/tex/context/base/type-xtx.tex)) system: test.top loaded (./test.top) bodyfont: 12pt rm is loaded language: patterns nl->default:default->1->2:2 us->default:default->2->2:3 de-> default:default->3->3:3 da->default:default->4->2:2 sv->default:default->5->2:2 gb->default:default->6->2:2 fr->default:default->7->2:2 es->default:default->8 ->2:2 ca->default:default->9->2:2 it->default:default->10->2:2 la->default:defa ult->11->2:2 pt->default:default->12->2:2 ro->default:default->13->2:2 pl->defa ult:default->14->2:2 cs->default:default->15->2:2 sk->default:default->16->2:2 hr->default:default->17->2:2 sl->default:default->18->2:2 tr->default:default-> 19->2:2 fi->default:default->21->2:2 hu->default:default->22->2:2 ru->default:d efault->25->2:2 loaded specials: dvips loaded \openout3 = `test.tui'. \openout0 = `test-mpgraph.mp'. \openout0 = `mpgraph.mp'. language: language en is active specials: loading definition file dpx (/home/markus/context/tex/texmf-local/tex/context/base/spec-dpx.tex specials: loading definition file fdf (/home/markus/context/tex/texmf-local/tex/context/base/spec-fdf.tex (/home/markus/context/tex/texmf-local/tex/context/base/spec-fdf.mkii))) specials: loading definition file xet (/home/markus/context/tex/texmf-local/tex/context/base/spec-xet.tex) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) systems: begin file test at line 1 fonts: resetting map file list fonts: using map file: original-base fonts: using map file: lm-math fonts: using map file: lm-rm fonts: using map file: texnansi-base fonts: using map file: ec-base fonts: using map file: qx-base fonts: using map file: t5-base fonts: using map file: 8r-base fonts: using map file: original-ams-base fonts: using map file: original-ams-euler fonts: using map file: original-public-lm (/home/markus/context/tex/texmf-local/tex/context/base/sort-def.tex) (/home/markus/context/tex/texmf-local/tex/context/base/sort-lan.tex Invalid UTF-8 byte or sequence at line 102 replaced by U+FFFD. Invalid UTF-8 byte or sequence at line 102 replaced by U+FFFD. Invalid
[NTG-context] Strange extra page with xetex ...
Hi @all, when i'm using XeTeX (texexec --xtx bla.tex) to create my document I'm getting an extra first page aug PDF output containing the chars "sss e" ... I'm using ConTeXt Minimals (TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD). Is this a known Problem? Is there a fix for it? I'm not having this Problem when using LuaTeX or pdfTeX ... 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] Problem creating a typescript for Adobe Avenir
Thank you very much! It finally works! 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 ___
[NTG-context] Problem creating a typescript for Adobe Avenir
Hi all! I'm new into context an I'm trying to write a user-manual for my company. For some strange reasons I have to use a font names Adobe Avenir. I managed to install the TTF-Files with texfont but now I'm lost in the creation of a typescript. Maybe there is someone who can give me a little help! My map file looks like this (texnansi-adobe-avenir.map): texnansi-AVENI17 Avenir-Heavy 4 < AVENI17.ttf texnansi.enc texnansi-AVENI18 Avenir-HeavyOblique 4 < AVENI18.ttf texnansi.enc texnansi-AVENI23 Avenir-Oblique 4 < AVENI23.ttf texnansi.enc texnansi-AVENI24 Avenir-Roman 4< AVENI24.ttf texnansi.enc And my typescript looks like this (type-adobe-avenir.tex): \starttypescript [map] [avenir] [textansi] \loadmapfile [texnansi-adobe-avenir.map] \stoptypescript \starttypescript [sans] [avenir] [texnansi] \definefontsynonym [Avenir-Heavy] [texnansi-AVENI17] [encoding=texnansi] \definefontsynonym [Avenir-HeavyOblique] [texnansi-AVENI18] [encoding=texnansi] \definefontsynonym [Avenir-Oblique] [texnansi-AVENI23] [encoding=texnansi] \definefontsynonym [Avenir-Roman] [texnansi-AVENI24] [encoding=texnansi] \stoptypescript \starttypescript [sans] [avenir] [name] \definefontsynonym [Sans] [Avenir-Roman] \definefontsynonym [SansItalic] [Avenir-Oblique] \definefontsynonym [SansBold] [Avenir-Heavy] \definefontsynonym [SansBoldItalic] [Avenir-HeavyOblique] \stoptypescript \starttypescript [Avenir] \definetypeface [Avenir] [rm] [sans] [avenir] [default] \stoptypescript When I try to use my typescript in my environment file like this: \usetypescriptfile[type-adobe-avenir] \usetypescript[Avenir] \setupbodyfont[Avenir,10pt] ... simply nothing happens ... I get the same font as before. Arrgh! In the logging messages of texexec I see a message that my typescript-file is loaded! Hopefully someone can give my a hand, 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 ___