Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-07 Thread Mohammad Hossein Bateni
In ConTeXt, use \definedfont[font-name*arabic] instead of the following two commands: \font\myfont=blah blah \myfont On Fri, Oct 7, 2016 at 11:41 AM, Mingranina Gingranina wrote: > Dear Mohammad, > Hi, > > Thank you very much for your reply. I forgot to mention that I

Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-07 Thread Mingranina Gingranina
Dear Mohammad, Hi, Thank you very much for your reply. I forgot to mention that I had modified the fontsampler codes so that I can use it in ConTeXt with Dabeer module. However, inspired by your reply I could get it to work in LuaTeX but not in ConTeXt with Dabeer module. Are there any

Re: [NTG-context] Recommendations on presentations

2016-10-07 Thread Aditya Mahajan
On Thu, 6 Oct 2016, Jan U. Hasecke wrote: Am 05.10.2016 um 11:15 schrieb Nicola: On 2016-10-05 08:25:03 +, Otared Kavian said: Is it better to simply define the layout from scratch? For me, yes. I have found this step-by-step guide good to start with:

Re: [NTG-context] How do I compile a "flat" pdf?

2016-10-07 Thread Hans Hagen
On 10/7/2016 4:50 PM, Henning Hraban Ramm wrote: The only way to "protect" contents from editing are the password settings. There are free tools to set them, but AFAIK no open source tools except maybe libraries. qpdf and mutools

Re: [NTG-context] How do I compile a "flat" pdf?

2016-10-07 Thread Henning Hraban Ramm
Am 2016-10-07 um 10:39 schrieb Bomber K. : > I am trying to create a pdf which contains some graphics that I created. I > want to pass my PDF digitally but I don't want users to be able to > right-click on a gfx and save it. I think this is called "flattening". No.

Re: [NTG-context] Bug in \usetikzlibrary{datavisualization}?

2016-10-07 Thread Florian Leupold
> On 06.10.16, at 00:27, Hans Hagen wrote: > > On 10/5/2016 9:51 PM, Florian Leupold wrote: >> Dear list, >> >> Sorry for posting a duplicate, but I guess my previous post got lost during >> the conference... >> >> When one tries to load the TikZ data visualization library,

Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-07 Thread Mohammad Hossein Bateni
The following works for me: \input luaotfload.sty \font \myfont = file:HM_XNiloofar.ttf:language=dflt;script=arab;ccmp=yes;init=yes;medi=yes;fina=yes;rlig=yes \myfont Salam \pardir TRT \textdir TRT سلام حسن \bye On Fri, Oct 7, 2016 at 7:19 AM, Mohammad Hossein Bateni wrote:

Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-07 Thread Mohammad Hossein Bateni
I don't know much about fontsampler but the commands you list here are mostly irrelevant. My guess is you will need to set the features in the font to get proper shaping. A good set of features that should do the trick is called "arabic". When loading the font, you should do something like the

[NTG-context] How to use "fontsampler example" with Persian font

2016-10-07 Thread Mingranina Gingranina
Dear All, Hello, I am trying to use "fontsampler example" with Persian fonts (please see below or "http://wiki.luatex.org/index.php/Fontsampler; for fontsampler codes). The problem is that Persian words apears as a string of separate glyphs, for example I get "ح‌س‌ن" instead of "حسن". Do I

[NTG-context] How do I compile a "flat" pdf?

2016-10-07 Thread Bomber K.
Hi guys, I am trying to create a pdf which contains some graphics that I created. I want to pass my PDF digitally but I don't want users to be able to right-click on a gfx and save it. I think this is called "flattening". Is there a way in CTX to create such a file or do I have to recompile

[NTG-context] "marking=one" with marks on more than the first page

2016-10-07 Thread Pablo Rodriguez
Hans, the following sample puts the cut marks on each page: \showframe \setuppapersize[A5][A4] \setuplayout [marking=one, location=middle] \starttext \ctxlua{for i=1,10 do tex.print("\\startpagemakeup\\filterpages[setup-en.pdf][" .. i ..