[NTG-context] weird bug updating minimals

2009-01-17 Thread Thomas A. Schmitz
Hi all, Mojca, after Taco resolved one issue with the latest luatex, I was trying to update on my osx-ppc box, and I am encountering a strange bug: when I run the ./first-setup.sh script, the rsync processes fail with this message: MtxRun | using script: ./bin/mtx-update.lua dyld:

Re: [NTG-context] weird bug updating minimals

2009-01-17 Thread Thomas A. Schmitz
On Jan 17, 2009, at 6:20 PM, Mojca Miklavec wrote: Hmmm ... libiconv? Is that comming from luatex? The only dependencies listed on this computer seem to be: Well, good question... It looks like this happens when the script tries to run rsync, but I have no reason why this should involve

Re: [NTG-context] alpha

2009-01-07 Thread Thomas A. Schmitz
On Jan 7, 2009, at 12:20 AM, Hans Hagen wrote: i did that already Hans OK, let the fun begin: the new alpha is a bit picky about fonts. A run with Microsoft's TimesNewRoman font (ttf) doesn't produce a pdf. Compilation doesn't stop; in the log, these are the last lines: load otf |

Re: [NTG-context] alpha

2009-01-06 Thread Thomas A. Schmitz
On Jan 6, 2009, at 2:27 PM, Hans Hagen wrote: Hi Hans, I just tried the new alpha with luatex snapshot 0.31.3 on linux. My typescripts break with this message: LuaTeX error main ctx instance:1: attempt to call field 'install_feature' (a nil value) stack traceback: main ctx instance:1:

Re: [NTG-context] alpha

2009-01-06 Thread Thomas A. Schmitz
On Jan 6, 2009, at 3:33 PM, Hans Hagen wrote: Yes, luatools --generate followed by luatools --ini --compile cont-en ah, i see, that command is gone; just don't install the feature but use it OK, thanks. this solved the problem; my document compiled now. Will do more tests in the next

Re: [NTG-context] question about MPpositiongraphic

2009-01-04 Thread Thomas A. Schmitz
On Jan 3, 2009, at 3:26 PM, Wolfgang Schuster wrote: \newcount\synizesisnumber \define[1]\synizesis {\advance\synizesisnumber\plusone \setMPpositiongraphic{POS-\number\synizesisnumber}{placesynizesis} \hpos{POS-\number\synizesisnumber}{#1}} Wolfgang Wow - so simple, and so efficient!

[NTG-context] question about MPpositiongraphic

2009-01-03 Thread Thomas A. Schmitz
Hi all, first, best wishes for the New Year to all of you - may 2009 bring peace and fortune and world domination for ConTeXt! And my little question - trivial for the resident experts, I guess, but I can't find a solution: I want to write a little macro that will allow me to place a

Re: [NTG-context] Greek module problem

2008-12-20 Thread Thomas A. Schmitz
On Dec 20, 2008, at 12:43 AM, Wolfgang Schuster wrote: Am 20.12.2008 um 00:31 schrieb Mojca Miklavec: On Fri, Dec 19, 2008 at 11:57 PM, Thomas A. Schmitz wrote: Mojca, I'm a bit slow tonight: what's weird about these files? I have never seen [ and in map files before, but most probably

Re: [NTG-context] Greek module problem

2008-12-19 Thread Thomas A. Schmitz
On Dec 19, 2008, at 10:45 PM, Mojca Miklavec wrote: On Fri, Dec 19, 2008 at 10:26 PM, Alan Bowen wrote: Hi, Mojca, The key line in my preamble is \usemodule[ancientgreek] [font=Alkaios,scale=1,altfont=GreekOxoniensis,altscale=0.9] I get the same error message no matter what Greek font I call

Re: [NTG-context] File fails to compile

2008-11-30 Thread Thomas A. Schmitz
On Nov 30, 2008, at 5:26 PM, Charles Doherty wrote: Dear all, I made a poster about two months ago. Today I cloned it to make a different one. I am using MacTex 2008 distribution and XeConTeXt . I am using fonts such as Hoefler, Gentium, Junicode etc. The original file and the new one

Re: [NTG-context] The rules of Chinese breaking lines don't work

2008-11-30 Thread Thomas A. Schmitz
On Fri, Nov 28, 2008 at 9:03 PM, Khaled Hosny [EMAIL PROTECTED] wrote: On Fri, Nov 28, 2008 at 11:54:50AM +, Yue Wang wrote: Hi, Hans: This is a serious bug, and actually this is why chinese is not working in LiYanrui's mail. Font features don't work in typescripts, but still

Re: [NTG-context] The rules of Chinese breaking lines don't work

2008-11-30 Thread Thomas A. Schmitz
On Dec 1, 2008, at 3:28 AM, Yue Wang wrote: no, it's a bug of ConTeXt. Hans had already fixed that. (Context version hasn't changed, but the font-ini.mkiv changed in the TRUNK. with the new font-ini.mkiv from Hans, the problem is solved. remember: ConTeXt version is only the number

Re: [NTG-context] a question about ConTeXt + AUCTeX

2008-11-28 Thread Thomas A. Schmitz
' command. 2. Can I bind these to certain shortcut keys? Thanks alot Mohamed I'm not sure what your question is. Have you tried the solution I've given? Is it working? If you use the customize command, this will write to your .emacs file. Thomas Thomas A. Schmitz wrote: I don't use

[NTG-context] xml parsing

2008-11-28 Thread Thomas A. Schmitz
Hi all, Hans, this is a terribly inaccurate bug report, and I apologize for its form, but it's something you and other people might want to look at. Or maybe I should change my files, I don't know. Here comes: SUMMARY The new mkiv xml parser sometimes eats parts of my xml files when they

Re: [NTG-context] xml parsing

2008-11-28 Thread Thomas A. Schmitz
On Nov 28, 2008, at 10:23 AM, Hans Hagen wrote: in such cases you run into lookahead of macros; adding a \relax helps \startxmlsetups xml:sln \sln\relax \stopxmlsetups of so; let me know if this solves the problem Hi Hans, thanks for answering this inaccurate report. No, adding

Re: [NTG-context] xml parsing

2008-11-28 Thread Thomas A. Schmitz
On Nov 28, 2008, at 10:22 AM, Wolfgang Schuster wrote: I don't if this will help you but you can try the following three changes. 1. Change the defintion of \sln \define\sln{\startcolor[red][\nextSlideNumber]\stopcolor} 2. Put a \relax after the xml setup for \sln \startxmlsetups

Re: [NTG-context] patterns for German in mkiv

2008-11-24 Thread Thomas A. Schmitz
On Nov 24, 2008, at 2:39 PM, Taco Hoekwater wrote: I wouldn't say it was elementary, but it is fixed now. Sometime later this week I will create a 0.30.3 (as this is a grave bug), but if you want to verify: the fix is in the source repository (#1576-1578). Best wishes, Taco Hi Taco, of

Re: [NTG-context] patterns for German in mkiv

2008-11-24 Thread Thomas A. Schmitz
On Nov 24, 2008, at 3:11 PM, Taco Hoekwater wrote: It looks like your checkout is not complete (locally editted files?), line 25 of libs/lua51/Makefile should now be a commented-out line: #COCOCFLAGS= -DCOCO_USE_SETJMP Best wishes, Taco Strange. I deleted the Makefile and let svn

[NTG-context] patterns for German in mkiv

2008-11-22 Thread Thomas A. Schmitz
Hi all, something fishy is going on with hyphenation patterns for German in mkiv. Here's a minimal test file: \starttext {\de \hyphenatedword{sich}} \stoptext please compile with mkii and mkiv and see the difference. The word should of course not be hyphenated. All best Thomas

Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Thomas A. Schmitz
On Nov 22, 2008, at 12:29 PM, Hans Hagen wrote: Thomas A. Schmitz wrote: Hi all, something fishy is going on with hyphenation patterns for German in mkiv. Here's a minimal test file: \starttext {\de \hyphenatedword{sich}} \stoptext please compile with mkii and mkiv and see

Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Thomas A. Schmitz
On Nov 22, 2008, at 1:22 PM, Mojca Miklavec wrote: PS: in LaTeX there is indeed a difference whether one uses pdfTeX or XeTeX/LuaTeX since the two engines load differente patterns, but in ConTeXt I see no reason for a different behaviour. Hmm, that's a nice understatement :-) Fact is that

Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Thomas A. Schmitz
On Nov 22, 2008, at 2:32 PM, Hans Hagen wrote: what does xetex, pdftex, luatex report for: {\de \thelefthyphenmin blabla} \the\lefthyphenmin is 2 in all engines ___ If your question is of interest to others as

Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Thomas A. Schmitz
On Nov 22, 2008, at 4:45 PM, Mojca Miklavec wrote: My fear is that there could be some tiny difference in that reimplementation of hyphenation algorithm. Most words hyphenate properly and equally in both engines. This is the first counter-example that I have seen. But that might be something

Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Thomas A. Schmitz
On Nov 22, 2008, at 6:56 PM, Taco Hoekwater wrote: This must be a bug in luatex, hyphenation is supposed to be identical but the whole algorithm is redone, and obviously not flawlessly. It seems there is (at least) a problem with all patterns that are supposed to end a word. For example,

Re: [NTG-context] Fonts with XeTeX

2008-11-17 Thread Thomas A. Schmitz
On Nov 17, 2008, at 9:39 PM, Bart C. Wise wrote: I am having difficulties writing a typescript for the Caslon font that's on my system. The following works: \definetypeface[Caslon-Bold][rm][Xserif][CaslonOldFaceBT-Heavy]

Re: [NTG-context] ansi codes

2008-11-14 Thread Thomas A. Schmitz
On Oct 1, 2008, at 10:00 PM, Hans Hagen wrote: lesser geeks loom in s-fnt-10.tex -) Hans Hi Hans, the file s-fnt-10.lua needs to be added to the distribution. Best Thomas function fonts.otf.show_all() local tfmdata = fonts.tfm.id[font.current()] if tfmdata and tfmdata.shared

Re: [NTG-context] \definecharacter

2008-11-13 Thread Thomas A. Schmitz
On Nov 13, 2008, at 8:43 AM, Hans Hagen wrote: Thomas A. Schmitz wrote: On Nov 11, 2008, at 11:58 PM, Wolfgang Schuster wrote: from enco-ini.mkiv \def\definecharacter#1 #2 % {} You could use \definecommand. Wolfgang Wolfgang, thanks for pointing me to this. What is the reason

Re: [NTG-context] \definecharacter

2008-11-12 Thread Thomas A. Schmitz
On Nov 11, 2008, at 11:58 PM, Wolfgang Schuster wrote: from enco-ini.mkiv \def\definecharacter#1 #2 % {} You could use \definecommand. Wolfgang Wolfgang, thanks for pointing me to this. What is the reason of this unfriendly behavior? I can understand if the \definecharacter command

[NTG-context] \definecharacter

2008-11-11 Thread Thomas A. Schmitz
Hi all, is the command \definecharacter deprecated in mkiv? Some of my environments stopped working. Minimal example: %\definecharacter mytest \char00F8 \define\mytest{\getglyph{name:lmroman10book}{\char00F8}} \starttext Hello w\mytest rld! \stoptext I expected lines 1 and 2 to work, but

[NTG-context] small problem with minimals

2008-11-10 Thread Thomas A. Schmitz
Hi all, esp. Mojca, I have encountered a small problem with the minimals: some metafun stuff that Aditya and I use in our presentation module stopped working recently (sorry, I can't tell when exactly). The error message is !luaTeX error (file lm-rmtt.enc): cannot find encoding file for

Re: [NTG-context] small problem with minimals

2008-11-10 Thread Thomas A. Schmitz
On Nov 10, 2008, at 5:16 PM, Hans Hagen wrote: it's probably the fallback font ... how is it used? Hans In a metafun label (which I can't replace with \sometxt): label.top(decimal value,origin) ; Thomas ___ If

[NTG-context] latest beta

2008-11-06 Thread Thomas A. Schmitz
Hi all, Hi Hans, has anything changed in xml processing in the latest beta? My beautiful (!) collection of xml entities has stopped working. In my environment files, I have stuff such as \defineXMLentity[textellipsis]{\textellipsis} but only get the typeset textellipsis in my pdfs when I

Re: [NTG-context] latest beta

2008-11-06 Thread Thomas A. Schmitz
On Nov 6, 2008, at 7:46 PM, Hans Hagen wrote: Thomas A. Schmitz wrote: On Nov 6, 2008, at 1:26 PM, Hans Hagen wrote: so, how about a test file ... Yes we can! Here comes Somehow I could ... new beta ... Yes, this looks much better - my entities are processed again! Thanks Hans

Re: [NTG-context] minimals and greek font

2008-10-30 Thread Thomas A. Schmitz
On Oct 29, 2008, at 3:12 PM, Alan BRASLAU wrote: I forgot to add the error message: ... fonts : using map file: cbgreek luaTeX warning (file cbgreek.map): cannot open font map file ... Alan On Wednesday 29 October 2008 15:05:41 Alan BRASLAU wrote: Hello, What needs to be

Re: [NTG-context] minimals and greek font

2008-10-30 Thread Thomas A. Schmitz
On Oct 30, 2008, at 4:27 PM, luigi scarso wrote: [a bit OT] Do you know some fonts Arial/Helvetica like that are good for Greek ? I have some samples under mkii, and I would like to test them under mkiv minimals. Hi Luigi, you're looking for sans fonts, right? No, I don't really have any

Re: [NTG-context] new beta

2008-10-24 Thread Thomas A. Schmitz
On Oct 24, 2008, at 10:03 AM, Hans Hagen wrote: That doesn't solve the problem. The font feature mytest is still applied to both defined typefaces (instead of only typeface One). did you remove the [features=mytest] in the synonym mapping? Oops - no, I didn't! Now it works, thanks a lot!

[NTG-context] bug in latest: page backgrounds

2008-10-23 Thread Thomas A. Schmitz
Hi all, for some reason, the latest beta defers the application of a page background to the second page. Example: \setupcolors[state=start] \startuniqueMPgraphic{fill} StartPage ; fill Page withcolor green ; StopPage ; \stopuniqueMPgraphic \defineoverlay [testfill]

Re: [NTG-context] bug in latest: page backgrounds

2008-10-23 Thread Thomas A. Schmitz
On Oct 23, 2008, at 3:31 PM, Taco Hoekwater wrote: Thomas A. Schmitz wrote: Hi all, for some reason, the latest beta defers the application of a page background to the second page. Example: This seems to be a duplicate of the other \uniqueMPgraphic problem. Best wishes, Taco Ah OK

Re: [NTG-context] new beta

2008-10-23 Thread Thomas A. Schmitz
On Oct 23, 2008, at 5:48 PM, Hans Hagen wrote: just move the definition one level up \starttypescript [One] \definetypeface [One] [rm] [serif] [one] [default] [features=mytest] \stoptypescript That doesn't solve the problem. The font feature mytest is still applied to both defined

Re: [NTG-context] Vertically centered title page

2008-10-21 Thread Thomas A. Schmitz
On Oct 21, 2008, at 10:22 PM, Flavien Lambert wrote: Dear all, I am trying to build a presentation with specific requirements. I would like to have the title of the presentation on the middle (both vertical and horizontal) of the first page. I tried, on one hand, two \vfill, and, on

Re: [NTG-context] luatex 0.30.1

2008-10-20 Thread Thomas A. Schmitz
On Oct 19, 2008, at 9:41 AM, luigi scarso wrote: the Wolfgang's example. (and also my xml catalog ) If you have a small example , I will check it too . I'm using rev 1565 and context version: 2008.10.17 10:41, and the Wolfgang's example still fails on my box (OS X 10.5). There's no error

Re: [NTG-context] luatex 0.30.1

2008-10-20 Thread Thomas A. Schmitz
On Oct 20, 2008, at 7:25 PM, luigi scarso wrote: These are my wolfgang tests under linux ubuntu with new minimals. This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown Yes, thank you Luigi - xml processing works now on OS X as well. And thanks Taco for looking into this! All

Re: [NTG-context] luatex 0.30.1

2008-10-18 Thread Thomas A. Schmitz
On Oct 17, 2008, at 11:58 PM, luigi scarso wrote: now it works ok with rev 1564 -- luigi What is it? Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] new beta

2008-10-17 Thread Thomas A. Schmitz
On Oct 17, 2008, at 11:15 AM, Hans Hagen wrote: Hi, this time a beta that is more beta than usual (mkiv) - it needs a recent luatex (no surprise) - there are some speedups, but it might break things (should not happen) - the memory footprint should be a bit smaller (esp fonts) - font

[NTG-context] fallbacks for characters

2008-10-16 Thread Thomas A. Schmitz
Hi all, the answer to this one may be completely obvious, but I haven't found anything: I know we can define fallback fonts in mkiv, but is it possible to define fallbacks for single characters. Let's take 0x0113, emacron. Is it possible to define if character is present in current font,

Re: [NTG-context] fallbacks for characters

2008-10-16 Thread Thomas A. Schmitz
On Oct 16, 2008, at 11:26 AM, Wolfgang Schuster wrote: On Thu, Oct 16, 2008 at 9:47 AM, Thomas A. Schmitz [EMAIL PROTECTED] wrote: Hi all, the answer to this one may be completely obvious, but I haven't found anything: I know we can define fallback fonts in mkiv, but is it possible

Re: [NTG-context] luatex 0.30.1

2008-10-15 Thread Thomas A. Schmitz
On Oct 14, 2008, at 11:18 PM, Hans Hagen wrote: Thomas A. Schmitz wrote: Hi Taco, is it possible that luatex 0.30.1 is a little bit broken? When I try to process an xml file with it and the latest beta, I get no pdf output (but also no errors; it simply doesn't process the contents

[NTG-context] luatex 0.30.1

2008-10-14 Thread Thomas A. Schmitz
Hi Taco, is it possible that luatex 0.30.1 is a little bit broken? When I try to process an xml file with it and the latest beta, I get no pdf output (but also no errors; it simply doesn't process the contents). Downgrading to luatex 0.30.0 solves this problem; I get the expected output.

Re: [NTG-context] latest beta (again)

2008-10-09 Thread Thomas A. Schmitz
On Oct 9, 2008, at 11:22 AM, Hans Hagen wrote: hard to test without test files and fonts -) Yes, I can see that :-) Your crystal ball is broken, then? you can try \ctxlua{fonts.trace=true} and see what is handled Well, that kind of confirms my suspicion. I attach the relevant stuff

[NTG-context] latest beta (again)

2008-10-09 Thread Thomas A. Schmitz
Hans, I still have some problems with my fonts in the latest beta. Maybe it has to do with the latest optimizations. I'm just wondering: in my Greek typescripts, I define several fontfeatures and connect them with featurefiles, like so (just an example, the list is longer):

[NTG-context] latest beta

2008-10-08 Thread Thomas A. Schmitz
Hi Hans, the latest beta has a problem with font handling: in my Greek output, the letters sigma and sigmaalt don't work anymore; they're replaced either by some undefined character (box with letter X in it) or by empty spaces. I tried to find out where something has changed, but haven't

[NTG-context] more bad news about latest beta

2008-10-08 Thread Thomas A. Schmitz
OK, I have more bad (for me) news about the latest beta: it simply refuses to play with some of my fonts; most importantly for me with the Gentium fonts. Whenever I try to compile something with Gentium in it, I get the error message !luaTeX error (file

Re: [NTG-context] linux minimals

2008-09-29 Thread Thomas A. Schmitz
On Sep 29, 2008, at 5:50 PM, Taco Hoekwater wrote: Yes, it is because 0.29.0 is somewhat broken (0.30.0 tomorrow). Best wishes, Taco Ah OK! Thanks Taco, good luck with the next build! Thomas ___ If your

Re: [NTG-context] how to color italics?

2008-09-22 Thread Thomas A. Schmitz
On Sep 22, 2008, at 1:24 PM, Steffen Wolfrum wrote: It should be something like \Colorit{this} example: \def\Colorit{\it\color[magenta]} But this above never closes the italics, while ... \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} ... gives an error. Someone can help?

Re: [NTG-context] how to color italics?

2008-09-22 Thread Thomas A. Schmitz
On Sep 22, 2008, at 1:58 PM, Steffen Wolfrum wrote: ... same problem as in Taco's proposal: the \it never stops st. Then add grouping \define[1]\Colorit% {\color[magenta]{\bgroup\it #1\egroup}} ___ If your

Re: [NTG-context] The most Tex friendly distribution?

2008-09-18 Thread Thomas A. Schmitz
On Sep 18, 2008, at 7:30 AM, Peter Münster wrote: You're right, but I've to protect suse a bit: this was only an issue with a very new MKIV (new logic how to use TEXINPUTS), and suse could really not know about that. TEXINPUTS was quite useful, because every user could put his own

Re: [NTG-context] The problem of updating context manually using cont-tmf.zip

2008-09-17 Thread Thomas A. Schmitz
On Sep 17, 2008, at 8:49 AM, Jianning Dong wrote: Hello everyone. I'm using TeXLive2008, and I have just updated my ConTeXt for Chinese supporting using the file downloaded from http://mirror.contextgarden.net/context/current/cont-tmf.zip. I just unzipped it into texmf-local and execute

Re: [NTG-context] The problem of updating context manually using cont-tmf.zip

2008-09-17 Thread Thomas A. Schmitz
On Sep 17, 2008, at 9:20 AM, Jianning Dong wrote: Here is the output: kpsewhich --expand-var='$TEXMF' {/home/ben/.texlive2008/texmf-config,/home/ben/.texlive2008/texmf- var,/home/ben/texmf,!!/usr/local/texlive/2008/texmf-config,!!/usr/

Re: [NTG-context] Type-setting filenames

2008-09-17 Thread Thomas A. Schmitz
On Sep 17, 2008, at 4:20 PM, [EMAIL PROTECTED] wrote: I am using \filename to type-set filenames. Some of these are very long (greater than 30 characters) and overhang the right hand margin, sometimes even disappearing off the edge of the page. The first line break is just before the

Re: [NTG-context] Luatex fails to load a font

2008-09-16 Thread Thomas A. Schmitz
On Sep 16, 2008, at 2:30 PM, holzminister wrote: Hi! Unfortunately that did nothing helpful. I ran first-setup.sh additionally, but that didn't help either. Regards, Eyke So you're using the minimals... 1. Where exactly is TypoOrnaments.ttf? 2. output of luatools TypoOrnaments.ttf

Re: [NTG-context] The most Tex friendly distribution?

2008-09-15 Thread Thomas A. Schmitz
On Sep 15, 2008, at 7:31 PM, Matija Šuklje wrote: Dne ponedeljek 15. septembra 2008 je Martin Schröder napisal(a): 2008/9/15 Armando Martins [EMAIL PROTECTED]: Any idea about the most Tex-friendly Linux distribution, please? Debian. The maintainer (Norbert Preining) actually visits TeX

Re: [NTG-context] \cite command (bib-module)

2008-09-12 Thread Thomas A. Schmitz
On Sep 12, 2008, at 8:25 AM, Taco Hoekwater wrote: Thomas A. Schmitz wrote: I had a quick look at the source, and it doesn't look like you can have three [] arguments after \cite. So you can't have \cite[STYLE] [EXTRAS][KEY], But you can do: \cite[KEY][alternative=STYLE,extras=EXTRAS

Re: [NTG-context] fitting a picture to the available space

2008-09-12 Thread Thomas A. Schmitz
On Sep 12, 2008, at 9:14 AM, Wolfgang Schuster wrote: You should close the box before you want to get it's dimensions. :-) That seems like a reasonable suggestion... I had been copy-pasting and adapting my code. \unprotect \def\bf{bf} \presetlocalframed[\bf]

Re: [NTG-context] Can we make font loading much faster?

2008-09-12 Thread Thomas A. Schmitz
On Sep 12, 2008, at 10:15 PM, Hans Hagen wrote: (4) at some point (and there are already a few areas where this si true) luatex/mkiv will be faster than a traditional tex engine where all happens in macros (or is hadcodes) Just a very short remark: I'm testing my presentation stuff

Re: [NTG-context] ntg-context Digest, Vol 51, Issue 40

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 7:21 AM, Goebel, Juergen wrote: ACK. Accustomed to LaTeX this handling had the feeling of TeX, but of course it isn't. Nevertheless I'm afraid I'm going to have a hard time to learn this. The next problem(s) are already in the pipeline. Juergen Of course all of this

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 9:28 AM, Hans Hagen wrote: \starttext \framed[width=5cm,height4cm]{\externalfigure[mill.png] [maxwidth=3cm,maxheight=4cm,width=10cm]} \stoptext seems to work Ah of course! I could set the width to an absurdly high number and so make sure that it will always reach

Re: [NTG-context] use of the \cite command (bib-module)

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 12:19 PM, Martin Hoher wrote: Hello, concerning the bib-module and the \cite command I've got two questions: (1) The output in the text of the document should look like this: Goldstein (2003:95). The name of the author should be located on the outside

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 10:04 AM, Thomas A. Schmitz wrote: On Sep 11, 2008, at 9:28 AM, Hans Hagen wrote: \starttext \framed[width=5cm,height4cm]{\externalfigure[mill.png] [maxwidth=3cm,maxheight=4cm,width=10cm]} \stoptext seems to work Ah of course! I could set the width to an absurdly

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 4:01 PM, Peter Rolf wrote: Hi Thomas, I tried the above solution for the creation of figure libraries a few hours ago... with the same result. Using 'height=10cm' instead of 'width=10cm' should work in this case. At least this workaround gives the right results for my

Re: [NTG-context] \cite command (bib-module)

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 5:01 PM, Martin Hoher wrote: Thank you for your answer. The first example works. The result is: Goldstein (2003) but unfortunately it is impossible to combine it with the [extras={:95}] option to get the page number behind the citation. If you type \cite

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 4:13 PM, Wolfgang Schuster wrote: On Thu, Sep 11, 2008 at 3:28 PM, Thomas A. Schmitz [EMAIL PROTECTED] wrote: On Sep 11, 2008, at 10:04 AM, Thomas A. Schmitz wrote: On Sep 11, 2008, at 9:28 AM, Hans Hagen wrote: \starttext \framed[width=5cm,height4cm

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 6:20 PM, Thomas A. Schmitz wrote: \starttext \start \setbox\scratchbox\vbox{\externalfigure[mill]} \dimen0=\wd\scratchbox \dimen2=\ht\scratchbox \framed[frame=on,strut=no,width=8cm,height=2cm] {\dimen1=\hsize \divide\dimen1 by \dimen0 \dimen3=\vsize \divide

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 7:59 PM, Thomas A. Schmitz wrote: On Sep 11, 2008, at 6:20 PM, Thomas A. Schmitz wrote: \starttext \start \setbox\scratchbox\vbox{\externalfigure[mill]} \dimen0=\wd\scratchbox \dimen2=\ht\scratchbox \framed[frame=on,strut=no,width=8cm,height=2cm] {\dimen1=\hsize

Re: [NTG-context] defining (new) macros with optional arguments

2008-09-10 Thread Thomas A. Schmitz
On Sep 10, 2008, at 11:54 AM, Goebel, Juergen wrote: Hi, Does something like \newcommand exist in ConTeXt? My questions aims especially at the optional argument with a predefined value. So, how do I realize \newcommand{\test}[2][A]{foo} with ConTeXt. In the fine manual I found an index

Re: [NTG-context] ifdim ... or ... else ...

2008-09-10 Thread Thomas A. Schmitz
On Sep 10, 2008, at 1:49 PM, Steffen Wolfrum wrote: Hi, I'd like to change the phrase if lastskip equals \EinsSignal set vskip to 0pt else ... to if lastskip equals \EinsSignal set vskip to 0pt else if lastskip equals \\ZweiSignal set vskip to -2pt else ... in the following code

Re: [NTG-context] ntg-context Digest, Vol 51, Issue 39

2008-09-10 Thread Thomas A. Schmitz
On Sep 10, 2008, at 3:21 PM, Goebel, Juergen wrote: Yes, it does. Although I must admit, that this 'handling' might be an advantage of LaTeX. I never wanted to learn TeX, but maybe now I have to (at least to some extent). ??? I have no idea what you want to say here. Thomas

Re: [NTG-context] project too large??

2008-09-10 Thread Thomas A. Schmitz
On Sep 10, 2008, at 9:41 PM, Steffen Wolfrum wrote: ... ok fine again. I just increased the weak settings by ten: hash_extra = 50 % 5 pool_size.context= 2000 % 200 But I assume the fact that these variables have predefined values indicates that they shouldn't be

[NTG-context] fitting a picture to the available space

2008-09-10 Thread Thomas A. Schmitz
Hi guys, I'm pulling my hair out. I'm trying to set up an automatism to fit pictures to the available space on a slide. I need to consider three parameters: 1. If the user supplies a value for width= or height= , use this value (captured in a macro); 2. respect the maxwidth and maxheight

Re: [NTG-context] sometxt in mkiv

2008-09-08 Thread Thomas A. Schmitz
On Sep 7, 2008, at 9:42 PM, Mojca Miklavec wrote: Honestly, I don't think that we need this exact functionality. In mkiv textext works perfectly well to achieve the same goal, you don't really need \sometxt or \TeXtext. The only question is: do we care about backward compatibility? I can

Re: [NTG-context] sometxt in mkiv

2008-09-08 Thread Thomas A. Schmitz
On Sep 8, 2008, at 11:26 AM, Hans Hagen wrote: indeed; this is a side effect of xetex being opentype and mp only able to deal with 8 bit fonts; in mkiv mp never sees any text (not een the btex .. etex which is replaced by by textext before the mp code is passed to mp); that's why in mkiv

[NTG-context] sometxt in mkiv

2008-09-07 Thread Thomas A. Schmitz
Hi all, I was just wondering if this is a bug or if it's something that still needs to be implemented: the example on p. 10 of Mojca's sometxt MyWay works in mkii, yet in mkiv, it doesn't: \starttext \startTeXtexts \dorecurse{12}{\TeXtext{\recurselevel}{\recurselevel}} \stopTeXtexts

[NTG-context] sometxt in mkiv

2008-09-07 Thread Thomas A . Schmitz
I think this message mysteriously disappeared yesterday (at least I didn;t see it); if you've seen it before, please excuse the double post! Hi all, I was just wondering if this is a bug or if it's something that still needs to be implemented: the example on p. 10 of Mojca's sometxt MyWay

Re: [NTG-context] system macros/doquadrupleemtpy

2008-09-04 Thread Thomas A. Schmitz
PM, Aditya Mahajan wrote: On Wed, 3 Sep 2008, Thomas A. Schmitz wrote: Hi all, I'm trying to define a macro \Command which can either have four or five arguments. If it has five, I want to define them as \Command1[#1][#2][#3][#4]{#5} if it has four, as \Command2[#1][#2][#3]{4#} I

Re: [NTG-context] system macros/doquadrupleemtpy

2008-09-04 Thread Thomas A. Schmitz
On Sep 4, 2008, at 8:45 AM, Wolfgang Schuster wrote: \def\Commanda {\doquadrupleempty\doCommanda} \def\doCommanda[#1][#2][#3][#4]% {\iffourthargument \def\next{\doCommandafive[#1][#2][#3][#4]}% \else \def\next{\doCommandafour[#1][#2][#3]}% \fi\next}

[NTG-context] system macros/doquadrupleemtpy

2008-09-03 Thread Thomas A. Schmitz
Hi all, I'm trying to define a macro \Command which can either have four or five arguments. If it has five, I want to define them as \Command1[#1][#2][#3][#4]{#5} if it has four, as \Command2[#1][#2][#3]{4#} I thought this would be the way to go: \def\Command{%

Re: [NTG-context] error message query

2008-09-03 Thread Thomas A. Schmitz
On Sep 3, 2008, at 9:48 PM, Alan Bowen wrote: It appears that the problem is my definition \def\ {|~|} Though this definition works in a simple test file, it apparently conflicts with something in my environment file and produces the error message reported previously. So, is there a

Re: [NTG-context] dimensions

2008-09-02 Thread Thomas A. Schmitz
On Sep 2, 2008, at 12:15 PM, Alan Stone wrote: Hi, Is there a font dependant dimension, similar to 1em = width of an M, but in height ? Best, Alan Please spend some of your precious time on a reference. http://eijkhout.net/texbytopic/texbytopic.html You want chapter 4. Thomas

[NTG-context] images as background

2008-09-02 Thread Thomas A. Schmitz
Hi all, for a presentation, I would like to have a series of images as backgrounds for my slides, and I want to use them in a randomized order. The images are named 1.jpg through 20.jpg. So I was thinking of using this code:

Re: [NTG-context] new beta

2008-09-02 Thread Thomas A. Schmitz
On Sep 2, 2008, at 8:58 PM, Hans Hagen wrote: there's a new beta with a handful of patches / extensions (as mentioned on the list) Hi Hans, my problem with \sometxt appears to be solved; I get properly aligned labels again. Thanks a million! Thomas

Re: [NTG-context] images as background

2008-09-02 Thread Thomas A. Schmitz
On Sep 2, 2008, at 9:43 PM, Thomas A. Schmitz wrote: Hi all, for a presentation, I would like to have a series of images as backgrounds for my slides, and I want to use them in a randomized order. The images are named 1.jpg through 20.jpg. So I was thinking of using this code

Re: [NTG-context] Happy ConTeXt Community Day :)

2008-08-31 Thread Thomas A. Schmitz
On Aug 31, 2008, at 3:35 PM, Mojca Miklavec wrote: Patrick, alles gutes zum Geburtstag! Taco, van harte gefeliciteerd met je verjaardag! M. Almost too late, but technically, it still is your birthday - Taco, Patrick, best wishes from me too! Thomas

Re: [NTG-context] passing dimensions to metapost

2008-08-28 Thread Thomas A. Schmitz
On Aug 28, 2008, at 9:45 AM, Hans Hagen wrote: Hans, thanks a lot for your reply. Amazing - the lua code is so simple that even I can understand it! I'm certain to use it later; for the time being, I want to remain compatible for mkii and XeTeX as well. \startluacode document.mymodule =

Re: [NTG-context] Padding in natural tables

2008-08-28 Thread Thomas A. Schmitz
On Aug 28, 2008, at 5:04 PM, B. Tommy Jensen wrote: Sorry for polluting the mailing list with my question - I just discovered an offset property in the mail list archive that seems to do what I want. Glad you found what you were looking for. One little hint about pollution: don't take an

Re: [NTG-context] Feature request: \newitemize or something like this

2008-08-27 Thread Thomas A. Schmitz
On Aug 27, 2008, at 10:12 AM, Wolfgang Schuster wrote: Take a look at page 20. http://wolfgang.schuster.googlepages.com/erlangen.pdf Wolfgang Hey, that's an excellent presentation. When/where did you give it? Thomas

[NTG-context] passing dimensions to metapost

2008-08-27 Thread Thomas A. Schmitz
Hi all, cleaning up the code in my module, I run into a very interesting problem. I want to pass a user-defined value to Metapost. Until now, the value scale had to be numeric, and I used it like this: draw fullcircle scaled \MPvar{scale}mm and Metapost was happy, and I was too. Now Aditya

Re: [NTG-context] Font questions once again...

2008-08-25 Thread Thomas A. Schmitz
On Aug 25, 2008, at 10:46 PM, Marcin Borkowski wrote: * Is TeX Gyre support already working in MkIV? Yes * The page about Minimals on the wiki mentions LM, Antykwa Torunska, Iwona, Kurier, TeX Gyre, ams. Does this means they are available there? (And what about Antykwa

Re: [NTG-context] Adobe ArnoPro in mkiv

2008-08-24 Thread Thomas A. Schmitz
On Aug 20, 2008, at 8:59 PM, [EMAIL PROTECTED] wrote: Thomas A. Schmitz thomas.schmitz at uni-bonn.de writes: Hi all, I'm trying to use the Adobe ArnoPro font (just testing if it will work with ConTeXt). The font does work with ConTeXt/XeTeX, but not in mkiv. When I try to compile

Re: [NTG-context] Font problems with latest minimals on Linux

2008-08-14 Thread Thomas A. Schmitz
On Aug 14, 2008, at 10:48 AM, Hans Hagen wrote: the order is just one factor. what actually happens is that there is a compensation for buggy font names (as happens often in afm files) so in practice one entry might become three entries; taco noticed that one of the fallbacks create

Re: [NTG-context] Lastest Build on TeXlive 2008 and MikTeX 2.7

2008-08-14 Thread Thomas A. Schmitz
On Aug 14, 2008, at 12:44 PM, [EMAIL PROTECTED] wrote: Typesetting the bare minimal file works, but lua or xetex doesn't; You need to make the formats for these as well: texexec --make --all --xtx (and run texhash again after creating the formats; when you think about it, it'll make sense)

Re: [NTG-context] When I don't want quotes

2008-08-13 Thread Thomas A. Schmitz
On Aug 13, 2008, at 9:29 AM, Taco Hoekwater wrote: That leaves just \tt as option, really. None of the 'normal' encodings in mkii have a straight quote. texnansi does: grep quotesingle /usr/local/texlive/texmf-local/tex/context/base/enco- ans.tex \definecharacter quotesingle 129

<    6   7   8   9   10   11   12   13   14   15   >