[NTG-context] LuaTeX on Mac OS X

2007-10-01 Thread Otared Kavian
Dear Dalyoung, Like many other ConTeXt users I followed up the many threads about how to install, successfully, LuaTeX. In particular I was interested in your experience since I had more or less the same problems as the ones you described in your latest messages on the list. Now my question

Re: [NTG-context] LuaTeX on Mac OS X

2007-10-04 Thread Otared Kavian
... Once again thanks for your patience and help though! Best regards: OK On 2 oct. 2007, at 19:53, Thomas A. Schmitz wrote: On Oct 1, 2007, at 11:31 PM, Otared Kavian wrote: Dear Dalyoung, Like many other ConTeXt users I followed up the many threads about how to install, successfully, LuaTeX

Re: [NTG-context] metapost question

2007-10-08 Thread Otared Kavian
Hi Thomas, I think you can find what you are looking for at: http://melusine.eu.org/syracuse/poulecl/albums/espace3/ Best regards: OK On 8 oct. 2007, at 15:47, Thomas A. Schmitz wrote: Just because I hope that someone may have done this already: does anyone have metapost code to draw the

Re: [NTG-context] LuaTeX on Mac OS X

2007-10-11 Thread Otared Kavian
Dear Joeng, dear Thomas, Thank you so much for your message and your invaluable help. Indeed thanks to Thomas' instructions, after correcting a few details, I could install LuaTeX and typeset the file test-1.tex with the command texexec --lua test-1.tex However, the execution stops

Re: [NTG-context] [Dev-luatex] luatex not compiling

2007-12-26 Thread Otared Kavian
Hi Yannis, I had recently a new MacBook Pro (my good old PowerBook was stolen…) and so I installed MacOS X 10.5 on my Intel based MacBook. I confirm that I cannot run LuaTeX (actually I never could run anything other than very simple ConTeXt mkii files with luatex…). Following up the

Re: [NTG-context] latest release(s) and XeTeX

2008-01-19 Thread Otared Kavian
Hi Thomas, I may confirm that on my installation the same thing happens. I use: ConTeXt ver: 2008.01.16 13:49 MKII fmt: 2008.1.19 int: english/ english and the log file is identical to yours (I have a MacBook running Mac OS X 10.5.1). Of course I have no idea what is going wrong

Re: [NTG-context] %18 or 18% : incorrect placement of the percentage sign ?

2008-01-31 Thread Otared Kavian
Hi all, I checked in some Persian printed books, and noticed that the rule is to write 18% or rather ۱۸% However I don't know of any book in Persian on rules of typography. But I am asking some people in Iran about the issue. Regarding the treatment of numbers, indeed numbers are written

Re: [NTG-context] %18 or 18% : incorrect placement of the percentage sign ?

2008-02-01 Thread Otared Kavian
On 1 févr. 08, at 12:15, Steffen Wolfrum wrote: […] Maybe I missed the point: don't both lines produce the same output: ۱۲۳ ۴۵۶ ۷۸۹ ? \TeXXeTstate=1 \definedfont[GeezaPro at 16pt] \starttext ۱۲۳ ۴۵۶ ۷۸۹ \beginL ۱۲۳ ۴۵۶ ۷۸۹ \endL \stoptext ... or was this a confusion of

Re: [NTG-context] ConTeXt book

2008-02-06 Thread Otared Kavian
Hi all, Indeed the documents mentioned by Taco are great, but some time ago there was a discussion on the list about an update of those manuals (dating from 1999, according to the colofon) and about how we users can contribute to the job by finding the possible bugs, errors, misprints,

Re: [NTG-context] {{ double braces }}

2008-02-06 Thread Otared Kavian
On 6 févr. 08, at 10:11, Steffen Wolfrum wrote: […] If someone knows an editor that does syntax coloring with lua or gema, I'd be very interested! Hi Steffen, Smultron does this on MacOS X: http://smultron.sourceforge.net/ In fact one can define easily a set of syntax colouring for almost

Re: [NTG-context] Nonletter bug in ConTeXt ver: 2008.02.11 10:35 MKII

2008-02-12 Thread Otared Kavian
On 12 févr. 08, at 16:49, Thomas A. Schmitz wrote: […] Oops, that is due to a typo which Hans and I introduced while we were experimenting with Greek hyphenation. Hans, could you merge the latest patch I sent you yesterday? Otared, if this keeps you from working, I can send you a correct

[NTG-context] Nonletter bug in ConTeXt ver: 2008.02.11 10:35 MKII

2008-02-12 Thread Otared Kavian
Hi all, I just tried to update my ConTeXt installation with the command: sudo ctxtools --updatecontext and after several lines of output I got: […] language: patterns agr for agr loaded (n=16,e=ec,m=ec) (/usr/local/gwTeX/texmf.local/tex/context/patterns/lang-agr.pat ! Nonletter. l.65

[NTG-context] Blackboard bold \Bbb and MKIV

2008-02-12 Thread Otared Kavian
Hi all, In my first steps in experimenting MKIV, I typeset the following minimal example \starttext Let ${\bf c} \in {\Bbb R}$. \stoptext with luatex, but the Blackboard Bold {\Bbb R} doesn't appear. The same file is fine with MKII. LuaTeX gives hundreds of warnings such as: luaTeX warning

[NTG-context] Nonletter again: ConTeXt ver: 2008.02.13 12:11 MKII

2008-02-13 Thread Otared Kavian
Hi Hans and Thomas, The issue I reported on yesterday, when updating, is still present at a different location though. I updated to ConTeXt ver: 2008.02.13 12:11 MKII fmt: 2008.2.13 int: english/ english and got the following:

[NTG-context] Pb with ConTeXt ver: 2008.04.16 17:34 and mkiv

2008-04-16 Thread Otared Kavian
Hi Hans and Taco, I would like to report a problem with the latest release: I just updated my ConTeXt installation and got the following error message: […] This is LuaTeX, Version snapshot-0.25.2-2008041100 (Web2C 7.5.6) (INITEX) (/usr/local/gwTeX/texmf.texlive/tex/context/base/cont-en.tex

Re: [NTG-context] Pb with ConTeXt ver: 2008.04.16 17:34 and mkiv

2008-04-17 Thread Otared Kavian
Problem solved as mysteriously as it appeared, after updating anew ConTeXt… Thanks for your attention: OK On 17 avr. 08, at 01:15, Mojca Miklavec wrote: On Wed, Apr 16, 2008 at 10:42 PM, Otared Kavian wrote: For your information, I am running this on MacBook Pro Intel running MacOS X

Re: [NTG-context] maybe OT? ConTeXt on an EEEPC

2008-04-20 Thread Otared Kavian
How about the MacBook Air?… It is some 1300 grams (but indeed more expensive). Best regards: OK On 19 avr. 08, at 11:42, Thomas A. Schmitz wrote: Dear all, maybe this is off-topic, but I just wanted to tell you about my experiences (and sorry if this sounds like a sales pitch, it isn't!).

[NTG-context] Arabic with LuaTeX vs. XeTeX

2008-06-09 Thread Otared Kavian
Dear all, I just read the thread started by Burak Emir about Typesetting Arabic today, and tried to typeset the sample sent by Idris Samawi Hamid. One of the Arabic or Persian fonts that I have and LuaTeX can find is Nadeem (working on Mac OS X 10.5.3), but what I get after typesetting is

Re: [NTG-context] Arabic with LuaTeX vs. XeTeX

2008-06-09 Thread Otared Kavian
On 9 juin 08, at 11:23, Wolfgang Schuster wrote: […] What happens with the following setups from Idris. \definefontfeature [test] [mode=node,language=dflt,script=arab, init=yes,medi=yes,fina=yes,isol=yes, liga=yes,dlig=yes,rlig=yes,clig=yes,

Re: [NTG-context] Arabic with LuaTeX vs. XeTeX

2008-06-09 Thread Otared Kavian
On 9 juin 08, at 17:09, Burak Emir wrote: […] Hi Otared, I also tried with Nadeem, and I had exactly the same problem. Hi Burak, Thank you for testing that font. As a matter of fact I am not especially attracted to that font, but for some reason, unknwon to me, it is the only one (in

Re: [NTG-context] Arabic with LuaTeX vs. XeTeX

2008-06-09 Thread Otared Kavian
On 9 juin 08, at 18:07, Hans Hagen wrote: Otared Kavian wrote: Indeed… it so simple! But how should one let LuaTeX know about those fonts? set the OSFONTDIR environment variable Many thanks Hans: indeed that's what I did export OSFONTDIR=Library/Fonts export OSFONTDIR

Re: [NTG-context] Arabic with LuaTeX vs. XeTeX

2008-06-09 Thread Otared Kavian
On 9 juin 08, at 18:53, Mojca Miklavec wrote: […] You need to use export OSFONTDIR=/Library/Fonts;/System/Library/Fonts;~/Library/ Fonts Not sure if LuaTeX handles the tilde; in case it doesn't, put the whole path there. Mojca Hi Mojca and all, As a matter of fact here is what I

Re: [NTG-context] Luatex (actually Aleph) and Bidi_Mirrored chars in RTL mode

2008-06-17 Thread Otared Kavian
On 10 juin 08, at 23:30, Arthur Reutenauer wrote: […] Maybe people on the list from Arabic-speaking countries, Israel or Iran can tell us more (in particular, what do one type on a standard keyboard to input an opening bracket?). Arthur Hi Arthur, Sorry for answering to this

Re: [NTG-context] Paragraph on the bottom of a page

2008-07-03 Thread Otared Kavian
How about this: \starttext \phantom{nothing} \vfill \input knuth \stoptext Best regards: OK On 3 juil. 08, at 21:37, Horacio Suarez wrote: Hello: this works in linux but doesn´t in windows XP, both latests context versions. \starttext algún texto \page ~ \vfill cualquier texto

[NTG-context] Latest beta + LuaTeX

2008-07-15 Thread Otared Kavian
Dear magicians, I just updated to the latest betas (ConTeXt and LuaTeX taken on svn://scm.foundry.supelec.fr/svn/luatex and I tried to build luatex on my machine (MacBook Pro under Mac OS X 10.5.4): everything goes fine, the binary is there, that is in trunk/build/texk/web2c/luatex but trying

Re: [NTG-context] OpenType beginners question

2008-07-31 Thread Otared Kavian
On 30 juil. 08, at 23:53, Andrea Valle wrote: Thanks Taco for your efforts. BTW, I will try to contribute to the new doc project. (well, I have svn from a while, but this is the occasion to understand how to use it :) Hi Andrea, If you are on MacOS X, you can use SvnX, a free

Re: [NTG-context] release

2008-08-07 Thread Otared Kavian
Hi Hans, For your information, yesterday I updated my ConTeXt installation with the command: sudo ctxtools --updatecontext and the result is that I cannot anymore typeset any file with mkii, nor mkiv… Out of despair, I removed my whole MacTeX install (running texlive 2007 on Mac OS

Re: [NTG-context] release

2008-08-07 Thread Otared Kavian
am in Italy and my Internet connection are not very smooth… so maybe I have to wait a while before I can experiment the minimals). Best regards: OK On 7 août 08, at 10:52, Hans Hagen wrote: Otared Kavian wrote: Hi Hans, For your information, yesterday I updated my ConTeXt installation

Re: [NTG-context] release and MacTeX

2008-08-08 Thread Otared Kavian
On 7 août 08, at 10:52, Hans Hagen wrote: […] when did you last update? was that successful? afaik nothing changed in the 'normal' zips that should affect an update but keep in mind that the minimals (zips) have now the structure of the minimals at the garden Hans Hi again Hans,

Re: [NTG-context] MacTex Update

2008-08-22 Thread Otared Kavian
Hi David, Recently I updated to MacTeX 2008 which can be found at (thanks to Mojca…) www.uoregon.edu/~koch/MacTeX-2008.mpkg.zip After that, in a Terminal window I just did the usual thing: sudo ctxtools --updatecontext and my ConTeXt installation was updated smoothly. In order to

[NTG-context] Updating LuaTeX on MacTeX-TeXLive 2008

2008-09-18 Thread Otared Kavian
Dear ConTeXters, I just updated my TeX installation with the latest MacTeX-TeXLive 2008, and since the version of LuaTeX included there was 0.25.0, I built a binary version LuaTeX, Version snapshot-0.29.0-2008091817. Now the problem is that my usual procedure for generating mkiv doesn't

[NTG-context] Updating LuaTeX after MacTeX-TeXLive 2008 (again)

2008-09-19 Thread Otared KAVIAN
Dear ConTeXters, I apologize for sending twice this message: since I did not receive it myself, I thought it has been lost… So here is my help request: I just updated my TeX installation with the latest MacTeX-TeXLive 2008, and since the version of LuaTeX included there was 0.25.0, I built a

Re: [NTG-context] Updating LuaTeX after MacTeX-TeXLive 2008 (again)

2008-09-19 Thread Otared Kavian
On 19 sept. 08, at 18:00, Aditya Mahajan wrote: On Fri, 19 Sep 2008, Otared KAVIAN wrote: […] luatools --selfupdate results in: LuaTools | to be replaced old script /usr/texbin/luatools LuaTools | unable to locate new script LuaTools | LuaTools | runtime: 0.082 seconds I do not know how

Re: [NTG-context] Updating LuaTeX after MacTeX-TeXLive 2008 (again)

2008-09-20 Thread Otared Kavian
On 19 sept. 08, at 20:31, Mojca Miklavec wrote: On Fri, Sep 19, 2008 at 6:56 PM, Otared Kavian wrote: Has something changed recently in the ways TEXMFCNF has to be set? On Mac, the situation with LuaTeX configuration has changed *considerably* and in some very important ways after ConTeXt

Re: [NTG-context] Updating LuaTeX after MacTeX-TeXLive 2008 (again)

2008-09-22 Thread Otared Kavian
on the wiki. I presume it will be helpful for others too… Thank you for your time! Best regards: OK updating-context Description: Binary data On 21 sept. 08, at 22:44, Mojca Miklavec wrote: On Sat, Sep 20, 2008 at 12:08 PM, Otared Kavian wrote: On 19 sept. 08, at 20:31, Mojca Miklavec

Re: [NTG-context] Descriptions ... I wish I understood them

2008-09-25 Thread Otared Kavian
On 24 sept. 08, at 20:45, Mojca Miklavec wrote: Hello, I have some weird problems with descriptions, but let's start at the beginning. (I have more problems with understanding how they work, but more about the rest later.) 1.) How do I get some space between title and abc? (I currently put

Re: [NTG-context] Texlive2008 and updating context

2008-09-29 Thread Otared Kavian
On 29 sept. 08, at 14:59, Mojca Miklavec wrote: […] And also clean up --updatecontext procedure. I need to finish several things in the following days, but will come back to it. The confusing info spread all over the wiki definitely needs to be cleaned up. Mojca Hi Mojca, That's why I

Re: [NTG-context] bug in luatex on osx-ppc

2011-05-24 Thread Otared Kavian
Hi Thomas, Some time ago I had an analogous problem related to a new version of LuaTeX (on Mac OS X 10.6.7, Intel processor). I can't say anything about the error message you get, but what I did was the following: --- I erased the content of texmf cache, that is in my case

Re: [NTG-context] Current Mk IV doc?

2011-05-24 Thread Otared Kavian
Hi, You can also do the following in a terminal window: texexec --int=en --pdf --global --result=setup-en --purge x-set-12.mkiv (you can replace « en » with another language such as « fr » for French, or « mkiv » with « mkii »). This is a tip taken from the file

Re: [NTG-context] math: command for absolute value: `\define\abs[1]{\lvert #1 \rvert}` throws `\lvert -\Udelimiter`.

2011-06-04 Thread Otared Kavian
Hi I think the error comes from your way of using \define: you use \define\abs[1]{\lvert #1 \rvert} instead of \define[1]\abs{\lvert#1\rvert} the following works fine for me: \starttext %\define[1]\abs{|#1|} % this works \define[1]\abs{\lvert#1\rvert} % this works too

Re: [NTG-context] testing TeX Live 2011

2011-06-05 Thread Otared Kavian
Dear Mojca, dear Taco, Thank you for sharing th einfo on TexLIve 2011 pretest. I would like to let you know that I downloaded mactex20110529.mpkg.zip from one of the sites on http://tug.org/texlive/pretest.html and after unzipping, tried to install the pacjkage for pretesting.

Re: [NTG-context] testing TeX Live 2011

2011-06-05 Thread Otared Kavian
in various flavors to the Mac community! Best regards: OK On 5 juin 2011, at 14:54, Mojca Miklavec wrote: On Sun, Jun 5, 2011 at 13:34, Otared Kavian wrote: Dear Mojca, dear Taco, Thank you for sharing th einfo on TexLIve 2011 pretest. I would like to let you know that I downloaded

Re: [NTG-context] Cambira

2011-06-08 Thread Otared Kavian
Hi, I tested your file and got the following error message tex error on line 12 in file test-cambria-font.tex: Math error: parameter \Umathquad\displaystyle is not set Otherwise the text is as expected. I am using ConTeXt from the minimals: ConTeXt ver: 2011.05.18 22:26 MKIV. Best

[NTG-context] Random selection of a word in a set with lua and mkiv

2011-06-08 Thread Otared Kavian
Hi all, Assuming that we have a set of words or expressions, say {Maths, Physics, Algebra, Analysis, Chemistry, Geometry, Wave equation, Schrödinger equation} is it possible to write a lua function, named for instance randomselectword which returns one of the words or expressions

Re: [NTG-context] Random selection of a word in a set with lua and mkiv

2011-06-08 Thread Otared Kavian
___ %% Otared Kavian Département de Mathématiques Université de Versailles Saint-Quentin Bâtiment Fermat 45 avenue des Etats Unis 78035 Versailles cedex Téléphone: +33 1 39 25 46 42 Secrétariat: +33 1 39 25 46 44 Secrétariat: +33 1 39 25 46 46 e-mail: otared.kav

Re: [NTG-context] beta

2011-06-08 Thread Otared Kavian
://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ %% Otared Kavian Département de Mathématiques Université de Versailles Saint-Quentin

Re: [NTG-context] Again Cambria after updating to latest beta

2011-06-09 Thread Otared Kavian
___ %% Otared Kavian Département de Mathématiques Université de Versailles Saint-Quentin Bâtiment Fermat 45 avenue des Etats Unis 78035 Versailles cedex Téléphone: +33 1 39 25 46 42 Secrétariat: +33 1 39 25 46 44 Secrétariat

Re: [NTG-context] beta

2011-06-12 Thread Otared Kavian
___ %% Otared Kavian Département de Mathématiques Université de Versailles Saint-Quentin Bâtiment Fermat 45 avenue des Etats Unis 78035 Versailles cedex Téléphone: +33 1 39 25 46 42 Secrétariat: +33 1 39 25 46

Re: [NTG-context] beta

2011-06-12 Thread Otared Kavian
On 12 juin 2011, at 09:52, Marco wrote: On 2011-06-12 Otared Kavian ota...@gmail.com wrote: Probably I am being somewhat dumb… since the module « dimenesions » is not present in the minimals. Has one to define \su somewhere? I am reporting this upon using ConTeXt ver: 2011.06.09 12:49

Re: [NTG-context] beta

2011-06-12 Thread Otared Kavian
On 12 juin 2011, at 23:47, Hans Hagen wrote: On 12-6-2011 9:15, Wolfgang Schuster wrote: What a lame excuse, “si” is easier to remember than “su” and even though the code isn’t limited to si units this isn’t a good reason to avoid the name. I don't like \su either but I needed something

Re: [NTG-context] beta

2011-06-15 Thread Otared Kavian
On 15 juin 2011, at 11:57, Hans Hagen wrote: Hi, I uploaded a new beta. Hans Hi Hans, At the cost of being ridiculous once more, I would report that the following does not work anymore with the latest beta (ConTeXt ver: 2011.06.15 11:49 MKIV): \usemodule[dimensions] \starttext

Re: [NTG-context] beta

2011-06-15 Thread Otared Kavian
On 15 juin 2011, at 15:02, Wolfgang Schuster wrote: The code moved to the core and name of the command changed. \starttext \unit{10 km/h} \stoptext Wolfgang Thanks Wolfgang… ___ If your question is of

Re: [NTG-context] beta

2011-06-24 Thread Otared Kavian
Hi Hans, Updating through the minimals to the latest beta (ConTeXt version 2011.06.25 01:48) presents a few problems: 1) mkii does not work anymore: typesetting \starttext Hello Hans! \stoptext results in sh:

Re: [NTG-context] new look for wiki

2011-09-28 Thread Otared Kavian
On 27 sept. 2011, at 18:05, luigi scarso wrote: http://wiki.contextgarden.net This is not the official announcement --- but I wasn't able to resist... Nice work, thank you very much Siep. -- luigi I found the new look after being almost 3 months away from the list: it is

[NTG-context] Bug in currentdate

2011-10-15 Thread Otared Kavian
On 14 oct. 2011, at 23:26, Hans Hagen wrote: Hi, A new beta has been uploaded. Nothing new apart from some experimental code and a few bugfixes. I also uploaded http://www.pragma-ade.com/preliminaries/hybrid-italics.pdf Files in that path will come and go. Hans Hi Hans, Thanks

Re: [NTG-context] [m-chart] Focus feature

2011-10-19 Thread Otared Kavian
On 18 oct. 2011, at 23:49, Hans Hagen wrote: On 18-10-2011 21:32, Marco wrote: Another issue: According to the manual, “action” should be the default shape. However, when no shape is specified, an error is raised. Is it a bug? fixed in next beta also connection parsing is more

Re: [NTG-context] Problem with mkiv under MacOSX 7 (Lion)

2011-11-05 Thread Otared Kavian
Hi, I use also Mac OS X Lion 10.7.2 with TeXShop 3.06 and everything works perfectly, both mkii and mkiv from the Minimals (everything is also fine when invoking context from the command line in Terminal). However I never succeeded using mkiv from TeXLive… Maybe you could say how you typeset

Re: [NTG-context] Problem with mkiv under MacOSX 7 (Lion)

2011-11-07 Thread Otared Kavian
On 5 nov. 2011, at 18:16, Robert Blackstone wrote: […] I use TeXShop 2.43 (which, incidentally, tells me, when I check for updates, that it is the newest version available.) with an engine that reads: Hi, Yes this is correct: TeXShop won't update to TeXShop 3 if you are using version

[NTG-context] How to reset numbers of formulas?

2011-11-17 Thread Otared Kavian
Hi, Is it possible to reset the numbers which appear after invoking \placeformula? To be more precise, I mean the following situation: \starttext Euler says \placeformula \startformula {\rm e}^{{\rm i} \pi} + 1 = 0. \stopformula The above formula will

Re: [NTG-context] How to reset numbers of formulas?

2011-11-17 Thread Otared Kavian
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ %% Otared Kavian Département de Mathématiques

Re: [NTG-context] equation numbering

2011-11-23 Thread Otared Kavian
Hi Hans, Could you please give an example in which you see the behaviour you are reporting? I tried with mkii and mkiv but could not reproduce what you describe. Best regards: OK On 21 nov. 2011, at 21:39, Meer, H. van der wrote: ConTeXt still has some mysteries for me ;-) This time it is

Re: [NTG-context] float names and lists

2011-11-25 Thread Otared Kavian
On 25 nov. 2011, at 15:09, Idris Samawi Hamid ادريس سماوي حامد wrote: On Thu, 24 Nov 2011 22:17:43 -0700, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: It works when you give \definefloat a second argument with the plural name of your float. Ah! Thank you, Wolfgang, for

Re: [NTG-context] FLOW chart module broken

2011-11-27 Thread Otared Kavian
-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ %% Otared Kavian Département de

[NTG-context] Resetting references or local references?

2011-11-27 Thread Otared Kavian
Dear all, Is it possible to have a sort of « local references for formulas » or else to clear previous references to formulas at a certain point? In a chapter where a certain number of exercices and formulas are to be numbered, assume I have the following minimal example % begin

Re: [NTG-context] Resetting references or local references?

2011-11-28 Thread Otared Kavian
___ %% Otared Kavian Département de Mathématiques Université de Versailles Saint-Quentin Bâtiment Fermat 45 avenue des Etats Unis 78035 Versailles cedex Téléphone: +33 1 39 25 46 42 Secrétariat: +33 1 39 25 46 44 Secrétariat

Re: [NTG-context] Math in metapost

2011-11-30 Thread Otared Kavian
: http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ %% Otared Kavian Département de Mathématiques Université de Versailles Saint-Quentin Bâtiment Fermat 45 avenue

Re: [NTG-context] terrible png placement

2011-12-03 Thread Otared Kavian
://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ %% Otared Kavian Département de Mathématiques Université de Versailles Saint-Quentin Bâtiment Fermat 45 avenue des Etats Unis

[NTG-context] Math align in mkiv

2011-12-06 Thread Otared Kavian
Hi Aditya, Hi Hans, It seems that recently the align environment in mkiv has changed and I get several strange results now. The (not so minimal…) example below results in the folowing two PDFs: http://dl.dropbox.com/u/4316076/align-mkii.pdf

Re: [NTG-context] Math align in mkiv

2011-12-06 Thread Otared Kavian
___ %% Otared Kavian Département de Mathématiques Université de Versailles Saint-Quentin Bâtiment Fermat 45 avenue des Etats Unis 78035 Versailles cedex Téléphone: +33 1 39 25 46 42 Secrétariat: +33 1 39 25 46 44 Secrétariat: +33 1 39 25 46 46 e-mail: otared.kav...@math.uvsq.fr

Re: [NTG-context] Math align in mkiv

2011-12-07 Thread Otared Kavian
07.12.2011, 05:11 +0100 schrieb Otared Kavian: Thank you having tested the file I sent. did the example work for you with MKIV in the past? As I suspected, your testing confirms that the change or the bug has been introduced in a recent version of ConTeXt mkiv, some time between October

[NTG-context] Enumeration in mkiv

2011-12-07 Thread Otared Kavian
Dear Hans, In transferring some stuff from mkii to mkiv, I noticed a change in the way mkiv puts too much distance between the title of an enumeration and the text following it. I am not sure whether I have noticed this before, but my feeling is that the change is somewhat recent. I have put

Re: [NTG-context] naming of labels: Is »()« allowed?

2011-12-08 Thread Otared Kavian
Hi Paul, It seems that the left parenthesis causes trouble when giving a label to a reference: \definereferenceformat[eqref][left=(,right=)] \starttext \placeformula[N)] \startformula \Pr\{N = n\} = \Pr\left\{ \min_{1 ≤ k ≤ n} S_k 0 \right\} = p_n^{(1)}

[NTG-context] Reverse numbering for enumerations?

2011-12-09 Thread Otared Kavian
Hi all, When using \startitemize[n,reverse] one gets items numbered in reverse order. I wonder if this feature exists also for enumerations. An example is given below in which the last enumeration is written on top of the file and I wish it were possible to have the enumerations

[NTG-context] Reverse numbering

2011-12-12 Thread Otared Kavian
Hi all, When using \startitemize[n,reverse] one gets items numbered in reverse order. I wonder if this feature exists also for enumerations. An example is given below in which the last enumeration is written on top of the file and I wish it were possible to have the enumerations

Re: [NTG-context] Reverse numbering

2011-12-12 Thread Otared Kavian
. \startitemize[n] \item First subject. \item Second subject. \stopitemize \stopLecture \stoptext %%% end reverse-enumeration.tex Best regards: OK On 12 déc. 2011, at 14:03, Wolfgang Schuster wrote: Am 12.12.2011 um 13:33 schrieb Otared Kavian: Hi all, When using \startitemize[n

Re: [NTG-context] Reverse numbering

2011-12-12 Thread Otared Kavian
On 13 déc. 2011, at 07:39, Aditya Mahajan wrote: […] Untested, but \defineenumeration[Lecture][number=ReverseNumberOrder] should also work. Aditya Hi Aditya, Thanks for the hint, but unfortunately it does not work as expected: no numbers show up. Maybe there is a way by using «

Re: [NTG-context] beta

2011-12-13 Thread Otared Kavian
Hi Hans, Thanks for the new beta. It seems that with the new beta there is a bug with itemize: no numbers show up with \item. \starttext \startitemize[n] \item One \item Two \stopitemize \stoptext Best regards: OK On 13 déc. 2011, at 16:38, Hans Hagen wrote: Hi, I uploaded a new beta.

Re: [NTG-context] beta

2011-12-13 Thread Otared Kavian
On 14 déc. 2011, at 00:48, Hans Hagen wrote: On 13-12-2011 21:07, Otared Kavian wrote: Hi Hans, Thanks for the new beta. It seems that with the new beta there is a bug with itemize: no numbers show up with \item. \starttext \startitemize[n] \item One \item Two \stopitemize

Re: [NTG-context] Itemize option “text”

2011-12-15 Thread Otared Kavian
On 15 déc. 2011, at 10:38, Andreas Harder wrote: Hi Hans, itemize with option “text” gives me still an error (beta: 15-Dec-2011 09:27). \startitemize[text] \item alpha \item beta \item gamma \stopitemize Regards Andreas Hi Andreas, It is correct that the latest beta has

[NTG-context] Broken textbackground

2011-12-18 Thread Otared Kavian
Dear Hans, For your information it seems that in the latest beta, textbackground is broken: minimal example below, and the output can be found here: http://dl.dropbox.com/u/4316076/textbackground-bug.pdf Best regards: OK %%% begin textbackground-bug.tex \starttext

Re: [NTG-context] Broken textbackground

2011-12-19 Thread Otared Kavian
\stoptext Best regards: OK On 18 déc. 2011, at 23:49, Otared Kavian wrote: Dear Hans, For your information it seems that in the latest beta, textbackground is broken: minimal example below, and the output can be found here: http://dl.dropbox.com/u/4316076/textbackground-bug.pdf Best

[NTG-context] Setting up examination sheets

2011-12-19 Thread Otared Kavian
Dear Hans Van der Meer, Looking for a nice way to set up examination sheets with ConTeXt I found your hvdm-exm module very interesting, but unfortunatley I could not typeset a short test file extracted from your MAPS article Exam papers: posing questions to students which dates from

[NTG-context] Is the Annotation module incompatible with the latest beta?

2011-12-19 Thread Otared Kavian
Dear Wolfgang, It seems that I cannot use anymore your annotation module with the latest beta (ConTeXt ver: 2011.12.19 01:47 MKIV fmt: 2011.12.19). For instance the example below stops with an error message saying Undefined control sequence in t-annotation.lua and it seems that

Re: [NTG-context] Setting up examination sheets

2011-12-19 Thread Otared Kavian
On 19 déc. 2011, at 16:53, Aditya Mahajan wrote: On Mon, 19 Dec 2011, Otared Kavian wrote: Dear Hans Van der Meer, Looking for a nice way to set up examination sheets with ConTeXt I found your hvdm-exm module very interesting, but unfortunatley I could not typeset a short test file

Re: [NTG-context] Offsetting the Item Symbol

2011-12-27 Thread Otared Kavian
Hi Emmanuel, Is this what you want? Probably you can adapt the key « distance » to obtain what you want: \showframe \starttext %\startitemize[n][width=3cm,itemalign=flushright,distance=1em] \startitemize[n][itemalign=flushright,distance=1em,stopper={)},style={bold}] \dorecurse{12}{\item test}

Re: [NTG-context] Dec 30 Broken Nightly

2011-12-31 Thread Otared Kavian
Hi Kip, Where do you find the version ConTeXt ver: 2011.12.30 17:38 MKIV ? When I update with first-setup.sh I get ConTeXt ver: 2011.12.23 09:52 MKIV Thanks in advance: OK On 31 déc. 2011, at 02:27, Kip Warner wrote: Hey list, well, probably Hans, today's nightly chokes on

[NTG-context] Beta: bug in \setuphead[chapter]

2012-01-02 Thread Otared Kavian
Dear Hans, dear all, My best wishes to all the community for this New Year! With the latest beta, \setuphead[chapter] has a strange behavior: the order of two keys seems to be important… More precisely \setuphead [chapter] [header=high, align=middle ] results in

Re: [NTG-context] Beta: bug in \setuphead[chapter]

2012-01-03 Thread Otared Kavian
On 3 janv. 2012, at 08:38, Wolfgang Schuster wrote: […] You need a command after “align=middle” because you assign “middle ” (with a space) to the align key. Hi Wolfgang, I didn't get exactly what you mean, but saying either of the following:

Re: [NTG-context] Beta: bug in \setuphead[chapter]

2012-01-03 Thread Otared Kavian
Otared Kavian: On 3 janv. 2012, at 08:38, Wolfgang Schuster wrote: […] You need a command after “align=middle” because you assign “middle ” (with a space) to the align key. Hi Wolfgang, I didn't get exactly what you mean, but saying either of the following: \setuphead[chapter

[NTG-context] How to define a command...

2012-01-05 Thread Otared Kavian
Hi all, I need to define numerical coefficients (essentially at random) and then use them with commands, say like \CoeffAlpha, \CoeffBeta, and so on. More precisely, how can I define the command \RandomCoeff, so that \RandomCoeff{Beta}{1}{10} yields a command named \CoeffBeta, which is a random

Re: [NTG-context] How to define a command...

2012-01-05 Thread Otared Kavian
#1{\directlua{math.randomseed(#1)}} \def\RandomValue{\directlua{tex.print(math.random())}} \def\RandomRange#1{\directlua{tex.print(math.random(#1))}} \def\RandomSeries[#1]#2{\ctxlua{tex.print(hvdm.randomseries(#2,#1))}% On 5 jan. 2012, at 21:05, Otared Kavian wrote: Hi all, I need

Re: [NTG-context] How to define a command...

2012-01-05 Thread Otared Kavian
Thanks Peter, I had tried \expandafter\xdef, \edef, \gdef, but not \expandafter\def… Thanks for your quick answer: that's exactly what I was looking for. Best regards: OK On 5 janv. 2012, at 21:17, Peter Münster wrote: On Thu, Jan 05 2012, Otared Kavian wrote: \define[3]\RandomCoeff

Re: [NTG-context] How to define a command...

2012-01-05 Thread Otared Kavian
schrieb Peter Münster: On Thu, Jan 05 2012, Otared Kavian wrote: \define[3]\RandomCoeff{% \ctxlua{a = math.random(#2,#3)} % \csname{Coeff#1}\endcsname{\ctxlua{tex.print(a)}} %% this line does not work as expected... \setuprandomize[2012] \define[3]\RandomCoeff{% \expandafter\def

Re: [NTG-context] How to define a command...

2012-01-05 Thread Otared Kavian
Münster: On Thu, Jan 05 2012, Otared Kavian wrote: \define[3]\RandomCoeff{% \ctxlua{a = math.random(#2,#3)} % \csname{Coeff#1}\endcsname{\ctxlua{tex.print(a)}} %% this line does not work as expected... \setuprandomize[2012] \define[3]\RandomCoeff{% \expandafter\def\csname Coeff

Re: [NTG-context] How to define a command...

2012-01-05 Thread Otared Kavian
(that is \edef instead of \def). Best regards: OK On 5 janv. 2012, at 22:24, Otared Kavian wrote: Hi again Wolfgang and Peter, The solution you provided to my problem is great but has a small issue… Considering the definition \define[3]\RandomCoeff{% \setvalue{Coeff#1}{\ctxlua{tex.print

[NTG-context] Bug in symb-ini.mkiv?

2012-01-15 Thread Otared Kavian
Hi Hans, With the latest beta (ConTeXt ver: 2012.01.12 11:03 MKIV), typesetting a document which used to be typeset without problems I encounter an error which points to some commands defined in symb-ini.mkiv. However I can switch back to ConTeXt ver: 2011.11.29 18:47 MKIV in order to

Re: [NTG-context] Bug in symb-ini.mkiv?

2012-01-15 Thread Otared Kavian
Hi Wolfgang, Thanks for your response: right now I am not with my computer at home (writing you from another place). I'll do what you suggest this evening. Best regards: OK On 15 janv. 2012, at 16:48, Wolfgang Schuster wrote: Am 15.01.2012 um 16:39 schrieb Otared Kavian: Hi Hans

Re: [NTG-context] Bug in symb-ini.mkiv?

2012-01-15 Thread Otared Kavian
] %\tracingmacros0 \starttext \startitemize \item Item 1 \item Item 2 \stopitemize \stoptext %%% end item-color.tex On 15 janv. 2012, at 16:48, Wolfgang Schuster wrote: Am 15.01.2012 um 16:39 schrieb Otared Kavian: Hi Hans, With the latest beta (ConTeXt ver: 2012.01.12 11:03 MKIV), typesetting

[NTG-context] \showmathcharacters or \showmathfontcharacters

2012-01-17 Thread Otared Kavian
Hi Hans, The following used to show all the commands for various math characters. It still works in mkii, but I wonder what would be the analogous for mkiv: is there still a way to see math characters in mkiv? %%% begin showmath.tex %\doifmode{mkiv}{\usemodule[fnt-25]}

[NTG-context] \par in macro definition (mkii issue)

2012-01-18 Thread Otared Kavian
Hi, It seems that with the recent updates, I found that the following minimal example does not work in mkii, while it does in mkiv: \define[1]\MyTest{The test variable is #1.\par} \starttext Is this a bug in mkii? \MyTest{3} \stoptext Am I doing something wrong, or mkii has changed despite

  1   2   3   4   5   6   7   8   9   10   >