Re: [NTG-context] Rotated footnotes?

2010-02-06 Thread Steffen Wolfrum
No answer at all ... Does that mean rotating a figure/label with its footnote just can't be done? Steffen Am 04.02.2010 um 13:20 schrieb Steffen Wolfrum: Hi, the figure labels of some rotated figures have footnotes. (see faked example please: http://www.werksatz.com/attachments

Re: [NTG-context] new language and hyphenation

2010-01-22 Thread Marius
that you gave a nice homework to Hans :) I didn't check, but I have not seen any setting to change the order of number label yet. not what you want but this works \setuplabeltext[...][...={left of number}{right of number}] \setuplabeltext [\s!lt] [\v!table={xxx}{lentelė }] and output

[NTG-context] \setuplabeltext[chapter=Chapter ] (or mkiv document structure/TOC)

2010-01-20 Thread Alan BRASLAU
In a large project, a book with parts, chapters, appendices, etc. I have set the table of contents to display the label Chapter yielding: Part I Chapter 1 Chapter 2 Chapter 3 Part II Chapter 4 ... Through the following (mkiv): % % section headings % \definestructureresetset [default] [0,0] [1

Re: [NTG-context] new language and hyphenation

2010-01-20 Thread Mojca Miklavec
setting to change the order of number label yet. In a table of contents and in section names there must be period after number: This can be fixed in mkiv; a bit harder in mkii. 1. Name 1.1. Name2 1.1.2. Name3 exept: Chapter 1 1 skyrius The main question is: do you need them only for MKIV

Re: [NTG-context] new language and hyphenation

2010-01-20 Thread Wolfgang Schuster
the order of number label yet. not what you want but this works \setuplabeltext[...][...={left of number}{right of number}] In a table of contents and in section names there must be period after number: This can be fixed in mkiv; a bit harder in mkii. \setupheads[sectionstopper=.] Wolfgang

Re: [NTG-context] Metapost Font Question

2010-01-01 Thread Taco Hoekwater
Untitled.mp mptopdf Untitled.1 I've attached the resulting file. I am wondering why the cm label is set in a larger font than the ticklabels. Can anyone help? The tick labels are typeset by metapost itself, but the cm is typeset externally (by ConTeXt, if you run the garden distribution

Re: [NTG-context] Metapost Font Question

2010-01-01 Thread David Arnold
/downloads/metapost/mps.tar.gz To compile the attached file I use: mpost Untitled.mp mptopdf Untitled.1 I've attached the resulting file. I am wondering why the cm label is set in a larger font than the ticklabels. Can anyone help? The tick labels are typeset by metapost itself, but the cm

[NTG-context] Metapost Font Question

2009-12-31 Thread David Arnold
All,The attached Metapost file uses the statsmac package by Anthony Phan.http://www-math.univ-poitiers.fr/~phan/statsmac.htmlAnd the package:mps.tar.gzTo compile the attached file I use:mpost Untitled.mpmptopdf Untitled.1I've attached the resulting file. I am wondering why the "cm" la

Re: [NTG-context] Metapost label - Truncating digits after decimal point

2009-12-15 Thread Aditya Mahajan
On Sat, 28 Nov 2009, Curiouslearn wrote: Hi, Is it possible to truncate the digits after decimal point in Metapost when using textext()? Please see the minimal example below which produces 1.84375. Can I just keep the first digit and have it produce 1.8 ? Thanks. If you are using mkiv, you

Re: [NTG-context] Metapost label - Truncating digits after decimal point

2009-12-15 Thread Curiouslearn
Thanks for this solution. Sounds small and clean. I need to learn Lua I guess. On Tue, Dec 15, 2009 at 5:34 AM, Aditya Mahajan adit...@umich.edu wrote: On Sat, 28 Nov 2009, Curiouslearn wrote: Hi, Is it possible to truncate the digits after decimal point in Metapost when using textext()?

Re: [NTG-context] Metapost label - Truncating digits after decimal point

2009-11-29 Thread Taco Hoekwater
Curiouslearn wrote: Hi, Is it possible to truncate the digits after decimal point in Metapost when using textext()? Please see the minimal example below which produces 1.84375. Can I just keep the first digit and have it produce 1.8 ? Here is a helper macro for you: def trunc_digits(expr n,

Re: [NTG-context] Metapost label - Truncating digits after decimal point

2009-11-29 Thread Curiouslearn
Thanks so much, Taco. I will try out the code below. Good to know that Metapost has functions such as substring. On Sun, Nov 29, 2009 at 3:32 AM, Taco Hoekwater t...@elvenkind.com wrote: Curiouslearn wrote: Hi, Is it possible to truncate the digits after decimal point in Metapost when

Re: [NTG-context] definereferenceformat problem...

2009-11-28 Thread Chen Shen
, but text does not. regards, shenchen On Thu, Nov 12, 2009 at 1:26 AM, Bernhard Rosensteiner brosenstei...@gmail.com wrote: Hello, \definereferenceformat[fig][left=(, right=), label=reffigure, text={figure}] produces no output of text (in this case figure) when i do \fig[something

[NTG-context] Metapost label - Truncating digits after decimal point

2009-11-28 Thread Curiouslearn
Hi, Is it possible to truncate the digits after decimal point in Metapost when using textext()? Please see the minimal example below which produces 1.84375. Can I just keep the first digit and have it produce 1.8 ? Thanks. \setuppapersize[letter][letter] \setupcolors[state=start] \starttext

Re: [NTG-context] definereferenceformat problem...

2009-11-28 Thread Peter Münster
On Wed, Nov 11 2009, Bernhard Rosensteiner wrote: \definereferenceformat[fig][left=(, right=), label=reffigure, text={figure}] produces no output of text (in this case figure) when i do \fig[something]. Is this a bug in mkiv? I use luatex 0.44 A workaround: \definereferenceformat[fig

Re: [NTG-context] definereferenceformat problem...

2009-11-28 Thread Chen Shen
Thanks a lot Peter shenchen On Sun, Nov 29, 2009 at 12:36 AM, Peter Münster pmli...@free.fr wrote: On Wed, Nov 11 2009, Bernhard Rosensteiner wrote: \definereferenceformat[fig][left=(, right=), label=reffigure, text={figure}] produces no output of text (in this case figure) when i do

Re: [NTG-context] definereferenceformat problem...

2009-11-24 Thread Chen Shen
I have the same problem with the latest mkiv beta (2009.11.25). left/right works fine, but text does not. regards, shenchen On Thu, Nov 12, 2009 at 1:26 AM, Bernhard Rosensteiner brosenstei...@gmail.com wrote: Hello, \definereferenceformat[fig][left=(, right=), label=reffigure, text

Re: [NTG-context] Fields and JS Calculations

2009-11-23 Thread Hans Hagen
Calculate () { v = getField(textC) ; v.value = 0 ; v.value += AFMakeNumber(getField(textA).value) ; v.value += AFMakeNumber(getField(textB).value) ; v.value = ; } \stopJSpreamble \setupinteraction[state=start] \setupfield [lineABC] [label,frame,horizontal] [frame=off

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

2009-11-23 Thread Bowen Alan C .
[3] no longer works (c) how to avoid getting the label for the table on the first page (d) how to get a decent page break. I have checked Hans' MAPs article as we all as the wiki. There is reference to a new tabulate module that you were working on, but the link goes nowhere. I can work around

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

2009-11-23 Thread Bowen Alan C.
that explains (a) how to format (e.g., center) the content of specific cells---\REF does not seem to work any more. (b) how to get weighted rules---\HL[3] no longer works (c) how to avoid getting the label for the table on the first page (d) how to get a decent page break. I have checked

Re: [NTG-context] Fields and JS Calculations

2009-11-22 Thread jeroen muskee
Calculate () { v = getField(textC) ; v.value = 0 ; v.value += AFMakeNumber(getField(textA).value) ; v.value += AFMakeNumber(getField(textB).value) } \stopJSpreamble \starttext \setupfield [lineABC] [label,frame,horizontal] [frame=off] [height=18pt,width=15em,align=middle,frame=off] [height

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

2009-11-22 Thread Taco Hoekwater
table that has good page divisions and puts the table's label on the last page only. I have been unable to find documentation that would help with this yet. My guess is that you should be using TABLE: http://wiki.contextgarden.net/TABLE it seems that TaBlE does not support splitting p() columns

[NTG-context] Fields and JS Calculations

2009-11-21 Thread jeroen muskee
] [line] [linepressure] [] [] \setupfield [linedensity] [label,frame,horizontal] [frame=off] [height=18pt,width=15em,align=middle,frame=off] [height=18pt,width=20em,align=right,style=\tfx,,frame=on] \setupfield [linedepth] [label,frame,horizontal] [frame=off] [height=18pt,width=15em

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

2009-11-21 Thread Bowen Alan C.
divisions and puts the table's label on the last page only. I have been unable to find documentation that would help with this yet. I am using MK2 in today’s Context in the Context Minimals. Alan \showframe \starttext \dorecurse{3}{\input knuth\par} \start \setuptables [bodyfont=9pt, width

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

2009-11-18 Thread Bowen Alan C.
Thanks, Wolfgang! That is what I needed. But how does one prevent the label for the table from appearing on the first page? Alan On Nov 18, 2009, at 16;27,23 , Wolfgang Schuster wrote: Am 18.11.2009 um 21:19 schrieb Alan BRASLAU: Alan I believe that you need to use \starttables

[NTG-context] Metapost Code works with MKII not with MKIV

2009-11-18 Thread Curiouslearn
withpen pencircle scaled w; drawarrow yaxis withpen pencircle scaled w; draw demand withpen pencircle scaled w withcolor 0.5red; draw AC withpen pencircle scaled w withcolor 0.5green; fill fullcircle scaled u shifted (4*u,5*u) withcolor 0.1[white,blue] ; label

Re: [NTG-context] Metapost Code works with MKII not with MKIV

2009-11-18 Thread Aditya Mahajan
] ; label(btex \tfb S1 etex,(4,5)*u); \stopuseMPgraphic \midaligned{\useMPgraphic{Filling}} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] Metapost Code works with MKII not with MKIV

2009-11-18 Thread luigi scarso
(4*u,5*u) withcolor 0.1[white,blue] ;        label(btex \tfb S1 etex,(4,5)*u); \stopuseMPgraphic \midaligned{\useMPgraphic{Filling}} \stoptext You forgot \stoptext at the end It works here -- luigi ___ If your

Re: [NTG-context] Metapost Code works with MKII not with MKIV

2009-11-18 Thread Curiouslearn
withpen pencircle scaled w withcolor 0.5red;         draw AC withpen pencircle scaled w withcolor 0.5green;         fill fullcircle scaled u shifted (4*u,5*u) withcolor 0.1[white,blue] ;         label(btex \tfb S1 etex,(4,5)*u);  \stopuseMPgraphic  \midaligned{\useMPgraphic{Filling

Re: [NTG-context] Pstricks and Asymptote

2009-11-17 Thread Mojca Miklavec
wrong) and apart from what Aditya wrote: - you can always use standalone asymptote files to generate figures, for example: settings.tex=context; texpreamble(\usetypescript[iwona]); texpreamble(\usetypescript[antykwa-torunska]); label($A$,0,N,font(iwona)); label($A$,0,S,font(antykwa)+red); - Aditya

[NTG-context] definereferenceformat problem...

2009-11-11 Thread Bernhard Rosensteiner
Hello, \definereferenceformat[fig][left=(, right=), label=reffigure, text={figure}] produces no output of text (in this case figure) when i do \fig[something]. Is this a bug in mkiv? I use luatex 0.44 best regards Bernhard

Re: [NTG-context] Metapost and MPlib

2009-11-04 Thread Aditya Mahajan
...@\#; tangent:=unitvector(direction t of c...@\#); se=image( label(a rotated angle(tangent), pp+2mm*(tangent rotated 90)); ); se enddef; depart((-3,-3.5),(2.5,3.5),(0,0),2,2); draw courbe1(-1,1,100,x*x) withcolor blue; draw curvelabel1(btex $x^2$ etex, 0.9); \stopMPcode

[NTG-context] Some math symbols fail in MetaPost in MKIV

2009-11-02 Thread Andreas Schneider
to this mail. Best Regards, Andreas.\starttext The \quote{formula} as it should look like: $a~b|c$. Metapost: \startMPcode label(\sometxt{$a~b|c$}, (0, 0)); \stopMPcode \stoptext ___ If your question

[NTG-context] Error with the new luatex

2009-10-30 Thread Alain Delmotte
... ? = So the label to the line is not known?! Alain ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] labelling again: tables? And captions?

2009-10-30 Thread Pau
Hello, how can I add a label and a caption to a table? I guess that the label is \starttable[|l|l|l|l|l|l|l|l|][MyLabel] But what about the caption? I have been looking in http://wiki.contextgarden.net/Table Thanks a lot for the help... Cheers, Pau

Re: [NTG-context] labelling again: tables? And captions?

2009-10-30 Thread Boštjan Vesnicer
how can I add a label and a caption to a table? http://wiki.contextgarden.net/Floating_Objects ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

[NTG-context] \label equivalent in a section?

2009-10-29 Thread Pau
Hello, how do I translate \section{Introduction} \label{intro} In Section \ref{intro}, we show an example of labelling in ConTeXt? I have looked

Re: [NTG-context] \label equivalent in a section?

2009-10-29 Thread Boštjan Vesnicer
\section[intro]{Introduction} On Thu, Oct 29, 2009 at 5:06 PM, Pau vim.u...@googlemail.com wrote: Hello, how do I translate \section{Introduction} \label{intro} In Section \ref{intro}, we show an example of labelling

Re: [NTG-context] \label equivalent in a section?

2009-10-29 Thread Matthijs Kooijman
Hi Pau, \section{Introduction} \label{intro} In Section \ref{intro}, we show an example of labelling \section[intro]{Introduction} In \in{Section

Re: [NTG-context] \label equivalent in a section?

2009-10-29 Thread Pau
Thanks! now, this is a friendly mailing list! I was trying to guess it with \section{Introduction}[label=intro] but that didn't work out. The main problem is to find the keywords. My English is not exactly excellent and sometimes I find it difficult to find the right place to look

Re: [NTG-context] \label equivalent in a section?

2009-10-29 Thread Aditya Mahajan
On Thu, 29 Oct 2009, Pau wrote: Thanks! now, this is a friendly mailing list! I was trying to guess it with \section{Introduction}[label=intro] but that didn't work out. MKIV only ... \startsection[reference=intro, title=Test] In \in{Section}[intro] we show an example of labelling

Re: [NTG-context] luatex-plain metapost

2009-10-26 Thread Taco Hoekwater
beginfig(1) ; draw fullcircle scaled 10cm withcolor red withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; label(btex Foo etex,(0bp,0bp)); There is no btex .. etex in mplib, at all. Best wishes, Taco

Re: [NTG-context] luatex-plain metapost

2009-10-26 Thread luigi scarso
doesn't work  \pdfoutput=1  \setmplibformat{plain}  \mplibcode    beginfig(1) ;        draw fullcircle            scaled 10cm            withcolor red            withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ;        label(btex Foo etex,(0bp,0bp)); There is no btex .. etex in mplib

Re: [NTG-context] luatex-plain metapost

2009-10-26 Thread Taco Hoekwater
ok , but this also doesn't work \pdfoutput=1 \setmplibformat{plain} \mplibcode beginfig(1) ; draw fullcircle scaled 10cm withcolor red withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; label(btex Foo etex,(0bp,0bp

Re: [NTG-context] luatex-plain metapost

2009-10-26 Thread luigi scarso
yscaled 2mm rotated 30 ;        label(btex Foo etex,(0bp,0bp)); There is no btex .. etex in mplib, at all. So there are no others way to put a text in a btex ...etex fashion ? Not without macro/lua support, no. context mkiv does support these things, but Hans is (understandably) unwilling

Re: [NTG-context] luatex-plain metapost

2009-10-26 Thread Hans Hagen
ok , but this also doesn't work \pdfoutput=1 \setmplibformat{plain} \mplibcode beginfig(1) ; draw fullcircle scaled 10cm withcolor red withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; label(btex Foo etex,(0bp,0bp)); There is no btex

Re: [NTG-context] Scite + non-global environbment variables

2009-10-26 Thread Wolfgang Hugemann
Look at the label ':help' in 'cscite.bat'. I had done this already. All that is says is echo usage: cscite root, e.g. cscite d:\copyofcdrom leaving you with the question which root of what is meant. I tested the root directory of context C:\Programme\contextminimal and the root directory

Re: [NTG-context] luatex-plain metapost

2009-10-25 Thread Hans Hagen
luigi scarso wrote: I'm experimenting with luatex-plain in minimals, cfr. label(textext(Foo),(0bp,0bp)); textext is a mkiv feature Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] luatex-plain metapost

2009-10-25 Thread luigi scarso
On Sun, Oct 25, 2009 at 4:54 PM, Hans Hagen pra...@wxs.nl wrote: luigi scarso wrote: I'm experimenting with luatex-plain in minimals, cfr.        label(textext(Foo),(0bp,0bp)); textext is a mkiv feature not a metafun macro ? Anyway, this also doesn't work %luatex-test-wrong.tex \pdfoutput

Re: [NTG-context] luatex-plain metapost

2009-10-25 Thread Hans Hagen
luigi scarso wrote: On Sun, Oct 25, 2009 at 4:54 PM, Hans Hagen pra...@wxs.nl wrote: luigi scarso wrote: I'm experimenting with luatex-plain in minimals, cfr. label(textext(Foo),(0bp,0bp)); textext is a mkiv feature not a metafun macro ? Anyway, this also doesn't work %luatex-test

Re: [NTG-context] Scite + non-global environbment variables

2009-10-25 Thread Wolfgang Werners-Lucchini
with ConTeXt; I hope it doesn't stay like this.) Look at the label ':help' in 'cscite.bat'. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] [MP] labels of points on a circle

2009-10-19 Thread Boštjan Vesnicer
Hi Dalyoung, You can try to adapt the following snippet: numeric i; pickup pencircle scaled 4pt; for i = 1 upto 10: z[i] = dir(uniformdeviate 360); drawdot z[i] scaled 4cm; label(decimal(i), z[i] scaled 4.3cm); endfor; Best regards, Bostjan On Mon, Oct 19, 2009 at 2:48

Re: [NTG-context] Need help with bibliography

2009-09-21 Thread Taco Hoekwater
, you want a special kind of label for your bibliographic list. See if Aditya's hack gives the result you want. But generally speaking, I think your setup is pretty common in the humanities, so it should be added as a key to the processactionlist in l. 308-316 of bibl-tra.mkiv. Hans, Taco

Re: [NTG-context] Need help with bibliography

2009-09-20 Thread Thomas A. Schmitz
a special kind of label for your bibliographic list. See if Aditya's hack gives the result you want. But generally speaking, I think your setup is pretty common in the humanities, so it should be added as a key to the processactionlist in l. 308-316 of bibl-tra.mkiv. Hans, Taco, is there a proper

[NTG-context] subformulas end theorems in Mark IV

2009-09-15 Thread Yury G. Kudryashov
the Pythagora's Theorem twice, once in (\in[eq:first]) and again in (\in[eq:second]). \stoptext I get Formula (??) states the Pythagora's Theorem twice, once in (1) and again in (2). In log I see 'unknown reference [][eq:1]'. I also have label/ref problem with theorems. I define \defineenumeration

Re: [NTG-context] bibmod: forcing a key for alphabetical sorting

2009-09-15 Thread Aditya Mahajan
wikify. Yes, this is a generic method. Perhaps a better way would be to use the suggestion in http://www.tex.ac.uk/cgi-bin/texfaq2html?label=bibprefixsort In any case, I think that it is a good idea to add such things to the wiki. Aditya

[NTG-context] placetable (split but title only ONE time) ?

2009-09-08 Thread Steffen Wolfrum
Hi, how do I set a long placetable to split, but write the legend/label only one time? This does repeat the title at every page: \setupcaption[table][location=top] \placetable [split] {A very long table} {\bTABLE \dorecurse{200}{\bTR\bTD Text \eTD\eTR} \eTABLE} But it should read

Re: [NTG-context] Section labels in appendices (appendixlabel=)

2009-08-26 Thread Wolfgang Schuster
] [appendixconversion=Character, appendixlabel=appendix] strc-sec.mkii: \setuphead [\v!section] [\v!appendix\c!label=\v!section, \v!bodypart\c!label=\v!section] % bijlageconversie= \Character Wolfgang

Re: [NTG-context] Section labels in appendices (appendixlabel=)

2009-08-26 Thread Wolfgang Schuster
Am 26.08.2009 um 10:33 schrieb Mojca Miklavec: On Wed, Aug 26, 2009 at 10:08, Wolfgang Schuster wrote: \setuphead [\v!section] [\v!appendix\c!label=\v!section, \v!bodypart\c!label=\v!section] % bijlageconversie= \Character I'm sorry, but I'm blind ... :( :( :( Doesn't it also

Re: [NTG-context] Section labels in appendices (appendixlabel=)

2009-08-26 Thread Mojca Miklavec
On Wed, Aug 26, 2009 at 10:39, Wolfgang Schuster wrote: Am 26.08.2009 um 10:33 schrieb Mojca Miklavec: On Wed, Aug 26, 2009 at 10:08, Wolfgang Schuster wrote: \setuphead  [\v!section]  [\v!appendix\c!label=\v!section,  \v!bodypart\c!label=\v!section]       %   bijlageconversie=\Character

Re: [NTG-context] Contents label before contents

2009-08-23 Thread Vyatcheslav Yatskovsky
Hello I want to place contents in the beginning of the document with Contents label above it. If I do like \placecontent \section{Sec1} \section{Sec2} ... it's ok, but \section{Contents} \placecontent \section{Sec1} \section{Sec2} ... does not work (no content table is placed at all

Re: [NTG-context] Contents label before contents

2009-08-23 Thread Derek CORDEIRO
On Mon, Aug 24, 2009 at 12:04 AM, Vyatcheslav Yatskovsky yatskov...@gmail.com wrote: Hello I want to place contents in the beginning of the document with Contents label above it. If I do like \placecontent \section{Sec1} \section{Sec2} ... it's ok, but \section{Contents

Re: [NTG-context] Contents label before contents

2009-08-23 Thread Wolfgang Schuster
Am 23.08.2009 um 20:42 schrieb Derek CORDEIRO: Why not use the first option and use \completecontent instead of \placecontent? It will give you the Contents heading you want. So try: The \complete... commands use \title for the header while he wants \section as first level heading, he

Re: [NTG-context] White digit in a black square

2009-08-23 Thread Vyatcheslav Yatskovsky
Thank you! The following works fine for me: \defineframed [WhiteOnBlack] [background=color, backgroundcolor=black, foregroundcolor=white] \setuppagenumbering[command=\WhiteOnBlack,location={footer,margin}] Concerning table of contents label, I will play with it latter. Regards

Re: [NTG-context] Initialisation problem enumeration and way=bysection

2009-08-19 Thread Hans Hagen
as well. The headingnumbers are 1 2 1 2 3 4 5 6 instead of 1 2 3 4 5 6 7 8. can you try this patch (strc-sec.mkiv) \def\dodefineclonedstructurehead#1#2% class parent {\def\currentstructurehead{#1}% \presetlabeltext[#1=]% \doifelse{#1}{#2} {\getparameters[\??nh#1][\c!label=#1

Re: [NTG-context] Initialisation problem enumeration a nd way=bysection

2009-08-19 Thread B. Vogel
}% \presetlabeltext[#1=]% \doifelse{#1}{#2} {\getparameters[\??nh#1][\c!label=#1]% \doifundefined{\??li#1}{\definelist[#1][\c!prefix=\v!no]}}% definestructurelist ? {\getparameters[\??nh#1][\s!parent=\??nh#2,\c!label=#1,\c!coupling=#2]% \definemarking[#1][#2

Re: [NTG-context] tikz

2009-07-21 Thread Mojca Miklavec
@large{\tfa} \def\pgfu...@font@Large{\tfb} \def\pgfu...@font@huge{\tfc} \def\pgfu...@font@Huge{\tfc} \def\pgfu...@font@itshape{\it} \def\pgfu...@font@bfseries{\bf} \let\pgfu...@font@normalfont=\rm \let\pgfu...@selectfont=\rm So it basically forces \rm switch at the beginning of every label. You get

Re: [NTG-context] tikz

2009-07-21 Thread Hans Hagen
at the beginning of every label. You get even more weird results with the following (text is LM, but math is iwona): \usemodule[tikz] \enableregime[utf-8] \usetypescript[iwona][ec] \setupbodyfont[iwona] \starttext \tikz \draw (0cm, 0cm) -- (5cm, 5cm) node {this is cm, but $math\in\Im νοnα$}; \stoptext

Re: [NTG-context] t-vim: inline typing?

2009-07-20 Thread Aditya Mahajan
=\v!mono,\c!color=vimsyntax!default!Statement] \definevimsyntaxsynonyms [Conditional,Repeat,Label,Operator,Keyword,Exception] [Statement] \definevimsyntax [PreProc] [\c!style=\v!mono,\c!color=vimsyntax!default!PreProc] \definevimsyntaxsynonyms [Include,Define,Macro,PreCondit] [PreProc

Re: [NTG-context] alpha release

2009-07-15 Thread Hans Hagen
for pretty printing and can be omitted) context.chapter({ label }, title, true) context.chapter(function() return { label } end, title, true) context.startchapter({ title = test }, { more = oeps }, true) context.starttext(true) context.bTABLE(true) for i=1,10 do context.bTR() for i=1,10 do

Re: [NTG-context] letter/correspondence module

2009-07-03 Thread Henning Hraban Ramm
Am 2009-07-02 um 15:56 schrieb Wolfgang Schuster: I'd like to change the reference table of alternative e a little bit to fit my logo: voffset=130mm, % absolute coordinates hoffset=40mm, width=20mm, % width of label It doesn't work in \setupletterstyle[reference][]. Where must I put

Re: [NTG-context] letter/correspondence module

2009-07-03 Thread Wolfgang Schuster
Am 02.07.2009 um 15:56 schrieb Wolfgang Schuster: I'm only writing letters in one language at a time, so will others. It was only a suggestion to take the key as label as a fallback - mostly it will be easy enough, and you don't need to define a proper label. I have to check if this can

Re: [NTG-context] letter/correspondence module

2009-07-02 Thread Wolfgang Schuster
labels yourself, as long it's comprehensible how to add your own. I will add a section for this but if a label is useful I want to add it to the core. I'm only writing letters in one language at a time, so will others. It was only a suggestion to take the key as label as a fallback - mostly

Re: [NTG-context] mkiv structure

2009-07-02 Thread Alan BRASLAU
this?) % \setuppagenumbering[alternative=doublesided,way=bytext,partnumber=no] \setuphead[part][placehead=yes,resetnumber=no] \doifmode{mkiv}{ \setuphead[part][sectionsegments=1:1] \setupstructureheads[sectionsegments=2:5] } \setuplabeltext[chapter=Chapter ] \setuplist[chapter][label=yes] \setuplist

[NTG-context] references (mainlanguage)

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

Re: [NTG-context] references (mainlanguage)

2009-07-02 Thread Willi Egger
question: How can one \Cap{\in{figure}}? Hm, do not know, my test do not reveal the expected result Third question: Why is the chapter label text blank by default? If I understand you correctly you want Chaptre 1 The title of the chapter. In this case I would say, that this uncommon to use

Re: [NTG-context] references (mainlanguage)

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

Re: [NTG-context] mkiv structure

2009-07-02 Thread Hans Hagen
][label=yes] \setuplist[part,chapter,section,subsection,subsubsection] [partnumber=no,interaction=all,alternative=c] % number – title – dots – pagenumber keys like partnumber (sectionnumber) are obsolete ... and replace by prefxset etc (see strc-def.mkiv for example definitions

Re: [NTG-context] letter/correspondence module

2009-07-01 Thread Henning Hraban Ramm
if you'd also add the label stuff below! The keys street, city and skype aren't defined in your module. There is *no* predefined keys (except line in the reference line) for \setupletter in my module. Ok, in the manual it looks like. You mean because I use always the same keys and all of them

Re: [NTG-context] letter/correspondence module

2009-06-29 Thread Henning Hraban Ramm
a empty line. Woo, I found an accidental feature! ;-) I don't think line is documented in your manual. Id wouldbe great if you'd also add the label stuff below! The keys street, city and skype aren't defined in your module. There is *no* predefined keys (except line in the reference line

Re: [NTG-context] letter/correspondence module

2009-06-29 Thread Wolfgang Schuster
add the label stuff below! The keys street, city and skype aren't defined in your module. There is *no* predefined keys (except line in the reference line) for \setupletter in my module. Ok, in the manual it looks like. You mean because I use always the same keys and all of them work

Re: [NTG-context] label, caption and eps in figures?

2009-06-26 Thread Willi Egger
This is then the approach \setupcaptions[number=no] \starttext \placefigure [here] [fig:foto] {Hacker} {\externalfigure[hacker][width=5cm]} \stoptext Willi On Jun 25, 2009, at 5:06 PM, Pau wrote: hello, No, sorry, probably I was obscure and explained bad I

Re: [NTG-context] label, caption and eps in figures?

2009-06-25 Thread Pau
Hello, was this question too silly, or did it just fall in a bottomless pit? thanks in any case Pau 2009/6/24 Pau vim.u...@googlemail.com: Hello, some weeks ago I asked how to have a caption under a figure. I got a detailed answer: \placefigure   [here]           % location  

Re: [NTG-context] label, caption and eps in figures?

2009-06-25 Thread Willi Egger
You mean no caption at all: \placefigure [here,none] []fig:foto] {} {\externalfigure...} Willi On Jun 25, 2009, at 1:25 PM, Pau wrote: Hello, was this question too silly, or did it just fall in a bottomless pit? thanks in any case Pau 2009/6/24 Pau

Re: [NTG-context] label, caption and eps in figures?

2009-06-24 Thread Pau
Hello, some weeks ago I asked how to have a caption under a figure. I got a detailed answer: \placefigure [here] % location [fig.MyCaption] % reference {My Caption} % caption {\externalfigure[MyFigure.eps][factor=broad]} Now I am preparing a presentation and I would

Re: [NTG-context] label, caption and eps in figures?

2009-06-13 Thread Pau
in ConTeXt of LaTeX \ref{} --- \label{} is label is always an optional arg refs go like: \in{figure}[label] or \at{page}[label] --- \begin{equation} 1 + 1 = 2 \label{eq.1} \end{equation} In Eq. \ref{eq.1}, we show

Re: [NTG-context] label, caption and eps in figures?

2009-06-13 Thread Wolfgang Schuster
Am 13.06.2009 um 14:15 schrieb Pau: Hello, thanks a _lot_ Now I have converted all eps figures into pdf, but I am running yet into another snag... the conversion seems to ruin the bounding box of the eps figures, so that the pdf figures are taking a full a4 site; when I then use them in the

Re: [NTG-context] label, caption and eps in figures?

2009-06-13 Thread Hans Hagen
Pau wrote: Hello, thanks a _lot_ Now I have converted all eps figures into pdf, but I am running yet into another snag... the conversion seems to ruin the bounding box of the eps figures, so that the pdf figures are taking a full a4 site; when I then use them in the main tex file, they are

Re: [NTG-context] label, caption and eps in figures?

2009-06-13 Thread Pau
Thanks again! pstopdf is accomplishing what neither convert, nor ps2pdf, nor etc etc was able to do Thank you very much for the hint Pau 2009/6/13 Hans Hagen pra...@wxs.nl: Pau wrote: Hello, thanks a _lot_ Now I have converted all eps figures into pdf, but I am running yet into another

[NTG-context] label, caption and eps in figures?

2009-06-12 Thread Pau
Hello, I am struggling to get something equivalent to this in ConTeXt: - \begin{figure} \resizebox{\hsize}{!}{\includegraphics[scale=1,bb=0 0 0 0,clip] {MyFigure.eps}} \caption{My Caption \label{fig.mylabel} } \end{figure

Re: [NTG-context] label, caption and eps in figures?

2009-06-12 Thread Hans Hagen
Pau wrote: Hello, I am struggling to get something equivalent to this in ConTeXt: - \begin{figure} \resizebox{\hsize}{!}{\includegraphics[scale=1,bb=0 0 0 0,clip] {MyFigure.eps}} \caption{My Caption \label{fig.mylabel} } \end

Re: [NTG-context] label, caption and eps in figures?

2009-06-12 Thread Pau
Hello, thanks for the hint. The legend worked very well. Nevertheless, I still have not understood what the equivalent in ConTeXt of LaTeX \ref{} --- \label{} is --- \begin{equation} 1 + 1 = 2 \label{eq.1} \end{equation

Re: [NTG-context] label, caption and eps in figures?

2009-06-12 Thread Hans Hagen
Pau wrote: Hello, thanks for the hint. The legend worked very well. Nevertheless, I still have not understood what the equivalent in ConTeXt of LaTeX \ref{} --- \label{} is label is always an optional arg refs go like: \in{figure}[label] or \at{page}[label

Re: [NTG-context] asymptote support

2009-06-03 Thread Michail Vidiassov
=.7\textwidth, label=demo]} fails to work ) I did not investigate the issue in depth yet. What is the state of affairs? Why is movie inclusion broken now? You replied: fixed In what beta? Beta in minimals this morning did not produce error reports at contest movietest.tex stage, as it was before

Re: [NTG-context] asymptote support

2009-06-03 Thread Hans Hagen
][width=0.7\textwidth, height=.7\textwidth, label=demo]} fails to work ) I did not investigate the issue in depth yet. What is the state of affairs? Why is movie inclusion broken now? You replied: fixed In what beta? Beta in minimals this morning did not produce error reports at contest

Re: [NTG-context] asymptote support

2009-06-02 Thread Michail Vidiassov
}{\externalfigure[demo.mov][width=0.7\textwidth, height=.7\textwidth, label=demo]} fails to work ) i did not investigate the issue in depth yet. What is the state of affairs? Why is movie inclusion broken now? Another option is attaching a 3D PDF file to the main PDF (someting like attachfile2 in LaTeX

[NTG-context] asymptote support

2009-05-22 Thread Mojca Miklavec
with the vertical spacing (glue?) otherwise, in a seemingly unpredictable manner. I was able to work around the one problem that I could forsee, with \eject (newpage() in asy, for multipage output). Everything appears to be working: label clipping, minipage, and even functionshading. This was the benefit

[NTG-context] beta (22.05.2009,9:27): textext broken in mkii?

2009-05-22 Thread Peter Rolf
textext at line 4 [MP to PDF] (./textext-mpgraph.1 (./textext.tuo) [..] Best wishes, Peter \setupcolors[state=start] \setuppagenumber[state=stop] \starttext \null \startMPcode fill unitsquare xyscaled(5cm,5cm) withcolor green; label(textext(test),(1cm,1cm)); \stopMPcode \stoptext

Re: [NTG-context] Problem of mptopdf

2009-05-21 Thread Hans Hagen
! The figures are generated from following metapost file: %%% beginfig(2) label(Haha, (2,0)); draw (for i=0 upto 7: dir(135i)-- endfor cycle); endfig; beginfig(5) label(btex Haha etex, (2,0)); draw (for i=0 upto 7: dir(135i

Re: [NTG-context] Label alignment in descriptions

2009-05-20 Thread Tim Wraight
On 19 May 2009, at 22:48, Hans Hagen wrote: Oliver Buerschaper wrote: Hello, I can't get the 'align' parameter to have any effect on label text in definitions. Here is a simple test case: \setuplayout[backspace=40mm] \definedescription [test] [location=inleft, width=25mm, align=left

<    8   9   10   11   12   13   14   15   16   17   >