[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
stofsynonyms Command/ completeregister Command/ copylabeltext Command/ ctxfunction Command/ ctxfunctiondefinition Command/ currentlabel Command/ delimitedtext Command/ description Command/ enumeration Command/ fence Command/ fraction Command/ framed Command/ framedtext Command/ getbuffer Command/ hbox Command

[NTG-context] Re: textbackground spacing offset

2024-01-31 Thread Marco Patzer
On Wed, 31 Jan 2024 19:41:02 +0100 Hans Hagen wrote: > >> How do it get the same spacing as in the framedtext case? > > > > Is there a solution to this? Or an explanation why the spacing > > differs? > these are fundamentally different mechanisms ..

[NTG-context] Re: textbackground spacing offset

2024-01-31 Thread Hans Hagen
\framed{Foo} \stopframedtext \starttextbackground \framed{Foo} \stoptextbackground \stoptext How do it get the same spacing as in the framedtext case? Is there a solution to this? Or an explanation why the spacing differs? these are fundamentally different mechanisms .. you can play

[NTG-context] Re: textbackground spacing offset

2024-01-31 Thread Marco Patzer
> \starttext > \startframedtext > \framed{Foo} > \stopframedtext > \starttextbackground > \framed{Foo} > \stoptextbackground > \stoptext > > How do it get the same spacing as in the framedtext case

[NTG-context] Re: About framedtext

2023-12-13 Thread Alan Braslau via ntg-context
On Wed, 13 Dec 2023 18:55:34 +0100 Wolfgang Schuster wrote: > This was added a few years ago (AFAIR to provide something similar to > the TikZ color command). You actually mean similar to the MetaPost color command. Alan ;-)

[NTG-context] Re: About framedtext

2023-12-13 Thread Henning Hraban Ramm
Am 13.12.23 um 18:55 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 13.12.2023 um 18:19: Am 13.12.23 um 19:03 schrieb Fabrice Couvreur: Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. Thanks Fabrice   

[NTG-context] Re: About framedtext

2023-12-13 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 13.12.2023 um 18:19: Am 13.12.23 um 19:03 schrieb Fabrice Couvreur: Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. Thanks Fabrice    \definecolor[ColorA][0.8(white)]   

[NTG-context] Re: About framedtext

2023-12-13 Thread Henning Hraban Ramm
Am 13.12.23 um 18:19 schrieb Wolfgang Schuster: Fabrice Couvreur schrieb am 13.12.2023 um 19:03: Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. There is a problem with the corner option, you can either hope it gets fixed in the next release

[NTG-context] Re: About framedtext

2023-12-13 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 13.12.2023 um 19:03: Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. There is a problem with the corner option, you can either hope it gets fixed in the next release (corner=round still works) or create your own

[NTG-context] Re: About framedtext

2023-12-13 Thread Henning Hraban Ramm
Am 13.12.23 um 19:03 schrieb Fabrice Couvreur: Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. Thanks Fabrice   \definecolor[ColorA][0.8(white)]   \definecolor[MyColorA][.75(MyColorB,white)] I never saw this syntax in ConTeXt. That doesn’t

[NTG-context] About framedtext

2023-12-13 Thread Fabrice Couvreur
[MyColorA][.75(MyColorB,white)] \defineframed [FrameTitle] [frame=off, foregroundstyle=\bfx\ss, foregroundcolor=white, background=color, backgroundcolor=MyColorD, location=depth] \defineframedtext [FramedText] [offset=0.25em, style=\ss

[NTG-context] textbackground spacing offset

2023-11-16 Thread Marco Patzer
it get the same spacing as in the framedtext case? The textbackground has a small gap between the inner and outer frame at the top and a larger gab at the bottom. I'm not concerned with horizontal spacing here. Marco LMTX 2023.09.04 19:15

[NTG-context] Re: empty line before typebuffer

2023-07-30 Thread Henning Hraban Ramm
Am 30.07.23 um 21:22 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 30.07.2023 um 21:14: Yet another issue: \typebuffer always starts with a blank line. Is this a bug, or how can I disable it? Hraban MWE: """ \starttext \startbuffer \samplefile{tufte} \stopbuff

[NTG-context] Re: empty line before typebuffer

2023-07-30 Thread Jacob Kauffmann via ntg-context
It comes from framedtext: \starttext \startbuffer \samplefile{tufte} \stopbuffer \framedtext[strut=no]{\typebuffer[option=tex]} \stoptext Best, Jacob > Am 30.07.2023 um 21:14 schrieb Henning Hraban Ramm : > > Yet another issue: > > \typebuffer always starts wi

[NTG-context] Re: empty line before typebuffer

2023-07-30 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 30.07.2023 um 21:14: Yet another issue: \typebuffer always starts with a blank line. Is this a bug, or how can I disable it? Hraban MWE: """ \starttext \startbuffer \samplefile{tufte} \stopbuffer \framedtext{\typebuffer[option=t

[NTG-context] empty line before typebuffer

2023-07-30 Thread Henning Hraban Ramm
Yet another issue: \typebuffer always starts with a blank line. Is this a bug, or how can I disable it? Hraban MWE: """ \starttext \startbuffer \samplefile{tufte} \stopbuffer \framedtext{\typebuffer[option=t

Re: [NTG-context] \placeinitial doesn't work inside \framedtext (or \framed)

2023-05-16 Thread 李延瑞
Gerben Wierda via ntg-context 于2023年5月17日周三 06:42写道: > I did a simple thing, replace a \framed by \framedtext to get > \placeinitial working but that doesn't seem to work automatically: > > %== > \starttext > \setupinitial[n=2,text=Knuth]\placei

[NTG-context] \placeinitial doesn't work inside \framedtext (or \framed)

2023-05-16 Thread Gerben Wierda via ntg-context
I did a simple thing, replace a \framed by \framedtext to get \placeinitial working but that doesn't seem to work automatically: %== \starttext \setupinitial[n=2,text=Knuth]\placeinitial\input knuth \framed[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial

Re: [NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Aditya Mahajan via ntg-context
nd=color, > > width=0.95\textwidth, > > backgroundcolor=gbackground] > > > > However, there does not seem a possibility to define a title and it > > seems to not work on multiple pages. > > > > Is there a mix

Re: [NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Henning Hraban Ramm via ntg-context
offset=5pt, background=color, width=0.95\textwidth, backgroundcolor=gbackground] However, there does not seem a possibility to define a title and it seems to not work on multiple pages. Is there a mix of an enumeration and framedtex

[NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Gerion Entrup via ntg-context
ound=color, width=0.95\textwidth, backgroundcolor=gbackground] However, there does not seem a possibility to define a title and it seems to not work on multiple pages. Is there a mix of an enumeration and framedtext that can produce something like in the attached picture? Be

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
=no,     conversion=Romannumerals,     style={\bf\WORDS},     align=middle,     command=\MySection, ] \starttext \startsection[title={First section}] this is the text \stopsection \stoptext Have you tried it with \framedtext in the place of \framed ? -- Alexandre Leray +32 487 947 030 Avez-vous pensé à

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
=no,     conversion=Romannumerals,     style={\bf\WORDS},     align=middle,     command=\MySection, ] \starttext \startsection[title={First section}] this is the text \stopsection \stoptext Have you tried it with \framedtext in the place of \framed ? -- Rik

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
=no,     conversion=Romannumerals,     style={\bf\WORDS},     align=middle,     command=\MySection, ] \starttext \startsection[title={First section}] this is the text \stopsection \stoptext Have you tried it with \framedtext in the place of \framed ? -- Rik

Re: [NTG-context] Problem using \scale

2023-02-09 Thread Henning Hraban Ramm via ntg-context
\startbuffer[address] Name \crlf Address 1 \crlf A long line that wraps \crlf Town \crlf Postcode \stopbuffer \framed[width=3cm,align=flushleft]{\getbuffer[address]} \framed[width=3cm,align=flushleft]{\scale[factor=fit]{\getbuffer[address]}} \stoptext Did you try \framedtext instead of \framed

Re: [NTG-context] startTEXpage on A4

2022-10-10 Thread Willi Egger via ntg-context
; \stopuniqueMPgraphic \framedtext [height=fit, align={lohi,center}, background=Cutpointstight, foregroundcolor=black, frame=off, offset=3pt] {{\tfa HALITGARII EPISCOPI \blank[small] De vitiis et virtutibus \blank[small

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread śrīrāma via ntg-context
finehspace[tnumber][0.5em] \startsetups [fheader] \startframed[width=max,frame=off] \startoverlay {\leftaligned{\framedtext[location=top,frame=off,width=fit,offset=0ex]{„ДОЛИНА” Д.О.О. Београд\\ ПЈ за прераду меса\\ ПИБ: СР 100029284\\ МБ: 06434517\\ Текући рачун: 205-15795

Re: [NTG-context] issue with framed texts

2022-04-25 Thread Wolfgang Schuster via ntg-context
it. \startframedtext allow the following four keywords for the first optional argument     - left     - middle     - right     - none These four keywords can be used to control the horizontal alignment of the frame but they aren't framedtext instances. Wolfgang

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-08 Thread Thangalin via ntg-context
I certainly can't claim credit for the speech bubbles! https://wiki.contextgarden.net/index.php?title=Speech_bubble https://mailman.ntg.nl/pipermail/ntg-context/2011/056496.html I modified Wolfgang's code to provide a control for the tail, and, thanks to Pablo, a decent font for embedding

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-08 Thread Henning Hraban Ramm via ntg-context
Am 08.04.22 um 02:25 schrieb Thangalin via ntg-context: Works flawlessly, thank you! Here's a demo with left and right speech bubbles: Thank you for the speech bubbles! This is something I need for the messenger chats in my novel. Will be a good learning experience to adapt your solution to

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-07 Thread Thangalin via ntg-context
Works flawlessly, thank you! Here's a demo with left and right speech bubbles: \definefont [TextFontEmoji] [OpenSansEmoji] \startuseMPgraphic{TextBubble}{side} z1 = (0, 0) ; z2 = (OverlayWidth, 0) ; z3 = (OverlayWidth, OverlayHeight) ; z4 = (0, OverlayHeight) ; offset := 1 ; tail

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-07 Thread Pablo Rodriguez via ntg-context
On 4/7/22 19:50, Thangalin via ntg-context wrote: > Appreciated, Pablo. >> The output remains unjustified: > > https://i.ibb.co/dM9LFWZ/future-human.png > > $ find /usr/share/fonts/ -name "*Emoj*" > /usr/share/fonts/emoji/OpenSansEmoji.otf Sorry, I gave you the wrong direction. The OTF version

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-07 Thread Thangalin via ntg-context
Appreciated, Pablo. The output remains unjustified: https://i.ibb.co/dM9LFWZ/future-human.png $ find /usr/share/fonts/ -name "*Emoj*" /usr/share/fonts/emoji/OpenSansEmoji.otf $ context --version mtx-context | current version: 2022.04.01 09:37 $ cat ~/bin/fontcache #!/usr/bin/env bash

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-05 Thread Pablo Rodriguez via ntg-context
On 4/5/22 03:16, Thangalin via ntg-context wrote: >> The font is too old, but the TTF version works just fine on both Linux >> and Windows. > > No dice with LMTX 2022.04.01 09:37 and the TTF file. Using the TTF, > the emojis don't appear, but the text is justified. Using the OTF, the > emojis

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-04 Thread Thangalin via ntg-context
> The font is too old, but the TTF version works just fine on both Linux > and Windows. No dice with LMTX 2022.04.01 09:37 and the TTF file. Using the TTF, the emojis don't appear, but the text is justified. Using the OTF, the emojis appear, but the text is unjustified. What version of ConTeXt

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-04 Thread Pablo Rodriguez via ntg-context
On 4/4/22 08:40, Henning Hraban Ramm via ntg-context wrote: > Am 04.04.22 um 01:21 schrieb Thangalin via ntg-context: >> [...] >> The .otf file is from: >> >> https://github.com/MorbZ/OpenSansEmoji > > That’s 9 years old. The linked resources were updated later and are > still outdated. There must

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-04 Thread Thangalin via ntg-context
Hi again, > > The .otf file is from: > > https://github.com/MorbZ/OpenSansEmoji > > That’s 9 years old. The linked resources were updated later and are > still outdated. There must be a better Emoji font out there? You would think so. I haven't found any that are free for personal/commercial,

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-04 Thread Henning Hraban Ramm via ntg-context
doesn't justify, so \framedtext is a red herring. The .otf file is from: https://github.com/MorbZ/OpenSansEmoji That’s 9 years old. The linked resources were updated later and are still outdated. There must be a better Emoji font out there? Hraban

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-03 Thread Thangalin via ntg-context
Confirmed there is a font issue with LMTX. $ context --version mtx-context | current version: 2022.04.01 09:37 The issue was also present with version 2021.11.30. > Are you sure it's not a tolerance issue? Pablo's example also doesn't justify, so \framedtext is a red herring. The .

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-03 Thread Pablo Rodriguez via ntg-context
On 4/3/22 02:36, Thangalin via ntg-context wrote: > Hi all, > [...] > How would you ensure that both text areas remain fully justified? I think (at least) LMTX has an issue with the font: \definefontfamily [TextEmoji] [rm] [OpenSansEmoji] \setupbodyfont [TextEmoji] \starttext \input

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-03 Thread Marco Patzer via ntg-context
ith other fonts, framedtext justifies the text here. Are you sure it's not a tolerance issue? Frames don't inherit the tolerance from the main environment¹. Try with \setupframedtext [align=verytolerant] %% [align={verytolerant, stretch}] Marco ¹ https://wiki.contextgarden.

[NTG-context] Switching fonts changes framedtext justification

2022-04-02 Thread Thangalin via ntg-context
Hi all, The following code produces framed text areas, each having different justification: \definefont [TextFontEmoji] [OpenSansEmoji] \definefontfamily [TextFont] [rm] [LibreBaskerville] \setupbodyfont [TextFont] \starttext \startframedtext \TextFontEmoji \input ward

[NTG-context] Placement of floats

2022-01-13 Thread Willi Egger via ntg-context
Hi all, here follows the compilation of the example-file, this time I replaced the dummy-figure with a simple \framedtext in order to comply with the 100kB rule of the mailing-list. I added a black line at the bottom with “Preview” on Mac OSX test-placefigures.pdf Description: Adobe PDF

Re: [NTG-context] Conditional text appearing in a fixed vertical space

2022-01-12 Thread fv leung via ntg-context
oaches, I learned three times more > than I was expecting. This has been a great help. I will probably use the > framedtext method, but I learned something from each. > > Gavin > > > > On Jan 11, 2022, at 4:44 PM, Aditya Mahajan wrote: > > > > On Tue, 11 Jan 2022

Re: [NTG-context] Conditional text appearing in a fixed vertical space

2022-01-12 Thread Gavin via ntg-context
Thanks Fabrice and Aditya! With three completely different approaches, I learned three times more than I was expecting. This has been a great help. I will probably use the framedtext method, but I learned something from each. Gavin > On Jan 11, 2022, at 4:44 PM, Aditya Mahajan wr

Re: [NTG-context] Conditional text appearing in a fixed vertical space

2022-01-11 Thread Aditya Mahajan via ntg-context
solution which is the same whether > or not the solution is printed. Different problems require different amounts > of space, so this should be an argument or key-value. This is how I would do it: piggyback on framedtext. Note that framedtext doesn't break across pages. So, if you have long

Re: [NTG-context] Extra shift with ornament

2021-12-17 Thread Mikael Sundqvist via ntg-context
> \starttext > > \startframedtext[width=\textwidth,height=2cm]foo\stopframedtext > > > > \MyOrn{bar}{\startframedtext[width=\textwidth,height=2cm]foo\stopframedtext} > > \stoptext > framedtext is more for text flow so you get some interferences > > \MyOrn >{ba

Re: [NTG-context] Extra shift with ornament

2021-12-17 Thread Hans Hagen via ntg-context
}, alternative=b, ][ frame=off, ] \showframe \starttext \startframedtext[width=\textwidth,height=2cm]foo\stopframedtext \MyOrn{bar}{\startframedtext[width=\textwidth,height=2cm]foo\stopframedtext} \stoptext framedtext is more for text flow so you get some interferences \MyOrn {bar

Re: [NTG-context] double underbars

2021-11-30 Thread Aditya Mahajan via ntg-context
ave that > option at all. There are backgroundoffset and frameoffset in framedtext ... not sure if they are inherited in text backgrounds. Or you can defining everything in metapost (but that may lose composability). https://tex.stackexch

Re: [NTG-context] Space before/after combinations + centring

2021-11-17 Thread Hans Hagen via ntg-context
reliable way to center you combination blocks is to put them either in a float or put a framedtext environment around it. The project comprises several hundred source files. That's why I stayed away from rewriting the sources in the first place. I'll try to bulk-change the sources. combinations

Re: [NTG-context] Space before/after combinations + centring

2021-11-17 Thread Marco Patzer via ntg-context
tion blocks is to put > them either in a float or put a framedtext environment around it. The project comprises several hundred source files. That's why I stayed away from rewriting the sources in the first place. I'll try to bulk-change the sources. Thanks for y

Re: [NTG-context] Space before/after combinations + centring

2021-11-17 Thread Wolfgang Schuster via ntg-context
at the lowlevel security manual for this feature). The most reliable way to center you combination blocks is to put them either in a float or put a framedtext environment around it. Wolfgang ___ If your question is of interest

Re: [NTG-context] Framedtext : text out of frame

2021-09-26 Thread Hans Hagen via ntg-context
des           fonctions de \m{z}.         \stopitem\par         \startitem           Une fonction de variable est           donc aussi une quantité variable.         \stopitem\par       \stopitemize     \stopframedtext \stoptext1 columns and framedtext etc kind of interfere here so the solution space bec

[NTG-context] Framedtext : text out of frame

2021-09-26 Thread Fabrice Couvreur via ntg-context
Hi, How to fix the small problem in the code below where the text goes out of the frame ? Thanks Fabrice \usecolors[x11] \starttext \startframedtext[frame=off,width=\textwidth, align={broad,right},indenting={yes},background=color,backgroundcolor=navajowhite1]

Re: [NTG-context] Vertical offset in framedtext has changed

2021-08-12 Thread Christoph Reller via ntg-context
On Mon, Aug 9, 2021 at 6:32 AM Christoph Reller wrote: > Somewhere between versions 2021-07-06 and 2021-07-30 the vertical > top-offset in framedtext has changed. Consider the MWE: > \starttext > \startframedtext > Bla > \stopframedtext > \stoptext > [...] > Is this

[NTG-context] Vertical offset in framedtext has changed

2021-08-08 Thread Christoph Reller via ntg-context
Hi, Somewhere between versions 2021-07-06 and 2021-07-30 the vertical top-offset in framedtext has changed. Consider the MWE: \starttext \startframedtext Bla \stopframedtext \stoptext Output 2021-07-06: [image: FramedText-ConTeXt-2021-07-06.png] Output 2021-07-30 (and later): [image

Re: [NTG-context] footnote not appearing

2021-07-28 Thread jbf via ntg-context
: Is there any reason why the following MWE does not produce the footnote at the bottom of the page? It seems like the use of framedtext is preventing it, but am not sure why. Can I get around this problem and still have framed text? Julian \setupframed[location=middle] \startframedtext[width=.77

Re: [NTG-context] footnote not appearing

2021-07-28 Thread Hans Hagen via ntg-context
Julian On 27/7/21 7:42 pm, Henning Hraban Ramm via ntg-context wrote: Am 27.07.2021 um 06:07 schrieb jbf via ntg-context : Is there any reason why the following MWE does not produce the footnote at the bottom of the page? It seems like the use of framedtext is preventing it, but am not sure

Re: [NTG-context] footnote not appearing

2021-07-27 Thread jbf via ntg-context
Hraban Ramm via ntg-context wrote: Am 27.07.2021 um 06:07 schrieb jbf via ntg-context : Is there any reason why the following MWE does not produce the footnote at the bottom of the page? It seems like the use of framedtext is preventing it, but am not sure why. Can I get around this problem

Re: [NTG-context] footnote not appearing

2021-07-27 Thread Henning Hraban Ramm via ntg-context
> Am 27.07.2021 um 06:07 schrieb jbf via ntg-context : > > Is there any reason why the following MWE does not produce the footnote at > the bottom of the page? It seems like the use of framedtext is preventing it, > but am not sure why. Can I get around this problem and still h

[NTG-context] footnote not appearing

2021-07-26 Thread jbf via ntg-context
Is there any reason why the following MWE does not produce the footnote at the bottom of the page? It seems like the use of framedtext is preventing it, but am not sure why. Can I get around this problem and still have framed text? Julian \setupframed[location=middle] \startframedtext[width

[NTG-context] Problem with chapter numbering

2021-07-13 Thread Fabrice Couvreur
. Thanks. Fabrice ### \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784] \defineframedtext [FramedText] [ offset=0.6em, style=, toffset=\lineheight, background=color, backgroundcolor

Re: [NTG-context] Header for a book

2021-07-13 Thread Fabrice Couvreur
Hi, My first solution is incorrect ; with the second solution, I don't understand why the first chapter is not numbered while the second is with number 1. Thanks. Fabrice \unexpanded\def\HeadTitle#1#2% { \FramedText{{\cap\labeltext{chapter}}\space#1 \\ \bfc#2} } \unexpanded

[NTG-context] Header for a book

2021-07-12 Thread Fabrice Couvreur
in the body of the text. Thanks for your help. Fabrice \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784] \defineframedtext [FramedText] [ offset=0.6em, style=, toffset=\lineheight, background=color, backgroundcolor=MyColorA

Re: [NTG-context] keep text strictly inside box

2021-06-07 Thread Wolfgang Schuster
Hans van der Meer schrieb am 07.06.2021 um 22:57: As can be seen in this screenshot, the text overshoots on the right side the boundary of the fairly narrow \framedtext. My intent is to not hyphenate the names, even if that means a ragged edge on the right side. But at the same time the text

[NTG-context] keep text strictly inside box

2021-06-07 Thread Hans van der Meer
As can be seen in this screenshot, the text overshoots on the right side the boundary of the fairly narrow \framedtext. My intent is to not hyphenate the names, even if that means a ragged edge on the right side. But at the same time the text must absolutely stay within the confines

Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-14 Thread Jeong Dal
Dear Hans, Thank you for your answer. > > \framedtext[empty=yes] > Yes, it clears everything in the frame. But the frame is also clean when I disable \hideSolution. In that case, texts should be appeared. What I want is the following: If \hideSolution then hide text and

Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-13 Thread Hans Hagen
}{\stopeffect\blank[5cm]}} %\enablemode[hideSolution] \starttext \framed[]{This is what I want:} \framedtext[]{ \StartHide \samplefile{knuth} Overbar is not \overbar{hidden}. {\processMPbuffer[circles]} \StopHide } \stoptext In your case it's easier than you mightt think: \framedtext[empty=yes

[NTG-context] add more blank space when using \starteffect[hidden]

2021-03-12 Thread Jeong Dal
[hideSolution] \starttext \framed[]{This is what I want:} \framedtext[]{ \StartHide \samplefile{knuth} Overbar is not \overbar{hidden}. {\processMPbuffer[circles]} \StopHide } \stoptext ___ If your

Re: [NTG-context] framedtext is (still) broken in LMTX

2020-11-30 Thread Rik Kabel
On 11/30/2020 15:05, Wolfgang Schuster wrote: Rik Kabel schrieb am 30.11.2020 um 18:15: On 11/29/2020 17:15, Hans Hagen wrote: On 11/29/2020 10:33 PM, Rik Kabel wrote: With ConTeXt  ver: 2020.11.28 13:18 LMTX  fmt: 2020.11.29 the *\framedtext* output is consistently *0.8\textwidth*. MkiV

Re: [NTG-context] framedtext is (still) broken in LMTX

2020-11-30 Thread Wolfgang Schuster
Rik Kabel schrieb am 30.11.2020 um 18:15: On 11/29/2020 17:15, Hans Hagen wrote: On 11/29/2020 10:33 PM, Rik Kabel wrote: With ConTeXt  ver: 2020.11.28 13:18 LMTX fmt: 2020.11.29 the *\framedtext* output is consistently *0.8\textwidth*. MkiV gives the expected result.     \starttext

Re: [NTG-context] framedtext is (still) broken in LMTX

2020-11-30 Thread Rik Kabel
On 11/29/2020 17:15, Hans Hagen wrote: On 11/29/2020 10:33 PM, Rik Kabel wrote: With ConTeXt  ver: 2020.11.28 13:18 LMTX fmt: 2020.11.29 the *\framedtext* output is consistently *0.8\textwidth*. MkiV gives the expected result.     \starttext     \framedtext{Fail}\par     \framedtext[width

Re: [NTG-context] framedtext is (still) broken in LMTX

2020-11-29 Thread Hans Hagen
On 11/29/2020 10:33 PM, Rik Kabel wrote: With ConTeXt  ver: 2020.11.28 13:18 LMTX  fmt: 2020.11.29 the *\framedtext* output is consistently *0.8\textwidth*. MkiV gives the expected result. \starttext \framedtext{Fail}\par \framedtext[width=fit]{Fail}\par \framedtext[width=3cm

[NTG-context] framedtext is (still) broken in LMTX

2020-11-29 Thread Rik Kabel
With ConTeXt  ver: 2020.11.28 13:18 LMTX  fmt: 2020.11.29 the *\framedtext* output is consistently *0.8\textwidth*. MkiV gives the expected result. \starttext \framedtext{Fail}\par \framedtext[width=fit]{Fail}\par \framedtext[width=3cm]{Fail}\par \framedtext[width=0.8\textwidth

Re: [NTG-context] Another LMTX small issue

2020-11-25 Thread Hans Hagen
On 11/25/2020 2:42 PM, Rik Kabel wrote: The following code generates an error message in the log under LMTX 2020.11.24 19:02 but compilation continues with no apparent issue. \starttext \framedtext{abc} \stoptext should be ok in next upload (later today

[NTG-context] Another LMTX small issue

2020-11-25 Thread Rik Kabel
The following code generates an error message in the log under LMTX 2020.11.24 19:02 but compilation continues with no apparent issue. \starttext \framedtext{abc} \stoptext -- Rik ___ If your question

Re: [NTG-context] problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity")

2020-09-09 Thread Rudd, Kevin
or larger structured posters) based on TABLE. But I'd settle for 2x2 at the moment; at one point I'd thought of 2x2+1 having a spanning block for publication references per slide but decided a separate publications slide was a better idea visualy.. If they have to see an end command, would before/af

Re: [NTG-context] problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity")

2020-09-09 Thread Rudd, Kevin
ter idea visualy.. If they have to see an end command, would before/after tags work around a framedtext or buffer structure? 1. 2x2 panes, layout order not important, all panes independent; no flow (like Framemaker used to do) requiredbetween panes. 2. was going to have inner frames (i.e. + fr

Re: [NTG-context] problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity")

2020-09-08 Thread Wolfgang Schuster
sed on TABLE. But I'd settle for 2x2 at the moment; at one point I'd thought of 2x2+1 having a spanning block for publication references per slide but decided a separate publications slide was a better idea visualy.. If they have to see an end command, would before/after tags work around a framedt

Re: [NTG-context] problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity")

2020-09-08 Thread Rudd, Kevin
ent; at one point I'd thought of 2x2+1 having a spanning block for publication references per slide but decided a separate publications slide was a better idea visualy.. If they have to see an end command, would before/after tags work around a framedtext or buffer structure? 1. 2x2 panes, lay

Re: [NTG-context] problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity")

2020-09-08 Thread Wolfgang Schuster
Rudd, Kevin schrieb am 08.09.2020 um 19:50: I have a number of slides using \...framedtext blocks to break the slides into panes within a TABLE environment (TMI: not in MWE; merely my justification for writing the wrapper macros). When the TABLE macros are invoked explicitly it all works fine

[NTG-context] problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity")

2020-09-08 Thread Rudd, Kevin
I have a number of slides using \...framedtext blocks to break the slides into panes within a TABLE environment (TMI: not in MWE; merely my justification for writing the wrapper macros). When the TABLE macros are invoked explicitly it all works fine and produces a suitable single-cell table

[NTG-context] Two questions about color in MetaFun

2020-08-13 Thread Jairo A. del Rio
something interesting happens. The following: \setuplayout[width=middle] \setuppagenumbering[state=stop] \setuppapersize[A10,landscape][A10,landscape] \starttext \startuseMPgraphic{cornystuff} draw outlinetext.f ("\framedtext[frame=off,width=fit,align=middle]{I love you \\ \CONTEXT}") %\CONTEXT

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Wolfgang Schuster
Tommaso Gordini schrieb am 02.07.2020 um 16:48: Taco, this works! Thank you! Now (last question), it's possibile to centering in the middle of the page the whole verse block ? You can use the framedtext environment but the content can no longer split across pages. \starttext

[NTG-context] Using \defineoverlay for a framed text

2020-06-16 Thread Willi Egger
]{\useMPgraphic{Markings}} \setupframed[background=Marks] \setupframedtexts [frame=on, background=Marks] \starttext \framedtext{Hello World!} \blank \framed{Hello World!} \stoptext What is wrong with this code? Kind regards Willi

Re: [NTG-context] \startplacefigure and \startframedtext in lmtx

2020-06-10 Thread mf
ward.tex \stopframedtext \stoptext %% end figure-framedtext.tex In the above example the fix is to add \dontleavehmode between the figue and the framedtext. If one comments out that line then the issue can be seen. Thanks in advance for any help: Otared K. can others confirm

Re: [NTG-context] \startplacefigure and \startframedtext in lmtx

2020-06-10 Thread Wolfgang Schuster
ward.tex \stopframedtext \stoptext %% end figure-framedtext.tex In the above example the fix is to add \dontleavehmode between the figue and the framedtext. If one comments out that line then the issue can be seen. Thanks in advance for any help: Otared K. can others confirm

Re: [NTG-context] \startplacefigure and \startframedtext in lmtx

2020-06-10 Thread Hans Hagen
figure-framedtext.tex In the above example the fix is to add \dontleavehmode between the figue and the framedtext. If one comments out that line then the issue can be seen. Thanks in advance for any help: Otared K. can others confirm this This is LuaMetaTeX, Version 2.06.07 system

Re: [NTG-context] \startplacefigure and \startframedtext in lmtx

2020-06-10 Thread Otared Kavian
medtext[frame=off] > \input ward.tex > \stopframedtext > \stoptext > %% end figure-framedtext.tex > > In the above example the fix is to add \dontleavehmode between the figue and > the framedtext. If one com

[NTG-context] \startplacefigure and \startframedtext in lmtx

2020-06-09 Thread Otared Kavian
example the fix is to add \dontleavehmode between the figue and the framedtext. If one comments out that line then the issue can be seen. Thanks in advance for any help: Otared K. ___ If your question is of interest

Re: [NTG-context] MKIV to LMTX (enumerations)

2020-05-31 Thread Hans Hagen
On 5/31/2020 10:59 AM, Wolfgang Schuster wrote: There is nothing you can do here except waiting for a fix but I noticed the location key for framedtext has a not existing value (no paragraph option exists) in your example. Indeed an engine issue. Fixed in next upload. Hans

Re: [NTG-context] MKIV to LMTX (enumerations)

2020-05-31 Thread Wolfgang Schuster
I have with enumerations. The spacing between them in LMTX is notoriously smaller than in MKIV. No, it's a problem with framedtext which uses the wrong placement option and ignores the before/after values. I bet there is a parameter I can set to tweak that? Below is a MWE with output for both

Re: [NTG-context] long caption in 2-page spread

2020-05-07 Thread jbf
lengthy caption}}} but this results in the first part of the caption properly located left-flushed on the verso page, and the other part right-flushed (and to the right of the figure, so running off the page) on the recto page. The second solution is title={\framedtext[width=\textwidth,frame=off

Re: [NTG-context] long caption in 2-page spread

2020-05-05 Thread Henning Hraban Ramm
ges > with appropriate space inbetween? I tried various combinations, including an > \hfill halfway through the title, but to no avail. Perhaps this is asking too > much, but there may be a workaround. I guess you need something like title={\hbox to \textwidth{\vbox{Your lengthy caption}}}

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
>> >> But inside a \framed[align=]{} the empty line disappears. How do I get it >> back? > > Try \framedtext instead; multi line text needs a \vbox, and \framedtext does > that. (If I understood correctly.) >

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Henning Hraban Ramm
> Am 30.04.2020 um 22:47 schrieb Gerben Wierda : > > In normal TeX, when I type > > AapAap > > I get something like > > Aap > > Aap > > But inside a \framed[align=]{} the empty line disappears. How do I get it > back? Try \framedt

Re: [NTG-context] Background color of a framedtext that covers floats

2020-04-08 Thread Pablo Rodriguez
On 4/8/20 11:32 AM, Fabrice Couvreur wrote: > [...] > \startframedtext[width=max,background=color,backgroundcolor=fondpaille] >      \starthanging[location=right] >          {\startMPcode >           draw unitsquare scaled 2cm ; >           \stopMPcode} >      \input tufte >      \stophanging >

Re: [NTG-context] Background color of a framedtext that covers floats

2020-04-08 Thread Fabrice Couvreur
Hi Pablo, Here a sample. Fabrice \useMPlibrary[dum] \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \starttext \startframedtext[width=max,background=color,backgroundcolor=fondpaille] \starthanging[location=right] {\startMPcode draw unitsquare scaled 2cm ;

Re: [NTG-context] Background color of a framedtext that covers floats

2020-04-08 Thread Pablo Rodriguez
On 4/8/20 10:19 AM, Fabrice Couvreur wrote: > Hi, > Is there a more elegant way to have a white background for the table? Hi Fabrice, I think not including the table in the framed text is the easiest way to avoid the colored background. Or why do you need the table inside the framed text, which

[NTG-context] Background color of a framedtext that covers floats

2020-04-08 Thread Fabrice Couvreur
Hi, Is there a more elegant way to have a white background for the table ? In fact, my question is more general : if we insert an image, the background color envelops this image : how to solve this problem ? Thank you. Fabrice \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \starttext

  1   2   3   4   5   >