Re: [NTG-context] [***SPAM***] Continuous preview

2013-08-27 Thread Marco Patzer
On 2013–08–27 Marco Patzer wrote: while true do inotifywait --event modify somefile.tex; context --batchmode somefile.tex done Better: file='somefile.tex' while inotifywait --event modify $file; do context --batchmode $file done For BSDs/MacOS: http://en.wikipedia.org/wiki

Re: [NTG-context] Footnotes italic or normal? And BEFORE for footnotes

2013-09-06 Thread Marco Patzer
On 2013–09–06 H. Özoguz wrote: \starttext {\it This was\footnote{And actually is.} my way of typesetting.} Is\footnote{Another fn.} this not beautiful? \stoptext You see, the first number is italic, the second normal. How can I force ALL fn-numbers to appear in normal style, independent

Re: [NTG-context] Automatic space before question mark

2013-09-06 Thread Marco Patzer
On 2013–09–06 H. Özoguz wrote: I want to set before all question marks of a large document one \narrownobreakspace. Set up the character spacing for the question mark. No changes to the markup required. \definecharacterspacing [MySpacing] \setupcharacterspacing [MySpacing] [\number`?]

Re: [NTG-context] Automatic space before question mark

2013-09-06 Thread Marco Patzer
On 2013–09–06 H. Özoguz wrote: Thanks Marco and Wolfgang! You should thank Hans for implementing all these features. How to define before ? and ! a 0.1 leftspace, but before the combination ?! only ONE 0.1 leftdistance - and not such a distance before the ! for this case? The simplest

Re: [NTG-context] captions in float combinations

2013-09-08 Thread Marco Patzer
On 2013–09–08 Robert Blackstone wrote: In my project I have all figure captions located above the figure. How can I move also these subcaptions to the top, to a position just below the main caption? As far as I can see, this is not supported by the combination mechanism because the captions

Re: [NTG-context] printed ConTeXt manuals

2013-09-08 Thread Marco Patzer
On 2013–09–08 Henning Hraban Ramm wrote: I just wanted to prove that there *are* printed ConTeXt manuals, but had a hard time finding http://www.h2o-boeken.nl/catalog/5 Apparently it’s nowhere linked (Wiki, Pragma, Elvenkind), It's linked from the main wiki page, search for “Physical books”.

Re: [NTG-context] captions in float combinations

2013-09-08 Thread Marco Patzer
On 2013–09–08 Robert Blackstone wrote: The paired figures in my particular project are often of different size, in particular of different height, (but small enough to be placed side by side). The author wants not only the figure captions at the top, but also the figures themselves. You can

Re: [NTG-context] outer floats on doublesided pages

2013-09-10 Thread Marco Patzer
On 2013–09–10 R. Ermers wrote: I have problems with the placement of floats. I need them to be placed in the outer edge of the text, but Context puts them in the middle of the page. The outer, inner, outeredge, inneredge, commands do not work. Right and left do work. You probably confused

Re: [NTG-context] outer floats on doublesided pages

2013-09-10 Thread Marco Patzer
On 2013–09–10 R. Ermers wrote: I want them positioned close to the place in the text which should flow around them. I have seen examples of this made by Context. This can be obtained by specifying default=left, or default=right, only I need the figures to protrude into the (outer) margin. I

Re: [NTG-context] section numbers in margin eventually get placed too far left

2013-09-18 Thread Marco Patzer
On 2013–09–17 Sanjoy Mahajan wrote: Is this a bug, or just a change in setuphead that I didn't take account of? It is a bug. ConTeXt sometimes uses the rightmargindistance for the left margin, which would be correct for a double sided layout, but is definitely wrong for a single sided

Re: [NTG-context] section numbers in margin eventually get placed too far left

2013-09-18 Thread Marco Patzer
On 2013–09–18 Sanjoy Mahajan wrote: Thanks, that fixes my and Marco's test cases. Should I wikify, or will your fix be part of an uncoming beta? No need to wikify. It was a bug which has already been fixed in the latest beta. Marco signature.asc Description: Digital signature

Re: [NTG-context] section numbers in margin eventually get placed too far left

2013-09-18 Thread Marco Patzer
On 2013–09–18 Sanjoy Mahajan wrote: Marco Patzer li...@homerow.info writes: No need to wikify. It was a bug which has already been fixed in the latest beta. Hans is too fast! Note to self: Test every bug candidate also against the latest beta. I meant that Hans already uploaded

[NTG-context] Inline math in table in combination fails

2013-09-18 Thread Marco Patzer
Hi, The following example results in the error “You can't assign a glue_spec node to a prev field” \starttext \startcombination [2*1] {\starttable [|c|] \NC \math{1} \VL\NR\HL \stoptable}{} {\starttable [|c|] \NC \math{2} \VL\NR \stoptable}{} \stopcombination

[NTG-context] Overwriting buffer causes LuaTeX error

2013-09-19 Thread Marco Patzer
Hi, the following example causes 1) strange message: “invalid \starttext ... \stoptext structure” and 2) !LuaTeX error: PDF inclusion: file has changed 'Hga-typeset-buffer-001.pdf' == Fatal error occurred, no output PDF file produced! \starttext \startbuffer [foo] foo \stopbuffer

[NTG-context] Defining multiple enumerations fails

2013-09-19 Thread Marco Patzer
Hi, defining multiple enumerations at the same time used to work. Is this syntax not supported any longer or is it a bug? \defineenumeration [foo, bar] \starttext \foo foo\par \bar bar\par \stoptext Marco signature.asc Description: Digital signature

Re: [NTG-context] Defining multiple enumerations fails

2013-09-20 Thread Marco Patzer
On 2013–09–20 Hans Hagen wrote: On 9/20/2013 12:33 AM, Marco Patzer wrote: Hi, defining multiple enumerations at the same time used to work. Is this syntax not supported any longer or is it a bug? \defineenumeration [foo, bar] \starttext \foo foo\par \bar bar\par \stoptext

[NTG-context] Firstline mechanism broken

2013-09-21 Thread Marco Patzer
Hi, the firstline mechanism seems to be broken. \definefirstline [foo] [alternative=line, color=lightgray] \starttext \setfirstline [foo] \input knuth \par \stoptext Marco signature.asc Description: Digital signature

[NTG-context] Missing { inserted using placefigure and postponing

2013-09-21 Thread Marco Patzer
Hi, I get a “Missing { inserted.” error under certain circumstances. Here is an example: \starttext \blackrule [height=8cm] \startpostponing \placefigure [] {foo}{bar} \stoppostponing \blackrule [height=15cm] \startlines a b \stoplines \stoptext I used black rules

Re: [NTG-context] diameter symbol in ConTeXt?

2013-09-21 Thread Marco Patzer
On 2013–09–21 Xan wrote: \diameter produces a diameter symbol. What is the equivalent in ConTeXt? ⌀ or \varnothing Have a look at char-def.lua for a list of context names for various glyphs. It might make sense to enable the fonts.missing tracker. Then ConTeXt warns you that a particular

Re: [NTG-context] diameter symbol in ConTeXt?

2013-09-21 Thread Marco Patzer
On 2013–09–21 Xan wrote: On 2013–09–21 Xan wrote: \diameter produces a diameter symbol. What is the equivalent in ConTeXt? ⌀ or \varnothing Really varnothing is not the same as diameter (see the reference of LaTeX I posted before) \def\diameter{\char2300} How can I

Re: [NTG-context] ConTeXt Manual Errata

2013-09-21 Thread Marco Patzer
On 2013–09–18 Thangalin wrote: Hi Dave, During a recent plane ride, I started to read the ConTeXt manual to get a better understanding: http://www.ctex.org/documents/context/cont-enp.pdf A more recent manual can be found at http://pmrb.free.fr/contextref.pdf If anyone has plans to

[NTG-context] Conditional float references

2013-09-22 Thread Marco Patzer
Hi, a couple of times the question came up¹²³ how to create more intelligent referencing. There are already mechanisms in the core, namely \somewhere and \atpage but they both have drawbacks. \somewhere happily prints its text if the figure is placed on the same double page. In fact, no text at

Re: [NTG-context] Conditional float references

2013-09-23 Thread Marco Patzer
On 2013–09–23 Hans Hagen wrote: a couple of times the question came up¹²³ how to create more intelligent referencing. There are already mechanisms in the core, namely \somewhere and \atpage but they both have drawbacks. \somewhere happily prints its text if the figure is placed on the same

Re: [NTG-context] Conditional float references

2013-09-25 Thread Marco Patzer
On 2013–09–25 Otared Kavian wrote: I have not yet tried it with references to maths formulas, theorems, lemmas and such, Me neither. \ifsinglesided \strc_references_do_relative_else\plusone {\def\strc_references_smart_string{\labeltext\v!nextpage}}

[NTG-context] Wrong spacing using stretch effect

2013-09-25 Thread Marco Patzer
Hi, the stretch effect does not take the final width of the string into account. Is this a bug or a limitation? Example: \starttext (\effect[stretch]{fftabc})\par %% “c” collides with “)” (\kerncharacters[.05]fftabc)%% no collision \stoptext Marco signature.asc Description: Digital

Re: [NTG-context] Questions about natural tables

2013-09-26 Thread Marco Patzer
On 2013–09–26 MANUEL GONZALEZ SUAREZ wrote: My questions are: how do the tables are centered on the page? Horizontal centring is automatically applied when you make it float. Can you change the size of the tables? The width keyword sets the width of the cells. There's also option=stretch.

Re: [NTG-context] ConTeXt Manual Errata

2013-09-26 Thread Marco Patzer
On 2013–09–21 Marco Patzer wrote: I did not have the ConTeXt manual source code on hand, so I could not directly modify it. http://wiki.contextgarden.net/Improving_the_manuals Do not count on someone else to fix it. Create an account and fix what you think could be improved

Re: [NTG-context] ConTeXt Manual Errata

2013-09-26 Thread Marco Patzer
On 2013–09–26 Thangalin wrote: I registered an account, but have not seen any confirmation. Supelec has problems with the mail system at the moment. So Taco doesn't get a notification if someone requests commit access. I cc'd him, so he should get notified that way. In case you still don't get

Re: [NTG-context] ConTeXt Manual Errata

2013-09-26 Thread Marco Patzer
On 2013–09–26 Aditya Mahajan wrote: Wouldn't it be better to move the manuals to github rather than keeping them on an svn server? +1 Marco signature.asc Description: Digital signature ___ If your question is of

Re: [NTG-context] ConTeXt Manual Errata

2013-09-27 Thread Marco Patzer
On 2013–09–26 Peter Münster wrote: On Thu, Sep 26 2013, Aditya Mahajan wrote: Wouldn't it be better to move the manuals to github rather than keeping them on an svn server? Why? In my opinion, for the “3 commits per year” it doesn't really matter which version control system is being

[NTG-context] Module documentation broken

2013-09-27 Thread Marco Patzer
Hi, the module documentation is broken when it contains certain macros, e.g. \METAPOST. mtxrun --script modules --process auto:meta-pag.mkiv yields pagesflushing realpage 1, userpage 1 pagesflushing realpage 2, userpage 1 error:

Re: [NTG-context] Feedback wanted on a ConTeXt tutorial

2013-09-29 Thread Marco Patzer
On 2013–09–29 Mari Voipio wrote: Inspired by some informal discussions at the recent ConTeXt meeting I started to write a *really* basic ConTeXt tutorial. I'm happy to see someone willing to invest time and effort to improve the documentation! I did neither attend the meeting, nor take part in

Re: [NTG-context] Wrong spacing using stretch effect

2013-10-01 Thread Marco Patzer
On 2013–09–30 Hans Hagen wrote: these are unrelated mechanisms where the first one just does some pdf magic ... no feedback to tex about widths (ok, i could write something better but never had and still don't have a reason for that kind of low level pdf based approach to be really deeply

[NTG-context] Automatically loading the page state, LoadPageState

2013-10-01 Thread Marco Patzer
Hi, I wonder if it's necessary to manually load the MetaPost variables using LoadPageState. Some of them are static and do not require an update on each page, e.g. NOfPages, but many of them might change on each page, e.g. OnOddPage, PageNumber, TextWidth. Forgetting to use LoadPageState easily

Re: [NTG-context] Automatically loading the page state, LoadPageState

2013-10-01 Thread Marco Patzer
On 2013–10–01 Marco Patzer wrote: Hi, I wonder if it's necessary to manually load the MetaPost variables using LoadPageState. Some of them are static and do not require an update on each page, e.g. NOfPages, but many of them might change on each page, e.g. OnOddPage, PageNumber, TextWidth

Re: [NTG-context] Automatically loading the page state, LoadPageState

2013-10-01 Thread Marco Patzer
On 2013–10–01 Hans Hagen wrote: in mkiv the overhead is less than in mpii as we don't parse the blob in the same way and the mpiv code is also more optimized so we can consider dropping the SetPageState macro. I see you decided to drop LoadPageState. It's about 20ms overhead per 1000

[NTG-context] TEXpage produces wrong bounding box with rotated images

2013-10-06 Thread Marco Patzer
Hi, when rotation is used, the TEXpage bounding box is incorrect. Angles multiples of 90° are correct, however. It looks like a bug. Example: \setupexternalfigures [location=default] \starttext \startTEXpage \externalfigure [hacker] [orientation=44] \stopTEXpage \startTEXpage

Re: [NTG-context] TEXpage produces wrong bounding box with rotated images

2013-10-07 Thread Marco Patzer
On 2013–10–07 Hans Hagen wrote: On 10/6/2013 9:15 PM, Marco Patzer wrote: Hi, when rotation is used, the TEXpage bounding box is incorrect. Angles multiples of 90° are correct, however. It looks like a bug. Example: \setupexternalfigures [location=default] \starttext \startTEXpage

[NTG-context] Integral subscript leads to “Undefined control sequence”

2013-10-07 Thread Marco Patzer
Hi, the current beta doesn't like integral subscripts any more: \starttext \math{\int_a} \stoptext Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please

Re: [NTG-context] Integral subscript leads to “Undefined control sequence”

2013-10-07 Thread Marco Patzer
On 2013–10–07 luigi scarso wrote: I think a space is needed as in $\int _a^b f(x) dx$ Well, that might be a workaround. But it's still a bug. %% works \math{\int^b_a} whereas %% fails \math{\int_a^b} Furthermore, it used to work for ages using \int_x or \int_{xyz}. Marco

Re: [NTG-context] Breaks in TOC

2013-10-07 Thread Marco Patzer
On 2013–10–07 H. Özoguz wrote: How to get only a normal break \crlf 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] Hooking stoptext

2013-10-08 Thread Marco Patzer
On 2013–10–08 Procházka Lukáš Ing. - Pontex s. r. o. wrote: I'm trying to hook commands.stoptext()... There is already a hook for that. No need to tinker with Lua. \setupexternalfigures [location=default] \setupdocument [after=\setups{document:after}] \startsetups [document:after]

Re: [NTG-context] Hooking stoptext

2013-10-08 Thread Marco Patzer
On 2013–10–08 Marco Patzer wrote: On 2013–10–08 Procházka Lukáš Ing. - Pontex s. r. o. wrote: I'm trying to hook commands.stoptext()... There is already a hook for that. No need to tinker with Lua. \setupexternalfigures [location=default] \setupdocument [after=\setups

Re: [NTG-context] Mathematics (\lim, \int, ...)

2013-10-08 Thread Marco Patzer
On 2013–10–08 Alan BRASLAU wrote: Is something gone funny with mathematics? http://thread.gmane.org/gmane.comp.tex.context/84607/focus=84616 It was a bug which has been fixed in the current beta. Marco signature.asc Description: Digital signature

Re: [NTG-context] hyphenate urls in a non hyphenated text

2013-10-08 Thread Marco Patzer
On 2013–10–08 Hans Hagen wrote: \hyphenateurl{} works only when setupalign[] is set to hyphenated. Is there a way to hyphenate only URLs? You need to provide a few more options to \setupalign: Why? \appendtoks\tttf\to\everyhyphenatedurl % maybe we need a proper setup Isn't that what

Re: [NTG-context] hyphenate urls in a non hyphenated text

2013-10-08 Thread Marco Patzer
On 2013–10–08 Hans Hagen wrote: On 10/8/2013 7:35 PM, Marco Patzer wrote: On 2013–10–08 Hans Hagen wrote: \hyphenateurl{} works only when setupalign[] is set to hyphenated. Is there a way to hyphenate only URLs? You need to provide a few more options to \setupalign: Why

Re: [NTG-context] hyphenate urls in a non hyphenated text

2013-10-08 Thread Marco Patzer
On 2013–10–08 Stéphanie Vilayphiou wrote: I'd like to try a minimal example of your second email, Hans, but I can't figure out how to use those functions? Can you make another minimal example so that I can understand better how this works? It's sufficient to copy-paste the code into your

Re: [NTG-context] Conditional float references

2013-10-08 Thread Marco Patzer
On 2013–09–22 Marco Patzer wrote: a couple of times the question came up¹²³ how to create more intelligent referencing. There are already mechanisms in the core, namely \somewhere and \atpage but they both have drawbacks. \somewhere happily prints its text if the figure is placed on the same

Re: [NTG-context] hyphenate urls in a non hyphenated text

2013-10-08 Thread Marco Patzer
On 2013–10–09 Stéphanie Vilayphiou wrote: Ah ok, I tried it in Context live first and it didn't output a PDF, ConTeXt live runs 2012.05.30 11:26. However, the hyphenation macros were redone in beta 2013.03.04 18:28 and macros such as \sethyphenationvariables were replaced by

Re: [NTG-context] startitemize [intext]

2013-10-09 Thread Marco Patzer
On 2013–10–09 Alan BRASLAU wrote: I would expect the following minimal example to produce a. first b. second c. third \starttext \startitemize [a,intext] \startitemize [a,text] Marco signature.asc Description: Digital signature

Re: [NTG-context] [***SPAM***] Page layout mechanics

2013-10-09 Thread Marco Patzer
On 2013–10–09 hwit...@gmail.com wrote: I want a 3 mm border/edge and the rest of the space available for text space. \definepapersize [business-card] [width=91mm, height=55mm] \setuppapersize [business-card] \setuplayout [backspace=3mm, topspace=3mm, margin=0mm,

Re: [NTG-context] Spelling out chapter numbers for novels.

2013-10-09 Thread Marco Patzer
On 2013–10–09 john Culleton wrote: It is now fashionable in the U.S. (and maybe elsewhere) to use a spelled-out chapter number in novels. […] I wonder if there is a function in Context or elsewhere that does this for me? \setuplabeltext [chapter=Chapter\nobreakspace] \setuphead

Re: [NTG-context] Spelling out chapter numbers for novels.

2013-10-09 Thread Marco Patzer
On 2013–10–09 john Culleton wrote: Very interesting. I have one further problem. The accepted style is to use an initial cap as in Twenty-three and not twenty-three Is there a cure for that also? Words Marco signature.asc Description: Digital signature

Re: [NTG-context] Possibly bug in ConTexT with TikZ

2013-10-10 Thread Marco Patzer
On 2013–10–10 Xan wrote: with this code: % Paràbola amb Focus = (0,0.25) i Directriu (x,-0.25) \placefigure[here] [taula:construcció-paràbola-1] {Paràbola amb directriu $r$ i focus $F$} {\framed[frame=off]{ \starttikzpicture[domain=(-1):1, scale=4, smooth,decoration={ markings,%

[NTG-context] Setting colour in \processisolatedwords sometimes fails

2013-10-10 Thread Marco Patzer
Hi, setting the colour in \processisolatedwords doesn't always work. \defineframed [myframe] [foregroundstyle=italic, foregroundcolor=blue] \def\mycmd{\blue} \starttext %% frame works \myframe{foo bar} %% colour works \processisolatedwords{foo bar}\mycmd %% style is applied,

Re: [NTG-context] Possibly bug in ConTexT with TikZ

2013-10-10 Thread Marco Patzer
On 2013–10–10 Xan wrote: Minimal example: % Regime \enableregime[utf] Not required if you use MkIV does not work. It works here with 2013.10.09 10:36 using MkIV and MkII. At least I don't get an error and a PDF with a few green blots is created. What's the error message you get for that

Re: [NTG-context] Possibly bug in ConTexT with TikZ

2013-10-10 Thread Marco Patzer
On 2013–10–10 Xan wrote: ! Undefined control sequence. system tex error on line 28 in file /home/xan/fems/proves-context/prova.tex: Undefined control sequence ... 18 \starttikzpicture 19 [decoration={ 20markings, 21mark= 22

Re: [NTG-context] graphictext bug?

2013-10-11 Thread Marco Patzer
On 2013–10–10 Thangalin wrote: Hi, From the October 8, 2010 context mkiv MetaFun manual (section 8.6), the following example does not produce any output beyond the caption: http://wiki.contextgarden.net/ConTeXt_Standalone#Dependencies Do you have pstoedit installed? Marco signature.asc

Re: [NTG-context] Code Called Twice?

2013-10-11 Thread Marco Patzer
On 2013–10–10 Thangalin wrote: I noticed something unexpected with the following code: \enabletrackers[metapost.showlog] \startuseMPgraphic{heading:ThemeTitleStyle} show HEADING:THEMETITLESTYLE; show \MPstring{heading:title}; draw textext( \MPstring{heading:title} ) rotated 5

Re: [NTG-context] graphictext bug?

2013-10-12 Thread Marco Patzer
On 2013–10–12 Thangalin wrote: The log does not contain any error messages. See attached. I didn't test it, but I vaguely have in mind that pstoedit errors do not end up in the log file, only on the console. Marco signature.asc Description: Digital signature

Re: [NTG-context] bug or needs warning documentation

2013-10-12 Thread Marco Patzer
On 2013–10–12 d.henman wrote: I found what I consider a bug in startcombination processing. […] The below fails \starttext \placefigure [here,none] [fig: reference tag] {citation text} { \startcombination[1*2]

Re: [NTG-context] bug or needs warning documentation

2013-10-13 Thread Marco Patzer
On 2013–10–13 Hans Hagen wrote: On 10/13/2013 2:48 AM, Marco Patzer wrote: \unprotect \def\pack_combinations_pickup {\dostarttagged\t!combinationpair\empty \dostarttagged\t!combinationcontent\empty \dogotopar\pack_combinations_pickup_content_indeed} .. ok, patched

Re: [NTG-context] Calling \followtokens from with in metapost

2013-10-13 Thread Marco Patzer
On 2013–10–13 Hans Hagen wrote: inbetween the arcs, that should alsó be drawn). The text should not be stretched but center on the top, flowing evenly distributed on each side. This link will give you an idea:

Re: [NTG-context] XML export and font switches

2013-10-13 Thread Marco Patzer
On 2013–10–13 Hans Hagen wrote: On 10/13/2013 12:42 AM, Marco Patzer wrote: Hi, certain font switches fail when XML export is used. Example: \setupbackend [export=foo.xml] \definehighlight [emph] [style=\ita] %% \bfa works \starttext \ita Foobar%% works Foo \emph

Re: [NTG-context] Broken nightly (2013.10.04)

2013-10-13 Thread Marco Patzer
On 2013–10–13 Kip Warner wrote: I've noticed a problem typesetting my book using ConTeXt nightly version 2013.10.04. The following code... \placeformula[formula:Limit of Verhulst equation] \startformula \lim_{t\to\infty} P(t) = K. \stopformula ...seems

Re: [NTG-context] Calling \followtokens from with in metapost

2013-10-14 Thread Marco Patzer
On 2013–10–14 Marco Patzer wrote: On 2013–10–13 Hans Hagen wrote: inbetween the arcs, that should alsó be drawn). The text should not be stretched but center on the top, flowing evenly distributed on each side. This link will give you an idea: http://www.heilsuefling.is/heilsuefling

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Marco Patzer
On 2014–01–09 Jean-Guillaume wrote: In the subsection head, I would like to suppress the newline between the number and the text, That's controlled by the “after” key. \setuphead [Exercise] [after=] My purpose is to define something like: \definehead[Exercise][subsection]

[NTG-context] \setcharactercasing misbehaviour

2014-01-09 Thread Marco Patzer
Hi, \setcharactercasing requires a new paragraph to work. Seems like a bug to me. \starttext \setcharactercasing[Word]foo %% Uppercase \setcharactercasing[Word]bar %% lowercase \setcharactercasing[Word]bar %% Uppercase \stoptext Marco signature.asc Description: Digital signature

[NTG-context] Language “deo” causes “TeX capacity exceeded” when units are used

2014-01-09 Thread Marco Patzer
Hi, the following example exceeds TeX's capacity: \mainlanguage [deo] \starttext \unit{10 square metre} \stoptext Marco signature.asc Description: Digital signature ___ If your question is of interest to others

Re: [NTG-context] Multipage xtables starts at the wrong page

2014-01-09 Thread Marco Patzer
On 2014–01–07 Marco Pallante wrote: […] What I get, however, is a table that starts at page 2 and not just after the chapter head. The table starts on page one here. Which version are you using? Marco signature.asc Description: Digital signature

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Marco Patzer
On 2014–01–09 Jean-Guillaume wrote: \starttext \definehead[Exercise][subsection] \setuphead [Exercise] [after=] \startExercise[]{(this is the exercise's title)} The exercise's content. \stopExercise \stoptext \definehead [Exercise] [subsection] [after=] \starttext

Re: [NTG-context] Multipage xtables starts at the wrong page

2014-01-09 Thread Marco Patzer
On 2014–01–09 Marco Pallante wrote: Hello Marco, I have no clue where the issue is, but I can confirm that the table starts on page two using version 2013.05.28. It works with a current beta. If want to keep using TeXLive, instead of ConTeXt standalone, one possible workaround would be to use

Re: [NTG-context] Multipage xtables starts at the wrong page

2014-01-09 Thread Marco Patzer
On 2014–01–09 Marco Pallante wrote: How do I use LuajitTeX? context --jit file I've seen the two options --jit and --jiton which seem to be the right way. Am I right? context --help | grep jit --jituse luajittex with jit turned off (only use the faster virtual machine) --jiton

Re: [NTG-context] \setcharactercasing misbehaviour

2014-01-09 Thread Marco Patzer
On 2014–01–09 Hans Hagen wrote: On 1/9/2014 12:56 PM, Marco Patzer wrote: Hi, \setcharactercasing requires a new paragraph to work. Seems like a bug to me. \starttext \setcharactercasing[Word]foo %% Uppercase \setcharactercasing[Word]bar %% lowercase \setcharactercasing

Re: [NTG-context] Multipage xtables starts at the wrong page

2014-01-10 Thread Marco Patzer
On 2014–01–10 Marco Pallante wrote: It seems my TL2013 installation is missing LuajitTeX. Do you know what package has it? You're right, TeXLive apparently doesn't ship LuajitTeX. I don't use TeXLive myself, but have an installation for testing. Having set up the PATH for TeXLive context file

Re: [NTG-context] apply typing environment to \typebuffer

2014-01-14 Thread Marco Patzer
On 2014–01–14 Pablo Rodriguez wrote: I have a presentation that defines a typing environment and I would like to know who to apply it to \typebuffer. Here is a sample: \definetyping[TeXcode][option=TEX] Use: \setuptyping [buffer] [option=TEX] This applies globally, though. If

Re: [NTG-context] Disable balancing of page bottoms

2014-01-15 Thread Marco Patzer
On 2014–01–15 Joshua Krämer wrote: I have found out that I had interpreted the problem wrongly. It is not a problem of balancing, it is a problem of the layout macros. It's not a problem with the macros, it's a consequence of you using them the wrong way. I use a different page layout for

Re: [NTG-context] Disable balancing of page bottoms

2014-01-15 Thread Marco Patzer
On 2014–01–15 Joshua Krämer wrote: Thank you, Marco. The problem with your solution is that in doublesided mode, after \startmakeup ... \stopmakeup, an empty page is inserted, but I need to have text on the back of the page. Do you maybe know how to solve this? \definemakeup

Re: [NTG-context] hyphenating \ConTeXt

2014-01-15 Thread Marco Patzer
On 2014–01–15 Pablo Rodriguez wrote: how should I invoke \hyphenation so it hyphens the \ConTeXt command? \ConTeXt is defined as “Con\TeX t” and \TeX uses kerns and boxes, both of which suppress hyphenation. AFAIK there's no easy way around it. That having said you can surely redefine the \TeX

Re: [NTG-context] Compiling to EPUB

2014-01-16 Thread Marco Patzer
On 2014–01–16 Henning Hraban Ramm wrote: 7zip is not called as „zip“, but „7zip“, On my (Unix) machine it's called as “7z” not “7zip”. I don't know if the binary name differs between the platforms. but ConTeXt’s script relies on an executable „zip“ and probably exactly the syntax of InfoZip

Re: [NTG-context] No bibliography in the output, depends on file name

2014-01-17 Thread Marco Patzer
On 2014–01–15 Nicola wrote: maybe this is a known issue, It's a known fact that context has a different notion of valid file names than your operating system does. This is by design. To quote the manual: “It is highly recommended, that all input files, i.e. the ConTEXt source and other

Re: [NTG-context] hyphenating \ConTeXt

2014-01-17 Thread Marco Patzer
On 2014–01–17 Pablo Rodriguez wrote: On 01/15/2014 11:56 PM, Marco Patzer wrote: On 2014–01–15 Pablo Rodriguez wrote: how should I invoke \hyphenation so it hyphens the \ConTeXt command? \ConTeXt is defined as “Con\TeX t” and \TeX uses kerns and boxes, both of which suppress

Re: [NTG-context] Project structure

2014-02-06 Thread Marco Patzer
On 2014–02–05 pol stra wrote: The problem is that only text of first introduction is used. You can use \allinputpaths to see what's going on. The paths are indeed added and ConTeXt walks through the list and uses a matching file, if found. This happens to always be the file of the first

Re: [NTG-context] Problem with integral sign

2014-02-09 Thread Marco Patzer
On 2014–02–09 Jaroslav Hajtmar wrote: How can type big integral sign to result looked good? Here is my example: \startformula \int \frac{P_n(x)}{Q_m(x)} \, \mathrm{d}x, \quad nm \stopformula I don't know how to reduce the space between the integral sign and the fraction (I assume that's

Re: [NTG-context] Race Condition: Incorrect float numbering

2014-02-18 Thread Marco Patzer
On 2014–02–18 Andreas Schneider wrote: after many experiments I finally was able to extract a (kinda) minimal example that reproduces a problem which is haunting one of my documents. Under certain conditions (apparently a bunch of floats and page breaks) it happens, that a float is

Re: [NTG-context] Underbar offset

2016-05-26 Thread Marco Patzer
On Thu, 26 May 2016 14:48:00 +0200 Mojca Miklavec wrote: > On 25 May 2016 at 17:35, Wolfgang Schuster wrote: > > > > With \shiftup the line under the raised text stays at the same > > position. > > > > \starttext > > \underbar{Test this \shiftup{®}} > > \stoptext

Re: [NTG-context] disappearing margin text

2016-06-22 Thread Marco Patzer
On Wed, 22 Jun 2016 11:52:04 +0200 Jan Willem Flamma wrote: > In the following MWE, the margin text appears at question 1 but not > at question 2. They both appear, but are overlaid (try with different texts). > MWE: > \defineblock[question] > \hideblocks[question] >

Re: [NTG-context] \doiftext vs. \doifemtpy

2016-01-13 Thread Marco Patzer
On Wed, 13 Jan 2016 23:18:03 +0100 Pablo Rodriguez wrote: > which is the difference between \doiftext and \doifempty? First of all, the logic is reversed, \doiftext prints the second argument if the first one contains text, \doifempty does print the second argument if the first

Re: [NTG-context] Shading to transparent using withshademethod

2016-01-28 Thread Marco Patzer
On Thu, 28 Jan 2016 18:26:28 +0100 Hans Hagen <pra...@wxs.nl> wrote: > On 1/28/2016 3:34 PM, Marco Patzer wrote: > > On Thu, 28 Jan 2016 14:45:13 +0100 > > Hans Hagen <pra...@wxs.nl> wrote: > > > >> On 1/28/2016 1:53 PM, Marco Patzer wrote: > >

Re: [NTG-context] Shading to transparent using withshademethod

2016-01-28 Thread Marco Patzer
On Thu, 28 Jan 2016 12:33:39 +0100 Hans Hagen wrote: > >>> How to make transparent shadings work with the new mechanism? > >> > >> withtransparency (1,.5) > > > > However, this makes the entire shade transparent. How to shade from > > one colour to transparent using

Re: [NTG-context] Shading to transparent using withshademethod

2016-01-28 Thread Marco Patzer
On Thu, 28 Jan 2016 12:29:46 +0100 Hans Hagen wrote: > >> How to make transparent shadings work with the new mechanism? > > > >withtransparency (1,.5) > > next beta > > \definecolor [trans] [a=multiply, t=.5, g=.5] > > \startMPpage > fill fullcircle scaled 12cm

Re: [NTG-context] Shading to transparent using withshademethod

2016-01-28 Thread Marco Patzer
On Thu, 28 Jan 2016 09:43:24 +0100 Hans Hagen <pra...@wxs.nl> wrote: > On 1/27/2016 10:05 PM, Marco Patzer wrote: > > The new code appears to work in general, but only if no shading to > > transparent is being used: > > > > \definecolor [trans] [a=mul

Re: [NTG-context] Distance between items

2016-01-28 Thread Marco Patzer
On Thu, 28 Jan 2016 11:48:12 +0100 Otared Kavian wrote: > I don’t remember how to tweak the distance between items: What I > would like to have is a distance between items a little bit bigger > than the distance between them when the option « packed » is given, > but smaller

Re: [NTG-context] anglestriped shifts path

2016-02-04 Thread Marco Patzer
On Wed, 3 Feb 2016 15:27:36 -0500 John Kitzmiller wrote: > I expect anglestriped to work more like fill, but it shifts the path. > Is it intended behavior? > > \startMPpage[offset=2mm] > path p; > p = unitsquare scaled 4cm ; p = fullsquare scaled 4cm ; Marco

[NTG-context] Shading to transparent using withshademethod

2016-01-27 Thread Marco Patzer
Hi, some months ago the withshading, withfromshadecolor etc. have apparently been replaced by the more general withshademethod, withshadevector, withshadecolors, etc. methods. I have issues converting the old withshading code to the withshademethod version. The old code had no problems shading

Re: [NTG-context] Shading to transparent using withshademethod

2016-01-28 Thread Marco Patzer
On Thu, 28 Jan 2016 14:45:13 +0100 Hans Hagen <pra...@wxs.nl> wrote: > On 1/28/2016 1:53 PM, Marco Patzer wrote: > > On Thu, 28 Jan 2016 12:33:39 +0100 > > Hans Hagen <pra...@wxs.nl> wrote: > > > >>>>> How to ma

Re: [NTG-context] Character rotation font feature available?

2016-02-14 Thread Marco Patzer
On Mon, 15 Feb 2016 04:42:31 +0800 Zhichu Chen wrote: > I have some special needs that requires all the characters be rotated > by 90 degrees. I've searched around the web and maybe adding > /FontMatrix [0 1 -1 0 0 0] > to the font descriptor dictionary is helpful. But I

Re: [NTG-context] invert colors in \externalfigure

2016-01-20 Thread Marco Patzer
> How can I invert the colors in the external figure without having > to edit the image file? Based on Peter Münster's grph-downsample.lua here some lines that should get you started. Note that you'll need graphicsmagick (or imagemagick for that matter. In the latter case change the call from `gm

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Marco Patzer
On Tue, 16 Feb 2016 09:22:23 +0100 Nicola wrote: > I read in the wiki (http://wiki.contextgarden.net/Math) that $…$ > for inline math is deprecated in favor of \m{…} and more verbose > variants. Is that really the case? If so, what is the reason and > what are the

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Marco Patzer
On Tue, 16 Feb 2016 08:21:42 -0700 Alan BRASLAU wrote: > I do note that the VIM syntax highlighting routine is pretty poor and > has difficulties around $, which is a symbol that I like using > (unpaired) quite a lot in MetaPost (\startMPcode...\stopMPcode). The stock vim

<    1   2   3   4   5   6   7   8   >