[NTG-context] Re: simplify side by side Poems

2024-05-23 Thread seyal . zavira
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

[NTG-context] simplify side by side Poems

2024-05-23 Thread seyal . zavira
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

[NTG-context] Re: defining hashtag simulator

2024-05-20 Thread seyal . zavira
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"

[NTG-context] defining hashtag simulator

2024-05-18 Thread seyal . zavira
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:

[NTG-context] applying style to frame content

2024-05-14 Thread seyal . zavira
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

[NTG-context] Re: rendering arabic diacritics

2024-05-09 Thread seyal zavira
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 > > **

[NTG-context] rendering arabic diacritics

2024-05-09 Thread seyal . zavira
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

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-09 Thread seyal zavira
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

[NTG-context] how to apply metapost effects to section title?

2024-04-09 Thread seyal . zavira
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"

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-08 Thread seyal zavira
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 >

[NTG-context] how to apply gradient color to a piece of text?

2024-04-07 Thread seyal . zavira
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]

[NTG-context] Re: how to include an an svg file?

2024-03-15 Thread seyal zavira
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

[NTG-context] Re: how to include an an svg file?

2024-03-12 Thread seyal zavira
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 i

[NTG-context] Re: how to include an an svg file?

2024-03-12 Thread seyal zavira
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 : > >

[NTG-context] how to include an an svg file?

2024-03-12 Thread seyal . zavira
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

[NTG-context] How to Create Asymmetrical Continuous Columns in ConTeXt?

2024-01-18 Thread seyal . zavira
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