Re: [NTG-context] Keeping section and subsection together

2015-04-24 Thread Pablo Rodriguez
On 04/24/2015 11:07 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, thanks Pablo for the suggestion and Hans for the solution... I'd rather wait publishing the trick \setuphead[section][after={\blank[samepage,big]}] as I think this issue will be handled systematically (Hans'

[NTG-context] pausing compilation to show a message

2015-04-24 Thread Pablo Rodriguez
Dear list, I have this minimal sample: \starttext \writestatus{apples}{oranges} \message{Have you checked this variable?} \stoptext Is there a way that I can pause the compilation proccess to show the message and that compilation would continue by pressing any key? Many thanks for

Re: [NTG-context] vertical spacing and makeups

2015-04-19 Thread Pablo Rodriguez
On 04/19/2015 08:50 PM, Wolfgang Schuster wrote: Am 18.04.2015 um 20:29 schrieb Pablo Rodriguez: [...] So the a workaround would be to use \blank instead of \par or a blank line, wouldn’t it be? You can flush the content of the buffer in a \vbox where you set the whitespace at the begin

[NTG-context] issue with image in an xtable

2015-04-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupexternalfigures[location=default] \starttext \startxtable[option=stretch] \startxrow \startxcell First line left\stopxcell \startxcell\mbox{}\stopxcell \startxcell First line right\stopxcell

Re: [NTG-context] issue with image in an xtable

2015-04-20 Thread Pablo Rodriguez
On 04/20/2015 06:22 PM, Hans Hagen wrote: On 4/20/2015 5:34 PM, Pablo Rodriguez wrote: [...] If the image is higher than the two rows it is meant to have, the first two rows get extra height. Is this a bug or am I missing something? i don't know (yet) but these \mbox{} things look alien

Re: [NTG-context] issue with image in an xtable

2015-04-20 Thread Pablo Rodriguez
On 04/20/2015 06:36 PM, Hans Hagen wrote: On 4/20/2015 5:34 PM, Pablo Rodriguez wrote: [...] If the image is higher than the two rows it is meant to have, the first two rows get extra height. Is this a bug or am I missing something? for the brave ... line 707 in tabl-xtb.lua

Re: [NTG-context] issue with image in an xtable

2015-04-20 Thread Pablo Rodriguez
=10mm] \stopxcell Hi Pierre, I’m afraid that the extra spacing in the first two lines is not removed when commenting \dontleavehmode. I use the latest beta from 2015.04.18 14:41. Which ConTeXt version do you use? Pablo Le 20 avr. 2015 à 17:34, Pablo Rodriguez oi...@gmx.es a écrit

Re: [NTG-context] \setuphead for all existing sections

2015-04-20 Thread Pablo Rodriguez
On 04/20/2015 08:43 PM, Lukáš Procházka wrote: Hello Pablo, \setupheads doesn't work for this - see the test: Hi Lukáš, sorry, I thought that the plural of \setup... had the same options than its singular form. My fault, since I was totally wrong. I agree that it would be useful to have the

[NTG-context] ConTeXt Suite in Windows

2015-04-20 Thread Pablo Rodriguez
Dear list, I have downloaded the ConTeXt Suite (beta from 2015.04.14 18:48)for Win32 and Win64 in my Linux box using: sh ./first-setup.sh --platform=windows --modules=all sh ./first-setup.sh --platform=win64 --modules=all But when I try to run them, I experience the following issues:

Re: [NTG-context] Roman numerals in running heads in frontmatter.

2015-04-20 Thread Pablo Rodriguez
On 04/20/2015 09:03 PM, John Culleton wrote: When I set up running heads in frontmattter like this: \definestructureconversionset[frontpart:pagenumber][][romannumerals] \setupheadertexts [{\getmarking[title]}] [{\pagenumber}] [{\pagenumber}] [{\Titlea}]

Re: [NTG-context] pausing compilation to show a message

2015-04-24 Thread Pablo Rodriguez
the message only in the first run? Is there any conditional based on the run number? How can I insert a new line in \message? Many thanks for your help, Pablo On 04/24/2015 07:37 PM, Pablo Rodriguez wrote: Dear list, I have this minimal sample: \starttext \writestatus{apples}{oranges

Re: [NTG-context] Keeping section and subsection together

2015-04-23 Thread Pablo Rodriguez
On 04/23/2015 11:50 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, the following sample generates section title 5 Sec as a last/solitary heading (section) on the page. \starttext \dorecurse{5}{ \section{Sec} \subsection{Subsec} \input ward }

[NTG-context] Windows console message from utf-8 source

2015-04-27 Thread Pablo Rodriguez
Dear list, I have the following minimal example: \starttext \message{En español usamos acentuación} \stoptext Saved as utf-8, Linux displays the message fine. (I guess MacOS X would do the same.) The problem is the standard console in Windows. It requires IBM codepage 850

Re: [NTG-context] Right Margin Being ignored bug?

2015-05-02 Thread Pablo Rodriguez
On 05/02/2015 09:36 AM, henman wrote: The following minimal example demonstrate how a series of underscores in not handled right with regards to right margins. I realize there are a few rules command and I plan to use them in the future but for now I am just trying to port old forms

Re: [NTG-context] Font problems.

2015-05-02 Thread Pablo Rodriguez
On 05/02/2015 04:19 PM, John Culleton wrote: On the same source file Texlive 2004, context Hi John, sorry, but I wonder whether you meant TeX Live 2014. (mkiv) can find files that a more recent stand alone version of context can't. Font files, I guess. I need to set something somewhere so

[NTG-context] bug with \writebetweenlist and bookmarks?

2015-05-02 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \placebookmarks[chapter] \startsectionblockenvironment[bodypart] \writebetweenlist[chapter]{{\blank[3*halfline]}} \stopsectionblockenvironment \startsectionblockenvironment[backpart]

Re: [NTG-context] parsing in child attribute

2015-05-03 Thread Pablo Rodriguez
On 05/03/2015 11:19 PM, Thomas A. Schmitz wrote: On 05/03/2015 11:00 PM, Pablo Rodriguez wrote: How could I make that xml:h1 reads the attributes from its parent element (a division)? \xmlattribute {#1} {..//div} {id} should work (as explained in chapter 7 of xml-mkiv.pdf). Many thanks

[NTG-context] parsing in child attribute

2015-05-03 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] div id=myspecialid h1Title/h1 pA pragraph/p /div \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{div|h1|p}{xml:*} \stopxmlsetups \xmlregistersetup{xml:initialize}

Re: [NTG-context] Newbie needs help getting started

2015-05-04 Thread Pablo Rodriguez
On 05/04/2015 02:49 PM, Johan Råde wrote: Hi, I'm trying to get ConTeXt to run on my Windows machine (Windows 7 SP1). I already had MiKTeX installed on the machine. Here is what I did: 1. I downloaded context-setup-mswin.zip. 2. I unzipped and copied the folder to C:/context 3.

Re: [NTG-context] bug with \writebetweenlist and bookmarks?

2015-05-04 Thread Pablo Rodriguez
On 05/04/2015 10:47 AM, Hans Hagen wrote: On 5/2/2015 10:16 PM, Pablo Rodriguez wrote: [...] For some strange reason, the \writebetweenlist commands also add bookmarks with a question mark to the PDF bookmarks in the PDF file. Is this a bug or am I missing something? line 147 in strc

[NTG-context] two questions on lpaths

2015-05-04 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] div h1 id=myspecialidFirst Title/h1 pA paragraph/p p/p h1Second Title/h1 pA paragraph refered to a href=#myspecialidthe previous section/a/p p/p /div \stopbuffer \startxmlsetups

Re: [NTG-context] Letterhead Usage

2015-05-01 Thread Pablo Rodriguez
On 04/30/2015 08:46 PM, henman wrote: I have created a letterhead for correspondence, but it is too unfriendly to have to include it in every time. I would like to use it as a package, but don't know if it's possible. The problem I see is that the command \setlayer must be done after the

Re: [NTG-context] Windows console message from utf-8 source

2015-04-28 Thread Pablo Rodriguez
On 04/27/2015 08:09 PM, Hans Hagen wrote: On 4/27/2015 6:29 PM, Pablo Rodriguez wrote: [...] Is there any way to display the content of the \message above as cp850 from a utf-8 source? choose a font that has the glyphs and run chcp 65001 Hans, following your instructions, I experience

Re: [NTG-context] Windows console message from utf-8 source

2015-04-27 Thread Pablo Rodriguez
On 04/27/2015 07:48 PM, luigi scarso wrote: On Mon, Apr 27, 2015 at 6:29 PM, Pablo Rodriguez wrote: [...] Is there any way to display the content of the \message above as cp850 from a utf-8 source? What happen when you use Lucida Console as font ? Many thanks for your help, Luigi. As far

Re: [NTG-context] Windows console message from utf-8 source

2015-04-27 Thread Pablo Rodriguez
On 04/27/2015 08:09 PM, Hans Hagen wrote: On 4/27/2015 6:29 PM, Pablo Rodriguez wrote: [...] Is there any way to display the content of the \message above as cp850 from a utf-8 source? choose a font that has the glyphs and run chcp 65001 Many thanks for your reply, Hans. I thought chcp

Re: [NTG-context] Making \setupinterlinespace work with \switchtobodyfont

2015-04-30 Thread Pablo Rodriguez
On 04/30/2015 02:18 PM, Pavneet Arora wrote: Hello, I am trying to have inter-line space change according to the current size of the body font, which I modify with \switchtobodyfont, but I cannot seem to affect the desired change as per the MWE below. \setupinterlinespace seems to take

Re: [NTG-context] updating ConTeXt minimals to latest version

2015-05-03 Thread Pablo Rodriguez
On 05/03/2015 01:26 PM, Alan Bowen wrote: Though version 2015-05-01 is now available, running first-setup.sh retrieves only version 2015-04-18. Are we waiting for the latest minimal files to migrate or is the problem at my end? Hi Alan, I’m experiencing the same issue

Re: [NTG-context] Why is context.mkii out of date?

2015-05-03 Thread Pablo Rodriguez
On 05/03/2015 11:27 AM, Mojca Miklavec wrote: [...] (ModDate might also be wrong. In MkIV it's the same as CreationDate. And in MkIV Creator uses one extra space at the beginning.) Hi Mojca, I see another mismatch, http://www.pragma-ade.com/general/qrcs/setup-en.pdf has the following ConTeXt

Re: [NTG-context] removing # in XML identifiers

2015-05-07 Thread Pablo Rodriguez
On 05/06/2015 10:49 PM, Thomas A. Schmitz wrote: On 05/06/2015 09:38 PM, Pablo Rodriguez wrote: How could I get the following command working? \ctxlua{tex.print(string.sub(context(\\xmlatt{#1}{href}),2))} I'm not sure that this will ever work - you're mixing and nesting lua and tex

Re: [NTG-context] removing # in XML identifiers

2015-05-07 Thread Pablo Rodriguez
On 05/07/2015 11:44 PM, Hans Hagen wrote: [...] \startxmlsetups xml:a \cldcontext{string.sub([[\xmlatt{#1}{href}]],2)} % next beta (more efficient): % \xmlrefatt{#1}{href} \stopxmlsetups Many thanks for your reply and the improvement, Hans. Pablo -- http://www.ousia.tk

[NTG-context] removing # in XML identifiers

2015-05-06 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] a href=#myspecialidthe previous section/a \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{a}{xml:*} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:a

Re: [NTG-context] two questions on lpaths

2015-05-05 Thread Pablo Rodriguez
On 05/05/2015 12:34 PM, Hans Hagen wrote: On 5/4/2015 5:51 PM, Pablo Rodriguez wrote: Dear list, [...] The only way to make the link work in XML is to remove the '#' char from \xmlatt{#1}{href}. How could I achieve it without modifying the XML source? [...] string.sub('\xmlatt{#1}{href

[NTG-context] question about \xmlconcat

2015-05-10 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] doc h1 id=#myspecialidDocument Title/h1 h2 class=authorJohn Doe/h2 h2 class=authorJames Doe/h2 h2 class=authorJane Doe/h2 /doc \stopbuffer \startxmlsetups xml:initialize

Re: [NTG-context] question about \xmlconcat

2015-05-10 Thread Pablo Rodriguez
On 05/10/2015 05:43 PM, Hans Hagen wrote: On 5/10/2015 5:36 PM, Pablo Rodriguez wrote: [...] What I think I understand now is that it is impossible (it doesn’t make sense) to concatenate elements (pardon my inaccuracy) inside one of these elements. indeed, in that case you need to set

[NTG-context] understanding \xmlsetup

2015-05-10 Thread Pablo Rodriguez
Dear list, to setup the language attribute in div and span elements from HTML, Hans kindly provided me with the following setup: \startxmlsetups xml:lang \begingroup \language[\xmlatt{#1}{lang}] \xmlsetup{#1}{xml:\xmltag{#1}} \endgroup

Re: [NTG-context] question about \xmlconcat

2015-05-10 Thread Pablo Rodriguez
On 05/10/2015 01:24 PM, Hans Hagen wrote: [...] \startbuffer[demo] doc h1 id=#myspecialidDocument Title/h1 h2 class=authorJohn Doe/h2 h2 class=authorJames Doe/h2 h2 class=authorJane Doe/h2 pwhatever/p /doc \stopbuffer \startxmlsetups xml:initialize

[NTG-context] optional lpaths to merge \xmlsetsetup?

2015-05-10 Thread Pablo Rodriguez
Hans, many thanks for the explanation with \xmlsetup. I have one more question for today concerning lpaths. I have the following commands: \xmlsetsetup{\xmldocument} {span[@label]} {xml:logo} \xmlsetsetup{\xmldocument}

Re: [NTG-context] optional lpaths to merge \xmlsetsetup?

2015-05-11 Thread Pablo Rodriguez
On 05/11/2015 09:25 AM, Hans Hagen wrote: On 5/10/2015 9:40 PM, Pablo Rodriguez wrote: [...] Is there no way to merge both in one? (The basic rule a|b doesn’t seem to work here, altough I may be missing everything :-(.) it all depends on what you want to do eventually \xmlsetsetup

[NTG-context] issue with \doifdefined

2015-05-09 Thread Pablo Rodriguez
Dear list, I have the following sample: \def\abcde{123} \starttext \doifdefinedelse{\abcd}{defined}{undefined} \stoptext \doifdefined crashes when the command isn’t defined. Sorry, but isn’t this command supposed to check whether the command is defined or not? Many thanks for

Re: [NTG-context] issue with \doifdefined

2015-05-09 Thread Pablo Rodriguez
On 05/09/2015 12:59 PM, Wolfgang Schuster wrote: Am 09.05.2015 um 12:36 schrieb Pablo Rodriguez: [...] \doifdefined crashes when the command isn’t defined. Sorry, but isn’t this command supposed to check whether the command is defined or not? You have to omit the backslash in the first

[NTG-context] bug in xtables?

2015-05-09 Thread Pablo Rodriguez
Dear list, the following sample shows a weird issue: \starttext \startbuffer[somextable] \startxtable[option=stretch, align=center] \startxrow \startxcell[width=.2\textwidth] a \stopxcell \startxcell b \stopxcell \startxcell c \stopxcell

[NTG-context] language mode with XML

2015-05-16 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] doc lang=es h1Document Title/h1 pText from paragraph./p h1Document Title/h1 pText from paragraph./p /doc \stopbuffer \startxmlsetups xml:initialize

Re: [NTG-context] Setup narrower body text for sections

2015-05-14 Thread Pablo Rodriguez
On 05/14/2015 06:16 PM, Kate F wrote: Hi, I'm typesetting unix manpages, where I want each section heading to be outset slightly relative to the body text of that section. In other words, I want the body text to have a left margin which is narrower than the page width. Hi Kate, a quick

[NTG-context] bug in latest beta?

2015-05-14 Thread Pablo Rodriguez
Hans, after upgrading to beta from 2015.05.13 23:52, the compilation of most of my documents crashes. I get two different errors depending on the document: error: .../ctxbeta/tex/texmf-context/tex/context/base/typo-itc.lua:148: attempt to call global 'setfield' (a nil value) error:

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

2015-05-14 Thread Pablo Rodriguez
On 05/14/2015 10:46 PM, Pablo Rodriguez wrote: Hans, after upgrading to beta from 2015.05.13 23:52, the compilation of most of my documents crashes. I get two different errors depending on the document: error: .../ctxbeta/tex/texmf-context/tex/context/base/typo-itc.lua:148: attempt

[NTG-context] issue with xtable in latest beta

2015-05-13 Thread Pablo Rodriguez
Hans, I have the following sample: \setupindenting[yes, always, big] \starttext This is the first pagraph. \startbuffer[somextable] \startxtable[option=stretch, align=center] \startxrow \startxcell[width=.3\textwidth] a \stopxcell

Re: [NTG-context] issue with xtable in latest beta

2015-05-13 Thread Pablo Rodriguez
On 05/13/2015 07:12 PM, Hans Hagen wrote: [...] it's hard to find a robust solution \setvalue{\??xtableflushsplit\v!no}% {% \noindent % gives extra line after table % \dontleavehmode % no leftskip \kern\zeropoint % yet another guess \ignorespaces

Re: [NTG-context] issue with xtable in latest beta

2015-05-13 Thread Pablo Rodriguez
On 05/13/2015 05:57 PM, Wolfgang Schuster wrote: [...] The missing indentation of the paragraph after the table is caused by the \noindentationcommand which is called when you set “split=no” for your xtables. In older versions ofthe code Hans used \noindent instead which didn’t lead to the

[NTG-context] output file size with repeated image

2015-04-14 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupexternalfigure[location=default] \starttext \startmode[repeated-image] \dorecurse{10}{ \dorecurse{10}{ \dorecurse{10}{ \externalfigure[cow]\input zapf\par}}} \stopmode

[NTG-context] bug in \setuptype?

2015-04-14 Thread Pablo Rodriguez
Hans, I have this sample: \definetype[TeXcode][option=TEX] \starttext \TeXcode{\ConTeXt} \stoptext With beta from 2015.04.14 19:03, there is no color, no bold font or monospace typeface. I’m afraid it may be a bug. Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] output file size with repeated image

2015-04-14 Thread Pablo Rodriguez
On 04/14/2015 07:39 PM, Hans Hagen wrote: On 4/14/2015 7:07 PM, Pablo Rodriguez wrote: [...] Although the image is the same (and it is only embedded once) file size with repeated image is almost two and a half times that the version with a single image. Is this right or am I missing

[NTG-context] bug in xtables?

2015-04-15 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startxtable \startxrow \startxcell a\stopxcell \startxcell b \stopxcell \stopxrow \startxrow \startxcell c\stopxcell \startxcell[width=.65\textwidth] \input zapf

[NTG-context] \setupinterlinespace not working in style

2015-04-15 Thread Pablo Rodriguez
Dear list, the following sample: \definetyping [tycode] [option=TEX, style={\tt\setupinterlinespace[line=5em]}] \starttext \section{\input zapf} \starttycode legibilidad, {\en legibility}, {\de Lesbarkeit} \stoptycode

Re: [NTG-context] bug in xtables?

2015-04-15 Thread Pablo Rodriguez
On 04/15/2015 06:43 PM, Hans Hagen wrote: On 4/15/2015 5:45 PM, Pablo Rodriguez wrote: [...] Last cell is wrong with stable from TeX Live (2014.05.21 22:04), from 2015.03.25 22:13 and latest one from 2015.04.15 01:44. I’m afraid it may be a bug. an old one then Many thanks for your

[NTG-context] issues with line numbering

2015-04-15 Thread Pablo Rodriguez
Hans, I’m afraid that I have another sample: \setupbodyfont[dejavu] \setuplinenumbering[style=\tfxx] \starttext \startlinenumbering \input zapf \stoplinenumbering \stoptext It compiles fine with beta from 2015.03.25 22:13. With beta from 2015.04.15 01:44,

Re: [NTG-context] \setupinterlinespace not working in style

2015-04-16 Thread Pablo Rodriguez
On 04/16/2015 02:36 PM, Hans Hagen wrote: On 4/15/2015 7:50 PM, Pablo Rodriguez wrote: [...] shows simple (wrong) interline spacing with latest beta and it has right interline spacing with stable from TeX Live 2014. Is this a bug or am I missing something? hm, i made it so that option

[NTG-context] line numbers position

2015-04-16 Thread Pablo Rodriguez
Dear list, I have the following sample: \mainlanguage[es] \setuppapersize[A7] \setuppagenumbering[location=,] \starttext \startlinenumbering \input cervantes-es \stoplinenumbering \stoptext Compiled with latest beta, line numbers are partly off the page:

[NTG-context] wrong vertical spacing in latest beta

2015-04-16 Thread Pablo Rodriguez
Hans, this sample: \showgrid \setupbodyfont[30pt] \starttext {\tfa\setupinterlinespace \ConTeXt\par}\\ {\tfxx\setupinterlinespace Author\par}\\ {\tfxx\setupinterlinespace\currentdate\par}\\ {\tf\setupinterlinespace url\par} \stoptext With either latest beta or

Re: [NTG-context] Handling line numbers in frontmatter.

2015-04-16 Thread Pablo Rodriguez
On 04/16/2015 09:19 PM, John Culleton wrote: In the sample shown below I get correct (roman) line numbers but the very first page, imported from plug.tex has an unwanted page number. If I surround that page with: \startstandardmakeup[doublesided=no,page=yes] and \stopstandardmakeup the

Re: [NTG-context] wrong vertical spacing in latest beta

2015-04-16 Thread Pablo Rodriguez
On 04/16/2015 10:38 PM, Hans Hagen wrote: On 4/16/2015 10:20 PM, Pablo Rodriguez wrote: On 04/16/2015 09:51 PM, Hans Hagen wrote: [...] I have seen strut in the past, but I’m afraid that I don’t know what it may be or what I can use it for (besides your sample). tex has no built-in concept

Re: [NTG-context] line numbers position

2015-04-16 Thread Pablo Rodriguez
On 04/16/2015 10:50 PM, Hans Hagen wrote: On 4/16/2015 7:14 PM, Pablo Rodriguez wrote: [...] Compiled with latest beta, line numbers are partly off the page: http://www.ousia.tk/latestbeta-linenumbers.png. Compiled with beta from 2014.03.07 11:42, they fit in the page: http://www.ousia.tk

Re: [NTG-context] wrong vertical spacing in latest beta

2015-04-16 Thread Pablo Rodriguez
On 04/16/2015 09:51 PM, Hans Hagen wrote: On 4/16/2015 6:50 PM, Pablo Rodriguez wrote: [...] I’m afraid it might be a bug. hm, more likely a fix (prevdepth or so) \startbuffer[a] \ruledvbox{x\tfa \setupinterlinespace \strut \ConTeXt \par \strut x\par}\blank \ruledvbox{x

[NTG-context] imposition not working in latest beta

2015-04-16 Thread Pablo Rodriguez
Hans, I’m afraid that imposition is not working with latest beta. Either the command (it crashes): context --extra=arrange --printformat=2UP --paperformat=A4*A3,landscape a.pdf Or the following sample has no text in output: \setuppapersize [A5][A4,landscape] \setuparranging [2UP]

Re: [NTG-context] imposition not working in latest beta

2015-04-18 Thread Pablo Rodriguez
On 04/18/2015 01:39 PM, Hans Hagen wrote: On 4/18/2015 12:18 PM, Pablo Rodriguez wrote: [...] It doesn’t work with (.log file attached): contextjit --extra=arrange --printformat=2UP --paperformat=A4*A3,landscape a.pdf unrelated ... this is a forgotten argument in luat-ini.mkiv: \def

[NTG-context] vertical spacing and makeups

2015-04-18 Thread Pablo Rodriguez
Dear list, I have the following sample: \showgrid \setupinteraction[option=max] \setuppapersize[S6] \setuppagenumbering[location=] \setupbodyfont[100pt] \setupwhitespace[big] \startsetups[setups:slides] \setupwhitespace[big] \stopsetups

Re: [NTG-context] vertical spacing and makeups

2015-04-18 Thread Pablo Rodriguez
On 04/18/2015 07:15 PM, Wolfgang Schuster wrote: Am 18.04.2015 um 18:43 schrieb Pablo Rodriguez: [...] The first page shows that \setupwhitespace[big] affects to a single line in a makeup. Shouldn’t white space be added only between paragraphs? The second page is right vertically centered

Re: [NTG-context] Hidden chapter header? ... was: Change counter of chapters

2015-04-18 Thread Pablo Rodriguez
On 04/18/2015 12:34 PM, Jaroslav Hajtmar wrote: Thanks Pablo for workable solutions. Both solutions are working, as I imagined. Anyway, fortunately I do not work with Word itself, but for example. Colleagues, friends and acquaintances. It is sometimes necessary make something in ConTeXt

Re: [NTG-context] bug in \setupreferencestructureprefix?

2015-04-14 Thread Pablo Rodriguez
On 04/15/2015 01:33 AM, Hans Hagen wrote: On 4/14/2015 10:22 PM, Pablo Rodriguez wrote: [...] Reference should be 1.1 and not only 1. It works fine with beta from 2015.03.25 22:13. I’m afraid it may be a bug. indeed, introduced when updating some interface part to the latest greatest

Re: [NTG-context] bug in \setuptype?

2015-04-14 Thread Pablo Rodriguez
On 04/14/2015 09:16 PM, Wolfgang Schuster wrote: Am 14.04.2015 um 20:30 schrieb Pablo Rodriguez: [...] \definetype[TeXcode][option=TEX] [...] With beta from 2015.04.14 19:03, there is no color, no bold font or monospace typeface. I’m afraid it may be a bug. Make the following change

[NTG-context] bug in \setupreferencestructureprefix?

2015-04-14 Thread Pablo Rodriguez
Dear list, I have just discovered another issue with latest beta from 2015.04.14 19:03: \setupreferencestructureprefix[default][prefixsegments=2:4] \setuphead[section][sectionsegments=section] \starttext \in[mysection] \chapter[mychapter]{My Chapter}

Re: [NTG-context] \setuphead for all existing sections

2015-04-17 Thread Pablo Rodriguez
On 04/17/2015 12:00 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, is there a way to affect (setup) all sections that have been defined, like: \setuphead[*][distance=1.5em] instead of:

Re: [NTG-context] Hidden chapter header? ... was: Change counter of chapters

2015-04-18 Thread Pablo Rodriguez
On 04/18/2015 07:22 AM, Jaroslav Hajtmar wrote: Hello ConTeXist My last Subject contribution maybe so misleading that it nobody react. I'll try therefore to bring different view: Exist any possibility of creating some kind of hidden chapters (sections, subsections)? The command would

Re: [NTG-context] imposition not working in latest beta

2015-04-18 Thread Pablo Rodriguez
On 04/17/2015 12:22 AM, Hans Hagen wrote: On 4/16/2015 11:21 PM, Pablo Rodriguez wrote: Hans, I’m afraid that imposition is not working with latest beta. indeed, also side effect of the mp upgrade .. fixed in next beta Many thanks for your fix, Hans. I’m afraid that it only works

[NTG-context] bug in \sethyphenatedurlafter, \sethyphenatedurlbefore and \sethyphenatedurlnormal?

2015-04-09 Thread Pablo Rodriguez
Hans, the minimal sample doesn’t compile with latest beta from 2015.04.08 21:31: \sethyphenatedurlafter{./-_} \define[1]\url{{\tt\goto{\hyphenatedurl{#1}}[url(#1)]}} \starttext \url{http://contextgarden.net} \stoptext It compiles fine with beta from 2015.03.25 22:13. I’m

Re: [NTG-context] (hindi) font questions

2015-04-09 Thread Pablo Rodriguez
On 04/08/2015 11:47 PM, Harald Koenig wrote: Hi, I'd like to type set a single hindi/devanagari word in a chapter heading (using standalone MkVI), where I need your help for some questions/problems: - which (free) font do you suggest ? right now I'm using Lohit-Devanagari. text font is

Re: [NTG-context] Placing a page without a blank page after.

2015-04-09 Thread Pablo Rodriguez
On 04/08/2015 11:50 PM, John Culleton wrote: I have tried various things like \start/stop/standardmakeup, \start/stop/TEXpage and so on. I am trying to place a full sized page including bleeds without a blank page following. Sometimes It works but mostly it gives me a blank page following.

Re: [NTG-context] \placefootnotes bug?

2015-04-05 Thread Pablo Rodriguez
On 04/05/2015 09:09 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, In the attached files, watch the behavior of the second footnote: The footnote numeral and accompanying note are out of alignment. Toggle this line: \setupnotation[footnote]

[NTG-context] alphabetically ordered notes

2015-04-05 Thread Pablo Rodriguez
Hans, as you told me to remind you latter, here you have the proposal for alphabetically ordered footnotes: \setuplanguage[en][patterns={en,agr}] \setuppapersize[A7] \setupbodyfont[dejavu, 12pt] \definenote[dict] \setupnote[dict][n=2,rule=off, split=strict,

Re: [NTG-context] Having difficulty getting unicode characters to display in ConTeXT output PDF

2015-04-08 Thread Pablo Rodriguez
On 04/07/2015 08:40 PM, david.boerschl...@juno.com wrote: I am having difficulty getting Unicode characters to display correctly in PDF output using ConTeXT. Also, the PDF Bookmarks are not showing inthis example. ConTeXt ver: 2014.12.11 12:02 MKIV beta fmt: 2014.12.15 int:

Re: [NTG-context] alphabetically ordered notes

2015-04-08 Thread Pablo Rodriguez
On 04/08/2015 07:51 PM, Hans Hagen wrote: On 4/5/2015 8:32 PM, Pablo Rodriguez wrote: [...] BTW, it would be extremely useful to be able to place this kind of notes on each page and also with a \placenotes command. quite tricky due to synchronization issues Many thanks for your help

Re: [NTG-context] line spacing (\setupinterlinespace) with grid

2015-04-08 Thread Pablo Rodriguez
On 04/08/2015 05:54 PM, Csikos Bela wrote: Hello: When I set grid layout on (\setuplayout[grid=yes]) \setupinterlinespace has no effect. Hi Csikos, I guess this is intended. \setuplayout[grid=yes] may impose that all lines have to be exactly over the grid lines. It is only an educated

Re: [NTG-context] line spacing (\setupinterlinespace) with grid

2015-04-08 Thread Pablo Rodriguez
On 04/08/2015 07:12 PM, Csikos Bela wrote: [...] I think there is setting to change the default line spacing to which the grids are adjusted. The question is how? Add the following line before \setuplayout: \setupinterlinespace[line=3em] This is the standard way to set the default

Re: [NTG-context] alphabetically ordered notes

2015-04-08 Thread Pablo Rodriguez
On 04/08/2015 09:12 PM, Hans Hagen wrote: On 4/8/2015 8:36 PM, Pablo Rodriguez wrote: On 04/08/2015 07:51 PM, Hans Hagen wrote: On 4/5/2015 8:32 PM, Pablo Rodriguez wrote: [...] BTW, it would be extremely useful to be able to place this kind of notes on each page and also with a \placenotes

Re: [NTG-context] Setup footnotes mark placement

2015-06-05 Thread Pablo Rodriguez
On 06/05/2015 12:17 PM, Michał Goliński wrote: Dear list, in the following file: [...] footnote mark in the footer is not visible because of the very narrow backspace (it is placed off-paper). Is it possible to make the mark visible without making the backspace broader? Hi Michał, I

[NTG-context] issue with font sizes

2015-06-21 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefontfamily [anothersans] [ss] [DejaVu Sans] \starttext \tfxx smaller text with \anothersans\ss second sans. \stoptext I need to add an alternative ss and tt font. The problem is that when changing the

Re: [NTG-context] selecting font by (file) name

2015-06-12 Thread Pablo Rodriguez
On 06/12/2015 08:13 PM, Thad Heltemes wrote: Pablo, I had a similar problem with the IM Fell fonts, here's what I had in my file to get ConTeXt to see them: \definefontfamily[mainface][serif][IMFellEnglishProRoman][tf=file:IMFEENRM29C.otf, it=file:IMFEENIT29C.otf] so I think you just

[NTG-context] selecting font by (file) name

2015-06-12 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [tt] %~ [file:lmmonoproplt10-regular.otf] [name:lmmonoproplt10regular] \setupbodyfont [mainface]

Re: [NTG-context] ConTeXt not defending the right margin

2015-06-01 Thread Pablo Rodriguez
On 06/01/2015 08:11 AM, henman wrote: I am using mtxrun | ConTeXt TDS Runner Tool 1.31 In real life I get documents that have long blank lines which are a sequence of underscore characters. I have to transcribe these into ConTeXt file. But when compiled into a pdf file the long

Re: [NTG-context] ConTeXt not defending the right margin

2015-06-01 Thread Pablo Rodriguez
On 06/01/2015 09:12 AM, Otared Kavian wrote: Hi, Probably instead of underscores you should use horizontal line, that is \hl[3] (or any other value instead of 3), something like \starttext Date: \hl[8], 20\hl[5], at \hl[5], City \hl[7] \stoptext Hi Otared, but I’m afraid

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

2015-06-01 Thread Pablo Rodriguez
On 06/01/2015 08:45 AM, Otared Kavian wrote: Hi Pablo, Indeed the document I was talking about has been typeset with various versions of mkiv, but now I observe that sometimes the pagebreaks are made in a very strange way. Since I can’t make a minimal example, I put on the following link an

Re: [NTG-context] Updated XML interface file?

2015-06-01 Thread Pablo Rodriguez
On 06/01/2015 05:08 PM, Paul Mazaitis wrote: Hello, list! At one point, it looks like there was an (automatically?) generated XML file of the ConTeXt user interface; the most recent version of this that I can find is from 2006, and appears (the English version, anyway) to be out of

Re: [NTG-context] `\setupcite[num][compress={no}] is ignored in the '2015.02.03 23:55' version of ConTeXt

2015-06-01 Thread Pablo Rodriguez
On 06/01/2015 05:01 PM, Alexander Shukaev wrote: Hello, it looks like \setupcite[num][compress={no}] has no effect in the '2015.02.03 23:55' version of ConTeXt. Note that I also have \setuppublications[refcommand={num}] I hope I didn't miss anything. Hi Alexander, I have no

[NTG-context] bug in latest beta?

2015-05-27 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe\showgrid \setuplayout[setups=*lessstrict] \startsetups[*lessstrict] \setup[reset] \widowpenalty=1 \clubpenalty=1 \brokenpenalty=0 \stopsetups \setupbodyfont[pagella, 12.6pt]

Re: [NTG-context] Hash (Pound) Sign (#) in `\biburl'

2015-05-31 Thread Pablo Rodriguez
On 05/30/2015 11:04 AM, Alexander Shukaev wrote: Hello, I ran into the problem with `\biburl': \biburl{http://computing.llnl.gov/tutorials/mpi_performance/#Protocols} [...] Do you have any suggestions on how to overcome this problem? Thanks a lot. Hi Alexander, this may work:

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

2015-05-31 Thread Pablo Rodriguez
On 05/28/2015 04:59 PM, Otared Kavian wrote: Hi Pablo, I tested your sample with ConTeXt ver: 2014.05.21 22:04 MKIV beta fmt: 2015.3.31 int: english/english (which is from TeXLIve 2014) and also with ConTeXt ver: 2015.05.21 13:39 MKIV beta fmt: 2015.5.21 int: english/english

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

2015-05-31 Thread Pablo Rodriguez
On 05/28/2015 07:10 PM, Hans Hagen wrote: On 5/27/2015 10:38 PM, Pablo Rodriguez wrote: [...] Compiling it with beta from 2015.03.25 22:13, page break is fine. But with latest beta from 2015.05.24 12:42 (or even with beta from 2015.05.15 11:42 includes a wrong page break. The setups

Re: [NTG-context] \math or $ doesn't work.

2015-06-02 Thread Pablo Rodriguez
On 06/02/2015 05:54 PM, John Culleton wrote: On Tue, 2 Jun 2015 11:45:35 -0400 John Culleton wrote: I want to insert the string 8 1/2 x 11 in my text. Here is my test file: \starttext \math{8^1_2} × 11 inch, \stoptext I am

Re: [NTG-context] Updated XML interface file?

2015-06-02 Thread Pablo Rodriguez
On 06/01/2015 11:32 PM, Paul Mazaitis wrote: On 1 Jun 2015, at 11:46, Pablo Rodriguez wrote: [...] do you mean http://www.pragma-ade.com/general/qrcs/setup-en.pdf? The PDF command reference is good, but I'm looking for something that's easier to parse with software. If this is not what

Re: [NTG-context] Blank line before placehead=empty

2015-06-02 Thread Pablo Rodriguez
On 06/02/2015 07:05 PM, Kate F wrote: Hi, I have a document where I'm showing chapter titles in headers, rather than on the page in the usual place in the body text area. Using placehead=empty, what causes the blank line before the text? Is there a way to suppress it? I see there's no

[NTG-context] bug with bookmarks?

2015-07-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \placebookmarks [part,chapter,section,subsection,subsubsection] [part,chapter] \starttext \placelist[part,chapter] \startfrontmatter \chapter{Introduction} \stopfrontmatter

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