[NTG-context] Parallel columns using start/stop setups

2023-08-08 Thread Thangalin
Two concurrent situations can happen, which I'd like to typeset as two parallel columns while keeping the overall page layout (i.e., headers, footers, margins, and such). current version: 2023.07.18 22:07 I'd like to find a way to set up start/stop environments, if possible, to come up with a

[NTG-context] Custom TOC with makeup and setups

2023-05-10 Thread Jethro Djan via ntg-context
, footerstate=empty, setups={toclist}, before=\setups{toc:setups}, ] \startsetups toc:setups \setupbackgrounds[page][background=color, backgroundcolor=blue] \stopsetups \definemakeup [standard] [ doublesided=no, page=right, pagestate=start, headerstate=empty

Re: [NTG-context] Any way to configure \setuphead to run a setups on the stop command?

2022-07-26 Thread Henning Hraban Ramm via ntg-context
Am 26.07.22 um 12:41 schrieb Bruce Horrocks via ntg-context: If I use \definehead [Chapter] [chapter] and then \setuphead[Chapter][...] I can specify setups to run before and after \startChapter. Is there any way to specify setups that are run before & after \stopChapter? \setuphead[Cha

[NTG-context] Any way to configure \setuphead to run a setups on the stop command?

2022-07-26 Thread Bruce Horrocks via ntg-context
If I use \definehead [Chapter] [chapter] and then \setuphead[Chapter][...] I can specify setups to run before and after \startChapter. Is there any way to specify setups that are run before & after \stopChapter? My real problem is that I have a double-sided book with new chapters star

Re: [NTG-context] XML Namespaces and XML Setups

2022-05-24 Thread Bruce Horrocks via ntg-context
I haven't seen it explicitly documented - my cue to add it to the Wiki I guess! I work with XML a fair bit and, IMHO, the WWW consortium docs do a very poor job of explaining namespaces because they make them seem much more complicated than they are. Essentially, a tag with a namespace

Re: [NTG-context] XML Namespaces and XML Setups

2022-05-24 Thread Duncan Hothersall via ntg-context
Yes, it does! Thanks Bruce. Is this documented somewhere already and I missed it? Cheers. Duncan On Mon, 23 May 2022 at 21:14, Bruce Horrocks wrote: > Does this help? > > \startxmlsetups xml:demo:base > \xmlsetsetup{#1}{tag}{xml:demo:tag} > \xmlsetsetup{#1}{o:tag}{xml:demo:otag} %% <--- >

Re: [NTG-context] XML Namespaces and XML Setups

2022-05-23 Thread Bruce Horrocks via ntg-context
Does this help? \startxmlsetups xml:demo:base \xmlsetsetup{#1}{tag}{xml:demo:tag} \xmlsetsetup{#1}{o:tag}{xml:demo:otag} %% <--- \stopxmlsetups \xmlregisterdocumentsetup{demo}{xml:demo:base} \startxmlsetups xml:demo:tag \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:demo:otag %% <---

Re: [NTG-context] XML Namespaces and XML Setups

2022-05-23 Thread Duncan Hothersall via ntg-context
I found this unanswered question on the list from November 2020 and find today that I have the same question. How can one handle elements with the same name but in different namespaces? How should the different \startxmlsetups commands be written? Thanks. Duncan On Mon, 16 Nov 2020 at 13:37,

Re: [NTG-context] directsetup vs setups

2021-11-15 Thread Wolfgang Schuster via ntg-context
Rik Kabel schrieb am 15.11.2021 um 22:51: Wolfgang, Can you expand on the following statements from your reply? You can run Hans example with MkIV and the differences should be even bigger because the check for [] is slower here while in LMTX it's a engine feature. The main

Re: [NTG-context] directsetup vs setups

2021-11-15 Thread Hans Hagen via ntg-context
On 11/15/2021 7:06 PM, Rik Kabel via ntg-context wrote: On your empty performance test, I get around 0.10, .11, .08 for direct, and 0.4 for fast. With the grouped styling, those balloon to 0.50, 0.56, 0.48, and 0.44. just for the record, here with lmtx i get (on a 2013 laptop): 0.128 0.130

Re: [NTG-context] directsetup vs setups

2021-11-15 Thread Wolfgang Schuster via ntg-context
em to mean that. With \directsetup, \fastsetup and \setup (I'm correcting Hans here) you can pass only the name of a single setups-environment as argument, e.g.     \directsetup{my_fancy_setup} while \setups allows you to pass a list of names, e.g.     \setups[custom_setup_a,custom_setup_b,...] 2. What is meant

Re: [NTG-context] directsetup vs setups

2021-11-15 Thread Rik Kabel via ntg-context
On 2021-11-15 04:38, Hans Hagen via ntg-context wrote: On 11/15/2021 6:24 AM, Rik Kabel via ntg-context wrote: Hello list, Can anyone provide a description of, or a point to a description of, the differences between setups= and directsetup= for including setups? I searched the list archive

Re: [NTG-context] directsetup vs setups

2021-11-15 Thread Hans Hagen via ntg-context
On 11/15/2021 6:24 AM, Rik Kabel via ntg-context wrote: Hello list, Can anyone provide a description of, or a point to a description of, the differences between setups= and directsetup= for including setups? I searched the list archive and the documents and found nothing. (That may indicate

Re: [NTG-context] directsetup vs setups

2021-11-15 Thread Denis Maier via ntg-context
k Kabel > Betreff: [NTG-context] directsetup vs setups > > Hello list, > > Can anyone provide a description of, or a point to a description of, the > differences between setups= and directsetup= for including setups? I > searched the list archive and the documents and found

[NTG-context] directsetup vs setups

2021-11-14 Thread Rik Kabel via ntg-context
Hello list, Can anyone provide a description of, or a point to a description of, the differences between setups= and directsetup= for including setups? I searched the list archive and the documents and found nothing. (That may indicate my level of search foo, but nonetheless I am in need

[NTG-context] makeups with local setups

2021-06-29 Thread Jan U. Hasecke
Dear all, how can I use setups in makeups locally? Or do I miss something. In this sample the interlinespace of the coverpage makeup is also used after stopmakeup. Is there a way to define the setups values only locally inside the makeup? Or is it better to use something else

Re: [NTG-context] makeups with local setups

2021-06-29 Thread Hans Hagen
On 6/29/2021 2:47 PM, Jan U. Hasecke wrote: Dear all, how can I use setups in makeups locally? Or do I miss something. In this sample the interlinespace of the coverpage makeup is also used after stopmakeup. Is there a way to define the setups values only locally inside the makeup

Re: [NTG-context] xtable in def or setups

2021-05-18 Thread Werner Hennrich
/general/manuals/xtables-mkiv.pdf <https://www.pragma-ade.com/general/manuals/xtables-mkiv.pdf>). Adam On Tue, May 18, 2021 at 6:38 PM Werner Hennrich mailto:w...@gmx.at>> wrote: Hello everyone, I'm trying to create an xtable from within a \def (or within a \setups) bu

Re: [NTG-context] xtable in def or setups

2021-05-18 Thread Adam Reviczky
Hi Werner, Did you try startembeddedxtable ? See Section 5 in the manual ( https://www.pragma-ade.com/general/manuals/xtables-mkiv.pdf). Adam On Tue, May 18, 2021 at 6:38 PM Werner Hennrich wrote: > Hello everyone, > > I'm trying to create an xtable from within a \def (or within

[NTG-context] xtable in def or setups

2021-05-18 Thread Werner Hennrich
Hello everyone, I'm trying to create an xtable from within a \def (or within a \setups) but always run into "runaway error: end of file encountered" whenever the xtable-commands are in there. \definextable[icbtable] \setupxtable[icbtable] [frame=off, top=\vskip7mm]

Re: [NTG-context] SVG images inside XML setups

2021-03-09 Thread Thangalin
Thanks, Hans. The image is now rendered. Here's a picture of the output from ConTeXt (left) and the expected output using Apache Batik: https://i.ibb.co/zPqfhjK/metapost-svg.png Would a copy of the SVG file be useful for unit testing? Thanks again. > I probably need to add that wrapper in a

Re: [NTG-context] SVG images inside XML setups

2021-03-09 Thread Hans Hagen
On 3/9/2021 7:29 AM, Thangalin wrote: Here's a fairly minimal example showing an issue, using ConTeXt LMTX. Save the following as "main.tex": % SOF \startbuffer[document] \stopbuffer \startbuffer[csvg] http://www.w3.org/2000/svg;> \stopbuffer \startxmlsetups xml:xhtml

[NTG-context] SVG images inside XML setups

2021-03-08 Thread Thangalin
placefigure{}{\externalfigure[diagram.svg][conversion=mp]} \stoptext % EOF All the images appear as expected. Any idea why using XML setups appears to affect the behaviour of rendering SVG documents using MetaPost? Thank you! _

[NTG-context] XML Namespaces and XML Setups

2020-11-16 Thread Christoph Reller
Dear List, Consider the following MWE: \startxmlsetups xml:demo:base \xmlsetsetup{#1}{tag}{xml:demo:tag} \stopxmlsetups \xmlregisterdocumentsetup{demo}{xml:demo:base} \startxmlsetups xml:demo:tag %\doif{\xmlnamespace{#1}}{o}{NameSpaceO:} \xmlflush{#1} \stopxmlsetups \starttext

Re: [NTG-context] Problems with setups module

2018-11-26 Thread Wolfgang Schuster
Hi Tommaso, I sent a fix to the dev list and the problem should be fixed in a new beta. Wolfgang Tommaso Gordini schrieb am 26.11.18 um 11:08: Hi everyone. The following code gives different results by commenting and decommending the indicated lines. Could it be a problem with the setups

Re: [NTG-context] Problems with setups module

2018-11-26 Thread Tommaso Gordini
Sorry, the correct code is the following: \usemodule [setups] \starttext \startbuffer \framed [width=3cm,height=1cm] {testo} \stopbuffer \typebuffer \getbuffer \cmdfullsetup [setuppapersize] \startbuffer[foo] \framed [width=3cm,height=1cm] {testo} \stopbuffer \typebuffer[foo

[NTG-context] Problems with setups module

2018-11-26 Thread Tommaso Gordini
Hi everyone. The following code gives different results by commenting and decommending the indicated lines. Could it be a problem with the setups module? Thanks in advance Tommy \usemodule [setups] \starttext %\startbuffer %\framed [width=3cm,height=1cm] {testo} %\stopbuffer

Re: [NTG-context] Which commands to use to show setups?

2018-11-25 Thread Wolfgang Schuster
well. I still have a few doubts about one thing: is it possible that the commands you suggested to me do not work with all ConTeXt commands? For example, if I write \usemodule [setups] \starttext \showdefinition [starttyping] \stoptext I get in the PDF missing: starttyping It's correct

Re: [NTG-context] Which commands to use to show setups?

2018-11-25 Thread Tommaso Gordini
Hi Wolfgang, thank you very much for your code, which works very well. I still have a few doubts about one thing: is it possible that the commands you suggested to me do not work with all ConTeXt commands? For example, if I write \usemodule [setups] \starttext \showdefinition [starttyping

Re: [NTG-context] Which commands to use to show setups?

2018-11-24 Thread Wolfgang Schuster
on the command used. Do you have any advice to give to me? Which of the commands in the code should I use in a guide? Or better: do they have to be used according to needs? Are there other commands of this kind? \usemodule[setups] \starttext When you describe a command, e.g. \type

[NTG-context] Which commands to use to show setups?

2018-11-24 Thread Tommaso Gordini
? Which of the commands in the code should I use in a guide? Or better: do they have to be used according to needs? Are there other commands of this kind? Thank you in advance Tommy \usemodule[x-setups-basics] \loadsetups[context-en] \starttext \showsetup[centerline] \showsetup

Re: [NTG-context] TABLE setups

2018-07-30 Thread Henning Hraban Ramm
Am 2018-07-30 um 16:22 schrieb kaddour kardio : > \setupTABLE[frame=off] > \setupTABLE[r][1][style=\ss] > \setupTABLE[r][2][style=\tfa\bf] > \setupTABLE[r][3][style=\ss] > \setupTABLE[c][3][align=left] > \setupTABLE[c][2][align=center] > \setupTABLE[r][4][style=\bf] % how to override the \tt in

Re: [NTG-context] TABLE setups

2018-07-30 Thread kaddour kardio
}] \setupTABLE[column][5][align=right] \setupTABLE[column][3][align=center] \stopsetups \starttext . {\bTABLE[setups={table:style, table:width}] \bTR \bTD nom \& prénoms \eTD \bTD date de naissance \eTD \bTD Adresse \eTD \eTR \bTR \bTD patient.name

Re: [NTG-context] TABLE setups

2018-07-29 Thread Henning Hraban Ramm
Am 2018-07-29 um 13:36 schrieb Henning Hraban Ramm : > Am 2018-07-28 um 11:09 schrieb Henning Hraban Ramm : > >>>> Or can I go via setups like \bTABLE[setups=mystyle] ? >>> >>> \startsetups mystyle >>> \setupTABLE[frame=off] >>> \setupT

Re: [NTG-context] TABLE setups

2018-07-29 Thread Henning Hraban Ramm
Am 2018-07-28 um 11:09 schrieb Henning Hraban Ramm : >>> Or can I go via setups like \bTABLE[setups=mystyle] ? >> >> \startsetups mystyle >> \setupTABLE[frame=off] >> \setupTABLE[row][first][topframe=on,bottomframe=on,style=bold] >> \setupTABLE[row

Re: [NTG-context] TABLE setups

2018-07-29 Thread Hans Hagen
On 7/28/2018 11:09 AM, Henning Hraban Ramm wrote: Meanwhile I had a look into the manuals folder and found the xtables manual. Section 5 about \definextable and \starttexdefinition is especially interesting. I guess I need to try both. (My ConTeXt fu is always outdated, it seems...) not much

Re: [NTG-context] TABLE setups

2018-07-28 Thread Henning Hraban Ramm
[mystyle], and then \setupTABLE[mystyle][...] ? >> >> Or can I go via setups like \bTABLE[setups=mystyle] ? > > \startsetups mystyle > \setupTABLE[frame=off] > \setupTABLE[row][first][topframe=on,bottomframe=on,style=bold] > \setupTABLE[row][last] [bottomframe=on]

Re: [NTG-context] TABLE setups

2018-07-27 Thread Henri Menke
On 07/28/2018 07:38 AM, Henning Hraban Ramm wrote: > Ahoi, > > I need a few different table styles and don’t think it makes sense to setup > them every single time. > > Is there a \defineTABLE[mystyle], and then \setupTABLE[mystyle][...] ? > > Or can I go via setups lik

[NTG-context] TABLE setups

2018-07-27 Thread Henning Hraban Ramm
Ahoi, I need a few different table styles and don’t think it makes sense to setup them every single time. Is there a \defineTABLE[mystyle], and then \setupTABLE[mystyle][...] ? Or can I go via setups like \bTABLE[setups=mystyle] ? Greetlings, Hraban --- https://www.fiee.net http

Re: [NTG-context] Default setups

2017-10-24 Thread N. Raghavendra
At 2017-10-23T22:25:39+02:00, luigi scarso wrote: > not all the default values are there , but still useful is > tex/texmf-context/tex/context/interface/mkiv/i-context.pdf > > > tex/texmf-context/tex/context/interface/mkiv/i-readme.pdf Thank you, I will look at those files. Regards, Raghu. --

Re: [NTG-context] Default setups

2017-10-24 Thread N. Raghavendra
At 2017-10-23T21:59:29+02:00, Pablo Rodriguez wrote: > Defaults for sections are defined in strc-def.mkiv (included in > /path-to-context-suite/tex/texmf-context/tex/context/base/mkiv/) and is > \tfa. Thank you, I will look at that file. Regards, Raghu. -- N. Raghavendra ,

Re: [NTG-context] Default setups

2017-10-24 Thread N. Raghavendra
At 2017-10-23T23:10:52+02:00, Wolfgang Schuster wrote: > \usemodule[setups-basics] > > \loadsetups[context-en.xml] > > \starttext > > \showrootvalues[head] > > \showinstancevalues[head][chapter] > > \stoptext Many thanks. That works perfectly. Regard

Re: [NTG-context] Default setups

2017-10-23 Thread Wolfgang Schuster
N. Raghavendra <mailto:nyraghu27...@gmail.com> 20. Oktober 2017 um 15:05 Is there a command which prints to the log file the default values of the keys in the setups that are used in a document? For example, when I define a new document division with \definehead [mysection] [section]

Re: [NTG-context] Default setups

2017-10-23 Thread luigi scarso
On Fri, Oct 20, 2017 at 3:05 PM, N. Raghavendra <nyraghu27...@gmail.com> wrote: > Is there a command which prints to the log file the default values of > the keys in the setups that are used in a document? > > For example, when I define a new document division with > >

Re: [NTG-context] Default setups

2017-10-23 Thread Pablo Rodriguez
On 10/20/2017 03:05 PM, N. Raghavendra wrote: > Is there a command which prints to the log file the default values of > the keys in the setups that are used in a document? > > For example, when I define a new document division with > > \definehead [mysection] [section] [style=

[NTG-context] Default setups

2017-10-20 Thread N. Raghavendra
Is there a command which prints to the log file the default values of the keys in the setups that are used in a document? For example, when I define a new document division with \definehead [mysection] [section] [style=...] it helps to know the default value of the `style' key for `section

Re: [NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Hans Hagen
  \setupbackgrounds  [page][setups=placeisbn,background=isbn]   \startmakeup   [cover4]   \scale [width=\textwidth] {\red \Title}   \stopmakeup \stoptext For me  (Win64, current standalone beta), compilation halts with: lua error   > lua error on line 4 in file

Re: [NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Rik Kabel
figure[cow.pdf][width=3cm]} \stopsetups \starttext \setupbackgrounds [page][setups=placeisbn,background=isbn] \startmakeup [cover4] \scale [width=\textwidth] {\red \Title} \stopmakeup \stoptext For me (Win64, current standalone beta), compilation halts with: lua error

Re: [NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Floris van Manen
er [isbn][preset=rightbottom,hoffset=5mm,voffset=5mm] > {\externalfigure[cow.pdf][width=3cm]} > \stopsetups > \starttext > \setupbackgrounds [page][setups=placeisbn,background=isbn] > \startmakeup [cover4] > \scale [width=\textwidth] {\red \

[NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Rik Kabel
  \Title {A Primer on Omphaloskepsis} \startsetups [placeisbn]   \setlayer [isbn][preset=rightbottom,hoffset=5mm,voffset=5mm]   {\externalfigure[cow.pdf][width=3cm]} \stopsetups \starttext   \setupbackgrounds  [page][setups=placeisbn,background=isbn

[NTG-context] custom :cite setups with new bibliography system

2015-10-06 Thread Eidenbenz Michael
This works only with method=dataset in current context. In beta the method=local works, but then \btxfield is broken for the :cite setups Is there a workaround or is this temporaily broken? Thanks and best regards Michael -- \startbuffer

Re: [NTG-context] Setups for images in publication framework

2015-10-05 Thread Hans Hagen
On 10/5/2015 8:19 PM, Eidenbenz Michael wrote: Ok I got it, we need: \usebtxdefinitions [duane] So I guess "specification=duane" in \definebtxrendering is obsolete? I realy like the possibilities the new bibliograpy code offers. Is there already an updated documentation available? it

Re: [NTG-context] Setups for images in publication framework

2015-10-05 Thread Eidenbenz Michael
Ok I got it, we need: \usebtxdefinitions [duane] So I guess "specification=duane" in \definebtxrendering is obsolete? I realy like the possibilities the new bibliograpy code offers. Is there already an updated documentation available? Thanks and best regards Michael On 03.10.2015,

[NTG-context] Setups for images in publication framework

2015-10-03 Thread Eidenbenz Michael
Dear list, I try to process the following example from the testsuite (publications/basics-002.tex) but it seems to be broken with current context and beta. "publications> no data definition file 'publ-imp-duane.lua' for 'duane'" how can i fix this? best regards Michael --

Re: [NTG-context] Table setups interfering with another table?

2015-09-03 Thread Mari Voipio
On Tue, Sep 1, 2015 at 2:43 PM, Procházka Lukáš Ing. - Pontex s. r. o. <l...@pontex.cz> wrote: > > 2. Perform all setups right after \bTABLE (table_test2.mkiv). This is not > applicable in all cases (e.g. \bTABLE[width=\textwidth] must be done here, > not later) but in you cas

[NTG-context] Table setups interfering with another table?

2015-09-01 Thread Mari Voipio
Hello! I have a bit of a table mystery. It seems that the setups of an earlier table interfere with the table coming after it (in the real thing there's text between the tables, but the behaviour is the same). Each table looks fine by itself, but if I compile a file with both, the second one

Re: [NTG-context] Table setups interfering with another table?

2015-09-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello Mari, I can see two ways: 1. Enclose each table into \bgroup ... \egroup scope, so all \setupTABLE will be treated local (table_test.mkiv). 2. Perform all setups right after \bTABLE (table_test2.mkiv). This is not applicable in all cases (e.g. \bTABLE[width=\textwidth] must be done

[NTG-context] xtables in setups

2014-12-15 Thread Andreas Schneider
): ~~ \starttext \startsetups test \startxtable \startxrow \startxcell Foo \stopxcell \startxcell Bar \stopxcell \stopxrow \stopxtable \stopsetups \setups[test] \stoptext ~~ Causes: * tex errorerror

Re: [NTG-context] xtables in setups

2014-12-15 Thread Wolfgang Schuster
. Small example (without XML, for the sake of simplicity): ~~ \starttext \startsetups test \startxtable \startxrow \startxcell Foo \stopxcell \startxcell Bar \stopxcell \stopxrow \stopxtable \stopsetups \setups[test

Re: [NTG-context] xtables in setups

2014-12-15 Thread Andreas Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Am 15.12.2014 um 20:07 schrieb Wolfgang Schuster: You have to replace \startxtable with \startembeddedxtable (and also \stopxtable with \stopembeddedxtable). Wolfgang Ahh, that's it. I didn't see this in the manual but was now able to find it

[NTG-context] [location=text] breaks setups in \setupnotes

2014-12-11 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A6] \startsetups[setups:footnote] \setupinterlinespace[line=5ex] \stopsetups \setupnote[footnote][way=bytext, location=text, setups=setups:footnote, style=\itxx] \starttext Hi\footnote{\input knuth

Re: [NTG-context] [location=text] breaks setups in \setupnotes

2014-12-11 Thread Pablo Rodriguez
On 12/11/2014 08:02 PM, Wolfgang Schuster wrote: Am 11.12.2014 um 19:14 schrieb Pablo Rodriguez: [...] For some strange reason, when location=text is set \setupnote, the setups option isn’t honored? Could anyone confirm the bug? It’s not a bug, the setups key is only used when notes

Re: [NTG-context] [location=text] breaks setups in \setupnotes

2014-12-11 Thread Wolfgang Schuster
Am 11.12.2014 um 20:31 schrieb Pablo Rodriguez oi...@gmx.es: On 12/11/2014 08:02 PM, Wolfgang Schuster wrote: Am 11.12.2014 um 19:14 schrieb Pablo Rodriguez: [...] For some strange reason, when location=text is set \setupnote, the setups option isn’t honored? Could anyone confirm

Re: [NTG-context] [location=text] breaks setups in \setupnotes

2014-12-11 Thread Pablo Rodriguez
On 12/11/2014 08:38 PM, Wolfgang Schuster wrote: Am 11.12.2014 um 20:31 schrieb Pablo Rodriguez: On 12/11/2014 08:02 PM, Wolfgang Schuster wrote: [...] It’s not a bug, the setups key is only used when notes are placed at the bottom of the page but not when you flush them with the \placenotes

[NTG-context] setups not working

2014-09-02 Thread Pablo Rodriguez
Dear list, I have the following sample: \startsetups[footssetups] \setupinterlinespace[line=5ex] \stopsetups \setupnote[footnote][setups=footsetups] \starttext \footnote{\input zapf}\input knuth \stoptext AFAIK, the footnote should have extra interline space

Re: [NTG-context] setups not working

2014-09-02 Thread Hans Hagen
On 9/2/2014 5:08 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \startsetups[footssetups] ^^ 2 \setupinterlinespace[line=5ex] \stopsetups \setupnote[footnote][setups=footsetups] ^ 1

Re: [NTG-context] setups not working

2014-09-02 Thread Pablo Rodriguez
\setupnote[footnote][setups=footsetups] ^ 1 \starttext \footnote{\input zapf}\input knuth \stoptext AFAIK, the footnote should have extra interline space. But I don’t get it. I’m using beta from 2014.08.29 20:57. Am I missing

Re: [NTG-context] setups

2014-07-26 Thread Hans Hagen
On 7/14/2014 8:49 PM, Herbert Voss wrote: Do I get the up-to-date setups of commands when running for example: \starttext \usemodule[set-11] \loadsetups \setup{setupfillinrules} \stoptext hopefully ... if you notice missing key/values just let us oknow an dwe will adapt the cont-en.xml file

[NTG-context] setups

2014-07-14 Thread Herbert Voss
Do I get the up-to-date setups of commands when running for example: \starttext \usemodule[set-11] \loadsetups \setup{setupfillinrules} \stoptext Herbert ___ If your question is of interest to others as well

Re: [NTG-context] suggestion: setups for \startitem

2013-07-06 Thread Wolfgang Schuster
Am 04.07.2013 um 09:32 schrieb Thomas A. Schmitz thomas.schm...@uni-bonn.de: Hi, this is just a small suggestion for the interface: since a while, we've had \startitem \stopitem. Would it be possible / feasible / interesting to add a bit of configuration to it? I tried looking at the

Re: [NTG-context] suggestion: setups for \startitem

2013-07-06 Thread Hans Hagen
On 7/6/2013 12:10 PM, Wolfgang Schuster wrote: To do this one could write \startitem[alternative=head,text=…] one could use it as synonym for \starthead or with \startitem[alternative=symbol,text=…] as alternative for \sym. Since references are lost with this method you can write

[NTG-context] suggestion: setups for \startitem

2013-07-04 Thread Thomas A. Schmitz
Hi, this is just a small suggestion for the interface: since a while, we've had \startitem \stopitem. Would it be possible / feasible / interesting to add a bit of configuration to it? I tried looking at the source. but couldn't find anything. This minimal example explains what I mean:

[NTG-context] select setups

2013-04-21 Thread Meer, H. van der
If I have various setups like: \startxmlsetups xam:setups \xmlsetsetup{\xmldocument}{..{xam:*} \stopxmlsetups \xmlregistersetup{xam:setups} \startxmlsetups xbm:setups \xmlsetsetup{\xmldocument}{..{xbm:*} \stopxmlsetups \xmlregistersetup{xbm:setups} Is it then possible to have

[NTG-context] setups in the latest Context release

2013-03-25 Thread Devendra Ghate
the setups then it works fine. So the change must have been in the interface for *setups*. Please let me know if there has been a change OR I have made some kind of mistake. Thank you, Devendra Ghate - \startsetups[head:margin] \startlinealignment[left] \startframed

Re: [NTG-context] setups in the latest Context release

2013-03-25 Thread Wolfgang Schuster
. If the entire *\startlinealignment \stoplinealignment* block is copied outside the setups then it works fine. So the change must have been in the interface for *setups*. Please let me know if there has been a change OR I have made some kind of mistake. It is a bug but I sent a fix

Re: [NTG-context] setups within typescripts: can it be done?

2013-03-13 Thread Hans Hagen
On 3/13/2013 2:37 AM, Idris Samawi Hamid ادريس سماوي حامد wrote: Indeed. OTOH, I just found this wonderful (+very-expensive) Dutch typeface that is still(!) only available in Type1/ttf format. I remember that we had to use an expensive Dutch font once (more than 1000 euro for a few files)

Re: [NTG-context] setups within typescripts: can it be done?

2013-03-12 Thread Hans Hagen
On 3/11/2013 5:51 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, Here is the situation: For an upcoming book project I may use a set of proprietary fonts whose license that does not allow modification even for personal, private use. Some characters I need are absent, but the I'd

Re: [NTG-context] setups within typescripts: can it be done?

2013-03-12 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Hans, Thanks for the reply: On Tue, 12 Mar 2013 19:01:30 -0600, Hans Hagen pra...@wxs.nl wrote: On 3/11/2013 5:51 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, Here is the situation: For an upcoming book project I may use a set of proprietary fonts whose license that does

[NTG-context] setups within typescripts: can it be done?

2013-03-11 Thread Idris Samawi Hamid ادريس سماوي حامد
=myfeatures,fallbacks=myfallback,setups=font1] \definefontsynonym [MyFont2][name:SuperFontItalic][features=myfeatures,fallbacks=myfallback,setups=font2] \stoptypescript === Is this doable? If not is there another way? If doable, is there a better way? If this is totally undoable

[NTG-context] \overbar setups

2012-12-26 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, First: Here's wishing you all the most happy holidays and an early happy new years. = ConTeXt ver: 2012.08.14 10:44 MKIV \starttext \overbar{test} \setupbars[color=green,offset=7] \overbar{test} \setupbars[color=red,dy=7] \overbar{test} \stoptext =

Re: [NTG-context] \overbar setups

2012-12-26 Thread Wolfgang Schuster
Am 27.12.2012 um 02:17 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: Dear gang, First: Here's wishing you all the most happy holidays and an early happy new years. = ConTeXt ver: 2012.08.14 10:44 MKIV \starttext \overbar{test}

Re: [NTG-context] \overbar setups

2012-12-26 Thread Idris Samawi Hamid ادريس سماوي حامد
Thanks a million, Wolfgang, for your always invaluable and timely explanations! Best wishes Idris On Wed, 26 Dec 2012 20:58:17 -0700, Wolfgang Schuster wolfgang.schus...@gmail.com wrote: Am 27.12.2012 um 02:17 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu:

Re: [NTG-context] bug with \setuplayout[setups=*strict]?

2011-12-11 Thread Pablo Rodríguez
On 12/09/2011 05:27 PM, Hans Hagen wrote: On 8-12-2011 13:40, Pablo Rodríguez wrote: [...] Is there no other way to avoid orphan and widow lines? I need it urgently. \startsetups [*lessstrict] \setup[*\s!reset] \widowpenalty =1000 \clubpenaltie =1000

Re: [NTG-context] bug with \setuplayout[setups=*strict]?

2011-12-09 Thread Hans Hagen
On 8-12-2011 13:40, Pablo Rodríguez wrote: Hi there, I read a previous message on this list form Wolgang that \setuplayout[setups=*strict] is the ConTeXt way to avoid orphan and widow lines. I have tried that before checking that \widowpenalty=1\clubpenalty=1

[NTG-context] bug with \setuplayout[setups=*strict]?

2011-12-08 Thread Pablo Rodríguez
Hi there, I read a previous message on this list form Wolgang that \setuplayout[setups=*strict] is the ConTeXt way to avoid orphan and widow lines. I have tried that before checking that \widowpenalty=1\clubpenalty=1\raggedbottom doesn't change anything on my

[NTG-context] setups on framed

2011-04-20 Thread Reviczky, Adam
Hi As a follow-up to this: http://www.ntg.nl/pipermail/ntg-context/2011/058569.html I was wondering if it is possible to something like this: \startsetups test \setupframed[frame=off,topframe=on,leftframe=on] \stopsetups \starttext \framed[setups=test]{A fancy title} \stoptext Adam PS: I am

Re: [NTG-context] setups on framed

2011-04-20 Thread Wolfgang Schuster
\framed[setups=test]{A fancy title} \stoptext \framed[extras=\setup{test}]{…} but you can’t change all values because the hook is called to late. Wolfgang ___ If your question is of interest to others as well, please

Re: [NTG-context] setups on framed

2011-04-20 Thread Aditya Mahajan
=on,leftframe=on] \stopsetups \starttext \framed[setups=test]{A fancy title} \stoptext \framed[extras=\setup{test}]{…} but you can’t change all values because the hook is called to late. Another approach: \unprotected\getparameters[defaultoptions][frame=off,topframe=on,leftframe=on,parent=\??ol

Re: [NTG-context] setups on framed

2011-04-20 Thread Wolfgang Schuster
Am 20.04.2011 um 18:09 schrieb Aditya Mahajan: Another approach: \unprotected\getparameters[defaultoptions][frame=off,topframe=on,leftframe=on,parent=\??ol] \setupframed[framecolor=green] \starttext \framed[parent=defaultoptions]{test} \stoptext The parent setting is nothing you

Re: [NTG-context] How to use local setups in selected components of a project only

2010-08-17 Thread Hans Hagen
On 9-8-2010 9:34, Elias Oltmanns wrote: Compiling project.tex results in both sections being unnumbered. Compiling just compb.tex yields the expected result. Apparently, the setups of localenv stay in effect for all components processed subsequently. indeed, local is not local in the sense

[NTG-context] How to use local setups in selected components of a project only

2010-08-09 Thread Elias Oltmanns
compa \component compb \stopproject % environ.tex \startenvironment environ % global setups % ... \startmode[compa] \setuphead[section][number=no] \stopmode \stopenvironment % localenv.tex \startlocalenvironment [compa] \setuphead[section][number=no] \stoplocalenvironment % compa.tex

Re: [NTG-context] setups in typescripts

2010-05-31 Thread Bernhard Rosensteiner
i have made a typescript which works. the only thing is that i have in my typescript something like: \startsetups [fallbackfonts] … \stopsetups \starttypescript [bla] \setups[fallbackfonts] … \stoptypescript referring in my document to the typescriptfile with \usetypescriptfile

[NTG-context] setups in typescripts

2010-05-30 Thread Bernhard Rosensteiner
Hello, i have made a typescript which works. the only thing is that i have in my typescript something like: \startsetups [fallbackfonts] … \stopsetups \starttypescript [bla] \setups[fallbackfonts] … \stoptypescript referring in my document to the typescriptfile with \usetypescriptfile

Re: [NTG-context] setups in typescripts

2010-05-30 Thread Wolfgang Schuster
Am 30.05.10 10:18, schrieb Bernhard Rosensteiner: Hello, i have made a typescript which works. the only thing is that i have in my typescript something like: \startsetups [fallbackfonts] … \stopsetups \starttypescript [bla] \setups[fallbackfonts] … \stoptypescript referring in my document

Re: [NTG-context] setups in typescripts

2010-05-30 Thread Bernhard Rosensteiner
, schrieb Bernhard Rosensteiner: Hello, i have made a typescript which works. the only thing is that i have in my typescript something like: \startsetups [fallbackfonts] … \stopsetups \starttypescript [bla] \setups[fallbackfonts] … \stoptypescript referring in my document

Re: [NTG-context] setups in typescripts

2010-05-30 Thread Willi Egger
On 30 May 2010, at 10:18, Bernhard Rosensteiner wrote: Hello, i have made a typescript which works. the only thing is that i have in my typescript something like: \startsetups [fallbackfonts] … \stopsetups \starttypescript [bla] \setups[fallbackfonts] … \stoptypescript

[NTG-context] Math setups

2010-03-10 Thread Vyatcheslav Yatskovsky
Hello Wolfgand and other ConTeXties, You are welcome to watch and expand new wiki page http://wiki.contextgarden.net/Math_setups Vyatcheslav \setupmathematics[autopunctuation=yes] ___ If your question is

Re: [NTG-context] Math setups

2010-03-10 Thread Vedran Miletić
2010/3/10 Vyatcheslav Yatskovsky yatskov...@gmail.com: Hello Wolfgand and other ConTeXties, You are welcome to watch and expand new wiki page http://wiki.contextgarden.net/Math_setups Vyatcheslav \setupmathematics[autopunctuation=yes] It would be cool if this macro could also allow

Re: [NTG-context] Math setups

2010-03-10 Thread Aditya Mahajan
On Wed, 10 Mar 2010, Vedran Miletić wrote: 2010/3/10 Vyatcheslav Yatskovsky yatskov...@gmail.com: Hello Wolfgand and other ConTeXties, You are welcome to watch and expand new wiki page http://wiki.contextgarden.net/Math_setups Vyatcheslav \setupmathematics[autopunctuation=yes] It would

Re: [NTG-context] Math setups

2010-03-10 Thread Hans Hagen
On 10-3-2010 12:51, Vedran Miletić wrote: 2010/3/10 Vyatcheslav Yatskovskyyatskov...@gmail.com: Hello Wolfgand and other ConTeXties, You are welcome to watch and expand new wiki page http://wiki.contextgarden.net/Math_setups Vyatcheslav \setupmathematics[autopunctuation=yes] It would be

  1   2   >