[NTG-context] (hindi) font questions

2015-04-08 Thread Harald Koenig
, and a bold version would be nice for the chapter head. - font size: how do I define this font to get automatic/matching font sizes for both the chapter head and the title of contents ? right now I use \definefont [hindib] [Lohit-Devanagari at 24pt] ... \mychapter{Danke

Re: [NTG-context] tagging heads and empty output

2015-04-08 Thread Hans Hagen
...@colostate.edu wrote: Dear gang, Two issues: 1. What is the proper way to tag heads in itemize? I do the next beta will provide item head=yes === div class=itemgroup itemize symbol-n level-1 div class=item head-yes div class=itemtag1./div div class=itemcontentHead 1

Re: [NTG-context] Unexpected results...

2015-04-05 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, On Fri, 03 Apr 2015 11:24:19 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: The \starthead command takes the head text as argument, e.g. \starthead{Head A} Suggestion: Related to another thread http://www.ntg.nl/pipermail/ntg-context/2015/081591.html Would

[NTG-context] Unexpected results...

2015-04-03 Thread Willi Egger
Good afternoon, I downloaded the latest beta: current version: 2015.04.01 12:00 What i detect is not related to the latest version, but I think it is good to test with it… 1. When using the command \starthead..\stophead in an itemize with head style set to bold, not only the head gets bold

Re: [NTG-context] tagging heads and empty output

2015-04-03 Thread Idris Samawi Hamid ادريس سماوي حامد
way to tag heads in itemize? I do the next beta will provide item head=yes === div class=itemgroup itemize symbol-n level-1 div class=item head-yes div class=itemtag1./div div class=itemcontentHead 1 div class=break!--empty--/div Test 3/div /div div class=item

Re: [NTG-context] Unexpected results...

2015-04-03 Thread Wolfgang Schuster
in an itemize with head style set to bold, not only the head gets bold but the whole item. On the other hand if using \head then it works ok. The \starthead command takes the head text as argument, e.g. \starthead{Head A} 2. I use a lot \Milli\Meter. When loading the module with \usemodule

Re: [NTG-context] Unexpected results...

2015-04-03 Thread Willi Egger
..\stophead in an itemize with head style set to bold, not only the head gets bold but the whole item. On the other hand if using \head then it works ok. The \starthead command takes the head text as argument, e.g. \starthead{Head A} 2. I use a lot \Milli\Meter. When loading the module

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread Otared Kavian
for chapter head. Date: 2 April 2015 1:19:03 AEDT I am redoing a book for a client. Each chapter head has a fancy design. I want to reproduce that fancy page but still have the \chapter statement for running heads, TOC etc. Is there a way that I can overlay the entire chapter first page

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread Robin.Kirkham
From: John Culleton j...@wexfordpress.com Subject: [NTG-context] overlay or layer for chapter head. Date: 2 April 2015 1:19:03 AEDT I am redoing a book for a client. Each chapter head has a fancy design. I want to reproduce that fancy page but still have the \chapter statement for running

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread John Culleton
On Thu, 02 Apr 2015 15:10:19 +0200 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: Hello, On Thu, 02 Apr 2015 14:46:11 +0200, Otared Kavian ota...@gmail.com wrote: Hi, Maybe you need to say state=repeat in the definition of your layer:

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, On Thu, 02 Apr 2015 14:46:11 +0200, Otared Kavian ota...@gmail.com wrote: Hi, Maybe you need to say state=repeat in the definition of your layer: \definelayer[chapterbackground][state=repeat] '[state=repeat]' causes all pages have the 'mill' background. Best regards, Lukas

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread Wolfgang Schuster
Am 02.04.2015 um 17:12 schrieb John Culleton j...@wexfordpress.com: On Thu, 02 Apr 2015 15:10:19 +0200 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz mailto:l...@pontex.cz wrote: Hello, On Thu, 02 Apr 2015 14:46:11 +0200, Otared Kavian ota...@gmail.com wrote: Hi, Maybe

[NTG-context] overlay or layer for chapter head.

2015-04-01 Thread John Culleton
I am redoing a book for a client. Each chapter head has a fancy design. I want to reproduce that fancy page but still have the \chapter statement for running heads, TOC etc. Is there a way that I can overlay the entire chapter first page with a graphic, ideally a one page pdf file. I have

Re: [NTG-context] overlay or layer for chapter head.

2015-04-01 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi John, Per Hans' Fwd: I can confirm that this latest post of yours made it to the list. Best wishes Idris On Wed, 01 Apr 2015 08:19:03 -0600, John Culleton j...@wexfordpress.com wrote: I am redoing a book for a client. Each chapter head has a fancy design. I want to reproduce

Re: [NTG-context] overlay or layer for chapter head.

2015-04-01 Thread Alan BRASLAU
John, Do you mean this post? (It appeared on the mailing list) Alan On Wed, 1 Apr 2015 10:19:03 -0400 John Culleton j...@wexfordpress.com wrote: I am redoing a book for a client. Each chapter head has a fancy design. I want to reproduce that fancy page but still have the \chapter

[NTG-context] Vertical space after \head

2015-03-31 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, is it possible to affect simply vertical space being generated after \head? Here: \starttext \startitemize[][headstyle=bold] \head Something\par \input knuth \stopitemize \stoptext I'd like to have space of size \blank[medium] between the head

Re: [NTG-context] Vertical space after \head

2015-03-31 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, thank you, Wolfgang; I wasn't aware of afterhead option. I added some info (and a snip) here: http://wiki.contextgarden.net/Command/startitemize although I found some existing info on wiki/\setupitemgroup; however, I wasn't able to add some useful info onto the latter place. Best

Re: [NTG-context] Vertical space after \head

2015-03-31 Thread Wolfgang Schuster
Am 31.03.2015 um 09:03 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, is it possible to affect simply vertical space being generated after \head? Here: \starttext \startitemize[][headstyle=bold] \head Something\par \input knuth

Re: [NTG-context] tagging heads and empty output

2015-03-28 Thread Hans Hagen
On 3/28/2015 10:12 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: On Sat, 28 Mar 2015 07:34:32 -0600, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: Dear gang, Two issues: 1. What is the proper way to tag heads in itemize? I do the next beta will provide item head=yes

Re: [NTG-context] tagging heads and empty output

2015-03-28 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sat, 28 Mar 2015 07:34:32 -0600, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: Dear gang, Two issues: 1. What is the proper way to tag heads in itemize? I do == \startitemize[n] \starthead {Head 1} Test 1 \stophead \starthead {Head 2} Test 2 \stophead

[NTG-context] tagging heads and empty output

2015-03-28 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Two issues: 1. What is the proper way to tag heads in itemize? I do == \startitemize[n] \starthead {Head 1} Test 1 \stophead \starthead {Head 2} Test 2 \stophead \stopitemize == but {Head 1} and {Head 2} are not tagged in the output *div.html. Is there a special

[NTG-context] Blank space between \subsection columns (related to: XML processing columns (almost) empty pages)

2015-02-19 Thread Procházka Lukáš Ing . - Pontex s . r . o .
. 2 (subsection #4) - the head is not bound to the following columns. Why is there the blank space? How to avoid it? Best regards, Lukas -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4 Tel: +420

[NTG-context] head stopper and hang

2015-02-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuplabeltext[subsection=Activity~] \setuphead[subsection][sectionsegments=subsection] \setuplist[subsection][width=fit, stopper={: }] \setuplabeltext[section=Area~] \setuphead[section][hang=broad, stopper={· }] \starttext \completecontent

Re: [NTG-context] TOC with Grey background for pages belonging to last section of every chapter

2015-02-02 Thread Wolfgang Schuster
in your document, the only difference is that you use the header-type as argument in the first case while in the second case the head-type is part of the command name. When you print your table of contents with the \placecontent or \completecontent commands ConTeXt uses only headers which

Re: [NTG-context] Error with \prevdepth

2015-01-26 Thread Hans Hagen
On 1/25/2015 10:12 PM, Kip Warner wrote: Hey list, I am having difficulty typesetting my book using ConTeXt version 2015.01.10 00:44. It bails on line 32... https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Handbook.tex

[NTG-context] Error with \prevdepth

2015-01-25 Thread Kip Warner
Hey list, I am having difficulty typesetting my book using ConTeXt version 2015.01.10 00:44. It bails on line 32... https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Handbook.tex ...with the following error: tex error

Re: [NTG-context] pgfplots.revision.tex is missing in the last ContextMinimals

2015-01-07 Thread Mojca Miklavec
on the server, but running git describe --tags HEAD results in fatal: No names found, cannot describe anything. etc. I tried to keep up to date with the latest version from the repository for both TikZ and pgfplots (mainly because the release version of TikZ was usually so old that it didn't work

Re: [NTG-context] vertical alignment of table of contents in makeup

2014-12-21 Thread Mark Szepieniec
Hi Pablo, thanks for your clarifications. My thinking was that I didn't want my table of contents page to have a page number, but I didn't realize that the ToC head acts as a chapter head, so you can just get rid of the page number in the way you suggest. So just leaving out the makeup works

Re: [NTG-context] vertical alignment of table of contents in makeup

2014-12-21 Thread Pablo Rodriguez
On 12/21/2014 09:01 PM, Mark Szepieniec wrote: Hi Pablo, thanks for your clarifications. My thinking was that I didn't want my table of contents page to have a page number, but I didn't realize that the ToC head acts as a chapter head, so you can just get rid of the page number in the way

Re: [NTG-context] vertical alignment of table of contents in makeup

2014-12-21 Thread Mark Szepieniec
On Sun, Dec 21, 2014 at 10:12 PM, Pablo Rodriguez oi...@gmx.es wrote: On 12/21/2014 09:01 PM, Mark Szepieniec wrote: Hi Pablo, thanks for your clarifications. My thinking was that I didn't want my table of contents page to have a page number, but I didn't realize that the ToC head acts

Re: [NTG-context] issue with t-scancsv.lua

2014-12-10 Thread Pablo Rodriguez
On 12/09/2014 12:45 AM, Jaroslav Hajtmar wrote: Hi Pablo. I am glad that my library for you to use ... I noticed that you have in your CSV file header with column names (ie. head of CSV document). I do not know if you noticed the option put this information into scancsv.lua library

Re: [NTG-context] issue with t-scancsv.lua

2014-12-08 Thread Jaroslav Hajtmar
Hi Pablo. I am glad that my library for you to use ... I noticed that you have in your CSV file header with column names (ie. head of CSV document). I do not know if you noticed the option put this information into scancsv.lua library. This is done via the command \setheader. In this case

Re: [NTG-context] ConTeXt gobble my mind

2014-11-07 Thread Pierre-François Bonnefoi
as the %, this proposition brakes. Now, If you already know if the level is know a head of time the slides can be given a level and you can use a custom mode that only outputs the slides to this level. This is what I've made : I express a list of numbered slides and check if each slide has

Re: [NTG-context] ConTeXt gobble my mind

2014-11-06 Thread Keith J. Schultz
be the most elegant way and can be used for dynamic content. Now, If you already know if the level is know a head of time the slides can be given a level and you can use a custom mode that only outputs the slides to this level. Another way is to build a database or table which is processed from which

Re: [NTG-context] Font Sizing in Layers

2014-11-05 Thread Hans Hagen
On 11/5/2014 6:17 AM, jdh wrote: I wanted to change character sizes in a letter head but the \tfa... macro doesn't work. Here is a minimum example See how the letter head does not give larger fonts as requested with the \tfc{} command. See the difference with the table in the body

Re: [NTG-context] Font Sizing in Layers

2014-11-05 Thread Henning Hraban Ramm
Am 2014-11-05 um 11:17 schrieb jdh dhen...@gmail.com: I wanted to change character sizes in a letter head but the \tfa... macro doesn't work. Here is a minimum example See how the letter head does not give larger fonts as requested with the \tfc{} command. See the difference

Re: [NTG-context] Problem with PDF bookmarks (outline)

2014-11-05 Thread Michał Goliński
the standalone I installed today gives the same wrong result that you get. My previous standalones, of which the most recent was installed two days ago, on november 2, all give the correct result. That is, the bookmarks look OK but Part A starts on empty page 3 (no head) and Chapter 1 starts on page 4

Re: [NTG-context] Problem with PDF bookmarks (outline)

2014-11-05 Thread Hans Hagen
page 3 (no head) and Chapter 1 starts on page 4. Is that really what you want? Best regards, Robert Blackstone The file I am really trying to compile has also: \setuphead[part][placehead=yes] I've stripped that when making an MWE as it doesn't change the behaviour of the bookmarks. I am quite

Re: [NTG-context] Problem with PDF bookmarks (outline)

2014-11-05 Thread Hans Hagen
page 3 (no head) and Chapter 1 starts on page 4. Is that really what you want? Best regards, Robert Blackstone The file I am really trying to compile has also: \setuphead[part][placehead=yes] I've stripped that when making an MWE as it doesn't change the behaviour of the bookmarks. I am quite

Re: [NTG-context] Problem with PDF bookmarks (outline)

2014-11-04 Thread Robert Blackstone
the standalone I installed today gives the same wrong result that you get. My previous standalones, of which the most recent was installed two days ago, on november 2, all give the correct result. That is, the bookmarks look OK but Part A starts on empty page 3 (no head) and Chapter 1 starts on page 4

[NTG-context] Font Sizing in Layers

2014-11-04 Thread jdh
I wanted to change character sizes in a letter head but the \tfa... macro doesn't work. Here is a minimum example See how the letter head does not give larger fonts as requested with the \tfc{} command. See the difference with the table in the body of the letter. Regards

[NTG-context] about layers

2014-11-01 Thread jdh
I am working on making a letter head which will have two separate main components. 1.) A jpeg graphical component and a 2.) the companies address (probably created with tabulate, but I don't know yet. I wanted to ask what other people have done when using similar methods? Any advice

[NTG-context] can not get colums to work

2014-09-16 Thread Marc Spitzer
Hi, The below contex document generates a pdf when the \startcolumns and\stopcolums directives are commented out, when they are active it dies on me. I probably am doing something stupid here, but have no idea what, here is the tex and below is the error: ## TEX start head[section][style

Re: [NTG-context] can not get colums to work

2014-09-16 Thread Hans Hagen
is the error: ## TEX start head[section][style=\bfa] \setupohead ? \setupbodyfontenvironment[default][em=italic] \setuppapersize[A5] \starttext \startsection[title={Testing ConTeXt}] \startcolumns I would say to the House, as I said to those who have joined this Government, I have nothing

Re: [NTG-context] Wrong page break in sequence of headings

2014-09-11 Thread Jean-Philippe Rey
because I have never seen ConTeXt put a page break between a head and the following text when it is a standard paragraph (which is a sensible behavior). It seems odd to allow a page break between two heads, except in very exceptional situations (e.g. a very long list of heads). For chapters

Re: [NTG-context] Wrong page break in sequence of headings

2014-09-11 Thread Pablo Rodriguez
thought it could have been a bug because I have never seen ConTeXt put a page break between a head and the following text when it is a standard paragraph (which is a sensible behavior). It seems odd to allow a page break between two heads, except in very exceptional situations (e.g. a very long list

Re: [NTG-context] Placement of a figure

2014-09-02 Thread Fabrice
Hi Wolfgang, I have to put myself in the head that the command \framed[] is very important with ConteXt ! Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] E-books and XML.

2014-08-27 Thread Henning Hraban Ramm
encoding=utf-8 indent=yes / xsl:template match=/ !-- !DOCTYPE ncx PUBLIC -//NISO//DTD ncx 2005-1//EN http://www.daisy.org/z3986/2005/ncx-2005-1.dtd; -- ncx xmlns=http://www.daisy.org/z3986/2005/ncx/; version=2005-1 head meta name=dtb:uid content=BookId

Re: [NTG-context] Distances between chapter and section titles and text

2014-08-19 Thread Robert Blackstone
works for me. You have to prepare a minimal working example that shows the problem. Maybe then somebody can identify the reason for your issue. But I have realized now, a bit late, that for real control over these distances one also needs to setup the section-head in a similar manner

Re: [NTG-context] Distances between chapter and section titles and text

2014-08-18 Thread Robert Blackstone
=== Despite different setups for the chapter head the distances: chapter head - section head - beginning of the text, are identical in both chapters (±1 pixel). But I have realized now, a bit late, that for real control over these distances one also needs to setup the section-head in a similar

Re: [NTG-context] Distances between chapter and section titles and text

2014-08-18 Thread Wolfgang Schuster
} \section{Two a} \input knuth \stopbodymatter \stoptext === Despite different setups for the chapter head the distances: chapter head - section head - beginning of the text, are identical in both chapters (±1 pixel). But I have realized

Re: [NTG-context] Distances between chapter and section titles and text

2014-08-15 Thread Robert Blackstone
On 13 Aug 2014, at 09:07 Robert Blackstone blackstone.rob...@gmail.com wrote Is it possible, in mkiv, to fine-tune the distance between a chapter head and a section head, between the end of a section and the following section head, and between a section head and the beginning of the text

[NTG-context] Distances between chapter and setion titles and text

2014-08-13 Thread Robert Blackstone
Dear list, Is it possible, in mkiv, to fine-tune the distance between a chapter head and a section head, between the end of a section and the following section head, and between a section head and the beginning of the text? My problem is the following: In the revision of a thesis

Re: [NTG-context] \os

2014-08-03 Thread Wolfgang Schuster
numbers in the document to be old-style (and also ligatures etc. be kept), I have to: 1) switch to {\os } when writing a number manually, 2) define old-style-making-commands wherever numbers are generated automatically, i.e. e.g.: - head commands (sections, chapters

Re: [NTG-context] \os

2014-08-02 Thread Procházka Lukáš
have to: 1) switch to {\os } when writing a number manually, 2) define old-style-making-commands wherever numbers are generated automatically, i.e. e.g.: - head commands (sections, chapters...), - enumerator commands (which use numbers), - page numbering commands

Re: [NTG-context] system Linux armv7l is not supported yet

2014-07-25 Thread Sytse Knypstra
` on the page (behind Links to HEAD). That brought me to a page saying: `link ../../texmf-dist/scripts/context/stubs/unix/context`. I don't know whether I took the correct steps and how to proceed. 2. I went to http://tug.org/svn/texlive/trunk/Master/bin/armhf-linux/ and performed the same steps as under

Re: [NTG-context] system Linux armv7l is not supported yet

2014-07-25 Thread Mojca Miklavec
/svn/texlive/trunk/Master/bin/armel-linux/ I clicked on `context` and then on the first `download` on the page (behind Links to HEAD). That brought me to a page saying: `link ../../texmf-dist/scripts/context/stubs/unix/context`. I don't know whether I took the correct steps and how to proceed

Re: [NTG-context] \head: broken?

2014-07-18 Thread Rob Heusdens
Thanks. I think I could have figured out that one myself. I guess it's my own head a bit broken atm... But I should mention that the contextgarden article mentions only one option for \startitemize, perhaps that is why I got misleaded there. (http://wiki.contextgarden.net/Command/startitemize

[NTG-context] \head: broken?

2014-07-16 Thread Rob Heusdens
Hello All, Still having problem with \head in \setupitemize. - When I set the headstyle in \setupitemize, the numbering disappears and the symbol appear (like when I used '1' instead of 'n'). (ex. 1: MNWE) - If I comment the headstyle out, numbers do appear. (ex. 2: MWE). Why

Re: [NTG-context] \head: broken?

2014-07-16 Thread Wolfgang Schuster
Am 16.07.2014 um 13:07 schrieb Rob Heusdens robh...@xs4all.nl: Hello All, Still having problem with \head in \setupitemize. - When I set the headstyle in \setupitemize, the numbering disappears and the symbol appear (like when I used '1' instead of 'n'). (ex. 1: MNWE) - If I comment

[NTG-context] \headstylecolor in \setupcaptions ?

2014-07-12 Thread Xan
Hi, how to set the color of head in setupcaptions? Something like: \setupcaptions[headstyle={\ss},headstylecolor=red] thanks Xan PS: Please CCme ___ If your question is of interest to others as well, please add

Re: [NTG-context] \headstylecolor in \setupcaptions ?

2014-07-12 Thread Xan
I found myself: headcolor=red On Sat, 12 Jul 2014 18:31:55 +0200 Xan dxpubl...@telefonica.net ha escrit: Hi, how to set the color of head in setupcaptions? Something like: \setupcaptions[headstyle={\ss},headstylecolor=red] thanks Xan PS: Please CCme

[NTG-context] \head: broken?

2014-07-12 Thread Rob Heusdens
Hello to all, I don't know if it is due to -the weather- or -the Worldchampionships- or other but in my Context release [ConTeXt ver: 2014.07.11 12:20 MKIV beta fmt: 2014.7.12 int: english/english] \head is broken. Is that a feature or a bug? greetings, Rob --- \head: broken? When

Re: [NTG-context] \head: broken?

2014-07-12 Thread Aditya Mahajan
On Jul 12, 2014, at 7:11 PM, Rob Heusdens robh...@xs4all.nl wrote: Hello to all, I don't know if it is due to -the weather- or -the Worldchampionships- or other but in my Context release [ConTeXt ver: 2014.07.11 12:20 MKIV beta fmt: 2014.7.12 int: english/english] \head is broken

Re: [NTG-context] indenting in enumerations in mkiv

2014-07-02 Thread Wolfgang Schuster
. This second line should be indented and is ok under both mkii and mkiv. \stopexample \stoptext This is a bug in the enumeration code where the indent setup is used before the title/head is placed which is then handled as first paragraph. To fix this the \indenting command has to be moved after

Re: [NTG-context] Samples updates and bibtex entries

2014-06-07 Thread Hans Hagen
of the book (first edition second printing). dawkins.tex is from pages 145 and 146 of the book come down head. Everybody on the right had to will it to be come down heads. Everybody on the right had to will it to be to sit down. Then those who remained were divided into two, to sit down

[NTG-context] Samples updates and bibtex entries

2014-06-06 Thread Rik Kabel
is a correction. The dawkins.tex and douglas.tex corrections are based on scanned images on Google Books, the knuth.tex correction is based on my personal copy of the book (first edition second printing). dawkins.tex is from pages 145 and 146 of the book come down head. Everybody on the right

[NTG-context] sections

2014-06-01 Thread Hans Hagen
that prefers breaks (read: section head followed by e.g. itemize or tabulate). So, the newer mechanism tries to analyze the page stream which (currently) is somewhat tricky. That's why we need to iterate to an acceptable solution. Some of these mkiv mechanisms are already a bit old and could

Re: [NTG-context] sections

2014-06-01 Thread Rik
work well with content following sections that prefers breaks (read: section head followed by e.g. itemize or tabulate). So, the newer mechanism tries to analyze the page stream which (currently) is somewhat tricky. That's why we need to iterate to an acceptable solution. Some of these mkiv

Re: [NTG-context] sections

2014-06-01 Thread Pablo Rodriguez
\subsections i.e. no text between this. In a strict mechanism you end up with one long page fur to all the penalties. So, there was some precaution for this. However that didn't work well with content following sections that prefers breaks (read: section head followed by e.g. itemize

Re: [NTG-context] sections

2014-06-01 Thread Pablo Rodriguez
following sections that prefers breaks (read: section head followed by e.g. itemize or tabulate). So, the newer mechanism tries to analyze the page stream which (currently) is somewhat tricky. That's why we need to iterate to an acceptable solution. Some of these mkiv mechanisms are already

Re: [NTG-context] bug in latest beta?

2014-05-26 Thread Pablo Rodriguez
to do with trying to improve the 'keep together' successive head/text 'without deadlock' issue; I'll try to improve that bit but for a while it will be somewhat experimental (it's one of the things I'm trying to improve). Many thanks for the fix, Hans. I have another wrong page break, but I’m

Re: [NTG-context] LuaTeX/ConTeXt connect to SQL Server

2014-05-26 Thread Matt Baker
include a set of database queries in an external document that can link to the tex document. The closest I am to being familiar with any of this is Nlatexdb (based off of latexdb and rlatexdb) http://www.ctan.org/pkg/nlatexdb . I am rather new to ConTeXT and Lua so I am struggling with wrapping my head

Re: [NTG-context] LuaTeX/ConTeXt connect to SQL Server

2014-05-26 Thread Hans Hagen
of this is Nlatexdb (based off of latexdb and rlatexdb) http://www.ctan.org/pkg/nlatexdb . I am rather new to ConTeXT and Lua so I am struggling with wrapping my head around all of this as it is. The interface in context is an abstraction layer that can use several methods. - the command line mysql program

Re: [NTG-context] \setuplist ignores width=dim in combination with headnumber=no

2014-05-23 Thread Mojca Miklavec
don't understand why no head number nullifies width. Mojca ___ 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/listinfo/ntg

Re: [NTG-context] Using the margin for two purposes

2014-05-19 Thread Matthias Weber
Hi Rik, thanks again. Now I feel doubly stupid: First for not putting the distance into \setupmarginrules, and second not realizing that the disappearing dotted margin is due to my rule thickness=.1pt. Anyway, both approaches work now. When I get a free weekend I will head into metapost

Re: [NTG-context] Empty heads after leading whitespace

2014-05-06 Thread Hans Hagen
: 2014.01.03 00:40 if you want no head-related nodes interfering, use: % \setuphead[chapter][placehead=hidden] % \chapter {test} % % %(\synchronizehead{chapter}) % \getheadsyncs % %(\getfullstructurenumber{\thenamedheadlevel{chapter}}) % %(\getspecificstructuretitle{\thenamedheadlevel{chapter

[NTG-context] Head titles and section blocks bug in s-pre-60.tex module

2014-05-05 Thread Maggyero
Hans, I think there is a bug in your s-pre-60.tex module regarding the step mechanism interacting with section blocks: the head titles disappear each time ConTeXt starts a new section block. I have found a way to solve this problem by putting \StartSteps\StopSteps (empty pair, and it works also

Re: [NTG-context] Some problems with a new style for the sections

2014-05-04 Thread Darksair
You need to use \section to type a section head. Also I think you are better off with \define[2]\MySectionCommand. Using \def issues some errors. On Sun, May 04, 2014 at 01:21:16PM +0200, Fabrice Couvreur wrote: Hi, I encounter two problems : - Section numbers are not red ; - Calling

Re: [NTG-context] Empty heads after leading whitespace

2014-05-03 Thread Wolfgang Schuster
subsection (whitespace before: fine)} \input knuth \stoptext When you don’t need a section entry in the TOC you can use “placehead=hidden”, the title of the section head can be accessed with the \namedstructurevariable command. \setupheadertexts[\namedstructurevariable{section}{title

[NTG-context] Empty heads after leading whitespace

2014-05-03 Thread Maggyero
Thanks Wolfgang. I could even have sections in the TOC with '\setuptexttexts[{\placerawheaddata[section]}]'. However, how can I start a new page at each new section? The 'page=yes' pair does no longer work with your solution 'placehead=hidden' (since the head is not placed I guess). I also tried

[NTG-context] Empty heads after leading whitespace

2014-04-30 Thread Maggyero
(whitespace before: )} % Here is my problem. \page \subsection{My subsection (NO whitespace before)} \stoptext The mechanism that automatically removes the leading whitespace at the top of a page doesn't work if there is an EMPTY head followed by another head (of a different level). How can I

Re: [NTG-context] Attributes

2014-04-23 Thread Hans Hagen
= \starttext \startluacode mycallback=function(head) if attributes.names==nil then print No attribute names at all end if attributes.numbers==nil then print No attribute numbers at all end for mynode in node.traverse_id(node.id

Re: [NTG-context] Attributes

2014-04-22 Thread Stéphane Goujet
returns nil ... = Example = \starttext \startluacode mycallback=function(head) if attributes.names==nil then print No attribute names at all end if attributes.numbers==nil

[NTG-context] bug with head in indices

2014-04-03 Thread Pablo Rodriguez
Hans, I’m afraid that the last beta (from today) introduced a bug that prevents heads to be generated with indices. The minimal sample: \starttext \index{æ}ae \chapter{Index place} \placeindex %~ \completeindex \stoptext It doesn’t work either with \placeindex or

Re: [NTG-context] bug with head in indices

2014-04-03 Thread Hans Hagen
On 4/3/2014 5:56 PM, Pablo Rodriguez wrote: Hans, I’m afraid that the last beta (from today) introduced a bug that prevents heads to be generated with indices. The minimal sample: \starttext \index{æ}ae \chapter{Index place} \placeindex %~ \completeindex

Re: [NTG-context] bug with head in indices

2014-04-03 Thread Pablo Rodriguez
On 04/04/2014 12:12 AM, Hans Hagen wrote: On 4/3/2014 5:56 PM, Pablo Rodriguez wrote: Hans, I’m afraid that the last beta (from today) introduced a bug that prevents heads to be generated with indices. in fact all text preceding mixed columns was gone .. side effect of playing with

Re: [NTG-context] bizarre error message

2014-04-01 Thread Thomas A. Schmitz
On 03/29/2014 11:26 PM, Hans Hagen wrote: Ok, we need indeed some example of this so that we can test. It can for instance relate to some prev pointer still not being ok (which can result in such errors). This means that when context looks back at some node that happens to be a head node, we can

Re: [NTG-context] bizarre error message

2014-04-01 Thread Hans Hagen
at some node that happens to be a head node, we can get weird effects. In due time this will be sorted out but the more tests we have the sooner. Sadly, it is a Heisenbug - I have been unable so far to isolate it. Compilation showed this bug both on linux and OS X - commented parts of the file

Re: [NTG-context] mirrored leftmarginwidth in enumerations

2014-03-30 Thread Sanjoy Mahajan
Wolfgang Schuster schuster.wolfg...@gmail.com writes: \defineenumeration [pause] [title=no, text={\symbol[triangle]}, width=fit, number=no, alternative=inleft] Thank you. That works beautifully. Is my understanding right, that width=fit is what makes the head (here

[NTG-context] PDF bookmarks issue with heads

2014-03-29 Thread Pablo Rodriguez
Hans, just accidentally, I discovered that adding a head (the content list itself) before the front matter disorders PDF bookmarks (bodymatter is before frontmatter). Here is a sample \setupinteraction[state=start] \placebookmarks[chapter,section] \starttext \completecontent

Re: [NTG-context] bizarre error message

2014-03-29 Thread Hans Hagen
to be a head node, we can get weird effects. In due time this will be sorted out but the more tests we have the sooner. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

Re: [NTG-context] new blank

2014-03-28 Thread Hans Hagen
On 3/28/2014 6:56 AM, Vladimir Lomov wrote: Seems that linux binaries a bit outdated, I get here: $ luatex --version | head -n 1 This is LuaTeX, Version beta-0.78.2 (TeX Live 2014/dev) (rev 4746) while on Windows: luatex --version This is LuaTeX, Version beta-0.79.0 (TeX Live 2013/W32TeX

Re: [NTG-context] new blank

2014-03-28 Thread luigi scarso
On Fri, Mar 28, 2014 at 10:00 AM, Hans Hagen pra...@wxs.nl wrote: On 3/28/2014 6:56 AM, Vladimir Lomov wrote: Seems that linux binaries a bit outdated, I get here: $ luatex --version | head -n 1 This is LuaTeX, Version beta-0.78.2 (TeX Live 2014/dev) (rev 4746) while on Windows

Re: [NTG-context] new blank

2014-03-28 Thread Jannik Voges
a bit outdated, I get here: $ luatex --version | head -n 1 This is LuaTeX, Version beta-0.78.2 (TeX Live 2014/dev) (rev 4746) while on Windows: luatex --version This is LuaTeX, Version beta-0.79.0 (TeX Live 2013/W32TeX) (rev 4953) ... For the record, this is message that luatex shows

Re: [NTG-context] new blank

2014-03-27 Thread Vladimir Lomov
, though this example works fine on Windows x64. Seems that linux binaries a bit outdated, I get here: $ luatex --version | head -n 1 This is LuaTeX, Version beta-0.78.2 (TeX Live 2014/dev) (rev 4746) while on Windows: luatex --version This is LuaTeX, Version beta-0.79.0 (TeX Live 2013/W32TeX

Re: [NTG-context] Placing arbitrary pdf bookmarks

2014-03-22 Thread Jean-Philippe Rey
with the layout of the stickers, so I didn't use \startchapter and the likes. I think there is workaround for your case: not placing heads in document. Very good hint, thank you. It works perfectly fine with MkII. With MkIV, although the head is not printed, some whitespace is added that disturbs

Re: [NTG-context] Placing arbitrary pdf bookmarks

2014-03-22 Thread Pablo Rodriguez
On 03/22/2014 07:11 PM, Jean-Philippe Rey wrote: [...] Very good hint, thank you. It works perfectly fine with MkII. With MkIV, although the head is not printed, some whitespace is added that disturbs the layout. I tried \setuphead[chapter,section][placehead=hidden] and got rid

Re: [NTG-context] Placing arbitrary pdf bookmarks

2014-03-22 Thread Jean-Philippe Rey
Hello Pablo, Le 22 mars 2014 à 20:00, Pablo Rodriguez oi...@gmx.es a écrit : my fault, this is the right head configuration: \setuphead[chapter,section][placehead=empty,before=,after=,] Works perfectly. Thank you very much. -- Jean-Philippe Rey Professeur - École

[NTG-context] confusion about expansion

2014-03-12 Thread Lars Huttar
Hello, I've got a running page head like this in my document: \def\CurrentUser{\cldcontext{os.resultofwhoami}} \def\Markname { Compiled \date by \CurrentUser \LUATEX +\ConTeXt\ \contextversion } and later: \setlayer[cropmark][preset=lefttop,x=3cm,y=-1.5\lineheight]{\Markname} But when I run

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