[NTG-context] Support for Bold Small Caps font alternative

2013-11-17 Thread honyk
Dear All, in my document I combine both regular and bold small caps. As there is no predefined alternative for bold small caps variant, moreover, combining bold style and small caps has no effect, I've had to override an unused one:

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

2013-11-17 Thread honyk
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 errors. I've changed fonts.otf.enhancers.patches[^pala] to

Re: [NTG-context] Support for Bold Small Caps font alternative

2013-11-17 Thread honyk
On 2013-11-17 Wolfgang Schuster wrote: Am 17.11.2013 um 11:04 schrieb honyk j.tosov...@email.cz: in my document I combine both regular and bold small caps. As there is no predefined alternative for bold small caps variant, moreover, combining bold style and small caps has no effect, I've

Re: [NTG-context] Support for Bold Small Caps font alternative

2013-11-17 Thread honyk
On 2013-11-17 Wolfgang Schuster wrote: Am 17.11.2013 um 13:23 schrieb honyk: On 2013-11-17 Wolfgang Schuster wrote: Am 17.11.2013 um 11:04 schrieb honyk: in my document I combine both regular and bold small caps. As there is no predefined alternative for bold small caps variant

[NTG-context] PDF bookmarks - missing interactivity of some items

2013-11-16 Thread honyk
Dear All, when bookmarks are placed to my file, only several of them are interactive. I cannot find any rule for this behaviour nor to reproduce it on a simplified example. \setupinteraction[state=start] \placebookmarks[chapter] \setupinteractionscreen[option=bookmark] ... \chapter{Chapter A}

[NTG-context] Index entries - custom font size

2013-11-16 Thread honyk
Hello Everyone, 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 are smaller twice and tertiary

Re: [NTG-context] Index - ranges

2013-11-15 Thread honyk
On 2013-11-12 honyk wrote: On 2013-11-07 honyk wrote: 1) when a range for my subject index entry is specified and the text between doesn't overflow to the next page, even in this case the range of pages 1-1 is created. Is there any option to normalize it to a single page number

Re: [NTG-context] Handling index entries with many references

2013-11-15 Thread honyk
On 2013-06-09 honyk wrote: in my book I want to place the index (aka register) of places. Some of them are mentioned very often (10). In one old book I've found the following solution for this: in the index there are first three page references listed for that index entry followed

Re: [NTG-context] Index - ranges

2013-11-15 Thread honyk
On 2013-11-15 honyk wrote: On 2013-11-12 honyk wrote: On 2013-11-07 honyk wrote: 1) when a range for my subject index entry is specified and the text between doesn't overflow to the next page, even in this case the range of pages 1-1 is created. Is there any option to normalize

Re: [NTG-context] Index - ranges

2013-11-12 Thread honyk
On 2013-11-07 honyk wrote: 1) when a range for my subject index entry is specified and the text between doesn't overflow to the next page, even in this case the range of pages 1-1 is created. Is there any option to normalize it to a single page number? \startregister[index][range_01

Re: [NTG-context] Index - custom sorting

2013-11-11 Thread honyk
On 2013-11-07 Wolfgang Schuster wrote: Am 07.11.2013 um 23:11 schrieb honyk j.tosov...@email.cz: czech sorting has a quite complex logic. How can a default index entries sorting be overridden? Using a macro or somewhere under the hood via a lua code? When you have \mainlanguage[cz

Re: [NTG-context] Index - ranges

2013-11-08 Thread honyk
On 2013-11-07 honyk wrote: 1) when a range for my subject index entry is specified and the text between doesn't overflow to the next page, even in this case the range of pages 1-1 is created. Is there any option to normalize it to a single page number? \startregister[index][range_01

[NTG-context] Index - 'sort as' parameter for secondary and tertiary index entries

2013-11-07 Thread honyk
Dear All, while there is a sorting parameter for the primary index entry: \index[primary]{primary} I cannot find any method how to define 'sort as' parameter for next two levels: \index{primary+aaa} \index{primary+bbb} I want to have aaa before bbb in my index. Any idea? Thanks, Jan

[NTG-context] Index - ranges

2013-11-07 Thread honyk
Dear All, 1) when a range for my subject index entry is specified and the text between doesn't overflow to the next page, even in this case the range of pages 1-1 is created. Is there any option to normalize it to a single page number? \startregister[index][range_01]{primary} Dummy text.

[NTG-context] Index - custom sorting

2013-11-07 Thread honyk
Dear All, czech sorting has a quite complex logic. How can a default index entries sorting be overridden? Using a macro or somewhere under the hood via a lua code? I am a total noob in this. Btw, as a Java programmer I have it implemented already in Java so I hope it won't be a huge task to

[NTG-context] Index - entries in section titles

2013-11-07 Thread honyk
Dear All, what is the correct placing indext entries somewhere in the section title? I use it for both ranges (when covering the whole section) and sometimes also for individual entries: (A) \section{\startregister[index][primary_range_01]{primary}Primary} (B) \section{\index{primary}Primary}

Re: [NTG-context] Index - 'sort as' parameter for secondary and tertiary index entries

2013-11-07 Thread honyk
On 2013-11-07 honyk wrote: while there is a sorting parameter for the primary index entry: \index[primary]{primary} I cannot find any method how to define 'sort as' parameter for next two levels: \index{primary+aaa} \index{primary+bbb} I've tried '+' analogy and it seems to be working

Re: [NTG-context] Index - entries in section titles

2013-11-07 Thread honyk
On 2013-11-07 Wolfgang Schuster wrote: Am 07.11.2013 um 23:43 schrieb honyk j.tosov...@email.cz: what is the correct placing indext entries somewhere in the section title? I use it for both ranges (when covering the whole section) and sometimes also for individual entries

Re: [NTG-context] EPUB XHTML Format

2013-09-05 Thread honyk
On 2013-09-04 Thangalin wrote: What needs to happen to take a minimal ConTeXt file (such as the attached) to produce a minimum viable EPUB that: It is always difficult to parse and further process not well structured plain text without advanced semantics. Garbage in, garbage out. If you

[NTG-context] Handling index entries with many references

2013-06-09 Thread honyk
Dear All, in my book I want to place the index (aka register) of places. Some of them are mentioned very often (10). I want to keep that location in the index, but not to create references to all occurrences. In one old book I've found the following solution for this: in the index there are

Re: [NTG-context] Handling index entries with many references

2013-06-09 Thread honyk
On 2013-06-09 Wolfgang Schuster wrote: Am 09.06.2013 um 21:49 schrieb honyk j.tosov...@email.cz: Dear All, in my book I want to place the index (aka register) of places. Some of them are mentioned very often (10). I want to keep that location in the index, but not to create

Re: [NTG-context] Side-by-side framed text blocks

2013-06-07 Thread honyk
On 2013-06-07 Marco wrote: On 2013–06–07 honyk wrote: thanks for this. I removed that framed=off option and it turned out to be sligthly different from what I'd like to achieve. My goal is to have two blocks with a vertical gap between them and to have these blocks framed

[NTG-context] Side-by-side framed text blocks

2013-06-06 Thread honyk
Dear All, I'd like to type two blocks of text with different 'align' settings side by side. A desired output can be found e.g. in examples 1.9-1.10 in http://www.pragma-ade.com/general/manuals/style.pdf Here blocks have a background instead of frames though. Both variants are acceptable for me.

Re: [NTG-context] Side-by-side framed text blocks

2013-06-06 Thread honyk
Dear Marco, I'd like to type two blocks of text with different 'align' settings side by side. Here's one way to do it: \setupframed [offset=1ex, width=8cm, frame=off] \starttext \placesidebyside {\startframed[align={normal,left}] \input knuth\par\stopframed}

[NTG-context] [***SPAM***] Source files for ConTeXt manuals

2013-06-04 Thread honyk
Dear All, as a newbie I am investigating various ConTeXt (MkIV) concepts and I feel that any direct comparison of the source and the final output would help me a lot. While in the ConTeXt reference manual I can see e.g. nice side-by-side framed text blocks, I am lost in various text box, framing

Re: [NTG-context] Including a large SVG image

2013-06-03 Thread honyk
Sander Maijers wrote: I have a few SVG graphics of multiple megabytes. They contain a lot of objects (text/shapes). All graphics except for one gets properly included in my ConTeXt document. Marco Patzer wrote: Maybe inkscape failed to convert the file. Is a corresponding

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

2013-06-03 Thread honyk
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] ToC - right-alignment of roman numerals

2013-06-03 Thread honyk
Dear All, 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. In addition, the specified width and distance seem to be somehow ignored so that label interferes with the title.

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

2013-06-03 Thread honyk
Marco, thanks a lot, it gives me exactly what I wanted! But to be honest, I expected a single option for this :-) Jan On 2013–06–03 honyk wrote: How can I keep numeration and title together? You can create a custom head alternative. The following code is copied from the source, I only

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

2013-06-03 Thread honyk
This is great! Thanks 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. \setuphead[chapter][conversion=Romannumerals] \setupheadnumber[chapter][48] \setupcombinedlist

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

2013-06-03 Thread honyk
Dear Luigi, On Mon, Jun 3, 2013 at 7:08 PM, honyk j.tosov...@email.cz wrote: 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

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

2013-06-03 Thread honyk
Luigi, The problematic part is that section title. The chapter title formatting is Ok (but thanks for showing the way how to deal with these cases for future uses). Applying deepnumbercommand to section didn't help to me... I've used align=middle instead of alternative=middle in