Re: [NTG-context] Unicode error in embedded metapost
On Sep 24, 2007, at 11:58 PM, Maurí cio wrote: Hi, This small piece of code gives me a wrong result: \startuseMPgraphic{teste} z7 = (5cm,0); label.lrt(Pontão,z7); \stopuseMPgraphic I just have to change 'btex Pont\~ao etex' for 'Pontão' and everything goes fine. Best, Maurício \enableregime[utf] \starttext \startuseMPgraphic{teste} z7 = (5cm,0); label(\sometxt{Pontão},z7); \stopuseMPgraphic \useMPgraphic{teste} \stoptext http://dl.contextgarden.net/myway/sometxt.pdf http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl HTH Thomas ___ 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] colors in luatex
Hi, this minimal example compiles fine in mkii: \setupcolors[state=start] \starttext \starttabulate \startcolor[red] \NC One \NC A \NC \NR \NC Two \NC B \NC \NR \stopcolor \NC Three \NC C \NC \NR \stoptabulate \stoptext With mkiv, I get this error: ! Missing \endgroup inserted. inserted text \endgroup to be read again \endtemplate template \endtemplate \tabulatenormalcolumn #1- \iftabulateequal \tabulateequalpos \else \tabulat... \tabulatecontent -\par \startcolor [red] \NC One \NC A \NC \NR \NC Two \NC ... \fulltabulatecontent ...dcontent \tabulatecontent \tabulatetailcontent \remo... ... l.13 \stoptabulate Bug, or anything wrong with the code? Thomas ___ 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] colors in luatex
Thomas A. Schmitz wrote: Hi, this minimal example compiles fine in mkii: \setupcolors[state=start] \starttext \starttabulate \startcolor[red] \NC One \NC A \NC \NR \NC Two \NC B \NC \NR \stopcolor \NC Three \NC C \NC \NR \stoptabulate \stoptext well, with mkii you're just lucky, since this is not supposed to work anyway; you're mixing grouping models and it's pure luck if an aftergroup trick then injects the right egroup you need to switch inside the cells 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] presentation `s-pre-13' conflicts with `rsteps' module?
hello, I am making a presentation with `s-pre-13', and it seems module `rsteps' conflicts with it. use the example in t-rsteps.tex, but replace `pre-original' with 's-pre-13'. % BEGIN mini example \usemodule [pre-writing] \usemodule [rsteps] % interaction menu example: % page number with alphabetic subpage number \startinteractionmenu[bottom] \placelist[chapter] [alternative=bottom,criterium=all,pagenumber=no] \\ \pagenumber{\characters\subpagenumber}/\lastpagenumber \stopinteractionmenu \setupcolors[state=start] \SetupSteps[defaultsection=Subject] \starttext \startstandardmakeup \bfc Raw Steps Module \blank[big] \tfb Usage Examples \stopstandardmakeup \StartSteps [Simple stepping (step \noexpand\CurrentStepNumber)] First step. \NextStep Second step. \NextStep Third step. \AllSteps All steps. \StopSteps \StartSteps[Fancy stepping (step \noexpand\CurrentStepNumber)] \startitemize \OnSteps[1-3,5]{\item Steps 1, 2, 3 and 5.} \OnSteps[2-...]{\item From step 2.} \OnSteps[3]{\item Step 3.} \OnSteps[...-4]{\item Up to step 4.} \stopitemize \StopSteps \StartSteps[Highlighting (step \noexpand\CurrentStepNumber)] \startitemize \item \HighlightSteps[1,4]{Step 1.} \item \HighlightSteps[2] {Step 2.} \item \HighlightSteps[3] {Step 3.} \item \HighlightSteps[4] {Start over from Step 1.} \stopitemize \StopSteps \StartSteps[Equations] \placeformula[eq:divu] \startformula \vec\nabla\cdot\vec u = 0 \stopformula \placeformula[eq:NS] \startformula \frac{D\vec u}{Dt} = \OnSteps[2-...][reserve]{-{\red \frac1\rho \vec\nabla p}} \OnSteps[3-...][reserve]{+\;{\green \vec g}} \OnSteps[4-...][reserve]{+\;{\blue \frac1\rho \vec\nabla\cdot S}} \stopformula Incompressibility (\in{eq.}[eq:divu]). Momentum transport (\in{eq.}[eq:NS]): \startitemize \OnSteps[2-...]{\item {\red Pressure gradient}} \OnSteps[3-...]{\item {\green Gravity}} \OnSteps[4-...]{\item {\blue Stress (viscous, turbulent, Maxwell)}} \stopitemize \StopSteps \stoptext %END mini example The error is: [1.1] ! Missing \endcsname inserted. to be read again \@@koSubjectsection \countervalue #1-\ifcsname #1 \endcsname \csname #1\endcsname \fi \determineheadnumber [EMAIL PROTECTED] {\@@sectie } }\egroup \doStartSteps ...eheadnumber [EMAIL PROTECTED] ] \xdef [EMAIL PROTECTED] l.45 \StopSteps btw, please cc the replay to me, since I do not subscribe the list. Best Ruini ___ 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] Unicode error in embedded metapost
On 9/25/07, Thomas A. Schmitz wrote: On Sep 24, 2007, at 11:58 PM, Maurí cio wrote: Hi, This small piece of code gives me a wrong result: \startuseMPgraphic{teste} z7 = (5cm,0); label.lrt(Pontão,z7); Metapost can only handle very basic strings. Don't use Metapost for writing text. \stopuseMPgraphic I just have to change 'btex Pont\~ao etex' for 'Pontão' and everything goes fine. label(\sometxt{Pontão},z7); Indeed. Using \sometxt{...} is strongly recommended. btex ... etex behaves strange and consumes a considerable amount of extra time to compile your document. Mojca ___ 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] starttabulate questions
hmm, on Mon, Sep 24, 2007 at 07:52:00PM -0400, Aditya Mahajan said that Tabulate started as a mechanism to replace table, so the syntax was kept the same. Right now, tabulate does not implement vertical rules, so in the context of tabulate, having a last \NC seems redundant. As far as I understand, tabulate is supposed to ultimately backward compatible with table, and features will be added according to user demands or Hans needs. thanks for the great explanation. anybody writing a context book by a chance for publishing? :D Why do you expect them to be on different pages? If you want vertical space between the tables, you can add a \blank in between the tables. well, we could turn around that questin, couldn't we? why would i except them to be glued together? it's another object, why are they connected? i am not saying there should be a default whitespace between them, can be 0pt, but why are they glued together? -f -- i have nothing to say, but i can say it loudly. ___ 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] Publication layouts
Hello All, I am using the bib module to generate references. The manual tells me that the publication layouts are defined in the bibl-xxx files. I've got several of these (bibl-ams.tex, bibl-apa.tex, bibl-num.tex etc) so how do I tell which one is being used? (They all look the same to me!) My supplementary question is: why doesn't the layout for a book type print out the edition which I have defined in the publication definition? I really want to change the layout of the book type to include the edition immdiately after the title in the same font. Thanks, Richard Stephens ___ 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] currentheadnumber / doif.. problem
hm.. it still executes always the else-part of the doifelse-function (Untested) \def\presentheadnumber% {\doifelse{\headnumber[section]}{0}% ^^ {\headnumber[chapter]}% {\headnumber[section]}% } ___ 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] still waiting for mswincontext
On 9/24/07, Vyatcheslav Yatskovsky wrote: Hello, Let me ask a few questions: 1) When big things will be regenerated? I'm still waiting for mswincontext with updated binaries. I cannot answer that since it's Hans's decision. But I can assure you that a lot has been happenng in the meantime, esp. considering font loading. However, no matter how many iterations of bug reporting bug fixing happen, new and new problems keep arising. Font loading in XeTeX has been broken since February (since the first tries to support OpenType LM instead of old TFM variants) and has only partially been fixed until now. And now, when finally the support has been improved, new problems have arised. Note that also three really important fixes have been added to XeTeX recently, so ConTeXt works much better with XeTeX 0.997. 2) What is the difference between mswincontext and mswintex packages? mswincontext also includes scite. Perhap's there's more that I'm not aware of, but the rest should be pretty the same. mswintex only includes binaries. You also need to download justtex. 3) If someone made mswincontext to work with latest updates, can he or she post how? After September 10 update of cont-tfm my installation produces broken pdfs, and even getting latest luatex from sourge didn't help. It's the ConTeXt distribution, not the binaries which are broken. You can download http://minimals.contextgarden.net/bin/windows/rsync/ and then use rsync -rvzctl rsync://contextgarden.net/minimals/minimals/windows/ your-folder for the majority of the standard minimals or rsync -rvzctl rsync://contextgarden.net/minimals/context/beta/ your-folder to get only a working version of ConTeXt or rsync -rvzctl rsync://contextgarden.net/minimals/os/windows/ your-folder to get only the binaries. But it's all in an experimental stage, and it's far from complete, so take this only as a temporary solution. The structure of minimals will change, that's for sure, but you can use it now to compile your documents. But note that there are still some problems: - wrong font size in XeTeX - textext(...) in metapost doesn't work - most probably others, not yet discovered Mojca ___ 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] currentheadnumber / doif.. problem
On Tue, 25 Sep 2007, Peter Schorsch wrote: hm.. it still executes always the else-part of the doifelse-function Can you create a minimum example to play with? 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] starttabulate questions
On Tue, 25 Sep 2007, frantisek holop wrote: hmm, on Mon, Sep 24, 2007 at 07:52:00PM -0400, Aditya Mahajan said that Tabulate started as a mechanism to replace table, so the syntax was kept the same. Right now, tabulate does not implement vertical rules, so in the context of tabulate, having a last \NC seems redundant. As far as I understand, tabulate is supposed to ultimately backward compatible with table, and features will be added according to user demands or Hans needs. thanks for the great explanation. anybody writing a context book by a chance for publishing? :D I think that the book has been in the planning stage for a long time. The trouble with writing a book is that it takes a long time. I have started a series of articles in Tugboat on context, so I shall have enough material for a book in ... eh ... about 5 years :) 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] starttabulate questions
On Tue, 25 Sep 2007 18:11:46 -0600, Aditya Mahajan [EMAIL PROTECTED] wrote: anybody writing a context book by a chance for publishing? :D I think that the book has been in the planning stage for a long time. The trouble with writing a book is that it takes a long time. I have started a series of articles in Tugboat on context, so I shall have enough material for a book in ... eh ... about 5 years :) Hopefully in a couple of years, once mkiv is stable, we should be done by then I hope. Coauthors welcome, so your tugboat articles could help... ;-) Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ 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 ___