Hi all,
I have a lengthy text that I wish to seamlessly incorporate using the
\input{mytext} command in ConTeXt.
Additionally, I aim to present it in asymmetrical continuous columns, where the
text flows over several pages.
I have tried paragraphs and columns, but in paragraphs, I can't flow t
hi all.
when i want to put some SVGs in my document the svg does not render properly
here is the code:
\starttext
\startMPcode
draw lmt_svg [
filename = "smile.svg"]
\stopMPcode
\stoptext
also when i look at evenmore manual at page15, for font Abelone-FREE the
gradients has rendered properly
thanks for your reply
yes but i don't have problem with regular svgs but when svgs has gradient
color it does not produce any color in output.
you can see my svg in attachment.
On Tue, Mar 12, 2024 at 9:43 AM Jean-Pierre Delange
wrote:
> Hi !
>
> Did you have a look at this :
>
> https://wiki.
PM, seyal zavira wrote:
> > thanks for your reply
> >
> > yes but i don't have problem with regular svgs but when svgs has
> > gradient color it does not produce any color in output.
> >
> > you can see my svg in attachment.
> svg gets worse and worse (esp the
Thanks you and harban for all your thorough explanation.
On Fri, 15 Mar 2024, 23:11 Hans Hagen via ntg-context,
wrote:
> On 3/13/2024 9:16 AM, Henning Hraban Ramm wrote:
> > Am 12.03.24 um 23:59 schrieb seyal zavira:
> >> You are correct. when i convert this svg to pdf via
hi all,
when i look at luametafun manual there are some intresting examples that can
apply gradient colors to metapost paths.
how i can apply this cool feature to a piece of text?
i tried the code below but it does not produce any result.
\definecolor[Gleft] [h=9f9393]
\definecolor[Gright] [h=f
thank you Harban and Keith McKay.
\startMPpage
> picture tt ; tt := lmt_outline [
> kind = "path",
> text = "\definedfont[name:texgyrepagellabold*default]foo f o o",
> ] ;
>
> fill
> for i within tt : pathpart i && endfor cycle
> withshademet
i want to produce a gradient header
i tried this code but it does not produce any result:
\startext
\def\Mystyle#1{\startMPcode
picture tt ; tt := lmt_outline [
kind = "path",
text = "#1",
] ;
fill
for i within tt : pathpart i && endfor cycle
withshademethod "linear"
ed the codes and pdf results.
On Mon, Apr 8, 2024 at 4:37 AM Hans Hagen wrote:
> On 4/8/2024 8:22 AM, seyal zavira wrote:
> > thank you Harban and Keith McKay.
> >
> > \startMPpage
> >picture tt ; tt := lmt_outline [
> >k
Hi all,
when i want to use the linked font for arabic texts it doesn't render
diacritics properly
i doesn't have problem with this font in inkscape or libreoffice
what featureset should i apply?
font link:
https://drive.google.com/file/d/1hCcv6wqWjd-5GEKnaowh8E8YVbTgGqQr/view?usp=sharing
this i
Of course!
i attached output file before and after applying new patch
On Thu, May 9, 2024 at 9:08 AM Hamid,Idris
wrote:
>
>
> -- Original Message --
> From "Hans Hagen"
> To "ntg-context@ntg.nl"
> Date 5/9/2024 6:29:40 AM
> Subject [NTG-context] Re: rendering arabic diacritics
>
> **
Hi all,
what is the better way to apply a metapost effect to a piece of any structure
text
for example when defining footnotes, frames , etc.
i use this method for frames:
this is my MWE:
\defineframed[Myframe][frame=off]
\starttexdefinition spaces protected Mystyle #1
\startMPcode
pictu
Hi all,
I want to define a command that simulate hashtag behavior in social networks,
In other words, this command should put the hashtag sign at the beginning of
it, replace spaces with dashes and also it should be a clickable link and
unbreakable world.
I mean like this, for example:
\myhasht
Thanks.
What if we want the text to be copied when it is clicked?
I found these link on the stack site for this
https://tex.stackexchange.com/questions/174637/copy-to-clipboard-feature-in-pdf-output/545107#545107
also i defined this:
\def\Hashtag#1{
\hbox{\tfa\ctxlua{
str = "#1"
Hi all,
i want to use tables for constructing poems structure
this snippet of code works well:
\startsetups tablepoem
\setupTABLE[column][each][width=5cm]
\stopsetups
\starttext
\bTABLE[setups=tablepoem]
\bTR \bTD One one ons ksl \eTD \bTD two gfjgfd oski kwo \eTD \eTR
\bTR \bTD One wer s dft
Thanks so much
but what should a person do if he wants to define an equivalent of \eTD?
for example it can be useful for RTL language
such as:
\def\پسل{\eTD}
and as you said this code will not work.
___
If your questio
Thanks so much
i also could define poem structure like this:
Using table method:
\protected\def\PoemStart#1\PoemStop
{\bTABLE[setups=tablepoem]#1\eTABLE}
\protected\def\Beyt#1
{\bTR #1 \eTR}
\protected\def\Misra#1
{\bTD #1 \eTD}
\starttext
\PoemStart
\Beyt{\Misra{the first sentence}
if you don't want to use metapost you can also use svg for background
for example:
\startuniqueMPgraphic{centered_svg}
draw lmt_svg [
filename = "badge.svg",
width = OverlayWidth,
y = OverlayHeight/2, ] ;
\stopuniqueMPgraphic
\defineoverlay
[svgback]
[\useMPgraphic{center
Hi all,
There's a problem when I want to define the note so that it's displayed
according to the size and font of the text:
this MWE change the notation size:
\definenote[Mynote][location=text,before={},]
\setupnote[Mynote]
[location=left,
textcommand=\tfb \raise 0.2ex\hbox,
]
\star
Thanks
sorry for incomplete example
the code below shows the problem better:
\setupinteraction[state=start]
\definenote[Mynote][location=text,before={},]
\setupnote[Mynote]
[location=left,
textcommand={\tfa \raise 0.2ex\hbox},
]
\definefont[highfont][name:ibmplexsansbold*default at 1
Thanks so much
it works great.
___
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/mailman3/lists/ntg-context.ntg.nl
webpage
This is also important
Thanks for your helpful hint.
___
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/mailman3/lists/ntg-c
Also you can use this:
assuming that you have a fixed size figure such as a pdf page:
\definesymbol[Bsymbol][{\scale[width=1.6ex]{\externalfigure[myfile.pdf][page=1]}}]
\define\mysym{\kern 0.2em \symbol[Bsymbol] \kern 0.3em}
\starttext
this is a sample\mysym text.
\tfa{this is a sample\mysym tex
In Emacs, I prefer use pure ConTeXt.
I have attached my Emacs init file. This setup is so satisfying.
You can compile your documents with just C-c c and view them with C-c v.
Also, you don't need to close the PDF after every compile (Evince will
restart the contents after compilation).
In GNOME, yo
24 matches
Mail list logo