[NTG-context] Problems with current experimental branch

2011-03-22 Thread Andreas Harder
Hi Hans, I don't know it its legible to post problems with the current experimental, so tell me if its not. 1) With OpenType math fonts italic will not work. \setupbodyfont[asana] % \setupbodyfont[cambria] % \setupbodyfont[xits] % \setupbodyfont[euler] \starttext {\it test} \stoptext 2)

Re: [NTG-context] Problems with current experimental branch

2011-03-22 Thread Andreas Harder
Am 22.03.2011 um 14:07 schrieb Hans Hagen:On 22-3-2011 1:01, Andreas Harder wrote:I don't know it its legible to post problems with the current experimental, so tell me if its not.What exactly is current experimental? Works ok here the real experimental -)I tried again with the one fromhttp

[NTG-context] beta (asana goodies)

2011-03-26 Thread Andreas Harder
Hi Hans, with the latest beta asana-math.lfg don't seem to have any influence of the output. \setupbodyfont[asana] \startTEXpage[offset=1ex] $\binom{n}{k}\quad \dbinom{n}{k}$ \stopTEXpage It used to work with the experimental two or three days ago. Greeting Andreas

[NTG-context] beta (itemize fit-option)

2011-03-26 Thread Andreas Harder
Hi all, the fit-option in itemize-environments seem to be broken. Can someone confirm this? \starttext \startitemize[R,fit] % ,fit - error \dorecurse{8}{\item test} \stopitemize \stoptext Greeting Andreas

[NTG-context] beta (backend)

2011-03-28 Thread Andreas Harder
Here is another error with the latest beta: \setupbackend[format=PDF/X-4p] \starttext test \stoptext Greeting Andreas ___ If your question is of interest to others as well, please add an entry to the Wiki!

[NTG-context] Capital spacing feature

2011-03-28 Thread Andreas Harder
Consider the following example \definefontfeature[capital spacing] [cpsp=yes] \definefontfeature[small capitals] [c2sc=yes] \starttext \setfontfeature{capital spacing} % not OK % \setfontfeature{small capitals} % OK ABCDEFGHIJKLMNOPQRSTUVWXYZ \stoptext It works okay with small capitals

Re: [NTG-context] Context and metapost: using \frac

2011-04-26 Thread Andreas Harder
Am 26.04.2011 um 13:36 schrieb Matthieu Stigler: Le 26/04/2011 12:36, Hans Hagen a écrit : On 26-4-2011 12:02, Matthieu Stigler wrote: Dear Hans Thanks for your quick answer! I was however not able to produce the graph with the textext code... Should I actually then use another

Re: [NTG-context] Skipping item numbers in an itemized list?

2011-04-27 Thread Andreas Harder
Am 27.04.2011 um 16:39 schrieb Ulrike Fischer: Am Wed, 27 Apr 2011 16:19:45 +0200 schrieb Wolfgang Schuster: Am 27.04.2011 um 15:53 schrieb Alasdair McAndrew: Hello, The effect I want is something like: 1. First item 2. Second item 5. Fifth item 6. Sixth item 8. Eight item

Re: [NTG-context] (URGENT) floating objects causing bug

2011-05-15 Thread Andreas Harder
Am 15.05.2011 um 12:39 schrieb Taco Hoekwater: On 05/15/2011 11:35 AM, Steffen Wolfrum wrote: Hi Hans, while finishing a big project (900 pages, 300 floating tables/figures) I noticed that the first line of each page is moving up/down (almost half a line)! Reason: As soon a a

[NTG-context] loop textext and \MPstring{… }

2009-08-11 Thread Andreas Harder
Hi, I am trying to achieve the following: \setMPtext{1}{ABC} \setMPtext{2}{DEF} \setMPtext{3}{GHI} \starttext \startMPpage[offset=1ex,width=\paperwidth,height=\paperheight] for i=1 upto 3: draw textext(\MPstring{i}) shifted(i*cm,i*cm) ; endfor; \stopMPpage \stoptext There is no

Re: [NTG-context] loop textext and \MPstring{… }

2009-08-12 Thread Andreas Harder
Am 12.08.2009 um 07:40 schrieb Aditya Mahajan: On Tue, 11 Aug 2009, Andreas Harder wrote: Hi, I am trying to achieve the following: \setMPtext{1}{ABC} \setMPtext{2}{DEF} \setMPtext{3}{GHI} \starttext \startMPpage[offset=1ex,width=\paperwidth,height=\paperheight] for i=1 upto 3: draw

Re: [NTG-context] loop textext and \MPstring{… }

2009-08-12 Thread Andreas Harder
Am 12.08.2009 um 15:25 schrieb Aditya Mahajan: On Wed, 12 Aug 2009, Andreas Harder wrote: Am 12.08.2009 um 07:40 schrieb Aditya Mahajan: On Tue, 11 Aug 2009, Andreas Harder wrote: Hi, I am trying to achieve the following: \setMPtext{1}{ABC} \setMPtext{2}{DEF} \setMPtext{3}{GHI

Re: [NTG-context] loop textext and \MPstring{… }

2009-08-12 Thread Andreas Harder
Am 12.08.2009 um 20:34 schrieb Mojca Miklavec: I'm sure that there's a workaround (or at least a dozen of other ways), but I have no time (and my computer is being repaired again) to inspect right now. Some tips? MKIV is both very powerful and fast, so you could probably also define strings

Re: [NTG-context] loop textext and \MPstring{… }

2009-08-13 Thread Andreas Harder
Am 13.08.2009 um 05:00 schrieb Aditya Mahajan:You just need to work a little harder.\startbuffer[1]This is a test\stopbuffer\startbuffer[2]Another test\stopbuffer\startbuffer[3]And again\stopbuffer\startluacode userdata = userdata or {} function userdata.shift(i) return "(" .. i .. "cm ," .. i ..

Re: [NTG-context] loop textext and \MPstring{… }

2009-08-13 Thread Andreas Harder
Am 12.08.2009 um 23:22 schrieb Hans Hagen: Mojca Miklavec wrote: On Wed, Aug 12, 2009 at 12:51, Andreas Harder wrote: Am 12.08.2009 um 07:40 schrieb Aditya Mahajan: Another way to do this is to use \TeXtext{1}{ABC} etc. and then call draw sometxt(i) For Sec 4.5 of Mojca's my way

[NTG-context] \showgrid

2009-09-11 Thread Andreas Harder
Hello, with ConTeXt ver: 2009.09.11 18:14 MKIV the use of \showgrid results in a blank page. \starttext \showgrid \input tufte \stoptext Regards Andreas ___ If your question is of interest to others as

[NTG-context] letter-module

2009-09-17 Thread Andreas Harder
Hi, with the actual beta the compilation of a simple letter stops with: Undefined control sequence. \defineblankmethod[\v!nobreak] {\penalty\plustenthousand} (in default.nli, line 707 \usemodule[letter] \starttext \startletter Hello World \stopletter \stoptext Greetings, Andreas

Re: [NTG-context] letter-module

2009-09-17 Thread Andreas Harder
Am 17.09.2009 um 16:03 schrieb Hans Hagen: Andreas Harder wrote: Hi, with the actual beta the compilation of a simple letter stops with: Undefined control sequence. \defineblankmethod[\v!nobreak] {\penalty\plustenthousand} (in default.nli, line 707 \usemodule[letter] \starttext \startletter

[NTG-context] Letter Module: backaddress

2009-10-08 Thread Andreas Harder
Hi, now that the foldmarks work … how to set the backaddress? \usemodule[letter] \setupletterstyle [option] [backaddress=yes] \setupletterstyle [backaddress] [bottomframe=on] \setupletter [fromname={Max Mustermann}, fromaddress={Musterstr. 12\\123456 Musterstadt}] \setupletter

Re: [NTG-context] Letter Module: backaddress

2009-10-08 Thread Andreas Harder
Hello Wolfgang, thank you for your explanations! One more question: it would be nice if the rule under the back-address would have the same length an the back-addres. Is there a convenient way? I tried something with \textbackgrounds (example below) but without success. % from the wiki:

Re: [NTG-context] Letter Module: backaddress

2009-10-09 Thread Andreas Harder
Am 09.10.2009 um 06:45 schrieb Wolfgang Schuster: When I think about the default setup this would make more sense: \setupletterstyle[backaddress=no] \setupletterstyle[backaddress][alternative=auto] WHat do you think? I think it would be more intuitive that way. One more question: it would

Re: [NTG-context] Letter Module: backaddress

2009-10-11 Thread Andreas Harder
Hello Wolfgang, thanks again! Greetings, Andreas Am 10.10.2009 um 09:13 schrieb Wolfgang Schuster: Am 09.10.2009 um 10:11 schrieb Andreas Harder: Now one have to care of the width (I think there is no maxwidth- option for frame setups?), so I tried to set the backgroundaddress

[NTG-context] interline space

2009-10-12 Thread Andreas Harder
Hi, what's wrong with: \setupinterlinespace[medium] \starttext \input tufte \par \input tufte \par \blank \input tufte \stoptext ConTeXt ver: 2009.10.02 13:14 MKIV It works if I use \setupinterlinespace[line=??]. Greetings, Andreas

[NTG-context] Line Numbering and References

2009-10-14 Thread Andreas Harder
Hello all, I have a problem with referencing from a line numbered text. In page-lin.mkiv I've found the \inline-command, but I can't make use of it: \starttext \startlinenumbering Hello \textreference[ref]{} World! \stoplinenumbering \inline[ref] % output: line ?? \stoptext What I really

Re: [NTG-context] Line Numbering and References

2009-10-14 Thread Andreas Harder
Am 14.10.2009 um 14:23 schrieb Wolfgang Schuster: Am 14.10.2009 um 11:54 schrieb Andreas Harder: Hello all, I have a problem with referencing from a line numbered text. In page-lin.mkiv I've found the \inline-command, but I can't make use of it: When I interpret the source correct

[NTG-context] interline spacing, me too

2009-10-15 Thread Andreas Harder
Hi, please look at the attachment. I want different interline spacing for big, normal and small font sizes. What is the best approach? I tried \setupinterlinespace[big] (works only after \starttext!) or \setupinterlinespace[line=3.5ex] (works also before \starttext) but this changes, as

Re: [NTG-context] interline spacing, me too

2009-10-16 Thread Andreas Harder
Am 16.10.2009 um 14:12 schrieb Hans Hagen: Taco Hoekwater wrote: Because it works if one set \setupinterlinespace[line=5ex] for the whole document … By the way, what happened with \setupinterlinespace[big]? I have no idea, Hans should have a look at that. \start

Re: [NTG-context] interline spacing, me too

2009-10-16 Thread Andreas Harder
Am 16.10.2009 um 14:35 schrieb Hans Hagen: Andreas Harder wrote: Am 16.10.2009 um 14:12 schrieb Hans Hagen: Taco Hoekwater wrote: Because it works if one set \setupinterlinespace[line=5ex] for the whole document … By the way, what happened with \setupinterlinespace[big]? I have no idea

Re: [NTG-context] interline spacing, me too

2009-10-16 Thread Andreas Harder
Am 16.10.2009 um 15:39 schrieb Aditya Mahajan: On Fri, 16 Oct 2009, Andreas Harder wrote: Am 16.10.2009 um 14:35 schrieb Hans Hagen: Andreas Harder wrote: Am 16.10.2009 um 14:12 schrieb Hans Hagen: Taco Hoekwater wrote: Because it works if one set \setupinterlinespace[line=5ex

[NTG-context] \starbuffer in own macros

2009-10-17 Thread Andreas Harder
Hi all, now that \inline[ref] etc. work—whereas in the case of \someline[ref] \inline[ref] always jumps to the else-branch of its definition and outputs the same line twice—I tried, obviously naive, to realize the following functionality (attachment). test-linenumbering4.tex Description:

Re: [NTG-context] \starbuffer in own macros

2009-10-19 Thread Andreas Harder
Am 19.10.2009 um 00:50 schrieb Wolfgang Schuster:Am 18.10.2009 um 12:02 schrieb Andreas Harder:Before I help you provide us with more information, e.g. should the text in the bufferappear also in the complete text or do you it only in the snippet?Sorry, that I did not make myself clear. The real

Re: [NTG-context] \starbuffer in own macros

2009-10-19 Thread Andreas Harder
Am 19.10.2009 um 17:53 schrieb Wolfgang Schuster: Am 19.10.2009 um 16:13 schrieb Andreas Harder: There is an inherent problem as one can see in the attachment, but since mostly I cite a whole paragraph it's not a real problem. This happens when you start in the middle of a paragraph/line

[NTG-context] line numbering

2009-10-20 Thread Andreas Harder
Good morning everyone! I've discovered some strange behavior from line numbering (attachment). The size of the line numbers changes after a page break. test-linenumbering.tex Description: Binary data Furthermore some settings for line numbers do not work. I tried some of the examples

[NTG-context] Page breaks

2009-10-28 Thread Andreas Harder
Hi all! What is the benefit of the page break chosen by ConTeXt. Look at the following example: % \setupalign[line] \starttext \showframe[text] % \showgrid \chapter{Test} \input tufte \par \input knuth \par \input bryson \par \input tufte \par \section{Another head} \stoptext What's would

Re: [NTG-context] Page breaks

2009-10-28 Thread Andreas Harder
Am 28.10.2009 um 23:05 schrieb Arthur Reutenauer: What's would be wrong about to place the three lines of the second page on the first page and to start the second page with the section? It's funny that you should say this, because what you describe is exactly what I see on my computer

Re: [NTG-context] Page breaks

2009-10-28 Thread Andreas Harder
Am 28.10.2009 um 23:17 schrieb Wolfgang Schuster: Am 28.10.2009 um 22:53 schrieb Andreas Harder: Hi all! What is the benefit of the page break chosen by ConTeXt. Look at the following example: The answer why this happens in MkIV can only give Hans (could be a side effect of the new

[NTG-context] Jumping headers

2009-10-29 Thread Andreas Harder
Hello, I found another funny effect. Please look at the following example: \setuplayout[header=\lineheight,headerdistance=\lineheight] \setupinterlinespace[line=18pt] \setupdelimitedtext[blockquote][style={\tfx\setupinterlinespace [line=2.8ex]}] \setupheader[style=\tfxx] % strut=yes

Re: [NTG-context] Jumping headers

2009-10-29 Thread Andreas Harder
Am 29.10.2009 um 19:13 schrieb Hans Hagen: Andreas Harder wrote: Hello, I found another funny effect. Please look at the following example: \setuplayout[header=\lineheight,headerdistance=\lineheight] \setupinterlinespace[line=18pt] \setupdelimitedtext[blockquote][style={\tfx

Re: [NTG-context] Jumping headers

2009-10-29 Thread Andreas Harder
Am 29.10.2009 um 22:36 schrieb Wolfgang Schuster: \start/\stopbaselinecorrection store the content in a unbreakable box and the text will be always kept together, you can try \setupdelimitedtext [blockquote] [before=\baselinecorrection, after=\baselinecorrection,

[NTG-context] Error with \inline[…]

2009-10-29 Thread Andreas Harder
Hello Hans. With the current beta referencing lines is broken again. It used to work yesterday. Here is a test file and the error message: \starttext \startlinenumbering \input tufte \someline[lin:b] \startline[lin:a] \input tufte \stopline[lin:a] \stoplinenumbering \inline[lin:b]

[NTG-context] \getMyCite or adapt Wolfgangs solution

2009-11-07 Thread Andreas Harder
Hello Wolfgang, all!Inhttp://archive.contextgarden.net/message/20091018.225050.34ab40ad.en.htmlyou provided me a solution for a convenient way of referencing from an appendix-text. I make heavy use of this macro, but there are some situations (attachment) where it leads to duplicate identifier

[NTG-context] BibTeX/Publications

2009-11-15 Thread Andreas Harder
Hi all!I've two or more problems withbibliographies:1) look at the attached attachment, the first brace.2)@book{b,title={B Titel B},author={Brüser}, % error - ü!!!year={2000},publisher={VS Verlag}}3) I want "just get a typeset version of the used database" (without \cite[a,b,c,d]), how to achieve

Re: [NTG-context] BibTeX/Publications

2009-11-16 Thread Andreas Harder
Thomas and Taco, thank you for your explanations. Am 16.11.2009 um 08:34 schrieb Taco Hoekwater: Thomas A. Schmitz wrote: On Nov 15, 2009, at 4:11 PM, Andreas Harder wrote: Hi all! I've two or more problems with bibliographies: 1) look at the attached attachment, the first brace

[NTG-context] osx-64-binaries/minimals

2009-11-16 Thread Andreas Harder
Hi all! If I update the minimals via first-setup.sh I get the 32bit-binaries (luatex) although I'm on Snow Leopard. If I change the binaries myself it works fine and the compilation is notable faster! Greetings Andreas

[NTG-context] font-syn.lua error

2009-11-21 Thread Andreas Harder
Hi, if I try to run $ mtxrun --script fonts –reload it ends with: ...text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field 'data_state' (a nil value) The same with \definefont[test][name:minionpro-regular] \starttext \test Hallo Welt, das ist ein Test \stoptext

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

2009-11-22 Thread Andreas Harder
Am 22.11.2009 um 13:16 schrieb Hans Hagen: Andreas Harder wrote: Hi, if I try to run $ mtxrun --script fonts –reload it ends with: text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field 'data_state' (a nil value) that means that you run an old mtxrun (try

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

2009-11-22 Thread Andreas Harder
Am 22.11.2009 um 14:14 schrieb Hans Hagen: Andreas Harder wrote: Am 22.11.2009 um 13:16 schrieb Hans Hagen: Andreas Harder wrote: Hi, if I try to run $ mtxrun --script fonts –reload it ends with: text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field

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

2009-11-22 Thread Andreas Harder
Am 22.11.2009 um 14:41 schrieb Mojca Miklavec: On Sat, Nov 21, 2009 at 19:49, Andreas Harder wrote: Hi, if I try to run $ mtxrun --script fonts –reload it ends with: ...text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field 'data_state' (a nil value) What

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

2009-11-22 Thread Andreas Harder
Am 22.11.2009 um 15:15 schrieb Wolfgang Schuster: Am 22.11.2009 um 15:09 schrieb Andreas Harder: Am 22.11.2009 um 14:41 schrieb Mojca Miklavec: What operating system? I'm on OS-X 10.6 and using the newest beta. had you done luatools --selfupdate mtxrun –selfupdate Yes! And I

[NTG-context] formulas in itemgroups

2009-11-26 Thread Andreas Harder
Hi all, I use the following construct for exercises (attachment) and would like to save some space saved, like in the second example. Is there a trick/command/setup one can use? test-itemgroup-formulas.tex Description: Binary data Many thanks

Re: [NTG-context] footnote placement in columns

2009-11-27 Thread Andreas Harder
Am 27.11.2009 um 17:29 schrieb Taco Hoekwater: Hi, Andreas Harder wrote: Hi, something is wrong with the column placement or I did something wrong. I want them on both columns or at least at the right one. % \setupfootnotes[location=columns] % - box0 \setupfootnotes[location

[NTG-context] Superscript-fontfeature for footnotenumbers

2009-11-30 Thread Andreas Harder
Hi all, I'm trying to set the superscript-fontfeature for footnote-numbers, but there isn't a '(text)numberstyle'-command, so what's the way to achieve this? So far I've this: \starttypescript [serif] [linlibertine] \definefontsynonym [Serif] [LinLibertine-Regular] [features=default]

Re: [NTG-context] Superscript-fontfeature for footnotenumbers

2009-11-30 Thread Andreas Harder
Am 30.11.2009 um 18:47 schrieb Hans Hagen: Andreas Harder wrote: Hi all, I'm trying to set the superscript-fontfeature for footnote-numbers, but there isn't a '(text)numberstyle'-command, so what's the way to achieve this? So far I've this: \starttypescript [serif] [linlibertine

Re: [NTG-context] Superscript-fontfeature for footnotenumbers

2009-12-01 Thread Andreas Harder
Am 01.12.2009 um 00:01 schrieb Hans Hagen: Andreas Harder wrote: I need to look into the numberstyle comand as well as some duplicate command being applied but here is a test \setupenumerations [footnote] [ style=\type{(es)}, headstyle=\type{(hs)}] \setupnote [footnote

[NTG-context] Indent after \startline[… ]

2009-12-16 Thread Andreas Harder
Hi all, how can I prevent the indent after a \startline[…]-construct. Here is an example: \setupindenting[medium,next,yes] \def\NoIndent{\noindentation{\red\bf Indent?}\enspace} \startbuffer \dorecurse{3}{\dorecurse{10}{some text, } \par } \stopbuffer \starttext \showframe \getbuffer

Re: [NTG-context] Indent after \startline[…]

2009-12-16 Thread Andreas Harder
Am 16.12.2009 um 18:40 schrieb Wolfgang Schuster: Am 16.12.2009 um 11:43 schrieb Andreas Harder: Hi all, how can I prevent the indent after a \startline[…]-construct. Here is an example: \setupindenting[medium,next,yes] \def\NoIndent{\noindentation{\red\bf Indent?}\enspace

[NTG-context] Contextual spacing

2009-12-17 Thread Andreas Harder
Hi all, please have a look at the attached example. Is there a (not manually) possibility to reduce the space of two consecutive headers? Another situation is if a header with ‘before=,’ is followed by an environment with 'before=\blank’ …

Re: [NTG-context] Contextual spacing

2009-12-17 Thread Andreas Harder
Am 17.12.2009 um 18:19 schrieb Wolfgang Schuster: Am 17.12.2009 um 17:48 schrieb Andreas Harder: Hi all, please have a look at the attached example. Is there a (not manually) possibility to reduce the space of two consecutive headers? Another situation is if a header with ‘before

Re: [NTG-context] Contextual spacing

2009-12-18 Thread Andreas Harder
Am 18.12.2009 um 06:31 schrieb Wolfgang Schuster: Am 18.12.2009 um 00:05 schrieb Andreas Harder: thanks for the hint, but I don’t get it. How can I bind a signal to a heading? If I understand right a signal is a tag that can be attached to a macro …? So I’ve tried the following

[NTG-context] \wordright{…} and hyphens

2009-12-20 Thread Andreas Harder
Hi, \wordright{something} don’t like it if the preceding line have a hyphenated word. It seems to work if one changes \allowbreak to hskip\zeropoint in the macro-definition. Here an example: \mainlanguage[de] % \unprotect % \def\dowordright[#1]% % {% don't change %\groupedcommand %

[NTG-context] extra kerning do nothing

2009-12-20 Thread Andreas Harder
Hi, the following used to work: \definecharacterkerning[negative] \setupcharacterkerning[negative][factor=-0.125] \starttext \input davis \blank {\setcharacterkerning[extrakerning]\input davis\relax} \blank {\setcharacterkerning[negative]\input davis\relax} \stoptext Is it obsolete? Is there

[NTG-context] mode=node and ligatures

2009-12-21 Thread Andreas Harder
Hi its me again. If I set mode=node then some ligatures are ignored. \definefontfeature[default][default][mode=node] \usetypescript[palatino] \setupbodyfont[palatino] \startbuffer Begriff, Begriffsbestimmung, Integrationsbegriff, Öffentlichkeit, Eröffnung, erhoffte, die Betroffenen,

Re: [NTG-context] extra kerning do nothing

2009-12-21 Thread Andreas Harder
Am 21.12.2009 um 13:40 schrieb Hans Hagen: Andreas Harder wrote: Hi, the following used to work: \definecharacterkerning[negative] \setupcharacterkerning[negative][factor=-0.125] \starttext \input davis \blank {\setcharacterkerning[extrakerning]\input davis\relax} \blank

Re: [NTG-context] extra kerning do nothing

2009-12-21 Thread Andreas Harder
Am 21.12.2009 um 16:55 schrieb Hans Hagen: Andreas Harder wrote: Am 21.12.2009 um 13:40 schrieb Hans Hagen: Andreas Harder wrote: Hi, the following used to work: \definecharacterkerning[negative] \setupcharacterkerning[negative][factor=-0.125] \starttext \input davis \blank

Re: [NTG-context] extra kerning do nothing

2009-12-21 Thread Andreas Harder
Am 21.12.2009 um 17:34 schrieb Hans Hagen: Andreas Harder wrote: Am 21.12.2009 um 16:55 schrieb Hans Hagen: Andreas Harder wrote: Am 21.12.2009 um 13:40 schrieb Hans Hagen: Andreas Harder wrote: Hi, the following used to work: \definecharacterkerning[negative] \setupcharacterkerning

[NTG-context] Ligatures

2009-12-26 Thread Andreas Harder
Hi, can someone confirm the misbehaviour with ligatures in my example? It’s there since the last three or four betas, perhaps longer. test-ligatures2.tex Description: Binary data test-ligatures2.pdf Description: Adobe PDF document Greetings

[NTG-context] Ligatures

2009-12-26 Thread Andreas Harder
Hi, can someone confirm the misbehaviour with ligatures in my example? It’s there since the last three or four betas, perhaps longer. test-ligatures2.tex Description: Binary data test-ligatures2.pdf Description: Adobe PDF document Greetings Andreas

Re: [NTG-context] Using Adobe Arno Pro in Mkiv

2009-12-29 Thread Andreas Harder
Am 29.12.2009 um 19:21 schrieb Hans Hagen: On 27-12-2009 3:43, Changlin Ai wrote: When I used Adobe ArnoPro font in Mkvi with default font features, I found the memory useage of LuaTeX was very big. as i don't have the font i cannot check where some saving can take place but it could

[NTG-context] smaller inter line space for headings (on a grid)

2009-12-30 Thread Andreas Harder
Hi all, I have three questions: 1) Is there a convenient way to reduce the inter line space for an head on a grid? First I tried \setuphead[section][style={\ssb\setupinterlinespace[line=1ex]}]—no effect. Finally I defined three commands to get it work. Perhaps someone knows a better way. 2)

[NTG-context] Error with the actual beta

2010-01-08 Thread Andreas Harder
Hi, the example at the bottom ends up with: ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otf.lua:1243: attempt to get length of local 'splt' (a nil value) \definefont[test][name:linuxlibertineo] \starttext \test test \stoptext Can someone confirm? Greetings Andreas

[NTG-context] False chapter numbering

2010-01-10 Thread Andreas Harder
Hi, it seems like footnotes disturbs chapter numbering. \starttext \dorecurse{3}{\chapter{Chapter}\section{Section}footnote\footnote{test}} \stoptext Greetings Andreas ___ If your question is of interest to

Re: [NTG-context] False chapter numbering

2010-01-11 Thread Andreas Harder
Am 11.01.2010 um 17:05 schrieb Hans Hagen: On 10-1-2010 16:01, Andreas Harder wrote: Hi, it seems like footnotes disturbs chapter numbering. \starttext \dorecurse{3}{\chapter{Chapter}\section{Section}footnote\footnote{test}} \stoptext can you check the new beta Checked

[NTG-context] last chapter number

2010-01-16 Thread Andreas Harder
Hi all, is there already an equivalent to \lastpage for the last chapter number in a document. I tried something like \getmarking[chapternumber][last], but the output is still the current chapter number. Thanks in advance Andreas

Re: [NTG-context] last chapter number

2010-01-16 Thread Andreas Harder
Am 16.01.2010 um 20:52 schrieb Wolfgang Schuster: Am 16.01.2010 um 17:46 schrieb Andreas Harder: Hi all, is there already an equivalent to \lastpage for the last chapter number in a document. I tried something like \getmarking[chapternumber][last], but the output is still

Re: [NTG-context] last chapter number

2010-01-17 Thread Andreas Harder
Am 17.01.2010 um 09:13 schrieb Wolfgang Schuster: Am 16.01.2010 um 23:08 schrieb Andreas Harder: can you try \convertedstructurecounter[chapter][type=last] Hello Wolfgang, I tried, but it only outputs nothing visible. Sorry, my fault. Section numbering use their own system to save

Re: [NTG-context] last chapter number

2010-01-18 Thread Andreas Harder
Am 18.01.2010 um 13:11 schrieb Hans Hagen: the beta now has \starttext \dorecurse {5} { \chapter{Test #1} first: \somestructureheadnumber[chapter][first]\par current: \somestructureheadnumber[chapter][current]\par last: \somestructureheadnumber[chapter][last]

Re: [NTG-context] last chapter number in Metapost

2010-01-18 Thread Andreas Harder
Am 18.01.2010 um 13:11 schrieb Hans Hagen: the beta now has \starttext \dorecurse {5} { \chapter{Test #1} first: \somestructureheadnumber[chapter][first]\par current: \somestructureheadnumber[chapter][current]\par last: \somestructureheadnumber[chapter][last]

Re: [NTG-context] negative kerning

2010-01-18 Thread Andreas Harder
Am 18.01.2010 um 18:40 schrieb Hans Hagen: On 18-1-2010 18:28, Horacio Suarez wrote: hello all: I need someting like a negative kerning to reduce some paragraphs length. I was reading the mails but I didn´t find it or was too complex for me. otherwise you need to locally mess around

[NTG-context] \wordright and line break

2010-01-21 Thread Andreas Harder
Hello Hans, is there a reason (I’m sure there is) that \finalhyphendemerits\zerocount in the \wordright-definition is commented out? Without this line I get wrong line breaks with hyphenated words followed by \wordright{…}. \starttext \setupframedtexts[width=.65\textwidth,offset=none]

[NTG-context] Bogus columns with footnotes

2010-02-01 Thread Andreas Harder
Hi all, can anyone confirm a bogus column output with the following test document? \setupnote[footnote][location=lastcolumn] \starttext \startcolumns \dorecurse{2}{\input knuth}\footnote{\input tufte} \dorecurse{2}{\input knuth} \stopcolumns \stoptext Greetings Andreas

Re: [NTG-context] First page of chapter

2010-02-02 Thread Andreas Harder
I am struggling with getting the first pages of my chapters laid out as desired. What I want on the top third of the page is a roughly 2 inch square graphic on the left with the chapter number and chapter title on the right in large print. The following chunk errors out as shown but works when

[NTG-context] Footnotes in columns causing layout problem

2010-02-09 Thread Andreas Harder
Hi, I’m trying it again. The problem with footnotes in multicolumn texts is still present. (http://archive.contextgarden.net/message/20100201.222309.2f37f55a.en.html) \setupnote[footnote][location=lastcolumn] % - causes layout problem \definecolumnset[two][n=2] \enablemode[twocolumns] %

[NTG-context] Formatting numbers in LuaTeX

2010-02-14 Thread Andreas Harder
Hi all! I played a little bit with LuaTeX in ConTeXt and two questions have arisen. \usemodule[calcmath] \starttext \def\calculate#1{\calcmath{#1=\ctxlua{tex.print(#1)}}} \calculate{1+2} \par \calculate{3/2-1}\par % the output should be 0,5 \calculate{3*2}\par % \calculate{sqrt(2)}

Re: [NTG-context] Formatting numbers in LuaTeX

2010-02-14 Thread Andreas Harder
Am 14.02.2010 um 13:11 schrieb Peter Münster: On Sun, Feb 14 2010, Andreas Harder wrote: 1) Is it possible to have a comma as decimal separator? 2) If you look at the above definition, it works fine with +, –, /, but not with *. Is it possible to expand my macro that it will also work

Re: [NTG-context] Formatting numbers in LuaTeX

2010-02-15 Thread Andreas Harder
Am 15.02.2010 um 20:35 schrieb Peter Münster: On Sun, Feb 14 2010, Hans Hagen wrote: sqrt = math.sqrt pi = math.pi function my_equation(s, r) beware, this creates (and possibly overloads) sqrt, pi and my_equation as gobals Indeed... The following hack was *not* so quick,

[NTG-context] Change Font in PDF-fields

2010-02-19 Thread Andreas Harder
Hi all, if I use the following setup \setupfield [ShortLine] [label,frame,horizontal] [height=fit,framecolor=green] [] [height=18pt,type=normal] % - is mono \definefield [Email] [line] [ShortLine] [] [pra...@wxs.nl] \starttext \startTEXpage[offset=1ex] \field [Email] [E-Mail:]

Re: [NTG-context] Change Font in PDF-fields

2010-02-20 Thread Andreas Harder
Am 19.02.2010 um 14:20 schrieb Hans Hagen: On 19-2-2010 10:40, Andreas Harder wrote: \setupfield [ShortLine] [label,frame,horizontal] [height=fit,framecolor=green] [] [height=18pt,style=rmtf] % - still mono \definefield [Email] [line] [ShortLine] [] [pra...@wxs.nl

[NTG-context] Something is wrong with backgrounds

2010-03-04 Thread Andreas Harder
Hi all, if I compile the following example with the actual beta, the circle is set in foreground … even if the background is not set. \startuseMPgraphic{test} fill fullcircle scaled 5cm withcolor red; \stopuseMPgraphic \defineoverlay[test]{\useMPgraphic{test}} %

Re: [NTG-context] Something is wrong with backgrounds

2010-03-04 Thread Andreas Harder
Am 04.03.2010 um 15:31 schrieb Wolfgang Schuster: Am 04.03.10 15:17, schrieb Andreas Harder: Hi all, if I compile the following example with the actual beta, the circle is set in foreground … even if the background is not set. \startuseMPgraphic{test} fill fullcircle scaled 5cm

Re: [NTG-context] Lua-loop inside MetaPost

2010-03-09 Thread Andreas Harder
Am 09.03.2010 um 15:59 schrieb Hans Hagen: On 9-3-2010 15:24, Wolfgang Schuster wrote: Am 09.03.10 15:17, schrieb Andreas Harder: Hi all, I can't find a solution for the following example: \starttext \startMPpage draw origin for i=0 step 10 until 100 : ..{down}(i,0) endfor

Re: [NTG-context] Lua-loop inside MetaPost

2010-03-09 Thread Andreas Harder
Am 09.03.2010 um 15:24 schrieb Wolfgang Schuster: Am 09.03.10 15:17, schrieb Andreas Harder: Hi all, I can't find a solution for the following example: \starttext \startMPpage draw origin for i=0 step 10 until 100 : ..{down}(i,0) endfor ; \stopMPpage \startluacode

[NTG-context] Lua-loop inside MetaPost

2010-03-09 Thread Andreas Harder
Hi all, I can't find a solution for the following example: \starttext \startMPpage draw origin for i=0 step 10 until 100 : ..{down}(i,0) endfor ; \stopMPpage \startluacode context.startMPpage() context(draw origin..for i=0,100,10 do{down}(..i..,0)..end..;) context.stopMPpage()

Re: [NTG-context] simplefonts

2010-03-12 Thread Andreas Harder
Hi! 5. How I could use the superior and inferior shapes in my font---like for the footnotemarks, for example? You have defined a font instance with superiors. To use it, set up your footnotes accordingly: \setupfootnotes[textstyle=normal,

Re: [NTG-context] simplefonts

2010-03-13 Thread Andreas Harder
Am 13.03.2010 um 13:26 schrieb Wolfgang Schuster: Am 13.03.10 13:16, schrieb Hans Hagen: Fontloader already expose the size info if present, we wrote some code for LaTeX that loads the best optical size automatically based on the requested font size, it isn't that hard. sure, it's no big

Re: [NTG-context] simplefonts

2010-03-13 Thread Andreas Harder
Am 13.03.2010 um 17:17 schrieb Wolfgang Schuster: Am 13.03.10 14:27, schrieb Andreas Harder: would you provide an example of how to use this information? font-ini.mkiv %D some low level helpers %D %D \starttyping %D \def\TestLookup#1% %D {\dolookupfontbyspec{#1} %D pattern

[NTG-context] blank line and signals

2010-03-14 Thread Andreas Harder
Hi all, please have a look at the following example: \newsignal\SectionSignal \def\TestSpace% {\relax\ifdim\lastskip=\SectionSignal \blank[nowhite] \else \blank \fi} \setuphead[section] [after=\blank\vskip\SectionSignal] \setuphead[subsection][before=\TestSpace] \starttext

[NTG-context] \framedtext vs. \framed in columns

2010-03-23 Thread Andreas Harder
Hi all, pleas have a look at the following example \setuplayout[grid=yes] \starttext \startcolumns \input tufte \par \input tufte \par \startframedtext[width=broad] % ,location=high \input tufte \par \stopframedtext \stopcolumns \page \startcolumns \input tufte \par \input tufte

Re: [NTG-context] Stack overflow

2010-03-30 Thread Andreas Harder
Am 30.03.2010 um 10:41 schrieb Peter Münster: On Tue, Mar 30 2010, Hans Hagen wrote: MTXrun | unknown script 'context.lua' or 'mtx-context.lua' no problem here if i download a minimal ... can others confirm this? Yes. Same problem on linux-x86_64 after first-setup-sh. I've the same

[NTG-context] Bookmarks

2010-05-21 Thread Andreas Harder
Hi all, what is wrong with the following example? I would expect Erstes Kapitel etc. instead of Kapitel Eins in the bookmarks. Further Inhaltsverzeichnis don‘t appear in the bookmarks. \setupinteraction[state=start] \placebookmarks[all] \starttext

[NTG-context] Letter module and the current beta

2010-06-23 Thread Andreas Harder
Hi Wolfgang, if I use your letter module the compilations stops with the error Undefined control sequence. \startmodulecode. My letter module version is from 04.04.10. Has something changed? Greeting Andreas

<    1   2   3   4   >