[NTG-context] xmlrefatt
There is a slight restriction on \xmlrefatt that makes its use problematic, because it does not differentiate between an absent attribute and an attribute consisting of an empty string. The use for \xmlrefatt I had in mind was (a) do nothing if the attribute is absent, and (b) reset some value to its default value when the attribute is present but an empty string. Is it an option that its implementation is changed? A boolean return value will be fine, because false then can signify the attribute’s absence and true its presence. In the latter case it is safe to retrieve the attribute which then might be an empty string. Summarizing: the fact that \xmlrefatt tries to do two different things at the same time (signalling presence/absence) and returning an attribute, in a certain sense cripples its use. dr. Hans van der Meer ___ 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 / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Saving Metafun Graphic for use outside ConTeXt
Maybe this script could help a bit too. mpone Description: Binary data Use with following code scheme in ConTeXt:\starttext\startMPpage% Your Metapost/metafun code here\stopMPpage\stoptextIt will produce a standalone image in a pdf. dr. Hans van der Meer On 5 Apr 2018, at 18:45, Keith McKay <mckaymeis...@gmail.com> wrote: Thanks Nicola and Alan. I'll look into that.Best WishesKeith On 05/04/2018 17:42, Nicola wrote: On 05/04/2018 18:24, Alan Braslau wrote: On Thu, 5 Apr 2018 15:28:34 +0100 Keith McKay <mckaymeis...@gmail.com> wrote: I use a mac-mini and it seems that mupdf, of which mutools is part off, does not have a macOS version, or I would have to build from source. However it looks like I can use Inkscape with a wee bit thought to do pretty much the same. mupdf is available on MacPorts... ...also in Homebrew (mupdf formula, or mupdf-tools if you don't need the viewer). Nicola ___ 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 / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___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-contextwebpage : http://www.pragma-ade.nl / http://context.aanhet.netarchive : https://bitbucket.org/phg/context-mirror/commits/wiki : http://contextgarden.net__ 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 / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] entity substitution
Does ConText always process DOCTYPE definitions? Because in the next example the defined XXX entity is substituted in one case but not in the other. In a directory I have the following files: doctype.tex = \startxmlsetups demo:setups \xmlsetsetup{#1}{root}{demo:*} \stopxmlsetups \xmlregistersetup{demo}{demo:setups} \startxmlsetups demo:root \xmlflush{#1} \stopxmlsetups \startbuffer[demo] ]> See XXX; for . \stopbuffer \starttext \xmlprocessbuffer{demo}{demo}{} \stoptext Produces as output a subtituted entity But doctype-public.tex = \startxmlsetups demo:setups \xmlsetsetup{#1}{root}{demo:*} \stopxmlsetups \xmlregistersetup{demo}{demo:setups} \startxmlsetups demo:root \xmlflush{#1} \stopxmlsetups \startbuffer[demo] See XXX; for . \stopbuffer \starttext \xmlprocessbuffer{demo}{demo}{} \stoptext namen.dtd = The last two do not output a substituted entity. Why is this not working? What I am doing wrong? dr. Hans van der Meer ___ 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 / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] define xml entity
How do I define an xml entity like ? Is there an \xml-operation for defining an entity? Such that I can say \xml{ABC}{an alphabet} for using so that it produces “an alphabet”, for example. dr. Hans van der Meer ___ 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 / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] text on every page howto
I would like to put a (rotated) text on every page in the margin. Please, how do I accomplish this? Hans van der Meer ___ 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 / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] add to \setbuffer
With \setbuffer[ABUFFER] .. \endbuffer I can program a macro to put something in this buffer. But is it possible to add something at the end of this buffer at a later moment? Hans van der Meer ___ 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 / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \xmlload not understood
I did load an xml data file containing ... with: \xmlload{Data}{data.xml} Then correctly find the number of data from \xmlcount{Data}{subnode} however \xmlflush{Data} is not giving me the processed nodes from \startxmlsetups do:subnode doing something with xmlflysh{#1} \stopxmlsetups but only the raw input ... Do I err in my understanding? And if so, how to do it better? Below a minimal example and its output. \startxmlsetups load:setups \xmlsetsetup{#1}{root|nodes|subnode}{load:*} \stopxmlsetups \xmlregistersetup{load:setups} \startxmlsetups load:root \xmlloadbuffer{Data}{dataset} Number of = \xmlcount{Data}{subnode}\blank \xmlflush{Data} \stopxmlsetups \startxmlsetups load:subnode Content \xmlflush{#1}\par \stopxmlsetups \startbuffer[test] \stopbuffer \startbuffer[dataset] this is subnode-1 this is subnode-2 this is subnode-3 \stopbuffer \starttext \xmlprocessbuffer{root}{test}{} \hairline \stoptext ___ 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 / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \xmlloadfile undefined
In the xml-mkiv.pdf manual is written on page 18: > \xmlloadfile {...} {...} {...} > > loads the file FILE and registers it under NAME and applies either given or > standard XMLSETUP (alias: \xmlload) > However, \xmlloadfile gives an undefined macro TeX-error, allthough the given alias \xmlload is present (useed beta of 2017-04-16). Shouldn't macro \xmlloadfile be added? Besides \xmlloadbuffer and \xmloaddata that would appeal to my preference for systematic naming. By the way. In this document all descriptions "\macro{}{}{}" refer to arguments like FILE, NAME etc. but these are absent from the API as shown. I think presented as \xmlloadfile{NAME}{FILE}{XMLSETUP} for example, would be more informative (at least I guess I have the order right). Any way, I get confused with some of the other APIs and would be pleased if a newer version of the manual has them. Hans van der Meer ___ 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 / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] smallcaps
> On 29 Jun 2016, at 10:05, dr. Hans van der Meer <havdm...@ziggo.nl> wrote: > > I do not understand the behaviour of the \sc macro. I thought smallcaps would > turn out to be smaller than capitals. But I see no difference between them > except a subtle difference in letterspacing. Am I doing something wrong here? > > Hans van der Meer > The above issue being solved, I guess there is something else in my setup not being as it should be. Because the code: \starttext \setupbodyfont[lucidaot] {\sc abc} \stoptext Does give me abc in smallcaps, but placing the \setupbodyfont before the \starttext surprisingly does not. \setupbodyfont[lucidaot] \starttext {\sc abc} \stoptext Changing the lucidaot call for cambria or lmodern gives the expected coorect behaviour. So I guess there is something amiss with how I did setup the lucida font in my system. I bought the lucida opentype font and installed my TeX trees as follows. The split between the ConTeXt directory and the one for my local files facilitates downloading new beta versions. ~home\TeX\texmf\ fonts opentype bh lucidaot LucidaBlackletterOT.otf .. LucidaSansTypewriterOT.otf tex context user (my own modules) ~home\Applications\TeX-programs\ context tex link to the above texmf further as downloaded from the beta Strange thing furthermore is that changing the name of the lucidaot-directory in the texmf-tree does not seem to make any difference, not in any case when I execute "mtxrun --script font --reload --force" and afterwards "mtxrun --script context --make". So I guess there are some things I did not right. Can that be spotted from the information given here? Hans van der Meer ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] smallcaps
I do not understand the behaviour of the \sc macro. I thought smallcaps would turn out to be smaller than capitals. But I see no difference between them except a subtle difference in letterspacing. Am I doing something wrong here? Hans van der Meer Minimal example and output: \setuppapersize[A5][A5] \starttext \setupbodyfont[lmodern] lmodern: uppercasesmallcaps\blank \setupbodyfont[cambria] cambria: uppercase smallcaps\blank \LuaTeX-version=0.\the\luatexversion\crlf \ConTeXt-version=\contextversion\crlf \stoptext smallcaps.pdf Description: Adobe PDF document ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] xml expression error
Why is there anexpression error here? I would expect that the expression number(-1101) evaluates to a negative number taking part in the comparsion. It looks as if the minus sign is not seen as an unary minus, while -1101 should have be evaluated by Lua's tonumber(-1101). relevant code snippet is: \xmlfilter{#1}{lpath[number(@date) <= number(-1101)]/command(...) xml > lpath > error in expression: number(@date) <= number(-1101) => expr.number((ll.at and ll.at['date'])) <= expr.number(expr.child(ll,'-')1101) Changing number(-1101) to -1101 does not make a difference. The @date attribute has no problem with a negative value. Hans van der Meer ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] typebuffer different from typefile
Why is there a difference in syntax between typing buffers and typing files? For files enclosure in {} for buffers in [], for files optional parameters, for buffers not. Is it possible to make the syntax of these two the same, because their usage parallels each other? Example code: \startbuffer[test] content of buffer \stopbuffer \starttext \typebuffer[test] \typefile[style=\ttx]{test.txt} \stoptext Hans van der Meer ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] MPinstance
I do not understand the info in the ConTeXt wiki on setupMPinstance. The syntax is specified as \setupMPinstance[...][...,...=...,...0 [...] name format metafun mpost etc. I read this as: in the first argument one can specify a name presumably a name specified on \defineMPinstance. in the second argument [format=metafun] specifies the format. But then the example under Usage gives: \setupMPinstance[metafun][...] Why metafun in the first instead of the second argument as implied in the syntax description? I get confused here. Also in the description \startMPextensions and \startMPinitializations are mentioned, but their descriptions are missing from the list given in the page MetaPost in ConTeXt. How are these described and what is the specific purpose of \startMPextensions compared to \startMPinitializations? What is the recommended use for them? Hans van der Meer ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] numbering problem
The following problem in the numbering of equations, figures, tables has arisen. For the subdivison of the document is wanted the numbering scheme chapter (numbered) section (numbered) subsection (numbered} subsubsection (not numbered) Doing this with \setuphead[subsubsection][number=no], because I find 3 levels of numbering enough. However, the number=no on the last \setuphead has as sideeffect that the chapternumber is missing on equations, figures, tables. Thus for example instead of "table 1.4" I am seeing "Table 4". How can I keep the numbering at 3 levels instead of 4 in still have tables inside subsubsections numbered as "Table 1.4"? Hans van der Meer ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] doifnextcharelse
I would like to differentiate on the following character being one of X or not X. But cannot get it right in \doifnextcharelse. For example \def\mynextchar{\doifnextcharelse{X}{\def\Next{Y}}{\def\Next{Z}}\Next} delivers: ZX ZQ then input: \mynextchar X \mynextchar Q I hoped for YX ZQ, but it looks as if X tested false against X. How to? Hans van der Meer ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] fontname
I want to display the name of the current (body)font. \fontname{#1} should do the trick but what parameter to use? \currentfont \bodyfont \currentbodyfont are all wrong. Eevn the book "fonts in context" didn't help me out. What to use? Hans van der Meer ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] font style query
Some fonts as for example Lucida have a calligraphic style called up with \cg. If it is not present a default is taken. However, I would like to take other action in that case, for example switching to another font. Thus, how to test on the presence of that calligraphic style in the current font? Hans van der Meer ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] suddenly run error
Earlier I posted the following error: A document that runs fine under ConTeXt ver: 2015.10.09 21:28 MKIV beta fmt: 2015.10.11 int: english/english suddenly doesn't under ConTeXt ver: 2015.12.22 10:50 MKIV beta fmt: 2015.12.27 int: english/english mtx-context | fatal error: no return code, message: luatex: execution interrupted At first I thought this was due to a new version of ConTeXt. A mistake, it now seems. I encounter the same error in an earlier version. It seems therefore a problem already present in either LuaTeX or ConTeXt. The error must be related to the placement of floats witness the following fact, typesetting the same document with only a difference in float-placement: No error: \startplacetable[location=here,reference=tab:beaufort,title=Beaufort tabel] Error: \startplacetable[location=page,reference=tab:beaufort,title=Beaufort tabel] A further observation: the item placed is nearly filling the page. Making the item somewhat smaller avoids the error, even if its the only item on the page. I did not succeed to compose a minimal example, in my experience the occurrence of the error seems too unpredictable. The actual project is far to complex and too big to be of use for debugging. I sincerely hope someone can solve this. The error brings to mind a similar problem experienced years earlier. It then was a problem of a null object in the pdf-section, if my memory is correct and I think Taco has solved that. Hans van der Meer___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] suddenly run error
A document that runs fine under ConTeXt ver: 2015.10.09 21:28 MKIV beta fmt: 2015.10.11 int: english/english suddenly doesn't under ConTeXt ver: 2015.12.22 10:50 MKIV beta fmt: 2015.12.27 int: english/english mtx-context | fatal error: no return code, message: luatex: execution interrupted Loaded this beta today. The previous beta runs ok, the new beta gives the error. The pdf produced in the latter seems at fault. Anyone knows how this error can occur? ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] suddenly run error
A further observationthat makes things seem far worse: the error is dependent on the content! The document in question has several chapters, each in a separate file. Dependent on the combination of files included, the error does or does not show up. Sofar I cannot find a pattern linked to the error. Making a minimal example proved impossible, alas. Hans van der meer > On 27 Dec 2015, at 13:19, dr. Hans van der Meer <havdm...@ziggo.nl> wrote: > > A document that runs fine under >ConTeXt ver: 2015.10.09 21:28 MKIV beta fmt: 2015.10.11 int: > english/english > suddenly doesn't under > ConTeXt ver: 2015.12.22 10:50 MKIV beta fmt: 2015.12.27 int: > english/english > mtx-context | fatal error: no return code, message: luatex: execution > interrupted > > Loaded this beta today. > The previous beta runs ok, the new beta gives the error. The pdf produced in > the latter seems at fault. > Anyone knows how this error can occur? > > ___ > 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 / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] list with individual item indications
I want to typeset a series of items in the itemize-list structure. But not numbered 1. 2. etc, but each item a separate indication, in fact in this case years. In \startitemize \startitem .. \stopitem .. \stopitemize I am not able to realize this and the ConTeXt Wiki on these commands didn't help me further. How to accomplish? Hans van der Meer ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] footnote coloring
I want to color all elements of a footnote, but I cannot find how to do this.Minimal example:\def\rednumber#1{\color[red]{#1}}\starttext\setupfootnotes[textcolor=red,numbercommand=\rednumber,foregroundcolor=red]This text\footnote{the footnote} contains a footnote.\stoptextThe footnotenumber in the text is the only element that gets colored because of the [textcolor=red] parameter setting.In the command reference it is [numbercommand=\rednumber]. Shouldn't that have made the color of the footnotenumber below?Since \setupfootnotes inherits from setupframed I expected [foregroundcolor=red] to do the trick for the content of the footnote, but it doesn't.How to?Hans van der Meer footnotecolor.pdf Description: Adobe PDF document ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] framed broken?
I tried to reproduce a framed example from the context-reference: Input taken from this example by copying the lines from the reference document: \starttext \framed [width=.2\hsize,height=3cm] {\cbox to 2.5cm{\hsize2.5cm just\\in the\\middle}} \stoptext result is wrong in comparison with the middle \cbox example. The text is not centered. Is framed at fault here? Hans van der Meer framedlines.pdf Description: Adobe PDF document ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] boxedcolumns ruins framed
In \boxedcolumns text a framed test gets extra (unwanted) depth (first example). This does not happen in \simplecolumns (second example). See the ABCD-boxes in the minimal example.Downloaded the latest beta:ConTeXt ver: 2015.08.24 10:53 MKIV beta fmt: 2015.8.24 int: english/english\starttext\startboxedcolumns[n=3]\framed{ABCD}\blank\input knuth\stopboxedcolumns\blank\startsimplecolumns[n=3]\framed{ABCD}\blank\input knuth\stopsimplecolumns\stoptext boxedcolumnsframed.pdf Description: Adobe PDF document ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] hyphenation exceptions?
Has something happened to hyphenation? The following does not work \language[nl] \startexceptions[nl] Am-ster-dam \stopexceptions Neither does \hyphenation{Am-ster-dam} Only in the context-source Am\-ster\-dam is working. How to load a series of hyphenation exceptions instead of explicitely spelling out the breakpoints in the source? Hans van der Meer ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] arranging pages
Neither of these suggestions makes any difference. Not the solution therefore. Hans van der Meer On 24 May 2015, at 12:07, Otared Kavian ota...@gmail.com wrote: Hi, Maybe you need to say also: \setuppagenumbering[alternative={singlesided,doublesided}] or just \setuppagenumbering[alternative={singlesided}] Best regards: OK On 24 May 2015, at 11:24, Meer, H. van der h.vanderm...@uva.nl mailto:h.vanderm...@uva.nl wrote: Trying to put 2 pages in A5 format besides one another on an A4 page like this: -- | | | | | | | | | |1| 2 | | | | | | | -- but using: \setuppapersize[A5][A4,landscape] \setuparranging[2UP] I get this instead: -- -- | | | | | | | | | | | | | | | | | | | | 1| |2| | | | | | | | | | | | | | | | | | | | -- -- What I am doing wrong? Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl http://www.pragma-ade.nl/ / http://tex.aanhet.net http://tex.aanhet.net/ archive : http://foundry.supelec.fr/projects/contextrev/ http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net http://contextgarden.net/ ___ ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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 / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] definetypeface usage
Trying to findout how ConTeXt's font mechanism works, I come to following question: From the brochure Fonts in Context (mfonts.pdf) I have picked up the notion that exercising a call to \definetypeface gets fonts in working order (see the examples there on font specifiers funny and whow, for example, and the resulting typeface collection). Also in file type-exa.tex there is a typescript [postscript] where \definetypeface is exercised, seemingly to bring a matched series of times, helvetica and courier into existence. However, the usage of the postscript fonts via \setupbodyfont[pos] seems to be completely unconnected with this script (I traced the typescript checking). Neither can I find somany calls to \definetypeface (and its derivatives \dodefinetypeface and \dododefinetypeface); it seems they are barely used in the code. So, the questions are: - Does \setupbodyfont[pos] results in the scaled font set as given in type-exa? - Or does \definetypeface belong to an alternative/obsolete font definition scheme, totally unrelated to the definitions called up in the scripts in type-pre.tex, type-syn.tex, and other friends? - In preparing font scripts, can I therefore totally ignore \definetypeface or will that be disastrous for the result? If somebody would be so kind to enlighten me... Hans van der Meer ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] math-lbr
Hi Hans, I get the impression that in math-lbr.tex the codes for blacktriangleleft and -right are interchanged. Having F0 where it should be F1 and vice versa. Imho it should be left = F0 and right = F1. Hans van der Meer ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] correction
re: might be an error in ConTeXt file prop-mis.tex I had some difficulty with typesetting backgrounds. It seems there is an error in file prop-mis.tex (version 2004-06-21): token \popsplitnegativeproperty is never defined but \popsplitoverprintproperty is twice. I think the second one should be \popsplitnegativeproperty, because then the sequence \startbackground some text \stopbackground does typeset after regenerating the formats. Hope this helps. Hans van der Meer ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] typo in recent version
I found a typo in the recent version (16-06-2004) of ConTeXt. In file type-buy.tex in line 143 one finds: \definefontsynonym f[LucidaSans-DemiItalic] ... The f before the [ is a spurious character and should be removed. Hans van der Meer ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] reference problem
On 20-jun-04, at 21:45, Hans Hagen Outside wrote: dr. Hans van der Meer wrote: In the ConTeXt manual (cont-eni.pdf) it says in the chapter on references by way of example: can you try the version i uploaded yesterday? (i introduced a feature and therefore bug but don't know yet why it fails on those cases) I tried and now it works. By the way, I found the typo in type-buy.tex (I just reported) has been corrected also. thanks. Hans van der Meer ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] typo in recent version
On 22-jun-04, at 11:05, Hans Hagen wrote: dr. Hans van der Meer wrote: I found a typo in the recent version (16-06-2004) of ConTeXt. In file type-buy.tex in line 143 one finds: \definefontsynonym f[LucidaSans-DemiItalic] ... The f before the [ is a spurious character and should be removed. it's even worse, since there are some out-of-typescript lines; i found out a few days ago so the latest version should be ok; i can send you the type-buy file if needed Thanks for the prompt reply. In the mean time I got the version dated 21 june. If that one is ok or if you are readying a newer version soon, then do not bother to send me an update. I am looking fairly regular for updates. Anyway, I managed today to typeset my lucida fonts. Hans van der Meer ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] reference problem
In the ConTeXt manual (cont-eni.pdf) it says in the chapter on references by way of example: In this chapter, we can safely use references, without the danger of clashing with references in other chapters. If we have a figure: \placefigure[here][fig:worldmap]{A map of the \TeX\ world}{...} In the chapter itself we can refer to this figure with: \in {figure} [fig:worldmap] However, if I use this scheme on the following input: \placefigure[here][fig:exceptionhierarchy]{Sample~exception~hierarchy}% {\externalfigure[ExceptionHierarchy][scale=800]} By way of example, \in{figure}[fig:exceptionhierarchy] shows the hierarchy for ... The following error trace occurs (TeXShop): floatblocks: 1 placed ! Undefined control sequence. \doloop ...ndcsname \recurselevel \let \endofloop \dodoloop \dodoloop 1 \removeunwantedspaces ...kip \else \exitloop \fi } \fi argument> ...\ignorespaces \removeunwantedspaces \rightofreference \doifelsenothing #1->\edef \!!stringa {#1 }\ifx \!!stringa \empty \expandafte... argument> ...veunwantedspaces \rightofreference } {\egroup \dosymbolreferenc... \doifreferencefoundelse ...ce \ifreferencefound #2 \rightofreference ... l.121 ...mple, \in{figure}[fig:exceptionhierarchy] shows the ? What I am doing wrong? Or has some change in macros taken place? I am using the following version: ConTeXt ver: 2004.6.14 fmt: 2004.6.15 int: english mes: english I would be happy if someone can provide the answer. Hans van der Meer