Re: [NTG-context] SyncTeX and mkiv

2015-04-08 Thread Otared Kavian
Hi Thomas, Mojca and Andreas, After playing with several options as either of you suggested, I ended up with the following setups which solve partially the misbehaviour of SyncTeX in mkiv. The solution works for with TeXShop on Mac OS X 10.10.2 and the latest standalone beta of ConTeXt. 1) I

Re: [NTG-context] SyncTeX and mkiv

2015-04-08 Thread Otared Kavian
-osx-64/bin:$PATH context --synctex=zipped --autogenerate $1 --purgeall Best regards: OK On 08 Apr 2015, at 13:27, Hans Hagen pra...@wxs.nl wrote: On 4/8/2015 10:43 AM, Otared Kavian wrote: Hi Thomas, Mojca and Andreas, After playing with several options as either of you suggested

Re: [NTG-context] SyncTeX and mkiv

2015-04-07 Thread Otared Kavian
(text on metafun figures and other weird elements might not have a sync point), but I never experienced any really strange behaviour or positioning discrepancies. I'm using Skim.app. On Tue, Apr 7, 2015 at 9:20 AM, Otared Kavian wrote: Hi Andreas, Thanks for your reply and your attention

Re: [NTG-context] Different renderings of cross references

2015-04-04 Thread Otared Kavian
Trying once more… Hi all, As explained in the example below, I would like to setup the referencing mechanism so that a cross reference within a given chapter gives only the number of the section and that of an equation, while if the same reference is used in another chapter then the number of

[NTG-context] Different renderings of cross references

2015-04-03 Thread Otared Kavian
Hi all, as explained in the example below, I would like to setup the referencing mechanism so that a cross reference within a given chapter gives only the number of the section and that of an equation, while if the same reference is used in another chapter then the number of the chapter is

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread Otared Kavian
Hi, Maybe you need to say state=repeat in the definition of your layer: \definelayer[chapterbackground][state=repeat] Best regards: OK On 02 Apr 2015, at 13:15, robin.kirk...@csiro.au wrote: From: John Culleton j...@wexfordpress.com Subject: [NTG-context] overlay or layer for

[NTG-context] SyncTeX and mkiv

2015-04-01 Thread Otared Kavian
Hi all, Using TeXShop on a Mac (with Mac OS X 10.2) I noticed that some of my documents typeset with mkiv do not respond correctly regarding SyncTeX: when I do « Command-Click » on a specific part of the resulting PDF there is no reaction at all, that is I do not get to the corresponding part

[NTG-context] Latest beta: reference to items broken in mkiv

2015-04-01 Thread Otared Kavian
Hi Hans, It seems that referencing to items is broken in the latest beta mkiv: for example in the example below the command \in{Item}[ref:2] does not show item number 2. However it works fine in mkii and previous releases. Best regards: OK PS: a minimal example follows %%% begin

[NTG-context] Bug in the latest beta: \frac

2015-03-28 Thread Otared Kavian
Hi Hans, I just tried the new beta (ConTeXt ver: 2015.03.28 16:30 MKIV beta fmt: 2015.3.28 int: english/english) It gives an error with the following minimal example: \starttext \startformula \frac{2}{4} \stopformula \stoptext The error message is: \math_frac_command -\cclf_mathfraction

Re: [NTG-context] slanting an intermezzo.

2015-03-26 Thread Otared Kavian
Hi John, Maybe playing with something like what follows will help: begin tilted-framed.tex \starttext \placeintermezzo[right,none]{} \rotate[rotation=-10]{\startframedtext[width=3in] \midaligned{\bf RECIPE FOR SUCCESS} \par \noindent

Re: [NTG-context] buggy extra space after ff ligature

2015-03-24 Thread Otared Kavian
Hi Pablo, I can confirm that the first « ff » ligature has an extra space, as it may be seen in the attached PDF. (Running ConTeXt ver: 2015.03.10 12:09 MKIV beta fmt: 2015.3.17 int: english/english) Best regards: OK ff-ligature.pdf Description: Adobe PDF document On 23 Mar 2015, at

Re: [NTG-context] Tables, Row Span, and Colors

2015-03-13 Thread Otared Kavian
On 14 Mar 2015, at 00:27, Troy Henderson thend...@gmail.com wrote: Thank you Wolfgang. The attached PDF is the output I get from using your code. This is LuaTeX, Version beta-0.79.2 (TeX Live 2015/dev) (rev 5084) Hi Troy, With Wolfgang’s code, the attached PDF is what I get with

Re: [NTG-context] crash with new beta (2015.03.09 19:27)

2015-03-09 Thread Otared Kavian
Hi John, Here on Mac OS X 10.10 verything works fine. What OS are you using? You may delete such auxiliary files as .tuc, and typeset again, or try your file in a new location where such files are absent. Best regards: OK On 09 Mar 2015, at 22:38, John Kitzmiller k...@inradius.net wrote:

Re: [NTG-context] Get rid of caption on an intermezzo.

2015-03-04 Thread Otared Kavian
Hi John, In one of my documents I have this: \definefloat[intermezzo] \setupcaption[intermezzo][location=none] Is it what you need? Best regards: OK On 04 Mar 2015, at 21:30, John Culleton j...@wexfordpress.com wrote: […] Anyone have a solution yet?

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread Otared Kavian
Hi Wolfgang, and Joerg, Actually with your code and using numberstopper instead of stopper your example works fine here, too. So the right command is \setupcaption[figure][numberstopper={:}] and not what I wrote before (which works in mkii, though…). Actually the command used by Joerg,

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread Otared Kavian
Hi Joerg, I think you are right when refering to a figure, the number stopper should not appear in the text. It seems to me that using something like \setupcaption[figure][stopper={.}] used to work in mkii and mkiv, but while it works in mkii, I just tried it with mkiv and found that

Re: [NTG-context] enumeration of equations containing \mathcases

2015-02-10 Thread Otared Kavian
Hi Joerg, I use a math align environment, like the following: begin %% analogous to \cases \definemathmatrix[alignedcases] %% ——— here you can give whatherver name you wish [align={right,left,left}, distance=3pt, left={\left\{},

[NTG-context] My Way Math align

2015-02-10 Thread Otared Kavian
Hi Aditya, I couldn’t find your May Way about Math Align on the wiki: actually I wanted to give the URL to Joerg van den Hoff who was asking a question about \cases, but with Google I found only a version going back to August 2006. However I have a version dating from May 29, 2010 (using stix

Re: [NTG-context] How to increment a counter

2015-02-07 Thread Otared Kavian
-in interaction and when for instance a hint or a solution is not there, one does not need to increment manually a counter. Best regards: OK On 07 Feb 2015, at 12:46, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 05.02.2015 um 17:19 schrieb Otared Kavian ota...@gmail.com: Hi all, I

[NTG-context] Coupling mechanism: how to use it…

2015-02-07 Thread Otared Kavian
Hi Hans, After struggling to set up a complex structure with \defineblocks in which I wish to have a series of exercises (with a certain number of questions) and hints (some questions have no hints, ans some exercises have no hints), and finally solutions (again some questions have no answers,

[NTG-context] How to increment a counter

2015-02-05 Thread Otared Kavian
Hi all, I have a counter in an itemize environment which I need to increment by using \incrementcounter[NameOfTheCounter] However this does not work in the following example, maybe due to the use of blocks, or some other reason. I define two blocks, one for exercises, one for the

Re: [NTG-context] bug in current beta?

2015-02-03 Thread Otared Kavian
Hi Pablo, I don’t have the font FreeSerif, but with another font (stix, to be precise) I get the attached PDF. My version is 2015.01.30 15:28. I can’t say much what you really expect and where there should be a bug… Best regards: OK greek-espanish.pdf Description: Adobe PDF document On 03

Re: [NTG-context] checking the first word in a command

2015-01-26 Thread Otared Kavian
Hi Hans, Nice code Hans!… But somehow your replacer code gives always « el » even in front of « señora »… It seems that your lua code for replacer sees « señor » and does not check whether it is « señora » or not. If one modifies a little bit the code into the following, the issue is solved:

Re: [NTG-context] Can I use mkii and mkiv side by side?

2015-01-21 Thread Otared Kavian
21.01.2015 um 13:48 schrieb Otared Kavian ota...@gmail.com mailto:ota...@gmail.com: Hi Keith, Thanks for your attention. Indeed I use the latest TeXShop (version 3.49) but regarding the content my mkii.engine file if I remove the line source /Volumes/OK/context-minimal/tex/setuptex

Re: [NTG-context] Can I use mkii and mkiv side by side?

2015-01-21 Thread Otared Kavian
Hi Gerben, Indeed this is possible to use mkii and mkiv side by side. In particular if you use TeXShop, it is enough to say at the beginning of your TeX file %!TEX TS-program = mkii or %!TEX TS-program = mkiv where it is assumed that you have created two files named mkii.engine

Re: [NTG-context] Can I use mkii and mkiv side by side?

2015-01-21 Thread Otared Kavian
21.01.2015 um 12:08 schrieb Otared Kavian ota...@gmail.com: Hi Gerben, [snip, snip] For instance my file mkii.engine contains the following lines: #!/bin/bash source /Volumes/OK/context-minimal/tex/setuptex texexec --autogenerate --synctex=1 $1 No need to Source setuptex. Just set

Re: [NTG-context] Strange bug with overviewpage module.

2014-12-23 Thread Otared Kavian
, Otared Kavian wrote: Hi Aditya, Now that you realize that your module works so well, I have two questions :—) How can one tweak your module so that in a presentation: 1) each overviewpage is included at the end; 2) each oveviewpage is clickabel and linked to the corresponding page

Re: [NTG-context] Strange bug with overviewpage module.

2014-12-21 Thread Otared Kavian
. If this is already implemented and if you have an example presentation, could you please share it? Best regards: OK On 20 Dec 2014, at 08:20, Aditya Mahajan adit...@umich.edu wrote: On Sat, 20 Dec 2014, Otared Kavian wrote: Hi Aditya, Thanks for sharing, but here your module works

Re: [NTG-context] Strange bug with overviewpage module.

2014-12-19 Thread Otared Kavian
Hi Aditya, Thanks for sharing, but here your module works fine… Please see the attached file. Best regards: OK overviwepage-test.pdf Description: Adobe PDF document On 20 Dec 2014, at 06:51, Aditya Mahajan adit...@umich.edu wrote: Hi, Some time ago, Hans had helped me to write an

Re: [NTG-context] \startitem [reference=xxx]

2014-12-17 Thread Otared Kavian
Hi Alan, This works here: %% \starttext \startitemize [n] \startitem[first] This is a first item. \stopitem \item[second] This is a second item. \stopitemize Alan’s \in{item}[first] appears before \in{item}[second]. \stoptext %% Is this what you wanted? best

Re: [NTG-context] Strange behavior with itemize

2014-12-07 Thread Otared Kavian
Hi, The output is correct here: ConTeXt ver: 2014.12.03 18:26 MKIV beta fmt: 2014.12.4 int: english/english Maybe you should update your ConTeXt installation. Best regards: OK itemize-subitems.pdf Description: Adobe PDF document On 06 Dec 2014, at 23:10, Fabrice Couvreur

Re: [NTG-context] nested itemize

2014-11-30 Thread Otared Kavian
On 29 Nov 2014, at 11:43, Mikael P. Sundqvist mic...@gmail.com wrote: On Sat, Nov 29, 2014 at 11:04 AM, Hans Hagen pra...@wxs.nl wrote: […] a bug indeed ... very nasty code (kind of fight between mechanisms deep down in luatex) ... i'll try to fix it […] Thank you, I hope it is fixable

Re: [NTG-context] nested itemize

2014-11-30 Thread Otared Kavian
On 29 Nov 2014, at 11:43, Mikael P. Sundqvist mic...@gmail.com wrote: […] To Otared: Thank you also for replying. Your code indeed compiles, but the nested itemize starts on a new line, i.e. 1 a instead of 1 a as expected. /Mikael Hi again, answering partly to myself, I

Re: [NTG-context] nested itemize

2014-11-29 Thread Otared Kavian
Hi Mickael, If you put a blank line after \item, or an empty grouping everything works fine. I think the reason for the behavior may be that \item expects something after you invok eit and it doesn’t know what to do with the scond \startitemize. %%% begin example \starttext \startitemize[n]

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Otared Kavian
are still in their original font and size. G On 25 Nov 2014, at 08:18, Otared Kavian ota...@gmail.com mailto:ota...@gmail.com wrote: Hi Gerben, As Wolfgang said, you can use something like this (example given by him some months ago on the mailing list): \definelist[chaptertext

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Otared Kavian
Best regards: OK On 25 Nov 2014, at 17:01, Gerben Wierda gerben.wie...@rna.nl wrote: On 25 Nov 2014, at 15:12, Otared Kavian ota...@gmail.com mailto:ota...@gmail.com wrote: Hi Gerben, This shouldn’t be a problem, since you may give your own style to the list of chapters by saying

Re: [NTG-context] small abstracts in table of contents?

2014-11-24 Thread Otared Kavian
Hi Gerben, As Wolfgang said, you can use something like this (example given by him some months ago on the mailing list): \definelist[chaptertext] \setuplist[chaptertext][style=\tfx,margin=3em,pagecommand=\gobbleoneargument] \starttext \placelist[chapter,chaptertext] \chapter{This is a

Re: [NTG-context] Layer for Letterhead( minimum example)

2014-11-17 Thread Otared Kavian
Hi, The key you have to use is state=repeat in the definition of your layer: \definelayer[Logo][state=repeat] \starttext \setlayer[Logo][x=75mm,y=13mm] { \bTABLE[frame=off] \bTR \bTD Company Name \eTD \eTR \bTR \bTD Address. \eTD \eTR

Re: [NTG-context] position of qed symbol in proofs

2014-11-10 Thread Otared Kavian
6:54 AM, Otared Kavian wrote: Hi Mikael, Actually I just tried your example with the ConTeXt version on TeX Live, as well as with a copy dating back to 2014-02-14, and both behaved in the same wrong way regarding the closesymbol and closecommand. So in \setupenumeration[proof

Re: [NTG-context] position of qed symbol in proofs

2014-11-10 Thread Otared Kavian
On 10 Nov 2014, at 10:58, Hans Hagen pra...@wxs.nl wrote: […] i'm not surprised: eqno only works in a formula and closecommand is not in the formula ... it would not align properly anyway Oh… I see. So there is not anymore the possibility to finish an enumeration (such as « proof » ine

Re: [NTG-context] position of qed symbol in proofs

2014-11-09 Thread Otared Kavian
Hi Mikael, Actually I just tried your example with the ConTeXt version on TeX Live, as well as with a copy dating back to 2014-02-14, and both behaved in the same wrong way regarding the closesymbol and closecommand. So in \setupenumeration[proof] [number=no,

Re: [NTG-context] position of qed symbol in proofs

2014-11-08 Thread Otared Kavian
Hi Mikael, In my files I have the following which used to work, but it doesn’t work as expected anymore, as you point out \defineenumeration[proof][text=Proof.] \setupenumeration[proof] [number=no, closesymbol=\mathematics{\square},

Re: [NTG-context] \setupformulas and \frac give small symbols

2014-10-15 Thread Otared Kavian
Hi Mikael, You are right, it seems to be a new bug in ConTeXt ver: 2014.10.14 12:05 MKIV beta fmt: 2014.10.14 int: english/english The same behavior appears with \setupformulas[align=flushright] However the results are fine and as expected with mkii and with ConTeXt

Re: [NTG-context] Stopper and itemize

2014-10-13 Thread Otared Kavian
What do you mean by a « break »? On 14 Oct 2014, at 02:24, Fabrice Couvreur fabrice1.couvr...@gmail.com wrote: hi, In the following code, the default stopper is the point. \starttext \startitemize[columns,a,joinedup] \item $f(0)$ \item $g(0,3)$ \item $f(\sqrt 2)$ \item $g(-4)$

Re: [NTG-context] multi-line equations with \left( and \right.

2014-10-07 Thread Otared Kavian
Hi Xan, I think Wolfgang meant that one should something like the following construction: % define here a new math-aligned structure: \definemathmatrix[alignedcases] [align={right,left,left}, distance=3pt, left={\left\{},

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Otared Kavian
Don’t you mean rather \setuphead[chapter][align=middle] instead of « alternative »? Best regards: OK On 07 Oct 2014, at 17:28, Meer, H. van der h.vanderm...@uva.nl wrote: There seems to be a problem in \setuphead, it produces a spurious else from the alternative=middle. In the

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Otared Kavian
the manual. The else seems strange then. Hans van der Meer On 07 Oct 2014, at 17:59, Otared Kavian ota...@gmail.com wrote: Don’t you mean rather \setuphead[chapter][align=middle] instead of « alternative »? Best regards: OK On 07 Oct 2014, at 17:28, Meer, H. van der h.vanderm

Re: [NTG-context] Animation captions (was: error in animation)

2014-10-06 Thread Otared Kavian
Indeed a very nice feature in ConTeXt. I tested Wolfgang’s example with math formulas and the result is very good: however it seems that one has to fix the width of the caption by saying \definepairedbox[animationtext][location=top,align=middle,width=\textwidth] Otherwise the formulas

Re: [NTG-context] Newline in chapter title? Or slight shrinking of it?

2014-10-02 Thread Otared Kavian
How about \\ As in \starttext \chapter{I have a entry that is just a tad too wide. \\ I'd like to have a two-line chapter title } \stoptext On 02 Oct 2014, at 15:03, Gerben Wierda gerben.wie...@rna.nl wrote: I have a \chapter entry that is just a tad too wide. I’d like to have a two-line

Re: [NTG-context] Metafun error

2014-09-26 Thread Otared Kavian
Hi Willi, I tested your example file: it works fine here with ConTeXt ver: 2014.09.25 18:58 MKIV beta fmt: 2014.9.25 int: english/english Which version are using? Best regards: OK On 26 Sep 2014, at 15:17, Willi Egger cont...@boede.nl wrote: Hello! Today I wanted to use an

Re: [NTG-context] Metafun error

2014-09-26 Thread Otared Kavian
Egger cont...@boede.nl wrote: Hi Otared, As mentioned in my first post I tested on ConTeXt ver: 2014.08.29 20:57 ConTeXt ver: 2014.09.26 11:42. strange! Willi On 26 sep. 2014, at 15:23, Otared Kavian ota...@gmail.com wrote: Hi Willi, I tested your example file

Re: [NTG-context] \definedescription question

2014-09-21 Thread Otared Kavian
Hi Gerben, Just use \startMember \stopMember as in the following: \starttext \startMember{Knuth and Ward} \input knuth \input ward \stopMember \Member{Knuth} \input knuth \input ward \stoptext Best regards: OK On 21 Sep 2014, at 13:55, Gerben Wierda gerben.wie...@rna.nl wrote: I have

Re: [NTG-context] Itemize and framed

2014-08-29 Thread Otared Kavian
Hi, It looks fine, but you can as well use \startframedtext, as in: \starttext \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] \definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00] \starttext \startframedtext[ width=\textwidth, corner=06, frame=on,

Re: [NTG-context] Itemize and framed

2014-08-29 Thread Otared Kavian
Hi Fabrice, Actually with both solutions you can control the distance of the framed material to the frame by the key « offset=SomeMeasure » For instance you can say: \startframedtext[ width=\textwidth, offset=.5em, corner=06, frame=on,

Re: [NTG-context] [doifinset] how it works ?

2014-08-21 Thread Otared Kavian
Hi, Here are a few examples of how to use \doifinset and \doifinsetelse (they were given by Wolfgang S. a few years ago…): \starttext \type{\doifinset{A}{A,B,C}{should go}:} \doifinset{A}{A,B,C}{should go} \type{\doifinset{D}{A,B,C}{should go}:} \doifinset{D}{A,B,C}{should participate}

Re: [NTG-context] [doifinset] how it works ?

2014-08-21 Thread Otared Kavian
And here a few more examples… \starttext \doifinset {knuth} {knuth,ward} {\input knuth.tex \blank[2*big]} \doifnotinset {ward} {knuth,Hans} {\input ward.tex\blank[2*big]} \doifinsetelse {Hans} {Hans,knuth} {then Hans is a genious...\blank[2*big]} {else ...} \doifcommon {string,...}

Re: [NTG-context] Multi-par footnotes. Indent second and later paragraphs?

2014-08-06 Thread Otared Kavian
On 06 Aug 2014, at 17:46, Gerben Wierda gerben.wie...@rna.nl wrote: […] Thanks, Can this also be used with \footnote{}? And out of curiosity understanding on how ConTeXt works: what does setupindenting do in this example? Why is it necessary? G Hi Gerben, The command

Re: [NTG-context] Bug with the integration with tikz

2014-08-03 Thread Otared Kavian
Hi Günter, Your minimal example gives the expected result with with the latest mkiv (ConTeXt ver: 2014.07.25 12:57 MKIV beta fmt: 2014.7.25 int: english/english), as well with the stable version included in TeXLive 2014. Best regards: OK On 02 Aug 2014, at 17:05, Günter Kolousek

Re: [NTG-context] Bug with the integration with tikz

2014-08-03 Thread Otared Kavian
regards Günter Am Sun, 3 Aug 2014 20:09:02 +0200 schrieb Otared Kavian ota...@gmail.com: Hi Günter, Your minimal example gives the expected result with with the latest mkiv (ConTeXt ver: 2014.07.25 12:57 MKIV beta fmt: 2014.7.25 int: english/english), as well with the stable version

Re: [NTG-context] Blackboard signs for set of rationals (Q) and reals (R)?

2014-08-02 Thread Otared Kavian
Hi Gerben, You can use ${\Bbb R}$ to get the set of real numbers (for instance…), both in mkii and mkiv. Best regards: OK On 02 Aug 2014, at 15:14, Gerben Wierda gerben.wie...@rna.nl wrote: Just a simple question I could not find the answer for in the docs. What do I need to get the

Re: [NTG-context] Leave out reference to page if on the same page?

2014-08-02 Thread Otared Kavian
Hi Gerben, Regarding the text encodings understood by mkii and mkiv, one can always use UTF-8 in both. Unless you have some very uncommon characters in your ascii file, the migration from ascii to utf-8 is quite easy, at least on a Mac (I don’t know what OS you are using): for instance you can

Re: [NTG-context] Leave out reference to page if on the same page?

2014-08-01 Thread Otared Kavian
On 01 Aug 2014, at 13:30, Gerben Wierda gerben.wie...@rna.nl wrote: […] I’ve tried to add this to my environment and product file, but even without using it, it ends in an error: (/usr/local/texlive/2014/texmf-dist/tex/context/base/spec-tpd.mkii specials: loading definition file

Re: [NTG-context] setuphead interlinespace

2014-07-27 Thread Otared Kavian
Hi, Have a look at the following wiki page: http://wiki.contextgarden.net/setuplocalinterlinespace It may help you achieve what you want to do. Best regards: OK On 27 Jul 2014, at 04:06, Yuri Teixeira yuriteixeira...@gmail.com wrote: Hello, From command/setuphead I inferred this

Re: [NTG-context] setuphead interlinespace

2014-07-27 Thread Otared Kavian
] \setupinterlinespace[small] \input tufte % this is small \stopnarrower \input tufte % this is big again \stoptext 2014-07-27 5:51 GMT-03:00 Otared Kavian ota...@gmail.com: Hi, Have a look at the following wiki page: http://wiki.contextgarden.net/setuplocalinterlinespace It may

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-24 Thread Otared Kavian
Patzer since it doesn’t seem to work anymore with recent versions of mkiv. Maybe Marco has a solution for his module? Best regards: OK On 24 Jul 2014, at 02:34, Rik r...@panix.com wrote: On 2014-07-23 14:01, Otared Kavian wrote: In my ConTeXt archives I found the following example from

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-24 Thread Otared Kavian
conditionalfloatreferences.mkvi Description: Binary data On 24 Jul 2014, at 13:34, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 24.07.2014 um 13:20 schrieb Otared Kavian ota...@gmail.com: Hi Rik, As a matter of fact the example given by Wolfgang works despite mkiv complaining about

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-23 Thread Otared Kavian
Hi, In my ConTeXt archives I found the following example from a discussion on the mailing list: Wolfgang S. gave an answer which may help you: Best regards: OK %% begin test-ref.tex % %Am 16.01.2011 um 20:58 schrieb Robert Blackstone: % %Hi all, % %I wonder if it is already possible to

Re: [NTG-context] framedtext and itemize

2014-07-22 Thread Otared Kavian
Hi, Maybe you want something like this: \starttext \startitemize[n] \setlocalhsize \item \framed[width=\localhsize,align=right]{Some text.} \item \startframed[width=\localhsize,align=right] Some text. \stopframed \stopitemize \stoptext Best regards: OK On 22 Jul 2014, at 12:05, Meer, H. van

Re: [NTG-context] For the Mac users: AppleScript to launch ConTeXt in a flexile way

2014-07-17 Thread Otared Kavian
Hi Thomas, Thanks for sharing your nice script. You have had a very nice intitiative and I am sure it is going to be very useful for many people. I did some testing of the script, after having edited some parametrers inside the script. For your information, I am running Mac OS X 10.9.4 on a

Re: [NTG-context] running PlainTeX from beta

2014-07-12 Thread Otared Kavian
On 12 Jul 2014, at 00:41, Hans Hagen pra...@wxs.nl wrote: […] basic-plaintex or test-plaintex? Sorry for the mismatch in the names: the file I tested is named basic-plaintex.tex, that’s why the message from Plain LuaTeX refers to that name. While putting that minimal example in my message,

Re: [NTG-context] running PlainTeX from beta

2014-07-12 Thread Otared Kavian
On 12 Jul 2014, at 14:32, Hans Hagen pra...@wxs.nl wrote: […] anyway .. it compiles okay here with mtxrun --script plain … Thanks for testing, but actually this is not a big issue, since one can use the plain LuaTeX from TexLive 2014. But maybe it is useful to understand what is lacking in

Re: [NTG-context] running PlainTeX from beta

2014-07-11 Thread Otared Kavian
On 11 Jul 2014, at 21:50, Hans Hagen pra...@wxs.nl wrote: […] you can just hit return then ... for some reason manfnt is not in the distribution Hans However the plain TeX format from the standalone does not produce anything with the following minimal example: %%% begin

[NTG-context] ConTeXt garden

2014-07-10 Thread Otared Kavian
Hi, Am I the only one not able to connect to ConTeXt garden? Since several days when trying to connect to: http://wiki.contextgarden.net I get a « Can’t open the page because the server where the page is located isn’t responding ». I tried with Safari, Chrome and FireFox on Mac OS X

Re: [NTG-context] Bug in \setupinterlinespace ?

2014-07-08 Thread Otared Kavian
, at 22:45, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 07.07.2014 um 18:35 schrieb Otared Kavian ota...@gmail.com: Does anybody know how to change the interline space in a part of a document? \setupinterlinespace[line=3.2ex] % global setting (\setupinterlinespace[3.2ex

[NTG-context] Bug in \setupinterlinespace ?

2014-07-07 Thread Otared Kavian
Does anybody know how to change the interline space in a part of a document? I send again the message below: Hi all, I don’t know how to change the interline space in a chapter. In principle I thought that if at some point I have used for some reason \setupinterlinespace[4.0ex] then

[NTG-context] Bug in \setupinterlinespace ?

2014-07-06 Thread Otared Kavian
Hi all, I don’t know how to change the interline space in a chapter. In principle I thought that if at some point I have used for some reason \setupinterlinespace[4.0ex] then saying \setupinterlinespace[reset,small] would reset the interline space to its default value, but this is

[NTG-context] Creating PDF/A compliant files with mkiv

2014-07-04 Thread Otared Kavian
Dear all, With the precious help of Luigi Scarso I created a wiki page about how to create a PDF/A file with mkiv: http://wiki.contextgarden.net/PDF/A Please complete it or report any error in the instructions given there. Best regards: OK

[NTG-context] How to create a PDF/A file with mkii?

2014-07-02 Thread Otared Kavian
Dear List members, Does anyone know how to create a PDF/A file (where A stands for Archive) in mkii? In a thesis project which has to be uploaded on an archiving site it is required that the fonts should be imbedded into the PDF file and be compatible with the PDF/A standard. How can this be

Re: [NTG-context] How to create a PDF/A file with mkii?

2014-07-02 Thread Otared Kavian
On 02 Jul 2014, at 16:46, luigi scarso luigi.sca...@gmail.com wrote: On Wed, Jul 2, 2014 at 4:37 PM, Otared Kavian ota...@gmail.com wrote: Dear List members, Does anyone know how to create a PDF/A file (where A stands for Archive) in mkii? In a thesis project which has

Re: [NTG-context] How to create a PDF/A file with mkii?

2014-07-02 Thread Otared Kavian
case you gave me good hope… Thanks! Best regards: OK On 02 Jul 2014, at 17:05, luigi scarso luigi.sca...@gmail.com wrote: On Wed, Jul 2, 2014 at 4:52 PM, Otared Kavian ota...@gmail.com wrote: Thanks Luigi for the hint to that paper. Unfortuantely the project has been done with mkii

Re: [NTG-context] How to create a PDF/A file with mkii?

2014-07-02 Thread Otared Kavian
...@gmail.com wrote: On Wed, Jul 2, 2014 at 5:18 PM, Otared Kavian ota...@gmail.com wrote: Thanks Luigi! It turns out that with some slight modifications I could typeset the mentioned project with mkiv. Then after having added the following from your article: %% For PDF/A \setupbackend

Re: [NTG-context] Simple command with variable number of arguments

2014-05-23 Thread Otared Kavian
Hi, Some time ago Wolfgang S. gave a solution to a similar problem: maybe this can help you. begin \def\somemacro#1% {\def\dosomemacro##1{Execute ##1, }% \processcommalist[#1]\dosomemacro} \starttext \somemacro{A,B,C} \somemacro{E,F} \stoptext end Best regards: OK On 23 May

Re: [NTG-context] ConTeXt mkiv and rsfs fonts

2014-05-22 Thread Otared Kavian
: OK On 21 May 2014, at 23:33, Aditya Mahajan adit...@umich.edu wrote: On Wed, 21 May 2014, Aditya Mahajan wrote: On Wed, 21 May 2014, Otared Kavian wrote: Hi all, It seems that the rsfs fonts (Ralph Smith’s Formal Script fonts) do not work: the procedure explained at the page http

Re: [NTG-context] ConTeXt mkiv and rsfs fonts

2014-05-22 Thread Otared Kavian
: On Thu, May 22, 2014 at 10:36 AM, Otared Kavian ota...@gmail.com wrote: \definefontfamily [mainface] [rm] [Palatino] \definefontfamily [mainface] [math] [Latin Modern Math] What if you change those lines to \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [math

Re: [NTG-context] \setnumber

2014-05-22 Thread Otared Kavian
Hi, In fact you should use \setupuserpagenumber[number=1] as in the following example: begin example \starttext \startfrontmatter \setupuserpagenumber[numberconversion=Romannumerals] \input knuth.tex \stopfrontmatter \startbodymatter \setupuserpagenumber[numberconversion=numbers]

Re: [NTG-context] \setnumber

2014-05-22 Thread Otared Kavian
: Thank you! This works. But tell me: How do you know this? The manual and the website don’t explain it this way… Best regards Werner On 22 May 2014, at 12:16, Otared Kavian wrote: Hi, In fact you should use \setupuserpagenumber[number=1] as in the following example

Re: [NTG-context] \setnumber

2014-05-22 Thread Otared Kavian
On 22 May 2014, at 12:44, Werner Hintze we.hin...@gmail.com wrote: Thank you once more! This looks better. It’s a pity that such things are not »wikified«… ;) Once you think you have well understood something do not hesitate to wikify it… But there is a new surprise: What is knute.tex,

Re: [NTG-context] \setnumber

2014-05-22 Thread Otared Kavian
not nessecary to reset the pagenumber. Thanks for the hint about the Sample texts. Best regards. WH On 22 May 2014, at 12:56, Otared Kavian wrote: On 22 May 2014, at 12:44, Werner Hintze we.hin...@gmail.com wrote: Thank you once more! This looks better. It’s a pity that such things

[NTG-context] ConTeXt mkiv and rsfs fonts

2014-05-21 Thread Otared Kavian
Hi all, It seems that the rsfs fonts (Ralph Smith’s Formal Script fonts) do not work: the procedure explained at the page http://wiki.contextgarden.net/rsfs works fine with mkii, but not in mkiv. Is it possible to use the capabilities of simplefonts, which are now included in mkiv,

Re: [NTG-context] ConTeXt mkiv and rsfs fonts

2014-05-21 Thread Otared Kavian
On 21 May 2014, at 15:55, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: […] No, simplefonts won’t help you because the fallback mechanism for math works only with another opentype math font and truetype/opentype text fonts. Thanks for the answer. Is there another script font for

Re: [NTG-context] ConTeXt mkiv and rsfs fonts

2014-05-21 Thread Otared Kavian
. Sundqvist mic...@gmail.com wrote: On Wed, May 21, 2014 at 4:43 PM, Otared Kavian ota...@gmail.com wrote: Thanks for the answer. Is there another script font for LM, or for Palatino, which looks a little bit more readable than \cal in those fonts, and which can be used with the simplefonts

Re: [NTG-context] ConTeXt mkiv and rsfs fonts

2014-05-21 Thread Otared Kavian
2014, at 21:10, Mikael P. Sundqvist mic...@gmail.com wrote: On Wed, May 21, 2014 at 9:01 PM, Otared Kavian ota...@gmail.com wrote: Since other people may benefit from it, I would like to update the wiki on the matter. But actually I do not understand what does the « range » mean in the example

Re: [NTG-context] ConTeXt mkiv and rsfs fonts

2014-05-21 Thread Otared Kavian
On 21 May 2014, at 21:54, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: This does already exist, take a look into math-act.lua. Thanks Wolfgang: indeed one may use \definefallbackfamily[mainface][math][Asana Math][range={uppercasescript,lowercasescript}] so what Mikael

Re: [NTG-context] ConTeXt mkiv and rsfs fonts

2014-05-21 Thread Otared Kavian
On 21 May 2014, at 21:39, Hans Hagen pra...@wxs.nl wrote: you can run s-math-repertoire.mkiv and compare shapes (you might want to comment some at the end) Thanks for the hint! I did run that file and then I thought my Mac was going to die since mkiv kept running and running… After

Re: [NTG-context] ConTeXt mkiv and rsfs fonts

2014-05-21 Thread Otared Kavian
On 21 May 2014, at 23:08, Hans Hagen pra...@wxs.nl wrote: On 5/21/2014 10:38 PM, Otared Kavian wrote: Hi Mikael, I created a page on the wiki where it is explained how to change calligraphic fonts in math: http://wiki.contextgarden.net/math_calligraphic I’ll add more comments

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-13 Thread Otared Kavian
On 13 mai 2014, at 08:30, Mikael P. Sundqvist mic...@gmail.com wrote: On Tue, May 13, 2014 at 9:22 AM, Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: ... Wikified: http://wiki.contextgarden.net/Tabulate#Horizontal_centering_table_on_the_page Lukas I realized that the

Re: [NTG-context] workaround for another too-low symbol in Pagella?

2014-05-09 Thread Otared Kavian
Hi Sanjoy, I think that this a font related problem since in Plain TeX and mkii the following $${\rm P}(H\, | \, E)$$ gives the same result as in mkiv when using the default LM fonts, and the top (resp. the bottom) of the bar | is aligned with the top (resp. the bottom) of the

Re: [NTG-context] \pm set too low in MkIV?

2014-05-07 Thread Otared Kavian
On 7 mai 2014, at 10:46, Mikael P. Sundqvist mic...@gmail.com wrote: […] I guess one could do this for the other signs one don't like in TeX Gyre Pagella Math… Hi, This is a good trick to know, especially if one combines \pm and \mp as in the counter-example given by Hans: % Start

Re: [NTG-context] \pm set too low in MkIV?

2014-05-06 Thread Otared Kavian
Hi Hans, Thanks for your attention to the issue pointed out by Sanjoy. On 6 mai 2014, at 20:14, Hans Hagen pra...@wxs.nl wrote: […] all minus' are below the baseline so consider it a feature Yes this is the case in recent versions of mkiv, but in Plain TeX and mkii this is not the case:

Re: [NTG-context] resize and center and clip image

2014-05-01 Thread Otared Kavian
Hi Mikael, Out of curiosity I tried to typeset your example (after adding the usual \starttext, \stoptext), but using ConTeXt ver: 2014.04.28 23:24 MKIV beta fmt: 2014.4.29 int: english/english I obtained a TeX error: tex errorerror on line 13 in file

<    2   3   4   5   6   7   8   9   10   11   >