[NTG-context] pdfopen pdfclose
Hi Hans and gang, For a future ConTeXt, would it be possible to add support for the --back option for pdfopen/pdfclose? See http://magic.aladdin.cs.cmu.edu/2005/07/15/pdfopen-and-pdfclose/ This will allow you to automatically return to the page of the pdf you were working on at the moment you close it. There are some caveats for working with mutiple pdf's but it's a nice feature to have. Best wishes 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 ___
Re: [NTG-context] pdfopen pdfclose
On Sat, 15 Sep 2007 13:49:13 -0600, Hans Hagen [EMAIL PROTECTED] wrote: For a future ConTeXt, would it be possible to add support for the --back option for pdfopen/pdfclose? See http://magic.aladdin.cs.cmu.edu/2005/07/15/pdfopen-and-pdfclose/ This will allow you to automatically return to the page of the pdf you were working on at the moment you close it. There are some caveats for working with mutiple pdf's but it's a nice feature to have. well, then make sure that the version in distributions support it pdfopen --help Usage: pdfopen --file filename [--page page] Opens filename (at page page if available) in Acrobat or Acrobat Reader. pdfclose --file filename Closes filename in Acrobat or Acrobat Reader. pdfclose --all Closes all documents in Acrobat or Acrobat Reader. Beware: only documents opened by `pdfopen' can be closed by `pdfclose'. :-) But that's exactly my point, the pdfopen that comes with the distro does not support --back :-) This would be a really nice feature to have, if we can implement it (or just use/improve Woo's code)... Best wishes 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 ___
Re: [NTG-context] Windows Installer for MsWinContext
Hi, On Sun, 16 Sep 2007 14:41:16 -0600, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello, I'm back with my idea of installer for mswincontext distribution. I successfully use my local (post-install) version , which simply sets env. vars, but I feel there is need for more. Anticipating new mswincontext build, I can implement the installer for it using free Inno Setup software. Good project! The controversy is about setup file content. I see it as whole mswincontext, because it is declared as minimal distribution (so, nothing can be thrown away). However, I was suggested on this list to make some parts downloadable on demand, so I need to ask: what parts to make? I believe you should just support the whole mswincontext, and install it in C:\ConTeXt etc. Please do not use C:\Program Files ;-) Perhaps the docs should be an install option, as they are quite huge. Some things like the complete TeX-Gyre font suite need to be added to mswincontext or given as an option. There are other modules as well that might make good options for the installer. In general, I believe that if classical Windows installer for ConTeXt were available, it would gain more popularity and appreciation. A true stand-alone ConTeXt has been a goal I have pushed for a number of years now, and from what I understand Hans has heading more and more in that direction. Of course, I'd like to hear from Hans and Taco what they think about it, and whether they dare to facilitate this. My only real question is how to also support a minimal LaTeX distribution side-by-side. I hardly use it, but many of us still have legacy documents we need to process now and then. Maybe we can take the LaTeX portion of XemTeX and make it an install option as well. A couple years back I actually dumped the XemTeX LaTeX files into my C:\ConTeXt\tex\texmf tree and it worked (and mswincontext is closer to fpTeX/Fabrice's way than to the MiKTeX way AKAIK). Since ConTeXt always uses \texmf-local there was no conflict. OTOH there may be other issues... maybe a dedicated \texmf-latex tree branch is called for... Good luck and all the 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 ___
Re: [NTG-context] waiting for mswincontext
On Wed, 19 Sep 2007 01:46:32 -0600, Hans Hagen [EMAIL PROTECTED] wrote: Vyatcheslav Yatskovsky wrote: Hello, Waiting impatiently for updated mswincontext. Would it be available from Pragma tomorrow or when? i need to update a few more binaries, and mojca and i have to fix/test a couple of xetex things (new xetex bin too) Don't forget to incorporate tex-gyre, including otf's! Best wishes 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 ___
Re: [NTG-context] waiting for mswincontext
On Wed, 19 Sep 2007 10:33:42 -0600, Joel C. Salomon [EMAIL PROTECTED] wrote: On 9/19/07, Idris Samawi Hamid [EMAIL PROTECTED] wrote: Don't forget to incorporate tex-gyre, including otf's! Is the installation really that hard? The last time I installed TeX-Gyre only two fonts worked and the rest did not. The point is that debugging when things go wrong takes time and some of us are just too busy to have to to debug every little thing. It seems to me that TeX-Gyre is one of those things that should work out of the box, like lm. I'd rather have a tarball to be unzipped over the directory tree than have a constantly growing 'minimal' installation. Finally, mswincontext.zip is not really minimal but maximal ;-) Updates to TeX-Gyre could be supported as a package a la cont-tmf.zip of course. Best wishes 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 ___
Re: [NTG-context] waiting for mswincontext
On Wed, 19 Sep 2007 08:45:25 -0600, Taco Hoekwater [EMAIL PROTECTED] wrote: Wolfgang Schuster wrote: can you also add ini files for the plain TeX formats with XeTeX, pdfTeX Hey, you lot! They are supposed to be minimals. If you suggest adding something, I really think you should suggest removing something at the same time :-) I think many of us see mswincontext.zip as more maximal, not minimal. For me, mswincontext IS my TeX distribution. And the free community fonts like TeX-Gyre should be in there by default, without having to spend hours configuring packages from outside pragma when they don't work ;-) Best wishes 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 ___
Re: [NTG-context] waiting for mswincontext
On Wed, 19 Sep 2007 11:25:35 -0600, Wolfgang Schuster [EMAIL PROTECTED] wrote: Hey, you lot! They are supposed to be minimals. If you suggest adding something, I really think you should suggest removing something at the same time :-) How about the bib module :-) LOL, best joke I've heard all week... Err, well, you had BETTER be joking ;-) 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 ___
Re: [NTG-context] waiting for mswincontext / injecting
On Sun, 23 Sep 2007 11:45:41 -0600, Mojca Miklavec [EMAIL PROTECTED] wrote: On 9/23/07, Wolfgang Schuster wrote: this would be nice because many chinese and japanese fonts have very ugly characters for normal latin texts and would be nice to choose another font for them. The second point is some it often neccesary to choose differents fonts for arabic, greek ... and this method can used to switch to the corresponding font without inserting font switching commands in the text but handle this with character classes. I guess that in LuaTeX you can compose your own font on the fly. So you can say please take this region from Arial, another region from some Greek fonts, and yet another from Chineese, perhaps some more characters from somewhere else ... And then you can use a single font for everything. (Don't ask me how this can be done, though.) Let's get even more funky: we could define text direction classes such that switching from LR to RL automatically switches from, say, the latin group (or cyrillic) to the arabic group (or hebrew), and direction switching could be done using the appropriate unicode characters instead of control sequences (ie, unicode direction charaters should be made active). 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 ___
Re: [NTG-context] Completelistoffigures, help needed!
On Sun, 23 Sep 2007 05:00:39 -0600, Wolfgang Schuster [EMAIL PROTECTED] wrote: you can use the following method, it is very dirty but it works and give you what you want. \setupcaption[figure][distance=\zeropoint] \defineconversion[gobble][\gobbleoneargument] \setupnumber[figure][conversion=gobble] \setuplabeltext[figure=] \starttext \completelistoffigures \page \placefigure{First Figure}{\blackrule[width=4cm,height=2cm]} \placefigure{Second Figure}{\blackrule[width=3cm,height=5cm]} \stoptext Ah.. our stalwart gangster Wolfgang, always the master of dirty tricks. If we ever finish The ConTeXtbook you'll have to do Appendix~D ;-) 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 ___
Re: [NTG-context] Completelistoffigures, help needed!
On Sun, 23 Sep 2007 12:43:50 -0600, Hans Hagen [EMAIL PROTECTED] wrote: talking of that book ... how are you progressing? working on the funding angle right now (never easy and no guarantees), but I suspect that once mkiv is relatively complete (another 18 months or so?) we'll be in a better position to write that book. Best wishes 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 ___
Re: [NTG-context] waiting for mswincontext / injecting
On Sun, 23 Sep 2007 14:01:16 -0600, Hans Hagen [EMAIL PROTECTED] wrote: Let's get even more funky: we could define text direction classes such that switching from LR to RL automatically switches from, say, the latin group (or cyrillic) to the arabic group (or hebrew), and direction switching could be done using the appropriate unicode characters instead of control sequences (ie, unicode direction charaters should be made active). didn't i send you the code for that trick a while ago? Indeed, I was just placing it in Wofgang's context -) Idris ___ 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 ___
Re: [NTG-context] \usepackage{pslatex} equivalent for context
Hi, On Thu, 04 Oct 2007 16:00:02 -0600, frantisek holop [EMAIL PROTECTED] wrote: hi there, i was wondering if there was a quick and dirty equivalent for latex's \usepackage{pslatex} http://ctan.org/tex-archive/macros/latex/contrib/pslatex/#jh1c2c136f7e9809d3217b77eccac957d6: Hmm, I think is obsolete as far as ConTeXt is concerned. Using typescripts one can define one's own relative sizing etc as well as set up times-helvetica in virtually any way you like. See showfont.pdf in the documentation. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] MKIV: encoding for pdf-strings
Hi Peter, On Tue, 23 Oct 2007 13:30:23 -0600, Peter Münster [EMAIL PROTECTED] wrote: When using luatex, utf encoding is not taken into account in pdf-strings. Minimal example: % engine=luatex \enableregime[utf] \setupinteraction[state=start,author=Peter Münster] \starttext Peter Münster \stoptext Output of pdfinfo: Author: Peter Münster Hmm, it works here... === Author: Peter Münster Creator:ConTeXt - 2007.08.07 17:52 Producer: luaTeX-0.10.1 === But why are you using \enableregime[utf]? I think that's redundant... A curiosity: With \enableregime[utf] commented the file size is 2919 bytes, with it uncommented it's 2918 bytes. I wonder where the extra 1-byte savings with \enableregime[utf] is coming from... Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] HTML to ConTeXt
Hi Aditya, On Thu, 25 Oct 2007 08:50:03 -0600, Aditya Mahajan [EMAIL PROTECTED] wrote: This is interesting. A website that converts html to context (actually uses markdown behind the scenes). http://johnmacfarlane.net/pandoc/html2x.html This is how the context wiki looks like. http://johnmacfarlane.net/cgi-bin/html2x.pl?url=http%3A%2F%2Fwiki.contextgarden.net%2FMain_Pageformat=context The program is written in haskell and is also available for download. You can use it to convert markdown to context. I had been looking for this for a while, when multiple formats are needed. Write in markdown and generate html or context. I do not completely like the context output it generates (for example http://johnmacfarlane.net/pandoc/README gets converted to http://johnmacfarlane.net/pandoc/example11.tex.html) This looks very promising. Perhaps some of us can help the developers to improve the ConTeXt support. Thank you very much for sharing this! Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
[NTG-context] Fwd: Re: Greetings and ConTeXt
For anyone who's interested: --- Forwarded message --- From: John MacFarlane [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Subject: Re: Greetings and ConTeXt Date: Thu, 25 Oct 2007 14:33:18 -0600 Great! I know comparatively little about ConTeXt, so if you find ways to improve pandoc's ConTeXt output, please let me know (either here or by filing a bug report on pandoc's issue tracker). John +++ ishamid [Oct 25 07 13:26 ]: Hi, I just learned about pandoc from the ConTeXt list. I am very excited about the possibilities of this new tool and hope to learn more soon. I am something of a ConTeXt power user (not a programmer) but would like to help in any way I can. As the editor of an academic journal the need to convert other formats to ConTeXt is a laborious task; maybe this tool will help to streamline that someday. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
[NTG-context] Doc to ConTeXt [was Re: HTML to ConTeXt]
On Thu, 25 Oct 2007 22:22:46 -0600, Aditya Mahajan [EMAIL PROTECTED] wrote: This looks very promising. Perhaps some of us can help the developers to improve the ConTeXt support. I will explore pandoc in more detail in the future. I am more interested in it from the point of view of understanding Haskell parsers, but improving the context output will definitely not hurt. Ah, you're missing a big point in your discovery ;-) As I told Andrea: For relatively simple documents (like the kind we use in academic journals) it seems we can now 1) convert doc to odt using OOo 2) convert odt to markdown using http://wiki.services.openoffice.org/wiki/Odt2txt.py 3) use the pandoc utility to convert markdown to ConTeXt. As for the pandoc list, we may be able to influence the final ConTeXt output by making suggestions, reporting bugs etc. If we can convert Odt2txt.py to lua maybe this workflow can be partly integrated into ConTeXt itself someday.* The pandoc developer seems interested in improving ConTeXt support (see my forwarded mail) so this is a good opportunity for all those who need a decent doc=context workflow. Best wishes Idris *Or maybe we can just port Odt2txt.py to give direct ConTeXt output and forget the markdown layer entirely. Any ideas on how hard that would be? -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Which ConTeXt editor do you use?
Hi, If you're using Kate then I guess u're on Linux, in which case you should try the Scite distro that comes with the larger ConTeXt distributions. Scite is also available on Windows. But on Windows I use Notepad++ (NPP), which I have configured for ConTeXt, and which is s much more sophisticated than Scite. I posted a note to this list with details a few months back; see the archives. BTW, I am updating the NPP package soon, and will post to the list when it's ready. As for etiquette, we're mostly a relaxed, mutually helpful, easy going bunch so relax ;-) Best wishes Idris On Tue, 30 Oct 2007 12:06:10 -0600, Matija Šuklje [EMAIL PROTECTED] wrote: I've just learnt enough LaTeX to start writing when Mojca convinced me to try out ConTeXt. So far, I think I like it, but have a few beginner's problems with it. The first one being, which editor to use? So far I've been using Kile for LaTeX and KBib for BibTeX, but Kile doesn't support (yet) ConTeXt syntax, which is a bit different from the LaTeX one. Could anyone suggest a good ConTeXt-aware editor for Linux? Ideally, I would like to see Kile (and Kate) support ConTeXt, but untill I manage to bug their devs into it, I would still need an editor. -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] linebreak NOT in section title BUT in content
On Tue, 30 Oct 2007 14:08:54 -0600, Steffen Wolfrum [EMAIL PROTECTED] wrote: Am 30.10.2007 um 20:43 schrieb Hans Hagen: Steffen Wolfrum wrote: Hi, \chapter{First line\\second line} gives a linebreak in the chapter's title but not in the corresponding toc entry. I need it the other way round: a line break at a specific point of the toc entry *and not* in the chapters title. Is this possible? \crlf if i remember right No, unfortunately not: it also breaks the line in the section's title ... There is a workaround; play with \writebetweenlist [subsubsection] {\blank[small]} \writetolist[subsubsection]{}{#1} etc. So you can define a section that appears in the text and another that appears in the TOC. I always use this for tight toc spots. Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] linebreak NOT in section title BUT in content
On Tue, 30 Oct 2007 15:47:53 -0600, Taco Hoekwater [EMAIL PROTECTED] wrote: Steffen Wolfrum wrote: But I was sure there was also a fast, direct way. Well, obviously there isn't (anymore?) ... Here's a trick. It is ugly, but works reasonably well. \starttext \def\CR{\crlf} \completecontent \def\CR{ } \chapter{First line\CR second line} \stoptext A good one for the wiki, I run into this problem myself sometimes... Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] \quotation
Dear gang, This has bugged me for years but I never said anything since the workaround is so easy. OTOH I am working on something I'd like to share with others and an official solution would be better: \starttext \input knuth \startquotation \input knuth \stopquotation \input knuth \stoptext I. \start-\stopquotation surrounds the block quote in double-quotes marks. I don't know about other European languages but in English this is redundant; I've hardly ever seen block quotes use dbl-quote marks. We at least need a setup option to turn this off. II. There should be some default whitespace between the block quote and the surrounding text, just as \start-stopitemize has. Or at least this should be configurable in the setups. If these two are already there (not in the manual) then please let us know how to set this up. Otherwise could you add configuration options for this? FYI: Here is what I use === \definestartstop [quote] [before={\startnarrower[2*left,2*right]\blank[big]\noindenting}, after={\stopnarrower\blank[big]}] === Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
[NTG-context] ConTeXt Package for Notepad++ v. 4.5
Dear cabal, I have uploaded an updated version of the ConTeXt-support package for Notepad++ (Npp): http://wiki.contextgarden.net/Image:Npp_ConTeXt.zip For details, see the Readme as well as http://archive.contextgarden.net/message/20070813.050137.7a5796f0.en.html There are lots of small improvements. One nice feature is that from any text selection (such as a control sequence) you may do a ConTeXt Wiki search from the RUN menu or ALT-F2. In addition there is Google and Wikipedia search. Also, I have included the wonderful Explorer plugin. Most of the Scite ConTeXt commands are included (same shortcuts), in both RUN and script versions (for the console F6). Npp is one of the most powerful and useful text editors around. For windows users (you can also use it under wine) wanting a more modern interface with loads of included features (see especially the TextFX menu), it deserves a close look. I hope that someone will wikify this under the Text-Editor page. Enjoy! Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] ConTeXt Package for Notepad++ v. 4.5
Hi, I uploaded a new package just now; just a couple of minor tweaks. On Thu, 01 Nov 2007 15:21:25 -0600, Joel C. Salomon [EMAIL PROTECTED] wrote: On 11/1/07, Idris Samawi Hamid [EMAIL PROTECTED] wrote: I have uploaded an updated version of the ConTeXt-support package for Notepad++ (Npp): Thanks! I'm trying to make it work with my np++ installation without losing my tweaks configurations, so I've been manually merging config files rather than copying—but I seem not to have access to a few features. I understand, though in my experience it's quite error prone... In your kind of case I usually backup my C:\Documents and Settings\user\Application Data\Notepad++ directory and just start fresh. Actually, all I can tell is that I have ConTeXt-aware syntax highlighting. Auto-completion doesn't work either. What about folding? There's an example file in the ConTeXt zip. The context api is in the Program_Files zip. CTRL-SPACE activates it while typing, or else go to Settings-Preferences-Backup/AutoCompletion to make it automatic. Basically, I need to know what parts of the distribution do what. For example: One nice feature is that from any text selection (such as a control sequence) you may do a ConTeXt Wiki search from the RUN menu or ALT-F2. How does that get enabled? You need shortcuts.xml. You can mix and match with your old one. See the readme also. A nice little trick lies in Plugins-ConvertExt-Options: Bracket Auto Completion. Most of the Scite ConTeXt commands are included (same shortcuts), in both RUN and script versions (for the console F6). I can get a console with F6; can you give an example of what to do with it? It's basically there to run multiline scripts. Install the new Program_Files zip (just uploaded), close and reopen, and press F6 for an example. The RUN commands are static, but with the console you can experiment with different settings, options, etc. It's one of my favorite utilities, actually. I use it much more than I use RUN. Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Notepad++ colour settings
Hi, On Fri, 02 Nov 2007 06:12:31 -0600, [EMAIL PROTECTED] wrote: I have downloaded the latest Notepad++ and ConTeXt settings as suggested by Professor Hamid and I'm enjoying the experience of using them! However, I do not really like the colour scheme and tried to alter the background colours by editing Application Data/Notepad++/UserDefineLang.xml, shutting down Notepad++ and starting up again (via Npp.bat), but no change. I also tried editing the tex entry in Application Data/Notepad++/stylers.xml, but no joy. I tried going to menu item Settings - Style Configurator, but Context isn't in the list of languages. How can I alter the default colour settings for ConTeXt, please? Use the User Define Language dialog (the button to the left of the red-dot button) http://notepad-plus.sourceforge.net/uk/UserLanguageDefineSystem-HOWTO.php Choose ConTeXt and adjust anything you like (including color)! Also, in Settings - Style Configurator, configure Global Styles. There is also a Global Override option. So there is a global color scheme and a language-specific one. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Notepad++ colour settings
On Fri, 02 Nov 2007 07:44:14 -0600, Hans Hagen [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: How can I alter the default colour settings for ConTeXt, please? does np++ has readable config files? Npp uses xml files for configuration mostly. Most of the *.xml and all of the *.api files (autocompletion) are quite readable, though stylers.xml is pretty ugly. OTOH stylers.xml is easily configured through the gui, and much more fun. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] \quotation
On Fri, 02 Nov 2007 04:01:25 -0600, Wolfgang Schuster [EMAIL PROTECTED] wrote: there is no perfect solution in ConTeXt because the \quotation and the \start/stopquotation commands are defined with the same definition and it is not possible to disable the quote marks for the one and enable it for the other, but you can use ConTeXt's mechanism for nested quotations and redefine the other one. \setupdelimitedtext [quotation] [1] [left={\symbol[leftquotation]}, right={\symbol[rightquotation]}] \setupdelimitedtext [quotation] [2] [left={\symbol[leftquote]}, right={\symbol[rightquote]}] \setupdelimitedtext [quote] [location=margin, % paragraph left=, right=, before={\blank[big]}, after={\blank[big]}] Thanks, Wolfgang. This is very helpful, though I must say that, in this case, ConTeXt is being a bit obtuse. Maybe an official, dedicated \start-stopblockquote command, independent of the other two and with no quotation marks by default, is in order here (please, Hans?). OTOH your illustration gives me ideas for other things; thnx again and all the Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
[NTG-context] on block quotes
Dear Hans, wolfgang, and the rest of the gang, How about adding something like this to the distribution: \definedelimitedtext [blockquote][quote] \setupdelimitedtext [blockquote] [location=margin, left=, right=, leftmargin=standard, ] I'm working on a context utility that I want to distribute when done and we need a standard, quotes-empty blockquote mechanism. This way we can leave \quote and \quotation alone. Best wishes Idris On Sat, 03 Nov 2007 10:25:30 -0600, Idris Samawi Hamid [EMAIL PROTECTED] wrote: On Fri, 02 Nov 2007 04:01:25 -0600, Wolfgang Schuster [EMAIL PROTECTED] wrote: there is no perfect solution in ConTeXt because the \quotation and the \start/stopquotation commands are defined with the same definition and it is not possible to disable the quote marks for the one and enable it for the other, but you can use ConTeXt's mechanism for nested quotations and redefine the other one. \setupdelimitedtext [quotation] [1] [left={\symbol[leftquotation]}, right={\symbol[rightquotation]}] \setupdelimitedtext [quotation] [2] [left={\symbol[leftquote]}, right={\symbol[rightquote]}] \setupdelimitedtext [quote] [location=margin, % paragraph left=, right=, before={\blank[big]}, after={\blank[big]}] -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] on block quotes
Dear Wolfgang, Thank you for your improvements and corrections. I always appreciate your lessons! Best wishes Idris I think this is a goog idea but your definition is a little bit to long. \definedelimitedtext [blockquote][quote] \startvariables all blockquote: blockquote \stopvariables \definedelimitedtext [\v!blockquote][\v!quotation] \setupdelimitedtext [blockquote] [location=margin, left=, right=, leftmargin=standard, ] \setupdelimitedtext [\v!blockquote] [\c!left=, \c!right=] location=margin is a default value and set with \definedelimitedtext and leftmargin=standard is taken from quotation. I'm working on a context utility that I want to distribute when done and we need a standard, quotes-empty blockquote mechanism. This way we can leave \quote and \quotation alone. Best wishes Idris Wolfgang -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Doc to ConTeXt [was Re: HTML to ConTeXt]
Hi Andrea, On Fri, 09 Nov 2007 18:30:36 -0700, Andrea Valle [EMAIL PROTECTED] wrote: Hi to all (Idris, in particular, as we are always dealing with the same problems... ), I just want to share some thoughts about the ol' damn' problem of converting to ConTeXt from Word et al. As I told Andrea: For relatively simple documents (like the kind we use in academic journals) it seems we can now 1) convert doc to odt using OOo 2) convert odt to markdown using http://wiki.services.openoffice.org/wiki/Odt2txt.py 3) use the pandoc utility to convert markdown to ConTeXt. [you left this out] As suggest by Idris, I subscribed to the pandoc list, but I have to say that the activity is not exactly like the one on ConTeXt list... So the actual support for ConTeXt conversion is not convincing. More, it's always better to put the hands on your machine... Did you try the markdown-to-ConTeXt conversion? The doc-odt-markdown-context workflow seems pretty useful as is. See also http://code.google.com/p/pandoc/wiki/ConTeXtImprovements I'm working on something else related to this issue that I hope to say more about in the coming weeks ;-) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Doc to ConTeXt [was Re: HTML to ConTeXt]
On Fri, 09 Nov 2007 18:30:36 -0700, Andrea Valle [EMAIL PROTECTED] wrote: After wasting my time with an awful pdf to html converter by Acrobat, I discovered this, you may all know: http://pdftohtml.sourceforge.net/ Looks impressive... The html conversion is very very good in resulting rendering and also in sources, but after some tweakings I got interested in the xml conversion it allows. The xml format substantially encodes the infos related to page, typically each line is an element. Plus, there are bold and italics marked easily as b and i I'm still struggling to understand something really operative of XML processing in ConTeXt, so I switched back to Python. I used an incremental sax parser with some replacement. This is today's draft. Original: http://www.semiotiche.it/andrea/membrana/02%20imp.pdf Recomposed (no setup at all, only \enableregime[utf]): http://www.semiotiche.it/andrea/membrana/02imp.pdf Looks VERY impressive... Tell me, how did you set up the cropmarks etc.? pdf -- pdftoxml -- xml -- python script -- tex -- pdf I recovered par, bold, em, footnotes, stripping dashes and reassembling the text with footnote references. Not bad as a first step. Did you also try pdftohtml -- html -- context? I guess that you xml gurus could probably do much easier and cleaner. So, I mean -just for my very specific needs, I con probably take word sources, convert to pdf and then finally reach ConTeXt as discussed. Again, very nice stuff! Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Doc to ConTeXt [was Re: HTML to ConTeXt]
On Sat, 10 Nov 2007 04:59:18 -0700, Andrea Valle [EMAIL PROTECTED] wrote: http://pdftohtml.sourceforge.net/ Looks impressive... I think so Looks VERY impressive... Tell me, how did you set up the cropmarks etc.? Mmh, maybe you're are referring to the original source? The output one is bare bone (what I need) In any case, I upload the wrong reconstructed pdf (too late at night...) Ah! I had a feeling that was too good to be true ;-) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Editor's Symbols?
Hi, On Sun, 11 Nov 2007 09:18:19 -0700, Alex K [EMAIL PROTECTED] wrote: I'm pretty much a new user to ConTeXt and actually any form of TeX, so forgive me if my question sounds ignorant. Is there any way to format editor's symbols (like those used for demonstration in grammatical textbooks) in a block of text using ConTeXt or LaTeX (preferably with the former)? If not, then does anyone know how I might do this some other way besides actually writing it out by hand? Forgive me, but could you be more specific? Do you have any links to examples of these symbols, etc.? Are they encoded in Unicode? Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Editor's Symbols?
On Sun, 11 Nov 2007 14:09:50 -0700, Alex K [EMAIL PROTECTED] wrote: Here's an example: http://www.colorado.edu/Publications/styleguide/symbols.html I've seen these printed (not handwritten) in grammar guides, so I was wondering if formatting them with TeX was possible at all. Look at the U-2000 encoding block; you will find at least one character available, ⁁ (U-2041), the caret-insertion mark. What's not covered by Unicode would need a package (or at least a few definitions), perhaps based on metapost. I am not aware of any such package for context; have no info about latex. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] on block quotes
On Tue, 13 Nov 2007 14:48:37 -0700, Hans Hagen [EMAIL PROTECTED] wrote: Wolfgang Schuster wrote: \definedelimitedtext [\v!blockquote][\v!quotation] \setupdelimitedtext [\v!blockquote] [\c!left=, \c!right=] added Thank you Hans! -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] on block quotes
On Wed, 14 Nov 2007 12:02:29 -0700, Jesse Alama [EMAIL PROTECTED] wrote: Hans Hagen [EMAIL PROTECTED] writes: Wolfgang Schuster wrote: \definedelimitedtext [\v!blockquote][\v!quotation] \setupdelimitedtext [\v!blockquote] [\c!left=, \c!right=] added Excellent -- thanks! If I do a ctxtools --updatecontext, will this be available? Hi, Check and compare with the release date of the latest beta on pragma-ade.com Best -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] TOC: page headers
Hi, On Wed, 14 Nov 2007 18:03:20 -0700, Jeff Smith [EMAIL PROTECTED] wrote: Hi again, Thank you again everyone for your help. The list is very helpful. I got one last question and then I promise I'll stop spamming the list for a bit. ;-) No, spam away! ;-) Oddly enough, the archives are very unclear on this one, and anyway what I try with the little I find doesn't work -- or I don't know how to implement it. But anyway, my problem is the following. When my TOC goes on more than one page, the page header doesn't follow. It becomes what I use much later in my document (namely, chapter number and title, pagenumber, and a thin line across the width of the page), but I don't want that. In fact, I don't want *any* page header for my TOC, but this works only on the first page. No amount of \noheaderandfooterlines, \setuphead[header=nomarking] or \setupbackgrounds[state=stop] can make the header disappear on subsequent TOC pages... :-( If possible, post a minimal example that illustrates the problem; use \input's like ward.tex, knuth.tex, zapf.tex etc. (in the distro) so some of us can run the test file and report back. Sometimes someone will know the answer without such an example but for even faster service ;-) always try to include a minimal example when possible. Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] referencing footnotes in another place
Hi Andrea, On Thu, 15 Nov 2007 17:22:09 -0700, Andrea Valle [EMAIL PROTECTED] wrote: Hi to all, the only thing I don't like in -TeX packages approach while writing is that I have to attach the footnotes to their indices. ConTeXt is so clever. Isn't there a way to store the footnotes in another place of the file (or in another file, that's the same) and referring to the in the text. When I have many footnotes in the source I get crazy to follow the body text. I mean, with an exemplum fictum This is my footnote\fn{myfn}, even if it's just my imagination so that there's a way to a have myfn = just a note Maybe with buffers? I'm an ignorant on the matter Hmm, this is interesting. Basically this would involve something like the bibliography module {tag + database}. Could be useful for organizing things like critical-edition apparati. OTOH for large projects this could get a bit unwieldy and unmanageable. Better in my view is to use an editor that supports folding, use a \start-stopfootnote macro, and fold them out of site when not needed (I have this in the Notepad++ setup). Another idea is a lua script that texexec could use to label and/or move all the notes to a separate database for analyses or other processing. It all needs thought... Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] referencing footnotes in another place
On Thu, 15 Nov 2007 17:46:49 -0700, Idris Samawi Hamid [EMAIL PROTECTED] wrote: Better in my view is to use an editor that supports folding, use a \start-stopfootnote macro, and fold them out of site when not needed UGH ...and fold them out of sight when not needed... Embarrassed, I -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Context Minimal for Windows installer
Hi, On Sat, 17 Nov 2007 16:30:08 -0700, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello, I appreciate your efforts of creating context-setup-mswin, but I always had my own way of setting up Context. Today I created full-weight InnoSetup installer. Congratulations! My installer is native Windows application. It fetches files from contextgarden using rsync, then sets variables directly in registry, making Context binaries Windows-wide functional. (Call texexec from any application without need of setuptex.bat file). http://rapidshare.com/files/70450795/ContextMinimalSetup.exe I have tested it only with Luatex engine, but other may work as well. Hope it will facilitate Context usage on Windows. Fell free to ask questions and make suggestions. What files exactly are downloaded? just mswincontext.zip? What are the installation options? It would be a good idea to add pdftex and xetex formats options as well. Thanks for the wonderful contribution and all the Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Parallel texts
Hi, On Tue, 20 Nov 2007 12:24:50 -0700, Steffen Wolfrum [EMAIL PROTECTED] wrote: Am 20.11.2007 um 19:38 schrieb luigi scarso: I am looking for a way to typeset bilingual text as parallel text, keeping each paragraph opposite the corresponding paragraph (left/ right page). The ledpar package from the ledmac bundle does this (I was told). How can this be done with ConTeXt? maybe streams? Maybe streams. Right! Idris started a thread on parallel texts called Streams in March, 7th. But this thread never received any answer ... o( True, but there is a m-streams module in the distribution. Hans was experimenting with these once upon a time and you can check them out. I think luigi was referring to that. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] typesetting a formula as a figure
Hi Peter, On Tue, 20 Nov 2007 15:15:35 -0700, Peter I. Hansen [EMAIL PROTECTED] wrote: Hi I would like to typeset a formula as a figure, so that the formula enters the numbering scheme of figures and that I gain the possibility of adding a figure caption. An example were this would be practical is when using ppchtex. I've been googling but having trouble finding hints on how to make such a construction. Is it possible at all? See Section 13.5 page 300 (absolute page 303) of cont-eni.pdf. Uses a buffer and a tmp-file name. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Images centered on page
On Fri, 23 Nov 2007 12:30:48 -0700, Wolfgang Schuster [EMAIL PROTECTED] wrote: \unprotect \def\fullpagebox {\bgroup \dowithnextbox {\!!widtha\dimexpr\paperwidth/\nextboxwd\relax \!!widthb\dimexpr\paperheight/\nextboxht\relax \ifdim\!!widtha\!!widthb \setbox\nextbox\vbox\!!to\paperheight{\vss\expanded{\scale[\c!width=\paperwidth]{\flushnextbox}}\vss}% \else \setbox\nextbox\hbox\!!to\paperwidth{\hss\expanded{\scale[\c!height=\paperheight]{\flushnextbox}}\hss}% \fi \setbox\nextbox\hbox{\clip[\c!width=\paperwidth,\c!height=\paperheight]{\flushnextbox}}% \startTEXpage \flushnextbox \stopTEXpage \egroup} \hbox} \protect \starttext \fullpagebox{\externalfigure[image]} \stoptext Now THAT's the 1st-class gangster we know and love so much ;-) Question: How can we, if desired, fit the image to the page dimensions? See what happens with \starttext \fullpagebox{\externalfigure[cow][scale=fit]} \stoptext Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Images centered on page
On Fri, 23 Nov 2007 10:31:08 -0700, luigi scarso [EMAIL PROTECTED] wrote: On Nov 23, 2007 6:24 PM, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello Idris, Thank you. What is display mode? Simply \vfill\externalfigure[Image1.jpg]\vfill \vbox to \textheight{\vfill\vskip1sp\externalfigure[Image1.jpg]\vskip1sp\vfill} Alternatively, \vfill + display mode \leavevmode\vfill$$\externalfigure[cow.pdf]$$\vfill :-) Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Images centered on page
On Fri, 23 Nov 2007 10:46:16 -0700, Peter Münster [EMAIL PROTECTED] wrote: On Fri, 23 Nov 2007, Vyatcheslav Yatskovsky wrote: How can I center the image on a page? \setuplayout[page] \starttext \startstandardmakeup \startalignment[middle] \dontleavehmode \externalfigure[image.png] \stopalignment \stopstandardmakeup \stoptext Yes! Now let's make it even simpler: \starttext \startstandardmakeup \midaligned{\externalfigure[cow.pdf]} \stopstandardmakeup \stoptext Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Images centered on page
On Fri, 23 Nov 2007 09:55:37 -0700, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello, How can I center the image on a page? I want images to cover the page completely, and since they have proper size (roughly A4), I only need them to be centered. Now they are stuck to the top, leaving a gap on bottom (and same for left-right). Did you try display mode? \vfill arg \vfill? I guess I don't see the complication... :-) Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Images centered on page
On Fri, 23 Nov 2007 10:24:35 -0700, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello Idris, Thank you. What is display mode? Simply \vfill\externalfigure[Image1.jpg]\vfill doesn't work for me. Try $$arg$$. I'm sure there's a ConTeXt-ish solution for this as well (in addition to luigi's solution), can't check at the moment... Where are you, Wolfgang? Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] typesetting a formula as a figure
Dear Dalyoung, On Fri, 23 Nov 2007 22:56:30 -0700, Jeong Dalyoung [EMAIL PROTECTED] wrote: Dear Idris, I have used buffers and \plcadefigures to display formula and figure together. Here is my short sample file. \startbuffer[one] \startformula \startmatrix \NC \NC e_1 \NC e_2 \NC e_3 \NC e_5 \NC e_5 \NR \NC u \NC 0 \NC 1 \NC 1 \NC 0 \NC 1 \NR \NC v \NC 1 \NC 0 \NC 1 \NC 0 \NC 0 \NR \NC w \NC 1 \NC 1 \NC 0 \NC 1 \NC 0 \NR \NC x \NC 0 \NC 0 \NC 1 \NC 0 \NC 1 \NR \NC y \NC 1 \NC 0 \NC 0 \NC 1 \NC 0 \NR \stopmatrix \stopformula \stopbuffer \starttext \placefigure[here][fig:test]{Test of buffers} {\startcombination[2*2] {\externalfigure[7starmagic1][width=.25\makeupwidth]}{G} {\externalfigure[one.tmp]}{AA} {\externalfigure[one.tmp]}{BB} {\externalfigure[one.tmp]}{CC} \stopcombination} \stoptext Then, I got a strange output(fig 1: wide blank spaces between columns). If I use \getbuffer instead of \externalfigure, I got somewhat proper output(fig 2), but the figure is located much higher than the matrix(horizontal alignment is bad). What is wrong in my sample? Is there any option for \startcombination? \start-stopformula are for math display mode ($$-$$). Apparently having display mode turned on within the buffer creates the extra space. Since you are using combinations for your display there is no need for display mode. The following works here: === \startbuffer[one] %\startformula \startmatrix \NC \NC e_1 \NC e_2 \NC e_3 \NC e_5 \NC e_5 \NR \NC u \NC 0 \NC 1 \NC 1 \NC 0 \NC 1 \NR \NC v \NC 1 \NC 0 \NC 1 \NC 0 \NC 0 \NR \NC w \NC 1 \NC 1 \NC 0 \NC 1 \NC 0 \NR \NC x \NC 0 \NC 0 \NC 1 \NC 0 \NC 1 \NR \NC y \NC 1 \NC 0 \NC 0 \NC 1 \NC 0 \NR \stopmatrix %\stopformula \stopbuffer \starttext \setupcombinations[distance=2cm] \placefigure[here][fig:test]{Test of buffers} {\startcombination[2*2] % {\externalfigure[7starmagic1][width=.25\makeupwidth]}{G} {\externalfigure[one.tmp]}{AA} {\externalfigure[one.tmp]}{BB} {\externalfigure[one.tmp]}{CC} {\externalfigure[one.tmp]}{DD} \stopcombination} \stoptext === Notice the \setupcombinations[distance=2cm] ! Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] selectively turn off captions
On Fri, 30 Nov 2007 08:05:14 -0700, Roger Mason [EMAIL PROTECTED] wrote: TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.30.5-2.2 (Web2C 7.5.5) context : ver: 2005.01.31 cont-en : ver: 2005.01.31 fmt: 2007.11.29 mes: english The Middle Ages, almost BC in ConTeXt time... Must update, I'd start with a fresh, clean TeX if I were you. Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] Default latex font
Hi Xan, On Sun, 02 Dec 2007 08:21:49 -0700, Xan [EMAIL PROTECTED] wrote: lm is meant as a replacement for cmr, plr, csr, aer, vnr, whatever-r around ... it's metric compatible so it makes no sense to use cmr any more (which was the whole idea behind starting the lm project); the same is true for tex gyre Perhaps it's better, but I like much cm. I want to change. It's technically possible to change it? Sure, you just have to define your own typescripts and install the fonts (eg bluesky version). There are some howto's out there for installing postscript fonts in ConTeXt (see the wiki: http://wiki.contextgarden.net/Fonts ), and make sure you take optical scaling into account (my article discusses that). The only thing that I've noticed is that bluesky cmr seems to be hinted better and looks better on-screen at certain sizes than the lmr postscript fonts. OTOH I see no reason for using cmr. For all practical purposes lmr IS cmr. If you find an area where there is a substantial difference, I'd like to see it :-) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Ligatures in ConTeXt minimals distribution
Hi Mojca, On Tue, 04 Dec 2007 08:59:29 -0700, Mojca Miklavec [EMAIL PROTECTED] wrote: I will try to investigate, but I don't promise anything. A quick workaround would be to use TeX Gyre instead. Has a simple TeX-Gyre package for ConTeXt been released, or is TeX-Gyre now in the distribution? The last time I tried I spent too much time downloading/installing from GUST, struggling to get it to work, only two fonts worked, etc... I'm hoping/waiting for/till the mswincontext mkiv beta that will come with the approaching luatex beta but if there is any other info... Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] backward compatibility [URGENT]
On Thu, 06 Dec 2007 10:31:58 -0700, Steffen Wolfrum [EMAIL PROTECTED] wrote: Is there an easy way to do this, like using sudo ctxtools -- updatecontext and use the respective files from the museum? Where is the museum exactly? I usually keep old cont-tmf's for up to half a year before deleting them but if there is a depository... Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] bugged mkiv
On Thu, 06 Dec 2007 14:04:04 -0700, Hans Hagen [EMAIL PROTECTED] wrote: hi, there is a bug in the feature processer of the latest current mkiv (I added a verbose resolved but forgot something) so ... update ... (only if you're using mkiv) mkiv now also no longerloads the unic-* files (no need for that) i bet that some more bugs will show up -) Indeed. Upon updating the luatex format: ) (C:/ConTeXt/tex/texmf-local/tex/context/base/lang-dis.tex loading : Context Language Macros / Distribution Patterns ) ! I can't find file `unic-ini.mkiv'. to be read again \relax l.288 \loadmarkfile{unic-ini} Please advise :-) Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
[NTG-context] gobbling previous space
Dear gang, For some macro writing, I need a low-level command that will gobble the space before it so that = Here is some text.% \mycommand = is equivalent to = Here is some text. \mycommand = without the %. I'm sure there's a context command for this hidden somewhere... Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] luatex not compiling
Hi guys, On Fri, 21 Dec 2007 03:50:04 -0700, Martin Schröder [EMAIL PROTECTED] wrote: 2007/12/20, Hans van der Meer [EMAIL PROTECTED]: Probably changing the code into: #include signal.h #ifndef _SIGNAL_H_ #include sys/signal.h #endif might help, but I have not tested this (some of the pie should be left for Taco c.s. ;-) Just curious: What does the man page of signal.h say how to include it on OSX? On linux it's signal.h ... Should'nt this discssion go to the dev-luatex list? :-) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] migrating to ConTeXt
On Sun, 23 Dec 2007 23:43:35 -0700, Gour [EMAIL PROTECTED] wrote: On Sun, 23 Dec 2007 08:39:56 -0700 Idris Samawi Hamid [EMAIL PROTECTED] wrote: Which is why we need a team :-) Right. This sounds as reasonable proposal - let every expert writes his/her part. Anyway, as soon as luatex/mkiv is relatively stable, the hyperbola is still a bit too far from the asymptote at the moment... Hmm, isn't luatex already quite stable? It's in beta but there is still a ways to go and features etc. may change... same for mkiv (the ConTeXt interface) But we're getting there... Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
[NTG-context] conditionals and font switches
Dear gang, Consider a control sequence \MyCS. It has three possible definitions: \def\MyCS{def1}, \def\MyCS{def2}, \def\MyCS{def3} What I would like is to define \MyCS once such that def1 takes effect when \tf is invoked def2 takes effect when \it is invoked def3 takes effect when \bf is invoked something like (incorrect syntax but you'll get the point) \def\MyCS{% \if\itdef1 \else \if\bfdef2 \else def3} How can I do this Any tips greatly appreciated! Happy Holidays! Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] conditionals and font switches
On Tue, 25 Dec 2007 12:21:18 -0700, Wolfgang Schuster [EMAIL PROTECTED] wrote: You could modify the following macro from font-ini. \def\fontstylesuffix {\ifx\fontalternative\c!tf \s!Regular \else \ifx\fontalternative\c!bf\s!Bold \else \ifx\fontalternative\c!sl \s!Slanted \else \ifx\fontalternative\c!it \s!Italic \else \ifx\fontalternative\c!bs \s!BoldSlanted \else \ifx\fontalternative\c!bi \s!BoldItalic \else \ifx\fontalternative\c!sc\s!Caps \else \s!Regular \fi\fi\fi\fi\fi\fi\fi}% something like this should work (if I get you right) \ifx\fontalternative\c!tf def1 \else \ifx\fontalternative\c!it def2 \else \ifx\fontalterantive\c!bf def3 % \fi\fi\fi search fo \fontalternative in the base (font-ini.tex and alike) What wonderful gangsters, working on Christmas! ;-) Thanks a lot for the fast feedback and Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] conditionals and font switches
On Tue, 25 Dec 2007 12:21:18 -0700, Wolfgang Schuster [EMAIL PROTECTED] wrote: You could modify the following macro from font-ini. \def\fontstylesuffix {\ifx\fontalternative\c!tf \s!Regular \else \ifx\fontalternative\c!bf\s!Bold \else \ifx\fontalternative\c!sl \s!Slanted \else \ifx\fontalternative\c!it \s!Italic \else \ifx\fontalternative\c!bs \s!BoldSlanted \else \ifx\fontalternative\c!bi \s!BoldItalic \else \ifx\fontalternative\c!sc\s!Caps \else \s!Regular \fi\fi\fi\fi\fi\fi\fi}% On Tue, 25 Dec 2007 12:22:38 -0700, Peter Rolf [EMAIL PROTECTED] wrote: something like this should work (if I get you right) \ifx\fontalternative\c!tf def1 \else \ifx\fontalternative\c!it def2 \else \ifx\fontalterantive\c!bf def3 % \fi\fi\fi search fo \fontalternative in the base (font-ini.tex and alike) What wonderful gangsters, working on Christmas! ;-) Thanks a lot for the fast feedback and Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] [EMAIL PROTECTED] in luatex
On Wed, 26 Dec 2007 12:32:50 -0700, Hans Hagen [EMAIL PROTECTED] wrote: Idris Samawi Hamid wrote: Two things: 1. The [EMAIL PROTECTED] macro (from TeXBook, p.~356) does not work in luatex (see test file, pdftex works); 2. In any case: Is there a better way to do this (see test file)? as taco mentioned ... most open type fonts have no italic correction automatically figuring it out is not always an option, compare (in pdftex): \sl \the\fontdimen1\font\the\dimexpr1em\relax \`A \'A \bs \the\fontdimen1\font\the\dimexpr1em\relax \`A \'A \it \the\fontdimen1\font\the\dimexpr1em\relax \`A \'A i can imagine that we start building a database with additional font parameters I spent a few hours on a workaround. Attached is my temporary code for Arabic transliteration. I found a way to define U-02BE and U-02BF for Latin Modern (thanks to Wolfgang and Peter for helping me with \ifx). It does work well but feel free to suggest improvements! (A bug: \defineactivecharacter ḻ {\~l} does not work if \showboxes is invoked; weird) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ayn-hamzah.tex Description: TeX document ___ 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] [EMAIL PROTECTED] in luatex
On Wed, 26 Dec 2007 13:47:26 -0700, Hans Hagen [EMAIL PROTECTED] wrote: (A bug: \defineactivecharacter ḻ {\~l} does not work if \showboxes is invoked; weird) use \normalhbox cum suis when you want to use showboxes (which overloads the primitive box operations) Hmm, it's more serious than that I'm afraid (utf-8 text follows): === % engine=luatex \starttext \defineactivecharacter Ṣ {\d S} \defineactivecharacter ḻ {\~l} \defineactivecharacter ḻ {\normalhbox{\~l}} Ṣādiq a\~l Aḻ\footnote{Ṣādiq a\~l Aḻ} \stoptext === The \~l does not work in the footnote in luatex. Is there a workaround? Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
[NTG-context] quotation/blockquote bug
Dear syndicate, There is a bug in \quotation and/or \blockquote (pdf attached): there is a spurious dbl-quote mark at the end of the par that only occurs when \quotation is invoked. Please advise, workarounds welcome :-) Best wishes Idris % engine=luatex \starttext \startblockquote The now also must be indivisible: that is, the now in the essential and primary sense in which the now is inherent in all time; not, indeed, the now in the derived sense of a period of time…This now, which functions as the border between both past and future, must, indeed, be identical….If the now were separate limits [of both the past and the future], there would be a time between them, since every [real] continuum must have something of the same kind between its limits; and the time between them would be divisible, since we have proved that all time is divisible. Accordingly, the now would be divisible [and it would not, then, be the now we are talking about]….Thus, it is clear that time includes something indivisible, which we call a \quotation{now.} Obviously, too, nothing can be moving during a now. \stopblockquote \stoptext -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ qabas-test.pdf Description: Adobe PDF document ___ 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] strutted pars?
Dear gang, We can use \struttedbox to force an eg, large expression to obey the surrounding interlinespace: === {blah blah \struttedbox{\tfc blah blah}} blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \struttedbox{\tfc blah blah}} blah blah blah blah blah blah === but this has the drawback that the box cannot be broken across lines. Is there a way to force the interlinespace to remain constant and ignore the size of grouped insertions with big font sizes? Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] quotation/blockquote bug
On Thu, 27 Dec 2007 16:15:22 -0700, Wolfgang Schuster [EMAIL PROTECTED] wrote: Your example is too long, I could reproduce this also with the folowing short example. \startquotation text \quote{text} text\stopquotation Indeed, much more to the point :-) The wrong right values did only appear if you use singlecommand quotations within a quotation environment. The push and popdelimitedtext macros did not work correct in this case and ConTeXt thinks there current environment is quotation and not blockquote when it reaches the \stopblockquote command. A group around the single quote command helps, you core macros would look like: \unprotect \def\delimitedtext[#1]% {\bgroup \pushdelimitedtext{#1}% \doifelse{\delimitedtextparameter\c!method}\s!font {\dofontdrivendelimited} {\doifinsetelse{\delimitedtextparameter\c!location}{\v!paragraph, \v!margin}% \dodelimitedtextpar\dodelimitedtexttxt}} \unexpanded\def\dodelimitedtextpar {\dohandleleftdelimitedtext\c!left\relax \groupedcommand \donothing {\dohandlerightdelimitedtext\c!right\removelastskip \popdelimitedtext \egroup}} \def\doquoteddelimited {\dohandleleftdelimitedtext\c!left\relax \groupedcommand \donothing {\dohandlerightdelimitedtext\c!right \removelastskip \popdelimitedtext \egroup}} \def\doattributeddelimited {\groupedcommand {\dostartattributes{\??ci\currentdelimitedtext}\c!style\c!color} {\dostopattributes \popdelimitedtext \egroup}} \protect I added in the macros above only a \bgroup in \delimitedtext and a \egroup in every of the other three commands. There is a bug in here I think: ConTeXt validation gives error in file qabas-test.tex at line 6 in column 3: missing } for { error in file qabas-test.tex at line 10 in column 6: missing } for { line 6 is {\bgroup luatex eternally pauses with an apparent runaway argument But enclosing the whole thing {\quote{}} is a workaround. Thank you very much for your continuous outppouring of wisdom, Wolfgang! Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] quotation/blockquote bug
On Thu, 27 Dec 2007 17:05:09 -0700, Wolfgang Schuster [EMAIL PROTECTED] wrote: There is a bug in here I think: ConTeXt validation gives error in file qabas-test.tex at line 6 in column 3: missing } for { error in file qabas-test.tex at line 10 in column 6: missing } for { line 6 is {\bgroup luatex eternally pauses with an apparent runaway argument Not for me, I tested it with mkii and mkiv. I think it was also something weird introduced by the mail clint. Your test file works fine; it was probably the email, 'cause I can't tell the difference... I attached now my test file. But enclosing the whole thing {\quote{}} is a workaround. Ugly workaround. Indeed, but when you're desperate and on a deadline... But thank you very much again! (Any luck with that interlineskip issue by any chance? ;-) ) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] strutted pars?
On Fri, 28 Dec 2007 01:28:23 -0700, Hans Hagen [EMAIL PROTECTED] wrote: \dontleavehmode \begstrut bla bla \endstrut \par On Fri, 28 Dec 2007 01:40:50 -0700, Taco Hoekwater [EMAIL PROTECTED] wrote: That was a bad example, just try it :-) Ok, better example attached :-) But if you have a chuck of well-controlled text, there is a trick: \lineskiplimit=-1pt blaq blaq {\tfc blaq blaq} blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq {\tfc blaq blaq} blaq blaq blaq blaq blaq blaq On Fri, 28 Dec 2007 01:41:35 -0700, Wolfgang Schuster [EMAIL PROTECTED] wrote: %\lineskiplimit=0pt \lineskip=0pt blah blah {\tfc blah blah} blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah {\tfc blah blah} blah blah blah blah blah blah I have attached a file and pdf that illustrate all four scenarios; none of the above solutions seems to work, but maybe I need to tinker with the def's in test-strut.tex. For my purposes Hans' approach is the most useful (if we can make it work) because otherwise it makes me have to do more copy-editing of paragraphs and I might miss some (based on Taco's observation it is probably not wise to make this global). Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ test-strut.pdf Description: Adobe PDF document test-strut.tex Description: TeX document ___ 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] strutted pars?
On Fri, 28 Dec 2007 09:07:39 -0700, Taco Hoekwater [EMAIL PROTECTED] wrote: There should be a \par or empty line before those \stop commands, otherwise none of the paragraph-based tricks work. Ok, yours works now, but not Wolfgang's or Hans'. Wolfgang's is essentially the same idea as yours so that's fine but if we could just get the Hans approach to work... Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] strutted pars?
On Fri, 28 Dec 2007 09:39:56 -0700, Hans Hagen [EMAIL PROTECTED] wrote: \unexpanded\def\Idrisized#1% {\begingroup \let\processword\struttedbox \processwords{#1}% \endgroup} blaq blaq blaq blaq blaq blaq blaq blaq \Idrisized{\tfc blaq blaq blaq blaq blaq blaq} blaq blaq blaq blaq \Idrisized{\tfc blaq blaq} blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq Thank you a million, Hans! And thank you, Taco and Wolfgang, for enriching my bag of tricks. You are all the best! Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
[NTG-context] active strings in luatex?
Dear Hans and Taco, This may be of general interest to the Europeans (and indirectly relates to the [EMAIL PROTECTED] email): I need the following: LATIN CAPITAL LETTER L WITH TILDE;004C 0303 LATIN SMALL LETTER L WITH TILDE;006C 0303 The proposal is still under consideration for lithuanian and not yet in unicode. In luatex can I make a definition such that such that the string U004C U0303 (l ̃) is always treated as l with tilde above, taking into account italics and without using \~l (which does not work in, eg, footnote)? Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] strutted pars?
On Fri, 28 Dec 2007 09:39:56 -0700, Hans Hagen [EMAIL PROTECTED] wrote: \unexpanded\def\Idrisized#1% {\begingroup \let\processword\struttedbox \processwords{#1}% \endgroup} blaq blaq blaq blaq blaq blaq blaq blaq \Idrisized{\tfc blaq blaq blaq blaq blaq blaq} blaq blaq blaq blaq \Idrisized{\tfc blaq blaq} blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq Hmm, there is a bug, unfortunately: Only the first word in #1 is processed, the rest are ignored. Adding grouping causes the argument to be treated as a box and the desired effect is lost. (pdf attached). Best Idris = % engine=luatex \starttext \start \unexpanded\def\Idrisized#1% {\begingroup \let\processword\struttedbox \processwords{#1}% \endgroup} blaq blaq blaq blaq blaq blaq blaq blaq \Idrisized{\tfc blaq blaq blaq blaq blaq blaq} blaq blaq blaq blaq \Idrisized{\tfc blaq blaq} blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq \blank blaq blaq blaq blaq blaq blaq blaq blaq \Idrisized{{\tfc blaq blaq blaq blaq blaq blaq}} blaq blaq blaq blaq \Idrisized{{\tfc blaq blaq}} blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq blaq \stop \stoptext = -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ test-strut2.pdf Description: Adobe PDF document ___ 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] strutted pars?
On Fri, 28 Dec 2007 13:34:00 -0700, Hans Hagen [EMAIL PROTECTED] wrote: \unexpanded\def\Idrisized#1#2% {\begingroup#1% \let\processword\struttedbox \processwords{#2}% \endgroup} Ok, thanks a lot! Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] ConTeXt-ifying Kile
Hi Matija, Attached is the text file I use for Notepad++. It's (almost) complete and based on Hans' Scite files. I miss Kate and hope to check it out again whenever I get time to play with Linux again (it's been about four years). Best wishes Idris On Sat, 29 Dec 2007 05:25:30 -0700, Matija Šuklje [EMAIL PROTECTED] wrote: What I'm trying to do now is including ConTeXt commands autocompletion in Kile. What I would need for that is a list of the commands (see attachment for more info). -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ context.api 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] default engine for texexec
Hi, On Sat, 29 Dec 2007 15:22:37 -0700, Peter Münster [EMAIL PROTECTED] wrote: Hello, What methods do exist, to change the default engine for texexec (for example luatex instead of pdftex)? == % luatex \starttext Hi \stoptext == Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] default engine for texexec
Hi Peter, On Sun, 30 Dec 2007 01:29:46 -0700, Peter Münster [EMAIL PROTECTED] wrote: with the command texexec file, I want luatex to be used. And with the command texexec --pdftex file I want pdftex to be used. IIRC there used to be an ini file with those options, but it's gone now. For one thing, older engines like tex and omega are no longer supported (no etex), luatex is still experimental, and aleph is obsolete (except for testing for relevant luatex bugs). So pdftex is the only really solid engine (I don't know anything about xetex). So maybe Hans is waiting till mkiv stabilizes before giving us that option back? Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
[NTG-context] logos in luatex
Dear consortium, Logos blow up in luatex (example below). Is there a workaround, or another method that I should use? Best wishes Idris = % engine=luatex \setuphead[title][after={\placelogos[ijss]}] \definelogo[ijss][footer][left][command=$\aleph$] \starttext \title{Test} \stoptext = layout : calculating logospace ! LuaTeX error ...onTeXt/tex/texmf-local/tex/context/base/attr-ini.lua:262: stack overflow. \finalizeobjectbox ...s_page(tex.box[\number #1])} \finalizeshipoutbox ...ctbox \finalizedshipoutbox \hbox {\ctxlua {states.flu... \actualshipout ...0\hbox {\finalizeshipoutbox {#1} }\setbox \scratchbox \hbox... \myshipout ... \fi {\thisisrealpage \realfolio #1} \gotonextrealpage \aftersh... \dofinaloutput ...agebody #1#2\setpagecounters }}} \fi \the \everyaftershipou... \finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2 \resetselectiepagina \incr... ... l.9 \stoptext -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
[NTG-context] old style nums
Dear gang, What is the official way to get old style numerals in 11pt in mkiv? I'm just using lm. Thnx in advance! Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] logos in luatex
On Mon, 31 Dec 2007 00:50:18 -0700, Idris Samawi Hamid [EMAIL PROTECTED] wrote: = % engine=luatex \setuphead[title][after={\placelogos[ijss]}] \definelogo[ijss][footer][left][command=$\aleph$] \starttext \title{Test} \stoptext = The latest beta works fine, so whatever it was is gone now. The bell is about to toll in W. Europe: Happy New Year! -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] old style nums
On Wed, 02 Jan 2008 01:37:08 -0700, Wolfgang Schuster [EMAIL PROTECTED] wrote: You also have to define oldstyle :-) No, you don't have to, because oldstyle is predefined in type-ini.tex, two other predefined fontfeatures are default and smallcaps :-) Did you try it? worketh not ;-) == % engine=luatex \setfontfeature{oldstyle} \starttext test 1234567890 \stoptext == There is currently no better way to enable oldstyle number for the whole document except you define your own typescripts and use them. I spent hours today writing and debugging a huge typescript for lm (all those optical sizes, since i could not for the life of me get it to piggy-back the def's in type-siz). I just got it working flawlessly a few minutes ago -- sublime, a work of art even -- then I get your message which would have saved me hours of work! I just needed that one command!!! You're an angel, just wish I got this this morning ;-) Best wishes Idris PS Note that tnum (tabular version) looks better than onum alone, but is a function of onum in the font so cannot be invoked unless onum is invoked first. \definefontfeature[tnum][tnum=yes,onum=yes] Hmm, I assumed the order would be [onum=yes,tnum=yes], or does the order not matter? Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] bug in \setfontfeature
On Wed, 02 Jan 2008 02:11:22 -0700, Hans Hagen [EMAIL PROTECTED] wrote: in font=otf.lua, patch ... function fonts.otf.set_dynamics(tfmdata,attribute,features) local shared = tfmdata.shared if shared then end end and remake Does this handle the other [off-list] utf-8 bug that generates an error message from font-tfm.lua:591? (I sent the wrong test file before, sorry) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ lmos-test.tex Description: TeX document ___ 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] ConTeXt-ifying Kile
Hi Matija, On Wed, 02 Jan 2008 05:14:04 -0700, Matija Šuklje [EMAIL PROTECTED] wrote: I've just compared the list you sent me with the raw one I generated from TeXLive 2007's ConTeXt. The one you sent me contains 875 lines/commands, whereas the raw generated one contains 3151. Am I doing something wrong here? Exactly how did you generate this? I just took the info from Hans' scite properties files. Maybe you are getting low-level commands not normally accessible to the user. Could you send it to me off-list? Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] bug in \setfontfeature
On Wed, 02 Jan 2008 08:14:17 -0700, Taco Hoekwater [EMAIL PROTECTED] wrote: Does this handle the other [off-list] utf-8 bug that generates an error message from font-tfm.lua:591? No. You get that error because the font does not have a non-breaking hyphen, and you can fix it by changing that line into if characters[current.char] and characters[current.char].class == mark then and regenerating the format. But it will still not work, because the glyph still does not exist. Actually, this bug had the nice side-effect of identiying a few spots in this huge project (journal) where the conversion of articles to context was buggy (like that u-2011 example, they were all supposed to be converted). Nice to get a _helpful_ bug for a change. OTOH that should be fixed anyway... The interesting thing is that using the default lm setup it does not show up, but as soon as font features are activated it does. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] ConTeXt-ifying Kile
On Thu, 03 Jan 2008 06:14:39 -0700, Hans Hagen [EMAIL PROTECTED] wrote: ctxtools can output files for editors (bbedit, jedit, scite) based on the xml definition files; i can imagine an option to write the files needed for kile (given that someone else than me writes the code) 1. Can you give an example? 2. Where are those xml files? Npp is pretty simple; just an ordered list: === about adaptlayout adding aftersplitstring and appendix appendtoks [etc.] === Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] symbols in luatex?
On Fri, 04 Jan 2008 14:20:45 -0700, Hans Hagen [EMAIL PROTECTED] wrote: Thomas A. Schmitz wrote: BTW, fea files and font features are a bit flaky these days, in the latest two versions, none of my fea gsub stuff works... But it's difficult for me to say whether it is the current version of luaTeX or of ConTeXt which is at fault. Will try to give more useful information when I have a bit more time. best take the beta (some reported bugs fixed) Does that include the one I reported? -) fea is flaky anyway ... currently fea *replaces* existing features; FL (and FF?) can export fea files, so one can (in principle) add features to the original fea file for further features etc. future versions of luatex will do a proper merge but this has a low priority not too low I hope ;-) it's a great feature (no pun intended)! Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] symbols in luatex?
On Tue, 08 Jan 2008 01:21:11 -0700, Hans Hagen [EMAIL PROTECTED] wrote: But after all: there's LinLibertine or the (symbol) Unicode font that one of you has mantioned a few days ago. yes, those fonts are very complete; i wonder if they may be distributed with tex ... There's a LaTeX package... Anyway, thnx for mentioning LinLibertine, Wolfgang; downloding it now. Unfortunately they don't have a monospace font :-( For serious utf-8 work in an editor it's indispensable. I'm using Arial Unicode MS in the meantime (ugh). SC Unipad has the best and most complete unicode editing font out there (both mono and var options) but it's a bitmap and tied to the application. SIL has some pretty complete fonts as well. Doulos is pretty complete as far as Latin extensions are concerned, and is probably the richest font after Arial Unicode (which is still over an order of magnitude bigger). But the idea of a virtual uniode font is a good idea and I'd like to help. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] ConTeXt meeting: preliminary registrations open now
On Tue, 08 Jan 2008 14:16:47 -0700, Jeff Smith [EMAIL PROTECTED] wrote: On appearances it sometimes feels like I'm the only North American user of ConTeXt (which is surely not true, though)! You're kidding, right ;-) -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] Opportunity to include ConTeXt code into a LaTeXe environment
On Wed, 09 Jan 2008 15:00:50 -0700, Martin Scholz [EMAIL PROTECTED] wrote: would be nice to let me know if you found an opportortunity to do so. because I'm much more familiar to the LaTeXe-syntax and just started with context a few weeks ago. And all in all I just don't wan't to miss all the syntax of LaTeXe... I've been where you are at... There is no getting around it, you'll have to let LaTeX go. In the long run you'll be much better off for it ;-) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Installing Type 1 fonts into ConTeXt
Hi Pascal, On Fri, 11 Jan 2008 12:38:00 -0700, Pascal de Bruijn [EMAIL PROTECTED] wrote: On Jan 11, 2008 8:25 PM, Taco Hoekwater [EMAIL PROTECTED] wrote: Pascal de Bruijn wrote: Does anybody have a clue why the first define went sour? Which tool is used to extract the metadata from the .pfb files? Looks like a typing error in the pfb rename of 0018a___.pfb: it should be named zhum601bi.pfb (note the 'm'). Is renaming required? I got the fonts from a CorelDRAW cdrom. I used the files as is. Anyway other font collections also have deviating filenames, and they work just fine. In my experience, you have to get the coordination between pfb and tfm exactly right. Things are case sensitive etc... I'm sure there's just a typo or mismatch somewhere Also, I'm currently installing in ~/texmf, however, say I'd want to makethese fonts available system-wide, what would be the correct place to movethem? Better to put them in texmf-local or, even better, texmf-project (may have to edit setuptex.bat in that case). I NEVER install anything in texmf if I can help it. See also the MyWay I wrote on this topic, maybe something in there will help. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] active strings in luatex?
On Sun, 13 Jan 2008 15:59:27 -0700, Hans Hagen [EMAIL PROTECTED] wrote: In luatex can I make a definition such that such that the string U004C U0303 (l ̃) is always treated as l with tilde above, taking into account italics and without using \~l (which does not work in, eg, footnote)? What you want here is to support the Unicode combining characters, which isn't straightforward in TeX because according to the Standard, they come after the base letter they modify, while TeX's accent commands are, of course, typed before. So you can't simply make the combining characters active and equivalent to the appropriate accent macros. if i know the precise specs i can build it into the utf collapser, which is way faster than dealing with tokens (mkiv will not have a token parser for the main input, at most for dedicated tasks) This may be a good place to start: http://www.unicode.org/versions/Unicode5.0.0/ch02.pdf see pages 48--54 don't know if this is precise enough... See also pp.~109--117 of http://www.unicode.org/versions/Unicode5.0.0/ch03.pdf which seems even more precise. See also http://www.unicode.org/versions/Unicode5.0.0/UnicodeBookIX.pdf under combining Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] header to register
On Tue, 29 Jan 2008 09:35:12 -0700, Wolfgang Schuster [EMAIL PROTECTED] wrote: One can also use \textellipsis, which is more obvious ;-) Try this: \starttext text\textellipsis text\unknown \stoptext I prefer the second line So do I. But I still use \dots mostly so I did not realize the difference; I thought they were the same (or forgot they are different). Why the different definitions I wonder? Till then I'll proabably \let\textellipsis=\unknown. (there a short discussion about this topic a long time ago). Yes, I was thinking of that when I wrote... need to research/review it again... Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] header to register
On Tue, 29 Jan 2008 03:51:01 -0700, Wolfgang Schuster [EMAIL PROTECTED] wrote: You could use \unknown What should that do? And where/how would I use it? Please don't expect me to know any lowlevel commands... Hi Henning, \unknown is no low level command, it is ConTeXt's command to produce a ellipsis in the text, exactly what do you want to achieve with your \dots command. One can also use \textellipsis, which is more obvious ;-) Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] header to register
On Wed, 30 Jan 2008 01:43:46 -0700, Thomas A. Schmitz [EMAIL PROTECTED] wrote: \starttext text\textellipsis text\unknown \stoptext I prefer the second line (there a short discussion about this topic a long time ago). Wolfgang Hi Wolfgang, isn't this just a bug in lmodern? In any decent font, \textellipsis in fact gives exactly the output you get from \unknown here. There may be historical reasons why the glyph looks that way in cm and lm, but it certainly is unexpected compared to other fonts. Or a bug in mkii: enco-utf.tex: Line 3055 : \def\textellipsis {…} % HORIZONTAL ELLIPSIS enco-def.tex: \definecharacter textellipsis {\mathematics\cdots} try this: === % engine=luatex \starttext text\textellipsis text\unknown \stoptext === Another big difference. \textellipsis behaves differently in mkii and mkiv. Also, the lm ellipsis seems way too packed... Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Need of a new global option for indenting?
On Wed, 30 Jan 2008 14:53:35 -0700, Henning Hraban Ramm [EMAIL PROTECTED] wrote: Am 2008-01-30 um 19:53 schrieb Taco Hoekwater: Sorry to bother you with this question again, but I didn't get any definitive answer in the previous discussion: wouldn't it be useful to have a new option in \setupindenting that indents EVERY paragraph? I mean even after floats, formulae, heads, etc. This is a french typographical tradition thing, isn't it? Not, it's not only French. I already had (German) customers who demanded every paragraph to be indented. In Arabic typography this is also ubiquitous... Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] %18 or 18% : incorrect placement of the percentage sign ?
On Thu, 31 Jan 2008 02:27:16 -0700, Steffen Wolfrum [EMAIL PROTECTED] wrote: Hi, I have often seen (in arabic newpapers) the percentage sign set left to the number % 18. Recently I read an article (http://sehstoerung.sonance.net/pdfs/ TitusNemeth_dissertation.pdf) that calls this ... the incorrect placement of the percentage sign. Any native arabic speaker out there? Is it %18 or 18% ?? It really depends on where you live. In Persian, 18% is common, among Arabs, %18. Both languages are left-to-right, but there is more than one convention for dealing with mathematical directionality. Some of these issues are still being worked about in the Arabic-script world. These subtlties need to be addressed for proper high-level handling of Arabic-script in ConTeXt/mkiv. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] %18 or 18% : incorrect placement of the percentage sign ?
On Thu, 31 Jan 2008 08:08:45 -0700, Idris Samawi Hamid [EMAIL PROTECTED] wrote: Both languages are left-to-right, RTL, of course... I -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] %18 or 18% : incorrect placement of the percentage sign ?
On Thu, 31 Jan 2008 15:42:53 -0700, Hans Hagen [EMAIL PROTECTED] wrote: interesting point ... ok, small numbers, but how about [bara erom] 12.472.477 [bara emos] [bara erom] 774.274.21 [bara emos] IIRC Persian and Arabic have diffferent rules; I need to research this again (check urdu too)... will report back. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] %18 or 18% : incorrect placement of the percentage sign ?
On Thu, 31 Jan 2008 15:35:35 -0700, Peter Münster [EMAIL PROTECTED] wrote: On Thu, Jan 31 2008, Steffen Wolfrum wrote: Any native arabic speaker out there? Is it %18 or 18% ?? Hello, I don't know nothing about Arabic script, but wouldn't it be logic to ask for %81 or 18% ? Hmm, this could be a long discussion... In ancient times, Arabic numerals (whence our own) were pronounced as follows (translation): 1234 = 4 and 30 and 2 hundred and a thousand Writing from right to left one would write 4 first, then 3, etc., giving the same output as writing from left to right. So the oft-repeated mantra that numbering in Arabic is LR is a half-truth. Today, Arabs, Persians etc. read numerals the same way westerners do; so the effect is that it is more convenient to enter numeral-strings as LR. But when the numbers were read in reverse (actually it is we that read numbers in reverse when you think about it, Arabic numerals after all) they were written RL and looked the same as our LR version. So taking Peter's logic to its conclusion we should be writing 18 as 81, not the other way around ;-) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] [OT] suggestion for books on (typo)graphic design
Hi Andrea, http://www.amazon.com/Elements-Typographic-Style-Robert-Bringhurst/dp/0881792063/ref=sr_1_1?ie=UTF8s=booksqid=1203600674sr=8-1 is fundamental and indispensable (Zapf calls it the Typographer's Bible), but if your class is in Italian... Best wishes Idris On Thu, 21 Feb 2008 03:00:07 -0700, Andrea Valle [EMAIL PROTECTED] wrote: Hi to all and sorry for the OT, but here on the list there are some of the most competent people I know on the topic. I will start a course on graphic communication. The students are ground-zero programmers, all on mac, so I would like to use Nodebox (http://nodebox.net/). (Unluckily no time/space to introduce ConTeXt). I will focus on data visualization, so I was considering to adopt Tufte's classic The Visual Display etc. I've still not read Envisioning Information and Visual Explanations. Any ideas? I will have also to introduce basic elements of graphic communication (e.g. fonts, page composition, color usage etc). -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] old-style numerals and .
Hi, On Fri, 22 Feb 2008 20:03:12 -0700, Jesse Alama [EMAIL PROTECTED] wrote: I tried switching to nice old-style numerals for a table of contents, and found to my chagrin that the periods in the numbers, such as the . in 2.3, get typeset as triangles. You can see the result (verified on the live context in the garden) with \starttext {\os 2.3} \stoptext What's going on? How can I get periods rather than triangles? If you are using pdfTeX, you have to switch to an encoding that uses oldstyle numerals. This is because the knuthian font with oldstyle is a special, not general purpose, font, and has triangles where the period would be etc. You have to activate oldstyle globally for any but the most narrow purposes. Something like the following \usetypescript[modern-base][texnansi] % a simplified latin-modern typescript \usetypescript [map] [latin-modern-os] [texnansi] \setupbodyfont[reset] \setupbodyfont[modern,11pt] used to work in mkii (pdftex + context) but I don't know if it still does -- mkii support for oldstyle has not been a stable feature (due to the changes from cm to lm): I had to recalibrate every couple of years or so. So try and see. If you use luatex then there are a couple of ways to activate it -- see this thread http://archive.contextgarden.net/thread/20080102.025610.93a30bce.en.html#20080102.025610.93a30bce http://archive.contextgarden.net/message/20080102.025610.93a30bce.en.html == % engine=luatex \definefontfeature [oldstyle] [mode=node,language=dflt,script=latn,onum=yes,tnum=yes] \setfontfeature{oldstyle} \starttext 1234567890 \stoptext == Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] new mkiv beta
Hi Aditya, On Wed, 27 Feb 2008 12:46:46 -0700, Aditya Mahajan [EMAIL PROTECTED] wrote: Which version of luatex is needed? I have This is LuaTeX, Version snapshot-0.20.2-2008011414 and while generating formats, I get ! LuaTeX error /home/adityam/texmf/tex/context/base/core-inc.lua:85: attempt to index global 'img' (a nil value). \ctxluabytecode ...ode .. #1 .. str) end end } \registerctxluafile ...{\the \luabytecodecounter } \fi \fi l.14 \registerctxluafile{core-inc}{1.001} Get the latest, 0.22.1 http://foundry.supelec.fr/projects/luatex/ Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] old-style numerals and .
On Wed, 27 Feb 2008 17:29:42 -0700, Jesse Alama [EMAIL PROTECTED] wrote: Something like the following \usetypescript[modern-base][texnansi] % a simplified latin-modern typescript \usetypescript [map] [latin-modern-os] [texnansi] \setupbodyfont[reset] \setupbodyfont[modern,11pt] used to work in mkii (pdftex + context) but I don't know if it still does -- mkii support for oldstyle has not been a stable feature (due to the changes from cm to lm): I had to recalibrate every couple of years or so. So try and see. It looks like this is more complicated than I thought. What would I do if I wanted old-style numerals just for a table of contents? Currently, my table of contents is set up like so: \setupcombinedlist[content][alternative=c,numberstyle={\os},pagestyle={\os}] This produces the triangles for periods, and I think I understand why that is so. What value should go in for the numberstyle key to enable old-style numerals just for the table of contents? In that case you'll have to switch fonts for the TOC. So you still need to have a font setup that supports os, then switch to that font for the TOC. For example, if you can define a latin modern typeface that uses the oldstyle numerals, then \switchtotypeface[my-lm] in your TOC setup. As I mentioned before I'm not sure what the present protocol is for setting up an oldstyle LM typeface in mkii. Basically you want something like %% THIS IS ONLY AN ILLUSTRATION!!! \starttypescript [LModern-OS] \definebodyfontenvironment [lmodern-os] [default] [interlinespace=2.8ex] \definetypeface [lmodern-os] [rm] [serif] [lmodern-os] [latin-modern-os] [texnansi] \stoptypescript %% THIS IS ONLY AN ILLUSTRATION!!! but maybe someone on the list knows the exact protocol. Then you can do \usetypescript[LModern-OS] in your preamble and \switchtotypeface[lmodern-os] where you need it. Once the final move to mkiv is made this will all be much easier... Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies 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 ___
Re: [NTG-context] Font question
Hi, On Fri, 29 Feb 2008 17:17:23 -0700, Marcin Borkowski [EMAIL PROTECTED] wrote: better consider switching to luatex/context mkiv then -) Well, I'm a bit afraid of its experimental status.. Don't be, its bark is worse than its bite... I use it for production purposes (opentype, bidirectionality, otp/ovf...). Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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 ___