[NTG-context] Re: Line break after unit or \cite command
Hello Michael, please post a complete example that we can try out [on live.contextgarden.net]; currently we have to guess what is going on. Patrick -- ConTeXt wiki: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Palatino?
Hi gang, I have a problem on my system with the Palatino font. In type-enc, it's mapped to \definefontsynonym [Palatino] [\typescriptthree-uplr8a] [encoding=\typescriptthree] However, on my system (Gerben Wierda's installation), there is no texnansi- or EC- or whatever-uplr8a. Palatino works flawlessly with LaTeX, mapped to pplr8t, and of course, it works with ConTeXt if I create the tfms myself with texfont, but I thought there was some default support for Palatino. Am I missing something? Best Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Palatino?
Patrick Gundlach said this at Fri, 11 Mar 2005 10:57:16 +0100: Yes go to the garden and search for palatino. You'll find: http://contextgarden.net/Psnfss And, IIRC, the \defaultencoding most appropriate for gwTeX, is 8r. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
AW: [NTG-context] Re: Line break after unit or \cite command
Hi Patrick! Here is an example that shows the problem. I created it using live.contextgarden.net. The problem appears with standard and german hyphenation. Michael --- \starttext \version[temporary] \setuppapersize[A4][A4] \setupcolors[state=start] \setuplayout[ backspace=25mm, topspace=10mm, header=10mm, headerdistance=5mm, width=middle, height=fit, footer=10mm, footerdistance=5mm, bottom=5mm] \language [de] % Switching to german hyphenation \usemodule[units] \unit[keV]{\Kilo \EVolt}{kilo electronvolt} \unit[MeV]{\Mega \EVolt}{mega electronvolt} \unit[GeV]{\Giga \EVolt}{giga electronvolt} In dieser Arbeit wurde die Reaktion .. untersucht. Im Energiebereich bis X~\MeV\ wurden die Ergebnisse der Kollaboration bestätigt. Weiterhin wurde erstmals der totale und der differentielle Wirkungsquerschnitt der Reaktion für Photonenergien bis 3~\GeV\ bestimmt. Die Bestimmung der Akzeptanz wurde mit einem neuen Verfahren durchgeführt, das die Dynamik der Reaktion korrekt berücksichtigt. \stoptext --- Hello Michael, please post a complete example that we can try out [on live.contextgarden.net]; currently we have to guess what is going on. Patrick -- ConTeXt wiki: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Palatino?
Hi Patrick, the setup in contextgarden is the one that I'm referring to. It doesn't work here. Thomas On Mar 11, 2005, at 10:57 AM, Patrick Gundlach wrote: Hello Thomas, [...] create the tfms myself with texfont, but I thought there was some default support for Palatino. Am I missing something? Yes go to the garden and search for palatino. You'll find: http://contextgarden.net/Psnfss Patrick -- ConTeXt wiki: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: TeX run : 8
Hi Peter, Peter Münster [EMAIL PROTECTED] wrote: On Tue, 8 Mar 2005, Patrick Gundlach wrote: for those, who don't want to update: export PERL_HASH_SEED=0 in $HOME/.profile works very nicely. is this reliable? It seems to me. At least on Linux: since a long time I've been used to get always 8 runs with my procuct-files, and now I get only 1 or 2 runs. Cheers, Peter I just saw that you also fought with the unknown reference [] while using the ffr encoding (nine months ago). I read and tried all the solutions that Hans and you found out up to now. But as soon as I set \enablemode[activecolon] \usemodule[tryout] in my local cont-sys.tex I am back to 8 runs again (either with Patrick's patch or with your line in .profile). Do you experience the same (or did I use the wrong .profile here on Mac)? This would mean that, when using ffr, we either have to ignore all this unknown reference outputs or fall back to 8 runs :o( Or does someone already has a solution covering both bugs? Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Palatino?
At 11:36 +0100 11/03/05, Thomas A.Schmitz wrote: Hi Patrick, the setup in contextgarden is the one that I'm referring to. It doesn't work here. Thomas Hi Thomas, I am also one of the fonts-challenged people... However, thanks to Patrick, using contextgarden when I do the following (see below) everything works here (Mac OS X 10.3.8, withe Gerben Wierda's installation of TexLive 2005) Cheers: OK %% testing-fonts.tex \usetypescript [adobekb][\defaultencoding] \setupbodyfont[pos] \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,12pt] %% for times uncomment this %\usetypescript[times][\defaultencoding] %\setupbodyfont[times,12pt] \starttext \input knuth \bigskip And this is some maths with PostScript fonts. \startformula {a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi} \sin(x)^2dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0. \stopformula \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] fundamental problem with headings
Steffen Wolfrum said this at Fri, 11 Mar 2005 12:33:13 +0100: In fact, this is something I would like to have also for other purposes (for example to use a second set of oldstyle figures): defining my own *myserif* or *mysans* that could be used then in a typescriptfile the same way as sans, serif and mono are used there. But up to now I didn't manage it. Somebody did and would like to share his/her knowledge? Okay, thanks for clarifying. You might like to take a look at the typescripts in the OpenType.zip file at http://homepage.mac.com/atl/tex/. I defined full myserif/mysans families (I called them romancaps and capsans) to stand next to the serif and sans families (same font, different features). There are also a couple convenience macros in there to help switch between the two. Is that the sort of thing you're looking for? There's nothing inherently SmallCaps (or OpenType) about the fundamental typescripts--that's just the first testing ground I found. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] fundamental problem with headings
Adam Lindsay [EMAIL PROTECTED] wrote: Steffen Wolfrum said this at Thu, 10 Mar 2005 23:11:41 +0100: But if the heading should be set in general in a bold face what do I use instead of \rm so that italic parts of he heading will be typeset in bold-italic (and \sc parts to bold-smallcaps)? I guess something (next to serif, sans, mono, ...) like serifbold (\brm?) should be defined in my typescript? I'm a bit confused why you're not using \em in this situation, as it adapts to both bold and roman contexts. If you dislike that it defaults to slanted, then there's: \setupbodyfontenvironment[default][em=italic] {\bf Hello \em World} Hello \em World But if you want to follow the path of defining your own, adaptive switches, then you could look at these goodies already defined in font-ini: %D \macros %D {emphbf,emphit,emphsl,emphtf} %D %D The next emphasis alternatives are for \THANH. They adapt %D their style as good as possible. \def\emphbf{\groupedcommand{\bf\def\emphit{\bi}\def\emphsl{\bs}}{}} \def\emphit{\groupedcommand{\it\def\emphbf{\bi}\def\emphsl{\sl}}{}} \def\emphsl{\groupedcommand{\sl\def\emphbf{\bs}\def\emphit{\it}}{}} \def\emphtf{\groupedcommand{\tf\def\e mphbf{\bf}\def\emphit{\it}\def\emphsl{\sl}} {}} Right. I can use \em. But my workflow of using ConTeXt is typesetting already finished books (.doc-files). And so I would like to change the text as little as possible and instead use an suitable set of typescript and setup environment. That's why I thought I'd need a mysans (or \myrm) defined in the typescript to be used in Taco's full-blown bodyfont switch as described above: \def\SectionStyle{% \switchtobodyfont[myrm,20pt] \setupinterlinespace[line=30pt] } In fact, this is something I would like to have also for other purposes (for example to use a second set of oldstyle figures): defining my own *myserif* or *mysans* that could be used then in a typescriptfile the same way as sans, serif and mono are used there. But up to now I didn't manage it. Somebody did and would like to share his/her knowledge? Thank you, Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] fundamental problem with headings
Adam Lindsay [EMAIL PROTECTED] wrote: Steffen Wolfrum said this at Fri, 11 Mar 2005 12:33:13 +0100: In fact, this is something I would like to have also for other purposes (for example to use a second set of oldstyle figures): defining my own *myserif* or *mysans* that could be used then in a typescriptfile the same way as sans, serif and mono are used there. But up to now I didn't manage it. Somebody did and would like to share his/her knowledge? Okay, thanks for clarifying. You might like to take a look at the typescripts in the OpenType.zip file at http://homepage.mac.com/atl/tex/. I defined full myserif/mysans families (I called them romancaps and capsans) to stand next to the serif and sans families (same font, different features). There are also a couple convenience macros in there to help switch between the two. Is that the sort of thing you're looking for? There's nothing inherently SmallCaps (or OpenType) about the fundamental typescripts--that's just the first testing ground I found. I had a look at your file but I think my point is different: You still use only the predefined serif, sans etc. \usetypescript[serif]... \usetypescript[sans]... \usetypescript[math]... but I would like to use also \usetypescript[myserif]... and the corresponding \myrm (next to \tt and \ss). I don't know Hans' texnical term for serif, sans, mono, math etc. is (as used above). Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: newbie question about fonts
Thank you Patrick... I am my distributor maintainer. I installed linux in my pc box less than a year ago, and I see font files everywhere (X directory fonts, TeX directory fonts, TrueType, OpenType, Type1, etc...) but don't know if they are accessible from Context. what is the local guide you refer to? Wouldn't it be nice to have a command in Context like: \listavailablefonts [type1 | truetype | ... | all] or \listavailablefamilyfonts [] ... and another to check whether a font is properly installed (that is, whether it has \bf, \it, \sc, math, etc), like: \checkfont [fontname] Luigi, thank you. I've read the outdated documents you suggested, but still ... Ciro --- Patrick Gundlach [EMAIL PROTECTED] wrote: Hello Ciro, Okay, this business of fonts/files/names/encoding/etc is really difficult to understand for me. welcome to the club ;-) I have a simple question. How do I list all fonts I have available to use in ConTeXt in the machine/system I have? Is there a file where I can see the names of all these fonts? This should be stated in your local guide. If not, complain to the distribution maintainer. And is there a template file or a command to display the entire set of characters once I know the name of fonts? \showfont[Serif] and alike. Patrick -- ConTeXt wiki: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] xecontext/bibtex issue ?
I suppose that, as usual, I am missing something obvious or simple. However, AFAICS it hasn't been discussed recently and isn't mentioned on the XeTeX wiki pages, so... What is the procedure for invoking bibtex as part of a XeConTeXt process ? I can't get this to work. If I run: texexec --xtx myInputFile first, then texexec stops after generating the xdv. This *always* happens with any input file containing citations, but *never* for input files w/o citations. (I'm assuming that texexec expects bibtex processing before generating a pdf since the xdv is full of unknown refs ? ) The problem is that bibtex can't read the .aux file that is generated by xextex. (This is a general case for all of my test files, all of which run fine as vanilla LaTeX and ConTeXt variants (haven't tried XeLaTeX, but don't need it anyway).) I can't run bibtex on my input file first obviously. Do I need to do something (seemingly crazy) like this: 1. context 2. bibtex 3. [modify input file preamble] 4. xecontext Or maybe there is a custom bibtex command for such situations ? ? wtia, mark. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] xecontext/bibtex issue ?
Mark Smith said this at Fri, 11 Mar 2005 14:56:06 +0100: The problem is that bibtex can't read the .aux file that is generated by xextex. Okay, can we see a copy (or reduction) of that file, then? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] ConTeXt equivalent for \ensuremath?
I modeled this after the LaTeX sources because I had to move on: \newcommand{\ensuremath}[1]{\ifmmode\expandafter\FirtsOfOne% \else\expandafter\EnsuredMath\fi} \long\def\FirstOfOne#1{#1} \long\def\EnsuredMath#1{$\relax#1$} but is there a ConTeXt way of doing this? G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Renaming spot colours
Peter Rolf said \definecolor[PANTONE 294CV] [c=1,m=.56,y=0,k=.18] % test \framed[background=color, backgroundcolor={PANTONE 294CV}]{Test} \color[PANTONE 294CV] Test % the only thing that doesn't work is \PANTONE 294CV Thanks very much for responding Peter! Interesting behaviour - the above will process in ConTeXt, but to match the Corel name I need a space after the '294' as well, which results in: -- [MP to PDF] (./ifs-fmar-bk-mpgraph.1 [unknown MP special 294] ! Missing number, treated as zero. to be read again C \@@cl@@r -C V etc. -- But in any case - did you get a functioning PDF file when you used the above definition? Despite the fact that ConTeXt completes its run, I get a broken file with your definition. Maybe this is because I am using multiple tints of the spot? My color defs look like this: \setupcolors[rgb=no,cmyk=no,spot=yes,state=start] \definecolor[PANTONE 294CV][c=1,m=.56,y=0,k=.18] \definecolor[IFSblue][{PANTONE 294CV}][p=1] \definecolor[IFSbluetint][{PANTONE 294CV}][p=.2] \definecolor[IFSblueheadertint][{PANTONE 294CV}][p=.12] \definecolor[IFSbluetabletint][{PANTONE 294CV}][p=.15] As I say, even with this definition (missing the final space) the PDF result won't open in Acrobat (colour space error). Does your open? Thanks again, much appreciated. Duncan [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Endnotes (together with footnotes)?
I have a document that has to have both footnotes and endnotes. How do i do that in ConTeXt? G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt equivalent for \ensuremath?
* Gerben Wierda (Mar 11, 2005 15:50): I modeled this after the LaTeX sources because I had to move on: \newcommand{\ensuremath}[1]{\ifmmode\expandafter\FirtsOfOne% \else\expandafter\EnsuredMath\fi} \long\def\FirstOfOne#1{#1} \long\def\EnsuredMath#1{$\relax#1$} but is there a ConTeXt way of doing this? \mathematics{...}, nikolai -- ::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);} ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] xecontext/bibtex issue ?
Adam Lindsay wrote: Mark Smith said this at Fri, 11 Mar 2005 14:56:06 +0100: The problem is that bibtex can't read the .aux file that is generated by xextex. Okay, can we see a copy (or reduction) of that file, then? Hmm... Interesting. In preparing a short and highly sanitized file *with* citations, I find that the problem no longer exists. Jumped the gun with the assumption about bibtex. I have three files. They all started out as LaTeX articles. Each could be processed w/o problems: latex bibtex latex latex I then made the necessary modifications to generate a ConTeXt version of each file and: context bibtex context also ran w/o problems. However, with the minimum necessary modifications to the preamble: xecontext ...would stop after generating the xdv and bibtex would not read the .aux. I found that removing all of the paragraphs and elements containing citations enabled all three files to be processed to pdf via xetex. Now, having made a sanitized and very short version of one of the three files, but leaving a small number of citations in place, I find that: xecontext bibtex xecontext ...runs fine as expected. I've got my work cut out to find the problem. Any tips about what I might look for ? Could it be associated with particular environments or characters ? wt[and apologies]ia, mark. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] xecontext/bibtex issue ?
I wrote: Any tips about what I might look for ? Unbelievable. Now all three original files are processing fine in their entirety. I DID NOT CHANGE ANYTHING. Very strange. Does anything get written outside of the current directory during a run ? Glad everything is *currently* working, but I don't like the fact that I've been having a lot of strangeness since starting with XeTeX processing. Sorry for noise, mark. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt equivalent for \ensuremath?
On Mar 11, 2005, at 15:57, Nikolai Weibull wrote: \newcommand{\ensuremath}[1]{\ifmmode\expandafter\FirtsOfOne% \else\expandafter\EnsuredMath\fi} \long\def\FirstOfOne#1{#1} \long\def\EnsuredMath#1{$\relax#1$} \newcommand{\bit}[2]{\ensuremath{\hbox{\tf #1}_\hbox{\tf #2}}} but is there a ConTeXt way of doing this? \mathematics{...}, nikolai Replacing \ensuremath above with \mathematics gives an error (both attempts): \newcommand{\bit}[2]{\mathematics{\hbox{\tf #1}_\hbox{\tf #2}}} \newcommand{\bit}[2]{\mathematics{{\hbox{\tf #1}_\hbox{\tf #2 ! Missing { inserted. to be read again \hbox argument \hbox {\tf b}_\hbox {\tf off} \mathematics #1-\relax \ifmmode #1\else $#1 $\fi l.53 ...er off or on, lets call these \bit{b}{off} and But my way also doesn't work. I get empty output as a result of the \bit{b}{off} command. Help? G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] newbie question about fonts
Ciro A. Soto wrote: Okay, this business of fonts/files/names/encoding/etc is really difficult to understand for me. You and 95% of all users, so don't feel bad. I've given up. I use whatever comes out, which I guess is computer modern. (I can use Postscript Times Roman, but no other Postscript font works for me. Which is ok, since I use a lot of math and math comes out in cm no matter what font you use.) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Helvetica ?
Hi, I used to install the fonts that I need for contexing. But for the current project only Helvetica is needed, and so I remembered Patrick saying: using Helvetica works for me: -- \usetypescript [adobekb][\defaultencoding] \usetypescript [postscript][\defaultencoding] \setupbodyfont[pos,ss,12pt] \starttext foo \stoptext But not for me. The same file as above results in: Warning: pdfetex (file ec-urw-times.map): cannot open font map file {/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original-youngryu- tx.map} Warning: pdfetex (file ec-urw-helvetica.map): cannot open font map file Warning: pdfetex (file ec-urw-courier.map): cannot open font map file ] systems : end file helve at line 25 ) Warning: pdfetex (file phvr8r): Font phvr8r at 86 not found What is missing? I am working (under OSX) with Hans' recent Beta, with Gerbens latest tex i-package, and I also saw various helvetica pfb files being installed with Gerbens distro. So, shouldn't contexing with Helvetica work just out-of-the-box, as Patrick said? Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How do I setup this arrangement?
Am 10.03.2005 um 15:41 schrieb Gerben Wierda: - Two pages on one A4 landscape - Ordering simple: (0,1),(2,3),(4,5) (2 shrunk-to-A5 pages on one A4 landscape) That's simply 2SIDE, see also http://contextgarden.net/Imposition But I don't know about scalation. Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] What happens here?
Am 10.03.2005 um 21:25 schrieb Gerben Wierda: I am running a file and one line has a really ugly large overfull box. The run says: Don't know. Did you try setting up tolerance? \setuptolerance[{horizontal, verytolerant},{vertical, strict}] Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Quote before chapter?
Am 11.03.2005 um 10:30 schrieb Gerben Wierda: Those are of course all fine generic strategies which had come to my mind. My question is more of a technical nature. After reading the docs on these commands I do not how. I can make it more difficult even. I would like a chapter to start on an odd (right side) page but when there is a quote that comes with the chapter I want to have that appear on the opposing side. Perhaps my two book styles in the wiki are a help: http://contextgarden.net/Ubuch_style http://contextgarden.net/Uno_style The first is rather old(fashioned), but it shows how to use an own command for a chapter (i.e. a part in this case). Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt equivalent for \ensuremath?
Gerben Wierda said this at Fri, 11 Mar 2005 16:54:38 +0100: But my way also doesn't work. I get empty output as a result of the \bit{b}{off} command. Help? This is probably not satisfying, because you probably want to get new mathematics commands working, but if this is to be used solely in text, you could use (or expand to): b\low{off} \low (and \hi and \lohi) look like they work robustly in both math and text modes. I'm a bit confused by you using \newcommand in your (ConTeXt?) examples, though... -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Renaming spot colours
Am 10.03.2005 um 10:42 schrieb Duncan Hothersall: The end result is a file with two spot colour spaces instead of one. Is there a way I can combine them, either by a last-minute renaming, or a mapping, or a pre-process, or something? (I tried the brute force method of search-and-replace on the PDF file but there must be binary-encoded references to the names as well as ASCII ones, because that broke the file.) There are come commercial Acrobat plugins that can map/change spot colors; AFAIK Acrobat 7 Professional can it do on its own. Otherwise you could change the color in an EPS (and distill that again). But if you have access to the original CDR files you should simply change it there. Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] what do these values mean?
On Thu, 10 Mar 2005, Paul Tremblay wrote: I've figure out a lot of the values used in \setuplayout, but I can't figure out these: horoffset veroffset These 2 are explained here: http://texshow.contextgarden.net/ts.rb?lang=enwhat=descif=encmd=setuplayout Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Helvetica ?
Steffen Wolfrum said this at Fri, 11 Mar 2005 17:59:30 +0100: \usetypescript [adobekb][\defaultencoding] \usetypescript [postscript][\defaultencoding] \setupbodyfont[pos,ss,12pt] I'm taking a leap with this, because I don't have my gwTeX box at hand, but try \usetypescript [adobekb][8r] \usetypescript [postscript] [8r] \setupbodyfont [pos,ss,12pt] gwTeX (IIRC) has a full complement of adobe 8r metrics. Note that helvetica in the postscript typescript is scaled at 90% so 12pt actually means 10.8pt. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Moving to ConTeXt
Am 10.03.2005 um 10:59 schrieb Gerben Wierda: What I do not understand is how these components end up in a directory hierarchy. What would be very nice is some sort of downloadable archive with some sample basic project structures. Reading the stuff above I still have no idea how to build a directory hierarchy for my project such that it can do all that the project management part of ConTeXt promises. Do you *need* different directories? Perhaps it's sufficient to name your components so that you can easily see what belongs where. AFAIK ConTeXt looks always into the parent directories, but not in parallel/child directories if not explicitly specified. (E.g. you can define a figures path.) Did you have a look at the wiki: http://contextgarden.net/Project_structure Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] A (my) OTR problem
I have the following code: \showframe \setuplayout[topdistance=0mm,topspace=10mm,header=10mm,headerdistance=10mm, footerdistance=5mm,footer=20mm,bottomspace=2mm, backspace=25mm, rightmargin=10mm,rightmargindistance=1mm,rightedge=0mm,rightedgedistance=0mm, leftmargin=15mm,leftmargindistance=1mm,leftedge=9mm,leftedgedistance=0mm, width=fit,height=fit, location=middle] \newdimen\RightMarginWidth \RightMarginWidth=\rightmarginwidth \def\PageNumber#1{\vbox to \footerheight{\vss\hbox to\RightMarginWidth{\hss #1 \hss}\vss}} \setuppagenumbering[location={margin},alternative=doublesided,command={\PageNumber}] \newbox\ContinueNextPage \setbox\ContinueNextPage=\vbox{\strut\hbox to\textwidth{\hfill\mathematics{\blacktriangleright}\mathematics{\blacktriangleright}\quad}} \starttext \dorecurse{20}% {\framed[width=\textwidth,height=3em,align={middle,lohi}]{\hfil \CONTEXT --\recurselevel \hfil}}% \stoptext I would like to put \copy\ContinueNextPage after the last \framed in every page (in this example, after CONTEXT--18 at page 1 and CONTEXT--36 at page 2). I don't want use tables/tabular, i try to use \vsplit. I try to read page-ini, i find useful things like \everyafterpagebody but i'm still confused. Thanks in advance, luigi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt equivalent for \ensuremath?
On Mar 11, 2005, at 18:20, Adam Lindsay wrote: Gerben Wierda said this at Fri, 11 Mar 2005 16:54:38 +0100: But my way also doesn't work. I get empty output as a result of the \bit{b}{off} command. Help? This is probably not satisfying, because you probably want to get new mathematics commands working, but if this is to be used solely in text, you could use (or expand to): b\low{off} \low (and \hi and \lohi) look like they work robustly in both math and text modes. I'll see. I wonder if it will look the same. Especially in terms of font. Do I get the same font in both sides? Do I get the same kerning? I'm a bit confused by you using \newcommand in your (ConTeXt?) examples, though... Yes, strange, isn't it? It just works. I copied one accidentally over and it worked. So I kept using it. G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: AW: [NTG-context] Re: Line break after unit or \cite command
On Fri, 11 Mar 2005, Michael Fuchs wrote: Here is an example that shows the problem. I created it using live.contextgarden.net. The problem appears with standard and german hyphenation. Nice example: now we see, that you are using the units-module. Just to show you, what could be a minimal example, that shows the problem: \usemodule[units] \starttext In dieser Arbeit wurde die Reaktion untersucht. Im Energiebereich bis XXX~\EVolt\ wurden die Ergebnisse der Kollaboration bestätigt. \stoptext With these few lines, everything is clear. It seems to be an error in the units-module. Possible workaround: XXX~\EVolt\hbox{} wurden... Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
AW: AW: [NTG-context] Re: Line break after unit or \cite command
Hi everybody! Sorry for the too long example. I wasn't sure what caused the problem and wanted to provide all relevant information at one time. I didn't mention the units module explicitly because I have the same problem using the \cite command from the bib-module and I assumed, that it would be a more general problem. The workaround with the \hbox{} does work. Is this some kind of bug and will be fixed in the future? Thank you all for your help! :-)) Michael -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Peter Münster Gesendet: Freitag, 11. März 2005 19:24 An: mailing list for ConTeXt users Betreff: Re: AW: [NTG-context] Re: Line break after unit or \cite command On Fri, 11 Mar 2005, Michael Fuchs wrote: Here is an example that shows the problem. I created it using live.contextgarden.net. The problem appears with standard and german hyphenation. Nice example: now we see, that you are using the units-module. Just to show you, what could be a minimal example, that shows the problem: \usemodule[units] \starttext In dieser Arbeit wurde die Reaktion untersucht. Im Energiebereich bis XXX~\EVolt\ wurden die Ergebnisse der Kollaboration bestätigt. \stoptext With these few lines, everything is clear. It seems to be an error in the units-module. Possible workaround: XXX~\EVolt\hbox{} wurden... Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] batch download from pragma
Dear musketeers, How can I download all of the manuals and magazines from http://www.pragma-ade.com/overview.htm in batch, say, as a single zip file, or otherwise all at once? (I use Windows for now). Is there an ftp site? Some other way (perhaps using wget.txt)? Best to all Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Helvetica ?
At 17:59 +0100 11/03/05, Steffen Wolfrum wrote: Hi, I used to install the fonts that I need for contexing. But for the current project only Helvetica is needed, and so I remembered Patrick saying: using Helvetica works for me: -- \usetypescript [adobekb][\defaultencoding] \usetypescript [postscript][\defaultencoding] \setupbodyfont[pos,ss,12pt] \starttext foo \stoptext For me the following works fine: begin \usetypescript [adobekb][\defaultencoding] \setupbodyfont[pos] %% for helvetica uncomment this \usetypescript[helvetica][\defaultencoding] \setupbodyfont[helvetica,ss,12pt] %% for times uncomment this %\usetypescript[times][\defaultencoding] %\setupbodyfont[times,12pt] \starttext \input knuth \bigskip And this should be some maths with PostScript fonts (but not with Helvetica\dots). \startformula {a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi} \sin(x)^2dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0. \stopformula \stoptext end Somehow, unlike Adam's suggestion, I can't replace [\defaultencoding] by [8r]. Cheers: OK ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Helvetica ?
Adam Lindsay [EMAIL PROTECTED] wrote: Steffen Wolfrum said this at Fri, 11 Mar 2005 17:59:30 +0100: \usetypescript [adobekb][\defaultencoding] \usetypescript [postscript][\defaultencoding] \setupbodyfont[pos,ss,12pt] I'm taking a leap with this, because I don't have my gwTeX box at hand, but try \usetypescript [adobekb][8r] \usetypescript [postscript] [8r] \setupbodyfont [pos,ss,12pt] gwTeX (IIRC) has a full complement of adobe 8r metrics. Note that helvetica in the postscript typescript is scaled at 90% so 12pt actually means 10.8pt. Then the error log changes. Now we have: ! Font \*12ptsstf*=uhvr8t at 12.0pt not loadable: Metric (TFM) file not found. Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Moving to ConTeXt
On 11 Mar 2005, at 18:02, Henning Hraban Ramm wrote: Am 10.03.2005 um 10:59 schrieb Gerben Wierda: What I do not understand is how these components end up in a directory hierarchy. What would be very nice is some sort of downloadable archive with some sample basic project structures. Reading the stuff above I still have no idea how to build a directory hierarchy for my project such that it can do all that the project management part of ConTeXt promises. Do you *need* different directories? Perhaps it's sufficient to name your components so that you can easily see what belongs where. AFAIK ConTeXt looks always into the parent directories, but not in parallel/child directories if not explicitly specified. (E.g. you can define a figures path.) Did you have a look at the wiki: http://contextgarden.net/Project_structure Certainly I did, and I used the scripts that were linked there. But none of the explanations give examples of directory hierarchy. Take for instance images. I've set up a directory for images. But the only way I can get ConTeXt to find the images is to have an absolute path in the directory \setupexternalfigures[directory=/Volumes/Data/Users/gerben/Documents/ Prive/book-context/images, maxwidth=\textwidth] I have my chapters (components) in book-context and my product file in book-context/products But I would like some directory structure *without* this absolute path, if only because it does not work when mirrored to my laptop where the home directory is quite somewhere else. G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How do I setup this arrangement?
On 11 Mar 2005, at 18:05, Henning Hraban Ramm wrote: Am 10.03.2005 um 15:41 schrieb Gerben Wierda: - Two pages on one A4 landscape - Ordering simple: (0,1),(2,3),(4,5) (2 shrunk-to-A5 pages on one A4 landscape) That's simply 2SIDE, see also http://contextgarden.net/Imposition Can I have 2SIDE with the first page on the right side (and an empty page on the left of the first double page)? G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Moving to ConTeXt
Relative paths work fine for me as long as they point to subdirectories. However, I could never get something like ../figures to work on Mac Os X, but that might be my ignorance. Matthias but I might be wrong On Mar 11, 2005, at 3:49 PM, Gerben Wierda wrote: On 11 Mar 2005, at 18:02, Henning Hraban Ramm wrote: Am 10.03.2005 um 10:59 schrieb Gerben Wierda: What I do not understand is how these components end up in a directory hierarchy. What would be very nice is some sort of downloadable archive with some sample basic project structures. Reading the stuff above I still have no idea how to build a directory hierarchy for my project such that it can do all that the project management part of ConTeXt promises. Do you *need* different directories? Perhaps it's sufficient to name your components so that you can easily see what belongs where. AFAIK ConTeXt looks always into the parent directories, but not in parallel/child directories if not explicitly specified. (E.g. you can define a figures path.) Did you have a look at the wiki: http://contextgarden.net/Project_structure Certainly I did, and I used the scripts that were linked there. But none of the explanations give examples of directory hierarchy. Take for instance images. I've set up a directory for images. But the only way I can get ConTeXt to find the images is to have an absolute path in the directory \setupexternalfigures[directory=/Volumes/Data/Users/gerben/Documents/ Prive/book-context/images, maxwidth=\textwidth] I have my chapters (components) in book-context and my product file in book-context/products But I would like some directory structure *without* this absolute path, if only because it does not work when mirrored to my laptop where the home directory is quite somewhere else. G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Moving to ConTeXt
On 11 Mar 2005, at 21:58, Matthias Weber wrote: Relative paths work fine for me as long as they point to subdirectories. However, I could never get something like ../figures to work on Mac Os X, but that might be my ignorance. I just got ../images to work but thenmy product file is in a subdirectory. book-context/images/ book-context/products/prd_book.tex (I am running from this directory) book-context/chapter1.tex etc. G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] what do these values mean?
Peter Münster wrote: On Thu, 10 Mar 2005, Paul Tremblay wrote: I've figure out a lot of the values used in \setuplayout, but I can't figure out these: horoffset veroffset These 2 are explained here: http://texshow.contextgarden.net/ts.rb?lang=enwhat=descif=encmd=setuplayout Cheers, Peter Added also nx, dx, ny, dy. vit ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Initial Font Installation Question (Mac)
Greetings ConTeXters I'm back to ask another question: After an initial successful installation of the purchased fonts, I've come to find that there is a serious quirk. That is, when I try to use any special glyph, be it an accented character of any kind, or e.g. an eth. The result of something like \a (or \{a}) is _a_ without the diacritic. Curiously (to me, at least:), if I enter the actual glyph: , it gives me the character I needbut only for a few runs! After adding a couple more of such alternative glyphs, it starts to show gibberish. Some trials evince an ff-ligature as the diacritic. Errors in the mapping/virtual font/? Again I hope to save myself some time by asking to be pointed in the right direction, as my initial searches haven't really helped. Kind Regards, David Wooten On Feb 21, 2005, at 1:17 AM, Adam Lindsay wrote: Thomas A.Schmitz said this at Mon, 21 Feb 2005 10:01:50 +0100: Just a quick reply: having the afm is already very good. The file without an extension looks suspiciously like a Mac font resource. Can you try running the utility fondu on it (from the command line)? That will usually produce the pfbs (very likely, there's more than one: roman, italics, bold ...). Texfont, btw, can equally well work with truetype fonts, so if you have a proper tryetype font with extension .ttf. you might as well use this. texfont will produce a map entry that you will have to modify a bit (so it points to a .ttf instead of the default .pfb), but that's not too difficult. As to names: don't bother, ConTeXt is happy with whatever name you throw at it. Only a couple things to add: When fondu generates the .pfb file, copy the .afm to share the new (probably longer) filename. Texfont on MacOSX trips on capital letter extensions: make sure they're uniformly lower case. If fondu fails you (it hasn't failed me yet), there's also t1unmac (lcdf.org). And if texfont installation fails or inexplicably stalls, you might need to go in and truncate long (255+ character) lines by manually editing the text file. I've always found these to be comment/copyright lines, so you're not hurting anything by doing so. You lucky so-and-so for getting Andulka! adam ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Initial Font Installation Question (Mac)
David Wooten said this at Fri, 11 Mar 2005 15:40:14 -0800: After an initial successful installation of the purchased fonts, I've come to find that there is a serious quirk. That is, when I try to use any special glyph, be it an accented character of any kind, or e.g. an eth. The result of something like \a (or \{a}) is _a_ without the diacritic. That's really weird. This is pdfetex/ConTeXt, and not XeTeX/ConTeXt, right? Which font encoding are you using? What happens with \showfont[mynewfont] ? (You can send that one off list.) Wait. Some mac-specific stuff: Which input encoding (regime) are you using? From which editor? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] batch download from pragma
Idris Samawi Hamid wrote: Dear musketeers, How can I download all of the manuals and magazines from http://www.pragma-ade.com/overview.htm in batch, say, as a single zip file, or otherwise all at once? (I use Windows for now). Is there an ftp site? Some other way (perhaps using wget.txt)? Not certain if I'm a musketeer, but try this: Download wget.txt to the directory where you want the files cd to that directory wget -Nxi wget.txt David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context