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

2024-03-10 Thread Michael Guravage
of this document is "mtx-context-select." While I can use any number of utilities to manually tweak the title, is there a ConTeXt way to preserve or assign metadata values when using these scripts? -- With kind regards

[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
using updated versions of these? -- With kind regards, Michael ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl

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

2024-02-15 Thread Michael Guravage
})]} \fi} I thought I was done when I noticed that a composed name with an empty first name, with or without an email address, is slightly indented. In the mwe Moe and Curly, without first names, are indented; while Shemp and Michael aren't. That the undesired indentation/alignment is dependent

[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
[state=start] \def\squeeze#1% {\goto{#1}[url(tel:#1)]} \starttext Call \squeeze{01234 56789} \stoptext -- With kind regards, Michael ___ If your question is of interest to others as well, please add an entry

[NTG-context] cont-new.mkiv and \everymathematics

2024-01-20 Thread Rogers, Michael K
in a normal text font, somewhat like \text{word}, and \w is an abbreviation of it that is added to \everymathematics on startup.” Thank you very much, Michael ___ If your question is of interest to others as well

[NTG-context] Re: [External] Re: Looking for itemize help

2024-01-15 Thread Rogers, Michael K
. \stopitemize This is a line immediately following the above itemization. This is a short paragraph. \stoptext %% Cheers, Michael > On Jan 15, 2024, at 6:36 AM, Jim wrote: > > Hi Hraban, > > thanks for your response. But... > > On Mon, Jan 15, 2024 at 08:17 (+0100)

[NTG-context] Solaris 11 SPARC Support [SEC=OFFICIAL]

2024-01-04 Thread Michael Wigston via ntg-context
d not sure if this is a compatibility issue. bin/custom# ./mtxrun --generate startup error : no format file given, quitting Regards, Michael Wigston Senior Analyst/Programmer, Digital Applications People, Transformation & Technology Group Level 5, 100 Market Street, Sydney, 2000 Tel: +61 2 9911 2426 michael.wigs.

[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] Re: Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-09-18 Thread Michael Loescher
Am 18.09.2023 um 16:20 schrieb Hans Hagen: On 9/18/2023 3:58 PM, Michael Loescher wrote: There seems to be something wrong with the \type command. MWE: \starttext \type{hello} \stoptext gives an error: tex error   > tex error on line 2 in file Z:/test.tex: Control sequence expec

[NTG-context] Re: Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-09-18 Thread Michael Loescher
You injected something that confused the parser, maybe by using some Lua call. mtx-context | fatal error: return code: 1 Michael Am 17.09.2023 um 10:01 schrieb Cron Daemon: receiving incremental file list ./ ctan.lsr document-2.htm download-1.htm download-2.htm logo-ade.png

[NTG-context] Re: Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-09-17 Thread Michael Loescher
Hello, after the update the latest luametatex.pdf cannot be opened, the file is corrupted. Am 17.09.2023 um 10:01 schrieb Cron Daemon: receiving incremental file list ./ ctan.lsr document-2.htm download-1.htm download-2.htm logo-ade.png logo-cts.png logo-pod.png rss.xml

[NTG-context] Re: XML processing beginner's question

2023-08-21 Thread Michael Löscher
ke it from there; that's easier than writing the whole setup for you. Thomas On 8/21/23 17:29, Michael Löscher wrote: Hello list, having the xml data at the bottom, I would like to process it so that the result is like this: --- What it is (e.g. bold formatted) date: 2023-08-01 (italic) D

[NTG-context] XML processing beginner's question

2023-08-21 Thread Michael Löscher
"Header" which makes it different again. The other elements contain a tag that they all have in common. What could be the appropriate xml setups to generate the above output? Michael --- xml data: \startbuffer[xmlcontent] What it is

[NTG-context] Slow sreach with new mailing list interfache

2023-07-16 Thread Michael Loescher
Hello, searching the mailing list is very slow recently (since the new interface hast been established). For example searching for "font" takes 20 seconds for the results to show up. Is it only me experiencing this phenomenon or ist it a general problem?

Re: [NTG-context] new units

2023-05-06 Thread Michael Urban via ntg-context
If you are going to introduce new units, you should at least include the Potrzebie, invented by teenager Donald Knuth and published in the humor magazine Mad Magazine #33. The system is based on the thickness of Mad Magazine #26, equal to 2.2633484517438173216473 mm. See the Wikipedia entry

Re: [NTG-context] Numbered Itemlist With Interruption

2023-04-25 Thread Michael Urban via ntg-context
> On Apr 25, 2023, at 8:30 PM, jbf via ntg-context wrote: > > > \startitemize[continue]% THIS SHOULD DO WHAT YOU WANT Wow, thanks. I must have read that 'Enumerations' contextgarden wiki page a half dozen times and missed it anyway. Mike

[NTG-context] Numbered Itemlist With Interruption

2023-04-25 Thread Michael Urban via ntg-context
I am trying to have two numbered itemizations, with a paragraph in between, such that the second list starts where the first left off, without having to manually calculate the new start point. The following does not work, and I do not understand why. Mike \starttext

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

2023-01-04 Thread Michael Guravage via ntg-context
] \NC Φ \NC Phi \NC\NR \stoptabulate \stoptext --- Michael ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo

[NTG-context] Definestartstop, Narrower, and Blockquotej

2022-12-17 Thread Michael Urban via ntg-context
I get a decidedly odd (or, at least, unexpected by me) result from this, based on the example on the contextgarden page for definestartstop: \starttext \defineblank[ExtractDistance][3pt] \definestartstop[Extract][ style=slanted, before={\blank[ExtractDistance]

[NTG-context] lmtx and \prime ?

2022-08-04 Thread Michael Urban via ntg-context
I get a different result for mkiv and lmtx for the following input: \starttext Even now, a six footer is two standard deviations from the mean. Remember, 5\prime{}7\prime\prime{} is 50th percentile today for a 15 year old. \stoptext With mkiv, the prime marks for inches and feet are where I

[NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-19 Thread Michael Urban via ntg-context
I downloaded something that purports to be Century Expanded from fontsgeek.com. Although the font has fi and fl ligature glyphs, it does not have a ligature font feature and ConTeXt does not use those glyphs. Aside from purchasing a real font product from Linotype at enormous expense and

Re: [NTG-context] lmtx \placeinitial with nonzero par indent?

2022-07-11 Thread Michael Urban via ntg-context
Never mind. Apparently lmtx changed the default for \setupindenting from 'next' to 'first'? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] lmtx \placeinitial with nonzero par indent?

2022-07-11 Thread Michael Urban via ntg-context
The following produces different results in mkiv and lmtx (to which I am brand new): \setupinitial[distance=1pt,font=Serif at 36pt,n=2] \setupindenting[medium,yes] \starttext \placeinitial \input knuth \stoptext The mkiv output is the desired effect. It works fine in lmtx if I do not

Re: [NTG-context] Full-page Figure?

2022-03-31 Thread Michael Urban via ntg-context
> On Mar 30, 2022, at 11:38 PM, Hans Hagen wrote: > > does adding page=no help? > Yes. Once again, everyone’s help has been spot on. ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] Full-page Figure?

2022-03-30 Thread Michael Urban via ntg-context
page before. It is seemingly forcing a right-hand page for some reason I do not understand. Mike > On Mar 28, 2022, at 6:37 PM, śrīrāma via ntg-context > wrote: > > On Tuesday, March 29, 2022 4:18 AM Michael Urban via ntg-context wrote: >> Is there a simple

[NTG-context] Full-page Figure?

2022-03-28 Thread Michael Urban via ntg-context
I want to have a float (illustration for fiction, with caption) that takes up just one page, irrespective of the size of the image in the figure. This can be done with a \startmakeup, but makeup pages do not float, as near as I can tell; they interrupt the text (leaving a partly blank page);

Re: [NTG-context] Indented Paragraph After Float?

2022-02-07 Thread Michael Urban via ntg-context
On Feb 7, 2022, at 6:10 PM, śrīrāma via ntg-context wrote: > > On Tuesday, February 8, 2022 7:12 AM Michael Urban via ntg-context wrote: >> produces output (for me) with the next paragraph after the figure placement >> unindented. I cannot think of a workaround hack in th

[NTG-context] Indented Paragraph After Float?

2022-02-07 Thread Michael Urban via ntg-context
As always, it is hard to tell whether this is my stupidity, the wrong version of ConText, or a bug. \setupfloat[figure][indentnext=yes] \starttext %\setupbodyfont[11pt] \setupindenting[yes, medium] \input ward \startplacefigure[title=A Figure,location=page] \startframedtext \input ward.tex

[NTG-context] Odd Font Behavior in startstop Group

2022-02-05 Thread Michael Urban via ntg-context
I am experiencing an odd behavior switching text styles in a defined startstop group ("blockquote"). I get different behavior depending on whether the switchtobodyfont in the startstop definition includes the dummy {\it } and {\bf } text. If they are not there, the italic and boldface

[NTG-context] Get Current Section Number

2022-01-09 Thread Michael Urban via ntg-context
I want to put a book title above the Chapter title for the first chapter of a book. I suppose that this can be accomplished with a 'before=' clause that checks to see if it is the first chapter... but how do I look at the chapter number in order to set up the conditional? Mike

[NTG-context] Table of Contents Header?

2021-12-30 Thread Michael Urban via ntg-context
I am playing around with imitating the design of fiction books from the early 20th century. The table of contents for these books often has small headings, 'CHAPTER' (or 'CHAP.') and 'PAGE' over the respective columns. How might this best be accomplished in ConTeXt? Just add a carefully

[NTG-context] Problem with Google Font 'Vollkorn'

2021-11-12 Thread Michael Urban via ntg-context
I downloaded the Google free font ‘Vollkorn’ (https://fonts.google.com/specimen/Vollkorn) into an appropriate directory and ran mtxrun --script font --reload all went well, and the Vollkorn truetype fonts show up in the output of mtxrun --script font --list --all . However, the following

Re: [NTG-context] [External] special case of hskip...?

2021-09-28 Thread Rogers, Michael K via ntg-context
Can you stick "\phantom{Introduction:}" in front of “DIsability”? Michael > On Sep 28, 2021, at 11:08 PM, jbf via ntg-context wrote: > > In just one instance I would like the following to work differently: > > \startchapter[title={Introduction\\Disability and

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
No, I'm afraid not. I have been combining the various table and column environments, all without success - yet. Michael On Thu, Jul 22, 2021 at 12:01 PM Henning Hraban Ramm wrote: > Hi Michael, > > you could try columnsets and use a columnsetspan for the text above the > columns.

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

2021-07-22 Thread Michael Guravage
attached a mwe where you can use --mode=title to invoke the broken columns. Any advice on how to place text above the columns environment would be gratefully received. With kind regards, Michael \startsetups[tablesettings] \setupTABLE[c][1][style=\tfc, color=darkred, align=left] \setupTABLE[c

[NTG-context] Calculating Best Box Width?

2021-06-09 Thread Michael Urban
I am not especially facile with ConTeXt, and it has been years since I did anything complex with TeX, so I am hoping someone could help me with this. The following is probably not great code, but it shows what I am trying to do. The problems are twofold: a benign problem is that I get underfull

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

2021-06-05 Thread Michael Guravage
regards, Michael On Sat, Jun 5, 2021 at 7:36 AM Sandra Snan wrote: > Thank you both for your help. Additionally, I needed to make sure that > \setupbodyfont comes after all this. But now I've finally got the > margin-potruding quotations of my dreams. > > writes: > >

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
.12.27 19:26, loading the typescript via the style file works as expected. I regret that my mwe remains academic, since you need the Dolly font to run it. Any encouragement in how to resolve this would be much appreciated. Cheers, Michael % \starttypescript [serif] [DollyPro] % \definefontsyno

[NTG-context] Protruding quotation marks obviate narrowed quotations

2020-12-30 Thread Michael Guravage
. The \setupquotation command obviously affects both the \quotation command and \start- stopquotation environment. Is there an elegant way to apply the \setupquotation command and retain the quotation indentation? Cheers, Michael Here's a mwe. \showframe \showgrid \setupwhitespace[medium] % Setup

[NTG-context] Quote mark missing from first paragraph in quotation when location=text

2020-12-06 Thread Michael Murphy
? Michael ___ 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

Re: [NTG-context] OK, I Don't Quite Understand \definefontfamily

2020-09-29 Thread Michael Urban
OK, that worked. Thank you for your help. ___ 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

Re: [NTG-context] OK, I Don't Quite Understand \definefontfamily

2020-09-28 Thread Michael Urban
> On Sep 28, 2020, at 12:39 PM, Wolfgang Schuster > wrote: > > Michael Urban schrieb am 25.09.2020 um 21:12: >> I don't seem quite able to put it all together, forgive the question. >> I have a 'Bookman' font setup, pretty vanilla: >> \definetypeface [Boo

Re: [NTG-context] OK, I Don't Quite Understand \definefontfamily

2020-09-25 Thread Michael Urban
> On Sep 25, 2020, at 12:12 PM, Michael Urban wrote: > > \definetypeface [Bookman] [rm] [serif] [bonum] [sl=name:unituscndboldoblique] Oops, this was one of my bad attempts. the fifth argument is actually omitted in the normally workin

[NTG-context] OK, I Don't Quite Understand \definefontfamily

2020-09-25 Thread Michael Urban
I don't seem quite able to put it all together, forgive the question. I have a 'Bookman' font setup, pretty vanilla: \definetypeface [Bookman] [rm] [serif] [bonum] [sl=name:unituscndboldoblique] \definetypeface [Bookman] [tt] [mono] [modern] [default] \definetypeface [Bookman] [ss] [sans]

[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
Thank you Wolfgang, Now is there a way to persuade the quotation marks to protrude? Cheers, Michael \startsetups[userdata:extendedquotation] \startnarrow[] “\getinlineuserdata”\userdataparameter{source} \stopnarrow \stopsetups \defineuserdataalternative [extendedquotation

[NTG-context] \startquotation and citations

2020-03-26 Thread Michael Guravage
lution, the quotation marks are aligned with the text. For consistency's sake, I need cited and non-cited quotations to appear alike. A lot has changed in the last nine years. Is there a newer way to achieve this behavior? Cheers, M

[NTG-context] Command completion in TeXShop

2019-09-19 Thread Rogers, Michael K
completion for ConTeXt has not yet been implemented. I’m pointing this out in case someone has sufficient knowledge of ConTeXt and is interested. Alternatively, perhaps it has been done, and someone can point me in the right direction. Thanks, Michael This e-mail

Re: [NTG-context] typo in metafun manual

2019-09-10 Thread Michael Hallgren
Le 2019-09-10 07:36, Damien Thiriet a écrit : Hi, There may be a typo in metafun manual, page 104 Hopefully the next explains a bit how it works (you can find explanations zon the internet). Sounds too Dutch for me… Looks like :). And 'the Internet' usually uppercase. mh Regards,

Re: [NTG-context] [External] Re: Math \not

2019-09-07 Thread Rogers, Michael K
Thanks! I should have tried that. -mkr > On Sep 7, 2019, at 12:59 PM, Otared Kavian wrote: > > Hi you should use \nequiv as in > > \starttext > Let $f \nequiv 0$ be a function > \stoptext > > Best regards: OK > >> On 7 Sep 2019, at 18:35, Rogers, Micha

[NTG-context] Math \not

2019-09-07 Thread Rogers, Michael K
In plain TeX you can get a slash through $\equiv$ with $\not\equiv$. When I do the same in ConTeXt, the slash next to the $\equiv$. Is there a way to get a not-equivalent sign in ConTeXt? Thanks, - Michael \starttext $\not\equiv$ \stoptext This e-mail

Re: [NTG-context] contextbeta moved or server down? SOLVED

2018-09-10 Thread Michael Hallgren
Usually port 22, since rsync is usually run in ssh when between distant hosts. Cheers, mh Le 8 sept. 2018 à 15:19, à 15:19, Hans van der Meer a écrit: >I am not inclined to react so strongly. In general I am happy when the >ISP provides its customers with default save settings. It is best for

[NTG-context] How to enable Ligatures

2018-08-23 Thread Michael Zhu
Hi all, Fira Code is Monospaced font with programming ligatures. I don't know how to enable ligatures feature. I hope someone can give me an example. https://github.com/tonsky/FiraCode Michael ___ If your question

[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

Re: [NTG-context] \pmatrix changed?

2018-02-16 Thread Rogers, Michael K
Thank you very much, Hans. On Feb 16, 2018, at 10:52 AM, Hans Hagen <pra...@wxs.nl<mailto:pra...@wxs.nl>> wrote: On 2/16/2018 3:16 PM, Rogers, Michael K wrote: This sort of thing worked a year ago and two years ago (sorry, not sure of the versions now): because it's too fragile

[NTG-context] \pmatrix changed?

2018-02-16 Thread Rogers, Michael K
ort of behavior with \cases: %% \starttext $\cases{x & if $x>0$ \cr y $x>0$ \cr}$ \stoptext %% Is there an easy fix? I'd like not to have to edit old files. Thanks, Michael This e-mail message (including any attachments) is for the sole use of the

[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
meaning} \NC \AR \HL \stoptabulatehead \starttabulate[|r|l|] \dorecurse{50} {\NC c \NC centered \NC \AR \NC l \NC left aligned \NC \AR \NC r \NC right aligned \NC \AR} \stoptabulate \stoptext Cheers, Michael

[NTG-context] \cite not working with notes in xtables

2017-12-05 Thread Michael Eidenbenz
doesnt work. Could this be a conflict on the lua side of xtables/publication framework? The second problem of course are the footnotes that are not placed on the correct side. I thought \automigrateinserts would help here. But it doesnt. Any hints how to solve this? Thanks Michael

[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
these various layers about, I would be very grateful. Cheers, Michael ___ 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

Re: [NTG-context] sql / swiglib doesnt find lib

2017-10-02 Thread Michael Eidenbenz
ffi does look better. but i cant test right now, because I have no access to my dbserver. what about swiglib method? I compiled and installed the library but luatex doesnt find it. is there a way to check the search path of luatex? thanks michael > On 02 Oct 2017, at 10:38, Hans Hagen &

Re: [NTG-context] sql / swiglib doesnt find lib

2017-10-02 Thread Michael Eidenbenz
/context/base/mkiv/util-sql.lua:114: in function '__index' ...exp/tex/texmf-context/tex/context/base/mkiv/util-sql.lua:288: in function 'execute' [ctxlua]:19: in main chunk > On 02 Oct 2017, at 09:29, Hans Hagen <pra...@wxs.nl> wrote: > > On 10/1/2017 11:47 PM, Mi

[NTG-context] sql / swiglib doesnt find lib

2017-10-01 Thread Michael Eidenbenz
Hello, I'm experimenting with the SQL interface in context. My testfile compiles with: utilities.sql.setmethod("client"), but I don't manage to setup the swiglib method. Following the instruction described in swiglib-mkiv.pdf, I compiled the mysql library for osx, and put it into:

Re: [NTG-context] Initials and short paragraph

2017-06-20 Thread Rogers, Michael K
initial K, then someone else will have to answer. I don't know off hand. Cheers, Michael > On Jun 8, 2017, at 10:05 PM, Martin Oppegaard <martin.oppega...@gmail.com> > wrote: > > Hi, > > When placing an initial and the paragraph is short, the initial is laid over > the ne

[NTG-context] bug in cldf-int.lua

2017-03-20 Thread Michael Eidenbenz
hello this bug shows up when using the lua function "interfaces.definecommand". michael cldf-int.lua interfaces = interfaces or { } - _clmh_ = utilities.parsers.settings_to_array + _clmh_ = utilities.parsers.settings_to_hash _clma_ = utilities.parsers.setting

Re: [NTG-context] everybeforeoutput vs everyafteroutput

2017-03-11 Thread Michael Eidenbenz
is shipped out. pageinjection [previouspage] sort of does what i want, but its a blank page without the layout. any hints how i can solve this? many thanks michael > On 10 Mar 2017, at 17:36, Hans Hagen <pra...@wxs.nl> wrote: > > On 3/10/2017 10:07 AM, Michael Eidenbenz wrote: >

[NTG-context] everybeforeoutput vs everyafteroutput

2017-03-10 Thread Michael Eidenbenz
% {\global\output {\inotrtrue \the\everybeforeoutput #content\relax \the\everyafteroutput}} can this be fixed? thanks michael ___ If your question is of interest to others as well, please add

Re: [NTG-context] Encoding reserved characters in URI query strings

2017-02-05 Thread Rogers, Michael K
> On Feb 5, 2017, at 12:09 PM, Aditya Mahajan <adit...@umich.edu> wrote: > > On Sun, 5 Feb 2017, Rogers, Michael K wrote: > >> Let's say I want a link to plot x+2 in Wolfram|Alpha. I need to catenate >> "http://www.wolframalpha.com/input/?i=; and "pl

[NTG-context] Encoding reserved characters in URI query strings

2017-02-05 Thread Rogers, Michael K
B2 I could write my own, of course. But no need to reinvent the wheel. TIA, Michael This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message

Re: [NTG-context] sqrt(3)/2 with metafun

2017-02-02 Thread Rogers, Michael K
This seems to work in place of 0.866cm: sqrt(3)/2*cm Michael On Feb 2, 2017, at 3:54 PM, Fabrice Couvreur <fabrice1.couvr...@gmail.com<mailto:fabrice1.couvr...@gmail.com>> wrote: Hello, I wanted to use sqrt(3)/2 but without success. Instead, I replaced this value with an appro

Re: [NTG-context] btx/xml tree - entry with missing field

2016-12-22 Thread Michael Eidenbenz
thanks a lot hans! > Am 22.12.2016 um 18:30 schrieb Hans Hagen <pra...@wxs.nl>: > > On 12/22/2016 6:06 PM, Michael Eidenbenz wrote: >> Hello >> >> I use the xml interface to list all publications that dont match a >> search crit

[NTG-context] btx/xml tree - entry with missing field

2016-12-22 Thread Michael Eidenbenz
? Thanks Michael -- \startbuffer[bib] @article{test-1, title= {Article One}, author = {A. Foo and X. Bar}, year = {2001}, keywords = {alpha}, } @book{test-2, title= {Book Two}, author = {B. Foo}, year = {2002}, keywords = {beta}, }

Re: [NTG-context] hbox after \page[disable]

2016-12-06 Thread Michael Eidenbenz
> Am 05.12.2016 um 22:21 schrieb Hans Hagen <pra...@wxs.nl>: > > On 12/5/2016 9:32 PM, Michael Eidenbenz wrote: >> Ok I got it. >> >> page[disable] is not taken into account by page[odd] so I changed it in >> page-brk.mkiv: >> >> \inst

Re: [NTG-context] hbox after \page[disable]

2016-12-05 Thread Michael Eidenbenz
} with this my MWE works perfectly. But will this break other things? I dont really know what I'm doing just hacking. Michael - \enabletrackers [visualizers.hbox] \useMPlibrary[dum] \setuppagenumbering [alternative=doublesided] \definelayout[odd][width=10cm] \definelayout[even][width=15cm

Re: [NTG-context] hbox after \page[disable]

2016-12-04 Thread Michael Eidenbenz
finding the \page[disable] definition in the code but could not find it. any further suggestions how I can solve this issue? thanks Michael > Am 04.12.2016 um 18:13 schrieb Hans Hagen <pra...@wxs.nl>: > > On 12/4/2016 2:12 PM, Michael Eidenbenz wrote: >> I have

[NTG-context] hbox after \page[disable]

2016-12-04 Thread Michael Eidenbenz
the \page[disable] pass. What can I do to avoid this hbox? Thanks Michael \enabletrackers [visualizers.hbox] \useMPlibrary[dum] \setuppagenumbering [alternative=doublesided] \definelayout[odd][width=10cm] \definelayout[even][width=15cm] \newtoks \EvenPage \appendtoks \the\EvenPage \global

[NTG-context] (another) bug with embeddedxtables

2016-12-02 Thread Michael Eidenbenz
Settings made to \startembeddedxtable or \startxrow they will only work in the first call of the macro. In every further call the settings are ignored. On the other hand, settings made to \startxcell work for every call of the macro. I assume this is a bug. Regards Michael \unexpanded\def

[NTG-context] bug in xtables with spanning and spacing

2016-11-30 Thread Michael Eidenbenz
the spanned cells should be aligned. \startxtable[distance=5mm,spaceinbetween=5mm] \startxrow \startxcell[ny=2] one + alpha\stopxcell \startxcell[nx=2] two + three \stopxcell \stopxrow \startxrow \startxcell beta \stopxcell \startxcell gamma \stopxcell \stopxrow \stopxtable

Re: [NTG-context] error with floats in xtables with defined width

2016-11-29 Thread Michael Eidenbenz
thanks wolfgang. > On 29 Nov 2016, at 15:55, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> Michael Eidenbenz <mailto:eidenb...@arch.ethz.ch> 29. November 2016 um 15:30 >> sorry, but what does "mlv" stand for? > It’s mvl whic

Re: [NTG-context] error with floats in xtables with defined width

2016-11-29 Thread Michael Eidenbenz
sorry, but what does "mlv" stand for? > On 29 Nov 2016, at 11:23, Hans Hagen <pra...@wxs.nl> wrote: > > On 11/29/2016 11:01 AM, Michael Eidenbenz wrote: >> \vbox{\placefigure[][]{}{\externalfigure[][]}} >> >> does the trick (but why?) >

Re: [NTG-context] error with floats in xtables with defined width

2016-11-29 Thread Michael Eidenbenz
\vbox{\placefigure[][]{}{\externalfigure[][]}} does the trick (but why?) > On 29 Nov 2016, at 09:29, Michael Eidenbenz <eidenb...@arch.ethz.ch> wrote: > > Hello, > > this M(not)WE gives me the following error: > > You can't use `\prevdepth' in restricted horizon

[NTG-context] error with floats in xtables with defined width

2016-11-29 Thread Michael Eidenbenz
Hello, this M(not)WE gives me the following error: You can't use `\prevdepth' in restricted horizontal mode Is this a bug? I'm running: 2016.11.24 12:05 MKIV beta thanks Michael \starttext \startxtable \startxrow % \startxcell \startxcell[width=10cm] % this leads to an error

Re: [NTG-context] startxtable, stopxtable in macro

2016-11-25 Thread Michael Eidenbenz
23:02, Pablo Rodriguez <oi...@gmx.es> wrote: > > On 11/25/2016 08:46 PM, Michael Eidenbenz wrote: >> why does this produce an TeX capacity exeeded error? >> thanks > > Hi Michael, > > I don’t know, but replacing your definitions with the following on

[NTG-context] startxtable, stopxtable in macro

2016-11-25 Thread Michael Eidenbenz
why does this produce an TeX capacity exeeded error? thanks Michael \define\startTable{\startxtable} \define\stopTable{\stopxtable} \starttext \startTable \startxrow \startxcell hello \stopxcell \stopxrow \stopTable \stoptext

[NTG-context] floats in xtable flush with frame

2016-11-05 Thread Michael Eidenbenz
Hello, I want to place floats in an xtable but cannot get rid of the gap between the float and the frame. I sort of can eliminate the gap on the top with \setupfloat [offset=-2.5pt] but this doesnt seem to be the right way. Is there a parameter to control this? Thanks Michael \showframe

[NTG-context] grid, interlinespace

2016-11-02 Thread Michael Eidenbenz
snap to the grid. What is happening here? And is this method of changing the height the right one? Thanks Michael -- \showgrid \setuplayout [grid=yes] \starttext \setupinterlinespace [ height=.566, line=2.8ex, ] \setupbodyfont [10pt] MM on grid but jumping\par

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-30 Thread Michael Eidenbenz
e minibuffer (and try without the local variables in your buffer) > On 30 Oct 2016, at 10:10, Fabrice Couvreur <fabrice1.couvr...@gmail.com> > wrote: > > ​Hi Michael, > ​ > Thank you for your help but it does not work, maybe a problem with the Emacs > shell. >

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-29 Thread Michael Eidenbenz
n/ ":$PATH" t) > (add-to-list 'load-path "/home/fab/context/tex/texmf-linux-64/bin/context") > > Warning (initialization): An error occurred while loading `/home/fab/.emacs': > > Symbol's value as variable is void: /Users/fab/tex/texmf-linux-64/bin > >

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-29 Thread Michael Eidenbenz
sorry that should be: (path to textree)/setuptex && context . > > cd (path to textree) && setuptex && context etc... ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-29 Thread Michael Eidenbenz
check which binary is used with which context and correct our PATH according to your needs. you can always add more C-c C-c commands for multiple installations (beta, current, texlive ..) as I wrote before. just change the command to cd (path to textree) && setuptex && context

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-28 Thread Michael Eidenbenz
nil (context-mode) :help "Run ConTeXt") t)) I run emacs25 and auctex 11.89.5 without problems. although i use auctex only for C-c C-c. Michael > On 28 Oct 2016, at 23:57, Fabrice Couvreur <fabrice1.couvr...@gmail.co

Re: [NTG-context] avoid newline after definestartstop

2016-10-26 Thread Michael Eidenbenz
[rightquotation] #1 \stopnarrower} \starttext \startCitation \input knuth \stopCitation \footnote{This is a Quote of Donald Knuth} \input knuth \stoptext > On 26 Oct 2016, at 18:40, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> Michael Eid

Re: [NTG-context] avoid newline after definestartstop

2016-10-26 Thread Michael Eidenbenz
after some readings in the TeX book I came up with the following solution that works for me without having to change all my instances of startstopCitation in the text. \definestartstop [Citation] [ before={\hangindent=20mm\hangafter=0\symbol[leftquotation]},

Re: [NTG-context] avoid newline after definestartstop

2016-10-25 Thread Michael Eidenbenz
thanks everybody for their input. michael ___ 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

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Michael Eidenbenz
Thanks! sometimes the moste obvious is hidden... although I would consider this a hack, it works perfectly. but I'm still wondering, if there is no soultion for the more "canonical" way. Regards Michael > On 24 Oct 2016, at 17:08, Otared Kavian <ota...@gmail.com> wro

  1   2   3   4   5   6   7   >