[NTG-context] Document metadata after context --extra=select script

2024-03-10 Thread Michael Guravage
Greetings, I set a document's title with the following code: \expanded {\setupmetadata [title={Document Title}]} I then create a derivative document with a selection of pages using ConTeXt's select script. context --extra=select [options] list-of-files The metadata title of this

[NTG-context] Hyperlinks cease working after page selection

2024-02-26 Thread Michael Guravage
--selection=1 --result=foobar.pdf mwe.pdf -- With kind regards, Michael Guravage ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https

[NTG-context] imposition: getting to the last page of a booklet

2024-02-23 Thread Michael Guravage
Greetings, I would like to use the nextquadruple and beforequadruple pagebreakhandlers described at the bottom of the wiki's imposition page. However, the examples complain of an error invoking the \installpagebreakhandler command. The wiki page was last updated nearly four years ago. Is anyone

[NTG-context] XML processing, unwanted indentation/alignment

2024-02-15 Thread Michael Guravage
Greetings, I'm typesetting an address book whose addresses are in XML. A typical entry has this structure: initials and birthday are required, first_name can be left blank and email, mobile and maiden_name are optional. I've written a macro (name) to

[NTG-context] Re: removing whitespace

2024-02-13 Thread Michael Guravage
} \stoptext With kind regards, Michael On Tue, Feb 13, 2024 at 2:54 AM Michael Guravage < gurav...@literatesolutions.com> wrote: > In the example below I pass the macro a string with a space, but the space > should not appear in the url. > > I've tried using \ctxlua to invoke

[NTG-context] removing whitespace

2024-02-12 Thread Michael Guravage
In the example below I pass the macro a string with a space, but the space should not appear in the url. I've tried using \ctxlua to invoke string substitution, but without success. What is the proper way to remove this space, and to perform string manipulation more generally?

[NTG-context] Testing whether an XML attribute exists

2023-10-17 Thread Michael Guravage
mldoifnotatt{#1, prefix, ''} {, \xmlatt{#1}{prefix}}} \crlf \xmlflush{#1} \stopxmlsetups I have attached three files below: an XML address list, the ConTeXt source file and the typeset result. -- With kind regards, M

[NTG-context] Tabulate \TH command not working in latest release

2023-01-04 Thread Michael Guravage via ntg-context
While typesetting a document containing a small tabulated table with the latest release I noticed that the tabulate \TH command hadn't added any vertical space between the rows. Here's a mwe. \starttext \starttabulate[|l|l|] \NC Γ \NC Gamma \NC\NR \NC Θ \NC Theta \NC\NR \TB[line]

Re: [NTG-context] How to place text before a table inside a column environment

2021-07-22 Thread Michael Guravage
erpage 20, subpage 20 pages > flushing realpage 21, userpage 21, subpage 21 ... I stopped counting at 200, Cheers, Michael On Thu, Jul 22, 2021 at 1:14 PM Henning Hraban Ramm wrote: > columnsets need \setuplayout[grid=yes] – did you check that? > > HR > > > Am 22.07

Re: [NTG-context] How to place text before a table inside a column environment

2021-07-22 Thread Michael Guravage
> > I don’t know if tables work well within a columnset, though. > > Hraban > > > > Am 22.07.2021 um 11:52 schrieb Michael Guravage < > gurav...@literatesolutions.com>: > > > > I have created a table and placed it inside a columns environment; which &

[NTG-context] How to place text before a table inside a column environment

2021-07-22 Thread Michael Guravage
I have created a table and placed it inside a columns environment; which works as advertised. However, if I place any text before the column environment, the columns break. More clearly stated, only one column appears on the first table page; whereas two columns resume on subsequent pages. I have

Re: [NTG-context] quotes potruding out in the left margin

2021-06-05 Thread Michael Guravage
If you were to add a start-stopquotation block to Wolfgang's example, you'd see that the resulting paragraph has lost its narrowness. Is there a way to allow quotes to protrude into the left margin while preserving the narrowness of start-stopquotation blocks? My own solution is not to

Re: [NTG-context] LMTX and my custom typescripts

2021-05-28 Thread Michael Guravage
A pox upon me for a clumsy lout! On Fri, May 28, 2021 at 6:54 PM Thomas A. Schmitz < thomas.schm...@uni-bonn.de> wrote: > > > On 28. May 2021, at 18:40, Michael Guravage < > gurav...@literatesolutions.com> wrote: > > > > Any encouragement in how to re

[NTG-context] LMTX and my custom typescripts

2021-05-28 Thread Michael Guravage
Yesterday I installed a new LMTX instance *ex nihilo*. Unfortunately, the new instance will not load my typescripts. My several commercial fonts and the typescripts I wrote for them reside in the texmf-project tree, along with a style file that loads them. I load the style file in my source files

[NTG-context] Protruding quotation marks obviate narrowed quotations

2020-12-30 Thread Michael Guravage
Several months ago I posed the following question. When I start a paragraph with a \quote or a \quotation the left quotemark does not protrude, but when I use Unicode quotes it does. I would prefer to use the commands. Any suggestions on how I can achieve proper left protrusion without resorting

[NTG-context] left protruding quotations

2020-05-14 Thread Michael Guravage
When I start a paragraph with a \quote or a \quotation the left quotemark does not protrude, but when I use Unicode quotes it does. I would prefer to use the commands. Any suggestions on how I can achieve proper left protrusion without resorting to Unicode characters? Cheers, Michael % Setup

Re: [NTG-context] \startquotation and citations

2020-03-26 Thread Michael Guravage
][source=\footnote{See Tufte …}] %% Quotation marks do not protrude \input tufte \stopuserdata \stoptext On Thu, Mar 26, 2020 at 2:56 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Michael Guravage schrieb am 26.03.2020 um 14:29: > > Greetings, > > &g

[NTG-context] \startquotation and citations

2020-03-26 Thread Michael Guravage
Greetings, I would like to add a citation to a block quotation. Wolfgang proposed a solution back in May 2011. With \star-stopquotation, the left quotation mark protrudes to the left of the text. With Wolfgang's solution, the

[NTG-context] Loading units fails

2018-04-24 Thread Michael Guravage
of m-units.mkiv. Any help would be appreciated. -- With kind regards, Michael Guravage open source > level 1, order 1, name '/opt/ConTeXt-alpha/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv' system > system > ConTeXt ver: 2018.04.19 15:53 MKIV

[NTG-context] Repeating Headers for Tabulate not Working

2017-12-22 Thread Michael Guravage
Though this issue has appeared periodically over the years, this minimal example still does not work. Compiled with ConTeXt version: 2017.12.20 10:48. Any suggestions? Cheers, Michael \starttext \setuptabulate[split=yes,header=repeat] \starttabulatehead \HL \NC {\bf format char} \NC {\bf

[NTG-context] Repeating Headers for Tabulate not Working

2017-12-22 Thread Michael Guravage
Though this issue has appeared periodically over the years, this minimal example still does not work. Compiled with ConTeXt version: 2017.12.20 10:48. Any constructive suggestions? \starttext \setuptabulate[split=yes,header=repeat] \starttabulatehead \HL \NC {\bf format char} \NC {\bf

[NTG-context] Modifying an existing letter style

2017-12-05 Thread Michael Guravage
styles and those styles derived from them seem to use these elements. Is there any way to acheive the required side-by-side layout short of cobbling together my own style? Any helpful advice would be greatly appreciated. -- With kind regards, Michael Guravage letter.tex Description: TeX

[NTG-context] Tweaking an existing letter style

2017-12-05 Thread Michael Guravage
I am typesetting a letter using Wolfgang's letter module. I have a requirement that deviates from any of the existing styles, namely that the recipient, i.e. the address, and the sender, i.e., the header, need to start left and right respectively and at the same height. I am using the modified

[NTG-context] Assigning a variable to the list argument in \setupsection

2016-04-14 Thread Michael Guravage
Greetings, I would like to use a variable for the value of the list argument in, e.g., the \startsection command. If you compile my little example you will see that the first 'literal' assignment works, while the second 'variable' assignment does not. What am I missing here? Cheers, Michael

[NTG-context] Assigning a variable to the list argument in \setupsection

2016-04-14 Thread Michael Guravage
Greetings, I would like to use a variable for the value of the list argument in, e.g., the \startsection command. If you compile my little example you will see that the first 'literal' assignment works, while the second 'variable' assignment does not. What am I missing here? Cheers, Michael

Re: [NTG-context] Learning about Kerning

2015-09-16 Thread Michael Guravage
[.40]}] \startsubject[title={Properties of Blood}] \stopsubject \setuphead[subject][style=\setff{smallcapitals},deeptextcommand={\stretched}] \startsubject[title={Properties of Blood}] \stopsubject \stoptext On Mon, Sep 14, 2015 at 5:33 PM, Michael Guravage <gurav...@gmail.com>

[NTG-context] Learning about Kerning

2015-09-15 Thread Michael Guravage
Hi, I am trying to use kerning in subject titles. \kernchracters works pretty good, but as you can see in the attached example, there is a gap before the Ts in Properties, and again in Praefatio and Praefationis. The \stretched command yields similar results, vis-à-vis the gaps. If somebody can

[NTG-context] Resizing multi-line fill-in field

2014-07-01 Thread Michael Guravage
into various fields will vary, but it is inappropriate to reserve a large block of space for each field. Any suggestions would be greatly appreciated. -- With kind regards, Michael Guravage ___ If your question is of interest

[NTG-context] PDF Forms - expanding multi-line text fields

2014-06-17 Thread Michael Guravage
, Michael Guravage ___ 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-context webpage : http://www.pragma-ade.nl

[NTG-context] Stepper code fails

2014-03-28 Thread Michael Guravage
by changes in the latest release. I have attached the log file for those who are interested. Any suggestions how to rectify this problem would be much appreciated. With kind regards, Michael Guravage (/ufs/guravage/opt/ConTeXt-beta/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver

[NTG-context] endnotes, imposition and recurselevel

2012-01-19 Thread Michael Guravage
.}\par} \stopsubject \startsubject[title=Second] \placefootnotes \stopsubject \stoptext -- With kind regards, Michael Guravage ___ If your question is of interest to others as well, please add an entry

[NTG-context] Lettrine misbehaving in beta

2012-01-14 Thread Michael Guravage
, synopsize, winnow the wheat from the chaff and separate the sheep from the goats. \stoptext With kind regards, Michael Guravage ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] Lettrine and colors

2012-01-10 Thread Michael Guravage
, itemize, review, dip into, flip through, browse, glance into, leaf through, skim, refine, enumerate, glean, synopsize, winnow the wheat from the chaff and separate the sheep from the goats. \stoptext -- With kind regards, Michael Guravage

[NTG-context] page number placement in multiline TOC entry

2011-11-07 Thread Michael Guravage
Greetings, At the recent ConTeXt workshop someone mentioned that they had achieved placing a pagenumber to the right of the first line of a multiline table of contents entry. Can anyone describe how to acomplish this? With kind regards, Michael Guravage

[NTG-context] StretchedBox broken in mkiv

2011-09-26 Thread Michael Guravage
definition of 'deeptextcommand', but since there are no difference in the files strc-sec-mkii and strc-ren.mkiv between these two releases, the reason must lie elsewhere. If anyone can explain what has changed, an more importantly how to reinstate it, I would be most grateful. With kind regards, Michael

Re: [NTG-context] Suppress numbering of figures

2005-03-17 Thread Michael Guravage
All, I have: \placefigure [here][] {Mary Glenn}{\externalfigure[MaryGlenn3.jpg][width=0.5\makeupwidth]} I'd like the figure to float with the caption, but I don't want the Figure 1, Figure 2, etc. That is, I just want the caption under the figure. How can I modify to