Re: [NTG-context] lm update+ gyre and ctxtools doesn't work
Dalyoung Jeong wrote: Dear Taco, I have installed following map files in the folder /usr/local/gwTeX/ texmf.texlive/fonts/map/pdftex/context/ The map files are {cs-lm.map, ec-lm.map, el-lm.map, ..., texansi-lm.map, ts1-lm.map} which is included in the new version. I put those files only in the folder. Does it cause the problem? Don't know. It is what I did, and it worked for me. Sorry. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \sf and bigggg fonts
2007/3/7, Sanjoy Mahajan [EMAIL PROTECTED]: why not \setuphead [title] [style=\ss\bfd, before={\switchtobodyfont[14.4pt]}, after={\switchtobodyfont[global]}] Because I didn't know about the global option :-) It's cleaner than my method. It's only disadvantage is that the global setting may not be the one in effect just outside the \title. e.g. \setupbodyfont[10pt] \starttext \begingroup \setupbodyfont[20pt] A big line \title{some title} after the title \endgroup More text \stoptext would put 'after the title' in 10pt instead of 20pt. -Sanjoy Hi Sanjoy, i forget this when I was writing my last mail, it is indeed better to change the font inside a group instead a global change. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \sf and bigggg fonts
2007/3/7, Xan [EMAIL PROTECTED]: En/na Aditya Mahajan ha escrit: On Wed, 7 Mar 2007, Xan wrote: En/na Wolfgang Schuster ha escrit: 2007/3/7, Aditya Mahajan [EMAIL PROTECTED]: On Wed, 7 Mar 2007, Xan wrote: En/na Aditya Mahajan ha escrit: On Wed, 7 Mar 2007, Xan wrote: Is it possible to have the equivalent in \sf in context?. I tried \sf and I get an error. Strange because \sl, \bf, etc exist \ss? (I am not sure what \sf is supposed to be, so just guessing) \sf is Sans Serif (latex) [\rm roman, \tt typewriter, \sl slanted, \emph empasized, \it italic \bf boldface; see a not so short intro to latex for example] \ss is plain tex's font command for sans serif, and works with context. I do not know why latex chose \sf (sffamily, textsf) instead of ss. You are wrong, \ss is in plain TeX the command to produce the german ß. There has never been a predefined command to swith to a sans serif font like the corresponding switches for bold and italic. So, is there any command for that?. How can I get \sf in latex in context? In ConTeXt, \ss switches to sans serif. What Wolfgang meant (IIUC) was that there is no command in plain tex to switch to sans serif. More details are at http://wiki.contextgarden.net/Basic_Text_Formatting Okay. Clarified. But it does not appear in this wiki page. Maybe you could update it For the other hand, can you inform me how to translate context interface in catalan and spanish language?. Is there any .po file? I don't know how context works in this aspect. And another question: is there a context planet? Funny if I could see the comments about developers and context users. Thanks, Xan. Hi Xan, you should look at the header in the 3rd column. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] vertical interactionbar?
I am trying to make a presentation with a progress bar. I want it along the right edge of the screen. I remember seeing something like that but cannot find it now, and all the alternatives for interactionbar seem to require a horizontal one. How can I make a vertical progress bar? Regards, Johan -- Johan Sandblom N8, MRC, Karolinska sjh t +46851776108 17176 Stockholm m +46735521477 Sweden What is wanted is not the will to believe, but the will to find out, which is the exact opposite - Bertrand Russell ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] vertical interactionbar?
On Mar 8, 2007, at 4:06 PM, Johan Sandblom wrote: I am trying to make a presentation with a progress bar. I want it along the right edge of the screen. I remember seeing something like that but cannot find it now, and all the alternatives for interactionbar seem to require a horizontal one. How can I make a vertical progress bar? Regards, Johan I'm not sure if there is an option to have an actual progress bar along the right edge, but for a presentation I had to do recently, I also wanted something like this and came up with this code. Maybe this can inspire you a bit: \definecolor[outer][r=0,g=0,b=.92] \definecolor[current][r=0,g=0,b=.4] \definecolor[inner][s=.98] \defineoverlay[mybackground][\useMPgraphic{left}] \startuseMPgraphic{left} StartPage ; fill Page withcolor \MPcolor{inner} ; z1 = ulcorner Page ; z5 = llcorner Page ; path q ; q = z1 -- z5 ; t = arclength (q) ; u = t/15 ; v = (PageNumber/NOfPages) ; z4 = (x1+1cm, y1-1cm) ; z3 = (x4, y1) ; z2 = (x1, y4) ; path m[] ; m[1] = z1 -- z2 -- z4 -- z3 -- cycle ; m[2] = m[1] shifted (0, -2*u) ; m[3] = m[1] shifted (0, -4*u) ; m[4] = m[1] shifted (0, -6*u) ; m[5] = m[1] shifted (0, -8*u) ; m[6] = m[1] shifted (0, -10*u) ; m[7] = m[1] shifted (0, -12*u) ; m[8] = m[1] shifted (0, (-14*u-0.5mm)) ; for i=1 upto 8: fill m[i] withcolor\MPcolor{outer} ; endfor; if PageNumber=1: fill m[1] withcolor \MPcolor{current} ; elseif (v.001) and (v.167) : fill m[2] withcolor \MPcolor{current} ; elseif (v.166) and (v.334): fill m[3] withcolor \MPcolor{current} ; elseif (v.333) and (v.501): fill m[4] withcolor \MPcolor{current} ; elseif (v.5) and (v.667): fill m[5] withcolor \MPcolor{current} ; elseif (v.666) and (v.834): fill m[6] withcolor \MPcolor{current} ; elseif (v.833) and (v1): fill m[7] withcolor \MPcolor{current} ; elseif v=1: fill m[8] withcolor \MPcolor{current} ; fi ; StopPage ; \stopuseMPgraphic \setupbackgrounds[page][background={mybackground}] HTH Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] ec-lmr12 not loadable: Metric (TFM) file ... not found
Hello, Here's the same error report that has been discussed on(off?) the list already, but there has been no resolution so far. Should I ask the XeTeX mailing list? With texexec --xtx whatever I get: (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-akb.tex) (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-xtx.tex)) bodyfont: 12pt rm is loaded ! Font \*12ptrmtfrm*=[ec-lmr12] not loadable: Metric (TFM) file or installed font not found. to be read again \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...ame #1\csname #2#3#4#5\endcsname \tryingfontfalse \fi Well, OK, that's understandable. That's just an accidental mix-up with otf files in ConTeXt. Line 73 of font-ini.mkii should read \def\fontfilesome#1{#1} instead of \def\fontfilesome#1{[#1]} So I fix the error, remake the formats with texexec --xtx --make en but when I run a document I get ! Font \*12ptrmtfrm*=ec-lmr12 not loadable: Metric (TFM) file or installed font not found. which really *is* strange, if nothing else because \font\a=ec-lmr12 works OK with plain XeTeX. The most weird part is that Akira claims that fixing that solved the problem on his computer, while the problem remains on my computer (both under standalone in Windows and gwTeX on mac), and other users complain as well. What could be the main reason for failure? One additional thing to consider is that one also needs these files: http://dl.contextgarden.net/misc/lm-maps.zip (for some reason they're in TeXLive, but not in gwTeX, and Gerben doesn't accept user requests any more) but that doesn't make any difference. (Btw: could these files please be added to standalone ConTeXt or to cont-tfm.zip? Not necessary all of them, but lm-ec.map could save a whole lot of troubles to XeTeX users.) The following issues dozens of errors first, but it works. \font\a=ec-lmr12 \starttext \a abc \stoptext If I delete \a, it breaks (doesn't show anything). It looks as if map files would be loaded too late during format generation (or not at all), but I'm really clueless about what to do. Mojca PS for Hans - once again, here are the three possibilities for different font types: 1.) standard TeX fonts - no difference \font\a=ec-lmr12 2.) any font installed on the system - referenced by name, can switch to bold/italic/old style automatically \font\b=LM Roman12 Regular/B 3.) open type fonts that reside anywhere in the texmf tree - using brackets \font\c=[lmroman12-regular] And an example of more complex usage (for which you claimed that it should be moved to optional parameters). \definefontsynonym [DidotCaps] ['Didot:mapping=tex-text; Letter Case=Small Capitals;Ligatures=!Common Ligatures'][encoding=uc] It might be a good idea to have an extra parameter (additional optional brrackets) for letting the system know that we're dealing with an installed font (which means that one could automatically support bold/italic/bolditalic and add mapping=tex-text option to it). ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context