Re: [NTG-context] texexec command line switches missing in ruby version

2006-09-27 Thread Sanjoy Mahajan
$ cat /home/sanjoy/bin/texmfstart #!/bin/bash ruby `kpsewhich --format=texmfscripts texmfstart.rb` $@ $ cat /home/sanjoy/bin/texexec #!/bin/sh texmfstart texexec.rb $@ Thanks, I'm using them too, but I remember there was some confusion about $@ versus $@ in this command. $@

[NTG-context] \sometxt bodyfontsize in staticMPfigure (2006.09.27 beta)

2006-09-27 Thread Sanjoy Mahajan
[I'm testing the 2006.09.27 beta on Linux] Thanks for the new \sometxt in staticMPfigures. I'm just testing its operation, and find that the text is not set in the document's bodyfont size. For example, \setupbodyfont[20pt] \starttext \startstaticMPfigure{fig} label(\sometxt{in

[NTG-context] btex..etex fails in reusableMPgraphic (2006.09.28 beta)

2006-09-28 Thread Sanjoy Mahajan
Unless I'm doing something very silly, the following should and I am almost certain did work, but it fails with the 2006.09.28 beta: btex.tex === \starttext \startreusableMPgraphic{fig} label(btex in b/e tex etex, origin); \stopreusableMPgraphic outside

Re: [NTG-context] \sometxt bodyfontsize in staticMPfigure (2006.09.27 beta)

2006-09-28 Thread Sanjoy Mahajan
Hans Hagen wrote: this is runtime tex into passed to the graphic ... imagine that we flush this to the mp file ... it can contain info that is not known in that session (like overlay info) which willbreak the mp run the issue here is that a static graphic is processed in another,

[NTG-context] MPenvironment ignored for btex..etex (or should I use sometxt)?

2006-09-28 Thread Sanjoy Mahajan
I'm not sure what's going on here, but this file fails (2006.09.28 beta): [well I have a better idea now after writing out the whole email, see the end...] === 3.tex = \starttext \startMPenvironment \def\2{hello} \stopMPenvironment \startreusableMPgraphic{fig}

[NTG-context] MPenvironment \def gives Parameters must be numbered consecutively

2006-09-28 Thread Sanjoy Mahajan
This test file (beta 2006.09.28): 1.tex \starttext \startMPenvironment \def\2#1#2{\vbox{\halign{\hfil##\hfil\cr #1\cr #2\cr}}} \stopMPenvironment \startreusableMPgraphic{fig} label(btex sun etex, origin); \stopreusableMPgraphic \reuseMPgraphic{fig}

Re: [NTG-context] btex..etex fails in reusableMPgraphic (2006.09.28 beta)

2006-09-29 Thread Sanjoy Mahajan
Hans Hagen wrote: btex.tex === \starttext \startreusableMPgraphic{fig} label(btex in b/e tex etex, origin); \stopreusableMPgraphic outside btex..etex\quad \reuseMPgraphic{fig} \stoptext works here

Re: [NTG-context] wiki: debian installation

2006-09-29 Thread Sanjoy Mahajan
I did an installation with last weeks unstable release and found the wiki infos not really helpful, if not outright misleading. That's too vague to be helpful. Having written some of the Debian installation materials, I would find it useful to know what places were wrong or misleading so that

Re: [NTG-context] Problem with ConTeXt installation

2006-09-30 Thread Sanjoy Mahajan
Search for the stale cont-en.fmt and delete it. Right -- most likely produced by fmtutil before you commented out the automatic regeneration of context formats. Same problem happens with other Unix installations, e.g. I got bit a few times on Debian and Ubuntu. Here's one way to find the

Re: [NTG-context] btex..etex fails in reusableMPgraphic (2006.09.28 beta)

2006-09-30 Thread Sanjoy Mahajan
btex.tex === \starttext \startreusableMPgraphic{fig} label(btex in b/e tex etex, origin); \stopreusableMPgraphic outside btex..etex\quad \reuseMPgraphic{fig} \stoptext works here

Re: [NTG-context] MPenvironment \def gives Parameters must be numbered consecutively

2006-09-30 Thread Sanjoy Mahajan
never try to do tricky stuff like definitions inside MPenvironement, because it is parsed and changed slightly. I'm learning that lesson too. Another one: don't use btex..etex instead use \sometxt. So I now try to use the MPenvironment only for font and size switching (e.g. if I want the

Re: [NTG-context] MPenvironment \def gives Parameters must be numbered consecutively

2006-09-30 Thread Sanjoy Mahajan
works ok ; maybe i should add that command to the core but anyhow you can wikify it Using btex..etex is becoming complex with all the interactions, so instead I wikified an example of converting from btex..etex to \sometxt -- preaching what I am trying to practice. Instead I'll use the

[NTG-context] ## in \def in \sometxt fails with static MP figure

2006-09-30 Thread Sanjoy Mahajan
Now that \sometxt works with static figures (thanks!), I'm converting from using btex..etex to using \sometxt, to avoid MPenvironments (instead put it in the general .tex environment). But I ran into an error with macro arguments and static figures. Let me know if it's not worth fixing in view

Re: [NTG-context] Problem with ConTeXt installation

2006-09-30 Thread Sanjoy Mahajan
So I simply copied /root/.texmf-var/web2c/pdfetex/* /var/lib/texmf/web2c/ texexec new.tex seems to run OK now, without error. I'll investigate further. You run texexec as root, I'm guessing, so that the formats will be visible to all users. However, that means they go into root's

[NTG-context] bfrange block CMap error in pdf file

2006-10-01 Thread Sanjoy Mahajan
This file produces just a boldface 'a' via metafun: = bf.tex == \setuppagenumbering[location=] \starttext \startreusableMPgraphic{fig} label (\sometxt{\bf a}, (0,0)); \stopreusableMPgraphic \reuseMPgraphic{fig} \stoptext = bf.tex == 'xpdf bf.pdf'

Re: [NTG-context] table: code doesn't work any more with recent beta

2006-10-01 Thread Sanjoy Mahajan
I'd seen a similar problem but didn't manage to catch it before it slithered away. But I'm pretty sure it used to work (perhaps with an August 06 release). Starting from your example, the following was the smallest file I could find showing the same problem (using the latest beta):

Re: [NTG-context] wiki: debian installation

2006-10-02 Thread Sanjoy Mahajan
Thanks, that's very helpful. I didn't understand everything that happened in your installation notes, but for what I did understand (most of it) I agree with what you say. I'll go through it again, figure out what I'm still confused about, and then ask you on the list. PPS: No, still no idea

Re: [NTG-context] wiki: debian installation

2006-10-04 Thread Sanjoy Mahajan
# mkdir /usr/local/share/texmf # cd /usr/local/share/texmf # unzip /path/to/fresh/cont-tmf.zip # chmod 755 scripts/context/ruby/texmfstart.rb # texexec --make # mv conte-en.fmt cont-nl.fmt metafun.mem mptopdf.fmt web2c/ # texhash I don't understand

Re: [NTG-context] wiki: debian installation

2006-10-04 Thread Sanjoy Mahajan
Warning: pdfetex (file /home/myuser/texmf/fonts/map/dvipdfm/ context/original-base.map): invalid entry for `fmvr8x': font file missing Some time ago it was a hot topic on the mailing list. See: http://wiki.contextgarden.net/Error_Recovery and fix it if possible

[NTG-context] static figures not working with the 2006.10.04 beta

2006-10-04 Thread Sanjoy Mahajan
This file now produces a blank page except for the page number, perhaps due to me messing up one of the upgrades (was trying an automatic install to a TEXMFLOCAL directory but eventually gave up and went back to ~/texmf/): \starttext \startstaticMPfigure{fig} draw fullcircle scaled 1in;

Re: [NTG-context] \sometxt in staticMPfigure

2006-10-05 Thread Sanjoy Mahajan
i already patched ctxtool to unzip everything I think this is the right solution (or using -o to unzip). The unzip time is low compared with the time to download cont-tmf.zip (disks are faster than almost all network connections), so optimizing unzip time is not worth the chance of

[NTG-context] \showlayout doesn't (2006.10.04 beta)

2006-10-05 Thread Sanjoy Mahajan
This test file doesn't produce the frames around the margins (2006.10.04 beta): \starttext \showlayout \input tufte \stoptext I can't test it on the live context (the missing cont-new.mkii) to make sure it's not something silly on my part. But I reverted to the 2006.09.28 beta and it had the

Re: [NTG-context] \showlayout doesn't (2006.10.04 beta)

2006-10-05 Thread Sanjoy Mahajan
Something wrong with \showframe \showframe \starttext test \stoptext I added this to the contexttest repository. -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.

Re: [NTG-context] bug?: interaction between columns and background

2006-10-06 Thread Sanjoy Mahajan
Maybe even extract everything with --beta to TEXMFBETA folder so that maintaining beta and stable in parallel is seamless. I like that. But how do you deal with the format files (made by texexec --make)? texexec puts them in ~/.texmf-config or ~/.texmf-var (first element of TEXFORMATS from

Re: [NTG-context] multipage tables

2006-10-10 Thread Sanjoy Mahajan
I have at the moment no ConTeXt where I can test your example file but you should try to change the first line of your float from \placetable[here]... to \placetable[here,split]... I hope it works for you and I also try to run your file till tomorrow. I ran it here (ver:

Re: [NTG-context] url compared to hyperref

2006-10-20 Thread Sanjoy Mahajan
Here is an example that I put on the wiki (because I kept forgetting how to do it and wanted one place to find it again, but I never can find it quickly there anyway, so now it's in the list archives at least): \setupcolors[state=start] \setupinteraction[state=start,color=middlered] \useURL

Re: [NTG-context] ConTeXt on Debian: The wiki entry

2006-10-23 Thread Sanjoy Mahajan
http://wiki.contextgarden.net/Debian_installation Are some of the people around who wrote this? I wrote some of it (hangs head in shame) by typing in all the steps I had to use on my Debian stable/testing system to get a newer ConTeXt to work with tetex 3.0 as the basis. I agree, it is

Re: [NTG-context] typesetting a url from variabless

2006-10-24 Thread Sanjoy Mahajan
I know that the tilde is causing problems, but I do not know how to prevent that. Maybe make the tilde's catcode unactive in a \bgroup \egroup around the url typesetting? Though if it were that easy, I'm sure the problem would be fixed long ago... -Sanjoy `Never underestimate the evil of

[NTG-context] global layout change from header=none in \setuphead

2006-10-24 Thread Sanjoy Mahajan
Another of those 'not sure if I'm confused' examples: \setuphead[title][header=none] \starttext \title{Hello} \dorecurse{15}{\input tufte} \stoptext With header=empty, it worked as I expected: The first page had no page number in the header and the other pages had a page number. Then I tried

Re: [NTG-context] Two misfeatures in placefigure

2006-10-25 Thread Sanjoy Mahajan
2) The paragraph after the figure is indented, even if it comes right after a \section. wild speculation Thinking about how I prevented such parindents in my plain TeX days, by using \ignorespaces\noindent in the definition of \section. If that's what ConTeXt does, perhaps the \placefigure

Re: [NTG-context] global layout change from header=none in \setuphead

2006-10-25 Thread Sanjoy Mahajan
\setuphead[title][header=high] Magic! Thanks a lot. -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] Directories of pictures

2006-10-25 Thread Sanjoy Mahajan
Note that ./png-images seems to look for current_shell_directory/png-images. what is tex_file_directory? I'm guessing the directory in which the tex source file lives, what I often wished TeX used as its search path for relative paths -- the way some (all?) C compilers will when

Re: [NTG-context] url compared to hyperref

2006-10-26 Thread Sanjoy Mahajan
Your demimed ConTeXt source: == \starttext \useURL[imara-web-page][http://imara.csail.mit.edu][http://imara.csail.mit.edu] An interesting project can be found at \url[imara-web-page]. \stoptext == (by the way, I find it easiest if

Re: [NTG-context] dashed or dotted lines in tables

2006-10-27 Thread Sanjoy Mahajan
I meant drawing the normal horizontal and vertical rules that separate rows and columns dashed or dotted instead of continuous, but using TeX itself Check in the TeXbook (I'm far O(10^4) km from my copy right now) about leaders and \hrulefill, that might do it. -Sanjoy `Never underestimate

[NTG-context] bookmarks using linebreaks in chapter titles

2006-11-02 Thread Sanjoy Mahajan
I was trying out line breaks for long titles (at least, long when set in 36 or 48pt text), as well as have pdf bookmarks, so I defined a \1 shorthand local to the chapter heading: == \setupinteraction[state=start]

Re: [NTG-context] bookmarks using linebreaks in chapter titles

2006-11-03 Thread Sanjoy Mahajan
Thanks Aditya and Wolfgang for the information. I've added it all to the wiki http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers so let me know if you find any problems there. I noticed two possible bugs when trying out a few examples -- see below. If I inline the \1, as in

Re: [NTG-context] bookmarks using linebreaks in chapter titles

2006-11-03 Thread Sanjoy Mahajan
The bookmark text is A very long chapter about splines. But adding a letter or word to the chapter body fixes that: indeed, bookmarks are flushed at the next paragraph, otherwise they would end up at undefined places Good point. Does the \bookmark then belong before the \chapter

Re: [NTG-context] Parsing texexec output

2006-11-06 Thread Sanjoy Mahajan
Does the job, thanks. AucTeX assumes --passon=-interaction=nonstopmode, which doesn't work. It worked with the perl (=older) texexec, but the ruby version doesn't have a --passon switch. -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell,

Re: [NTG-context] volunteer wanted

2006-11-16 Thread Sanjoy Mahajan
Is there someone here who wants to check (roughly) the context related man pages that ship with tex live? I have a tgz file. Sure. Are they to be checked against a reasonably current mkii? -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand

Re: [NTG-context] Problems with texexec pdfarrange

2006-11-16 Thread Sanjoy Mahajan
in my opinion the print command option is --print=2up It shouldn't matter (2up vs up). The tex.rb script has this: case getvariable('printformat') when '' then arrangement \\v!normal when /.*up/oi then arrangement [2UP,\\v!rotated]

Re: [NTG-context] Problems with texexec pdfarrange

2006-11-16 Thread Sanjoy Mahajan
texexec --pdfarrange --paper=A5A4 --print=up live.pdf It needs to be given as '--paperformat'. I'm pretty sure '--paper' gets disambiguated as --paperoffset, so ConTeXt looks for a dimension but gets A5A4, and then complains about a missing number. -Sanjoy `Never underestimate the evil of

Re: [NTG-context] unic-xxx.tex glyph lists: minor bugs, questions

2006-11-22 Thread Sanjoy Mahajan
I'll experiment, especially if I can figure out a set of magic kpathsea paths to keep mkii and mkiv in parallel. no need for that ; it is made to run in parallel, just an extra zip with mkiv and lua files ending up in base, and luatools.lua ending up in the script path; also, mkiv does not

Re: [NTG-context] New Debian context package based on context release 061207

2006-12-11 Thread Sanjoy Mahajan
Nup, doesn't work: kpathsea: Running mktextfm texnansi-uplr8a Is this a context problem or do I have some fonts missing? Probably a case of fonts missing. Those fonts are in cont-fnt.zip that is not in TeXLive (nor will it be added anytime soon). But FWIW, this means the bits you do

Re: [NTG-context] New Debian context package based on context release 061207

2006-12-12 Thread Sanjoy Mahajan
Here it does work after installation of cont-fnt.zip. Or the current Debian context package. Hmm, I think the mess of tex configuration files in Unix has finally defeated me, and I will switch to using the debian context package and will retry Aditya's assignment document. That will also

Re: [NTG-context] new debian context 2006.12.21-0.1

2006-12-22 Thread Sanjoy Mahajan
Latexstualists may disagree but I think the essence is that Context gives more control and makes it easier to create new layouts. Also the ConTeXt parts are more integrated than the LaTeX packages are -- think of the discussions/comments about what order LaTeX packages must be loaded. For

Re: [NTG-context] new debian context 2006.12.21-0.1

2006-12-23 Thread Sanjoy Mahajan
Here is Aditya's writeup with a few edits by this Mahajan. The part that might have been unclear to someone reading it for the first time is how ConTeXt can be modular yet monolithic: It was designed with the same general-purpose aims as LaTeX, but being younger reflects much more recent

Re: [NTG-context] new debian context 2006.12.21-0.1

2006-12-23 Thread Sanjoy Mahajan
Idris (and all), Thanks, that's a very helpful contrast between LaTeX and ConTeXt. So how about: == ConTeXt is a document-production system based, like LaTeX, on the TeX typesetting system. Whereas LaTeX insulates the writer from typographical

Re: [NTG-context] new debian context 2006.12.21-0.1

2006-12-24 Thread Sanjoy Mahajan
From the formulation used here, people could get the impression that ConTeXt is an extremely instable product and for that reason refrain from using it. Good point. How about simply: ConText is developed rapidly, often in response to requests from the friendly user community. -Sanjoy

[NTG-context] ' undefined inside \startformula .. \stopformula

2006-12-26 Thread Sanjoy Mahajan
I just noticed this test file failing: \starttext $f'(x)$ \startformula f^\prime(x)\quad f'(x) \stopformula \stoptext It gives: ! Undefined control sequence. l.4 f^\prime(x)\quad f' (x) As you can see from lack of complaint about $f'(x)$, the ' still works in inline math

Re: [NTG-context] ' undefined inside \startformula .. \stopformula

2006-12-27 Thread Sanjoy Mahajan
Aditya This is a typo in math-pln.tex. The end of the file should be Hans this trickery is related to a change in the catcode management of Hans context (which interferes with some plain tex left-overs) Taco Hans has uploaded a new version, with fix (context 2006.12.27). Just tested on my test

Re: [NTG-context] debian context updates

2006-12-28 Thread Sanjoy Mahajan
Norbert, Here's the latest description, for the debian/control file (sorry I should have explicitly CC'ed you on the list emails revising it): ConTeXt is a document-production system based, like LaTeX, on the TeX typesetting system. Whereas LaTeX insulates the writer from typographical

Re: [NTG-context] PSTricks

2006-12-29 Thread Sanjoy Mahajan
Isn't there --nobackends (or something similar) which will then not run any dvips (or dvipdfm)? It's --nobackend Here's the revised (ruby) texexec man page (as PDF) -- see p.3. It's in the Debian packages and will go into the 2006 TeXLive. -Sanjoy `Not all those who wander are lost.'

Re: [NTG-context] Manual (English) Update soon?

2006-12-29 Thread Sanjoy Mahajan
with the decision to leap. Here is a hello-world template that I just wrote. It contains many of the ConTeXt commands that I use most frequently. Maybe it should go on the wiki? -Sanjoy % Hello world! document for the ConTeXt typesetting system % % === History === % 2006-12-29 Sanjoy Mahajan

Re: [NTG-context] Manual (English) Update soon?

2006-12-30 Thread Sanjoy Mahajan
Rolf Lindgren writes: \setupindenting[medium, yes] ConTeXt seems to choke on the yes here. Hmm, texshow says lists 'yes' and 'medium' as valid keywords. What ConTeXt version are you using? Can you post the error log? I had no problems running the whole hello-world file through the

Re: [NTG-context] Where is ifforwardreference defined?

2006-12-31 Thread Sanjoy Mahajan
grep -r ifforwardreference . That finds only the \newif and uses of the new if. To find the algorithm, you want egrep -r 'forwardreference(false|true)' . because the assignments are done by \forwardreferencetrue and \forwardreferencefalse (a property of the TeX macro language, so not

Re: [NTG-context] debian context updates

2007-01-02 Thread Sanjoy Mahajan
I'm using Ubuntu 6.10, so context_2006.12.27-1_all.deb wouldn't install without a --force-conflicts,overwrite,depends given to dpkg (Ubuntu still uses tetex 3.0). With that caveat, which may explain the buglet I saw, it mostly worked fine. The buglet: The context formats that the package

Re: [NTG-context] [Fwd: [pdftex] pdftex 1.40]

2007-01-02 Thread Sanjoy Mahajan
From the texexec man page: --fast Typeset the document(s) as fast as possible without causing problems. --final Perform a final run without skipping anything. This option is typically used with --fast. So --fast --final could be the pair of switches to add. But I tried an

Re: [NTG-context] debian context updates

2007-01-03 Thread Sanjoy Mahajan
Isn't texlive in ubuntu? Maybe not in 6.10. It is there, but if you've upgraded from 6.06, you start and remain with tetex. But I've just managed to get rid of the tetex packages and replace them with the texlive ones. I installed the 7.04 tex-common package (0.42) by hand , and could then

Re: [NTG-context] engine should be pdftex

2007-01-03 Thread Sanjoy Mahajan
texexec --make --all puts the formats in the subdirectory pdfetex but I think it should be pdftex now. If 'now' means with pdftex 1.40.0, I think you're right. But that would break context with earlier pdftex's. I've made a symlink from /var/lib/texmf/web2c/pdftex to pdfetex and all is okay

Re: [NTG-context] [Fwd: [pdftex] pdftex 1.40]

2007-01-03 Thread Sanjoy Mahajan
which makes be believe that it will not work for normal cases. However, how about adding a switch to texexec, say --draft, which will run the document in draftmode until no more runs are needed, and will then run a final typesetting run without the draftmode. This may speed up the

[NTG-context] staticMPfigure problem with \runMP[TEX]graphicsfalse

2007-01-03 Thread Sanjoy Mahajan
Not sure if the following are new behaviors or are the correct ones but I'm just misunderstanding. The following jjj.tex file doesn't correctly generate and include the static metapost figure unless I set \runMPgraphicstrue and \runMPTEXgraphicstrue in cont-sys.rme and set shell_escape = t. If

Re: [NTG-context] staticMPfigure problem with \runMP[TEX]graphicsfalse

2007-01-04 Thread Sanjoy Mahajan
Taco writes: Hans always runs with all three switches true, so he never has any problems, but Mojca and I also regularly have issues like this. The last of those was the incorrect scaling of sometxt() in \runmpgraphicsfalse reported two or three weeks back. Good to know that it isn't

Re: [NTG-context] Problem using mptopdf with Metapost containing LaTeX

2007-01-04 Thread Sanjoy Mahajan
env variable worked (without the % line): TEX=latex mptopdf yourfile.mp -Sanjoy === Date:03 Jan 2007 16:47:11 GMT From:Sanjoy Mahajan [EMAIL PROTECTED] Subject: Re: Problems using mptopdf To: comp.text.tex I tried to add

Re: [NTG-context] staticMPfigure problem with \runMP[TEX]graphicsfalse

2007-01-04 Thread Sanjoy Mahajan
static graphics were never meant to be used otherwise so they force runMPgraphicstrue Hmm, deja vu a bit -- you may have explained that point to me once before. I made an untested patch an dwill upload a beta later Thanks, I'll be happy to test. Will it require shell_escape = t ? -Sanjoy

Re: [NTG-context] staticMPfigure problem with \runMP[TEX]graphicsfalse

2007-01-04 Thread Sanjoy Mahajan
you can test the beta I used the same test file: \starttext \startstaticMPfigure{fig:ellipse} path p; p := fullcircle scaled 2in yscaled 0.5; label(btex hello etex, origin); draw p; \stopstaticMPfigure \placefigure[right,none]{}{\usestaticMPfigure[fig:ellipse]} \input tufte

Re: [NTG-context] crash with pdftex-1.40

2007-01-04 Thread Sanjoy Mahajan
But this should be enough to reproduce it: \starttext \input \string|echo -n bla \stoptext Breaks here too, using pdftex 1.40.0, context 2006.12.27, Ubuntu i386: *** glibc detected *** pdfetex: free(): invalid next size (fast): 0x082d42f0 *** Running texexec with --verbose says what the

Re: [NTG-context] HZ with latest ConTeXt

2007-01-05 Thread Sanjoy Mahajan
2) As hz is sometimes not obvious when viewed, I check the fonts in the resulting PDF to see if any are extended. Most PDF viewers list the fonts under File/Properties or similar They might not be used with pdftex 1.40, which (from what I gathered reading the NEWS file) can adjust the local

[NTG-context] dvipos outputs scaled points, which confuses context

2007-01-05 Thread Sanjoy Mahajan
To stress-test things and because xdvi renders crisper text than any pdf viewer, I just tried 'texexec --dvi --nobackend notes'. It failed with: (/usr/share/texmf/tex/context/base/sort-lan.tex) (./notes.tuo ! Illegal unit of measure (pt inserted). to be read again -

[NTG-context] wiki: linux installation updates

2007-01-05 Thread Sanjoy Mahajan
I updated the Linux installation pages on the wiki, mostly the Debian one, but also the tetex 3.0 page and I added a short entry for Ubuntu 6.10 (edgy). The Debian page now describes how to install using Norbert's context packages. It describes a system-wide install based on those and the

Re: [NTG-context] wiki: linux installation updates

2007-01-06 Thread Sanjoy Mahajan
Maybe it will be good (for low-end/copy-paste minded users like me) to tell to **update** (and not upgrade) after adding those entries Whoops, fixed. Thanks. and how to add gpg key to apt (that it's was retuned after such a command) Not sure about this one. I've been ignoring the error

Re: [NTG-context] wiki: linux installation updates

2007-01-06 Thread Sanjoy Mahajan
After googling a bit, I've succeed with $ gpg --keyserver subkeys.pgp.net --recv-keys 0x09C5B094 $ gpg --export --armor 0x09C5B094 | sudo apt-key add - 0x09C5B094 was found on an Nobert Preining mail signature. Thanks, that worked. I've added that information to the wiki. nota : $ sudo

Re: [NTG-context] HZ and DVI

2007-01-09 Thread Sanjoy Mahajan
Peter M [EMAIL PROTECTED] writes: The only reason why I still keep asking for dvi, is the good xdvi viewer. I agree. xdvi is what prompted me into trying dvi mode again (and investigating dvipos), because of its excellent anti-aliasing. The only pdf viewer whose rendering quality might be

Re: [NTG-context] ConTeXt 2007.01.12 problem

2007-01-12 Thread Sanjoy Mahajan
Several ! Undefined control sequence. Several \initializenextposition ...dosetpositionpapersize Taco There was a new upload at 6pm, but I have not yet tested if that fixes Taco it. When I upgraded to 2007.01.12 01:02 via the Debian package, I got the same error that others have reported. I just

Re: [NTG-context] HZ and DVI

2007-01-12 Thread Sanjoy Mahajan
Peter M writes: I'll try xpdf: I need something fast and that watches the file. xpdf is fast but it won't watch the file. As far as I know, the only pdf viewer that watches the file, at least on Linux, is gv (ghostscript). If you find another, let me know. As you say, acroread is slow; plus

Re: [NTG-context] ConTeXt 2007.01.12 problem

2007-01-13 Thread Sanjoy Mahajan
comparison PDF (or ps). -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien) Date:Fri, 06 Oct 2006 13:16:20 BST From:Sanjoy Mahajan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Reply-to: [EMAIL PROTECTED] Subject: [contexttest] automatic testing [I added an actual subject line

Re: [NTG-context] HZ and DVI

2007-01-13 Thread Sanjoy Mahajan
on my system, when watching the file, gv issues very often some errors after modification of the pdf-file and that's annoying. Peter, You're right. I guessed it might be reading a half-rewritten PDF file before the new xref table is written (at the end of the file) and getting confused.

Re: [NTG-context] rightframe=on

2007-01-13 Thread Sanjoy Mahajan
[call this test file q.tex] \starttext \framed[corner=14, frame=on, framecolor=darkred, rulethickness=2pt]{\tttf TEST MORE~} \stoptext I don't see any artefacts, but I see the whole frame in the dvi file, and only the right frame and the bottom in the pdf file. Strange... (context source

Re: [NTG-context] rightframe=on

2007-01-13 Thread Sanjoy Mahajan
I haven't tested it, but if the interface hasn't changed, only corner=round|rectangular are allowed. So what is the meaning of this magic number 14? It says which of the many possible combinations of rounded/rectangular corners, on/off frame lines to use. Try this magic snippet from

Re: [NTG-context] rightframe=on

2007-01-13 Thread Sanjoy Mahajan
Willi, The artefacts occur in both versions of Context tested. I don't see those artifacts. I'm using Ubuntu GNU/Linux and xpdf 3.0 as the viewer. I tried two tests: 1. % pdfTeX Version 3.141592-1.40.0 (Web2C 7.5.6) % ConTeXt ver: 2007.01.12 15:56 MKII and I downgraded the pdftex

Re: [NTG-context] HZ and DVI

2007-01-13 Thread Sanjoy Mahajan
As I already wrote: kpdf. Check out evince, if you are using gnome. Ah, just found your msg. What if you still use twm (now almost 20 years)...Old habits die hard. xpdf has the advantage of minimal screen overhead and is agnostic about the window manager/Desktop. Actually I'm not sure what a

Re: [NTG-context] ConTeXt ver: 2007.01.12 15:56 and including PDFs

2007-01-13 Thread Sanjoy Mahajan
Are there any specs for PDF 1.7 ? As of October 2006: http://www.adobe.com/devnet/pdf/pdf_reference.html -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien) ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] rightframe=on

2007-01-13 Thread Sanjoy Mahajan
Wolfgang Werners-Lucchini writes: That's what I see with (Adobe Reader 7.0.8; ConTeXt 2007.01.02 13:44). Is it on windows? It seems -- unless your tests too are on linux -- that windows is the common denominator for showing the artifacts. The linux viewers (whether xpdf, gv, or acroread)

Re: [NTG-context] texexec ruby problem

2007-01-14 Thread Sanjoy Mahajan
I've just installed new ConTeXt (ver: 2006.08.08 21:51) under SuSE 10.1 How did you install it? What was there before? It sounds like the new one isn't visible, since it's date is 2007.01.12 15:56 (or maybe later). Is 2006.08.08 the version that came with SuSE? What does kpsewhich

Re: [NTG-context] Columns page-break problem

2007-01-14 Thread Sanjoy Mahajan
What's wrong? Was something changed? Haven't I installed the ConTeXt properly? I don't think you have. See my response in the texexec ruby problem thread. -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien) ___ ntg-context mailing list

Re: [NTG-context] multiple bibliographies

2007-01-15 Thread Sanjoy Mahajan
= % Example of per-chapter bibliographies and a per-chapter 'Further % reading' section. % % 2007-01-15: % Written by Sanjoy Mahajan [EMAIL PROTECTED] based on the % explanation by Thomas Schmitz ('multiple bibliographies', % ntg-context list, 15 Jan 2007). % % Public domain

Re: [NTG-context] HZ and DVI

2007-01-15 Thread Sanjoy Mahajan
xpdf -remote your_server_name file.pdf your_sever_name is whatever you name it When needed (e.g. *.tex file has chaned) Makefile generates PDF and calls the server to reload it with xpdf -reload -remote your_server_name Thanks, that works! I must have had the syntax wrong before.

Re: [NTG-context] Working with environments and projects

2007-01-17 Thread Sanjoy Mahajan
Jeff Smith [EMAIL PROTECTED] wrote: What I am doing wrong? The setup looks okay to me too. I use a similar setup with no problems. I just posted its source code http://web.mit.edu/18.098/. You might compare the product/project/env files there with what you have. But if you send me off-list a

Re: [NTG-context] Figures protruding into the margin in double-sided document

2007-01-23 Thread Sanjoy Mahajan
One type of figure is in-line with the text and protrudes into the wide margin. I use the following with a single-sided layout, for figures in the right part of the text, bleeding 0.5 inches into the margin (with no captions): \definefloat[bleedfig][figure]

Re: [NTG-context] Problem with overlay

2007-01-26 Thread Sanjoy Mahajan
! Arithmetic overflow. recently read \scaleboxscay In the external pdf files, is a bounding boxes present and correct (try pdfinfo -box file.pdf)? It's just my wild guess, but maybe somewhere the context code is dividing by 0 because a dimension is missing? -Sanjoy `Not all those who wander

Re: [NTG-context] problem with pdftex-1.40.1 and Gentium ligatures

2007-02-02 Thread Sanjoy Mahajan
The -recorder switch of pdftex/web2c (don't know how to use that with texexec) Like so: texexec --passon=-recorder file.tex The --passon feature had lapsed in the transition from perl to ruby texexec, but Hans and Taco fixed it in one of the recent ConTeXt releases. I now use it all the

Re: [NTG-context] Sort bibliography by authors

2007-02-04 Thread Sanjoy Mahajan
Is it possible to sort by the bibliography list by authors? The manual says that sorttype=cite|bib? No, because there is no reasonable way to do alphabetic sorting in TeX. Perhaps I will reveal my own fundamental confusion about bibtex but: What about letting bibtex (the C program) do the

[NTG-context] regression testing: tests that don't compile

2007-02-04 Thread Sanjoy Mahajan
Here are the names of the test files that didn't build with the 2007.01.23 ConTeXt: ERROR [exit code 1] tex/context/base/core-mat.tex/test-001.tex ERROR [exit code 1] tex/context/base/unic-031.tex/test-001.tex ERROR [exit code 5] metapost/context/base/mp-text.mp/test-001.tex ERROR [exit code 5]

Re: [NTG-context] names as url links

2007-02-05 Thread Sanjoy Mahajan
See the Hyperlinks, buttons navigation section at http://wiki.contextgarden.net/Presentations -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] e-mail - link in pdf not correct with dot in e-mail adress

2007-02-09 Thread Sanjoy Mahajan
Hmm, what is your test file? Have a look also at the longer hello-world document at the Wiki http://wiki.contextgarden.net/Hello_world. This example, extracted from there, works here (using ConTeXt version 2007.01.23): \setupinteraction[state=start] \useURL[me][mailto:[EMAIL

Re: [NTG-context] announcement: new texlive rpm

2007-02-09 Thread Sanjoy Mahajan
Peter, there is a new texlive rpm on http://pmrb.free.fr/texlive/ - easy installation: rpmbuild --rebuild --force http://pmrb.free.fr/texlive/texlive.spm Here rpm segfaults using that rebuild command (using rpm 4.4.1 on Ubuntu/i386). I tried to compile the latest version of rpm from source,

Re: [NTG-context] tex live and context

2007-02-22 Thread Sanjoy Mahajan
rpmbuild --rebuild --force http://pmrb.free.fr/texlive/texlive.nosrc.rpm With a not too bad connection to the Internet and enough disk space, this works quite well (no headaches!). and maybe also with a very recent rpm. Sadly, my rpm (v4.4.1 on Ubuntu) segfaults with that command. The bug

Re: [NTG-context] how to use \startformula inside textext(...)?

2007-02-25 Thread Sanjoy Mahajan
draw textext(\startformula \sum_{i=0}^N i^2 \stopformula); I'm always a bit scared of textext, but here's how I do what I think you are trying to do (get limits underneath) using btex..etex: label(btex $\displaystyle{\sum_{i=0}^N i^2}$ etex, origin); Hopefully the same works in textext.

Re: [NTG-context] I can't find the format file `cont-nl.fmt'!

2007-02-26 Thread Sanjoy Mahajan
pdfetex is obsolete, it's pdftex now (for quite some time already); i don't know where knoppix gets its tex from You could try symlinking /etc/texmf/web2c/pdfetex to pdftex or maybe the other way round. That trick worked for me when I was using pdftex 1.30. -Sanjoy `Not all those who

Re: [NTG-context] \sf and bigggg fonts

2007-03-07 Thread Sanjoy Mahajan
And another question: how to make very big fonts (for example: 60pt) in text and mathematical mode? I just want to change the font temporally (and don't touch \setupbodyfont) I've been wrapping the text in \begingroup..\endgroup and changing the bodyfont inside it. For example, to make

Re: [NTG-context] \sf and bigggg fonts

2007-03-07 Thread Sanjoy Mahajan
why not \setuphead [title] [style=\ss\bfd, before={\switchtobodyfont[14.4pt]}, after={\switchtobodyfont[global]}] Because I didn't know about the global option :-) It's cleaner than my method. It's only disadvantage is that the global setting may not be the one in effect just

<    1   2   3   4   5   >