Re: [NTG-context] LuaJitTeX, \texenginename, and \texengineversion

2013-05-08 Thread Marco Patzer
and not LuaJitTeX - unless I'm doing something wrong. This is by design, see http://comments.gmane.org/gmane.comp.tex.luatex/3000 Marco signature.asc Description: Digital signature ___ If your question

Re: [NTG-context] fontsize drawing in metapost

2013-05-07 Thread Marco Patzer
); \stopuseMPgraphic \starttext \useMPgraphic{foo} \scale[width=3cm]{\useMPgraphic{foo}} \scale[width=3cm,height=5cm] {\useMPgraphic{foo}} \scale[scale=2500] {\useMPgraphic{foo}} \stoptext Marco signature.asc Description: Digital signature

Re: [NTG-context] command for a MP graphic

2013-05-07 Thread Marco Patzer
this to be able to use key-value syntax or default values if you like. Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] [***SPAM***] heading in margin - strange extra vertical spaces

2013-05-04 Thread Marco Patzer
is the line-break in the margin of the second paragraph different than above? The margin box itself is positioned correctly, but I have no clue where the empty line comes from. You can visualise the box with: \setupmarginframed [inouter] [frame=on] Marco signature.asc Description

[NTG-context] Different width of marginblocks and margindata

2013-05-03 Thread Marco Patzer
Text in paragraph. \stopmarginblock \input knuth \inright{Text in paragraph.} \input knuth \stoptext Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Marco Patzer
://www.ntg.nl/pipermail/ntg-context/2013/072892.html Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

[NTG-context] Offset MP text with font change

2013-04-28 Thread Marco Patzer
}; \stopMPcode} \stoptext Marco signature.asc Description: Digital signature ___ 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

Re: [NTG-context] Offset MP text with font change

2013-04-28 Thread Marco Patzer
On 2013–04–28 Wolfgang Schuster wrote: Am 28.04.2013 um 19:56 schrieb Marco Patzer home...@lavabit.com: Hi, why is the second line right-aligned in the following example? The first you use the iwona font in your document context has to load the typescript for it from a external

Re: [NTG-context] Offset MP text with font change

2013-04-28 Thread Marco Patzer
edge-case and there's a simple workaround, see Wolfgangs answer. Except if there's an easy fix for that, I'm personally fine knowing where the spaces are coming from and how to prevent them, which I do now. Marco signature.asc Description: Digital signature

Re: [NTG-context] use plain LuaTeX in ConTeXt standalone

2013-04-27 Thread Marco Patzer
this mtxrun --script plain --make Doesn't work here: ..beta/tex/texmf-context/scripts/context/lua/mtx-plain.lua:61: attempt to get length of local 'fmtpathspec' (a nil value) Marco signature.asc Description: Digital signature

Re: [NTG-context] setuppagenumber--start at page xy

2013-04-27 Thread Marco Patzer
On 2013–04–21 Jörg Hagmann wrote: Has the code for starting pagenumbering at a given number changed? I'm using last year's template for an annual report, but can't get it to work. Minimal example: \setuppagenumber[number=3] \setcounter[userpage][3] Marco signature.asc Description

Re: [NTG-context] Hyphenation documentation

2013-04-27 Thread Marco Patzer
command, it's declarative and doesn't interfere with \asciimode. Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] use plain LuaTeX in ConTeXt standalone

2013-04-20 Thread Marco Patzer
\input luatex-mplib\relax } \edef\fmtversion{\fmtversion+luatex} \dump 2) Build the format: luatex --ini luatex-plain.tex 3) Compile with: luatex --fmt=luatex-plain.fmt somefile.tex Marco signature.asc Description: Digital signature

Re: [NTG-context] use plain LuaTeX in ConTeXt standalone

2013-04-20 Thread Marco Patzer
On 2013–04–20 Tim Li wrote: Marco, many thanks. By the way, how can I load the `luatex-plain.fmt` by default when typing luatex somefile.tex? TeX checks for a format which is named the same as the binary. You can create a link: ln -s /path/to/binary/luatex luatex-plain and then call

Re: [NTG-context] use plain LuaTeX in ConTeXt standalone

2013-04-20 Thread Marco Patzer
\relax \input luatex-mplib\relax } \edef\fmtversion{\fmtversion+luatex} \dump there is a luatex-plain.tex in the context distribution Indeed. That's probably where I got the snippet from. @Tim: That means running luatex --ini luatex-plain.tex is sufficient. Marco signature.asc

Re: [NTG-context] gnuplot module broken

2013-04-19 Thread Marco Patzer
. Marco signature.asc Description: Digital signature ___ 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

Re: [NTG-context] \bTD\numexpr\currentTABLErow\minusone\relax\eTD

2013-04-19 Thread Marco Patzer
On 2013–04–19 Alan BRASLAU wrote: \bTD\numexpr\currentTABLErow\minusone\relax\dTD \bTD\the\numexpr\currentTABLErow-1\relax\eTD Marco signature.asc Description: Digital signature ___ If your question

Re: [NTG-context] Underlay a text with color

2013-04-18 Thread Marco Patzer
\startmarker \input knuth \stopmarker \blank Some \marker{very important} text \stoptext Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well

Re: [NTG-context] [***SPAM***] Underlay a text with color

2013-04-18 Thread Marco Patzer
On 2013–04–18 H. Özoguz wrote: Thanks Marco, but I was not precise enough: I want this underlied gray in the header for the chapter-marking. The direct attempt below fails: \definetextbackground [marker] [background=color, backgroundcolor=gray, frame=off] \setupheadertexts

Re: [NTG-context] [***SPAM***] No line break in figure-captions

2013-04-17 Thread Marco Patzer
On 2013–04–16 H. Özoguz wrote: How to prevent line break in figure captions? \setupcaption [figure] [width=\textwidth, align=middle] Marco signature.asc Description: Digital signature ___ If your

Re: [NTG-context] Detecting reference-errors

2013-04-17 Thread Marco Patzer
to detect wrong references. It's not pretty, but it does it's job reasonably well. pdftotext file.pdf - | grep -E '\?\?|!!' Marco signature.asc Description: Digital signature ___ If your question is of interest

Re: [NTG-context] [***SPAM***] Footnotes indented, but with same distance between text and number

2013-04-17 Thread Marco Patzer
On 2013–04–17 H. Özoguz wrote: How to get the default results with indentation? headalign=left Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please

[NTG-context] LuaTeX error in \showboxes

2013-04-17 Thread Marco Patzer
'__newindex' ...ext-beta/tex/texmf-context/tex/context/base/trac-vis.lua:524: in function 'ruledbox' ...ext-beta/tex/texmf-context/tex/context/base/trac-vis.lua:810: in function 'visualize' Marco signature.asc Description: Digital signature

Re: [NTG-context] LuaTeX error in \showboxes

2013-04-17 Thread Marco Patzer
-context | redirect texlua - luajittex: luajittex --luaonly /home/marco/usr/local/share/context-beta/tex/texmf-linux-64/bin/mtxrun --script context --jit b7r.tex --redirected...r/local/share/context-beta/tex/texmf-linux-64/bin/mtxrun:177: attempt to index field 'searchers' (a nil value) Marco

[NTG-context] \frac broken in current beta

2013-04-16 Thread Marco Patzer
Hi, \starttext \math{\frac12} \stoptext gives ! LuaTeX error [string \directlua ]:1: attempt to call field 'math_frac' (a n il value) stack traceback: [string \directlua ]:1: in main chunk. Marco signature.asc Description: Digital signature

Re: [NTG-context] the difference between \def and \define

2013-04-16 Thread Marco Patzer
On 2013–04–16 Hans Hagen wrote: Marco tries to do something like \define[3]\Test{#one#two#three} which doesn’t work. hm, ok, do \define is not mkvi then ... too messy to catch that one too No need to bother with that. I was just pointing out the differences between \def and \define

Re: [NTG-context] the difference between \def and \define

2013-04-16 Thread Marco Patzer
, \setvalue or texdefinition are being used and \define for in-document markup, wherefore numbered parameters are perfectly fine. The only thing that could be improved is a definition which doesn't interfere with \asciimode, but that's low priority and can easily be worked around. Marco

Re: [NTG-context] how to clear the header and footer in some page?

2013-04-16 Thread Marco Patzer
=empty] \starttext \startchapter [title=Foo] \input knuth \stopchapter \startdedication [title=Dedication] \input knuth \stopdedication \startchapter [title=Bar] \input knuth \stopchapter \stoptext Marco signature.asc Description: Digital signature

Re: [NTG-context] beta

2013-04-16 Thread Marco Patzer
On 2013–04–16 Hans Hagen wrote: - frac fixed Thanks. - fixed more restrictive tex file lookup in run context s-pre-17.mkiv still works on my machine. I'm fine with that, just want to let you know, it might not be the intended behaviour. Marco signature.asc Description: Digital

Re: [NTG-context] Joinedup itemization with margin

2013-04-15 Thread Marco Patzer
On 2013–04–15 H. Özoguz wrote: \startitemize[joinedup, margin=1em] \startitemize[joinedup][margin=1em] Options and key-value pairs cannot be mixed in ConTeXt. Marco signature.asc Description: Digital signature

Re: [NTG-context] options of \setupnotation and \setupnote

2013-04-15 Thread Marco Patzer
-sys.mkiv) ! Missing \endcsname inserted. system tex error on line 1 in file virtual://buffer.noname.2: Missing \endcsname inserted ... empty file to be read again \hsize \namedcounterparameter ...er \csname \??counter #1 Marco signature.asc Description: Digital signature

Re: [NTG-context] the difference between \def and \define

2013-04-15 Thread Marco Patzer
… \stoptexdefinition \starttexdefinition mycmd $#first #second … \stoptexdefinition \starttexdefinition unexpanded mycmd #first #second … \stoptexdefinition Marco signature.asc Description: Digital signature

Re: [NTG-context] the difference between \def and \define

2013-04-15 Thread Marco Patzer
as a number in brackets, which makes it hard to refer to them by name: %% fails, of course \define[2]\foo{#first, #second} Marco signature.asc Description: Digital signature ___ If your question is of interest

Re: [NTG-context] options of \setupnotation and \setupnote

2013-04-15 Thread Marco Patzer
on my side (as Wolfgang already noticed). It's strc-not.mkvi that fails, not core-sys.mkiv. Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add

Re: [NTG-context] combinations

2013-04-15 Thread Marco Patzer
: %% \startcombination [][nx=3, ny=1] %% suggestion, fails at the moment \startcombination [nx=3, ny=1] {a}{x} {b}{x} {c}{x} \stopcombination \stoptext Marco signature.asc Description: Digital signature ___ If your

Re: [NTG-context] vskip in lines

2013-04-15 Thread Marco Patzer
On 2013–04–15 H. Özoguz wrote: With \vskip-0.9cm one can relocate 0.9cm. If one uses grid-setting, it would be easier to give the dimension in lines, like \vskip-2*line – but this gives an error, how to do that correctly? \vskip-\lineheight Marco signature.asc Description: Digital

Re: [NTG-context] Zoom to a box when clicking

2013-04-15 Thread Marco Patzer
-pre-17.mkiv Marco signature.asc Description: Digital signature ___ 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

[NTG-context] Read output of external command

2013-04-14 Thread Marco Patzer
[string \directlua ]:3: attempt to index global 'f' (a nil value) stack traceback: [string \directlua ]:3: in main chunk. Why does this fail in luatex but works in lua5.2 ? What is the correct way to obtain the output of a command? Marco signature.asc Description: Digital signature

Re: [NTG-context] float combinations

2013-04-14 Thread Marco Patzer
On 2013–04–14 Alan BRASLAU wrote: Two problems, though: 1. I tried label= in \setupcaption to suppress Figure . This does not work, and looking at the source I do not see how to do this... \setuplabeltext [figureitem=] Marco signature.asc Description: Digital signature

Re: [NTG-context] float combinations

2013-04-13 Thread Marco Patzer
for consistency, the sole purpose of this feature. Marco signature.asc Description: Digital signature ___ 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] float combinations

2013-04-13 Thread Marco Patzer
\stopcombination \stopplacefigure A cow is shown in \in{figure}{a}[fig:scenery] and a mill in \in{figure}{b}[fig:scenery]. \stoptext Marco signature.asc Description: Digital signature ___ If your question is of interest

[NTG-context] SVG with \externalfigure and http:// handler

2013-04-11 Thread Marco Patzer
Hi, Including local SVG graphics works, so does including remote PNGs. Remote SVGs are not displayed, however. Example: \starttext \externalfigure[http://www.gnu.org/graphics/gnu2.svg] \stoptext Is this not supported or am I missing a required option? Marco signature.asc Description

Re: [NTG-context] markdown: referencing tables

2013-04-10 Thread Marco Patzer
context output filter. Marco signature.asc Description: Digital signature ___ 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

Re: [NTG-context] New user of ConTeXt

2013-04-10 Thread Marco Patzer
. Marco signature.asc Description: Digital signature ___ 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

Re: [NTG-context] Latest beta breaks LuajitTeX

2013-04-04 Thread Marco Patzer
On 2013–04–03 Hans Hagen wrote: On 4/3/2013 12:46 PM, Marco Patzer wrote: Hi, the latest beta throws: mtx-context | redirect texlua - luajittex: luajittex --luaonly /tmp/luajitbug/newbeta/tex/texmf-linux-64/bin/mtxrun --script context --jit t --redirected/tmp/luajitbug/newbeta

Re: [NTG-context] Latest beta breaks LuajitTeX

2013-04-04 Thread Marco Patzer
format is not generated: This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012) \write18 enabled. kpathsea: Running mktexfmt cont-en.fmt mktexfmt: No such file or directory I can't find the format file `cont-en.fmt'! Marco signature.asc Description: Digital signature

Re: [NTG-context] Latest beta breaks LuajitTeX

2013-04-04 Thread Marco Patzer
On 2013–04–04 Marco Patzer wrote: On 2013–04–04 Hans Hagen wrote: Indeed, LuajitTeX works, but you broke MkII. The format generation already fails: … (/tmp/mkiitest/tex/texmf/metapost/base/string.mp (/tmp/mkiitest/tex/texmf-context/metapost/context/base/mp-func.mpii

Re: [NTG-context] manual

2013-04-03 Thread Marco Patzer
On 2013–04–03 Meer H. van der wrote: The latest downloaded ConTeXt manual to be found on my system is: ConTeXt reference manual Hans Hagen, Taco Hoekwater June 1,2011 Is there a more recent one? October 18, 2012: http://wiki.contextgarden.net/Manual_being_revised Marco

[NTG-context] Latest beta breaks LuajitTeX

2013-04-03 Thread Marco Patzer
) Example: \starttext Foobar \stoptext Marco signature.asc Description: Digital signature ___ 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] Latest beta breaks LuajitTeX

2013-04-03 Thread Marco Patzer
On 2013–04–03 luigi scarso wrote: Hans is working on a new beta that (among other things) That's good news. will fix the issue, in the meanwhile you can try to comment the offending line . Not necessary, I'll wait for the new beta. Marco signature.asc Description: Digital signature

Re: [NTG-context] Attach source to pdf

2013-03-28 Thread Marco Patzer
On 2013–03–28 pol stra wrote: Is there a way to automatically attach the source file to the produced pdf? \setupinteraction [state=start] \starttext \attachment[file=attachfile.tex, title=Some file, author=Me] \stoptext signature.asc Description: Digital signature

Re: [NTG-context] userpagenumber

2013-03-27 Thread Marco Patzer
On 2013–03–27 Hans Hagen wrote: (in fact, setting up doublesided should be in setuplayout but i'll keep that one) Perhaps both locations could be supported for some time. \setuppagenumbering is indeed an awkward place to set up the layout. Marco signature.asc Description: Digital signature

[NTG-context] List of bugs and quirks

2013-03-27 Thread Marco Patzer
[Header][Text]; %% error fill Area[Header][Text] shifted Location[Header][Text]; \stopuseMPgraphic \starttext \useMPgraphic{foo} \stoptext % Marco signature.asc Description: Digital signature

Re: [NTG-context] List of bugs and quirks

2013-03-27 Thread Marco Patzer
with an hskip. That said, it's unlikely that *I* will run into issues. And I'm curious about an example where this fails and yields unacceptable results (like the unpatched version does). Thanks Hans for taking the time to look into that. Marco signature.asc Description: Digital signature

Re: [NTG-context] userpagenumber

2013-03-26 Thread Marco Patzer
On 2013–03–26 Thomas A. Schmitz wrote: shouldn't this work? \setupuserpagenumber[number=34] I don't know if that's the recommended way, but I set the page number as follows: \setcounter [userpage] [34] Marco signature.asc Description: Digital signature

[NTG-context] Rebuilding font cache fails

2013-03-26 Thread Marco Patzer
Hi, rebuilding the font cache fails in the latest beta. I didn't check the last few beta, though. mtxrun --script fonts --reload ..beta/tex/texmf-context/scripts/context/lua/mtx-fonts.lua:173: attempt to index global 'arguments' (a nil value) Marco signature.asc Description: Digital

[NTG-context] Framed: Individual background offsets

2013-03-23 Thread Marco Patzer
is applied on all four sides \startfoo \input ward \stopfoo \input knuth %% this is what I'm aiming for \startnarrower [-1cm] \startfoo [backgroundoffset=0cm, loffset=1cm] \input ward \stopfoo \stopnarrower \stoptext Marco signature.asc Description: Digital signature

[NTG-context] [***SPAM***] Re: Framed: Individual background offsets

2013-03-23 Thread Marco Patzer
? It would be intuitive and consistent. Suggestion: content background --- -- offset backgroundoffset loffset backgroundloffset roffset backgroundroffset toffset backgroundtoffset boffset backgroundboffset Marco signature.asc Description: Digital signature

Re: [NTG-context] problem with t-gnuplot.tex

2013-03-21 Thread Marco Patzer
This, however invalidates any later setup. I am working on fixing the module. Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] man pages for ConTeXt: looking for volunteers

2013-03-21 Thread Marco Patzer
run a script an time its run This should be rephrased, although I don't have suggestions since I have no clue what this option is for. Marco signature.asc Description: Digital signature ___ If your question

Re: [NTG-context] chapter titles

2013-03-21 Thread Marco Patzer
There should be more examples on the mailing list, search for \defineheadalternative Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] To update or not to update - that is the question...

2013-03-18 Thread Marco Patzer
files (especially LuaTeX and 3rd party modules) get out of sync you'll run into errors no one else can reproduce. Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well

Re: [NTG-context] TeX macro to MP variable

2013-03-17 Thread Marco Patzer
On 2013–03–16 Aditya Mahajan wrote: See the visualcounter module for an alternative way to pass values from TeX to MP. I see, you create an initialisation graphic and include it where necessary. And it's local to the MP instance. Thanks for the pointer. Marco signature.asc Description

Re: [NTG-context] TeX macro to MP variable

2013-03-17 Thread Marco Patzer
of solutions to pass from TeX to MP. Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

[NTG-context] TeX macro to MP variable

2013-03-16 Thread Marco Patzer
] \useMPgraphic{alpha} %% diameter = 1cm \def\somesize{2cm} \processMPbuffer[foo] \useMPgraphic{alpha} %% diameter = 2cm \stoptext Is there a better way? Marco signature.asc Description: Digital signature ___ If your

Re: [NTG-context] TeX macro to MP variable

2013-03-16 Thread Marco Patzer
mysize withcolor red ; \stopuseMPgraphic However, in the minimal example it works, too. So the problem lies be somewhere else. I will investigate why it fails. I like the MPvar solution and try to get it working. Thanks Marco signature.asc Description: Digital signature

Re: [NTG-context] TeX macro to MP variable

2013-03-16 Thread Marco Patzer
On 2013–03–16 Thomas A. Schmitz wrote: \setupMPvariables [mycircle] [diameter=\Circlediameter, ] MPvariables are local to a particular MP graphic. I need a way to set the variables global to all MPgraphics of that MP instance. Marco signature.asc Description: Digital signature

Re: [NTG-context] TeX macro to MP variable

2013-03-16 Thread Marco Patzer
is MPinitializations, but the values affect all MP instances. I will settle for MPinitializations until I find a better solution, it allows for a cleaner code compared to the MPbuffer workaround. But still, I would prefer to have the setting non-global. Marco signature.asc Description: Digital signature

Re: [NTG-context] reStructuredText module

2013-03-14 Thread Marco Patzer
On 2013–03–14 Philipp Gesang wrote: I’ve been using \start...\stop as a synonym for grouping for ages but never realized it could take an argument. You're not alone :) Marco signature.asc Description: Digital signature

Re: [NTG-context] Separation of delimited text symbol

2013-03-12 Thread Marco Patzer
On 2013–03–08 Wolfgang Schuster wrote: The following change in typo-del.mkiv prevents the line break. […] Thanks Wolfgang for the code and thanks to Hans for incorporating this into the core. Marco signature.asc Description: Digital signature

[NTG-context] Reusing MP graphics

2013-03-11 Thread Marco Patzer
\stopreusableMPgraphic \starttext \reuseMPgraphic{alpha} \reuseMPgraphic{beta} \stoptext Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] [***SPAM***] File access for sourc, graphic, and pictures

2013-03-08 Thread Marco Patzer
. Have a look at the project structure. http://pragma-ade.com/general/magazines/mag-1101.pdf To set the directory for included images, use: \setupexternalfigures [directory=images] To set the directory for included text files, use: \usepath [directory] e.g. \usepath [chapters] Marco

Re: [NTG-context] \simplealignedbox (was: itemize)

2013-03-07 Thread Marco Patzer
within the box. \simplealignedbox{width}{left|right|flushleft|flushright|middle}{content} translates to \hbox to width{content\hss} %% left alignment \hbox to width{\hsscontent} %% right alignment \hbox to width{\hsscontent\hss} \hss pushes the content to the left or right, respectively. Marco

Re: [NTG-context] \usemodule not working in latest beta

2013-03-07 Thread Marco Patzer
is broken please post a minimal example. Marco signature.asc Description: Digital signature ___ 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] Bibliography fails in latest beta

2013-03-06 Thread Marco Patzer
On 2013–03–06 Hans Hagen wrote: i get in the pdf: [1] Hagen, H. (2010b). The font name mess. MAPS, 40, 2-8. I updated the distribution and now it works fine. Either it's fixed now or it was never broken and I messed something up yesterday. Sorry for the noise. Marco signature.asc

Re: [NTG-context] text overlayed

2013-03-04 Thread Marco Patzer
, foregroundstyle=bolditalic, foregroundcolor=darkred, background=encadrement] \starttext \boxframed{Devoir de mathématiques} \blank [2cm] \boxframed{Devoir de mathématiques and some more text} \stoptext Marco signature.asc Description: Digital signature

Re: [NTG-context] itemize

2013-03-04 Thread Marco Patzer
}{flushright}] \starttext \startitemize [n, packed, columns] \dorecurse{32}{\startitem foo \stopitem} \stopitemize \stoptext Marco signature.asc Description: Digital signature ___ If your question is of interest

Re: [NTG-context] itemize

2013-03-04 Thread Marco Patzer
, will be so kind as put this there. Done. Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

[NTG-context] Understanding \lesshyphens

2013-03-04 Thread Marco Patzer
] %% works \lesshyphens%% no effect \starttext \input zapf \stoptext Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] To update or not to update - that is the question...

2013-03-02 Thread Marco Patzer
On 2013–03–02 Marcin Borkowski wrote: Is it possible to find the official ConTeXt repo somewhere, There is no official repo. But you can use git://gitorious.org/context/context.git Marco signature.asc Description: Digital signature

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-03-01 Thread Marco Patzer
=darkgreen,numbercolor=darkgreen] None of this has ever given me any problems before. It's easier to tell with a minimal example. But here's a guess. Try \unexpanded\def#1#2\chap{…} or \define[2]\chap{…} Marco signature.asc Description: Digital signature

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-02-28 Thread Marco Patzer
=red] Marco signature.asc Description: Digital signature ___ 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

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-02-28 Thread Marco Patzer
[default] [em=slantedred] \definehighlight [slantedred] [style=slanted, color=red] \starttext foo {\em bar} \stoptext You cannot update, you can try this instead of \definehighlight: \definealternativestyle [slantedred] [{\slanted\color[red]}] Marco signature.asc Description: Digital

Re: [NTG-context] Arranging framed text without gaps

2013-02-28 Thread Marco Patzer
, Paul , Betty \stopMyTable \stoptext Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] default parameter in \definefont

2013-02-26 Thread Marco Patzer
-script fonts -list -all myriad Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?

2013-02-26 Thread Marco Patzer
On 2013–02–26 Hans Hagen wrote: Hans, is this a bug? Has something changed? I don't know .. no example I provided an example in http://www.ntg.nl/pipermail/ntg-context/2013/071552.html However, it seems to be fixed in a recent beta. At least it works for me. Marco signature.asc

Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?

2013-02-26 Thread Marco Patzer
Hi Mikael, your original example works for me with a current beta if you replace uniqueMPgraphic with useMPgraphic. Marco signature.asc Description: Digital signature ___ If your question is of interest to others

Re: [NTG-context] Specifying MP instance for MPpage

2013-02-24 Thread Marco Patzer
On 2013–02–24 Hans Hagen wrote: You can add this to cont-new.mkiv: […] and then do: […] \startMPpage[instance=myinstance,offset=1cm] Thanks Hans for adding this! Marco signature.asc Description: Digital signature

[NTG-context] Specifying MP instance for MPpage

2013-02-23 Thread Marco Patzer
Hi, how to specify a particular MP instance for a MPpage? \defineMPinstance [myinstance] [metafun] [textcolor=green] \starttext \startMPpage draw textext(Foo) scaled 1cm; \stopMPpage \stoptext Marco signature.asc Description: Digital signature

Re: [NTG-context] [***SPAM***] Question about current ConTeXt with XeTeX

2013-02-22 Thread Marco Patzer
file.tex Marco signature.asc Description: Digital signature ___ 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

Re: [NTG-context] Quick slide templates

2013-02-20 Thread Marco Patzer
] \stopbuffer \dorecurse{10}{%% \blackrule[width=\textwidth] \advance\cnt1cm \hskip\cnt \getbuffer[greenbar]\page} \stoptext Marco signature.asc Description: Digital signature ___ If your question is of interest

[NTG-context] Spurious line when indenting with tabs using database module

2013-02-19 Thread Marco Patzer
\startCSV alpha, 10 beta, 20 gamma, 30 \stopCSV \stopplacetable \stoptext This looks like a bug. Marco signature.asc Description: Digital signature ___ If your question is of interest

Re: [NTG-context] HTML output

2013-02-19 Thread Marco Patzer
. It's a markup language that simply states that *this* element is a header and *that* element is a list, etc. How the HTML is rendered is mostly controlled by the CSS. \stopnitpicking Within the limits of CSS you obtain a quite close match¹. But it's up to you to create the matching CSS. Marco

Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?

2013-02-18 Thread Marco Patzer
On 2013–02–18 Mikael P. Sundqvist wrote: Thank you Marco for giving a better example. I thought that uniqueMPgraphic meant it was redrawn everytime while useMPgraphic meant it was done once and then gave the same result everytime used. http://thread.gmane.org/gmane.comp.tex.context/79507

[NTG-context] gnuplot module broken

2013-02-18 Thread Marco Patzer
Hi Mojca et al. todays beta broke the gnuplot module. This is probably due to the changes in the MP inclusion mechanism. \usemodule [gnuplot] \starttext \stoptext Marco signature.asc Description: Digital signature

Re: [NTG-context] Vertical alignment in combinations?

2013-02-16 Thread Marco Patzer
\stopcombination \stoptext Marco signature.asc Description: Digital signature ___ 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

Re: [NTG-context] # sign in footnotes impossible ?

2013-02-16 Thread Marco Patzer
. Philipps buffer solution seems to work with either version. \asciimode \starttext %% works \startfootnote foo \type{#bar} \stopfootnote %% fails %% \startfootnote %% foo %% \starttyping %%#bar %% \stoptyping %% \stopfootnote \stoptext Marco signature.asc Description: Digital signature

Re: [NTG-context] Search path for external figures changed

2013-02-15 Thread Marco Patzer
, prefix=no] \setupexternalfigures [directory=graphics, location={global,local}] \startMPrun %% works %% input graphics/foo; %% fails input foo; \stopMPrun \starttext \externalfigure [mprun.1] \stoptext Marco signature.asc Description: Digital signature

Re: [NTG-context] Find too long sentences

2013-02-15 Thread Marco Patzer
text editors already know what a sentence is. That means it's as easy as looping over all sentences and counting the characters/bytes and performing some action (e.g. placing the cursor or injecting a ConTeXt macro). Marco signature.asc Description: Digital signature

Re: [NTG-context] Find too long sentences

2013-02-15 Thread Marco Patzer
sentence goto start Or just define a regular expression for a sentence (google is your friend) and use a scripting language directly if your editor is not scriptable. Marco signature.asc Description: Digital signature

<    1   2   3   4   5   6   7   8   9   10   >