[NTG-context] typesetting proofs
Dear ConTeXt users, i am trying to typeset correctly proofs in a document. I tried to use the following definition : \defineenumeration[preuve] [location=serried, headstyle=slanted, text=Preuve, number=no, after={\hfil\QED}] It's almost what i want, but there's a slight problem. The command after executes itself after a newline, so, the QED symbol is typeset at the line after the end of the proof. What i'd like to have is the qed symbol at the end of the last line of the proof. Any insight on how i can do that? Thanks ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] typesetting proofs
I've done similar things like this: \defineenumeration[Preuve] [location=serried, headstyle=slanted, text=Preuve, number=no, after=] \definestartstop[preuve] [before=\startPreuve, after=\hfil\QED\stopPreuve] Greetings, Taco [EMAIL PROTECTED] wrote: Dear ConTeXt users, i am trying to typeset correctly proofs in a document. I tried to use the following definition : \defineenumeration[preuve] [location=serried, headstyle=slanted, text=Preuve, number=no, after={\hfil\QED}] It's almost what i want, but there's a slight problem. The command after executes itself after a newline, so, the QED symbol is typeset at the line after the end of the proof. What i'd like to have is the qed symbol at the end of the last line of the proof. Any insight on how i can do that? Thanks ___ 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] Out of Date? Up to Date?
David Arnold wrote: All, If I read: http://www.pragma-ade.com/general/manuals/mfonts.pdf How up to date or out of date is the information in this manual? actually i'm editing this file now, and i'll upload a newer version in a while Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Fwd: Context UPdater not working
Gerben Wierda wrote: This font stuff keeps confusing me. Hans Taco, What could make this guy's stuff try to load lm-ec.enc while it is not there? Map problems? And what should I think of LM having ec-lm.enc while ConTeXt has lm- ec.enc? Recent ConTeXt installed here: $ ls /usr/local/teTeX/share/texmf.local/fonts/enc/dvips/lm/ cmin.enccmtt.encec-lm.enc plsc.enc texnansi-lm.enc cmit.enccsin.encplin.encpltt.encts1- lm.enc cmitt.enc csrm.encplit.encqx-lm.enc cmrm.enccssc.encplitt.enc qx-lmtt.enc cmsc.enccstt.encplrm.enct5-lm.enc Recent LM installed here: $ ls /usr/local/teTeX/share/texmf.tetex/fonts/enc/dvips/lm/ lm-ec.enc lm-rep-cmsc.enc lm-rep-plitt.enc lm-el.enc lm-rep-cmtt.enc lm-rep-plrm.enc lm-qx.enc lm-rep-csin.enc lm-rep-plsc.enc lm-qxtt.enc lm-rep-csrm.enc lm-rep-pltt.enc lm-rep-cmin.enc lm-rep-cssc.enc lm-rep-t5psn.enc lm-rep-cmit.enc lm-rep-cstt.enc lm-t5.enc lm-rep-cmitt.enclm-rep-plin.enc lm-texnansi.enc lm-rep-cmrm.enc lm-rep-plit.enc lm-ts1.enc G Warning: pdfetex (file lm-ec.enc): cannot open encoding file for reading /usr/local/teTeX/share/texmf.tetex/fonts/type1/public/lm/lmr12.pfb at the day that the tex collection dvd was burned, karl and i found out that the cm* files were gone from tex live (they used to be part of the lm distribution); the problem with those cm encoding files is that they are needed for lm because lm has a non-tex glyph ordering internally if you look back in time, you will see that sometimes cm*.enc files are/were needed by dvi postprocessors; in tex live (tetex) there are cm encoding files, but they have funny names (numbered and digits) and are probably not meant for usage/users the latest context refers to the lm-rep files now (let's hope that they stay); context provides a few more lm goodies so we need our own extra map files sorry for the mess, but it's related to changes in the filenames of lm map/enc files, something i was not happy with but had no influence on; in cany case: one needs a recent/matching lm/context to get it working since there is no way for tex to find out what files are on your system btw, Karl Berry will put the cm files in the tex live repository (and ctan) so that we can be sure that we have a proper enc set to go with the cm fonts Hans Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Floats page?
Giuseppe Bilotta wrote: How do I tell ConTeXt that I don't mind if the pages are totally filled by floats (two, three, as many as fit) even if there is no text whatsoever? \setupfloats [ntop=100] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bibmodule
Taco, oops, sorry, I had assumed that the beta was included in the ConTeXt distribution because the distro is later than the beta. Sorry, my bad, have reinstalled and everything is working again. Best Thomas On Nov 21, 2005, at 8:45 AM, Taco Hoekwater wrote: Hi Thomas, I'll double check, but are you sure you are loading the beta, and not an older t-bib from the distribution? (I cannot test the beta any more, and it works fine with my current development code) Taco Thomas A. Schmitz wrote: Taco, I hardly dare bring this up, but the latest beta release of your module appears to break something that worked before: the wonderfule \cite[extras={}][key] doesn't work. When I have this: \cite[extras={.5}][hoekwater] I would expect, with my setup, [10.5] but instead, I get [hoekwater] in the typeset version. Sorry for bothering you again. Thanks and best Thomas ___ 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 mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Floats page?
Hans Hagen wrote: Giuseppe Bilotta wrote: How do I tell ConTeXt that I don't mind if the pages are totally filled by floats (two, three, as many as fit) even if there is no text whatsoever? \setupfloats [ntop=100] I believe / guess what Giuseppe really wants is a way to tell context that a page may be (say) 95% full when it contains only floats. So that there are no single/double lines at the bottom of a page that consists largely of topfloats. And if that is not what Giuseppew wanted, well, that is something I would like to know how to do :-) Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bibmodule
Thomas A. Schmitz wrote: Taco, oops, sorry, I had assumed that the beta was included in the ConTeXt distribution because the distro is later than the beta. Sorry, my bad, have reinstalled and everything is working again. Ok, cool. The bib beta's are still separate because they have known bugs ;-) Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] font manuals
Hi, I added fonts/mfonts fonts/showfont to the svn repository Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] [BIB] nocite / criterium=all
Small problem with bibtex. I have (in a document different from the one I mentioned before) \setupbibtex[database={mrabbrev,bilotta}] \setuppublications[alternative=ams,criterium=all] but when I do \placepublications[criterium=all] I get nothing. If I \cite[something], that something gets included. How am I supposed to place all the publications without citing anything? BTW, you may also want to introduce the \nocite command, which adds something to the publications list without actually citing it in the text. If you want, you can make it support the \nocite[*] syntax to hiddenly cite everything. -- Giuseppe Oblomov Bilotta P.S. This is rather urgent ... ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] [BIB] nocite / criterium=all
Giuseppe Bilotta wrote: Small problem with bibtex. I have (in a document different from the one I mentioned before) \setupbibtex[database={mrabbrev,bilotta}] \setuppublications[alternative=ams,criterium=all] This is the same bug Rob ran into. Putting the alternative= first, in a separate command, should work: \setuppublications[alternative=ams] \setuppublications[criterium=all] BTW, you may also want to introduce the \nocite command, which adds something to the publications list without actually citing it in the text. If you want, you can make it support the \nocite[*] syntax to hiddenly cite everything. I've added \nocite[list] to my code, as well as the alias \cite[none][list], but not the * form, because that functionality is there already (criterium=all). I'll try to have a new beta soon (hopefully tonight) Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Floats page?
Taco Hoekwater wrote: Hans Hagen wrote: Giuseppe Bilotta wrote: How do I tell ConTeXt that I don't mind if the pages are totally filled by floats (two, three, as many as fit) even if there is no text whatsoever? \setupfloats [ntop=100] I believe / guess what Giuseppe really wants is a way to tell context that a page may be (say) 95% full when it contains only floats. So that there are no single/double lines at the bottom of a page that consists largely of topfloats. And if that is not what Giuseppew wanted, well, that is something I would like to know how to do :-) something nlines=5 shoudt do that but it's a long time since i used that Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Setting up items...
HI all, I have a rather long sequence of items in which each one is numbered with a right stopper, a right parenthesis. Items numbered from 1) to 9) are correctly aligned and what I want is to have items 10) to 12) (for instance) be aligned in the same way, that is: (9) item number 9. (10) item number 10. (11) item number 11. (12) item number 12. in other words numbers above 10 should protrude to the left, not to the right (see the minimal example below). I am sure at some point in the past I solved this issue but I cannot find anymore how... Can anyone give insight? Another, secondary question, is: how can I make the items be numbered like: (1) item one (2) item two that is numbers are enclosed between parentheses? Thanks a lot in advance: OK %% item-sample.tex \defineconversion[exercise][\numbers] \starttext \startitemize[exercise][style=bold,stopper=)] \dorecurse{12}{\item This is question number \recurselevel.} \stopitemize \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Setting up items...
Otared, this should do the trick: \setupitemize[each][n] [margin=2em, % play with this dimension left={(}, stopper=, right={)}, alignment=left] Cheers Thomas On Nov 21, 2005, at 1:51 PM, Otared KAVIAN wrote: HI all, I have a rather long sequence of items in which each one is numbered with a right stopper, a right parenthesis. Items numbered from 1) to 9) are correctly aligned and what I want is to have items 10) to 12) (for instance) be aligned in the same way, that is: (9) item number 9. (10) item number 10. (11) item number 11. (12) item number 12. in other words numbers above 10 should protrude to the left, not to the right (see the minimal example below). I am sure at some point in the past I solved this issue but I cannot find anymore how... Can anyone give insight? Another, secondary question, is: how can I make the items be numbered like: (1) item one (2) item two that is numbers are enclosed between parentheses? Thanks a lot in advance: OK %% item-sample.tex \defineconversion[exercise][\numbers] \starttext \startitemize[exercise][style=bold,stopper=)] \dorecurse{12}{\item This is question number \recurselevel.} \stopitemize \stoptext ___ 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] Setting up items...
Thomas A. Schmitz wrote: Otared, this should do the trick: \setupitemize[each][n] [margin=2em, % play with this dimension left={(}, stopper=, right={)}, alignment=left] Much nicer ... fixed my project environment. Thanks, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Out of Date? Up to Date?
Wanna send me what you have and I'll annotate it with suggestions, much as we did with Metafun? On Nov 21, 2005, at 12:58 AM, Hans Hagen wrote: David Arnold wrote: All, If I read: http://www.pragma-ade.com/general/manuals/mfonts.pdf How up to date or out of date is the information in this manual? actually i'm editing this file now, and i'll upload a newer version in a while Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Setting up items...
Hi Thomas and Taco, Thanks for your help, which solves my secondary question... Actually the following works, as suggested by Thomas: \starttext \setupitemize[left=(, right=), width=2em, stopper=,margin=2em] \startitemize[n] \item one item, \item next item. \item next item. \item next item. \stopitemize \stoptext where margin=2em is the distance of the text following \item to the left margin, and width=2em is the width of the space reserved around the item number. But I don't know how to arrange things to have the item numbers aligned on the right parenthesis. (By the way saying \startitemize[i] instead of \startitemize[n] gives items numbered (i), (ii), etc) Best regards: OK On 11/21/05, Thomas A. Schmitz [EMAIL PROTECTED] wrote: Otared, this should do the trick: \setupitemize[each][n] [margin=2em, % play with this dimension left={(}, stopper=, right={)}, alignment=left] Cheers Thomas On Nov 21, 2005, at 1:51 PM, Otared KAVIAN wrote: HI all, I have a rather long sequence of items in which each one is numbered with a right stopper, a right parenthesis. Items numbered from 1) to 9) are correctly aligned and what I want is to have items 10) to 12) (for instance) be aligned in the same way, that is: (9) item number 9. (10) item number 10. (11) item number 11. (12) item number 12. in other words numbers above 10 should protrude to the left, not to the right (see the minimal example below). I am sure at some point in the past I solved this issue but I cannot find anymore how... Can anyone give insight? Another, secondary question, is: how can I make the items be numbered like: (1) item one (2) item two that is numbers are enclosed between parentheses? Thanks a lot in advance: OK %% item-sample.tex \defineconversion[exercise][\numbers] \starttext \startitemize[exercise][style=bold,stopper=)] \dorecurse{12}{\item This is question number \recurselevel.} \stopitemize \stoptext ___ 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 mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Out of Date? Up to Date?
David Arnold wrote: Wanna send me what you have and I'll annotate it with suggestions, much as we did with Metafun? sure, suggestions (goes for all manuals) are welcome, Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Setting up items...
Sorry, I forgot one detail: On Nov 21, 2005, at 3:59 PM, Otared KAVIAN wrote: Hi Thomas and Taco, Thanks for your help, which solves my secondary question... Actually the following works, as suggested by Thomas: \starttext \setupitemize[left=(, right=), width=2em, stopper=,margin=2em] \startitemize[n,inmargin] \item one item, \item next item. \item next item. \item next item. \stopitemize \stoptext Is that what you're looking for? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re[2]: [NTG-context] Floats page?
Monday, November 21, 2005 Hans Hagen wrote: Giuseppe Bilotta wrote: How do I tell ConTeXt that I don't mind if the pages are totally filled by floats (two, three, as many as fit) even if there is no text whatsoever? \setupfloats [ntop=100] Doesn't help. \appendix{Test results} \setupfloats[ntop=100] \dorecurse{8}{\input tests/curves-\recurselevel.tex \page } Each file that gets included have some 8 'tables' like the following: \placetable[here][approx-1-0.11269]{Results for curve 1, radius 0.11269} {\centerline{\startcombination[1*2]{\scantokens{ \setuptable[bodyfont=8pt] \starttable[|l|l|r|ra.o0|l|ra.o0|l|ra.o0|l|ra.o0|l|ra.o0|l|] \HL \NC\ReFormat[Bc]{Method}% \NC\ReFormat[Bc]{Options}% \NC\ReFormat[Bc]{Iterations}% \NC\use4\ReFormat[Bc]{Lambdas}% \NC\use2\ReFormat[Bc]{Error}% \NC\use2\ReFormat[Bc]{Error\%}% \NC\use2\ReFormat[Bc]{$L^2$}% \SR \HL \CL[lightred]\MR \NC Kinch\NC \NC 0\NC 0\NC 98005\NC 1\NC 09034\NC 0\NC 01891\NC 16\NC 78059\NC0\NC 59899\NC\MR \NC Legendre\NC direct, 16 samples\NC 9\NC 0\NC 98275\NC 1\NC 1018\NC 0\NC 00871\NC 7\NC 7328\NC0\NC 33727\NC\MR \NC Legendre\NC Kinch, 16 samples\NC 10\NC 0\NC 98275\NC 1\NC 1018\NC 0\NC 00871\NC 7\NC 7328\NC0\NC 33727\NC\MR \NC Jacobi (1,1)\NC direct, 16 samples\NC 10\NC 0\NC 98359\NC 1\NC 10323\NC 0\NC 00768\NC 6\NC 81577\NC0\NC 34516\NC\MR \CL[lightgreen]\MR \NC Jacobi (1,1)\NC Kinch, 16 samples\NC 10\NC 0\NC 98359\NC 1\NC 10323\NC 0\NC 00768\NC 6\NC 81577\NC0\NC 34516\NC\MR \NC Jacobi (2,2)\NC direct, 16 samples\NC 9\NC 0\NC 98329\NC 1\NC 10202\NC 0\NC 00874\NC 7\NC 75774\NC0\NC 34391\NC\MR \NC Jacobi (2,2)\NC Kinch, 16 samples\NC 9\NC 0\NC 98329\NC 1\NC 10202\NC 0\NC 00874\NC 7\NC 75774\NC0\NC 34391\NC\MR \NC Chebyshev\NC direct, 16 samples\NC 9\NC 0\NC 98243\NC 1\NC 10117\NC 0\NC 00919\NC 8\NC 15498\NC0\NC 33874\NC\MR \NC Chebyshev\NC Kinch, 16 samples\NC 10\NC 0\NC 98243\NC 1\NC 10117\NC 0\NC 00919\NC 8\NC 15498\NC0\NC 33874\NC\MR \NC Grid\NC direct, 3 scans\NC 70\NC 0\NC 98382\NC 1\NC 10435\NC 0\NC 00703\NC 6\NC 24151\NC0\NC 35264\NC\MR \CL[lightblue]\MR \NC Grid\NC direct, 5 scans\NC 60\NC 0\NC 98373\NC 1\NC 10409\NC 0\NC 0069\NC 6\NC 12706\NC0\NC 34982\NC\MR \NC Nelder-Mead\NC direct, to 0\NC 132\NC 0\NC 98373\NC 1\NC 10409\NC 0\NC 0069\NC 6\NC 12706\NC0\NC 34982\NC\MR \NC Nelder-Mead\NC direct, to 2\NC 108\NC 0\NC 98373\NC 1\NC 10409\NC 0\NC 0069\NC 6\NC 12706\NC0\NC 34982\NC\MR \NC Nelder-Mead\NC Kinch/Legendre\NC 94\NC 0\NC 98373\NC 1\NC 10409\NC 0\NC 0069\NC 6\NC 12706\NC0\NC 34982\NC\MR \HL \stoptable }}{} {\externalfigure[tests/curves-1.1]}{}% \stopcombination}} Sometimes, two table+figure combo would fit in one page, but they are still put in separate pages. Also, the first page has the appendix title but nothing is inserted, not even the first float. Suggestions? -- Giuseppe Oblomov Bilotta ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mfonts.tex
On Nov 21, 2005, at 11:44 AM, Hans Hagen wrote: you need a proper subversion client; steve peter told me he had that running on hsi mac so maybe he has some recommendation; one you have that you can connect to svn.pragma-ade.com and check out the manuals tree The easiest thing to do is grab the pre-built binaries from http:// metissian.com/projects/macosx/subversion/. It's a command-line program, but I believe there is a GUI written in Java if you require that. Steve ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mfonts.tex
Hans, Steve, et al, OK. I have subversion client installed. Now what? What commands will download what I need? On Nov 21, 2005, at 8:44 AM, Hans Hagen wrote: David Arnold wrote: Hans et al, OK. I'd like to start with mfonts.tex. I am working with GWTeX on Tiger and have just updated to all of Gerben's latest stuff, so I am as current as I can be with that distribution. I do have Ruby on this Mac. So, hold my hand and and guide me through the compile stage. The first problem, as I see it, is to get the expected organizational tree for these manuals For example, in mfonts.tex, we have: \environment ../allkind/mcommon.tex So, should I do some sort of cvs thing and check out all these manuals and documents? That seems to be the first issue to address. you need a proper subversion client; steve peter told me he had that running on hsi mac so maybe he has some recommendation; one you have that you can connect to svn.pragma-ade.com and check out the manuals tree the svn tree is readonly, so info needs to be fed back using diff's or patch files to me on windows there is tortoise svn which hooks nicely into the file handler; i dunno (yet) about the mac (need to look into it) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Setting up items...
Hi Thomas, Many many thanks! Danke schön! Yes that was the point: inmargin... Finally the simplest way of achieving my desired result seems to be: \showframe \starttext \setupitemize[stopper=),margin=2.5em] \startitemize[n,inmargin] \dorecurse{12}{\item This is question number \recurselevel.} \stopitemize \stoptext where margin=2.5em is obtained heuristically (for three digits items for instance one has to say margin=3em). Maybe there is an elegant method for finding automatically the amount of margin depending on the maximum number of items, but I am not asking that much... Best regards: OK On 11/21/05, Thomas A. Schmitz [EMAIL PROTECTED] wrote: Sorry, I forgot one detail: On Nov 21, 2005, at 3:59 PM, Otared KAVIAN wrote: Hi Thomas and Taco, Thanks for your help, which solves my secondary question... Actually the following works, as suggested by Thomas: \starttext \setupitemize[left=(, right=), width=2em, stopper=,margin=2em] \startitemize[n,inmargin] \item one item, \item next item. \item next item. \item next item. \stopitemize \stoptext Is that what you're looking for? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mfonts.tex
David Arnold said this at Mon, 21 Nov 2005 09:58:39 -0800: Hans, Steve, et al, OK. I have subversion client installed. Now what? What commands will download what I need? Presuming you're in a directory where you want the stuff (and svn is in your path, etc): svn checkout svn://ctx.pragma-ade.nl/manuals (the first time: it creates a manuals subdirectory and populates it with further subdirectories from the server. It also makes a hidden manuals/.svn directory with enough metadata that you can forget the URL and update with simply: ) svn update (all subsequent times) (parenthetically,) adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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] Floats page?
Giuseppe Bilotta wrote: Sometimes, two table+figure combo would fit in one page, but they are still put in separate pages. Also, the first page has the appendix title but nothing is inserted, not even the first float. hard to test without min-test file -) if you run with \showframe, how much room is really left? it may be that you operate around thresholds an option then is to slightly increase the height: \setuplayout[height=20cm,footerdistance=1cm,footer=1cm,.] \definelayout[appendix][footerdistance=.5cm] main doc text \page \setuplayout[appendix] appendix text \page \setuplayout % revert to normal one rest of doc Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mfonts.tex
Hans, Steve, Adam et al, OK. Subversion installaed. Download the manual tree. I am in the fonts subdirectory with: fonts $ ls demofont.afmdemofont.mapdemofont.texmfonts.tex typeface.tex demofont.datdemofont.pfbmfonts.rb showfont.tex Baby steps. But successful ones. Just the way I like to work. :-) Now, I want to compile mfonts.tex. Ruby is on my system (Mac Tiger). fonts $ which ruby /usr/bin/ruby I am looking in mfonts.rb: fonts $ cat mfonts.rb # usage: runtools mfonts.rb # # copyright=pragma-ade readme=readme.pdf licence=cc-gpl job = Job.new # [, --sla=.167, --ext=1.50, --cap=.750].each do |option| # job.execute_command(texmfstart texfont --ve=test --co=test -- ma --in #{option} demofont) # end job.execute_command(texmfstart texfont --ve=test --co=test --ma --in demofont.dat) I imagine this is where I should start? I try: fonts $ ruby mfonts.rb mfonts.rb:5: uninitialized constant Job (NameError) I know little to nothing about Ruby, and less about texmfstart. So, what do I do next? On Nov 21, 2005, at 10:41 AM, Adam Lindsay wrote: David Arnold said this at Mon, 21 Nov 2005 09:58:39 -0800: Hans, Steve, et al, OK. I have subversion client installed. Now what? What commands will download what I need? Presuming you're in a directory where you want the stuff (and svn is in your path, etc): svn checkout svn://ctx.pragma-ade.nl/manuals (the first time: it creates a manuals subdirectory and populates it with further subdirectories from the server. It also makes a hidden manuals/.svn directory with enough metadata that you can forget the URL and update with simply: ) svn update (all subsequent times) (parenthetically,) adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] texfont confusion
All, I've used svn to download the manuals and I'm in the font manual directory. I cannot get this command to do anything: fonts $ sudo texfont --vendor=test --collection=test --makepath -- install --batch demofont.dat TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004 processing batch file : demofont.dat But this command does do something: fonts $ sudo texfont --vendor=test --collection=text --makepath -- install demofont TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004 mktexlsr: Updating /usr/local/teTeX/share/texmf.local/ls-R... mktexlsr: Done. encoding vector : texnansi vendor name : test source path : . font collection : text texmf font root : /usr/local/tetex/share/texmf.local pdftex map file : texnansi-test-text.map source path : . processing files : all in pattern demofont locating afm files : using pattern ./demofont.afm locating afm files : using pattern demofont copying files : afm copying : demofont.afm copying files : pfb copying : demofont.pfb extending map file : /usr/local/teTeX/share/texmf.local/fonts/ map/pdftex/context/texnansi-test-text.map font identifier : Iwona-Regular - text - tfm + vf generating raw tfm/vpl : texnansi-raw-demofont (from demofont) generating new vf : texnansi-demofont (from texnansi-raw-demofont) updating map file : texnansi-test-text.map generating : ls-r databases mktexlsr: Updating /usr/local/teTeX/share/texmf.local/ls-R... mktexlsr: Done. What gives? Secondly, you see my typo? That is, --collection=text. So, now I want to know how to repair the damage. Can I remove this with texfont? Or do I have to go to all the individual places and remove manually files and directories. And what command do I type after this manual deletion? David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Palatino
All, Can someone give me a short test file to see if palatino will work on my system (GWTeX and Tiger). David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Math typescript question
Hi all, I have created a typescript for one of that defines the Utopia expert font along with a few others and tries to make use of the Fourier math font. The use of my own 'Utopia' typescript is largely historical but it is also that the default one with ConTeXt seems a little off (missing headline/display but defines some variants that Linotype is unaware of?). In any case, below is what I have to define the math section but I'm getting some rather strange results with it. In particular, I'm not getting the correct sized parantheses when using '\left(' or '\biggl(' and math accent characters ( i.e. '\hat' and '\dot') are not above the character, but in the middle of it. I don't really know if this is the best way to define a math font within a typescript but it seems to get me most of the way there. NB, it is based on some of Adam's Euler typescript. Any and all help is greatly appreciated.Cheers,Randall--- typescript ---% % Math% \loadmapfile[fourier.map]%% Taken from type-enc.tex\starttypescript [math] [utopia] [default,ec] \definefontsynonym [Fourier-Math-Letters] [futr8t] [encoding=ec] \definefontsynonym [Fourier-Math-Other-Letters] [futmi] \definefontsynonym [Fourier-Math-Letters-Italic] [futmii] \definefontsynonym [Fourier-Math-Symbols] [futsy] \definefontsynonym [Fourier-Math-Extension] [fourier-mex]\stoptypescript\starttypescript [boldmath,bfmath] [utopia] [default,ec] \definefontsynonym [Fourier-Math-Letters-Bold] [futb8t] [encoding=ec] \definefontsynonym [Fourier-Math-Other-Letters-Bold] [futmib] \definefontsynonym [Fourier-Math-Letters-Italic-Bold] [futmiib] \definefontsynonym [Fourier-Math-Symbols] [futsy] \definefontsynonym [Fourier-Math-Extension] [fourier-mex] \stoptypescript% Taken from type-syn.tex\starttypescript [math] [utopia] [name] \definefontsynonym [MathRoman] [Fourier-Math-Letters] \definefontsynonym [MathGamma] [Fourier-Math-Other-Letters] \definefontsynonym [MathItalic] [Fourier-Math-Letters-Italic] \definefontsynonym [MathSymbol] [Fourier-Math-Symbols] \definefontsynonym [MathExtension] [Fourier-Math-Extension]\stoptypescript \starttypescript [math] [utopia] [name] % todo \definefontsynonym [OldStyle] [Serif-OldStyle] % strange, no oldstyles \definefontsynonym [Fraktur] [eufm10] \definefontsynonym [Blackboard] [msbm10] \definefontsynonym [Gothic] [eufm10] \definefontsynonym [Calligraphic] [eusm10]\stoptypescript\starttypescript [boldmath] [utopia] [name] \definefontsynonym [MathRoman] [Fourier-Math-Letters-Bold] \definefontsynonym [MathGamma] [Fourier-Math-Other-Letters-Bold] \definefontsynonym [MathItalic] [Fourier-Math-Letters-Italic-Bold] \definefontsynonym [MathSymbol] [Fourier-Math-Symbols] \definefontsynonym [MathExtension] [Fourier-Math-Extension] \stoptypescript\starttypescript [bfmath] [utopia] [name] \definefontsynonym [MathRomanBold] [Fourier-Math-Letters-Bold] \definefontsynonym [MathGammaBold] [Fourier-Math-Other-Letters-Bold] \definefontsynonym [MathItalicBold] [Fourier-Math-Letters-Italic-Bold] \definefontsynonym [MathSymbolBold] [Fourier-Math-Symbols] \definefontsynonym [MathExtensionBold] [Fourier-Math-Extension]\stoptypescript % Taken from type-exa.tex\starttypescript [Utopia,UtopiaBfm] \definetypeface [Utopia] [rm] [serif] [utopia] [default] \definetypeface [Utopia] [tt] [mono] [utopia] [default] \definetypeface [Utopia] [ss] [sans] [utopia] [default] \stoptypescript\starttypescript [Utopia] \definetypeface [Utopia] [mm] [math] [utopia] [default]\stoptypescript\starttypescript [UtopiaBoldMath] \definetypeface [UtopiaBoldMath] [rm] [serif] [utopia] [default] \definetypeface [UtopiaBoldMath] [tt] [mono] [utopia] [default] \definetypeface [UtopiaBoldMath] [ss] [sans] [utopia] [default] \definetypeface [UtopiaBoldMath] [mm] [boldmath] [utopia] [default] \stoptypescript\starttypescript [UtopiaBfm,UtopiaBoldMath] \definetypeface [Utopia] [mm] [bfmath] [utopia] [default] \definetypeface [UtopiaBoldMath] [mm] [bfmath] [utopia] [default]\stoptypescript \starttypescript [Utopia,UtopiaBfm,UtopiaBoldMath] \usemathcollection[fou]\stoptypescript% Taken from type-spe.tex\starttypescript [math,boldmath] [utopia] [special] \usemathcollection[fou] \stoptypescript%% Default typescript%\starttypescript [Utopia] \definetypeface [Utopia] [rm] [serif] [utopia] [default] [encoding=texnansi] \definetypeface [UtopiaExpert] [rm] [serif] [utopia-expert] [default] [encoding=texnansi] \definetypeface [UtopiaOldStyle] [rm] [serif] [utopia-oldstyle] [default] [encoding=texnansi] \definetypeface [UtopiaTitling] [rm] [serif] [utopia-titling] [default] [encoding=texnansi] \definetypeface [Syntax] [ss] [sans] [syntax] [default] [encoding=texnansi] \definetypeface [LetterGothic] [ss] [sans] [lettergothic] [default] [encoding=texnansi]\stoptypescript ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context