Re: [NTG-context] ppchtex color

2009-05-13 Thread Alan BRASLAU
On Wednesday 13 May 2009 10:33:18 Hans Hagen wrote: > Alan BRASLAU wrote: > > Works correctly (bonds in red, atoms in black): > > > > \usemodule[chemic] > > \setupchemical[rulecolor=red] > > \starttext > > \startchemical > > \chemical[

[NTG-context] columns(ets) and itemize[columns]

2009-05-17 Thread Alan BRASLAU
Hello, I just completed a "big" project making heavy use of columnset, columnsetspan and paragraphs. Very powerful! Two questions, first: What is the real difference between columns and columnset? I am a bit confused* about their coexistence. Is this purposeful or necessary (or is it simply his

Re: [NTG-context] columns(ets) and itemize[columns]

2009-05-18 Thread Alan BRASLAU
On Monday 18 May 2009 08:45:16 Wolfgang Schuster wrote: > Am 17.05.2009 um 23:31 schrieb Alan BRASLAU: > > Two questions, first: > > What is the real difference between columns and columnset? > > I am a bit confused* about their coexistence. Is this purposeful or > > nec

[NTG-context] mtxrun initialization bug

2009-05-20 Thread Alan BRASLAU
I did a fresh install of the minimals today and observed a fleeting, obscure mtxrun bug: $ context myfile did not find the script mtx-context.lua $ mtxrun --script /usr/local/context/tex/texmf-context/\ scripts/context/lua/mtx-context.lua myfile ran fine, as now does all subsequent runs of "contex

Re: [NTG-context] loading figure in LuaTeX

2009-05-21 Thread Alan BRASLAU
Or \setupexternalfigures[directory={figures/math-shapes}], assuming that you are running from ~/Documents. This can be a relative path such as {../figures/math-shapes}, for example if you are compiling in a subdirectory. I suspect that your problem, as pointed out, is the expansion of the ~ sho

Re: [NTG-context] beta (list of bugs)

2009-05-21 Thread Alan BRASLAU
On Thursday 21 May 2009 11:57:37 Thomas A. Schmitz wrote: > OK, here is a collection of some assorted bugs. Most of them have been > posted several times. Of course, everybody will have their own feeling > of what is more and what is less urgent, but I will just add a few > words about my own situa

Re: [NTG-context] beta

2009-05-21 Thread Alan BRASLAU
On Thursday 21 May 2009 12:17:50 Taco Hoekwater wrote: > Thomas A. Schmitz wrote: > > 1. bib-module > > > > Taco's bib module does not work with the current beta. For me, this is a > > showstopper, I will have to give up on mkiv as long as this does not > > work. > > I feel sorry for you, but I do

Re: [NTG-context] updates without rsync

2009-05-28 Thread Alan BRASLAU
On Thursday 28 May 2009 21:36:38 Mojca Miklavec wrote: > There are > some online tutorials about how to circumvent firewall problems using > ssh tunelling. > > http://forums.exabytes.com/linux-control-panel-cpanel/102-using-rsync-throu >gh-firewall.html http://samba.anu.edu.au/rsync/firewall.html >

Re: [NTG-context] another sectioning problem in beta

2009-06-03 Thread Alan BRASLAU
On Wednesday 03 June 2009 15:02:05 Henning Hraban Ramm wrote: > MkIV 2009.06.03 11:48 > > If I use \chapter and \section, numbering is ok (1 Chapter, 1.1 > Section, 1.2 Section, 2 Chapter etc.), but when I define my own > sectioning levels, everything gets running numbers (1 Chapter, 2 > Section, 3

Re: [NTG-context] ppchtex experience

2009-06-06 Thread Alan BRASLAU
On Monday 20 April 2009 17:27:42 Helge Kruse wrote: > Hello, > > I need to write some chemical strucutures in LaTeX and dont know, what is > the best tools to do it. The structures are crown ether and cryptands. Yes, > and I am unexperienced. > > 1) What would be the way to write a [18]crown-6 > (h

Re: [NTG-context] unicode no-break spaces

2009-06-07 Thread Alan BRASLAU
On Sunday 07 June 2009 13:12:11 Hans Hagen wrote: > Peter Münster wrote: > > Should this work, or should we rather use "~" and "\," as in the past? > > repaired in next beta (was unwanted side effect of optimization) "~", by the way, appears not to be respected in math mode; example: \starttext $

Re: [NTG-context] unicode no-break spaces

2009-06-07 Thread Alan BRASLAU
On Sunday 07 June 2009 14:10:10 Hans Hagen wrote: > Alan BRASLAU wrote: > > On Sunday 07 June 2009 13:12:11 Hans Hagen wrote: > >> Peter Münster wrote: > >>> Should this work, or should we rather use "~" and "\," as in the past? > >&

Re: [NTG-context] new structure code

2009-06-14 Thread Alan BRASLAU
Hello, Different structuring behavior mkiv and mkii; How can the following minimal example be achieved under mkiv? (mkii gives the desired behavior) Alan \setuphead[part][resetnumber=no,placehead=yes] \setuplist[part,chapter,section][partnumber=no] \starttext \part{part one} \chapter{chapter one

Re: [NTG-context] new structure code

2009-06-14 Thread Alan BRASLAU
On Sunday 14 June 2009 15:16:20 Hans Hagen wrote: > keys like 'partnumber' are gone in mkiv; we now have sets and segments; > here is the variant with segments: (2 = section 2 == chapter) > > \setuphead[part] [resetnumber=no,placehead=yes] > % \setuphead[chapter][sectionsegments=2:100] > % \setup

Re: [NTG-context] new structure code

2009-06-14 Thread Alan BRASLAU
On Sunday 14 June 2009 20:23:50 Hans Hagen wrote: > Alan BRASLAU wrote: > > Blindly using the following minimal example, I almost get > > the desired result, but the parts are unnumbered. > > \setuphead[part][sectionsegments=1:1] I am still fishing... and don't really

[NTG-context] problem with math and TeXgyre and MKIV

2009-06-15 Thread Alan BRASLAU
No math symbols? (see attached) Alan minimal example: \usetypescript[postscript] \setupbodyfont[postscript,rm,12pt] \starttext $A = \pi r^2$ \stoptext goo.pdf Description: Adobe PDF document ___ If your question is

Re: [NTG-context] MKIV ownnumber issue

2009-06-22 Thread Alan BRASLAU
On Monday 22 June 2009 09:01:01 Tim Wraight wrote: > The following example from the manual does not work for me in MKIV > (2009.06.14 21:01): > > \starttext > \setuphead[subsection][ownnumber=yes] > \subsection{399}{The old number} > \subsection[someref]{400}{Another number} > \stoptext Structurin

Re: [NTG-context] problem with math and TeXgyre and MKIV

2009-06-27 Thread Alan BRASLAU
Does anyone use math? For I am surprised that nobody is complaining. (recent minimals, since 8 June, mkiv) The following minimal example % mkiv \usetypescript[postscript] \usetypescript[pagella] \starttext default: $A = \pi r^2$ \switchtobodyfont[postscript] postscript: $A = \pi r^2$ \switcht

Re: [NTG-context] mkiv structure

2009-07-02 Thread Alan BRASLAU
On Monday 15 June 2009 10:02:35 Hans Hagen wrote: > > I was wondering ... the last time quite some nice small test samples > were posted for testing the structure code > % Example taken from cont-enp.pdf % However, adding \part{} is problematic... % (maybe someone can correct this?) % \setuppagenu

[NTG-context] references (mainlanguage)

2009-07-02 Thread Alan BRASLAU
First question: Should the reference labels follow \mainlanguage? (in the example below [fr], by chance, \in{figure} might seem OK, but not \in{chapter}!) Second question: How can one \Cap{\in{figure}}? Third question: Why is the chapter label text blank by default? Thanks. Alan Minimal example

Re: [NTG-context] references (mainlanguage)

2009-07-03 Thread Alan BRASLAU
Thanks for the hints. On Thursday 02 July 2009 23:07:43 Willi Egger wrote: > > Second question: > > How can one \Cap{\in{figure}}? > > Hm, do not know, my test do not reveal the expected result \in{Figure}? (perhaps this should be a suggestion for a new feature) > If I understand you correc

Re: [NTG-context] mkiv structure

2009-07-03 Thread Alan BRASLAU
In my experience, a \part is generally (except in some rather technical documents) not treated as a super-chapter, that is chapter numbers (and titles) are not reset and retain their status as if the book was not divided into parts. A very long work is commonly broken into "volumes". Here, each vo

Re: [NTG-context] mkiv structure

2009-07-05 Thread Alan BRASLAU
On Friday 03 July 2009 16:04:07 Hans Hagen wrote: > > Obsolete in mkii? > > Shouldn't basic use (read standard users) > > treat source text transparently > > between mkii and mkiv? > > no, this is one of the few places where there will be a difference; we > have way more control now (also to the de

Re: [NTG-context] mkiv structure

2009-07-09 Thread Alan BRASLAU
On Thursday 09 July 2009 09:38:07 Hans Hagen wrote: > part is just the first level of sectioning and happens to be configured > in such a way that it does not show a title; really nothing special It is a question of default setup. \part is configured differently : no title, additional page number,

Re: [NTG-context] alpha release

2009-07-19 Thread Alan BRASLAU
Hi experts, Would someone please provide a basic recipe to correctly install the new alpha release locally. I would like to test the new alpha code but am a bit confused as to what exactly to install and how. 1. "on the website", is this indeed http://www.pragma-ade.com/context/curren

Re: [NTG-context] alpha release

2009-07-19 Thread Alan BRASLAU
On Sunday 19 July 2009 20:58:19 Aditya Mahajan wrote: > > The alpha has now been merged with the beta and so, ... > > just run first-setup.sh again. > > Aditya Thanks. I can do that! -> ConTeXt ver: 2009.06.14 21:01 MKIV fmt: 2009.7.19 int: english/english -> this is luatex, version beta-0.42

[NTG-context] obscure luatex error

2009-10-15 Thread Alan BRASLAU
In trying to compile a LARGE project (585 pages, 260 figures, 27 tables, indexing, bibliography, ...), I produce an obscure luatex error: luatex: ../../../source/texk/web2c/luatexdir/tex/printing.c:266: print: Assertion `c < 256' failed. [329.327MTXrun | fatal error, no return code, message: lua

Re: [NTG-context] obscure luatex error

2009-10-15 Thread Alan BRASLAU
On Thursday 15 October 2009 16:36:01 luigi scarso wrote: > On Thu, Oct 15, 2009 at 4:32 PM, Matthijs Kooijman wrote: > > Hi luigi, > > > >> > Do you think you could compile luatex with CFLAGS=-g, and run it in > >> > gdb to get a backtrace? That might help to see where this comes > >> > from... >

Re: [NTG-context] placefigure broken in mkiv?

2009-10-15 Thread Alan BRASLAU
On Thursday 15 October 2009 17:29:12 Wolfgang Schuster wrote: > Am 15.10.2009 um 16:04 schrieb Vyatcheslav Yatskovsky: > > Hello, > > > > A document that was previously compiled successfully a few months > > ago, now throws an exception. > > > > My code: > > \placefigure > > [middle] > > {none} >

Re: [NTG-context] obscure luatex error (fixed!)

2009-10-17 Thread Alan BRASLAU
On Friday 16 October 2009 14:16:17 Taco Hoekwater wrote: > > Ok, I now have committed an official fix. The problem was that when > converting lua strings to token lists, utf-8 characters were converted > incorrectly. This bug affected *all* luastring->tokenlist conversion, > so I am quite surprise

Re: [NTG-context] section numbers

2009-10-19 Thread Alan BRASLAU
Hello, I did not understand that this be the answer to the question, but, of course, I cannot contradict he who posted the question in the beginning. However, I understood that Thomas still wanted chapters to be numbered, but that sections be numbered independently. In my case, I have been strugg

Re: [NTG-context] Page Numbering Hell

2009-10-21 Thread Alan BRASLAU
Dear Bryant, Your post is slightly exaggerated. The document structure that you want to produce appears to be relatively standard. Whereas, indeed, the learning curve for ConTeXt (as for TeX) can be somewhat slow, the richness and powerfulness is well worth the effort. The documentation for ConTe

Re: [NTG-context] Page Numbering Hell

2009-10-22 Thread Alan BRASLAU
On Wednesday 21 October 2009 18:52:21 Bryant Eastham wrote: > > 1. Should I use mkii or mkiv? If mkii, then what should I plan on as > schedule for upgrading? I asked this question recently and was told that it was probably pretty safe now to use mkiv, "as the developers use mkiv themselves". My

Re: [NTG-context] Page Numbering Hell

2009-10-23 Thread Alan BRASLAU
On Wednesday 21 October 2009 16:24:47 Bryant Eastham wrote: > > However, I find it interesting that in your response there was not a > single real answer to any of my direct questions, nor a working example > of what you admit should be a "simple matter". I clearly wrote that I find the new struc

Re: [NTG-context] Page Numbering Hell

2009-10-25 Thread Alan BRASLAU
On Friday 23 October 2009 10:30:09 Bryant Eastham wrote: > Yes, I had looked at all the examples that I could find, I had checked the > many references, and could not find documentation on most of the routines > that current postings seem to indicate should be used. With the further > pointers I

[NTG-context] Metapost+mpgraph and mkiv

2009-11-07 Thread Alan BRASLAU
mpgraph does not appear to work properly under mkiv. %% minimal example %% \starttext \startuseMPgraphic{test} input graph draw begingraph(16cm,12cm); setrange(whatever,whatever,whatever,whatever); gdraw (0,0) -- (1,1) ; endgraph; \stopuseMPgraphic \startTEXpage \useMPgra

Re: [NTG-context] Metapost+mpgraph and mkiv

2009-11-07 Thread Alan BRASLAU
On Saturday 07 November 2009 17:21:04 Taco Hoekwater wrote: > > 1. You should load the MP packages you need in \startMPinclusions (this > is where the code really belongs, even in mkii) instead of inside each > separate graphic. > > 2. You have to make sure that you do not re-state equations that

Re: [NTG-context] Metapost+mpgraph and mkiv

2009-11-08 Thread Alan BRASLAU
On Saturday 07 November 2009 19:00:13 Wolfgang Schuster wrote: > > \usemodule[graph] > Thanks! This works in mkiv (but appears to be broken in mkii). Alan ___ If your question is of interest to others as well, pleas

[NTG-context] Metapost+mpgraph withcolor

2009-11-08 Thread Alan BRASLAU
glabel withcolor is broken (mkiv and mkii). The label at the first point is black (the 2nd comes out red). %% minimal example %% \setupcolors[state=start] \usemodule[graph] \startuseMPgraphic{test} draw begingraph(16cm,12cm); gdraw (0,0) -- (1,1) withcolor red ; glabel.urt(btex

Re: [NTG-context] After \placefigure the first paragraph of body text is not indented

2009-11-10 Thread Alan BRASLAU
On Monday 09 November 2009 18:57:30 Wolfgang Schuster wrote: > Am 09.11.2009 um 18:18 schrieb Vyatcheslav Yatskovsky: > > Hi > > > > I noticed that after \placefigure the first paragraph of body text > > is not indented. Can I enable the indenting after figures? > > \setupfloat[figure][indentnext=

Re: [NTG-context] After \placefigure the first paragraph of body text is not indented

2009-11-10 Thread Alan BRASLAU
On Tuesday 10 November 2009 09:51:09 Hans Hagen wrote: > Alan BRASLAU wrote: > > On Monday 09 November 2009 18:57:30 Wolfgang Schuster wrote: > >> Am 09.11.2009 um 18:18 schrieb Vyatcheslav Yatskovsky: > >>> Hi > >>> > >>> I noticed that after

Re: [NTG-context] Fonts disappeared after updating ConTeXt

2009-11-15 Thread Alan BRASLAU
On Sunday 15 November 2009 13:09:42 Mika Ritola wrote: > 2009/11/15 luigi scarso > > > On Sun, Nov 15, 2009 at 11:38 AM, Mika Ritola > > > > wrote: > > > Hello, > > > > > > I just updated ConTeXt to the latest version (2009.11.13 12:45), and > > > now > > > > all > > > > > the fonts I have insta

Re: [NTG-context] system fonts (was: Fonts disappeared after updating ConTeXt)

2009-11-15 Thread Alan BRASLAU
On Sunday 15 November 2009 21:56:10 Peter Wüsten wrote: > BTW, if you want Context to find _both_ directories make sure you set > your OSFONTDIR in setuptex like this: > > export OSFONTDIR="$HOME/.fonts;/usr/share/fonts" Unfortunately, this is not sufficient, and thus refers us back to the origin

Re: [NTG-context] system fonts (was: Fonts disappeared after updating ConTeXt)

2009-11-15 Thread Alan BRASLAU
On Sunday 15 November 2009 22:04:01 Alan BRASLAU wrote: > On Sunday 15 November 2009 21:56:10 Peter Wüsten wrote: > > BTW, if you want Context to find _both_ directories make sure you set > > your OSFONTDIR in setuptex like this: > > > > export OSFONTDIR=&qu

Re: [NTG-context] Pstricks and Asymptote

2009-11-16 Thread Alan BRASLAU
On Monday 16 November 2009 15:29:14 Thomas A. Schmitz wrote: > On Nov 16, 2009, at 3:12 PM, curiouslearn wrote: > > I apologize if this has been asked before, but would appreciate if > > anyone could > > answer this again. > > > > (a) Is there an easy way to incorporate asymptote code in a Context

Re: [NTG-context] rotate a figure

2009-11-16 Thread Alan BRASLAU
On Monday 16 November 2009 19:29:12 R. Bastian wrote: > Hello, > > is there a way to rotate a pdf-figure ? > > http://wiki.contextgarden.net/Using_Graphics > > thanks, > \rotate[rotation=90]{\externalfigure[filename]} Alan __

Re: [NTG-context] Pstricks and Asymptote

2009-11-16 Thread Alan BRASLAU
On Monday 16 November 2009 23:57:28 Curiouslearn wrote: > Thanks everyone for replying. > > Alan, the tikz module does not work with MKIV. From what I have read > before, it seems it will not unless the creator of tikz makes some > changes to tikz package so that it works with Context. I am not su

Re: [NTG-context] Pstricks and Asymptote

2009-11-17 Thread Alan BRASLAU
On Tuesday 17 November 2009 14:40:04 Curiouslearn wrote: > I tried Metapost last year for a few graphs and liked the fact that it > is tightly integrated with Context. I found John Hobby's document a > good place to learn it and then used Hans' Metafun to learn further. > The reason I am looking at

Re: [NTG-context] Pstricks and Asymptote

2009-11-18 Thread Alan BRASLAU
On Wednesday 18 November 2009 14:45:57 Hans Hagen wrote: > Mojca Miklavec wrote: > > On Tue, Nov 17, 2009 at 18:25, Hans Hagen wrote: > >> Mojca Miklavec wrote: > >>> In past Till has *always* fixed any bug reported, but I have not heard > >>> from him since March (neither as reply to off-list requ

Re: [NTG-context] Pstricks and Asymptote

2009-11-18 Thread Alan BRASLAU
On Wednesday 18 November 2009 17:19:13 luigi scarso wrote: > On Wed, Nov 18, 2009 at 5:10 PM, Alan BRASLAU wrote: > > There are lots of differences between the latest tikz > > and the version distributed with tex live. > > I compare the minimals tex/generic/pgf/ > > wit

Re: [NTG-context] Remove bold face

2009-11-18 Thread Alan BRASLAU
On Wednesday 18 November 2009 02:57:18 anuar lezama wrote: > Hello Everybody, My problem is the following: I'm creating chapter's titles > with a mix of styles. For example. \chapter{ something {\bolditalic another > thing}} This give me the result that I expect with my titles, but when I > use th

Re: [NTG-context] Remove bold face

2009-11-18 Thread Alan BRASLAU
.supelec.fr/projects/contextrev/ > > wiki : http://contextgarden.net > > > > _________ > >__ > > > > > > > > > >

Re: [NTG-context] local footnote (Tables) problem

2009-11-18 Thread Alan BRASLAU
Alan I believe that you need to use \starttables\stoptables rather than \starttable\stoptable. See: http://wiki.contextgarden.net/Tables_Overview Alan On Wednesday 18 November 2009 20:20:06 Bowen Alan C. wrote: > Wolfgang— > > I adapted the file that you sent me so that the table extends bey

Re: [NTG-context] rotate a figure

2009-11-19 Thread Alan BRASLAU
On Tuesday 17 November 2009 16:48:45 Hans Hagen wrote: > Peter Münster wrote: > > On Tue, Nov 17 2009, R. Bastian wrote: > \rotate[rotation=90]{\externalfigure[filename]} > >>> > >>> \externalfigure[filename][orientation=90] ;) > > \placefigure[here,90]{}{} Yes! However, sometimes we want to

Re: [NTG-context] rotate a figure

2009-11-19 Thread Alan BRASLAU
On Thursday 19 November 2009 12:26:40 luigi scarso wrote: > On Thu, Nov 19, 2009 at 12:07 PM, Alan BRASLAU wrote: > > On Tuesday 17 November 2009 16:48:45 Hans Hagen wrote: > >> Peter Münster wrote: > >> > On Tue, Nov 17 2009, R. Bastian wrote: > >> &g

Re: [NTG-context] texutil --purgeallfiles

2009-11-19 Thread Alan BRASLAU
On Thursday 19 November 2009 20:46:40 Renaud AUBIN wrote: > Hi, > > Trying to use the good old days texutil --purgeallfiles, I obtain: > ren...@daneel:~/ConTeXt/notes/src$ texutil --purgeallfiles > /usr/local/ConTeXt/tex/texmf-context/scripts/context/ruby/base/texutil.rb:1 > :in `require': no such

Re: [NTG-context] How to not gobble space after a command

2009-11-20 Thread Alan BRASLAU
On Friday 20 November 2009 11:41:16 Matthijs Kooijman wrote: > > \autoinsertnextspace is the context version of \xspace (could be mkii > > only) > > Woah, that works (in MkIV). Thanks! *Everywhere* the authors use \CONTEXT\ and \TeX\ followed by an escaped space. (Is this space [sometimes] unbrea

Re: [NTG-context] simplefonts

2009-11-22 Thread Alan BRASLAU
On Sunday 22 November 2009 13:24:19 Wolfgang Schuster wrote: > Am 21.11.2009 um 22:33 schrieb Vyatcheslav Yatskovsky: > > Searching for wiki, I found the line "For instance, assuming the > > Delicious fonts are > > properly installed and recognized b

Re: [NTG-context] simplefonts

2009-11-22 Thread Alan BRASLAU
Of course, I need \usemodule[simplefonts] Now I *am* impressed! (and I'm not running Windows) Alan On Sunday 22 November 2009 14:10:28 Alan BRASLAU wrote: > On Sunday 22 November 2009 13:24:19 Wolfgang Schuster wrote: > > Am 21.11.2009 um 22:33 schrieb Vyatcheslav Yatskovsky: &

Re: [NTG-context] \vspace

2009-11-23 Thread Alan BRASLAU
On Monday 23 November 2009 11:52:14 Hans Hagen wrote: > Wolfgang Schuster wrote: > > add a note to source nobody else than me should use it :) > > actually i wanted to say something like that but noticed that you'd > posted to the list, probably in order to create a larger momentum -) Yes, the ca

[NTG-context] MetaPost broken mkiv latest minimals

2009-11-24 Thread Alan BRASLAU
MetaPost is broken in mkiv (works in mkii). minimal example: \starttext \startuniqueMPgraphic{circle} pickup pencircle scaled 1pt ; draw fullcircle scaled 2cm ; \stopuniqueMPgraphic \uniqueMPgraphic{circle} \stoptext _

Re: [NTG-context] MetaPost broken mkiv latest minimals

2009-11-24 Thread Alan BRASLAU
On Tuesday 24 November 2009 21:20:05 luigi scarso wrote: > On Tue, Nov 24, 2009 at 9:05 PM, Alan BRASLAU wrote: > > MetaPost is broken in mkiv (works in mkii). > > > > minimal example: > > > > \starttext > > > > \startuniqueMPgraphic{c

Re: [NTG-context] MetaPost broken mkiv latest minimals

2009-11-24 Thread Alan BRASLAU
On Tuesday 24 November 2009 21:49:06 Hans Hagen wrote: > Mojca Miklavec wrote: > > On Tue, Nov 24, 2009 at 21:21, Hans Hagen wrote: > >> Alan BRASLAU wrote: > >>> MetaPost is broken in mkiv (works in mkii). > >>> > >>> minimal example: &g

Re: [NTG-context] Adjusting the size of a figure when using placefigure

2009-11-24 Thread Alan BRASLAU
Luigi, Thank you for bringing to our attention the command \scale allowing the easy rescaling of MP graphics. On Wednesday 25 November 2009 03:20:09 luigi scarso wrote: > \definemeasure[textgap] [\dimexpr 1em\relax] > Why the \dimexpr? \definemeasure[textgap] [1em] works just fine. Alan

Re: [NTG-context] font-syn.lua error

2009-11-24 Thread Alan BRASLAU
On Wednesday 25 November 2009 08:15:48 luigi scarso wrote: > On Wed, Nov 25, 2009 at 8:05 AM, Thomas A. Schmitz > > wrote: > > On Nov 22, 2009, at 10:19 PM, Hans Hagen wrote: > > > > Just an afterthought to this problem: I discovered yesterday that the > > same file behaved quite differently in d

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Alan BRASLAU
On Wednesday 25 November 2009 09:54:36 luigi scarso wrote: > > That wasn't the point, I was not trying to give a comparative table of > > pdf-viewers. luatex was buggy, but some viewers displayed the pdf > > nonetheless. Doesn't make sense to test a dozen viewers because next time > > around, the s

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Alan BRASLAU
On Wednesday 25 November 2009 09:37:11 Taco Hoekwater wrote: > Alan BRASLAU wrote: > > Maybe unrelated, but maybe a luatex error as well: > > transparency seems to work correctly when viewed with okular > > (same library as evince) but not when view with acroread, >

[NTG-context] Metapost and mkiv

2009-11-27 Thread Alan BRASLAU
Is this a bug in mkiv metapost? Alan minimal example: \setupcolors [state=start] \starttext \startuniqueMPgraphic{test} for i = 0 upto 10 : draw thelabel(decimal i, (i, 0) scaled 1cm) withcolor red ; % red in mkii, black in mkiv? endfor ;

Re: [NTG-context] Metapost and mkiv

2009-11-28 Thread Alan BRASLAU
On Friday 27 November 2009 14:54:53 Willi Egger wrote: > Hi Alan, > > I run in this myself. A possible solution is: > > \startuniqueMPgraphic{test} > for i = 0 upto 10 : > draw thelabel(textext("\color[red]" & decimal i &""), (i, -1) > scaled 1cm); > endfor ; > \stopuniq

[NTG-context] placesidebyside inside combination

2009-12-03 Thread Alan BRASLAU
Hello, Nesting \placesidebyside inside \startcombination\stopcombination appears to throw-off the spacing. Alan %%% % Minimal example: % (left pair is misplaced) %%% \setupcombinations [distance=0cm] \starttext \framed [width=8cm] {% \startcombin

[NTG-context] simpleslides: titlestyle

2009-12-04 Thread Alan BRASLAU
Hi, The simpleslides module seems to be ignoring the titlestyle (by default \switchtobodyfont[\TitleSize]) and titlecolor parameters. Minimal example: generic-talk-15min-45min.tex (tex/texmf-context/doc/context/third/simpleslides/solutions) Alan __

Re: [NTG-context] Minimals Setup witout rsync?

2009-12-07 Thread Alan BRASLAU
il. If you can connect to a machine on the outside world that has nc and itself allows rsync. Alan --- Begin Message --- On Thursday 23 July 2009 21:40:54 Mojca Miklavec wrote: > On Wed, Jul 22, 2009 at 23:03, Alan BRASLAU wrote: > >>> I am currently behind a firewall that does not allo

[NTG-context] \framed inside \startalignment\stopalignment

2009-12-08 Thread Alan BRASLAU
Strange behavior with \framed or \inframed inside \startalignment [middle] \stopalignment. Alan Minimal example: \starttext \startalignment [middle] \inframed {This {\bf should} be aligned and centered} along with the following. \stopalignment \blank \startalignment [middle] Here, \inframed

Re: [NTG-context] Call for papers (pracjourn & mkiv)

2009-12-15 Thread Alan BRASLAU
On Tuesday 15 December 2009 13:05:48 Martin Schröder wrote: > > Do you propose to flood the issue with articles on ConTeXt? :-) > There is a problem with the module pracjourn; compiles fine under mkii, fails under mkiv. Minimal example: \usemodule[pracjourn] \setvariables [pracjourn] [

[NTG-context] metafun/graph \times error (mkiv)

2009-12-18 Thread Alan BRASLAU
Metapost/graph currently does not handle scientific notation correctly in mkiv: -> 1.5imes106 (and does not work at all in mkii) Alan %% minimal example: \usemodule[graph] \starttext \startMPcode draw begingraph(12cm,12cm) ; setcoords(linear,linear) ; setrange(0,0,365,"2

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-26 Thread Alan Braslau via ntg-context
On 27/07/21 08:12, Gavin via ntg-context wrote: Hi All, Getting Closer I asked: 2) While I’m having good luck with paths, colors are causing trouble. In the data set the color information is in strings with French names of the color, like “rouge.” If I hand this string to MetaPost, MetaPost

Re: [NTG-context] How to display these characters

2022-08-07 Thread Alan Braslau via ntg-context
On 05/08/22 05/08/22, 12:13, Henning Hraban Ramm via ntg-context wrote: I recently had the same problem and was wondering if there isn’t a Metapost module for directory trees? There is a Metapost/Context module for drawing flow charts that should handle this nicely. There is also a Metapos

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-15 Thread Alan Braslau via ntg-context
I believe that you are missing the point of LMTX. LMTX Context is intended to be a self-contained AND PORTABLE directory tree. It does not need system installation paths and such and is designed to happily co-exist with system installed TeX (using packages) or TeXlive or others, without interf

Re: [NTG-context] PDF viewer

2022-09-22 Thread Alan Braslau via ntg-context
On Thu, 22 Sep 2022 18:47:50 -0600 Max Chernoff via ntg-context wrote: > I've been using pdf.js almost exclusively for the past few years > either via Firefox or VS Code, and I've never really had any > problems. The only real issue that I've had is that it gets fairly > slow with documents over

Re: [NTG-context] Command for specifying et al limit

2022-09-26 Thread Alan Braslau via ntg-context
On Sat, 24 Sep 2022 18:57:25 + Jethro Djan via ntg-context wrote: > \setupbtx[ > dataset=ref, > etaldisplay = 1, > etallimit = 1, > ] Remove extra spaces. Alan ___ If your question is of interest to others

Re: [NTG-context] Command for specifying et al limit

2022-09-26 Thread Alan Braslau via ntg-context
On Mon, 26 Sep 2022 21:40:14 -0600 Alan Braslau via ntg-context wrote: > On Sat, 24 Sep 2022 18:57:25 + > Jethro Djan via ntg-context wrote: > > > \setupbtx[ > > dataset=ref, > > etaldisplay = 1, > > etallimit = 1, > > ] > > Remove extr

Re: [NTG-context] Command for specifying et al limit

2022-09-27 Thread Alan Braslau via ntg-context
On Tue, 27 Sep 2022 13:33:20 + jethro Reuel via ntg-context wrote: > I want something like: > > Bronstein et al. says in their paper… > > I found the etaldisplay affects the display of the references and I > don’t want that. Try \setupbtx[apa:cite] and leave [apa:list] alone. Alan

Re: [NTG-context] Spacing in \unit

2022-10-09 Thread Alan Braslau via ntg-context
On Sat, 8 Oct 2022 11:59:04 -0600 Gavin via ntg-context wrote: > I’m trying to fix four issues: > - No space between the number and the following units. Should be a > thin space. > - No space between the units and the following symbol (+ and = > above). Should be appropriate “bin" or “rel" sp

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Alan Braslau via ntg-context
On 12/10/22 12/10/22, 14:25, Wolfgang Schuster via ntg-context wrote: Denis Maier via ntg-context schrieb am 12.10.2022 um 21:17: Instead of what? By default the symbols are placed with a box because you aren't limited to normal quotation marks. \setupexternalfigure [location=default] \setup

Re: [NTG-context] Spacing in \unit - degrees

2022-10-12 Thread Alan Braslau via ntg-context
Further \unit question(s): \unit{135℃} adds a space after the digits 135. I do not believe that this is correct (for ℃ is *not* a "real" unit, unlike \unit{408.15 K} which *is* a real unit). Also, \unit{135°C} drops the "C". Is this a parsing bug? Related, \unit{90°} does not seem to introduce a

Re: [NTG-context] Spacing in \unit - degrees

2022-10-13 Thread Alan Braslau via ntg-context
On Wed, 12 Oct 2022 21:14:52 -0600 Gavin wrote: > As a recovering string theorist, I cannot help but speculate that > this rule extends to spherical coordinates in any number of > dimensions. However, if you don’t want the space, you can use > 135\unit{℃}, which does not add a space. Will 135\un

Re: [NTG-context] atan2 function

2022-10-14 Thread Alan Braslau via ntg-context
Are you using MP in scaled integer or in doubleprecision mode? I have not looked into the MP angle operator code, but my suspicion is that it is based on some super-clever John Hobby scheme optimized for scaled integer calculations. Hans has integrated the entire math library (and more) into

Re: [NTG-context] new upload

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 16:14:01 +0200 Pablo Rodriguez via ntg-context wrote: > I have discovered that it includes in > tex/texmf-context/source/luametatex what should be the LMTX source > (about 11MB). > > I wonder whether this could be made optional. Internet speed is not > constant where I live a

Re: [NTG-context] atan2 function

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 10:07:19 +0200 Hans Hagen via ntg-context wrote: > So you suggest to add atantwo? As side note, you can redure your > definition to: > > vardef atantwo(expr dy, dx) = > if dx == 0 : > if dy < 0 : - fi pi / 2 > else : > atan(dy

[NTG-context] (any) neovim users?

2022-10-14 Thread Alan Braslau via ntg-context
nction 'match' /usr/local/share/nvim/runtime/filetype.lua:12: in function Has anyone encountered this? (perhaps it has been fixed upstream?) Alan -- Alan Braslau 816 West Mountain Avenue Fort Collins

Re: [NTG-context] (any) neovim users?

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 16:48:42 - (UTC) Nicola via ntg-context wrote: > On 2022-10-14, Alan Braslau via ntg-context > wrote: > > A recent upgrade of the editor neovim leads to the following error > > when using %&context identification at the head of .tex source > &g

Re: [NTG-context] (any) neovim users?

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 18:59:24 - (UTC) Nicola via ntg-context wrote: > > I wonder why a lua error is reported? > > Sorry, I should have said that I am only *assuming* that what I wrote > may be the reason for the error. In fact, I have now tried to open > a file starting with %&context, and

Re: [NTG-context] (any) neovim users?

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 18:59:24 - (UTC) Nicola via ntg-context wrote: > Yours is a valid concern, but maintaining (Neo)Vim plugins is > a community effort. I took over the development of the ConTeXt plugin > because I wanted to improve the support for ConTeXt in Vim, and at the > time the plugin

Re: [NTG-context] issues with current latest

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 15:38:52 -0600 Max Chernoff via ntg-context wrote: $ context --luatex test.tex mtx-context | redirect luametatex -> luatex: luatex --luaonly "/opt/context/tex/texmf-linux-64/bin/mtxrun.lua" --script mtx-context --luatex test.tex --redirected mtxrun | u

Re: [NTG-context] issues with current latest

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 16:33:12 -0600 Max Chernoff wrote: > Do you know how to rebuild the format? I've tried the following to no > avail: > > --script mtx-context I believe that you have to give the full script path here to mtxrun Alan

Re: [NTG-context] atan2 function

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 11:59:49 -0700 Thangalin wrote: > I don't think an atantwo is needed. I *thought* I had read somewhere > that atan( y, x ) was equivalent to calling atan2 in Lua. Ensuring > there's no breakage when x == y would be nice, though. It was a little > surprising to see angle return

Re: [NTG-context] atan2 function

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 16:09:41 -0700 Thangalin wrote: > Would making the conditional part of the API be useful to others? Of course, $\tan^{-1}(\pm 1)$ is undefined (mathematically). Alan ___ If your question is of in

Re: [NTG-context] new upload

2022-10-18 Thread Alan Braslau via ntg-context
On 18/10/2022 09:40, Pablo Rodriguez via ntg-context wrote: A complete install has revealed the real cause of the slow download: the antivirus software (that works like crap). My antivirus software is called ... Unix ;-) __

[NTG-context] Structure: multi-volume products

2022-12-15 Thread Alan Braslau via ntg-context
Hello, I have a book project that is being cut into two volumes (because it is too long and will be sold as a boxed set). Each volume is presently a separate *product* in the project structure. I presently set the counters in the second volume using: \setupheadnumber [part] [2] \setupheadnumb

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Alan Braslau via ntg-context
Thank you. This was my initial approach, although I know that ConTeXt can do better! I will look into the suggestion sent by Richard Mahoney, as it looks like a good solution to the problem. Alan -- Alan Braslau 816 West Mountain Avenue Fort Collins, CO 80521 USA mobile: (970) 237-0957

<    7   8   9   10   11   12   13   >