Re: [NTG-context] LMTX deeptextcommand issue

2019-04-02 Thread Jan Tosovsky
On 2019-04-02 Hans Hagen wrote: > On 4/2/2019 8:41 PM, Jan Tosovsky wrote: > > > > my document ends with the index > > > > \startbackmatter > > \chapter{Rejstřík jmenný} > > \start > > \switchtobodyfont[8pt] > > \placeindexname > > \s

[NTG-context] LMTX deeptextcommand issue

2019-04-02 Thread Jan Tosovsky
Dear All, my document ends with the index \startbackmatter \chapter{Rejstřík jmenný} \start \switchtobodyfont[8pt] \placeindexname \stop \stopbackmatter \startbackmatter \chapter{Rejstřík věcný} \start \switchtobodyfont[8pt] \placeindexsubject \stop \stopbackmatter At the beginning there is a

Re: [NTG-context] LuaTex on Windows PCs

2019-03-04 Thread Jan Tosovsky
On 2019-03-04 Hans Hagen wrote: > On 3/4/2019 4:58 PM, Nigel King wrote: > > IT do not seem to be able to install a working version of LuaTeX on PCs. > > I have directed them to ConTeXt Garden but they have had no luck. > > > > https://wiki.contextgarden.net/ConTeXt_Standalone > > download > >

Re: [NTG-context] WYSIWYM editor on top of ConTeXt / Lout

2017-12-06 Thread Jan Tosovsky
On 2017-12-06 Marcin Borkowski wrote: > On 2017-12-06, at 00:01, Jan Tosovsky <j.tosov...@email.cz> wrote: >> On 2017-12-02 Jonas Baggett wrote: >>> >>> This is a blog post I recently published: >>> https://jonas17b.wixsite.com/monsite/home/wysiwym-edi

Re: [NTG-context] WYSIWYM editor on top of ConTeXt / Lout

2017-12-05 Thread Jan Tosovsky
On 2017-12-02 Jonas Baggett wrote: > > This is a blog post I recently published: > https://jonas17b.wixsite.com/monsite/home/wysiwym-editor-on-top-of- > context-lout. > It is about some ideas I have for a WYSIWYM editor like LyX, but it > would be designed for using more than 1 backend (e.g.

Re: [NTG-context] Pretty print Ctx code into HTML

2016-08-24 Thread Jan Tosovsky
On 2016-08-24 Lukáš Procházka wrote: > > does anybody know about a tool (maybe ConTeXt has something like this > built-in) which would convert ConTeXt code into pretty-printed HTML > code? For HTML I'd also consider javascript highlighters https://highlightjs.org/ http://prismjs.com/

Re: [NTG-context] Creating SVG: using MetaFun, exporting proper units, conversion to DXF

2016-06-29 Thread Jan Tosovsky
On 2016-06-29 Mojca Miklavec wrote: > > I want to play with CNC and don't yet have any experience with CAD > software (nor the licence for the expensive ones) other than perhaps > some Blender, so I decided to try to use the super ugly route with > metapost -> svg -> dxf -> g-code for the first

Re: [NTG-context] beta

2016-06-08 Thread Jan Tosovsky
On 2016-06-08 Hans Hagen wrote: > > This version has (experimental) support for color fonts. > ... > svg one uses svg information from the font Btw, SVG fonts were removed from SVG 2.0 and considered as a deprecated feature: http://caniuse.com/#feat=svg-fonts

Re: [NTG-context] Overfull annotations

2016-04-12 Thread Jan Tosovsky
On 2016-04-12 Hans Hagen wrote: > On 4/12/2016 9:11 PM, Jan Tosovsky wrote: > > > > But to be honest, the best for me would be PDF annotations > > (rectangles) placed to that occurrences. In Acrobat Reader > > you can easily list them and automatically navigate

Re: [NTG-context] docbook(5) to context conversion

2016-04-12 Thread Jan Tosovsky
On 2016-02-25 Jan Tosovsky wrote: > On 2016-02-23 David Nebauer wrote: > > On 23/02/16 06:33, Jan Tosovsky wrote: > > > On 2016-02-22 David Nebauer wrote: > > > > > > > > Are there any publicly available solutions for > > > > converting docboo

[NTG-context] Overfull annotations

2016-04-12 Thread Jan Tosovsky
Dear All, thanks to the following command I can already filter out everything except under/overfull cases: context --noconsole source.tex It is nice, but would it be possible to print also affected page numbers of the final PDF file? But to be honest, the best for me would be PDF annotations

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-12 Thread Jan Tosovsky
On 2016-04-12 Wolfgang Schuster wrote: > On 2016-04-12 Jan Tosovsky wrote: > > > I am completely lost. I found page-grd.mkiv, but I have > > no idea what to tweak here. > > > By simple putting \showgrid[reset] at the beginning of > > the document no grid

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-12 Thread Jan Tosovsky
On 2016-04-12 Hans Hagen wrote: > On 4/11/2016 8:13 PM, Jan Tosovsky wrote: > > On 2016-04-10 Hans Hagen wrote: > >> On 4/10/2016 11:26 PM, Pablo Rodriguez wrote: > >>> On 04/10/2016 11:00 PM, Jan Tosovsky wrote: > >>>> On 2016-04-10 Hans Hagen wrot

Re: [NTG-context] Ligature color is not reliable

2016-04-11 Thread Jan Tosovsky
On 2016-04-11 Hans Hagen wrote: > On 4/11/2016 9:06 PM, Jan Tosovsky wrote: > > On 2016-04-09 Jan Tosovsky wrote: > >> > >> for an illustration I wanted to colorize all ligatures, but the > >> following method is not reliable for three character

Re: [NTG-context] Ligature color is not reliable

2016-04-11 Thread Jan Tosovsky
On 2016-04-09 Jan Tosovsky wrote: > > for an illustration I wanted to colorize all ligatures, but the > following method is not reliable for three character ligatures > - which ends up black. > > While tested with Palatino, it can be simulated even with > a

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-11 Thread Jan Tosovsky
On 2016-04-10 Hans Hagen wrote: > On 4/10/2016 11:26 PM, Pablo Rodriguez wrote: > > On 04/10/2016 11:00 PM, Jan Tosovsky wrote: > >> On 2016-04-10 Hans Hagen wrote: > >>> On 4/9/2016 11:22 PM, Jan Tosovsky wrote: > >>>> > >>>

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-10 Thread Jan Tosovsky
On 2016-04-10 Hans Hagen wrote: > On 4/9/2016 11:22 PM, Jan Tosovsky wrote: > > > > since LuaTeXt 0.81 my back-of-the-book index (register) is > > with generated strange background colors. The index title > > is typeset in yellowish background and the left column of

Re: [NTG-context] Protrusion cancellation by index term

2016-04-10 Thread Jan Tosovsky
On 2016-04-03 Hans Hagen wrote: > On 4/1/2016 9:59 PM, Jan Tosovsky wrote: > > On 2016-04-01 Hans Hagen wrote: > >> On 3/31/2016 10:47 PM, Wolfgang Schuster wrote: > >>>> On 2016-03-31 Jan Tosovsky wrote: > >>>> > >>>> I couldn't fi

Re: [NTG-context] Redirect compilation to another .pdf?

2016-04-09 Thread Jan Tosovsky
On 2016-04-09 Pablo Rodriguez wrote: > On 04/09/2016 10:51 PM, Alan BRASLAU wrote: > > On Sat, 9 Apr 2016 22:11:29 +0200 Lukáš Procházka wrote: > > > >> Let's have A.tex to be compiled and an existing A.pdf which > >> cannot be written into, e.g. due to being open by a viewer. > > > > This is

[NTG-context] Weird background colors in autogenerated index

2016-04-09 Thread Jan Tosovsky
Dear All, since LuaTeXt 0.81 my back-of-the-book index (register) is generated with strange background colors. The index title is typeset in yellowish background and the left column of the last index page has a blue background, see the attachment. I've thought I reported it, but it is still

[NTG-context] Ligature color is not reliable

2016-04-09 Thread Jan Tosovsky
Dear All, for an illustration I wanted to colorize all ligatures, but the following method is not reliable for three character ligatures - which ends up black. While tested with Palatino, it can be simulated even with a default font (however there are missing ffi and ffl ligatures).

Re: [NTG-context] Downloading ConTeXt standalone alternatively

2016-04-07 Thread Jan Tosovsky
On 2016-04-07 Hans Hagen wrote: > On 4/7/2016 9:04 PM, Jan Tosovsky wrote: > > > I don't have any computer outside the firewall to tunnel > > the port using 'nc' program as described at > > http://wiki.contextgarden.net/ConTeXt_Standalone - > > and I am on Window

[NTG-context] Downloading ConTeXt standalone alternatively

2016-04-07 Thread Jan Tosovsky
Dear All, I've tried to install ConTeXt at work, but it failed because of blocked 873 port used by rsync. Our admins aren't going to open that port in foreseeable future. I don't have any computer outside the firewall to tunnel the port using 'nc' program as described at

Re: [NTG-context] Microtypography in ConTeXt

2016-04-06 Thread Jan Tosovsky
On 2016-04-06 Hans Hagen wrote: > On 4/5/2016 11:51 PM, Jan Tosovsky wrote: > > On 2016-04-05 Hans Hagen wrote: > >> On 4/5/2016 10:55 PM, Jan Tosovsky wrote: > >>> > >>> according to http://texdoc.net/texmf- > >>> dist/doc/latex/microtype/micr

Re: [NTG-context] Microtypography in ConTeXt

2016-04-05 Thread Jan Tosovsky
On 2016-04-05 Hans Hagen wrote: > On 4/5/2016 10:55 PM, Jan Tosovsky wrote: > > > > according to http://texdoc.net/texmf- > > dist/doc/latex/microtype/microtype.pdf > > pdfTeX offers fine tuning of: > > (1) Character protrusion > > (2) Font expansion >

[NTG-context] Microtypography in ConTeXt

2016-04-05 Thread Jan Tosovsky
Dear All, according to http://texdoc.net/texmf-dist/doc/latex/microtype/microtype.pdf pdfTeX offers fine tuning of: (1) Character protrusion (2) Font expansion (3) Tracking (4) Additional kerning (5) Interword spacing AFAIK ConTeXt covers 1+2+(3?). In recent discussion Hans mentioned

Re: [NTG-context] Alignment for narrower text

2016-04-02 Thread Jan Tosovsky
On 2016-04-02 Wolfgang Schuster wrote: > On 2016-04-01, Jan Tosovsky wrote: > > On 2016-04-01 Hans Hagen wrote: > > > On 2016-03-31, Jan Tosovsky wrote: > > > > > > > > http://tracker.luatex.org/view.php?id=884 > > > > &g

Re: [NTG-context] Alignment for narrower text

2016-04-01 Thread Jan Tosovsky
On 2016-04-01 Hans Hagen wrote: > On 3/31/2016 9:28 PM, Jan Tosovsky wrote: > > On 2016-03-31 Hans Hagen wrote: > >> On 3/30/2016 8:55 PM, Jan Tosovsky wrote: > >>> > >>> http://tracker.luatex.org/view.php?id=884 > >> > >> indent

Re: [NTG-context] Protrusion cancellation by index term

2016-04-01 Thread Jan Tosovsky
On 2016-04-01 Hans Hagen wrote: > On 3/31/2016 10:47 PM, Wolfgang Schuster wrote: > > > On 2016-03-31 Jan Tosovsky wrote: > > > > > > I couldn't find any details for that \leftboundary > > > > spac-ver.mkiv: > > > > \unexpanded\def\

[NTG-context] WIKI - broken links to source files

2016-04-01 Thread Jan Tosovsky
Dear All, there are broken links on several WIKI pages... In e.g. http://wiki.contextgarden.net/Protrusion there is http://source.contextgarden.net/font-ext.lua instead of proper one http://source.contextgarden.net/tex/context/base/font-ext.lua But when the latter link is clicked, instead of

Re: [NTG-context] Recent changes in paragraph composing

2016-04-01 Thread Jan Tosovsky
On 2016-03-31 Schmitz Thomas A. wrote: > > On 2016-03-31 Jan Tosovsky wrote: > > > > In time of producing the result image it was sufficient to set > > the tolerance to 'strict'. > > > > (1) How can this be fixed efficiently? > > The example is missi

[NTG-context] Recent changes in paragraph composing

2016-03-31 Thread Jan Tosovsky
Dear All, when generating example in the following article, I can't get rid of overfull in Old greek paragraph even if the tolerance is set to 'verytolerant'. http://wiki.contextgarden.net/Palatino_Linotype_under_MKIV In time of producing the result image it was sufficient to set the tolerance

Re: [NTG-context] Error - font-otj.lua:1503: attempt to perform arithmetic on local 'rightkern'

2016-03-31 Thread Jan Tosovsky
On 2016-03-31 Hans Hagen wrote: > On 3/30/2016 9:11 PM, Jan Tosovsky wrote: > > > > when generating example from > > > > http://wiki.contextgarden.net/Palatino_Linotype_under_MKIV > > > > I am getting the following error in the latest beta (0.90): >

Re: [NTG-context] Protrusion cancellation by index term

2016-03-31 Thread Jan Tosovsky
On 2016-03-31 Hans Hagen wrote: > On 3/30/2016 9:53 PM, Jan Tosovsky wrote: > > On 2016-03-22 Hans Hagen wrote: > >> On 3/21/2016 10:59 PM, Jan Tosovsky wrote: > >>> On 2014-02-23 Hans Hagen wrote: > >>>> On 2/22/2014 2:38 PM, Jan Tosovsky wr

Re: [NTG-context] Alignment for narrower text

2016-03-31 Thread Jan Tosovsky
On 2016-03-31 Hans Hagen wrote: > On 3/30/2016 8:55 PM, Jan Tosovsky wrote: > > On 2014-01-30 Jan Tosovsky wrote: > >> > >> I'd expect that starting french quote sign outside the left > >> text edge - similarly like it is aligned the main flow when

Re: [NTG-context] Protrusion cancellation by index term

2016-03-30 Thread Jan Tosovsky
On 2016-03-22 Hans Hagen wrote: > On 3/21/2016 10:59 PM, Jan Tosovsky wrote: > > On 2014-02-23 Hans Hagen wrote: > >> On 2/22/2014 2:38 PM, Jan Tosovsky wrote: > >>> On 2014-02-22 Jan Tosovsky wrote: > >>>> > >>>> w

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-30 Thread Jan Tosovsky
On 2016-03-26 Hans Hagen wrote: > > I added final|2*final|3*final|4*final > > where final is a hspace of one em by default > > the only purpose of this feature is to ensure a gap at the end (handy > when there is no indentation) > Does this settings just set \parfillskip XX plus 1fil or there

[NTG-context] Error - font-otj.lua:1503: attempt to perform arithmetic on local 'rightkern'

2016-03-30 Thread Jan Tosovsky
Dear All, when generating example from http://wiki.contextgarden.net/Palatino_Linotype_under_MKIV I am getting the following error in the latest beta (0.90): error: ...ext/tex/texmf-context/tex/context/base/mkiv/font-otj.lua:1503: attempt to perform arithmetic on local 'rightkern' (a table

Re: [NTG-context] Alignment for narrower text

2016-03-30 Thread Jan Tosovsky
On 2014-01-30 Jan Tosovsky wrote: > > I'd expect that starting french quote sign outside the left text edge - > similarly like it is aligned the main flow when the hanging feature is > enabled. > > Now I've found it works as expected when the indenting is di

Re: [NTG-context] Hanging punctuation misalignment in footnotes

2016-03-29 Thread Jan Tosovsky
On 2014-02-23 Wolfgang Schuster wrote: > On 2014-02-22 Jan Tosovsky wrote: > > On 2014-02-22 Jan Tosovsky wrote: > >> > >> when hanging in footnotes is enabled and the starting character > >> is a punctuation, it is not protruded. However, the same character

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-26 Thread Jan Tosovsky
On 2016-03-26 Hans Hagen wrote: > On 3/25/2016 10:57 PM, Jan Tosovsky wrote: > > On 2016-03-25 Hans Hagen wrote: > >> On 3/25/2016 2:40 PM, Jan Tosovsky wrote: > >>> On 2016-03-24 Hans Hagen wrote: > >>>> On 3/24/2016 8:36 PM, Jan Toso

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-25 Thread Jan Tosovsky
On 2016-03-25 Hans Hagen wrote: > On 3/25/2016 2:40 PM, Jan Tosovsky wrote: > > On 2016-03-24 Hans Hagen wrote: > >> On 3/24/2016 8:36 PM, Jan Tosovsky wrote: > >>> > >>> We basically need: > >>> > >>> > >>> and I thoug

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-25 Thread Jan Tosovsky
On 2016-03-24 Hans Hagen wrote: > On 3/24/2016 8:36 PM, Jan Tosovsky wrote: > > > > We basically need: > > > > > > and I thought this is exactly what \parfillskip ensures > > \parfillskip XX plus (hsize - 3*indent) > > > > the fil is taken

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-24 Thread Jan Tosovsky
On 2016-03-24 Hans Hagen wrote: > On 3/23/2016 8:14 PM, Jan Tosovsky wrote: > > On 2016-03-22 Hans Hagen wrote: > >> On 3/22/2016 9:57 PM, Jan Tosovsky wrote: > >>> On 2016-03-22 Hans Hagen wrote: > >>>> On 3/21/2016 8:14 PM, Jan Tosovsky wrote:

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-23 Thread Jan Tosovsky
On 2016-03-22 Hans Hagen wrote: > On 3/22/2016 11:54 AM, Hans Hagen wrote: > > On 3/21/2016 8:14 PM, Jan Tosovsky wrote: > > > when paragraphs are separated by indenting the first line > > > (instead of an empty line), these rules should be followed: > > a

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-23 Thread Jan Tosovsky
On 2016-03-22 Hans Hagen wrote: > On 3/21/2016 8:14 PM, Jan Tosovsky wrote: > > > > when paragraphs are separated by indenting the first line > > (instead of an empty line), these rules should be followed: > > a next beta will provide a bit more control over last

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-22 Thread Jan Tosovsky
On 2016-03-22 Hans Hagen wrote: > On 3/21/2016 8:14 PM, Jan Tosovsky wrote: > > Dear All, > > > > when paragraphs are separated by indenting the first line (instead of > an > > empty line), these rules should be followed: > > > > (1) the last l

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-22 Thread Jan Tosovsky
Hi Michael, On 2016-03-22 Rogers, Michael K wrote: > > Perhaps this? (I'm still better at Plain TeX than ConTeXt.) > > > \starttext > \setupindenting[yes,40pt] > \dimen0=\hsize > \advance\dimen0 by -\parindent > \advance\dimen0 by -2em > \parfillskip=2em plus \dimen0 >

Re: [NTG-context] Protrusion cancellation by index term

2016-03-21 Thread Jan Tosovsky
On 2014-02-23 Hans Hagen wrote: > On 2/22/2014 2:38 PM, Jan Tosovsky wrote: > > On 2014-02-22 Jan Tosovsky wrote: > > > > > > when a punctuated phrase appears at the beginning of the line, > > > it is not protruded correctly when preceded by an index t

[NTG-context] Length range control of the last line of paragraph

2016-03-21 Thread Jan Tosovsky
Dear All, when paragraphs are separated by indenting the first line (instead of an empty line), these rules should be followed: (1) the last line lenght is greater than the left indent xx (2) the last line is shorter than

Re: [NTG-context] docbook(5) to context conversion

2016-02-22 Thread Jan Tosovsky
On 2016-02-22 David Nebauer wrote: > > Are there any publicly available solutions for converting > docbook/docbook5 to context? ... > > * dbcontext > - part of dblatex, abandoned ~10 years ago I used this way some time ago, but it required tweaks in approx 10 xslt files to make it

[NTG-context] Incorrect placement of visualizer vbox in latest beta

2015-11-20 Thread Jan Tosovsky
Dear All, when the following source is processed in the last Beta (0.85 - 2015.11.19 19:13), that visualizer vbox is shifted upwards. \showgrid \starttext \input{tufte} \stoptext Nothing crucial :-) Jan ___ If

[NTG-context] Line height - changes in defaults

2015-10-26 Thread Jan Tosovsky
Dear All, comparing same source generated in 0.80 and in recent 0.81 beta I can see changes in default line height. See the attached image - that black text is the current, the grey is the old one. In my B5 page size there were approx 44 lines while now only 39. It can be reproduced with this

Re: [NTG-context] tex error in curent beta

2015-10-26 Thread Jan Tosovsky
Hi Wolfgang, On 2015-10-26 Wolfgang Schuster wrote: > > Try to make shorter examples by removing layout and font changes when > when they are not necessary. > > \define[1]\ChapterListNumbercommand >{\offset[x=-2cm,width=0pt]{\simplealignedbox{1.5cm}{flushright}{#1}}} > > \setuplist >

Re: [NTG-context] tex error in curent beta

2015-10-24 Thread Jan Tosovsky
On 2015-10-22 Jan Tosovsky wrote: > On 2015-10-16 Jan Tosovsky wrote: > > On 2015-10-15 Wolfgang Schuster wrote: > > > > > > Create a command and apply it to the numbercommand key. > > > > > > \define[1]\ChapterListNumbercommand > > > {\

Re: [NTG-context] tex error in curent beta

2015-10-22 Thread Jan Tosovsky
On 2015-10-16 Jan Tosovsky wrote: > On 2015-10-15 Wolfgang Schuster wrote: > > > > Create a command and apply it to the numbercommand key. > > > > \define[1]\ChapterListNumbercommand > > {\simplealignedbox{\listparameter{width}}{flushright}{#1}} &g

Re: [NTG-context] tex error in curent beta

2015-10-16 Thread Jan Tosovsky
On 2015-10-15 Wolfgang Schuster wrote: > > Create a command and apply it to the numbercommand key. > > \define[1]\ChapterListNumbercommand > {\simplealignedbox{\listparameter{width}}{flushright}{#1}} > > \setuplist > [chapter] > [ > before=, > distance=0.5cm, >

Re: [NTG-context] tex error in curent beta

2015-10-15 Thread Jan Tosovsky
Hi Wolfgang, thanks, On 2015-10-15 Wolfgang Schuster wrote: > On 2015-10-15 Jan Tosovsky wrote: > > > > I am getting tex error > tex error on line 22 in file D:/source.tex: ! > > Missing { inserted > > > > > > \edef > > \currentlistsym

[NTG-context] tex error in curent beta

2015-10-15 Thread Jan Tosovsky
Dear All, I've updated context, tried to regenerate my tex source and it doesn't compile any more. It was Ok in 0.79 (in March). I am getting tex error after these 3 lines (followed by a blank line and other lines): ... \definestructureconversionset[frontpart:pagenumber][][romannumerals]

Re: [NTG-context] Custom XML Export

2015-09-14 Thread Jan Tosovsky
On 2015-09-12 Henning Hraban Ramm wrote: > Am 2015-09-12 um 18:14 schrieb luigi scarso : > > > Do you know a good XSLT processor except Saxon? Its free version is > > just too limited. > > > > xsltproc for xslt 1.0, but you are looking for xslt 2.0 , right ? > > No, the

Re: [NTG-context] ebooks

2015-08-07 Thread Jan Tosovsky
On 2015-08-07 Hans Hagen wrote: http://www.tomsguide.com/us/amazon-kindle-paperwhite,review-2967.html I read under Advanced Typesetting ... improved character placement and spacing, with advanced kerning and ligatures ...books with this enhanced typesetting are not easy to find which

[NTG-context] Open LaTeX Studio project

2015-05-22 Thread Jan Tosovsky
Dear All, I've just stumbled upon a new editor for LaTeX source: https://blogs.oracle.com/geertjan/entry/open_latex_studio Maybe ConTeX could be integrated as well in the future... In the light of various services like https://www.sharelatex.com/ https://www.authorea.com/

Re: [NTG-context] ConTeXt installation problem with Windows 8.1

2015-04-29 Thread Jan Tosovsky
On 2015-04-29 Mojca Miklavec wrote: On Wed, Apr 29, 2015 at 4:28 PM, Jaroslav Hajtmar wrote: The problem may be elsewhere. At my working computer (at work) I have Windows 8.1, and there I ConTeXt standalone installed ok everything works as it should. On my own laptop I install

Re: [NTG-context] Asciidoc to PDF over Context

2015-02-13 Thread Jan Tosovsky
On 2015-02-13 luigi scarso wrote: On 2015-02-12 Tobias Famulla u...@famulla.eu wrote: Context could be the right processor to create beautiful PDFs out of intermediate formats (DocBook 5 or Asciidoc). The DocBook is a huge specification, so I guess that a convert for ConTeXt takes a

Re: [NTG-context] contextual alternates

2015-01-25 Thread Jan Tosovsky
On 2015-01-25 Hans Hagen wrote: On 1/24/2015 2:12 PM, Pablo Rodriguez wrote: I have the following sample: \definefontfeature[default][default][script=latn, calt=yes] \definefontfamily[mainface][serif][Pecita] \setupbodyfont[mainface] \starttext \input zapf

Re: [NTG-context] XML as source (was: E-books and XML)

2014-08-27 Thread Jan Tosovsky
On 2014-08-27 Procházka Lukáš Ing. - Pontex s. r. o. wrote: Which editor(s) (including commercial one(s)) do you usually use to create XML source for Ctx? (Under Windows?) This is IMO the best you can currently get: http://www.oxygenxml.com/xml_author.html - XML input vs. .tex (.cld) source:

Re: [NTG-context] Fonthandling/protrusion question: handling of left margin

2014-07-18 Thread Jan Tosovsky
On 2014-07-18 Hans Hagen wrote: On 7/18/2014 3:10 PM, Wolfgang Schuster wrote: BTW, is it intended that protrusion doesn't work for indented lines? \setupfontprotrusion[mine][vector=punctuation,left=2] \definefontfeature[default][default][protrusion=mine] \setupalign[hanging]

Re: [NTG-context] Testing the param value

2014-07-06 Thread Jan Tosovsky
On 2014-07-05 Wolfgang Schuster wrote: Am 05.07.2014 um 16:47 schrieb Jan Tosovsky: I am hacking the context index entry rendering... ;-) ... but I am stuck with a simple comparison How can I test the given entry if it equals to the specified one? The following code has no effect

Re: [NTG-context] Orphans/Widows in the Index

2014-07-05 Thread Jan Tosovsky
On 2014-06-25 Jan Tosovsky wrote: On 2014-06-23 Jan Tosovsky wrote: On 2014-04-23 Jan Tosovsky wrote: There are also few cases of orphans: ... ... Josef 29 K Karel 69 (! alone !) (end page) - I've found

[NTG-context] Testing the param value

2014-07-05 Thread Jan Tosovsky
Dear All, I am hacking the context index entry rendering... ;-) ... but I am stuck with a simple comparison How can I test the given entry if it equals to the specified one? The following code has no effect. \unexpanded\def\defaultregisterentry#1#2#3#4% % #1:processor #2:internal #3:seeindex

Re: [NTG-context] Conditional keep-with-next rules

2014-06-28 Thread Jan Tosovsky
On 2014-06-27 Jan Tosovsky wrote: Dear All, in my index I can see disturbing page breaks. primary-01 primary-02 secondary-01 --- ( next page ) - secondary-02 primary-03 instead of primary-01 --- ( next page ) - primary-02 secondary-01 secondary-02

[NTG-context] Exporting auto-generated Index/Registers as ConTeXt source

2014-06-28 Thread Jan Tosovsky
Dear All, I'd like to tweak the auto-generated Index. Is there any possibility to export it as the ConTeXt source, modify it and then include instead of auto-generated Index? Thanks, Jan ___ If your question is of

[NTG-context] Conditional keep-with-next rules

2014-06-27 Thread Jan Tosovsky
Dear All, in my index I can see disturbing page breaks. primary-01 primary-02 secondary-01 --- ( next page ) - secondary-02 primary-03 instead of primary-01 --- ( next page ) - primary-02 secondary-01 secondary-02 primary-03 Is it possible to somehow define

[NTG-context] testcolumn error

2014-06-27 Thread Jan Tosovsky
Dear All, the following MWE works fine, but when that 'First line' is uncommented, I am getting 'Undefined control sequence' error in the console (ConTeXt - 2014.06.22). \starttext \startcolumns[n=2] %First Line \testcolumn[2]\input{tufte} \stopcolumns \stoptext Any idea what is wrong here?

Re: [NTG-context] Orphans/Widows in the Index

2014-06-25 Thread Jan Tosovsky
On 2014-06-23 Jan Tosovsky wrote: On 2014-04-23 Jan Tosovsky wrote: in my auto-generated two column index (registry) there are several cases of widows - it is the last item of the given letter which overflows to next column/page: --- (start page) --- Usti 29

Re: [NTG-context] Orphans/Widows in the Index

2014-06-23 Thread Jan Tosovsky
On 2014-04-23 Jan Tosovsky wrote: in my auto-generated two column index (registry) there are several cases of widows - it is the last item of the given letter which overflows to next column/page: --- (start page) --- Usti 29 (! alone !) V Vamberk 18

Re: [NTG-context] Experience with DITA XML or XSL/FO

2014-05-25 Thread Jan Tosovsky
Hi Mica, I won't make enough (or any) money to justify the very expensive license for Antenna House or XEP, thus they are not really an option. I find FOP to be really sub par. I fully understand. I was exactly in the same situation few months ago and also found ConTeXt as the only option

Re: [NTG-context] Experience with DITA XML or XSL/FO

2014-05-23 Thread Jan Tosovsky
On 2014-05-22 Mica Semrick wrote: I've been contemplating making a ConTeXt output or parser for DITA XML and was wondering if anyone has worked with DITA and ConTeXt before? If you have and could offer any advice and/code, that would be most helpful! What is your real use case? A typical

Re: [NTG-context] [OT] Typographical quality of various engines

2014-05-15 Thread Jan Tosovsky
On 2014-05-15 Hans Hagen wrote: On 5/14/2014 10:21 PM, Jan Tosovsky wrote: Dear All, I've finished a rough comparision of various engines for their typographical quality: http://drifted.in/publishing/ From my point of view the ConTeXt is the best offering in this field to date, so

Re: [NTG-context] [OT] Typographical quality of various engines

2014-05-15 Thread Jan Tosovsky
On 2014-05-15 luigi scarso wrote: On 5/14/2014 10:21 PM, Jan Tosovsky wrote: I've finished a rough comparision of various engines for their typographical quality: http://drifted.in/publishing/ Another point could be the server property... the swiglib project is an attempt to cover

[NTG-context] [OT] Typographical quality of various engines

2014-05-14 Thread Jan Tosovsky
Dear All, I've finished a rough comparision of various engines for their typographical quality: http://drifted.in/publishing/ From my point of view the ConTeXt is the best offering in this field to date, so congratulation! If you find something inappropriate or misleading in my text, please

[NTG-context] Proper setting of font features for protrusion/expansion

2014-05-04 Thread Jan Tosovsky
Dear All, e.g. in the last example at http://wiki.contextgarden.net/Protrusion there is the following definition: \definefontfeature[default][default][expansion=quality,protrusion=quality] I understand it overrides default settings and adds these two features. In my code I use the following

Re: [NTG-context] Proper setting of font features for protrusion/expansion

2014-05-04 Thread Jan Tosovsky
On 2014-05-04 Wolfgang Schuster wrote: Am 04.05.2014 um 19:34 schrieb Jan Tosovsky: In my code I use the following shortcut found somewhere: \definefontfamily[palatino][rm][Palatino Linotype][features={default, quality}] Is there any description what that '[features={default

[NTG-context] Advanced ligatures

2014-04-29 Thread Jan Tosovsky
Dear All, is there any way to switch the hlig or dlig features on? The corresponding glyphs are present in the font, but somehow ignored... \definefontfamily[palation][rm][Palatino Linotype] \definefontfeature[f:historical_ligatures][hlig=yes]

Re: [NTG-context] Advanced ligatures

2014-04-29 Thread Jan Tosovsky
On 2014-04-29 Wolfgang Schuster wrote: Am 29.04.2014 um 16:21 schrieb Jan Tosovsky j.tosov...@email.cz: is there any way to switch the hlig or dlig features on? The corresponding glyphs are present in the font, but somehow ignored. The name of the typeface you defined here

[NTG-context] Orphans/Widows in the Index

2014-04-23 Thread Jan Tosovsky
Dear All, in my auto-generated two column index (registry) there are several cases of widows - it is the last item of the given letter which overflows to next column/page: --- (start page) --- Usti 29 (!!! - I would expect to place here also one or better two previous

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-16 Thread Jan Tosovsky
On 2014-03-16 Hans Hagen wrote: On 3/7/2014 6:54 PM, Jan Tosovsky wrote: On 2014-02-26 Jan Tosovsky wrote: when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following example: \setupregister[balance

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-16 Thread Jan Tosovsky
On 2014-03-16 Hans Hagen wrote: On 2014-02-26 Jan Tosovsky wrote: when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following example: \setupregister[balance=no] \starttext \index{primary+secondary

[NTG-context] Regression in register processing in last beta

2014-03-16 Thread Jan Tosovsky
Dear All, I have to admit I use quite cumbersome code to get desired output, but while it was working in previous betas, now emergency stop is reported: 'Extra }, or forgotten \endgroup' Here is MWE: \setupalign[hz, hanging] \setupindenting[medium, yes] \setupnotation[footnote][align={hz,

Re: [NTG-context] Regression in register processing in last beta

2014-03-16 Thread Jan Tosovsky
On 2014-03-16 Jan Tosovsky wrote: Dear All, I have to admit I use quite cumbersome code to get desired output, but while it was working in previous betas, now emergency stop is reported: 'Extra }, or forgotten \endgroup' Here is MWE: \setupalign[hz, hanging] \setupindenting[medium

Re: [NTG-context] Regression in register processing in last beta

2014-03-16 Thread Jan Tosovsky
On 2014-03-16 Hans Hagen wrote: On 3/16/2014 7:25 PM, Jan Tosovsky wrote: Dear All, I have to admit I use quite cumbersome code to get desired output, but while it was working in previous betas, now emergency stop is reported: 'Extra }, or forgotten \endgroup' Here is MWE

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-07 Thread Jan Tosovsky
On 2014-02-26 Jan Tosovsky wrote: when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following example: \setupregister[balance=no] \starttext \index{primary+secondary+tertiary} \index[primary long]{\dorecurse{5

Re: [NTG-context] Footnote mark gap

2014-02-28 Thread Jan Tosovsky
On 2014-02-27 Wolfgang Schuster wrote: Am 27.02.2014 um 23:19 schrieb Thangalin thanga...@gmail.com: Try: \setupfootnotes[ textstyle={\hskip.05em}, ] It's better to add the space with the textcommand key. \setupnote[footnote][textcommand={\hairspace\high}] Thanks! I was

[NTG-context] Footnote mark gap

2014-02-27 Thread Jan Tosovsky
Dear All, when footnotes are placed after certain accented characters, the corresponding footnote marks are rendered too close to them: \starttext í\footnote{í} T\footnote{T} ľ\footnote{ľ} ě\footnote{ě} ď\footnote{ď} \stoptext Is there any option for making this distance a bit larger? On the

[NTG-context] [Index] Indenting long primaries after secondaries

2014-02-26 Thread Jan Tosovsky
Dear All, when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following example: \setupregister[balance=no] \starttext \index{primary+secondary+tertiary} \index[primary long]{\dorecurse{5}{primary long }} \index[primary

Re: [NTG-context] Interaction's focus for footnotes/index entries

2014-02-24 Thread Jan Tosovsky
On 2014-02-24 Rik Kabel wrote: On 2014-02-23 17:24, Jan Tosovsky wrote: 'focus=standard' settings for interaction seems to be supported for ToC only... When any hyperlink for footnote or index is clicked, the zoom is set to FitPage: \setupinteraction[state=start,focus=standard

[NTG-context] Interaction's focus for footnotes/index entries

2014-02-23 Thread Jan Tosovsky
Dear All, 'focus=standard' settings for interaction seems to be supported for ToC only... When any hyperlink for footnote or index is clicked, the zoom is set to FitPage: \setupinteraction[state=start,focus=standard] \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter

Re: [NTG-context] Hanging punctuation misalignment in footnotes

2014-02-22 Thread Jan Tosovsky
On 2014-02-22 Hans Hagen wrote: On 2/22/2014 1:25 AM, Jan Tosovsky wrote: On 2014-02-22 Jan Tosovsky wrote: when hanging in footnotes is enabled and the starting character is a punctuation, it is not protruded. However, the same character in the footnote body works fine. When both cases

Re: [NTG-context] Paragraph - the last line handling

2014-02-22 Thread Jan Tosovsky
On 2014-02-19 Jan Tosovsky wrote: On 2013-11-23 Hans Hagen wrote: On 11/23/2013 2:43 PM, Jan Tosovsky wrote: On 2013-11-23 Hans Hagen wrote: On 11/22/2013 11:07 PM, Jan Tosovsky wrote: in my document there are lot of cases when the last line in the paragraph has a very narrow gap

Re: [NTG-context] Protrusion cancellation by index term

2014-02-22 Thread Jan Tosovsky
On 2014-02-22 Jan Tosovsky wrote: when a punctuated phrase appears at the beginning of the line, it is not protruded correctly when preceded by an index term. ... \index{foo}Bar ... A minimal example is available at http://drifted.in/other/sample.tex I cannot place the space character

  1   2   >