Re: [NTG-context] automatic oldstyle numerals
2007/7/3, Wolfgang Schuster [EMAIL PROTECTED]: 2007/7/3, Alan Bowen [EMAIL PROTECTED]: Wolfgang— When I run your termes-test-2.tex, with the lines \starttext 0123456789 \rm Text---fix this scientifically \rm Text---fix this scientifically \rm Text---fix this scientifically \rm Text---fix this scientifically \stoptext I get the oldstyle numerals (which is great), but the fis in fix and scientifically are not printed but left blank. Alan I will take a look into the files, it is a problem with the ligatures. Wolfgang Hi Alan, you can now choose one of three options: - you can use the attached map-file and use the opentype version from the termes fonts - I can send you the type1 fonts, I got from otftotfm with the map file - you can create your tfm files from the type1 fonts included in the termes package Wolfgang texnansi-termes.map Description: Binary data ___ 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] Natural TABLE does not split with \placetable
Can you give an example ? -- luigi If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ 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] Why does every new \setupTABLE add more whitespace to the left of table?
Not exactly. I only framed it in order to demonstrate my problem. You may encounter it even when you don't explicitly frame the table. I became aware of it when I noticed that my legends under the table were slightly off to the left. That means that the code that joins the legend to the table must put an invisible frame around the table. On 7/4/07, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/7/3, Hamid Kamrani [EMAIL PROTECTED]: Got it. Thanks. I didn't know that the chars after setupTABLE could disturb the alignment. only in horizontal mode, e.g. in \hbox or \framed 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 ___ ___ 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] Why does every new \setupTABLE add more whitespace to the left of table?
2007/7/4, Hamid Kamrani [EMAIL PROTECTED]: Not exactly. I only framed it in order to demonstrate my problem. You may encounter it even when you don't explicitly frame the table. I became aware of it when I noticed that my legends under the table were slightly off to the left. That means that the code that joins the legend to the table must put an invisible frame around the table. \starttext \showframe \startbuffer \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \bTABLE \bTR\bTD text \eTD\eTR \eTABLE \stopbuffer % vertical mode \getbuffer % horizontal mode \dontleavehmode\getbuffer \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] whitespace in framedtext
2007/7/3, John R. Culleton [EMAIL PROTECTED]: On Tuesday 03 July 2007 04:20, Patrick Gundlach wrote: Hello Hans, I would like to shrink the whitespace at the top and the bottom of a framedtext. Like thus: not this but this -- -- || | abcd || | | | | abcd | | abcd | | abcd | | | | | || || -- -- I have tried a lot of things with [before, after, top, bottom]. Although [depthcorrection=off] shaves somewhat off the whitespace, it is not much nor am I sure if this is on the right track; and it is not parametrized. Someone knows the trick? perhaps with an overlay? -- \def\TightFrame {\startoverlay {\framed[width=\overlaywidth,height=\dimexpr(\overlayheight - 5ex)]{}}{}\stopoverlay} \defineoverlay[TightFrame][\TightFrame] \starttext \startframedtext [background=TightFrame,frame=off] Hallo Welt \input tufte \input knuth \stopframedtext \stoptext First I woud try just a negative \vskip thus: \vskip -10pt I know we are not supposed to use \vskips in Context except when enclosed by \startstandardmakeup \stopstandardmakeup But I use them and thus far there have been no terrible bad effects. If you use \vskip and the sky falls in then there are the more complex but safer methods such as the one outlined by Patrick G. -- John Culleton why should we avoid primtives in ConTeXt, I see no problem to use them as long as you know what you do. \starttext \startframedtext[offset=2cm,top=\vskip-1cm\relax,bottom=\vskip-1cm\relax] \input knuth \stopframedtext \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Why does every new \setupTABLE add more whitespace to the left of table?
This is what I meant: \starttext \startbuffer \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[r][1][topframe=on,bottomframe=on] \bTABLE \bTR\bTD \input knuth \relax \eTD\eTR \eTABLE \stopbuffer % vertical mode \getbuffer % horizontal mode %\dontleavehmode\getbuffer \placetable[frame=off] {whow} {\placelegend[align={right}] {\dontleavehmode\getbuffer} {NOTE: hmode or not hmode the legend is still off to the left} } \stoptext On 7/4/07, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/7/4, Hamid Kamrani [EMAIL PROTECTED]: Not exactly. I only framed it in order to demonstrate my problem. You may encounter it even when you don't explicitly frame the table. I became aware of it when I noticed that my legends under the table were slightly off to the left. That means that the code that joins the legend to the table must put an invisible frame around the table. \starttext \showframe \startbuffer \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \bTABLE \bTR\bTD text \eTD\eTR \eTABLE \stopbuffer % vertical mode \getbuffer % horizontal mode \dontleavehmode\getbuffer \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 ___ ___ 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] Natural TABLE does not split with \placetable
Can you give an example ? i am cutting and pasting this from Wolfgang. He suggested using the split option and it works. \starttext \placetable [split] {Splitted table} {\bTABLE \dorecurse{100}{\bTR\bTD text\eTD\eTR} \eTABLE} \stoptext * luigi scarso [EMAIL PROTECTED] [2007-07-04 09:08:53 +0200]: Can you give an example ? -- luigi If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ 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 ___ -- Saji N. Hameed APEC Climate Center +82 51 668 7470 National Pension Corporation Busan Building 12F Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 [EMAIL PROTECTED] KOREA ___ 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] Natural TABLE does not split with \placetable
Thanks very much. saji * Wolfgang Schuster [EMAIL PROTECTED] [2007-07-04 07:47:48 +0200]: 2007/7/4, Saji Njarackalazhikam Hameed [EMAIL PROTECTED]: Hi, I am using Natural Tables to typeset a rather long table. If I embed the table within a \placetable[][]{}{\bTABLE \eTABLE}, I cannot get the table to spread over multiple pages. The table extends over multiple pages, if I do not embed it within \placetable. Can somebody help? I am using the latest version of context ( i believe ) : texexec --version TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD saji -- Saji N. Hameed \starttext \placetable [split] {Splitted table} {\bTABLE \dorecurse{100}{\bTR\bTD text\eTD\eTR} \eTABLE} \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 ___ -- Saji N. Hameed APEC Climate Center +82 51 668 7470 National Pension Corporation Busan Building 12F Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 [EMAIL PROTECTED] KOREA ___ 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] Post-processing ConTeXt's output for text search
Hello list, I would like to implement online text search of a book I'm publishing with ConTeXt now, however, without making the book itself available online, something like the snippet view in text search on Google Books site. I don't even need snippet view, just page numbers would be sufficient for the beginning. I am not asking for complete solution, of course, rather an advice on direction in which to go. May first vague idea is following: to make queries fast I think it would be useful to obtain a list of words with numbers of pages on which they appear, something very similar to plain index. So perhaps it would be possible to force indexing engine to treat every word in text as if it was an argument of \index command and split out a list in text format which it would be easy to feed into a database. This is just a blind guess which is far from perfect by design, only something that seems easiest to implement. Please, tell me what other approaches would be more promising. Thanks in advance Piotr -- Piotr Kopszak, Ph.D. Polish Art Gallery, National Museum in Warsaw -http://kopszak.mnw.art.pl/ http://www.magnatune.com/artists/altri_stromenti ___ 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] Why does every new \setupTABLE add more whitespace to the left of table?
2007/7/4, Hamid Kamrani [EMAIL PROTECTED]: This is what I meant: \starttext \startbuffer \startsetups table \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[r][1][topframe=on,bottomframe=on] \bTABLE \bTR\bTD \input knuth \relax \eTD\eTR \eTABLE \stopbuffer \stopsetups % vertical mode \getbuffer % horizontal mode %\dontleavehmode\getbuffer \placetable[frame=off] {whow} {\placelegend[align={right}] {\dontleavehmode\getbuffer} {\setups{table}} % the second argument is a hbox {NOTE: hmode or not hmode the legend is still off to the left} } \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Post-processing ConTeXt's output for text search
Hi, you could split your pdf into separate pages, use an full-text search engine such as swish-e to index each of the pages and store the results together with the pagenumber (from the splitted pages). IMO this would be the easiest thing. Patrick ___ 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] mathcal
Le 04 juillet à 07:42:30 Wolfgang Schuster [EMAIL PROTECTED] écrit notamment: | 2007/7/3, Jean Magnan de Bornier [EMAIL PROTECTED]: | Hi all, | With \usemodule[amsl], I get un error when using \mathcal: | .. | recently read \mathcal | | l.187 loterie $\mathcal | {L}$, $R'$, sont égaux. | .. | Should it not supposedly work? | (Context last version) | tia, | -- | Jean | ConTeXt provides his own commands for fonts in math mode and did | not use LaTeX names. You can use the following commands: | - \fraktur or \frak#1 | - \gothic or \goth#1 | - \calligraphic or \cal | - \blackboard or \bbd | Wolfgang [...] That's exactly what I needed, thanks a lot Wolfgang; I was being maybe too confident in this: http://wiki.contextgarden.net/Math_with_amsl cheers -- Jean ___ 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] pragma?
Hallo! I can not get pragma ade website any longer: (pragma-ade.com expired on 06/28/2007 and is pending renewal or deletion) Is there an other place to download a current beta? Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] pragma?
I can not get pragma ade website any longer: (pragma-ade.com expired on 06/28/2007 and is pending renewal or deletion) Is there an other place to download a current beta? The main page on the wiki lists two mirrors: Tacos and mine. http://context.aanhet.net/download-1.htm http://mirror.contextgarden.net/download-1.htm Patrick ___ 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] pragma?
2007/7/4, Wolfgang Werners-Lucchini [EMAIL PROTECTED]: Hallo! I can not get pragma ade website any longer: (pragma-ade.com expired on 06/28/2007 and is pending renewal or deletion) Is there an other place to download a current beta? Wolfgang http://pragma-ade.nl/ http://context.aanhet.net/ http://mirror.contextgarden.net/ contextgarden has a site for links: http://wiki.contextgarden.net/Web_resources Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] pragma?
Hallo Hallo Wolfgang, I can not get pragma ade website any longer: Try pragma-ade.nl Gr, Jelle ___ 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] pragma?
Wolfgang Werners-Lucchini schrieb: Hallo! I can not get pragma ade website any longer: (pragma-ade.com expired on 06/28/2007 and is pending renewal or deletion) Is there an other place to download a current beta? http://context.aanhet.net/download-2.htm 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 ___ ___ 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] Itemize problem
Should I downgrade to an older Context version, or is there a fix available ? TIA Wim Hamid Kamrani wrote: This happens on live context too. Itemize starts with 0 in some situations. You can create the problem with: ___ 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] pragma?
On 7/4/07, Wolfgang Werners-Lucchini [EMAIL PROTECTED] wrote: Hallo! I can not get pragma ade website any longer: (pragma-ade.com expired on 06/28/2007 and is pending renewal or deletion) Is there an other place to download a current beta? hmm,true. Try www.pragma-ade.nl or see mirrors at wiki. -- luigi If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ 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] automatic oldstyle numerals
Hi, Wolfgang— First, many thanks for resolving the ligature problem. The test-files (and my current project) are looking as they should. Let me try generating the type1 files and so forth on my own using otftotfm. I have not used otftotfm before and probably should learn about it. Very best, Alan On Jul 4, 2007, at 2:15 AM, Wolfgang Schuster wrote: 2007/7/3, Wolfgang Schuster [EMAIL PROTECTED]: 2007/7/3, Alan Bowen [EMAIL PROTECTED]: Wolfgang— When I run your termes-test-2.tex, with the lines \starttext 0123456789 \rm Text---fix this scientifically \rm Text---fix this scientifically \rm Text---fix this scientifically \rm Text---fix this scientifically \stoptext I get the oldstyle numerals (which is great), but the fis in fix and scientifically are not printed but left blank. Alan I will take a look into the files, it is a problem with the ligatures. Wolfgang Hi Alan, you can now choose one of three options: - you can use the attached map-file and use the opentype version from the termes fonts - I can send you the type1 fonts, I got from otftotfm with the map file - you can create your tfm files from the type1 fonts included in the termes package Wolfgang texnansi-termes.map __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] pragma?
Wolfgang Werners-Lucchini wrote: Hallo! I can not get pragma ade website any longer: (pragma-ade.com expired on 06/28/2007 and is pending renewal or deletion) looks like our provider forgot to arrange that Is there an other place to download a current beta? pragma-ade.nl Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] typescript / variants question
Hi, I use oldstyle digits with a typescript using variants such as \Var[osf] to get oldstyle digits. How do I get _all_ digits, including the page number in oldstyle? \setuppagenumbering[style={\Var[osf]}] would be a solution, but it looks more like a hack - I'd like to have a complete setup. This is my typescript: -- \starttypescript [map] [termes] [texnansi] \loadmapfile [termes.map] \stoptypescript \starttypescript [serif] [termes] [name] \definefontsynonym [Serif] [TeXGyreTermes-Regular] \definefontsynonym [SerifCaps] [TeXGyreTermes-RegularCaps] \definefontsynonym [SerifBold] [TeXGyreTermes-Bold] \definefontsynonym [SerifBoldCaps] [TeXGyreTermes-BoldCaps] \definefontsynonym [SerifItalic] [TeXGyreTermes-Italic] \definefontsynonym [SerifItalicCaps] [TeXGyreTermes-ItalicCaps] \definefontsynonym [SerifBoldItalic] [TeXGyreTermes-BoldItalic] \definefontsynonym [SerifBoldItalicCaps] [TeXGyreTermes-BoldItalicCaps] \definefontsynonym [SerifRegularOsF] [TeXGyreTermes-RegularOsF] \definefontsynonym [SerifBoldOsF] [TeXGyreTermes-BoldOsF] \definefontsynonym [SerifItalicOsF] [TeXGyreTermes-ItalicOsF] \definefontsynonym [SerifBoldItalicOsF] [TeXGyreTermes-BoldItalicOsF] \definefontvariant [Serif][osf][OsF] \definefontsynonym [SerifRegular] [Serif] \stoptypescript \starttypescript [serif] [termes] [texnansi] \definefontsynonym [TeXGyreTermes-Regular] [TeXGyreTermes-Regular--texnansi--Fkern--Fliga] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-RegularCaps] [TeXGyreTermes-Regular--texnansi--Fkern--Fliga--Fsmcp] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-Bold] [TeXGyreTermes-Bold--texnansi--Fkern--Fliga] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-BoldCaps] [TeXGyreTermes-Bold--texnansi--Fkern--Fliga--Fsmcp] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-Italic] [TeXGyreTermes-Italic--texnansi--Fkern--Fliga] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-ItalicCaps] [TeXGyreTermes-Italic--texnansi--Fkern--Fliga--Fsmcp] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-BoldItalic] [TeXGyreTermes-BoldItalic--texnansi--Fkern--Fliga] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-BoldItalicCaps] [TeXGyreTermes-BoldItalic--texnansi--Fkern--Fliga--Fsmcp] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-RegularOsF] [TeXGyreTermes-Regular--texnansi--Fkern--Fliga--Fonum] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-BoldOsF] [TeXGyreTermes-Bold--texnansi--Fkern--Fliga--Fonum] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-ItalicOsF] [TeXGyreTermes-Italic--texnansi--Fkern--Fliga--Fonum] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-BoldItalicOsF] [TeXGyreTermes-BoldItalic--texnansi--Fkern--Fliga--Fonum] [encoding=texnansi] \stoptypescript \starttypescript [termes] \definetypeface [termes][rm][serif] [termes][default][encoding=texnansi] \stoptypescript -- and this is my example file: -- \preloadtypescripts \setupencoding[default=texnansi] \usetypescriptfile[type-termes] \usetypescript[termes] \definetypeface [sample][rm][serif][termes][default][encoding=texnansi] \definebodyfontenvironment [termes][14pt][interlinespace=20pt] \setupbodyfont[sample,serif,14pt] \enableregime[utf-8] \setuptolerance [tolerant] \starttext \input tufte 0123456789 \Var[osf] \input tufte 0123456789 \stoptext -- Patrick ___ 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] Version Information on each page of text
Hi, I'd like to put the phrase Version: Fall 2007 on each page of our intermediate algebra textbook. On even-numbered pages, I'd like to put it in the lower left corner of the page, in odd-numbered pages, I'd like it in the lower right corner of the page. I'd like it to be well below the area where footnotes are posted so as not to interfere with foonotes. Any suggestions? ___ 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] postponefootnotes
hello all: If I use: \postponefootnotes a table \flushfootnotes to use footnotes in a table, works fine, but I have problems in the following chapters, the text flow diferent. Is the a way to reset \postponefootnotes? and is necesary? thankyou in advance. Horacio Suarez Editotrial Antropofagia www.eantropofagia.com.ar _ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ___ 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] We have a problem --- Old file no longer compiles
Hi, In setting out to update our intermediate algebra textbook for the fall semester (http://msenux.redwoods.edu/IntAlgText/), I've found that a file that would formerly compile under a previous version of context will no longer compile. Preliminaries $ ctxtools --contextversion CtxTools | context version: 2007.06.06 09:53 (/usr/local/gwTeX/ texmf.local/tex/context/base/context.tex) CtxTools | context version: 2007.06.06 09:53 (/usr/local/gwTeX/ texmf.local/tex/context/base/cont-new.tex) Preliminaries $ texmfstart texexec --version TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD The error message I receive is: textblocks : reading blocks from NumberSystemsExercises.tub (./NumberSystemsExercises.tub textblocks : shortanswer loaded and typeset textblocks : shortanswer loaded and processed textblocks : shortanswer loaded and typeset textblocks : shortanswer loaded and processed textblocks : shortanswer loaded and typeset textblocks : shortanswer loaded and processed textblocks : shortanswer loaded and typeset textblocks : shortanswer loaded and processed textblocks : shortanswer loaded and typeset ! Missing number, treated as zero. to be read again \relax \dogenfrac ...{\begingroup #4\endgroup #2#3\relax #5}} \mathematics #1-\relax \ifmmode #1 \else $#1$\fi l.216 $ \frac{81}{125} $ ? The point in the source that seems to cause the difficulty is: \noindent In \in{Exercises}[ex:secqu.9]-\in[ex:secqu.16], convert the given decimal to a fraction. % Exercise #9 \beginquestion \startquestion[ex:secqu.9] $0.648$ \stopquestion \endquestion \beginlonganswer \startanswer There are three decimal places, so $0.648=\frac{648}{1000}=\frac{81}{125}$. \stopanswer \endlonganswer \beginshortanswer \startanswer $\displaystyle \frac{81}{125}$ \stopanswer \endshortanswer Shortanswer and longanswer are blocks. Startanswer is an enumeration. I've tried this in other files and gotten similar errors, which seem to be tied to the frac command. Can anyone help? ___ 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] We have a problem --- Old file no longer compiles
Here is another example, this time not within a block, but within an enumeration again: The source: \startproperty Let $a$ and $b$ be any numbers such that $a=b$. Then, if $c$ is any number other than zero, \placeformula[-] \startformula ac=bc.\index{equations+multiplication} \stopformula If $c$ is any number other than zero, then \placeformula[-] \startformula \frac ac=\frac bc.\index{equations+division} \stopformula \stopproperty Where property is defined: \defineframedtext[MyBox] \definemeasure[BoxWidth][\textwidth] \defineblank[BoxBlank][medium] \setupframedtexts [MyBox] [width=\measure{BoxWidth}, before={\blank[BoxBlank]}, after={\blank[BoxBlank]}, background=color, frame=no, location=middle] \setuplabeltext[property=Property] \defineenumeration [Default] [location=serried, width=broad, text=\labeltext{}, headstyle=bold, inbetween=\blank, before=\blank, after=\blank, way=bysection, sectionnumber=no, number=yes, right=.] \defineenumeration [property] [Default] [text=\labeltext{property}, before={\startMyBox[backgroundcolor=lavender]}, after=\stopMyBox, way=bysection, sectionnumber=no] And the error. Again, the \frac command seems to be the culprit. (./EquationsSection.tuo) [1.15] [MP to PDF] (./EquationsSection- mpgraph.1) [2.16] [3.17] ! Missing number, treated as zero. to be read again \relax \dogenfrac ...{\begingroup #4\endgroup #2#3\relax #5}} \mathematics #1-\relax \ifmmode #1 \else $#1$\fi l.275 \frac ac =\frac bc.\index{equations+division} ? On Jul 4, 2007, at 12:30 PM, David Arnold wrote: Hi, In setting out to update our intermediate algebra textbook for the fall semester (http://msenux.redwoods.edu/IntAlgText/), I've found that a file that would formerly compile under a previous version of context will no longer compile. Preliminaries $ ctxtools --contextversion CtxTools | context version: 2007.06.06 09:53 (/usr/local/gwTeX/ texmf.local/tex/context/base/context.tex) CtxTools | context version: 2007.06.06 09:53 (/usr/local/gwTeX/ texmf.local/tex/context/base/cont-new.tex) Preliminaries $ texmfstart texexec --version TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD The error message I receive is: textblocks : reading blocks from NumberSystemsExercises.tub (./NumberSystemsExercises.tub textblocks : shortanswer loaded and typeset textblocks : shortanswer loaded and processed textblocks : shortanswer loaded and typeset textblocks : shortanswer loaded and processed textblocks : shortanswer loaded and typeset textblocks : shortanswer loaded and processed textblocks : shortanswer loaded and typeset textblocks : shortanswer loaded and processed textblocks : shortanswer loaded and typeset ! Missing number, treated as zero. to be read again \relax \dogenfrac ...{\begingroup #4\endgroup #2#3\relax #5}} \mathematics #1-\relax \ifmmode #1 \else $#1$\fi l.216 $ \frac{81}{125} $ ? The point in the source that seems to cause the difficulty is: \noindent In \in{Exercises}[ex:secqu.9]-\in[ex:secqu.16], convert the given decimal to a fraction. % Exercise #9 \beginquestion \startquestion[ex:secqu.9] $0.648$ \stopquestion \endquestion \beginlonganswer \startanswer There are three decimal places, so $0.648=\frac{648}{1000}=\frac{81}{125}$. \stopanswer \endlonganswer \beginshortanswer \startanswer $\displaystyle \frac{81}{125}$ \stopanswer \endshortanswer Shortanswer and longanswer are blocks. Startanswer is an enumeration. I've tried this in other files and gotten similar errors, which seem to be tied to the frac command. Can anyone help? __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki
[NTG-context] postponefootnotes
everybody can forget my last mail. I was crazy at that moment. anyway, it seems to be true that \postponefootnote afects text flow. I use \postponefootnote in a chapter and the next chapter text flow changes if I comment out or not \postponefootnote. There are 3 situations that affect in diferent way the text flow in the next chapter: Not to use \postponefootnote Use \postponefootnote before \bTABLE Use \postponefootnote after \bTABLE in a cell inmediatly before \footnote Is this correct? Thankyou for your patient Horacio Suarez Editotrial Antropofagia www.eantropofagia.com.ar _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ 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] mathcal
On Wed, 4 Jul 2007, Jean Magnan de Bornier wrote: That's exactly what I needed, thanks a lot Wolfgang; I was being maybe too confident in this: http://wiki.contextgarden.net/Math_with_amsl I think that amsl module is not really needed now. ConTeXt has most (all?) features provided by amsl. Have a look at http://dl.contextgarden.net/myway/mathalign.pdf http://dl.contextgarden.net/myway/context-latex-math.pdf Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Version Information on each page of text
On Wed, 4 Jul 2007, David Arnold wrote: Hi, I'd like to put the phrase Version: Fall 2007 on each page of our intermediate algebra textbook. On even-numbered pages, I'd like to put it in the lower left corner of the page, in odd-numbered pages, I'd like it in the lower right corner of the page. I'd like it to be well below the area where footnotes are posted so as not to interfere with foonotes. Any suggestions? See the documentation for \setupfootertexts and \setupbottomtexts Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] We have a problem --- Old file no longer compiles
On Wed, 4 Jul 2007, David Arnold wrote: Here is another example, this time not within a block, but within an enumeration again: The newmat module seems to be the culprit. After loading newmat add \unexpanded\def\frac#1#2{\mathematics{\genfrac{}{}{}\donothing{#1}{#2}}} and it should work fine. I do not really understand why this is failing. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] We have a problem --- Old file no longer compiles
On Wed, 4 Jul 2007, Aditya Mahajan wrote: On Wed, 4 Jul 2007, David Arnold wrote: Here is another example, this time not within a block, but within an enumeration again: The newmat module seems to be the culprit. After loading newmat add \unexpanded\def\frac#1#2{\mathematics{\genfrac{}{}{}\donothing{#1}{#2}}} and it should work fine. I do not really understand why this is failing. Ok. The third argument of \genfrac should be {} and not \empty, otherwise \ifx @#3@ in \genfrac evaluates to false. So, either we need to change \ifx @#3@ to something more robust, or revert back to older definitions of (d|t)frac. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] We have a problem --- Old file no longer compiles
Aditya, Thanks for the reply. As far as I know, we don't explicitly import newmat in our environment files: trunk $ grep usemodule * bookenv-clean1-base.tex:\usemodule[math-ext] bookenv-clean1-colors.tex:\usemodule[colors] As you can see, we do use the module math-ext. On Jul 4, 2007, at 2:57 PM, Aditya Mahajan wrote: On Wed, 4 Jul 2007, David Arnold wrote: Here is another example, this time not within a block, but within an enumeration again: The newmat module seems to be the culprit. After loading newmat add \unexpanded\def\frac#1#2{\mathematics{\genfrac{}{}{}\donothing{#1} {#2}}} and it should work fine. I do not really understand why this is failing. Aditya __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ 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] We have a problem --- Old file no longer compiles
On Wed, 4 Jul 2007, David Arnold wrote: On Jul 4, 2007, at 2:57 PM, Aditya Mahajan wrote: On Wed, 4 Jul 2007, David Arnold wrote: Here is another example, this time not within a block, but within an enumeration again: The newmat module seems to be the culprit. After loading newmat add \unexpanded\def\frac#1#2{\mathematics{\genfrac{}{}{}\donothing{#1} {#2}}} and it should work fine. I do not really understand why this is failing. Aditya, Thanks for the reply. As far as I know, we don't explicitly import newmat in our environment files: trunk $ grep usemodule * bookenv-clean1-base.tex:\usemodule[math-ext] bookenv-clean1-colors.tex:\usemodule[colors] As you can see, we do use the module math-ext Firstly, you do not use to explicitly use math-ext. AFAIU, it is included automatically. Secondly, something in your setup is including newmat, because \dogenfrac is defined in newmat. Look into the log file or the tui file for newmat. If newmat is not being loaded, then something strange is happening. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] typescript / variants question
2007/7/4, Patrick Gundlach [EMAIL PROTECTED]: Hi, I use oldstyle digits with a typescript using variants such as \Var[osf] to get oldstyle digits. How do I get _all_ digits, including the page number in oldstyle? \setuppagenumbering[style={\Var[osf]}] would be a solution, but it looks more like a hack - I'd like to have a complete setup. This is my typescript: -- \starttypescript [map] [termes] [texnansi] [...] \stoptypescript -- and this is my example file: -- [...] Patrick Hi Patrick, this was answered only a few days ago in the thread ,,automatic oldstyle numerals`` http://www.ntg.nl/pipermail/ntg-context/2007/025795.html Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] We have a problem --- Old file no longer compiles
Yes, it is getting loaded: system : module newmat loaded Turns out it's not in our style files, but in the exercise file that I am compiling: \startcomponent NumberSystemsExercises \project book \product Preliminaries/PreliminariesChapter \usemodule[newmat] \usemodule[math-ext] \usemodule[fig-base] \usefigurebase[figures/figlibNumberSystemsExercises] On Jul 4, 2007, at 10:02 PM, Aditya Mahajan wrote: On Wed, 4 Jul 2007, David Arnold wrote: On Jul 4, 2007, at 2:57 PM, Aditya Mahajan wrote: On Wed, 4 Jul 2007, David Arnold wrote: Here is another example, this time not within a block, but within an enumeration again: The newmat module seems to be the culprit. After loading newmat add \unexpanded\def\frac#1#2{\mathematics{\genfrac{}{}{}\donothing{#1} {#2}}} and it should work fine. I do not really understand why this is failing. Aditya, Thanks for the reply. As far as I know, we don't explicitly import newmat in our environment files: trunk $ grep usemodule * bookenv-clean1-base.tex:\usemodule[math-ext] bookenv-clean1-colors.tex:\usemodule[colors] As you can see, we do use the module math-ext Firstly, you do not use to explicitly use math-ext. AFAIU, it is included automatically. Secondly, something in your setup is including newmat, because \dogenfrac is defined in newmat. Look into the log file or the tui file for newmat. If newmat is not being loaded, then something strange is happening. Aditya __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ 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 ___