Re: [NTG-context] ConTeXt garden

2014-07-10 Thread H. Özoguz
Am I the only one not able to connect to ConTeXt garden? No, you are not. Its down. No new adress, afaik. Maybe it will be fixed these days. Huseyin ___ If your question is of interest to others as well, please add

[NTG-context] Stop Hyphenating Across Columns and Page Breaks

2014-07-09 Thread H. Özoguz
Hello, this is still open, maybe its not clear, what the problem ist. I'll try again, my not realistic minexample is this one: \starttext \dorecurse{200}{Aprikosengeschmacksrichtung } \stoptext But what I mean is a feature, which many other typographic programms have, e.g. Adobe Indesign,

Re: [NTG-context] Stop Hyphenating Across Columns and Page Breaks

2014-07-09 Thread H. Özoguz
Adding one information: In TeX \brokenpenalty=1 should do the job. But this is ignored in ConText. In this a bug? Huseyin ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] Prevent hyphenation of the last word on a page

2014-07-05 Thread H. Özoguz
If its not possible at all, a small hint to this fact would help, too. So I could stop to search :) Huseyin ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Prevent hyphenation of the last word on a page

2014-07-02 Thread H. Özoguz
http://article.gmane.org/gmane.comp.tex.context/45001/ Don’t know if luatex has brought any advance here… Thanks Thomas, but \brokenpenalty seems to be simply ignored or overwritten, no effect. See here a minexample: \brokenpenalty 1 \starttext

[NTG-context] Prevent hyphenation of the last word on a page

2014-07-01 Thread H. Özoguz
Hello, how to forbid hyphenation of the last word of page? Such that no word is broken onto two consecutive pages like this: page 1: Diese Unter- page 2: brechung ist unschön. I think the question is clear without minexample. Of course I can use \unhyphenated and things like that, but I

[NTG-context] Lower the title of TOC

2014-05-02 Thread H. Özoguz
Hi, how to lower the TOC-title, s.t. it begins with a greater distance to the top? Here a min-examlpe. \starttext \completecontent \chapter{Blub1} \chapter{Blub2} \stoptext I mean something like: \starttext \strut\blank[2cm] \completecontent \chapter{Blub1} \chapter{Blub2} \stoptext But

Re: [NTG-context] Lower the title of TOC

2014-05-02 Thread H. Özoguz
\definehead[contenttitle][title] \setuphead[contenttitle][before={\blank[force,2cm]}] \starttext \contenttitle{Contents} \placecontent \chapter{First chapter} \chapter{Second chapter} \stoptext Wolfgang Thanks Wolfgang, thats exactly what I was searching for! Huseyin

Re: [NTG-context] Bug in ligature lookup

2014-04-15 Thread H. Özoguz
a real minimal example with clear explanation is needed so that it can be traced (and we need to be sure the font is right) I have postet a minexample already here: http://www.ntg.nl/pipermail/ntg-context/2014/077590.html There is a link to the used font, too. If you have problem to see the

Re: [NTG-context] Bug in ligature lookup

2014-04-14 Thread H. Özoguz
My question ist still unclear, I guess? How to describe it better? Or, if understood, is that not solvable easily? Thanks for help to make this font completely work with ConTeXt Huseyin ___ If your question is of

Re: [NTG-context] Bug in ligature lookup

2014-04-07 Thread H. Özoguz
it's not clear to me what the bug is Hans Ok, the bug is, that, if you try my code with the mentioned font (you can take it from the html source code to be sure to get the right unicode char, here: http://www.ntg.nl/pipermail/ntg-context/attachments/20140403/22b89844/attachment-0001.html

Re: [NTG-context] Set two symbols in relative coordinates

2014-04-06 Thread H. Özoguz
Just remembering this. If it is really impossible, I will try another way. Thanks! Huseyin ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Bug in ligature lookup

2014-04-06 Thread H. Özoguz
Just remembering. Is it possible to fix this bug? Thanks! Huseyin ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Bug in ligature lookup

2014-04-03 Thread H. Özoguz
that work now? Huseyin Am 02.04.2014 10:50, schrieb "H. Özoguz": Hi, used font: http://fonts.qurancomplex.gov.sa/wp-content/uploads/2012/06/UthmanTN1-Ver10.zip Minexample: \defin

[NTG-context] Set two symbols in relative coordinates

2014-04-02 Thread H. Özoguz
Hi, because of some lacks of my font, I have to use some ugly font-hacks (bad, I know, but have no choice, because there is still really no good arabic font for setting quran, seems to be to hard for the world). One of these hacks is to define a new letter by setting to symbols in relative

[NTG-context] Bug in ligature lookup

2014-04-02 Thread H. Özoguz
Hi, used font: http://fonts.qurancomplex.gov.sa/wp-content/uploads/2012/06/UthmanTN1-Ver10.zip Minexample: \definefont[uthm][file:UthmanTN1Ver10*arabic at 20pt] \starttext \uthm \setupalign[r2l] \stoptext You see, that

Re: [NTG-context] Tabulate: how to center tabulate horizontally?

2014-04-02 Thread H. Özoguz
I'm trying to center horizontally a tabulate, but the tabulate is still placed on the left side of the page. How to center it? You could use the tabularframe and align in the middle: \defineframedcontent [tabularframe] [frame=off, align=middle] \starttext \placetable[here]{Framesolution}{

[NTG-context] Adjusting overbar for a special font

2014-04-01 Thread H. Özoguz
Hello there, I tried to overbar an arabic word, and noticed, that the bar is too low and overlaps the letters. While producing a minexample, I noticed that this might be a issue of my font, because this does not happen with Arial. See this minexample: \definefont[arial][name:arial*arabic at

Re: [NTG-context] Adjusting overbar for a special font

2014-04-01 Thread H. Özoguz
http://www.ntg.nl/pipermail/ntg-context/2012/070738.html Wolfgang Thanks Wolfgang, but this solution is not independent from the size of the font, and so had to be adjust for each size again (bad for my project, where the font-size changes on nearly every page). Which unit has this

[NTG-context] Testpage with extras

2014-01-30 Thread H. Özoguz
Hi there, I asked a similar question before, but I try it again (in a bit different way): The command \testpage[n] Paragraph sets the next paragraph on the next page, if there are less than n lines left on the current page. I use this command very often, but need it with some extension: If

Re: [NTG-context] Testpage with extras

2014-01-30 Thread H. Özoguz
use case needed Here two cases to compare: 1. \setupindenting[yes, 9pt, first] \starttext \noindentation\input knuth\\ \input knuth\blank \noindentation \input knuth \testpage[35]\noindentation\input knuth \stoptext 2. \setupindenting[yes, 9pt, first] \starttext \noindentation\input knuth\\

Re: [NTG-context] Compiling to EPUB

2014-01-16 Thread H. Özoguz
Looks like you should install a command line ?zip? program. ePub is a zipped format. Thanks, Hraban. But what does that mean exactly, I have installed 7zip and besides that, Windows can natively zip any file. What exactly to do to install an command line zip program and to get over this

[NTG-context] Compiling to EPUB

2014-01-15 Thread H. Özoguz
Hi, I tried to compile one of my projects to a EPUB by adding \setupbackend[export=yes,xhtml=yes] \setupexport [title={A nice book}, author={John Doe}, firstpage={huhn.jpg}, ] to the main-file. After that I began the compiling by C:\Users\diretorymtxrun --script epub --make

[NTG-context] Headertexts in the center

2014-01-08 Thread H. Özoguz
Hi there, with \setupheadertexts which takes four arguments, one can place headertexts on four places on a double-page. But how one can place only two headertexts at the top-center of the even/odd pages? So the arguments should not be places (left-right)-(right left) but simply

Re: [NTG-context] Calculating with variables

2013-11-26 Thread H. Özoguz
which is why the next is better: \definemeasure[fontsize:big] [17pt] \definemeasure[fontsize:small][0.7\measured{fontsize:big}] \definefont[big] [name:arial at \measure{fontsize:big}] \definefont[small][name:arial at \measure{fontsize:small}] \starttext \big Dies ist ein großer

[NTG-context] Automatic adjusting the font size to fill the text-area

2013-11-26 Thread H. Özoguz
Hello there, in my actual book there is one special condition: It is already clear which paragraphs of the text have to be set on page 1, which on page 2 etc.pp. (a nearly 700 pages-project). So there are no page-breaks within a paragraph, no overruns are allowed. But now the question: The

Re: [NTG-context] Converting (a not so) normal font into bold

2013-11-25 Thread H. Özoguz
test code: \starttext \showotfcomposition{file:uthmanichafs1ver09.ttf*arabic}{r2l}{١} \page \showotfcomposition{file:uthmanichafs1ver09.ttf*arabic}{r2l}{١ ١} \page \showotfcomposition{file:uthmanichafs1ver09.ttf*arabic}{r2l}{١١} \page % \usemodule[fonts-coverage]

[NTG-context] Calculating with variables

2013-11-25 Thread H. Özoguz
Hello there, I am new in variables in ConTeXt, so I tried the the following example of two font-sizes wich should have a ratio of 0.7: \setvariables[fontsize][bigsize=17pt] \setvariables[fontsize][smallsize=0.7\getvariable{fontsize}{size}] \definefont[big][name:arial at

[NTG-context] Converting normal font into bold

2013-11-24 Thread H. Özoguz
Hello together, I have an arabic font, which is quite perfect, but only a little bit too thin, so that it seems to vanish into the white of the paper. Unfortunately this font does not come with an bold-variant. Now I tried to manipulate it with CorelDraw, just converted into curves and

Re: [NTG-context] Converting normal font into bold

2013-11-24 Thread H. Özoguz
May be ConTeXt experts would have better suggestions, till then you may want to look at the fake bold option in simplefonts - http://wiki.contextgarden.net/Simplefonts#Faking_italics_and_bold_fonts Thanks for your advice. Unfortunately I did not manish to work with this font by simplefonts. I

[NTG-context] No full Unicode-Support in ConTeXt?

2013-11-24 Thread H. Özoguz
Hello there, I wonder why working with fonts is soo hard in ConText (much easier in Word or CorelDraw). See this following font (free, opensource): http://fonts.qurancomplex.gov.sa/wp-content/uploads/2012/06/UthmanTN1-Ver10.zip And try now this Context-Code:

[NTG-context] [***SPAM***] Re: No full Unicode-Support in ConTeXt?

2013-11-24 Thread H. Özoguz
To be more concrete, I added an jpeg from CorelDraw, which shows, what I mean with these little signs above the letters. They are vanished in ConText, but are correctly set in CorelDraw with the very same font. Huseyin attachment:

Re: [NTG-context] Converting normal font into bold

2013-11-24 Thread H. Özoguz
May be ConTeXt experts would have better suggestions, till then you may want to look at the fake bold option in simplefonts - http://wiki.contextgarden.net/Simplefonts#Faking_italics_and_bold_fonts Thanks for your advice. Unfortunately I did not manish to work with this font by

Re: [NTG-context] Converting normal font into bold

2013-11-24 Thread H. Özoguz
The extend feature stretches the glyphs to get narrow or wide font but it doesn’t embolden it. The best solution is to get a font with a real bold style, money shouldn’t be a problem because fonts are cheap nowadays. Wolfgang Thanks, I hoped the it could really embold ist (like I did it in

[NTG-context] [***SPAM***] Re: No full Unicode-Support in ConTeXt?

2013-11-24 Thread H. Özoguz
not at all, as you show way more input here as in the jpeg ... so first make a minimal example I did gave a min-example, didn't I? The JPG was only to make clear, what I mean with little signs. Is that clear now? Dont know how to say it better way (sorry my english) :), also another font

[NTG-context] [***SPAM***] Re: Converting normal font into bold

2013-11-24 Thread H. Özoguz
http://amirifont.org/ / - and more hard to find such a find in this style (Uthmanic). / There is no such a style, it is just a simplified (dumbed down) Naskh style used only in one single Mushaf. Why is that a requirement? Thanks Khaled, the Naskh-Style is not an absolute requirement, but it

Re: [NTG-context] Converting normal font into bold

2013-11-24 Thread H. Özoguz
Again, because arabic seems to be vanished in my first posting, I dont know why. Thanks Khaled, the Naskh-Style is not an absolute requirement, but it is very well known and very common (at least for muslims in germany) - and it is very nice, of course, this is an question of flavor. I know

Re: [NTG-context] Converting normal font into bold

2013-11-24 Thread H. Özoguz
It is my believe that Unicode has the wrong properties for Arabic standalone Hamza; in short you should just type a regular Hamza in the middle of the word and it will get positioned correctly. Placing a combining Hamza over a Tatweel to “fake” it is wrong IMO. So in Amiri you just type

Re: [NTG-context] Converting normal font into bold

2013-11-24 Thread H. Özoguz
Hi Ondra, thanks for your help. Apparently, replacing a number enclosed in ornate parentheses (U+FD3E and U+FD3F) with a number in the end of ayah ornament is a specialty of the UthmanicHafs font. If I input the digit (e.g. U+0662) and then the special non-printable end of ayah character

Re: [NTG-context] Converting normal font into bold

2013-11-24 Thread H. Özoguz
Thanks, that works fine: \definefont[arabicamiri][file:amiri-regular.ttf*arabic at 15pt] \definefont[arabicuth][file:UthmanicHafs1Ver09.ttf*arabic at 17pt] \def\eoa#1{#1\char06DD} \starttext \setupalign[r2l] \arabicuth لأَفَبِهَـٰذَا ٱلْحَدِيثِ أَنتُم مُّدْهِنُونَ ﴿٨١﴾\eoa \stoptext Now I

[NTG-context] Testpage vs. indentation

2013-10-29 Thread H. Özoguz
Hello together, normally I want intendation for new paragraphs, but not, if the paragraph is set on the next page by \testpage. See this minexample: \setupindenting[yes, 9pt,first] \starttext \input knuth \testpage[35] \input knuth \stoptext Or more general: No indentation of paragraphs,

Re: [NTG-context] Aligning Part-Title in TOC

2013-10-24 Thread H. Özoguz
Any ideas ... ? :) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage :

[NTG-context] Aligning Part-Title in TOC

2013-10-23 Thread H. Özoguz
Hello together, my question today is about aligning the part-title in the toc, see this simple example: \setuphead[part][number=no] \starttext \completecontent \part{Part 1: This is the title of the first part, it is very very long, but actually not a real title of a part in a book}

Re: [NTG-context] Breaks in TOC

2013-10-07 Thread H. Özoguz
Thanks to your kindely help, Nr. 2 is solved easily, but Nr. 1 is still open. Is it clear, what I intend to do, or totally unclear? :) The question is simply to break a title in the TOC, without breaking it in the text. Or more generally: How to change the title in the TOC (maybe a complete

Re: [NTG-context] Breaks in TOC

2013-10-07 Thread H. Özoguz
http://www.ntg.nl/pipermail/ntg-context/2013/072485.html Wolfgang Thanks Wolfgang, so I guess the key I was looking for is list. But see what happens here: \starttext \completecontent \startsection[ title={Eine sehr, sehr lange Überschrift, die auf jeden Fall irgendeine Art von Formatierung

[NTG-context] Empty page without header, footer, pagenumber

2013-10-02 Thread H. Özoguz
Hi there, since long time I always use hacks and complicate uses of \setuppagenumbering[location=] and \startfrontmatter \stopfrontmatter in different places of my documents, which habe often sideeffects and make problems. All this just for realizing a very simple rule: If the page is empty

Re: [NTG-context] No page break between chapter-title and section-title in TOC

2013-10-02 Thread H. Özoguz
This one is still open, is there maybe a workaround to prevent page-breaks in the TOC between chapter- and sections-titles (or part- and chaptertitles). And in general: Where can I find documentation about designing and aligning the titles for the TOC (not in the text). I am only interested in

Re: [NTG-context] Empty page without header, footer, pagenumber

2013-10-02 Thread H. Özoguz
\setuppagenumbering[alternative=doublesided] \starttext \input knuth \page[empty] % empty page \input knuth \page[yes,right] %move to right page but keep header and footer \input knuth \page[yes,header,footer,right] % move to right page and remove header and footer \input knuth \stoptext

[NTG-context] Breaks in TOC

2013-10-01 Thread H. Özoguz
Hi there, two questions about formatting the TOC or the titles in the TOC: 1. How to formate the titles different in the text and in the TOC respectively? I only mean line breaks. E.g., see this minexample: \starttext \completecontent \startsection[ title={Eine sehr, sehr lange

[NTG-context] Bug in inframed

2013-09-12 Thread H. Özoguz
I found the following bug in \inframed, getting problems with inframing arabic words, try the following example \definefont[arab][name:arial*arabic at 18pt] \define[1]\awort{{\hbox{\setupalign[r2l]\arab#1}}} \starttext \awort{بِالصَّالِحِينَ}\blank \awort{\inframed{بِالصَّالِحِينَ}} \stoptext

Re: [NTG-context] Another small \underbar issue

2013-09-12 Thread H. Özoguz
Not much helping: I can confirm, that this bug is independent from font. One can easiliy go around with a protected space: \underbar{Re:~Something important that I am writing about} But still, it is a bug :) Huseyin

Re: [NTG-context] Bug in inframed

2013-09-12 Thread H. Özoguz
Salam, @Idris, Aditya: Thank you very much, works perfect for me. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Replacement with a predefined table?

2013-09-11 Thread H. Özoguz
Is the following possible in ConText? I want to define a table like this: 1: Hans 2: Wolfgang 3: Aditja 4: Marco ... in which I can look up by a function, which allows the following command: \name{number}. E.g. This is \name{3} should compile to This is Aditja. For my purpose, the table

[NTG-context] [***SPAM***] \part without adding partnumber to other headers

2013-09-10 Thread H. Özoguz
I want to use \part without the number of the part as a piece of the headnumbers (of chapter, section, subsection ). E.g.: \part{One} \chapter{Chapter} \section{Section} \part{Two} \chapter{Chapter} \section{Section} gives this compile: 1.1 Chapter 1.1.1 Section 2.1 Chapter 2.1.1 Section

Re: [NTG-context] [***SPAM***] \part without adding partnumber to other headers

2013-09-10 Thread H. Özoguz
\setuphead[sectionsegments=2:*] \setuphead[part][placehead=hidden] \starttext \part{One} \chapter{Chapter} \section{Section} \part{Two} \chapter{Chapter} \section{Section} \stoptext Wolfgang That gives this compile: 1.1 Chapter 1 Section 1 Chapter 1.1 Section That is not what I intended.

[NTG-context] Footnotes italic or normal? And BEFORE for footnotes

2013-09-06 Thread H. Özoguz
Two questions about footnotes: 1. By default the footnote-number (now always speaking of the fn-numbers in the text, not at the buttom) appears in the same style, like the text. E.g.: \starttext {\it This was\footnote{And actually is.} my way of typesetting.} Is\footnote{Another fn.} this

Re: [NTG-context] Footnotes italic or normal? And BEFORE for footnotes

2013-09-06 Thread H. Özoguz
\setupnote [footnote] [textstyle=small, textcommand=\FootNoteCmd] \define[1]\FootNoteCmd {\narrownobreakspace\high{#1}} Marco Perfect, thanks Marco! ___ If your question is of interest

[NTG-context] Automatic space before question mark

2013-09-06 Thread H. Özoguz
I want to set before all question marks of a large document one \narrownobreakspace. How to do this, if not in the source? Is there a possibility to exchange all ? by the effect of \narrownobreakspace ? with one small command? (Without changing the source, that is not to search-exchange all ?

Re: [NTG-context] Automatic space before question mark

2013-09-06 Thread H. Özoguz
Thanks Marco and Wolfgang! Always impressed about the possibilities of ConTeXt and this mailing list. By testing this, naturally another related questions come up. E.g. this one: How to define before ? and ! a 0.1 leftspace, but before the combination ?! only ONE 0.1 leftdistance - and not

[NTG-context] Different counters for titles

2013-09-03 Thread H. Özoguz
To solve my last asked question, I chose a somewhat easiert way and defined an own chapter-title, which is unnumbered. Here is my Minexample: \definehead[mychapter][chapter] \setuphead[mychapter][number=no] \setupcombinedlist[content] [list={mychapter, chapter, section}] \starttext

Re: [NTG-context] Different counters for titles

2013-09-03 Thread H. Özoguz
\startchapter[ownnumber=1,title=chap 1] This cheat gives the chapter his own number, but the counter still counts. So for my minexample it does not work: \definehead[mychapter][chapter] \setuphead[mychapter][number=no] \setupcombinedlist [content] [list={mychapter, chapter, section}]

[NTG-context] Numbering sections

2013-09-02 Thread H. Özoguz
I have activated numbering sections by *\setuphead[section][number=yes]*, and now the numbers are in the toc, too, as they should. How to show the numbers in the header, too? The header is: *\setupheadertexts [][{\grau{\tfx\getmarking[section]}}][{\definedfont[name:myriadprosemibold at

Re: [NTG-context] Numbering sections

2013-09-02 Thread H. Özoguz
You can the section number with \getmarking[sectionnumber], the chapter number with \getmarking[chapternumber] etc. Thanks Wolfgang! And another question about numbering: How can I let start the numbering of chapters with the number n (not 1, as default)? E.g. with n=0 or n=2? Thanks.

Re: [NTG-context] Numbering sections

2013-09-02 Thread H. Özoguz
Thanks Wolfgang, nearly perfect, what I wanted. The problem left is here: \defineexpandable[1]\Previousnumber {\number\numexpr#1-1\relax} \defineconversion[previousnumber][\Previousnumber] \setuphead[section][conversion=previousnumber] \starttext \dorecurse{5}{\chapter{Chapter #1}

Re: [NTG-context] [***SPAM***] Continuous preview

2013-08-28 Thread H. Özoguz
I use the perl program `atchange`[1] for continous preview. For simple documents, you can just run atchange filename.tex context --batch filename Thanks Aditja. Because I have no experience with Pearl: What to do with this text-file of your link? Should I just copy it as text-file in the

[NTG-context] [***SPAM***] Continuous preview

2013-08-27 Thread H. Özoguz
For LaTex there exists a tool, named latexmk, which allows a preview continuous mode, that is to update the compiled pdf automatically. It is really very helpful! Because it is open-source: It is possible to addapt this tool for context, too? Maybe one of the programmers have time for this

[NTG-context] TOC: Chapter-titles without page-numbers

2013-08-26 Thread H. Özoguz
Hi there, in the attachment you see an example of a toc (of some german bestseller) I want to reproduce in ConText. The only problem left, I could not achieve myself, is: How to set the chapter-titles in the toc without pagenumbers (as you see in the attached jpg)? Thanks for your help

[NTG-context] [***SPAM***] Indentation for page-numbers

2013-08-26 Thread H. Özoguz
Hello, how to modify \setuppagenumbering to get indented page-numers? I use: \setuppagenumbering[alternative=doublesided, location={footer,right}, way=bytext, sectionnumber=yes, partnumber=yes] Is there a key indent or something to get the pagenumbers a small bit

Re: [NTG-context] [***SPAM***] Indentation for page-numbers

2013-08-26 Thread H. Özoguz
\define[1]\PagenumberCommand {\doifoddpageelse {\offset[x=-1cm]{#1}} {\offset[x=+1cm]{#1}}} \setuppagenumbering[alternative=doublesided,location={footer,right},command=\PagenumberCommand] \starttext \dorecurse{20}{\input knuth\par} \stoptext Wolfgang Thanks again Wolfgang,

[NTG-context] Minimal word-distance?

2013-08-26 Thread H. Özoguz
Beyond the possibility to influence the tolerance by \setuptolerance, is it possible to declare explicit the minimal allowed word-distance? I ask, because in some cases the distance between consecutive words is too low (already using \setuptolerance[verstrict]). Thanks. Huseyin

[NTG-context] [***SPAM***] Re: Minimal word-distance?

2013-08-26 Thread H. Özoguz
\starttext \spaceskip=1ex plus 1ex minus .2ex \input knuth \stoptext Marco That simply overrides protrusion and justification, forcing a constant distance. The question is, only to add an minimal distance, wich has not to be undercut while protrusing and justifying. Huseyin

Re: [NTG-context] Minimal word-distance?

2013-08-26 Thread H. Özoguz
The following text has protrusion and is justified. \setuplayout [width=6cm] \definefontfeature [default] [default] [protrusion=pure] \setupalign [hanging] \showframe \starttext \spaceskip=1ex plus 1ex minus .2ex \input knuth \stoptext / forcing a constant distance. / If you provide

[NTG-context] [***SPAM***] Section without numbering

2013-07-25 Thread H. Özoguz
Hello together, thanks for the last quick helpful answers! How can one deactivate numbering (both in the toc and ind the content) for a single section-title manually? In LaTex there is the star-syntax: \section*{Blub}, what is the analogon in Context? Huseyin

Re: [NTG-context] [***SPAM***] Section without numbering

2013-07-25 Thread H. Özoguz
\subject Thanks Hans. But with subject the title is not in the toc, too. If I add subject into \setupcombinedlist, it does not help: \setupcombinedlist [content] [alternative=b, list={chapter, section, subject %subsubsection, }] How too add \subject (again without number) into the toc

Re: [NTG-context] [***SPAM***] Section without numbering

2013-07-25 Thread H. Özoguz
\setuphead[subject][incrementnumber=list] Wolfgang Thanks Wolfgang, but that does not work here. My minexample: \setupcombinedlist [content] [alternative=b, list={chapter, section, subject %subsubsection, }] \setuphead[subject][incrementnumber=list] \starttext \completecontent

Re: [NTG-context] [***SPAM***] Section without numbering

2013-07-25 Thread H. Özoguz
@Wolfgang, Marco: That works, thanks. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage :

[NTG-context] No indentation after macro

2013-07-24 Thread H. Özoguz
I have defined the following macro: \def\Qur[#1][#2][#3][#4]{\placeongrid{\blank[4pt]\testpage[4] \setupindenting[no] \startalignment[right]\setupalign[r2l]\setupinterlinespace[line=3.7ex]\amiri #1 \stopalignment \blank[4pt] {\bf #2} \wordright{\tfx (Heiliger Qur'an #3:#4)}

[NTG-context] [***SPAM***] Joining two paragraphs

2013-07-22 Thread H. Özoguz
Hello, how to join to paragraphs /lines, such that they are not broken on to pages? \starttext \dorecurse{30}{First line.\\ Second line.\\} \stoptext You see that the last First line on the first page is alone, the Second line comes on the next page, of course correct in this example. I

[NTG-context] Linecorrection and distances

2013-07-18 Thread H. Özoguz
I use grid-setting, but have elements, which should not be set on the grid (because it is impossible, because of different interlinespaces, bigger fonts, or whatever). For these elements I use \startlinecorrection Elements \stoplinecorrection After these elements the normal text is continued,

Re: [NTG-context] Linecorrection and distances

2013-07-18 Thread H. Özoguz
you only switch the font so the distance between lines is determines by the size of glyphs + interlineskip .. best use: \big \setupinterlinespace My Problem is NOT the bad interlinespacing of the big font in my example. Of course I can correct that with your suggestion, but thats not the

Re: [NTG-context] Linecorrection and distances

2013-07-18 Thread H. Özoguz
it always depends on the content you can influence it with options ... see teststuite for examples (in spacing path) Sorry, I did not get you. Which options, to influence this behaviour? (I could not find any options, parameters, for startlinecorrection). And to which testsuite do you refer

[NTG-context] Colored horizontal line

2013-07-15 Thread H. Özoguz
Hello there, after long time I have a question again :) I use \setupheader[text][after=\hrule] to get a horizontal line below the header. How can I color this line? The direct attempt \color[r=0.4,g=0.4,b=0.4]{\hrule} fails. Thank you. Huseyin

[NTG-context] ConTeXt with TeXnicCenter

2013-06-07 Thread H. Özoguz
Hello all together, as I am a bit irritated of the limitations of TeXWorks (both in stability and comfort for big project), I want to switch to TeXnicCenter. I followed the instructions of http://wiki.contextgarden.net/TeXnicCenter and wantet to test it. With a simple \starttext \input

Re: [NTG-context] ConTeXt with TeXnicCenter

2013-06-07 Thread H. Özoguz
Maybe you want to use mkiv and texcniccenter is not configured for it. You are right, of course I want to use mkiv. But how to configure texniccenter for it? In the instructions of the wiki I did not see any different ways to configure it for mkii or mkiv. Huseyin

Re: [NTG-context] ConTeXt with TeXnicCenter

2013-06-07 Thread H. Özoguz
/ Maybe you want to use mkiv and texcniccenter is not configured for it. // // You are right, of course I want to use mkiv. But how to configure // texniccenter for it? In the instructions of the wiki I did not see any // different ways to configure it for mkii or mkiv. // // I guess that

Re: [NTG-context] ConTeXt with TeXnicCenter, Hans Hagen pragma at wxs.nl

2013-06-07 Thread H. Özoguz
something context --synctex %bm @Hans, Luigi: The above does not work here, but I have found a working solution, one needs --script --script context --synctex %bm I have still problems with synctex, I do not know how to switch easiliy between the pdf and the code with SUMATRA pdf, but

Re: [NTG-context] Multiple footnote-numbers referring only to one footnote

2013-06-05 Thread H. Özoguz
No way? I am sure, there is some :) Another solution, which would work equally would be to have two footnote-numbers with the same number, which refer to the same footnote. This way: Text [Footnote number 1] text [Footnote number 1] Footer: 1 Some Footnote. Is that possible? Thanks Huseyin

Re: [NTG-context] Multiple footnote-numbers referring only to one footnote

2013-06-05 Thread H. Özoguz
\starttext First note.\footnote[fnt:one]{First footnote} Second note.\footnote[fnt:two]{Second footnote} Third note.\note[fnt:one] \stoptext Wolfgang Perfect, thanks again Wolfgang! ___ If your question is of

[NTG-context] [***SPAM***] Strategies to control moving footnotes

2013-06-04 Thread H. Özoguz
I have often the problem of moving footnotes (with activated grid setting). That means, the footnote is not on the same page as the footnotenumber, but moved on the next page. That apperas often if you have a book with many not-so-short footnotes. Maybe one has to accept that, but in some

[NTG-context] Multiple footnote-numbers referring only to one footnote

2013-06-04 Thread H. Özoguz
Hello, how to achieve this: I want more than one footenote-number, which refer to the very same footnote. The footnote should than enumerate the numbers like: Text (Footnote 1) Text (Footnote 2) - 1,2 Very explenating information. Thanks for help. Huseyin

[NTG-context] Picture before chapter-title, but on same page

2013-06-03 Thread H. Özoguz
Hello there, I want to place a picture at the top on a page, and directly after that a chapter-title (without a page break). I tried it with the key continue, but that does not work. Here my try: \setuphead [chapter] [continue=yes] \starttext \startplacefigure [title={Some picture.},

[NTG-context] Adjust font size to cell height in natural table

2013-05-27 Thread H. Özoguz
Hello together, I use this as a natural table \def\esl[#1][#2][#3][#4][#5][#6][#7]{% \page \startframed[frame=off,width=fit,offset=overlay,align=middle,background=eslami]% \bTABLE[width=4.55cm,align={middle,lohi}] \bTR\bTD[height=2cm] ~\blank[-3.4mm]#1 \eTD\eTR \bTR\bTD[height=3cm]

[NTG-context] [***SPAM***] Re: Understanding the imposing-mechanism

2013-05-25 Thread H. Özoguz
You have to change the size for the page and paper, the first has to be the size of the cards while the second is the size of the paper which you use to print all cards. \definepapersize [card] [width=47.5mm,height=76mm] \definepapersize [sheet] [width=660mm,height=330mm] \setuppapersize

[NTG-context] Understanding the imposing-mechanism

2013-05-24 Thread H. Özoguz
Hi there, following Wolfgangs suggestion, I set every game-card on a single page now. All cards are in one pdf-File, each on his own page. Every page has the size 47,5mm x 76mm. Now I tried to place the pages on a big sheet, its size is 660mm x 330mm, s.th. the small cards are set in a 4*13

[NTG-context] [***SPAM***] Re: Two-language environment and page breaking

2013-05-23 Thread H. Özoguz
Just to try another attempt for getting hints from you: You can see in the examples, the the middle vertical line (which is just the right frame of the left cell) is not exactly as high as the text needs. It is a bit higher and stick a little bit out, at the beginning (top) and at the end

Re: [NTG-context] Tesselating the sheet with a image

2013-05-22 Thread H. Özoguz
I someone could tell me how to place images horizontally side by side, not only vertically, then I possibly could make it with some use of \dorecurse? Huseyin ___ If your question is of interest to others as well,

[NTG-context] [***SPAM***] Re: Two-language environment and page breaking

2013-05-22 Thread H. Özoguz
And if it is not possible, an advice of this impossibility would help me to stop my senseless tries :) Huseyin ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] Place a box on the right

2013-05-22 Thread H. Özoguz
Hi there, \starttext \startalignment[right] \framed{This box should be on the right side, but is not.} \stopalignment \stoptext I know it is easy, but could not find it in the reference. Why not allow simply \framed[location=right]{} ? (right is not a correct keyword for location).

[NTG-context] [***SPAM***] Two-language environment and page breaking

2013-05-21 Thread H. Özoguz
Hi, one more question to my arabic-german table environment. See this code: \definefont[amiri][file:UthmanTN1Ver10.ttf*arabic at 11 pt] % or amiri-regular.ttf \define[1]\Arab{\setupalign[r2l]\amiri#1} %\showgrid \startsetups[arde] \setupTABLE[c][1][rightframe=on] \stopsetups \def\startarde

[NTG-context] Tesselating the sheet with a image

2013-05-20 Thread H. Özoguz
Hi there, for a card game I have this macro: \defineoverlay[eslami][{\externalfigure[somepicture.pdf]}] \def\esl[#1][#2][#3]{% \startframed[frame=on,width=4.75cm,offset=overlay,align=middle,background=eslami]% \offinterlineskip \framed[width=4.75cm,frame=off,height=2cm]{\blank[-3mm]#1}\\

  1   2   3   >