Re: [NTG-context] ConTeXt Manual Errata

2013-09-21 Thread Marco Patzer
d grab a coffee. ;) > Section 2.2. > > "It is advisable to type the document setups before the \start--command," -- > What start command? \starttext, perhaps? \starttext, \startdocument, \startcomponent, etc. Marco signature.asc Description: Digital signature

[NTG-context] Conditional float references

2013-09-22 Thread Marco Patzer
the previous page) - it prints the reference and the page if the reference is further away than one page (e.g. Figure 1.2 on page 42) - it adapts to single-sided and double-sided layouts Marco ¹ http://thread.gmane.org/gmane.comp.tex.context/65295 ² http://thread.gmane.org/gmane.comp.tex.cont

Re: [NTG-context] Conditional float references

2013-09-23 Thread Marco Patzer
of after the current page. This is not flexible enough, e.g. it does not take short distances into account (next/previous page), which is nice to have but not required. More important is that it's not aware of the concept of double pages. So the reader is presented with “as we show abo

Re: [NTG-context] Conditional float references

2013-09-24 Thread Marco Patzer
On 2013–09–24 Robert Blackstone wrote: > I reproduce the error message here, hoping that you, or somebody > elsm, can see what I did wrong. I used mkvi style macros. Either place the following into the first line %% macros=mkvi or change the file extension to mkvi. Marco signatu

Re: [NTG-context] Conditional float references

2013-09-25 Thread Marco Patzer
ntended to start a discussion and threw some code in to start with. If there's interest I can make it a module. Thanks for the feedback. Marco signature.asc Description: Digital signature ___ If your question is

[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] Conditional float references

2013-09-25 Thread Marco Patzer
ality exists. My guess that \setupversion[temporary] should do the job was unfortunately wrong. Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entr

Re: [NTG-context] Questions about "natural tables"

2013-09-26 Thread Marco Patzer
\bTD Alpha \eTD \bTD Beta \eTD \eTR \bTR \bTD Gamma \eTD \bTD Delta \eTD \eTR \eTABLE \stopplacetable \stoptext Marco signature.asc Description: Digital signature ___ If

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

Re: [NTG-context] ConTeXt Manual Errata

2013-09-26 Thread Marco Patzer
ill don't get a confirmation, wait until next week, then he'll be back. Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the

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

Re: [NTG-context] ConTeXt Manual Errata

2013-09-27 Thread Marco Patzer
. Still, I would support a change. More importantly I would like to see people actually contributing. Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add a

[NTG-context] Module documentation broken

2013-09-27 Thread Marco Patzer
xt/tex/context/base/node-fnt.lua:129: attempt to index field '?' (a boolean value) system > tex > error on line 20 in file ../meta-pag-mkiv.ted: ? ... Marco signature.asc Description: Digital signature _

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

2013-09-29 Thread Marco Patzer
ny=1] … syntax. It's more contextish and easier to understand, in my opinion. Furthermore, it's not covered in any of the manuals, as far as I know. I hope I phrased my comments in a constructive and helpful manner. Marco signature.asc Description: Digital signature __

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

2013-10-01 Thread Marco Patzer
be really deeply > integrated) Thanks for the explanation. I was looking for a way to do slight letter spacing without breaking ligatures and thought I could leverage the stretch effect for that. Marco signature.asc Descriptio

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

2013-10-01 Thread Marco Patzer
ction returns a truish value for the > given input, ligatures won’t be decomposed and no extra kerning > will be applied. I didn't know ConTeXt supports that. And it's even highly customizable. Thank you very much. Marco signature.asc

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

2013-10-01 Thread Marco Patzer
dPageState; \stopMPinitializations 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] 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

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

2013-10-01 Thread Marco Patzer
s overhead per 1000 graphics, which is negligible, I'd say. Thanks for making ConTeXt easier to use and more predictable. Marco signature.asc Description: Digital signature ___ If your question is of interest to other

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

2013-10-06 Thread Marco Patzer
\externalfigure [hacker] [orientation=46] \stopTEXpage \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

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: > > > >\setupexternalf

[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, p

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_{x

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

Re: [NTG-context] Hooking stoptext

2013-10-08 Thread Marco Patzer
nt:after] \startTEXpage \externalfigure [cow] \stopTEXpage \stopsetups \startdocument \input knuth \stopdocument Marco signature.asc Description: Digital signature ___ If your question is of interest to others

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

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 signat

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

2013-10-08 Thread Marco Patzer
t \url [somelink] \input knuth \stoptext I don't know how to start and stop hyphenation within a paragraph. Allowing hyphenation for the entire paragraph is easy. 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: > 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?

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

2013-10-08 Thread Marco Patzer
yphenminoffset\plusthousand \lang_basics_synchronize_min_max} \protect \setupalign [nothyphenated] \starttext \hyphenatedurl{http://bits.blogs.nytimes.com/2010/03/05/a-former-book-designer-says-good-riddance-to-print/?hpw&_r=0} \input knuth \stoptext Marco signature.asc

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 p

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

2013-10-08 Thread Marco Patzer
lefthyphenmin\maxdimen \righthyphenmin\maxdimen} 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@

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: Di

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

2013-10-09 Thread Marco Patzer
der=0mm, footer=0mm, width=middle, height=middle] \starttext \showframe \midaligned{Hello World!} \showlayout \stoptext Marco signature.asc Description: Digital signature ___ If your question is of inter

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

2013-10-09 Thread Marco Patzer
eakspace] \setuphead [chapter] [conversion=words] \starttext \startchapter [title=Alpha] \stopchapter \startchapter [title=Beta] \stopchapter \startchapter [title=Gamma] \stopchapter \stoptext Marco signature.asc Descripti

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 Descripti

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

2013-10-10 Thread Marco Patzer
[decorations] \starttext \starttikzpicture [decoration={ mark= between positions 0 and 1 step 0.5 with { \draw (0,-2pt) -- (0,2pt);}}] \draw node {foo}; \stoptikzpicture \stoptext Marco signature.asc Description: Digital signature _

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

2013-10-10 Thread Marco Patzer
plied, colour is ignored \processisolatedwords{foo bar}\myframe \stoptext Why is the style applied but not the colour? Marco signature.asc Description: Digital signature ___ If your question is of interest to othe

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

2013-10-10 Thread Marco Patzer
error message you get for that minimal example? Are you running MkII or MkIV? > Without \coordinate it works. What fails? If you remove \coordinate it should fail actually, since the coordinate for (F) is unknown. Or did you mean you replaced (F) with a coordinate like (0,2)? Marco signat

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

2013-10-10 Thread Marco Patzer
on my regular installation (same version). When I run it on a clean minimal installation I get the same error. No clue what's going on and I don't have much time to check at the moment. Marco signature.asc Description: Digital signature

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 insta

Re: [NTG-context] Code Called Twice?

2013-10-11 Thread Marco Patzer
called twice, then I'd > have to add code to ignore one of the calls. Maintain a vector with the last two elements to check against. Marco signature.asc Description: Digital signature ___ If your question is

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 s

[NTG-context] XML export and font switches

2013-10-12 Thread Marco Patzer
uence near '"'. 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.nt

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

2013-10-12 Thread Marco Patzer
tion \startcontent beta \stopcontent \startcaption bar \stopcaption \stopcombination \stoptext Marco signature.asc Description: Digital signature ___ If your question is of interest to others a

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_comb

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

2013-10-13 Thread Marco Patzer
shifted (0,-.5cm); > \stopMPpage > > \stoptext This stretches the text. One has to use \hskip to squeeze the text back to its normal inter character space, but I assume that's what you meant by clumsy. I assume the OP wan

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] > > [styl

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

2013-10-13 Thread Marco Patzer
> \stopformula > > ...seems to raise the following error... > > ! Undefined control sequence. It has been fixed since 2013.10.08 Marco signature.asc Description: Digital signature ___ If

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

[NTG-context] Table in header, or multicolumn header

2013-12-13 Thread Marco Pallante
columns environment (but it doesn't seems to work in headers or footers) or one of the various table environments. Could you give me some advice? I attached a screenshot of what the header looks like in Writer. Thank you, Marco Pallante <>_

Re: [NTG-context] Table in header, or multicolumn header

2013-12-16 Thread Marco Pallante
es it could give unexpected behaviours? What if I don't use xtables in the body, but other tabular environments that allow splitting, such as TABLE or Linetable (I'm reading from the wiki, I never used that)? Thank you very much! Bye, Marco Pallante > > You can try to use a

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

2014-01-07 Thread Marco Pallante
ght place. What I'm doing wrong? Thank you very much, Marco ___ 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/lis

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

2014-01-09 Thread Marco Patzer
pact way. I could use > enumerations but I don't think I should. That depends on your document. You can use sections, enumerations or Wolfgang's annotation module. Marco signature.asc Description: Digital signature ___

[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 o

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: Digit

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

2014-01-09 Thread Marco Patzer
ad [Exercise] [subsection] [after=] \starttext \startExercise [title=This is the exercise's title] The exercise's content. \stopExercise \stoptext Marco signature.asc Description: Digital signature ___ If

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

2014-01-09 Thread Marco Pallante
Hello Marco, First log line reports: ConTeXt ver: 2013.05.28 00:36 MKIV current fmt: 2013.7.29 $ context --version reports: mtx-context | ConTeXt Process Management 0.60 mtx-context | mtx-context | main context file: /usr/local/texlive/2013/texmf-dist/tex/context/base/context.mkiv mtx

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 Pallante
Il giorno gio, 09/01/2014 alle 15.49 +0100, Marco Patzer ha scritto: > 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.

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 > 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 mach

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 >

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

2014-01-10 Thread Marco Pallante
Il giorno gio, 09/01/2014 alle 16.30 +0100, Marco Patzer ha scritto: > On 2014–01–09 Marco Pallante wrote: > > > How do I use LuajitTeX? > > context --jit > > > I've seen the two options --jit and --jiton > > which seem to be the right way. Am I

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

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

2014-01-14 Thread Marco Patzer
s applies globally, though. If that's not desired you can pass options to the \typebuffer command: \typebuffer [a] [option=TEX] Passing a previously defined environment is not supported: %% doesn't work \typebuffer [a] [TeXcode] Marco signature.asc De

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

2014-01-15 Thread Marco Patzer
lelayout] Title \stopmakeup \stopfrontmatter \dorecurse{5}{\input{knuth}} \startplacetable [location=270] \setupTABLE [option=stretch, textwidth=\textheight] \bTABLE \bTR \bTD 1 \eTD \bTD 2 \eTD \eTR \eTABLE \stopplacetable \dorecurse{5}{\input{knuth}} \stoptext Marco signature.a

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? \

Re: [NTG-context] hyphenating \ConTeXt

2014-01-15 Thread Marco Patzer
x\hbox{E}%% \kern-.125\wd\scratchbox X%% \endgroup} \starttext \hsize\zeropoint \ConTeXt \stoptext > Many thanks for your help, My help is conditional in this case. Don't ever let me know *why* you actually want to do this ;) Marco signature.asc Description: D

Re: [NTG-context] Compiling to EPUB

2014-01-16 Thread Marco Patzer
7zip” as well if the Windows binary is really called “7zip” instead of “7z”. I'm wondering why the OP didn't get the following message: “no epub archive made, install one of: ” which should be displayed if no supported zipper is found. Doesn't LuaTeX ship with a zip librar

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

2014-01-17 Thread Marco Patzer
++.ext” or “file.ext” which is what I had expected. I didn't dig into the code to check where the spaces creep in. Regardless if this particular issue gets fixed or not, I doubt that Hans will put much effort into general support for “esoteric” file names. So, it's best to avoid plus s

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 use

Re: [NTG-context] footnotes in appendices

2014-01-19 Thread Marco Patzer
bsection, subsubsection [numbers, characters, Romannumerals, numbers,romannumerals] [numbers] \startsectionblockenvironment [appendix] \setupheads [sectionconversionset=structure] \stopsectionblockenvironment Marco signatur

Re: [NTG-context] Project structure

2014-02-06 Thread Marco Patzer
he first chapter. I don't know know of a command which resets the custom set up paths. If none exists, I doubt it will be hard to implement. > I attached the project structure. Thanks for that. Marco signature.asc Description: D

Re: [NTG-context] Problem with integral sign

2014-02-09 Thread Marco Patzer
the fraction (I assume that's what you meant, by “not looking good”) except using a manual correction (e.g. \!, or \edef\int{\int\mskip-10mu}). As a side note: \mathrm is a font switch, it doesn't take an argument. Use {\mathrm d}x instead of \mathrm{d}x. Marco signature.a

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

2014-02-18 Thread Marco Patzer
I don't have a fix for that. Marco ¹ http://thread.gmane.org/gmane.comp.tex.context/79739 signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry

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

2016-01-13 Thread Marco Patzer
ame}}{is text}{no text}\par zero width: \doifemptyelse{\framed[width=0cm]{frame}}{is empty}{not empty}\par image: \doiftextelse{\externalfigure[cow]}{is text}{no text}\par image: \doifemptyelse{\externalfigure[cow]}{is empty}{not empty}\par \stoptext Ma

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

2016-01-20 Thread Marco Patzer
g", "jpg", "gif"} for _, s in ipairs(formats) do figures.converters[s] = figures.converters[s] or {} figures.converters[s]["invert." .. s] = invert end \stopluacode \setupexternalfigures [conversion=invert.jpg] \setupexternalfigures [locati

[NTG-context] Shading to transparent using withshademethod

2016-01-27 Thread Marco Patzer
hademethod "linear" withshadevector (0,1) % works withshadecolors (red,\MPcolor{blue}) % fails %% withshadecolors (red,\MPcolor{trans}) ; \stopMPcode \stoptext How to make transparent shadings work with the n

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 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=multiply, t=.5, s=.5] > &g

Re: [NTG-context] Distance between items

2016-01-28 Thread Marco Patzer
the distance between items when « packed is left out. \setupitemize [inbetween={\blank[small]}] Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@n

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

2016-01-28 Thread Marco Patzer
ely transparent. But as I don't understand the inner internals, I believe there's a good reason this has been changed. Marco ___ If your question is of interest to others as well, please add an entry to the Wi

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

2016-01-28 Thread Marco Patzer
derstand. Rather it seems to be a more robust way to use transparency and prevent choking on colours that might contain transparent parts. I will shade to the background colour then, which is not that clean but works as well. Anyway, thanks for the quick answer and the clarification. Marco ___

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 wrote: > On 1/28/2016 1:53 PM, Marco Patzer wrote: > > On Thu, 28 Jan 2016 12:33:39 +0100 > > Hans Hagen wrote: > > > >>>>> How to make transparent shadings work with the new mechanism? > &

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 wrote: > On 1/28/2016 3:34 PM, Marco Patzer wrote: > > On Thu, 28 Jan 2016 14:45:13 +0100 > > Hans Hagen wrote: > > > >> On 1/28/2016 1:53 PM, Marco Patzer wrote: > >>> On Thu, 28 Jan 2

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 s

Re: [NTG-context] horizontal list of sections/topics?

2016-02-14 Thread Marco Patzer
asily move the layer to the bottom with \setuplayer [layer:toc:section] [y=\dimexpr\paperheight-6\exheight\relax] Marco ___ If your question is of interest to others as well, please add an entry to the Wiki

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

2016-02-14 Thread Marco Patzer
e shell command: > otfinfo -f I don't know exactly how it's supposed to look like, especially kerning, vertical spacing, etc. Just making sure you know about \applytocharacters: \starttext \applytocharacters\rotate{Foo Bar} \stoptext as well as \handletokens Foo Bar\with\

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

2016-02-16 Thread Marco Patzer
ess.com/2011/09/04/some-thoughts-on-lowering-the-learning-curve-for-using-tex-part-i/ I like the new syntax and almost always use it, but I don't believe it's use is wide-spread. Marco ___ If your question is

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

2016-02-16 Thread Marco Patzer
ant to have a reference > math should appear rather as displayed math. While I agree on that one, writing \math{x^2} clearly states what it is. TeX tradition aside, dollar signs make no sense here and you have to manually match beginning and end. Braces are matched automatically (probably depen

Re: [NTG-context] Buffer with syntax highlighting

2016-02-17 Thread Marco Patzer
On Wed, 17 Feb 2016 13:16:03 +0100 Procházka Lukáš Ing. wrote: > is it possible to \typebuffer with a syntax highlighting? \typebuffer [demo] [option=context] Also have a look at Aditya's vim syntax highlighter module which is great

Re: [NTG-context] Vertically centered text in each page

2016-02-19 Thread Marco Patzer
he issue, it's the space. Works: \setuphead[slide] [page=yes, ] \setuphead[slide] [page=yes%% ] \setuphead[slide] [page=yes%% ] Marco ___ If your question is of interest to others as well, please ad

Re: [NTG-context] Vertically centered text in each page

2016-02-19 Thread Marco Patzer
On Fri, 19 Feb 2016 12:51:14 +0100 Nicola wrote: > On 2016-02-19 11:23:18 +0000, Marco Patzer said: > > > On Fri, 19 Feb 2016 11:54:12 +0100 > > Nicola wrote: > > > >> How do I setup the slide command to do that by default? I have > >> tried puttin

[NTG-context] Expansion in PDF metadata

2016-03-03 Thread Marco Patzer
nput knuth \stopdocument Is there a better mechanism to support multiple languages in the PDF metadata or just have \translate expanded? Marco ___ If your question is of interest to others as well, please add an en

Re: [NTG-context] Expansion in PDF metadata

2016-03-04 Thread Marco Patzer
On Fri, 4 Mar 2016 10:34:49 +0100 Hans Hagen wrote: > On 3/4/2016 7:58 AM, Marco Patzer wrote: > > Hi! > > > > How to expand \translate so that it doesn't show up in the PDF > > metadata? Example: > > > > \setupdocument [metadata:title=\doc

Re: [NTG-context] help on def & buffer

2016-03-30 Thread Marco Patzer
luding sagemath output) could be done > differently, but this was > the first (and only ;-)) idea I came up with. I don't know sagemath but I assume this is a use case for Aditya's filter module¹. It's included in the distribution. Marco

Re: [NTG-context] Assigning a variable to the list argument in \setupsection

2016-04-14 Thread Marco Patzer
first section. > \stopsection > > \startsection [title={Second}, list={\getvariable{TOC}{list}}] I suspect issues with the order of expansion because it works with \expanded{\startsection [title={Second}, list={\getvariable{TOC}{list}}]} Marco ___

[NTG-context] listalternative and filler throws error

2016-05-05 Thread Marco Patzer
iller]}] \starttext \completecontent \chapter{Foo} \stoptext Has the interface changed in the mean time or is it a bug? Marco ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] headline and no indent

2016-05-09 Thread Marco Patzer
e=on, > bottomframe=on]\crlf},after={\stopframedtext\blank[4cm]}] That's all not relevant to indenting. It's best to create a small *working* example with only the necessary options. Marco ___ If your question

Re: [NTG-context] starting a chapter on odd page

2016-05-11 Thread Marco Patzer
> \startchapter[various options] > \section{First section} > etc > \stopchapter > > The publisher is asking me to start each chapter on a odd page. Can I > do it by setting some options? \definepagebreak [chapterpagebreak] [ye

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