[NTG-context] Centered title with numeration on the same line

2013-06-05 Thread Jan Tosovsky
Dear All, in MkIV when any title is centered, its numeration is placed on a separate line above the title itself. I'd expect inline formatting which could be overridden as described here http://wiki.contextgarden.net/Titles My code: \setuplabeltext[en][chapter=Chapter~] % while for chapter

[NTG-context] Chapter numbering - applying several commands at once

2013-11-17 Thread Jan Tosovsky
Dear All, in my book I'd like to precede my titles with the number formated as 'CHAPTER I.', e.g. roman numeral and all this small caped and also in bold as the title itself. In the following definition I can use either: (1) \sc + \setcharactercasing - small caps + lowercased number (but not

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-17 Thread Jan Tosovsky
On 2013-06-03 Marco Patzer wrote: On 2013–06–03 honyk wrote: in fresh MkIV I use the following commands for building ToC, but I have no idea how to align the label (roman numeral) to the right. The width setting needs to be applied to the chapter list, not the content list, see example

Re: [NTG-context] Chapter numbering - applying several commands at once

2013-11-17 Thread Jan Tosovsky
On 2013-11-17 Wolfgang Schuster wrote: Am 17.11.2013 um 20:02 schrieb Jan Tosovsky: in my book I'd like to precede my titles with the number formated as 'CHAPTER I.', e.g. roman numeral and all this small caped and also in bold as the title itself. Instead of small capitals

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-18 Thread Jan Tosovsky
On 2013-11-17 Jan Tosovsky wrote: On 2013-06-03 Marco Patzer wrote: On 2013–06–03 honyk wrote: in fresh MkIV I use the following commands for building ToC, but I have no idea how to align the label (roman numeral) to the right. The width setting needs to be applied to the chapter

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-18 Thread Jan Tosovsky
On 2013–06–03 honyk wrote: in fresh MkIV I use the following commands for building ToC, but I have no idea how to align the label (roman numeral) to the right. I am almost there, but things get complicated when chapters are combined with preface/index titles without numbering and thus aligned

[NTG-context] PDF bookmarks - incorrect titles for registers

2013-11-18 Thread Jan Tosovsky
Dear All, when I specify custom titles for my registers, they are ignored in bookmarks: \setupinteraction[state=start] \placebookmarks[chapter] \setupinteractionscreen[option=bookmark] \defineregister[indexname][indexnames] \defineregister[indexsubject][indexsubjects]

[NTG-context] Space before chapters

2013-11-19 Thread Jan Tosovsky
Dear All, after two hours of investigating wiki and various commands I am giving up... Is there any way to set a bit of white space before my chapter title? (1) I've thought that before={\blank[20mm]} should do the job. It works for sections, but here I suspect it is ignored as my chapter start

[NTG-context] Linespacing in TOC

2013-11-19 Thread Jan Tosovsky
Dear All, I'd like to tweak a default TOC linespacing... I've 'invented' this: \setupcombinedlist[content][list=chapter, alternative=c] \starttext \title{Table of Contents} \setupinterlinespace[line=0.8ex] % too small, just for testing \placecontent \setupinterlinespace[line=2.75ex]

Re: [NTG-context] Space before chapters

2013-11-19 Thread Jan Tosovsky
On 2013-11-19 Hans Hagen wrote: On 11/19/2013 9:24 PM, Jan Tosovsky wrote: Is there any way to set a bit of white space before my chapter title? (1) I've thought that before={\blank[20mm]} should do the job. It works for sections, but here I suspect it is ignored as my chapter start

Re: [NTG-context] EPUB woes

2013-11-20 Thread Jan Tosovsky
On 2013-11-20 Bill Meahan wrote: On 11/20/2013 8:59 AM, Aditya Mahajan wrote: As far as ConTeXt is concerned, you can process the above XML quite easily. Come to think of it, it may be a useful to provide a module that maps HTML5 to PDF. I would vote for that approach. It is pretty

[NTG-context] Footnote line position

2013-11-22 Thread Jan Tosovsky
Dear All, when a single line footnote is used, the footnote divider is rendered in larger distance than for footnotes with two or more lines (I mean a gap between the line and the footnote text). Initially I though there must be an 'empty' paragraph in my footnote but looking into the source it

Re: [NTG-context] Linespacing in TOC

2013-11-22 Thread Jan Tosovsky
On 2013-11-20 Hans Hagen wrote: On 11/19/2013 11:48 PM, Jan Tosovsky wrote: I'd like to tweak a default TOC linespacing... I've 'invented' this: \setupcombinedlist[content][list=chapter, alternative=c] \starttext \title{Table of Contents} \setupinterlinespace[line=0.8ex

[NTG-context] Paragraph - the last line handling

2013-11-22 Thread Jan Tosovsky
Hello Everyone, in my document there are lot of cases when the last line in the paragraph has a very narrow gap on the right (case 1 below). I understand it is sometimes difficult to squeeze characters to the desired lenght (case 2) without any impact to the final quality, but this looks very

Re: [NTG-context] Linespacing in TOC

2013-11-22 Thread Jan Tosovsky
On 2013-11-22 Hans Hagen wrote: On 11/22/2013 9:44 PM, Jan Tosovsky wrote: On 2013-11-20 Hans Hagen wrote: On 11/19/2013 11:48 PM, Jan Tosovsky wrote: I'd like to tweak a default TOC linespacing... \title{Table of Contents} \start \setupinterlinespace[line=0.8ex] % too

Re: [NTG-context] Linespacing in TOC

2013-11-23 Thread Jan Tosovsky
On 2013-11-23 Jan Tosovsky wrote: On 2013-11-22 Hans Hagen wrote: On 11/22/2013 9:44 PM, Jan Tosovsky wrote: On 2013-11-20 Hans Hagen wrote: On 11/19/2013 11:48 PM, Jan Tosovsky wrote: I'd like to tweak a default TOC linespacing... \title{Table of Contents} \start

Re: [NTG-context] Linespacing in TOC

2013-11-23 Thread Jan Tosovsky
On 2013-11-23 Hans Hagen wrote: On 11/23/2013 12:16 PM, Jan Tosovsky wrote: On 2013-11-23 Jan Tosovsky wrote: On 2013-11-22 Hans Hagen wrote: On 11/22/2013 9:44 PM, Jan Tosovsky wrote: On 2013-11-20 Hans Hagen wrote: On 11/19/2013 11:48 PM, Jan Tosovsky wrote: I'd like to tweak

[NTG-context] Eliminating orphans/widows when grid is on

2013-11-23 Thread Jan Tosovsky
Dear All, when the grid is switched on in my document, there are lots of orphan and widows in the output. \setuplayout[grid=yes] % grid=tolerant doesn't help According to the manual the grid typesetting is a solely ConTeXt feature not available in the core TEX. Is it production ready? Are

Re: [NTG-context] Linespacing in TOC

2013-11-23 Thread Jan Tosovsky
On 2013-11-23 Hans Hagen wrote: On 11/23/2013 1:44 PM, Jan Tosovsky wrote: On 2013-11-23 Hans Hagen wrote: normally linespacing in the toc is the same as in the rest of the document unless one has assigned to before/after This example shows different behaviour: \showgrid

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

2013-11-23 Thread Jan Tosovsky
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 on the right. \hsize 15.4cm \input tufte \parfillskip30pt plus 1 fill \input tufte Wow, exactly! Thanks

Re: [NTG-context] Index entries - custom font size

2013-11-23 Thread Jan Tosovsky
On 2013-11-16 Jan Tosovsky wrote: there are lot of index entries in my document and with the standard body font size they occupy too much space. I've tried to decrease the size by the textstyle parameter. It works, but it is applied recursively to every nested level: secondary items

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

2013-11-23 Thread Jan Tosovsky
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 on the right. \hsize 15.4cm

[NTG-context] [***SPAM***] Eliminating orpans in the Index

2013-11-23 Thread Jan Tosovsky
Hello Everyone, in my two-column index there are several cases when the last entry in the given letter group overflows to the next column/page. In the extreme case it is just the last page reference. Can I somehow prevent this? E.g. keep at least two/three index entries together when the

[NTG-context] Intermediate format

2013-11-24 Thread Jan Tosovsky
Dear All, is it possible to get the complete representation of the layout that is processed in the luatex PDF generator? I mean coordinations of individual text boxes, their dimensions etc. In e.g. XSL-FO processors it is provided in the XML based formats:

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-24 Thread Jan Tosovsky
On 2013-11-18 Jan Tosovsky wrote: On 2013–06–03 Jan Tosovsky wrote: in fresh MkIV I use the following commands for building ToC, but I have no idea how to align the label (roman numeral) to the right. I am almost there, but things get complicated when chapters are combined with preface

Re: [NTG-context] Intermediate format

2013-11-25 Thread Jan Tosovsky
On 2013-11-25 Hans Hagen wrote: On 11/24/2013 8:32 PM, Jan Tosovsky wrote: is it possible to get the complete representation of the layout that is processed in the luatex PDF generator? I mean coordinations of individual text boxes, their dimensions etc. Actually, I'd like

Re: [NTG-context] Intermediate format

2013-11-25 Thread Jan Tosovsky
On 2013-11-25 Aditya Mahajan wrote: On 11/24/2013 8:32 PM, Jan Tosovsky wrote: is it possible to get the complete representation of the layout that is processed in the luatex PDF generator? I mean coordinations of individual text boxes, their dimensions etc. Actually, I'd like

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-25 Thread Jan Tosovsky
On 2013-11-25 Hans Hagen wrote: On 11/24/2013 10:49 PM, Jan Tosovsky wrote: On 2013-11-18 Jan Tosovsky wrote: On 2013–06–03 Jan Tosovsky wrote: in fresh MkIV I use the following commands for building ToC, but I have no idea how to align the label (roman numeral) to the right. I am

Re: [NTG-context] PDF bookmarks - incorrect titles for registers

2013-11-26 Thread Jan Tosovsky
On 2013-11-18 Jan Tosovsky wrote: when I specify custom titles for my registers, they are ignored in bookmarks: \setupinteraction[state=start] \placebookmarks[chapter] \setupinteractionscreen[option=bookmark] \defineregister[indexname][indexnames] \defineregister[indexsubject

Re: [NTG-context] PDF bookmarks - incorrect titles for registers

2013-11-26 Thread Jan Tosovsky
On 2013-11-26 Hans Hagen wrote: On 11/26/2013 8:03 PM, Jan Tosovsky wrote: On 2013-11-18 Jan Tosovsky wrote: when I specify custom titles for my registers, they are ignored in bookmarks: \setupinteraction[state=start] \placebookmarks[chapter] \setupinteractionscreen[option

Re: [NTG-context] Eliminating orpans in the Index

2013-11-26 Thread Jan Tosovsky
On 2013-11-23 Jan Tosovsky wrote: in my two-column index there are several cases when the last entry in the given letter group overflows to the next column/page. In the extreme case it is just the last page reference. ... Additionaly, columns are not balanced properly in all cases. When

Re: [NTG-context] Palatino patch for the current ConTeXt version

2013-11-26 Thread Jan Tosovsky
On 2013-11-17 Hans Hagen wrote: On 11/17/2013 12:23 PM, honyk wrote: Hello Everyone, I am trying to fix a Palatino small caps issue using the procedure explained here: http://wiki.contextgarden.net/Palatino_Linotype_under_MKIV That fix seems to be obsolete nowadays and returning

[NTG-context] [***SPAM***] Incorrect internal font processing

2013-11-27 Thread Jan Tosovsky
Dear All, during my attempts to patch the Palatino's dotless 'i' I found that this font is parsed incorrectly by ConTeXt. Comparing index/name info of individual glyphs in the font software and resulting pala.tma file there is the following difference: Index | Name - font| Name - tma 1110

Re: [NTG-context] Palatino patch for the current ConTeXt version

2013-11-27 Thread Jan Tosovsky
On 2013-11-27 Hans Hagen wrote: On 11/27/2013 12:40 AM, Jan Tosovsky wrote: On 2013-11-17 Hans Hagen wrote: On 11/17/2013 12:23 PM, honyk wrote: Hello Everyone, I am trying to fix a Palatino small caps issue using the procedure explained here: http://wiki.contextgarden.net

Re: [NTG-context] [***SPAM***] Incorrect internal font processing

2013-11-27 Thread Jan Tosovsky
On 2013-11-27 Hans Hagen wrote: On 11/27/2013 8:44 PM, Jan Tosovsky wrote: during my attempts to patch the Palatino's dotless 'i' I found that this font is parsed incorrectly by ConTeXt. Comparing index/name info of individual glyphs in the font software and resulting pala.tma file

Re: [NTG-context] [***SPAM***] Incorrect internal font processing

2013-11-27 Thread Jan Tosovsky
On 2013-11-27 Hans Hagen wrote: On 11/27/2013 9:53 PM, Jan Tosovsky wrote: On 2013-11-27 Hans Hagen wrote: On 11/27/2013 8:44 PM, Jan Tosovsky wrote: during my attempts to patch the Palatino's dotless 'i' I found that this font is parsed incorrectly by ConTeXt. Comparing index/name

Re: [NTG-context] [***SPAM***] Incorrect internal font processing

2013-11-27 Thread Jan Tosovsky
On 2013-11-27 Hans Hagen wrote: On 11/27/2013 10:20 PM, Jan Tosovsky wrote: On 2013-11-27 Hans Hagen wrote: On 11/27/2013 9:53 PM, Jan Tosovsky wrote: On 2013-11-27 Hans Hagen wrote: On 11/27/2013 8:44 PM, Jan Tosovsky wrote: during my attempts to patch the Palatino's dotless 'i' I

Re: [NTG-context] [***SPAM***] Incorrect internal font processing

2013-11-27 Thread Jan Tosovsky
On 2013-11-27 Jan Tosovsky wrote: On 2013-11-27 Hans Hagen wrote: On 11/27/2013 10:20 PM, Jan Tosovsky wrote: On 2013-11-27 Hans Hagen wrote: On 11/27/2013 9:53 PM, Jan Tosovsky wrote: On 2013-11-27 Hans Hagen wrote: On 11/27/2013 8:44 PM, Jan Tosovsky wrote: during my

Re: [NTG-context] Palatino patch for the current ConTeXt version

2013-11-29 Thread Jan Tosovsky
On 2013-11-27 Hans Hagen wrote: On 11/27/2013 9:16 PM, Jan Tosovsky wrote: On 2013-11-27 Hans Hagen wrote: On 11/27/2013 12:40 AM, Jan Tosovsky wrote: On 2013-11-17 Hans Hagen wrote: On 11/17/2013 12:23 PM, honyk wrote: Hello Everyone, I am trying to fix a Palatino small caps issue

Re: [NTG-context] Eliminating orpans in the Index

2013-11-29 Thread Jan Tosovsky
On 2013-11-27 Hans Hagen wrote: On 11/26/2013 10:09 PM, Jan Tosovsky wrote: On 2013-11-23 Jan Tosovsky wrote: in my two-column index there are several cases when the last entry in the given letter group overflows to the next column/page. In the extreme case it is just the last page

[NTG-context] [***SPAM***] Provide showgrid as a PDF layer

2013-11-29 Thread Jan Tosovsky
Dear All, it would be nice to have a possibility to interactively disable/enable a grid rendered via \showgrid command. Whereas this grid is helpful for debugging, it disturbs when the page is evaluated as the whole. Using layers could make this process more efficient (not requiring to generate

Re: [NTG-context] [***SPAM***] Provide showgrid as a PDF layer

2013-11-30 Thread Jan Tosovsky
On 2013-11-30 Hans Hagen wrote: On 11/30/2013 12:04 AM, Jan Tosovsky wrote: it would be nice to have a possibility to interactively disable/enable a grid rendered via \showgrid command. \setupinteraction[state=start] \showgrid \showframe \showmakeup \showlayoutcomponents

[NTG-context] Keeping titles together with the following text when grid is on

2013-11-30 Thread Jan Tosovsky
Dear All, when grid is on, orphan and widows have to be eliminated using additional penalty settings. Whereas it works fine for body text, section titles are still sometimes left at the bottom of the page. It can be reproduced using this example: \setuppapersize[B5]

Re: [NTG-context] Placefigure without Caption-Numbering

2013-11-30 Thread Jan Tosovsky
On 2013-04-16 Wolfgang Schuster wrote: Am 16.04.2013 um 18:56 schrieb H. Özoguz h.oezoguz at mmnetz.de: How to deactive the Caption-Numbering: \starttext \placefigure[here]{Blub}{\externalfigure[image][width=6cm]} \stoptext I want the caption Blub, but not the Figure 1

Re: [NTG-context] Placefigure without Caption-Numbering

2013-11-30 Thread Jan Tosovsky
On 2013-11-30 Alan Braslau wrote: On Sat, 30 Nov 2013 19:42:54 +0100 Jan Tosovsky j.tosov...@email.cz wrote: On 2013-04-16 Wolfgang Schuster wrote: Am 16.04.2013 um 18:56 schrieb H. Özoguz How to deactive the Caption-Numbering: \starttext \placefigure[here]{Blub

Re: [NTG-context] Palatino patch for the current ConTeXt version

2013-12-01 Thread Jan Tosovsky
On 2013-11-17 Jan Tosovsky wrote: I am trying to fix a Palatino small caps issue using the procedure explained here: http://wiki.contextgarden.net/Palatino_Linotype_under_MKIV That fix seems to be obsolete nowadays and returning errors. almost fixed now using this procedure: 1) Create

[NTG-context] [***SPAM***] RE: Footnote line position

2013-12-01 Thread Jan Tosovsky
On 2013-11-22 Jan Tosovsky wrote: when a single line footnote is used, the footnote divider is rendered in larger distance than for footnotes with two or more lines (I mean a gap between the line and the footnote text). It can be tested easily: \chapter{Chapter}Foo\footnote{Bar

Re: [NTG-context] Keeping titles together with the following text when grid is on

2013-12-02 Thread Jan Tosovsky
On 2013-12-02 H. Özoguz wrote: On 2013-12-01 Jan Tosovsky wrote: when grid is on, orphan and widows have to be eliminated using additional penalty settings. Whereas it works fine for body text, section titles are still sometimes left at the bottom of the page. this is not the same

Re: [NTG-context] Keeping titles together with the following text when grid is on

2013-12-02 Thread Jan Tosovsky
On 2013-12-02 Thomas A. Schmitz wrote: On 12/02/2013 09:02 PM, Jan Tosovsky wrote: Thanks, it works! Another magic command not documented anywhere in the ConTeXt Guide or Wiki... So have you added it yet? I plan to update some pages in near future, but rather in form of examples of use

[NTG-context] [***SPAM***] OT: Generating Command reference from source code

2013-12-03 Thread Jan Tosovsky
Dear All, in another thread I was dreaming ... to have always the complete and up to date command/macro reference with basic descriptions and list all of the parameter/options... 'Spoiled' by goodies offered by various Java APIs (based on http://en.wikipedia.org/wiki/Javadoc ) I am missing this

Re: [NTG-context] [***SPAM***] OT: Generating Command reference from source code

2013-12-04 Thread Jan Tosovsky
On 2013-12-04 Hans Hagen wrote: On 12/3/2013 10:59 PM, Jan Tosovsky wrote: Supposing that ... a) every .mkiv file is enhanced by 'package' annotation b) every public command/macro contains a description with the list of all available params (sensible subset of JavaDoc annotations

Re: [NTG-context] [***SPAM***] OT: Generating Command reference from source code

2013-12-04 Thread Jan Tosovsky
On 2013-12-04 Wolfgang Schuster wrote: Am 04.12.2013 um 18:56 schrieb Jan Tosovsky j.tosov...@email.cz: On 2013-12-04 Hans Hagen wrote: there is a (somewhat incomplete) reference definition in xml format so your (b) is in principle covered; where is it stored? The english

Re: [NTG-context] interaction strangeness

2013-12-08 Thread Jan Tosovsky
On 2013-12-06 H. van der Meer wrote: Some further experimentation: interchanging two chapters makes the problem go away. It is reproducible, because putting the chapters back als brings the problem back. Even stranger, sitting at chapter 5 it kills the interaction for chapter 6 and 8,

Re: [NTG-context] [***SPAM***] Incorrect internal font processing

2013-12-08 Thread Jan Tosovsky
On 2013-12-01 Khaled Hosny wrote: On Sun, Dec 01, 2013 at 11:21:30AM +0200, Khaled Hosny wrote: Interestingly, after I patched Sorts Mill (a FontForge fork) to avoid duplicates[1] I ended up with a ‘dotlessi.sc’ glyph, as it turns out the font has a dotlessi → regular smallcap i later on, so

Re: [NTG-context] Palatino patch for the current ConTeXt version

2013-12-21 Thread Jan Tosovsky
On 2013-11-17 Jan Tosovsky wrote: I am trying to fix a Palatino small caps issue using the procedure explained here: http://wiki.contextgarden.net/Palatino_Linotype_under_MKIV That fix seems to be obsolete nowadays and returning errors. thanks a lot to all who participated on this issue

[NTG-context] Centering the last line in combination subcaptions

2013-12-27 Thread Jan Tosovsky
Hello Everyone, I try to fill the entire page with two images with their captions. The final page should be floating, keeping both images together and not containing any other text. I found this solution. It work fine for short captions / wide images. \starttext test

[NTG-context] Alignment for narrower text

2014-01-30 Thread Jan Tosovsky
Dear All, how can I specify the alignment of narrower text, 'hanging' in my case? \definefontfamily[palatino][rm][Palatino Linotype][features={default, quality}] \setupbodyfont[palatino] \setupalign[hz, hanging] \setupindenting[medium, yes] \starttext \input{tufte} \setupnarrower[left=0cm] %

Re: [NTG-context] Alignment for narrower text

2014-01-30 Thread Jan Tosovsky
On 2014-01-30 Wolfgang Schuster wrote: Am 30.01.2014 um 20:08 schrieb Jan Tosovsky j.tosov...@email.cz: how can I specify the alignment of narrower text, 'hanging' in my case? What do you expect from the output? I'd expect that starting french quote sign outside the left text edge

[NTG-context] ToC like entry list

2014-01-30 Thread Jan Tosovsky
Dear All, I am trying to typeset a quite complex list of accounting entries. http://drifted.in/other/045.jpg It is like Table of Contents, but without page numbers. I have no idea what commands to use for this. There is no need to have it exactly the same, just roughly. Thanks, Jan

Re: [NTG-context] ToC like entry list

2014-01-31 Thread Jan Tosovsky
On 2014-01-30 Jan Tosovsky wrote: I am trying to typeset a quite complex list of accounting entries. http://drifted.in/other/045.jpg I've made some progress with this code: \def\mydots{\leavevmode\xleaders\hbox to 0.5em{\hfil.\hfil}\hfill\kern0pt} % credit to: http://tex.stackexchange.com

Re: [NTG-context] ToC like entry list

2014-01-31 Thread Jan Tosovsky
On 2014-01-31 Jan Tosovsky wrote: On 2014-01-30 Jan Tosovsky wrote: I am trying to typeset a quite complex list of accounting entries. http://drifted.in/other/045.jpg I've made some progress with this code: ... Now I am trying to left indent paragraph lines except the first one

Re: [NTG-context] Centering the last line in combination subcaptions

2014-02-07 Thread Jan Tosovsky
On 2013-12-27 Jan Tosovsky wrote: I try to fill the entire page with two images with their captions. The final page should be floating, keeping both images together and not containing any other text. I found this solution. It work fine for short captions / wide images. \starttext test

Re: [NTG-context] Centering the last line in combination subcaptions

2014-02-07 Thread Jan Tosovsky
On 2014-02-07 Jan Tosovsky wrote: On 2013-12-27 Jan Tosovsky wrote: If captions are long and the image narrow, they are typeset on multiple lines. Default centering produces the ragged column - both not very nice and difficult to read. When the alignment is set to hanging, it looks

Re: [NTG-context] Centering the last line in combination subcaptions

2014-02-08 Thread Jan Tosovsky
On 2014-02-08 Wolfgang Schuster wrote: I haven't find any better way to extend the caption width than that negative value for narrowed text. It works, but that empty space above looks weird You have to force a certain width for your images because the width of the text space depends

Re: [NTG-context] [***SPAM***] RE: Footnote line position

2014-02-08 Thread Jan Tosovsky
On 2013-12-01 Jan Tosovsky wrote: On 2013-11-22 Jan Tosovsky wrote: when a single line footnote is used, the footnote divider is rendered in larger distance than for footnotes with two or more lines (I mean a gap between the line and the footnote text). It can be tested easily

[NTG-context] Divider in grid environment

2014-02-08 Thread Jan Tosovsky
Dear All, I'd like to use a divider between certain paragraphs. As I want to keep all the lines on the grid so it should have a height = N x line height. As \hl renders the line on baseline, I have to tweek the space before/after using the 'blank' command to keep the horizontal line in the +/-

Re: [NTG-context] Divider in grid environment

2014-02-08 Thread Jan Tosovsky
On 2014-02-08 Jan Tosovsky wrote: I'd like to use a divider between certain paragraphs. As I want to keep all the lines on the grid so it should have a height = N x line height. As \hl renders the line on baseline, I have to tweak the space before/after using the 'blank' command to keep

Re: [NTG-context] Linespacing in TOC

2014-02-10 Thread Jan Tosovsky
On 2013-11-23 Hans Hagen wrote: On 11/23/2013 2:32 PM, Jan Tosovsky wrote: On 2013-11-23 Hans Hagen wrote: On 11/23/2013 1:44 PM, Jan Tosovsky wrote: On 2013-11-23 Hans Hagen wrote: normally linespacing in the toc is the same as in the rest of the document unless one has assigned

Re: [NTG-context] Linespacing in TOC

2014-02-11 Thread Jan Tosovsky
On 2014-02-10 Wolfgang Schuster wrote: Am 10.02.2014 um 22:49 schrieb Jan Tosovsky j.tosov...@email.cz: I still prefer placing lines on the grid. But if the grid could be switched off just for ToC, I could use the above code ensuring lines in the 'grid' positions. It is fake, but I

Re: [NTG-context] Linespacing in TOC

2014-02-12 Thread Jan Tosovsky
On 2014-02-11 Wolfgang Schuster wrote: Am 11.02.2014 um 17:32 schrieb Jan Tosovsky j.tosov...@email.cz: My fundamental question is why ToC has different ToC line gaps than body text. I still think it is rather a bug which we are trying to work around all the time. The chapter

Re: [NTG-context] Divider in grid environment

2014-02-13 Thread Jan Tosovsky
On 2014-02-08 Jan Tosovsky wrote: On 2014-02-08 Jan Tosovsky wrote: Additionally, I'd like to keep that divider with the previous content (paragraph). In this case AFAIK \testpage[n] cannot be used directly in the divider definition as it breaks the page at position of this command. I'd

Re: [NTG-context] wrong \sc i with Palatino Linotype

2014-02-17 Thread Jan Tosovsky
On 2014-02-17 Pablo Rodriguez wrote: I have noticed that ConTeXt (beta from 2014.02.14 17:07) has a problem with Palatino Linotype. Here the sample: \definefontfeature[capstosc][c2sc=yes] \definefontfamily[mainface][serif][Palatino Linotype] \setupbodyfont[mainface] \starttext

[NTG-context] Indenting after floating image

2014-02-17 Thread Jan Tosovsky
Dear All, when an indenting is set, it is applied in a smart way and sometimes suppressed, e.g after images. But when the image is floating and forced to be displayed on a separate page, I would expect the indenting of the following paragraph preserved. Currently it doesn't, see this example:

Re: [NTG-context] Indenting after floating image

2014-02-19 Thread Jan Tosovsky
On 2014-02-19 Thangalin wrote: A work-around: \setupexternalfigures[location=default] \setupindenting[yes,medium] \define[1]\PlaceFigure{ \startplacefigure[number=no, location={page}, title={}] \externalfigure[#1] \stopplacefigure \\ \vskip-1em } \starttext \input{ward}

[NTG-context] Various setuptolerance settings within a single document

2014-02-19 Thread Jan Tosovsky
Dear All, I'd like to apply 'verystrict' tolerance as a default value, which would be overridden by less strict values in several specific paragraphs with tricky word combinations causing problems when hyphenating. But when \setuptolerance command is used multiple times, the last one seems to be

Re: [NTG-context] Various setuptolerance settings within a single document

2014-02-19 Thread Jan Tosovsky
On 2014-02-19 Wolfgang Schuster wrote: Am 19.02.2014 um 21:00 schrieb Jan Tosovsky j.tosov...@email.cz: I'd like to apply 'verystrict' tolerance as a default value, which would be overridden by less strict values When settings is wrapped by \start \stop commands, it seems

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

2014-02-19 Thread Jan Tosovsky
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 on the right. \hsize 15.4cm

[NTG-context] Hanging punctuation misalignment in footnotes

2014-02-21 Thread Jan Tosovsky
Dear All, 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 are close each other, it looks weird, see the screenshot: http://drifted.in/other/footnote_alignment.png

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

2014-02-21 Thread Jan Tosovsky
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 are close each other, it looks weird, see the screenshot: http://drifted.in

[NTG-context] Protrusion cancellation by index term

2014-02-21 Thread Jan Tosovsky
Dear All, 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 between these two parts (which

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

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

[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

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

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

[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

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

  1   2   >