Re: [NTG-context] Strange behavior with font pagella

2018-07-16 Thread Otared Kavian
t;> Thank you >> Fabrice >> >> \setupbodyfont[pagella,11pt] >> >> \defineframed >>[ACFRAME] >>[frame=off, >> offset=0pt, >> location=low, >> width=\struttotal, >> background=color, >> backg

Re: [NTG-context] Strange behavior with font pagella

2018-07-16 Thread Fabrice Couvreur
in bold face. > > Best regards: OK > > On 15 Jul 2018, at 23:39, Fabrice Couvreur > wrote: > > Good evening, > In the code below, why is the text in bold ? > Thank you > Fabrice > > \setupbodyfont[pagella,11pt] > > \defineframed >[ACFRAME] >[

Re: [NTG-context] Strange behavior with font pagella

2018-07-16 Thread Otared Kavian
> \setupbodyfont[pagella,11pt] > > \defineframed >[ACFRAME] >[frame=off, > offset=0pt, > location=low, > width=\struttotal, > background=color, > backgroundcolor=black, > foregroundcolor=white, > forgroundstyle=

Re: [NTG-context] Strange behavior with font pagella

2018-07-15 Thread Rik Kabel
On 7/15/2018 17:39, Fabrice Couvreur wrote: \setupbodyfont[pagella,11pt] \defineframed    [ACFRAME]    [frame=off,     offset=0pt,     location=low,     width=\struttotal,     background=color,     backgroundcolor=black,     foregroundcolor=white,     forgroundstyle=bold] \defineprocessor

[NTG-context] Strange behavior with font pagella

2018-07-15 Thread Fabrice Couvreur
Good evening, In the code below, why is the text in bold ? Thank you Fabrice \setupbodyfont[pagella,11pt] \defineframed [ACFRAME] [frame=off, offset=0pt, location=low, width=\struttotal, background=color, backgroundcolor=black, foregroundcolor=white

Re: [NTG-context] Defining command with optional and mandatory arguments

2018-05-24 Thread Taco Hoekwater
tually typeset. That is where commands like \in come from, where the braced part is optional and the bracketed part required. Internal low-level commands tended to use braces more often because of efficiency considerations. (also, at the primitive level, TeX syntax is inconsistent anyway, with v

Re: [NTG-context] roadmap

2018-05-16 Thread Fabrice L
t; Anyway, here are some thoughts on the two main components: MkIV and LuaTeX. > > ConTeXt MkIV: > > - Check if some mechanism can (by now) be simplified due to LuaTeX > extension introduced the last few years that can be considered stable by > now. This has a low impact as we al

Re: [NTG-context] roadmap

2018-05-14 Thread Henri Menke
mechanism can (by now) be simplified due to LuaTeX extension introduced the last few years that can be considered stable by now. This has a low impact as we already use Lua a lot. - Figure out what mechanism in ConTeXt are bottlenecks in performance if there are such bottlenecks at all. We

Re: [NTG-context] roadmap

2018-05-14 Thread Hans Hagen
ojects that need this the priority for such features - the export basically started as a proof of concept - they get a low priority.) * There are a few things missing in image handling - when I wrote my placement macros I needed image size calculations that already exist in ConTeXt but were not

[NTG-context] roadmap

2018-05-14 Thread Hans Hagen
due to LuaTeX extension introduced the last few years that can be considered stable by now. This has a low impact as we already use Lua a lot. - Figure out what mechanism in ConTeXt are bottlenecks in performance if there are such bottlenecks at all. We need user input on this. - Get rid

Re: [NTG-context] Vertical alignment in tabulate

2018-05-10 Thread Alexey Kryukov
On Thu, 10 May 2018 14:36:20 +0200 luigi scarso wrote: > > a minimal example could help . OK, it's simple: \starttext \starttabulate[|A{yes,verytolerant}p(4in)|A{flushleft,low}p|] \NC \input{knuth} \NC A small remark\NC\NR \stoptabulate \stoptext Here I would like to get th

Re: [NTG-context] using lua fonts

2018-05-09 Thread Hans Hagen
) functions are "public" and won't break at the next update of the font handler. normally function that are part of the generic loader code are publis (one can argue about the low level helpers as these are only loaded for the code to work i.e. i have no clue how useful these are outsid

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-17 Thread Aditya Mahajan
a feature to align the left edge relative to the least indented so that we can use them inside other constructs Now, as you're not afraid of low level code: \unprotect \unexpanded\def\StartAditya {\buff_pickup {Aditya}% {StartAditya}% {StopAditya}% {}% {\savebuffer[file=test-temp.tmp

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-17 Thread Aditya Mahajan
to the least indented so that we can use them inside other constructs Now, as you're not afraid of low level code: \unprotect \unexpanded\def\StartAditya {\buff_pickup {Aditya}% {StartAditya}% {StopAditya}% {}% {\savebuffer[file=test-temp.tmp,prefix=no,list=Aditya]}% \zerocount

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-17 Thread Hans Hagen
them inside other constructs Now, as you're not afraid of low level code: \unprotect \unexpanded\def\StartAditya {\buff_pickup {Aditya}% {StartAditya}% {StopAditya}% {}% {\savebuffer[file=test-temp.tmp,prefix=no,list=Aditya]}% \zerocount} \unexpanded\def\StopAditya

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-16 Thread Hans Hagen
ule-catcodes.tex' loading > Module Catcodes (ver: 2011.12.17) tex error > tex error on line 96 in file t-module-catcodes.tex: ! Undefined control sequence why are special catcodes needed? an dif so, there are often easier ways than low level hacking This is the commit (from 2011!) wher

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-16 Thread Aditya Mahajan
s (ver: 2011.12.17) tex error > tex error on line 96 in file t-module-catcodes.tex: ! Undefined control sequence why are special catcodes needed? an dif so, there are often easier ways than low level hacking This is the commit (from 2011!) where I added this code: https://github.com/adityam/filt

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-15 Thread Hans Hagen
r on line 96 in file t-module-catcodes.tex: ! Undefined control sequence why are special catcodes needed? an dif so, there are often easier ways than low level hacking This is the commit (from 2011!) where I added this code: https://github.com/adityam/filter/commit/c34023fd1ede0909a056a10c6352202

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-14 Thread Aditya Mahajan
Undefined control sequence why are special catcodes needed? an dif so, there are often easier ways than low level hacking This is the commit (from 2011!) where I added this code: https://github.com/adityam/filter/commit/c34023fd1ede0909a056a10c6352202f2295fba4 My guess is that I did not want

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-14 Thread Hans Hagen
e special catcodes needed? an dif so, there are often easier ways than low level hacking Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel

Re: [NTG-context] Fwd: Questions about creation of PDF's

2018-03-22 Thread Hans Hagen
1a:2001] \starttext test \stoptext when a level is changed much more has to change and just flippign a low level counter is not enough then (most low level \pdf* commands are no-ops in mkiv, some have an implementation that hooks into other code) in principle we can support pdf 2.0 too (luate

Re: [NTG-context] current

2018-03-18 Thread kaddour kardio
arden will have 1.08 in a while but that will influence only > some low level context, more convenenience stuff). > > Hans > > - > Hans Hagen | PRAGMA ADE >

[NTG-context] current

2018-03-17 Thread Hans Hagen
Hi, As the tex live code freezing is near we made a "current" (luigi does the checking in tex live). As far as we can see it works ok with luatex 1.07 (the context garden will have 1.08 in a while but that will influence only some low level context, more convenenience stuf

Re: [NTG-context] Change of nuts.dimensions function ?

2018-02-16 Thread Hans Hagen
that experimental is *not* really meant for production as it's the branch where we put in code that we work on .. it can even be a temporsary snapshot) (btw, there is a preliminary bidi manual in the distribution which i use when testing some of the low level cleanup in progress) Thanks Best

Re: [NTG-context] notes in the margin

2018-02-12 Thread Henning Hraban Ramm
] \placelocalfootnotes % doesn’t change anything \stopplacefigure * Further, in some cases it would be good to move the margin note by a few lines higher or lower. \inmargin has this first parameter: "+ - low" in reference, e.g. \inmargin [method=first,voffset=-6pt] in source typo-mar.mki

Re: [NTG-context] image file resolver in Lua?

2018-02-05 Thread Rudolf Bahr
offset=overlay, > > > x=21mm, > > > y=\mystartY, > > > height=\myClipHeight, > > > width=\textwidth, > > > align=flushleft, > > > ]{% > > > \clip[ > > >width=\textwidth, > > &

Re: [NTG-context] image file resolver in Lua?

2018-02-04 Thread Hans Hagen
n=on, x=143mm,y=\dimexpr\mystartY + 3pt\relax, height=\myClipHeight, width=\outermarginwidth, align={flushleft,low}, valign=bottom, ]{% \vbox{ \textreference[#1]{\strut #2}\vfill #2 }} \stopfullpagemakeup } usage example: \startpostponing[82] \pagefig[alinari-stelzen]

Re: [NTG-context] image file resolver in Lua?

2018-02-02 Thread Rudolf Bahr
th=\textwidth, > align=flushleft, > ]{% > \clip[ > width=\textwidth, > height=\myClipHeight, > hoffset=0mm, > voffset=0mm, % i.e. clip bottom! TODO: options! > ]{\externalfigure[#3][width=\textwidth]} > } > \textreferen

Re: [NTG-context] image file resolver in Lua?

2018-02-02 Thread Henning Hraban Ramm
\clip[ width=\textwidth, height=\myClipHeight, hoffset=0mm, voffset=0mm, % i.e. clip bottom! TODO: options! ]{\externalfigure[#3][width=\textwidth]} } \textreference[pre#1]{\myImgHeight} % caption \setlayerframed[bglayer][% frame=off, offset=overlay,

Re: [NTG-context] Question about an environment

2018-01-31 Thread Fabrice Couvreur
t; [frame=off, >boffset=0pt, >width=fit, >align=flushleft, >location=low, >background=color, >backgroundcolor=MyColorA] > > \defineframed > [EXFRAME] > [frame=off, >offset=0pt, >location=low, >width=\struttotal, >

[NTG-context] Question about an environment

2018-01-28 Thread Fabrice Couvreur
Hello, How to make the first item on the baseline of the numbering as in the first exercise ? Thanks. Fabrice \defineframed [ACFRAME] [frame=off, boffset=0pt, width=fit, align=flushleft, location=low, background=color, backgroundcolor=MyColorA] \defineframed [EXFRAME

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Pablo Rodriguez
On 12/20/2017 10:18 PM, Hans Hagen wrote: > On 12/20/2017 8:45 PM, Pablo Rodriguez wrote: >> [...] >> Would it be possible that there are two SnippetComments for all lexers: >> SnippetCommentMark and SnippetCommentText? > > very low priority ... there is some logic beh

Re: [NTG-context] Question to Lua and Postgres (and ConTeXt)

2017-12-20 Thread Hans Hagen
: there is a fundamental low level change in lua (number system) that in some usage can have consequences. Our (luigi and i) experiences are: (1) one has to adapt code, but it's often clear when; one also have to realize that luajittex is a hybrid 5.1/5.2 and some day maybe 5.3 (2) we have done quite some

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-20 Thread Hans Hagen
(only --), but not the text. TexSnippetComment contains the marker (%), but not the text. Would it be possible that there are two SnippetComments for all lexers: SnippetCommentMark and SnippetCommentText? very low priority ... there is some logic behind these that i don't want to break Hans

Re: [NTG-context] vertical alignment of images in Natural Table

2017-10-28 Thread Wolfgang Schuster
twidth] \setupTABLE[r][1,2][height=.5\textheight] \bTABLE \bTR \bTD 7·3 apples are on a tree. Anne picks 4·3 apples. \blank[.5em] How many apples remain on the tree? \framed[align={low,middle},location=lohi,width=local]{\externalfigure[apple]} \eTD \eTABLE \stoptext \starttext \bTABLE[offset=2mm,wi

Re: [NTG-context] vertical alignment of images in Natural Table

2017-10-28 Thread John Kitzmiller
are on a tree. Anne picks 4·3 apples. \blank[.5em] How many apples remain on the tree? \framed[align={low,middle},location=lohi,width=local]{\externalfigure[apple]} \eTD \eTABLE \stoptext Hello Martin, I am guessing at directing you away from bTABLE. Maybe imposition will help (along

[NTG-context] vertical alignment of images in Natural Table

2017-10-18 Thread Martin Althoff
][height=.5\textheight] \bTABLE \bTR \bTD 7·3 apples are on a tree. Anne picks 4·3 apples. \blank[.5em] How many apples remain on the tree? \framed[align={low,middle},location=lohi,width=local]{\externalfigure[apple]} \eTD \eTABLE \stoptext

[NTG-context] vertical alignment of images in Natural Table

2017-10-18 Thread Martin Althoff
. \blank[.5em] How many apples remain on the tree? \framed[align={low,middle},location=lohi,width=local]{\externalfigure[apple]} \eTD \eTABLE \stoptext ___ If your question is of interest to others as well, please add

Re: [NTG-context] Fwd: Re: The binomial coefficients do not look optimal

2017-09-05 Thread Mikael P. Sundqvist
the rather big parenthesis in displaystyle (and not so much >> about the vertical space issue in \tbinom). >> >> /Mikael >> >> PS The result looked better if I used the lucida fonts, if that >> helps. >> >> This is

[NTG-context] Fwd: Re: The binomial coefficients do not look optimal

2017-09-02 Thread Hans Hagen
enthesis in displaystyle (and not so much about the vertical space issue in \tbinom). /Mikael PS The result looked better if I used the lucida fonts, if that helps. This is indeed font dependent. These binoms use a low level tex primitive that uses a threshol

Re: [NTG-context] The binomial coefficients do not look optimal

2017-09-02 Thread Mikael P. Sundqvist
rather big parenthesis >> in displaystyle (and not so much about the vertical space issue in \tbinom). >> >> /Mikael >> >> PS The result looked better if I used the lucida fonts, if that helps. >> > This is indeed font dependent. These binoms use a low level

Re: [NTG-context] The binomial coefficients do not look optimal

2017-09-01 Thread Hans Hagen
to look better. In particular I am concerned about the rather big parenthesis in displaystyle (and not so much about the vertical space issue in \tbinom). /Mikael PS The result looked better if I used the lucida fonts, if that helps. This is indeed font dependent. These binoms use a low level

Re: [NTG-context] Problems with headers using margintext alternative

2017-07-29 Thread Willi Egger
should placed centered onto the lettersized paper, oversized. When I comment the line with insidesection= I get a consistent result i.e. that the text of the sections with start\stop in the text body starts one line to low compared to the traditional way of coding. Otherwise

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-16 Thread Mathias Schickel
rttext >>> >>> \starttextbackground >>> \dorecurse{10}{test\footnote{tufte}: \input tufte\par} >>> \stoptextbackground >>> >>> \stoptext >>> >> I have found the following to be necessary when using textbackground, >> especially

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-15 Thread Hans Hagen
lowing to be necessary when using textbackground, especially when backgrounds cross page boundaries: \setnewconstant\kindofpagetextareas\plusone % partial page. HH: low level, no high level switch (yet) Maybe Hans can explain this? Because it's an option (with no parameter yet .. not sure whe

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-15 Thread Alan Braslau
following to be necessary when using textbackground, especially when backgrounds cross page boundaries: \setnewconstant\kindofpagetextareas\plusone % partial page. HH: low level, no high level switch (yet) Maybe Hans can explain this? Alan ___

[NTG-context] ConTeXt meeting 2017 (reminder)

2017-07-05 Thread Taco Hoekwater
e.V. also offer an extra discount for any Dante members that will attend our meeting. And that is on top of the discount we offer to our ConTeXt Group members, so we managed to keep the conference fees quite low. The deadline for early-bird discount is July 11, only six days from now

Re: [NTG-context] ConTeXt meeting 2017

2017-06-25 Thread Henri Menke
ANTE e.V., the German TeX User Group. > Besides the general sponsorship, they also offer an extra discount for any > Dante members that will attend our meeting. And that is on top of the discount > we offer to our ConTeXt Group members, so we managed to keep the conference > fe

[NTG-context] ConTeXt meeting 2017

2017-06-25 Thread Henning Hraban Ramm
Group members, so we managed to keep the conference fees quite low. == Call for submissions == We always set a theme for the meeting, and the theme for this meeting is: ConTeXt Gardening If you want to do an on-topic talk submission, there are plenty angles to take at the theme: Seeding, weeding

Re: [NTG-context] STIX vs XITS

2017-06-17 Thread Hans Åberg
tion sign. I looked for serif DejaVu monospace, but could not find it: sans-serif thought to aid low resolution screens, but one is switching now. ___ If your question is of interest to others as well, pleas

Re: [NTG-context] Bug regarding placement and size of primes

2017-06-12 Thread Mathias Schickel
er bugs being >>>> resolved meanwhile): >>>> >>>> %%% >>>> \starttext >>>> % >>>> Compare $f'$ to $(f')$ and to $f''$, $(f'')$, $f^{''}$ and $(f^{''})$. >>>> % >>>> \startformula >>>> %

Re: [NTG-context] Bug regarding placement and size of primes

2017-06-12 Thread Mikael P. Sundqvist
rm d}x >>>% >>> \stopformula >>> % >>> \stoptext >>> %%% >>> >>> The output is attached. The primes are obviously rendered too small. And >>> while $f'$ seems to lead to a placement of the prime a little too low

Re: [NTG-context] Bug regarding placement and size of primes

2017-06-12 Thread Mathias Schickel
; % >> \startformula >>% >>\int\nolimits_a^b \bigl(\|f(x)\|\bigr)\, {\mathrm d}x >>% >> \stopformula >> % >> \stoptext >> %%% >> >> The output is attached. The primes are obviously rendered too small. And

Re: [NTG-context] Bug regarding placement and size of primes

2017-06-12 Thread Mikael P. Sundqvist
thrm d}x > % > \stopformula > % > \stoptext > %%% > > The output is attached. The primes are obviously rendered too small. And > while $f'$ seems to lead to a placement of the prime a little too low, &

[NTG-context] Bug regarding placement and size of primes

2017-06-12 Thread Mathias Schickel
of the prime a little too low, $f^{'}$ seems to cause the prime being placed too high. Best Mathias Primes.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Position of prime for derivatives

2017-06-08 Thread Hans Hagen
On 6/8/2017 4:29 PM, Aditya Mahajan wrote: On Thu, 8 Jun 2017, Mikael P. Sundqvist wrote: And indeed, in luatex 1.05 the primes look fine again. The prime in the fraction is too low, but I take Hans' "Such is life" and use \over for the rare cases where I have primes inside frac

Re: [NTG-context] Position of prime for derivatives

2017-06-08 Thread Aditya Mahajan
On Thu, 8 Jun 2017, Mikael P. Sundqvist wrote: And indeed, in luatex 1.05 the primes look fine again. The prime in the fraction is too low, but I take Hans' "Such is life" and use \over for the rare cases where I have primes inside fractions. I haven't followed the thread

Re: [NTG-context] Position of prime for derivatives

2017-06-08 Thread Mikael P. Sundqvist
ps://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ With some hands on help from Taco and luigi the compilation worked (I had not installed icu-config, freetype-config, makeinfo, which might help someone else). A

Re: [NTG-context] Position of prime for derivatives

2017-06-04 Thread Otared Kavian
ring this up again, but look at the attached output of > > %%% > %\setupbodyfont[lucidaot] > > \starttext > \startformula > f'(0)=2\frac{f'(0)}{2} > \stopformula > \stoptext > %%% > > The prime in the fraction is in my opinion too low (it is

Re: [NTG-context] Position of prime for derivatives

2017-06-04 Thread Mikael P. Sundqvist
.nl / http://context.aanhet.net >>>> archive : https://bitbucket.org/phg/context-mirror/commits/ >>>> wiki : http://contextgarden.net >>>> _______ >>>> >>>>

[NTG-context] ConTeXt Meeting 2017

2017-06-01 Thread Taco Hoekwater
the conference fees quite low. == Call for submissions == We always set a theme for the meeting, and the theme for this meeting is: ConTeXt Gardening If you want to do an on-topic talk submission, there are plenty angles to take at the theme: Seeding, weeding, fertilising, growing, harvesting

Re: [NTG-context] Typescript/fallbacks problem

2017-05-27 Thread Hans Hagen
apparently I missed some instances—sorry—and that made it to the version I uploaded also. Hans: I'm really sorry for wasting your time with these low-quality fonts... but unfortunately these are among the few open-source Farsi fonts, and they are simple enough to be extendible. The fon

Re: [NTG-context] Typescript/fallbacks problem

2017-05-27 Thread Mohammad Hossein Bateni
that made it to the version I uploaded also. Hans: I'm really sorry for wasting your time with these low-quality fonts... but unfortunately these are among the few open-source Farsi fonts, and they are simple enough to be extendible. The font designer is not a professional, but accepts bug reports, sugges

Re: [NTG-context] question about Linux Libertine

2017-05-09 Thread kaddour kardio
>> i managed to get the ornaments from Linux Libertine by using a rather >> low-level command >> >> \definesymbol >> [leaf] >> [\getnamedglyphdirect >> {kad} >> {ampersand.alt}] >> >> >> But for other

Re: [NTG-context] question about Linux Libertine

2017-05-08 Thread Hans Hagen
On 5/8/2017 12:20 AM, kaddour kardio wrote: i managed to get the ornaments from Linux Libertine by using a rather low-level command \definesymbol [leaf] [\getnamedglyphdirect {kad} {ampersand.alt}] But for other symbols i have to use another command like

Re: [NTG-context] question about Linux Libertine

2017-05-07 Thread kaddour kardio
i managed to get the ornaments from Linux Libertine by using a rather low-level command \definesymbol > [leaf] > [\getnamedglyphdirect > {kad} > {ampersand.alt}] But for other symbols i have to use another command like that: \definesymbol[orn1][\getglyph{kad}{\char9753

Re: [NTG-context] processing very big tables

2017-04-09 Thread Hans Hagen
On 4/9/2017 1:20 PM, Thomas A. Schmitz wrote: Hi all, I need some fundamental advice from experienced users: I'm processing xml and collecting the data in lua tables, which I want to typeset in some sort of table or tabular format. Typesetting requirements are fairly low, just a couple

[NTG-context] processing very big tables

2017-04-09 Thread Thomas A. Schmitz
Hi all, I need some fundamental advice from experienced users: I'm processing xml and collecting the data in lua tables, which I want to typeset in some sort of table or tabular format. Typesetting requirements are fairly low, just a couple of columns that need to be nicely aligned

Re: [NTG-context] Passing data back and forth between metapost and lua

2017-03-19 Thread Hans Hagen
e task at hand for me. But a pointer to a more detailed source will be welcome. real low level \starttext \startluacode document.mydata = { foo = "foo", bar = 123 } \stopluacode \startMPcode draw fullcircle scaled lua("mp.print(document.mydata.bar)") ; dr

Re: [NTG-context] Disable structure sectioning messages on console

2017-03-06 Thread Hans Hagen
d also disable the interface command via indeed \let\strc_sectioning_report\relax it's a bad idea to overload such low level commands On 03/06/2017 06:55 AM, Aditya Mahajan wrote: Hi, Is it possible to disable the `structure > sectioning >` messages that are displayed on the con

Re: [NTG-context] Title without the parentheses

2017-01-31 Thread Fabrice Couvreur
N, >>alternative=top, >>number=yes] >> >> In order to put the word « Exercice » in the frame you should define a >> special command, for instance \MyTextCommand and the say text = >> \MyTextCommand >> >> Best regrads: OK >> >&g

Re: [NTG-context] Title without the parentheses

2017-01-30 Thread Otared Kavian
; Best regrads: OK > >> On 29 Jan 2017, at 09:07, Fabrice Couvreur <fabrice1.couvr...@gmail.com >> <mailto:fabrice1.couvr...@gmail.com>> wrote: >> >> Hello, >> I would like a title without the parentheses and the text "Exercice" in the >> fram

Re: [NTG-context] Title without the parentheses

2017-01-30 Thread Otared Kavian
mand and the say text = \MyTextCommand > > Best regrads: OK > >> On 29 Jan 2017, at 09:07, Fabrice Couvreur <fabrice1.couvr...@gmail.com >> <mailto:fabrice1.couvr...@gmail.com>> wrote: >> >> Hello, >> I would like a title without the parenthe

Re: [NTG-context] Title without the parentheses

2017-01-29 Thread Fabrice Couvreur
ot;Exercice" in > the frame with the number. > Thank you. > Fabrice > > \defineframed > [EXFRAME] > [frame=off, >offset=0pt, >location=low, >width=\struttotal, >background=color, >backgroundcolor=darkred, >foregroundco

Re: [NTG-context] Title without the parentheses

2017-01-29 Thread Otared Kavian
like a title without the parentheses and the text "Exercice" in the > frame with the number. > Thank you. > Fabrice > > \defineframed > [EXFRAME] > [frame=off, >offset=0pt, >location=low, >width=\struttotal, >background

[NTG-context] Title without the parentheses

2017-01-29 Thread Fabrice Couvreur
Hello, I would like a title without the parentheses and the text "Exercice" in the frame with the number. Thank you. Fabrice \defineframed [EXFRAME] [frame=off, offset=0pt, location=low, width=\struttotal, background=color, backgroundcolor=darkred, foregroundc

Re: [NTG-context] bug in font size switches?

2016-10-17 Thread Pablo Rodriguez
ying to understand), why are only those two values >> (form the letter series) fixed? > > because they are the text counterparts of the smaller math sizes (those > are fixed too) ... think of \high and \low usage Many thanks for your reply, Hans. Now I understand

Re: [NTG-context] bug in font size switches?

2016-10-17 Thread Hans Hagen
they are the text counterparts of the smaller math sizes (those are fixed too) ... think of \high and \low usage Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

Re: [NTG-context] Asciidoc --> ConTeXt for presentations

2016-10-16 Thread Saša Janiška
use markdown --> Pandoc --> reveal.js which can look as low-hanging fruit, but, based on my observation, everything around Javascript stuff is almost always hyped and short-lived, iow. today reveal.js is “in”, but that can quickly change tomorrow. Otoh, learning ConTeXt is going to be useful

[NTG-context] \blank[force, halfline] at top page issue

2016-09-29 Thread josephcanedo
disappears if topskip is set to 0, but I doubt it’s really good idea to mess up with this low level TeX setting (or is it good idea ?). Moreover browsing the spac-ver.* files I noticed the existence of a no_topskip mechanism which I guess would allow to remove (in lua code) the topskip glue node

Re: [NTG-context] Figure-text alignment and wrapping text more tightly

2016-09-01 Thread Mikael P. Sundqvist
t; 1) Is it possible to top-align the figure with the first line of the > paragraph to its left? > > 2) Is there a way to reduce the vertical gap between the first and second > figures? > > 3) The keyword “low” for \placefigure seems to have an effect. But I don

[NTG-context] Figure-text alignment and wrapping text more tightly

2016-09-01 Thread Florian Leupold
to reduce the vertical gap between the first and second figures? 3) The keyword “low” for \placefigure seems to have an effect. But I don’t know why and could not find a reference to that in contextref.pdf. Is this the correct way to wrap text “more tightly” below the figure (compare second

Re: [NTG-context] Caption placement in margin

2016-08-31 Thread Wolfgang Schuster
Mikael P. Sundqvist <mailto:mic...@gmail.com> 31. August 2016 um 09:59 I have never noticed the setup \setupfloatcaption before, but I think you have to add a top/middle/bottom or so to the outermargin, like The vertical position can be controlled by low, middle or high because top and

Re: [NTG-context] Strange behavior with \definelabel[][] in context standalone

2016-08-29 Thread Fabrice Couvreur
### > > Keep your examples minimal, the custom frame isn’t necessary, the table > can be shorter (the setups can be removed as well) and the conversionset > isn’t necessary. > > \defineframed > [FRAME] > [frame=off, >offset=0pt, >location=low, >

Re: [NTG-context] Strange behavior with \definelabel[][] in context standalone

2016-08-29 Thread Wolfgang Schuster
et=0pt, location=low, width=\struttotal, background=color, backgroundcolor=darkred, foregroundcolor=white, forgroundstyle=bold] \defineprocessor[ACPROCESSOR][command=\FRAME] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] \startsetups[table:initialize] \setupTABLE[start]

[NTG-context] Strange behavior with \definelabel[][] in context standalone

2016-08-29 Thread Fabrice Couvreur
Hello, I noticed a problem with standalone context and not with texlive 2016 2 Question 3 Question instead of 1 Question 2 Question Thanks fabrice \defineframed [FRAME] [frame=off, offset=0pt, location=low, width

[NTG-context] Bug with standalone ?

2016-08-26 Thread Fabrice Couvreur
Hello, If I compile the file with context from texlive 2016, no problem. But with context from standalone, I get an error ("tex error on line 1 in file /home/fab/ntg53.tex: ! Missing } inserted") thank you, Fabrice \defineframed [FRAME] [frame=off, offset=0pt, location=low

Re: [NTG-context] caption in margin

2016-08-22 Thread Michael Eidenbenz
self-answering (for the record) rightmargin / leftmargin has to be used in combination with an additional position keyword (low, middle, key), otherwise the caption is missing. I think a default position (low) would be nice in this case. Best Michael this works: \useMPlibrary[dum

Re: [NTG-context] Question about headcommand

2016-07-22 Thread Fabrice Couvreur
;] > > \defineprocessor[ACPROCESSOR][command=\ACFRAME] > \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] > > You can play with the position of the frame and place the number on the > same line as the content: > > \defineframed > [ACFRAME] > [frame=off, >offset=0p

Re: [NTG-context] Question about headcommand

2016-07-22 Thread Wolfgang Schuster
same line as the content: \defineframed [ACFRAME] [frame=off, offset=0pt, location=low, width=\struttotal, background=color, backgroundcolor=red, foregroundcolor=white, forgroundstyle=bold]

Re: [NTG-context] (no subject)

2016-07-18 Thread Fabrice Couvreur
ced on the same baseline as the letter > A, in the example, then you have to tell ConTeXt to place a margin material > right after A, as in > > > A\\ \placerecipe{}{\framed{La vie n'est pas un long fleu||ve tranquille !}} > B \\ C > > and you can play with setupframed

Re: [NTG-context] (no subject)

2016-07-17 Thread Otared Kavian
with setupframed by choosing an option « low » or » high » according to your desire. Best regards: Otared > On 16 Jul 2016, at 23:23, Fabrice Couvreur <fabrice1.couvr...@gmail.com> > wrote: > > Hi Kavian, > Okay, but I do not understand why the top of the framed can not

Re: [NTG-context] (no subject)

2016-07-16 Thread Fabrice Couvreur
etupfloat >[recipe] >[default={rightmargin,none,high}] > > \setupframed > [frame=on, > width=\rightmarginwidth, >align=justify, >offset=2pt, >location=low, >rulethickness=1pt, >framecolor=darkred, >corner=00] > > \showgrid > \show

Re: [NTG-context] (no subject)

2016-07-16 Thread Otared Kavian
] [figure] \setupfloat [recipe] [default={rightmargin,none,high}] \setupframed [frame=on, width=\rightmarginwidth, align=justify, offset=2pt, location=low, rulethickness=1pt, framecolor=darkred, corner=00] \showgrid \showframe \starttext A\\ B \\ C \placerecipe

Re: [NTG-context] (no subject)

2016-07-15 Thread Fabrice Couvreur
[recipe] [figure] \setupfloat [recipe] [default={rightmargin,none}] \setupframed [frame=on, width=\rightmarginwidth, align=justify, offset=2pt, location=low, rulethickness=1pt, framecolor=darkred, corner=00] \starttext \showframe A\\A\\A \placerecipe{}{\framed{La

Re: [NTG-context] (no subject)

2016-07-15 Thread Otared Kavian
>[default={rightmargin,none}] > > \setupframed > [frame=on, >width=\rightmarginwidth, >align=flushleft, >location=low, >rulethickness=1pt, >framecolor=blue, >corner=00] > > \starttext > > \showframe > > \placereci

Re: [NTG-context] (no subject)

2016-07-15 Thread Fabrice Couvreur
, rightmargin=5cm] \setupbodyfont[pagella,11pt] \definefloat [recipe] [figure] \setupfloat [recipe] [default={rightmargin,none}] \setupframed [frame=on, width=\rightmarginwidth, align=flushleft, location=low, rulethickness=1pt, framecolor=blue, corner=00] \starttext

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Henri Menke
gt;>>>> if needed)«? I'm not quite sure what it means and it suggests that >>>>>>> there exists a proper solution to my color problem. >>>>>> >>>>>> normally you want the same colors in tikz images as in context so >>>>>&

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Hans Hagen
to pursuade pgfplot maintainers to use low level tikz interface, since tikz is already playing nice with context). \usemodule[tikz,pgfplots] \definecolor[red][g=1] \startmode[bug] \unprotect \pgfutil@definecolor{red} {rgb} {0,1,0} \protect \stopmode \starttext \startTEXpage \starttikzpicture

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Henri Menke
uch redefinitions, tikz does not understand ConTeXt >>> colors. I use a similar workaround in my documents as well. >> >> I have no clue what you mean. >> >> \definecolor[red][g=1] >> >> \startTEXpage >> \starttikzpicture >>\fill[red

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