[NTG-context] Hidden section - weird counting?

2015-07-09 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, let's have the following example with hidden section: \definehead[HidSec][section] \setuphead[HidSec][placehead=hidden] \starttext \placecontent \hairline \HidSec{A} \subsection{B} \subsection{C} \stoptext It gives: 1.1 B 1 --- 1.2 B 1.2 C Whilst I'd

Re: [NTG-context] Bibliography (bug compiling components-001.tex?) (now with sample files)

2015-07-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello Alan, thanks for the idea. Now I have: Bib6.mkiv, UTF-8 \startbuffer[biblio] @article{Angell, Author = {Marcia Angell}, Journal = {New York Review of Books}, Month = {July 15}, Title = {The Truth About the Drug Companies}, Year = {2004}, } @article{Me, Author =

Re: [NTG-context] Bibliography (bug compiling components-001.tex?) (now with sample files)

2015-07-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Fri, 10 Jul 2015 10:29:52 +0200, Alan BRASLAU alan.bras...@cea.fr wrote: On Fri, 10 Jul 2015 08:47:35 +0200 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: I'm getting Undefined control sequence when I uncomment (2); even though \placepublications is widely cited on wiki (e.g

[NTG-context] Tabulate: lines bellow header

2015-07-11 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, Let's have the following code: \starttext \setuptabulate[header=repeat,split=yes] \starttabulatehead \HL \NC H \NC H \NC\NR \LL % \LL[8] causes error \stoptabulatehead \starttabulate[|l|l|] \dorecurse{50}{ \NC A \NC A \NC\NR \HL[8] }

[NTG-context] beta/7.7.2015: error with \in

2015-07-11 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'm getting the following error: mtx-context | run 1: luatex --fmt=c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde... iv --c:kindofrun=1 --c:maxnofruns=9 --c:nonstopmode --c:path=C:\\Lukas\\ConTeXt\\Styles cont-yes.mkiv This is LuaTeX, Version beta-0.80.1 (TeX

[NTG-context] \setupheadnumber and zero

2015-08-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, can a section head be generated with the number 0 (or less)? Sometimes I need to prepend a section while keeping existing section head numbers... Example: \starttext \setupheadnumber[chapter][-1] \chapter{Ch0} % Getting Ch0 instead of 0. Ch0? \chapter{Ch1} \stoptext

Re: [NTG-context] Table setups interfering with another table?

2015-09-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello Mari, I can see two ways: 1. Enclose each table into \bgroup ... \egroup scope, so all \setupTABLE will be treated local (table_test.mkiv). 2. Perform all setups right after \bTABLE (table_test2.mkiv). This is not applicable in all cases (e.g. \bTABLE[width=\textwidth] must be done

[NTG-context] TOC with too long entry

2015-09-07 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, is there a way to achieve the following look of TOC: " 1 Sec 2 1.1 A very very very very very very long section name ... 2 " ^ ^ | | - aligned here instead of: " 1 Sec 2

Re: [NTG-context] \setupheadnumber and zero

2015-09-09 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Great, thanks for the answer. Lukas On Tue, 08 Sep 2015 21:10:51 +0200, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: Procházka Lukáš Ing. - Pontex s. r. o. <mailto:l...@pontex.cz> 29. August 2015 16:11 Hello, can a section head be generated with the numbe

[NTG-context] Lua file finder for \externalimage

2015-09-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, what is the name of a Lua function (if such function exists) which performs lookup for an image inside \externalimage? I'm asking especially due to the fact that the path here can be modified by [location={...}]. Best regards, Lukas -- Ing. Lukáš Procházka | mailto:l...@pontex.cz

Re: [NTG-context] Lua file finder for \externalimage

2015-09-24 Thread Procházka Lukáš Ing . - Pontex s . r . o .
;Big.png") -- Is there something like "context.ExternalFigureLocator.Find(...)"? \stopluacode Best regards, Lukas On Thu, 17 Sep 2015 14:37:34 +0200, Procházka Lukáš Ing. - Pontex s. r. o. <l...@pontex.cz> wrote: Hello, what is the name of a Lua function (if s

[NTG-context] \nolist deprecated?

2015-12-28 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, \nolist produces "Undefined control sequence" - bug? Deprecated command? Try: \starttext \placecontent \section{Aaa \nolist{Bbb}} \stoptext Best regards, Lukas -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz |

Re: [NTG-context] Switching to landscape

2015-12-28 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, On Mon, 28 Dec 2015 00:06:08 +0100, Wolfgang Schuster wrote: It’s a bug but for the moment you can call \setuplayout (no arguments are necessary) after \setupapersize to have the correct sizes in the PDF. OK, it works. One question related to this

Re: [NTG-context] Plot using pgfplots: order of appearance of two simple plots

2015-12-21 Thread Procházka Lukáš Ing . - Pontex s . r . o .
er 2015 at 13:55, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I'm just starting with pgfplots library. I have two plots, one being filled: \usemodule[pgfplots] \starttext \starttikzpicture \startaxis[legend entries={Sin,Cos}] \addplot+[mark=none] {sin(deg(x))}; \ad

[NTG-context] Pgfplots - "reverse legend" by Lua

2015-12-21 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, one more question about pgfplots & Lua: how to specify "reverse legend" by Lua? Here are some examples: - Plot 1 contains no Lua code and gives the desired result (OK); - Plot 2 uses Lua to specify "legend entries" successfully (OK); - Plot 3 tries to use Lua to specify "reverese

[NTG-context] Plot using pgfplots: order of appearance of two simple plots

2015-12-21 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'm just starting with pgfplots library. I have two plots, one being filled: \usemodule[pgfplots] \starttext \starttikzpicture \startaxis[legend entries={Sin,Cos}] \addplot+[mark=none] {sin(deg(x))}; \addplot+[mark=none,fill]{cos(deg(x))}; \stopaxis

<    1   2   3   4   5   6