Re: [NTG-context] MKIV and XML documentation

2007-12-18 Thread Pablo Rodríguez
Hans Hagen wrote: Johannes Graumann wrote: Dear all, What is currently the best source for documentation on mark iv's xml capabilities? there is a chapter in mk.pdf; next year i'll write a manual (and i'll probably give a tutorial at the context conference) I have read that chapter and

[NTG-context] accessing to system fonts in TL2011

2011-07-31 Thread Pablo Rodríguez
Hi there, I'm new to ConTeXt. I would like to check some basic capabilities in ConTeXt, after browsing the really impressive presentation Thomas Schmitz gave on critical editions at Dante 2011 (congratulations, Thomas). I have just installed TL 2011 and I would like to be able access to system

Re: [NTG-context] ConTeXt Book: Request for help!

2011-08-15 Thread Pablo Rodríguez
On 08/15/2011 11:51 AM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear Knights, A lot of the criticism seems to miss the point :-) Part of the aim of the Book is to bring in new users, most of us here already know what we're doing. And M$-Windows dominates the marketplace for

[NTG-context] oldstyle with simplefonts

2011-09-17 Thread Pablo Rodríguez
Hi there, I define TeX Gyre Pagella in my document as the main font with this simple commands: \usemodule[simplefonts][size=12pt] \setmainfont[TeX Gyre Pagella] How am I supposed to instruct it to use old-style numbers by default? Sorry, I'm a ConTeXt newbie and there is no way

[NTG-context] disabling onum in url

2011-10-02 Thread Pablo Rodríguez
Hi there, I'm a ConTeXt newbie that I have the following options and a command for URLs in the document preamble (what comes before \starttext [I don't know if it is named so in ConTeXt]): \definefontfeature[default][default][onum=yes]

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Pablo Rodríguez
Hi Philipp, thanks for your reply. I'm afraid it doesn't work. No matter which method I use. (Of course, I copied and pasted your sample code, which doesn't work for me.) On 10/02/2011 01:34 PM, Philipp Gesang wrote: \definefontfeature[default][default][onum=yes]

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Pablo Rodríguez
On 10/02/2011 06:40 PM, Philipp Gesang wrote: Well, in my previous example, rather use: \definefontfeature[url][onum=no,smcp=yes] and come back with a complete example if it doesn’t help. Philipp, I'm afraid it doesn't work. Sample file: \definefontfeature[default][default][onum=yes]

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Pablo Rodríguez
On 10/02/2011 08:20 PM, Philipp Gesang wrote: On 2011-10-02 19:53, Pablo Rodríguez wrote: Philipp, I'm afraid it doesn't work. Sample file: As I thought: the problem is rather with latin modern not having small caps as font feature, [...] Sorry, my own example was misleading (or so

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Pablo Rodríguez
On 10/02/2011 08:00 PM, Wolfgang Schuster wrote: Use \addfs{url} to disable the onus feature. Many thanks, Wolfgang. This fixed the problem. After having to write the second url, I began to think it was unnecessarily complex. [...] But I guess it might be a question of habits. Move

[NTG-context] issue with section title and numbers in margin

2011-10-29 Thread Pablo Rodríguez
Hi there, I would like to get section titles that have aalt (actually, smcp and onum) and numbers in margin. It works fine with the following code: \setuphead[section][style=\sc\os,alternative=inmargin] \starttext \section{This is a title} \input{knuth} \stoptext But in-margin numbers don't

Re: [NTG-context] issue with section title and numbers in margin

2011-10-29 Thread Pablo Rodríguez
On 10/29/2011 07:51 PM, Wolfgang Schuster wrote: Am 29.10.2011 um 19:29 schrieb Pablo Rodríguez: But in-margin numbers don't work when adding OT features: \usemodule[simplefonts][size=12pt] \setmainfont[TeX Gyre Pagella] \definefontfeature[scttitle][default][aalt=yes] \setuphead[section

[NTG-context] title numbering

2011-10-29 Thread Pablo Rodríguez
Hi there, I have been searching in the documentation (ConTeXt Reference Manual, ConTeXt: An Excursion and the wiki) and I don't know how to implement a basic feature: different title numbers. I want to have chapters numbered with Roman numbers and sections with capital letters and that none of

Re: [NTG-context] title numbering

2011-10-30 Thread Pablo Rodríguez
On 10/30/2011 08:36 AM, Wolfgang Schuster wrote: [...] \definestructureconversionset[pablo][n,R,A][n] \setuphead[sectionconversionset=pablo] \setuphead[chapter][sectionsegments=chapter] \setuphead[section][sectionsegments=section] \starttext \chapter{Chapter} \section{Section}

[NTG-context] liga not working

2011-10-30 Thread Pablo Rodríguez
Hi there, using the following code: \usemodule[simplefonts][size=50pt] \setmainfont[FreeSerif] \starttext fi {\it fi} \stoptext I get ligatures when using TeX Gyre Termes, but not with FreeSerif, Old Standard or Theano Didot. AFAIK, all fonts have the liga feature correctly defined. What am I

Re: [NTG-context] liga not working

2011-10-30 Thread Pablo Rodríguez
On 10/30/2011 11:06 AM, Wolfgang Schuster wrote: Am 30.10.2011 um 10:39 schrieb Pablo Rodríguez: Hi there, using the following code: \usemodule[simplefonts][size=50pt] \setmainfont[FreeSerif] \starttext fi {\it fi} \stoptext I get ligatures when using TeX Gyre Termes

Re: [NTG-context] liga not working

2011-10-30 Thread Pablo Rodríguez
On 10/30/2011 12:19 PM, Wolfgang Schuster wrote: Am 30.10.2011 um 11:40 schrieb Pablo Rodríguez: On 10/30/2011 11:06 AM, Wolfgang Schuster wrote: Am 30.10.2011 um 10:39 schrieb Pablo Rodríguez: [...] AFAIK, all fonts have the liga feature correctly defined. Try “\setmainfont[…][script=latn

Re: [NTG-context] title numbering

2011-10-30 Thread Pablo Rodríguez
On 10/30/2011 01:19 PM, Wolfgang Schuster wrote: Am 30.10.2011 um 09:08 schrieb Pablo Rodríguez: Many thanks, Wolfgang, for your help. I'm afraid that the code only works partially. Compiling it, gives the following result: 1 Chapter 1 Section And it should read: I Chapter A Section

[NTG-context] issue with logo and aalt

2011-12-04 Thread Pablo Rodríguez
Hi there, the following minimal sample shows one problem I have when using all small caps (all lowercase and small caps) in titles. \setuppapersize[A4,landscape] \setuppagenumbering[location=] \usemodule[simplefonts][size=200pt] \setmainfont[TeX Gyre Pagella]

Re: [NTG-context] issue with logo and aalt

2011-12-04 Thread Pablo Rodríguez
On 12/04/2011 07:19 PM, Khaled Hosny wrote: On Sun, Dec 04, 2011 at 05:46:03PM +0100, Pablo Rodríguez wrote: \definefontfeature[allcaps][default][aalt=yes] A bit off topic, but aalt stands for access all alternates Thanks, I knew it, Khaled. aalt is not the best way to do it, but I

Re: [NTG-context] issue with logo and aalt

2011-12-04 Thread Pablo Rodríguez
On 12/04/2011 08:17 PM, Wolfgang Schuster wrote: [...] \setuphead[chapter][style=\WORD\tfb] \starttext \chapter{This was done with \CONTEXT!} \stoptext Thanks, Wolfgang, it fixed my ignorance. I'm afraid I still have the problem reported before. I have no idea on how the \TeX logo is

[NTG-context] isn't it too slow?

2011-12-06 Thread Pablo Rodríguez
Hi there, compiling this minimal file: \definepapersize[aa][width=2cm,height=1cm] \setuppapersize[aa] \setuppagenumbering[location=] \usemodule[simplefonts][size=12pt] \definesimplefont[amsmile][TeX Gyre Pagella] \starttext \TeX\ \amsmile \TeX \stoptext using This is

Re: [NTG-context] isn't it too slow?

2011-12-06 Thread Pablo Rodríguez
On 12/06/2011 02:30 PM, Wolfgang Schuster wrote: Replacing the TeX Gyre Pagella font with small caps only takes system | total runtime: 6.753 The example takes here less than a second. My question would be then why in the normal case my system is ×7 slower? Pablo --

Re: [NTG-context] isn't it too slow?

2011-12-06 Thread Pablo Rodríguez
On 12/06/2011 06:15 PM, Hans Hagen wrote: On 6-12-2011 13:22, Pablo Rodríguez wrote: Hi there, compiling this minimal file: \definepapersize[aa][width=2cm,height=1cm] \setuppapersize[aa] \setuppagenumbering[location=] \usemodule[simplefonts][size=12pt

Re: [NTG-context] isn't it too slow?

2011-12-06 Thread Pablo Rodríguez
On 12/06/2011 06:14 PM, Hans Hagen wrote: On 6-12-2011 15:55, Pablo Rodríguez wrote: On 12/06/2011 02:30 PM, Wolfgang Schuster wrote: Replacing the TeX Gyre Pagella font with small caps only takes system | total runtime: 6.753 The example takes here less than a second. My

Re: [NTG-context] isn't it too slow?

2011-12-07 Thread Pablo Rodríguez
On 12/06/2011 10:29 PM, Wolfgang Schuster wrote: [...] Why not, this is what I get from your example (time context test.tex): real 0m0.922s user 0m0.853s sys 0m0.061s This is what I got: real0m8.744s user0m6.449s sys 0m0.549s Almost ×10 slower :-(. I have realized that I

Re: [NTG-context] isn't it too slow?

2011-12-07 Thread Pablo Rodríguez
On 12/06/2011 10:58 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi pablo, On Tue, 06 Dec 2011 14:07:25 -0700, Pablo Rodríguez oi...@web.de wrote: Otherwise, things like this happen every time I compile a ConTeXt document. Once I had a luatex.dll file out of sync with the latest

[NTG-context] orphan and widow lines

2011-12-07 Thread Pablo Rodríguez
Hi there, I have been using ConTeXt for some months and one of the things I cannot control is orphan or widow lines appearing in my documents. Isn't there a general method to avoid them? (This should set ragged bottoms, but I'd rather have ragged bottoms than orphan or widow lines.) Thanks for

[NTG-context] bug with \setuplayout[setups=*strict]?

2011-12-08 Thread Pablo Rodríguez
Hi there, I read a previous message on this list form Wolgang that \setuplayout[setups=*strict] is the ConTeXt way to avoid orphan and widow lines. I have tried that before checking that \widowpenalty=1\clubpenalty=1\raggedbottom doesn't change anything on my

Re: [NTG-context] bug with \setuplayout[setups=*strict]?

2011-12-11 Thread Pablo Rodríguez
On 12/09/2011 05:27 PM, Hans Hagen wrote: On 8-12-2011 13:40, Pablo Rodríguez wrote: [...] Is there no other way to avoid orphan and widow lines? I need it urgently. \startsetups [*lessstrict] \setup[*\s!reset] \widowpenalty =1000 \clubpenaltie =1000 \brokenpenalty

Re: [NTG-context] orphan and widow lines

2011-12-11 Thread Pablo Rodríguez
On 12/09/2011 06:05 PM, Stefan Müller wrote: Hi, you can try (and experiment with) \clubpenalty=1 \widowpenalty=1 after \starttext. Thanks, Stefan. I didn't know that this only worked in the document itself (and not in the preamble). Pablo -- http://www.ousia.tk

[NTG-context] wider right margin when it shouldn't be

2011-12-11 Thread Pablo Rodríguez
Hi there, compiling this document: \setuppapersize[A4] \setuppagenumbering[alternative=singlesided,location=middle] \starttext \showsetups \dorecurse{4}{\input dawkins \par \input knuth \par} \stoptext I should get the exact same length for left and right margin (defining margin as the total

[NTG-context] simplefonts broken?

2011-12-18 Thread Pablo Rodríguez
Hi there, after upgrading TL2011 today and having installed a new version of simplefonts, I cannot get this sample working: \usemodule[simplefonts] \setmainfont[TeX Gyre Pagella] \starttext \TeX \stoptext The error I get reads: ! Undefined control sequence. system tex error on line

Re: [NTG-context] simplefonts broken?

2011-12-18 Thread Pablo Rodríguez
On 12/18/2011 03:38 PM, Wolfgang Schuster wrote: Am 18.12.2011 um 15:24 schrieb Pablo Rodríguez: I don't know whether this happens because I'm not using the latest beta, but many TL2011 users will face the same situation. I had to restore the package to its previous version? I’m aware

[NTG-context] streams not working?

2011-12-28 Thread Pablo Rodríguez
Hi there, I'm trying to get some poems in a bilingual document using streams. According to the wiki (http://wiki.contextgarden.net/Columns#Streams), this example should work: \usemodule[streams] \def\StartCouple{\page\SwitchToNormal}

Re: [NTG-context] streams not working?

2011-12-28 Thread Pablo Rodríguez
On 12/28/2011 11:57 PM, Wolfgang Schuster wrote: Am 28.12.2011 um 20:41 schrieb Pablo Rodríguez: Hi there, I'm trying to get some poems in a bilingual document using streams. You don’t need the module to use streams, read this older message: http://www.ntg.nl/pipermail/ntg-context

[NTG-context] bug with --purgeall?

2011-12-28 Thread Pablo Rodríguez
Hi there, yesterday I ran the following command: context --purgeall --environment=mysecondstyle.tex --mode=myexample.xml I know that the source file is missing (I discovered it later). This is not my issue. The problem is that the --purgeall option caused context to erase all .log files

[NTG-context] orphans and widow control not working

2011-12-29 Thread Pablo Rodríguez
Hi there, trying to avoid widow and orphan lines in my texts, Hans suggested about three weeks ago the following settings (http://www.ntg.nl/pipermail/ntg-context/2011/063746.html). But the following sample doesn't compile: \setuplayout[setups=*lessstrict]

Re: [NTG-context] bug with --purgeall?

2011-12-29 Thread Pablo Rodríguez
On 12/29/2011 04:01 PM, Hans Hagen wrote: On 29-12-2011 07:24, Pablo Rodríguez wrote: Hi there, yesterday I ran the following command: context --purgeall --environment=mysecondstyle.tex --mode=myexample.xml I know that the source file is missing (I discovered it later). This is not my

Re: [NTG-context] bug with --purgeall?

2011-12-29 Thread Pablo Rodríguez
On 12/29/2011 07:49 PM, Hans Hagen wrote: On 29-12-2011 17:12, Pablo Rodríguez wrote: On 12/29/2011 04:01 PM, Hans Hagen wrote: how should it know? By name and by modification date and time. But in any case, the following command: context --purgeall should give an error (missing

Re: [NTG-context] orphans and widow control not working

2011-12-29 Thread Pablo Rodríguez
On 12/29/2011 08:21 PM, Wolfgang Schuster wrote: Am 29.12.2011 um 20:16 schrieb Pablo Rodríguez: Hi there, trying to avoid widow and orphan lines in my texts, Hans suggested about three weeks ago the following settings (http://www.ntg.nl/pipermail/ntg-context/2011/063746.html

[NTG-context] three issues with streams

2011-12-29 Thread Pablo Rodríguez
Hi there, after tweaking with the example provided by Wolfgang (http://www.ntg.nl/pipermail/ntg-context/2011/063353.html), I tried to generate a bilingual poetry document with original Greek text and facing Spanish translation (using ConTeXt stable as provided by TL2011). Here is the basic

[NTG-context] generating PDF from XML

2011-12-29 Thread Pablo Rodríguez
Hi there, http://meeting.contextgarden.net/2011/talks/day2_03_thomas_xml-tutorial/ contains some files that allow generating PDF from XML source files. context --purgeall --environment=mysecondstyle.tex myexample.xml with ConTeXt stable from TL2011 should do the work, shouldn't it?

[NTG-context] PDF not generated from XML

2011-12-31 Thread Pablo Rodríguez
Hi there, with the files form http://meeting.contextgarden.net/2011/talks/day2_03_thomas_xml-tutorial/, I tried: context --environment=mysecondstyle.tex myexample.xml But I don't get the PDF output (attached log file). What is wrong here? (Using ConTeXt stable from TL2011.) Best

Re: [NTG-context] PDF not generated from XML

2011-12-31 Thread Pablo Rodríguez
On 12/31/2011 05:49 PM, Thomas A. Schmitz wrote: Hi, Many thanks for your help, Thomas. the style defines the tag attribute as a context mode, so you need to run it as context --mode=11_09_21 --environment=mysecondstyle myexample.xml (which is also explained in the accompanying document

[NTG-context] indenting \startlines... \stoplines

2011-12-31 Thread Pablo Rodríguez
Hi there, I want to be a \startlines... \stoplines environment to be 10cm away from the left margin. I know this is a basic question, but I have no idea how to do it. Since this is my last question to the list (this year ;-)), I'd really appreciate, if anyone would be so kind to answer it.

Re: [NTG-context] indenting \startlines... \stoplines

2012-01-01 Thread Pablo Rodríguez
On 01/01/2012 10:30 AM, Wolfgang Schuster wrote: Am 31.12.2011 um 20:33 schrieb Pablo Rodríguez: Hi there, I want to be a \startlines... \stoplines environment to be 10cm away from the left margin. I know this is a basic question, but I have no idea how to do it. As the lines

[NTG-context] escaping % in urls

2012-01-01 Thread Pablo Rodríguez
Hi there, I have the following sample: \define[1]\url{\goto{\hyphenatedurl{#1}}[url(#1)]} \starttext \url{http://buscon.rae.es/dpdI/SrvltGUIBusDPD?lema=puntos\%20suspensivos} \stoptext in which I try to escape %, but using the above approach I also get the \ printed. Which is the proper way to

Re: [NTG-context] escaping % in urls

2012-01-01 Thread Pablo Rodríguez
On 01/01/2012 02:46 PM, Khaled Hosny wrote: On Sun, Jan 01, 2012 at 02:26:39PM +0100, Pablo Rodríguez wrote: Hi there, I have the following sample: \define[1]\url{\goto{\hyphenatedurl{#1}}[url(#1)]} \starttext \url{http://buscon.rae.es/dpdI/SrvltGUIBusDPD?lema=puntos\%20suspensivos

Re: [NTG-context] escaping % in urls

2012-01-01 Thread Pablo Rodríguez
On 01/01/2012 02:48 PM, Peter Münster wrote: On Sun, Jan 01 2012, Pablo Rodríguez wrote: Which is the proper way to do it? (Not replacing %20 with a blank space.) This works (I don't know, if proper way or not...): \startasciimode \url{http://buscon.rae.es/dpdI/SrvltGUIBusDPD?lema

[NTG-context] (again) issues with streams

2012-01-03 Thread Pablo Rodríguez
Hi there, playing with an example posted by Wolfgang to the list, I'm trying to generate a bilingual poetry edition (original and facing translation). If anyone could help, I'd really appreciate (this is the second time I post the message to the list

[NTG-context] searching for TEI on the wiki

2012-01-06 Thread Pablo Rodríguez
Hi there, I don't know why when I search for TEI on the wiki (wiki.contextgarden.net/index.php?title=Special%3ASearchsearch=tei), I get only an item that lists the desired page (http://wiki.contextgarden.net/TEI_xml), But if I use Google (http://wiki.contextgarden.net/google/new2.html?q=tei),

[NTG-context] typesetting bilingual texts

2012-01-06 Thread Pablo Rodríguez
Hi there, I'm trying to understand how to typeset bilingual texts with ConTeXt. I'm new to ConTeXt and this is my third try to explain my questions on the matter. I'm afraid that I can't find the right documentation on it (or I wouldn't understand it, if I found it). If what I say is wrong (or

Re: [NTG-context] typesetting bilingual texts

2012-01-08 Thread Pablo Rodríguez
On 01/06/2012 12:57 PM, Susan Dittmar wrote: Dear Pablo, [...] I understand your hesitation to do that work by hand. You are right, it should be easy to do that automatically. But I think ConTeXt, mighty as it is, is not the right tool to do that merging. How about a small perl script that

Re: [NTG-context] typesetting bilingual texts

2012-01-08 Thread Pablo Rodríguez
On 01/07/2012 03:10 PM, Hans Hagen wrote: On 6-1-2012 10:59, Pablo Rodríguez wrote: Not even asking about the code (yet): isn't it possible to typeset a bilingual document having separate streams that ConTeXt automatically synchronizes? And isn't it possible to have separate numbering

Re: [NTG-context] searching for TEI on the wiki

2012-01-08 Thread Pablo Rodríguez
On 01/06/2012 12:32 PM, Mojca Miklavec wrote: 2012/1/6 Pablo Rodríguez wrote: Hi there, I don't know why when I search for TEI on the wiki (wiki.contextgarden.net/index.php?title=Special%3ASearchsearch=tei), I get only an item that lists the desired page (http://wiki.contextgarden.net

[NTG-context] sectioning command with no title

2012-01-22 Thread Pablo Rodríguez
Hi there, I'm trying to get the opposite command to title, that is, numbering with no text. What would it be the best command? I thought \section{~} or \section{\mbox} could do the job, but I wonder whether they might add something that would prevent perfect [align=center] in the title. Thanks

[NTG-context] issue with \setuplabeltext

2012-01-22 Thread Pablo Rodríguez
Hi there, I have the following sample code: \mainlanguage[agr] \usemodule[simplefonts][size=11pt] \setmainfont[Theano Didot] \setuplabeltext[chapter=Ῥαψωδία~] \setuphead[chapter][align=center] \starttext \completecontent \chapter{\mbox{}} \startlines Μῆνιν

[NTG-context] file with too many radial shadings

2012-01-22 Thread Pablo Rodríguez
Hi there, some months ago I discovered that one file generated with LuaTeX + ConTeXt was too slow using mupdf (a PDF viewer). So I filed a bug (http://bugs.ghostscript.com/show_bug.cgi?id=692500) and one of the developers replied that the file contained too many radial shadings, most of which

Re: [NTG-context] sectioning command with no title

2012-01-22 Thread Pablo Rodríguez
On 01/22/2012 08:57 PM, Wolfgang Schuster wrote: Am 22.01.2012 um 20:39 schrieb Pablo Rodríguez: Hi there, I'm trying to get the opposite command to title, that is, numbering with no text. What would it be the best command? I thought \section{~} or \section{\mbox} could do the job

Re: [NTG-context] issue with \setuplabeltext

2012-01-23 Thread Pablo Rodríguez
On 01/23/2012 08:54 AM, Thomas A. Schmitz wrote: On 01/22/12 20:49, Pablo Rodríguez wrote: And I have just accidentally discovered that label text is only shown in the chapter title, if the \mainlanguage is different from [agr]. (I haven't checked all languages, but it works with la, en, ru

[NTG-context] line numbers in header

2012-01-23 Thread Pablo Rodríguez
Hi there, I'm trying to get a header that contains the numbers of first numbered line on each page and the number of the last numbered line on that page. This is especially useful for poetry. Here is a minimal sample of what I'm trying to do: \setupheadertexts[line--numbers]

[NTG-context] bug on margin data and line numbering?

2012-01-26 Thread Pablo Rodríguez
Hi there, when I try to add margin data to a line numbered text, this line is not counted or numbered. See the sample with note referring to line 0: \definelinenote[dict] \setupnote[dict][numbercommand=,] \definemargindata[mgch][outer][hoffset=0.3em] \starttext

[NTG-context] bug with setuplist alternative?

2012-01-28 Thread Pablo Rodríguez
Hi there, in the following sample: \setuplist[chapter][alternative=g] \setuplist[section][alternative=d] \starttext \completecontent \chapter{chapter} \section{section} \chapter{chapter} \subsection{subsection} I get the second

[NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Pablo Rodríguez
Hi there, I have the following sample that works with \type: \definedescription[abc][headcommand=\tfa] \starttext \abc{\type{\startext}} not working \stoptext But if I use the headcommand=type option: \definedescription[abc][headcommand=\type] \starttext

[NTG-context] [***SPAM***] simplefonts generating slanted font?

2012-01-29 Thread Pablo Rodríguez
Hi everyone, I wanted to show the difference between italic and slanted fonts, so I have this minimal example: \usemodule[simplefonts] \setmainfont[TeX Gyre Pagella][slantedfont=fakeslanted] \definefontfeature[fakeslanted][default][slant=.25] \starttext {\sl slanted} font

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Pablo Rodríguez
On 01/29/2012 01:05 PM, Wolfgang Schuster wrote: [...] The \type has to change the meaning of \” to make it a normal symbol but when you use it with headcommand it is to late. A better command to show command is \tex{…} which appends a save version of \” in front of the argument.

Re: [NTG-context] bug with setuplist alternative?

2012-01-29 Thread Pablo Rodríguez
On 01/29/2012 01:06 PM, Wolfgang Schuster wrote: [...] BTW, how can I get a table of contents with heading that doesn't contain subsections? The wiki only offers the option \placecontent[chapter,section], but I need the heading. \completecontent == \title{Contents} + \placecontent

Re: [NTG-context] simplefonts generating slanted font?

2012-01-29 Thread Pablo Rodríguez
On 01/29/2012 01:09 PM, Wolfgang Schuster wrote: Am 29.01.2012 um 13:04 schrieb Pablo Rodríguez: [...] But I don't get the slanted font working. What am I doing wrong here? Put \definefontfeature before \setmainfont and replace “slantedfont” by “slantedfeatures”. Thanks for the reply

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Pablo Rodríguez
On 01/29/2012 05:49 PM, Aditya Mahajan wrote: On Jan 29, 2012, at 10:17 AM, Pablo Rodríguez oi...@web.de wrote: [...] I'm afraid it doesn't work: \definedescription[abc][headcommand=\tex] \starttext \abc{startext} not working \tex{stoptext} \stoptext \tex{…} command works

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Pablo Rodríguez
On 01/29/2012 06:24 PM, Wolfgang Schuster wrote: [...] I tested it now myself and what you want doesn’t work in this way. As you can see in the example below “headcommand=\tex” does work when you also use “location=command” but only with some limitations, e.g. the font is wrong and you

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Pablo Rodríguez
On 01/29/2012 07:09 PM, Wolfgang Schuster wrote: The font can be fixed using headstyle, but the location of the title is important for the document. You can use a two step mechanism where the commands you use in the document pass the content to a internal description environment.

Re: [NTG-context] simplefonts generating slanted font?

2012-01-30 Thread Pablo Rodríguez
On 01/30/2012 06:33 PM, Wolfgang Schuster wrote: Am 29.01.2012 um 16:28 schrieb Pablo Rodríguez: Is there any way to get the roman font (and not the italics) slanted? You have to change the font for slanted because the module use a italic font when no slanted font is found. Thanks

[NTG-context] GSUB init, medi, fina and .fea file

2012-01-31 Thread Pablo Rodríguez
Hi there, I have the following OpenType feature archive (intended to use diferent forms for initial and medial/final beta, theta and phi): languagesystem DFLT dflt ; feature init { sub uni03D0 by uni03B2 ; sub uni03B8 by uni03D1 ; sub uni03D5 by uni03C6 ; } init ; feature medi {

Re: [NTG-context] GSUB init, medi, fina and .fea file

2012-02-01 Thread Pablo Rodríguez
On 02/01/2012 04:36 PM, Hans Hagen wrote: On 1-2-2012 16:15, Khaled Hosny wrote: On Wed, Feb 01, 2012 at 12:20:29AM +0100, Pablo Rodríguez wrote: Hi there, I have the following OpenType feature archive (intended to use diferent forms for initial and medial/final beta, theta and phi

[NTG-context] fakebold not working

2012-02-04 Thread Pablo Rodríguez
Hi there, I have tried to fake bold and italic fakes for Theano Didot (only experimenting) as explained on the wiki (http://wiki.contextgarden.net/Fonts_in_LuaTeX#Handling_special_cases). My code is the following: \usemodule[simplefonts] \setupbodyfontenvironment[default][em=italic]

[NTG-context] interlinear space and Crimson font

2012-02-04 Thread Pablo Rodríguez
Hi there, I have the following code (font available at http://sourceforge.net/projects/crimsontext/files/): \usemodule[simplefonts] \setmainfont[Crimson] \setupinterlinespace[line=10ex] \starttext \dorecurse{5}{\input knuth\par} \stoptext And no

Re: [NTG-context] interlinear space and Crimson font

2012-02-05 Thread Pablo Rodríguez
On 02/05/2012 09:43 AM, Wolfgang Schuster wrote: Am 04.02.2012 um 23:28 schrieb Pablo Rodríguez: Hi there, I have the following code (font available at http://sourceforge.net/projects/crimsontext/files/): [...] And no matter whether I comment the third line or not, I get the same

Re: [NTG-context] fakebold not working

2012-02-05 Thread Pablo Rodríguez
On 02/05/2012 09:23 AM, Wolfgang Schuster wrote: Am 04.02.2012 um 23:22 schrieb Pablo Rodríguez: [...] But fro some strange reason, I don't get the fake bold versions. What am I doing wrong here? Nothing, it’s broken. Thanks for the reply, Wolfgang. Pablo -- http://www.oudeis.tk

Re: [NTG-context] fakebold not working

2012-02-05 Thread Pablo Rodríguez
On 02/05/2012 07:41 PM, Hans Hagen wrote: On 5-2-2012 09:23, Wolfgang Schuster wrote: Am 04.02.2012 um 23:22 schrieb Pablo Rodríguez: [...] But for some strange reason, I don't get the fake bold versions. What am I doing wrong here? Nothing, it’s broken. extend=2 (as that's

Re: [NTG-context] interlinear space and Crimson font

2012-02-07 Thread Pablo Rodríguez
On 02/07/2012 03:14 PM, Khaled Hosny wrote: On Sun, Feb 05, 2012 at 02:06:04PM +0100, Wolfgang Schuster wrote: Am 05.02.2012 um 13:53 schrieb Khaled Hosny: I co-work on Crimson now, so what is broken that I need to fix? The value for ex is wrong, when I run the following example I get for

[NTG-context] no liga with Brill font

2012-02-07 Thread Pablo Rodríguez
Hi there, there is a zero-cost font (not available for commercial works without previous permission) from Brill (http://www.brill.nl/news/brill-typeface). Standard ligatures such as fi and fl don't work: \usemodule[simplefonts] \definefontfeature[default][default][script=latn]

Re: [NTG-context] no liga with Brill font

2012-02-07 Thread Pablo Rodríguez
On 02/07/2012 11:10 PM, Khaled Hosny wrote: The font seems to be using contextual substitution instead of regular ligatures (so the ligature glyphs are not really used, but alternate f’s and i’s etc. are used instead to give the same effect, quite helpful if you want to color only part of

Re: [NTG-context] no liga with Brill font

2012-02-08 Thread Pablo Rodríguez
On 02/08/2012 12:19 AM, Khaled Hosny wrote: On Tue, Feb 07, 2012 at 11:41:14PM +0100, Pablo Rodríguez wrote: I'm afraid it doesn't work here either way (using ConTeXt stable from TL2011). ConTeXt in TeXLive is always out of date (for reasons beyond me), so you are better off using ConTeXt

[NTG-context] font directory for ConTeXt Standalone

2012-02-09 Thread Pablo Rodríguez
Hi there, I have just installed the latest beta using ConTeXt Standalone. Many thanks for the great work. I have a question: the wiki explains that the system fonts should be set in Linux with export OSFONTDIR=/usr/local/share/fonts;$HOME/.fonts

Re: [NTG-context] font directory for ConTeXt Standalone

2012-02-09 Thread Pablo Rodríguez
On 02/09/2012 05:41 PM, luigi scarso wrote: 2012/2/9 Pablo Rodríguez oi...@web.de: Hi there, I have just installed the latest beta using ConTeXt Standalone. Many thanks for the great work. I have a question: the wiki explains that the system fonts should be set in Linux with export

Re: [NTG-context] font directory for ConTeXt Standalone

2012-02-09 Thread Pablo Rodríguez
On 02/09/2012 06:16 PM, luigi scarso wrote: 2012/2/9 Pablo Rodríguez oi...@web.de: [...] Thanks for reply, Luigi. I'm afraid I don't understand you. I meant where I should write the export line in the tex/setuptex file. uh right. Try at the end. Thanks for your reply. I'll wikify

[NTG-context] bug with footnotes in latest beta?

2012-02-09 Thread Pablo Rodríguez
Hi there, I have the following sample: \definelinenote[dict] \setupnote[dict][rule=off,paragraph=yes,numbercommand=,inbetween=\quad] \setupdescriptions[dict][display=yes,location=serried,distance=.5em] \definemargindata[mgch][outer][hoffset=0.3em] \starttext \startlinenumbering

[NTG-context] TOC with wrong lines in latest beta

2012-02-10 Thread Pablo Rodríguez
Hi there, in the following sample, the TOC has chapter 2 on the same line as section 1. \setuplist[chapter][alternative=g,align=middle,aligntitle=yes] \setuplist[section][alternative=d] \starttext \completecontent \chapter{chapter 1} \section{section 1}

[NTG-context] wrong footnote number with latest beta

2012-02-10 Thread Pablo Rodríguez
Hi there, I like to have footnote numbers with normal text (no superscript) in the footnote itself. \setupnote[footnote][rule=off,numberstyle=\tf,numbercommand=] \starttext a\footnote{b} \stoptext The sample above works right with ConTeXt stable, but not with latest beta. Am I doing something

[NTG-context] \definedescription[...][hang=fit] broken in latest beta?

2012-02-10 Thread Pablo Rodríguez
Hi there, I'm not able to compile this code using the latest beta: \definedescription[optionlisting][hang=fit] \starttext \optionlisting{range} especifica espectro \stoptext Just in case it helps, Pablo -- http://www.oudeis.tk

[NTG-context] line numbering and margin data

2012-02-10 Thread Pablo Rodríguez
Hi there, in the following sample, all lines are in a line numbering environment, but only those without margin data get actually numbered. \definemargindata[mgch] \setupmargindata[mgch][location=outer] \starttext \startlinenumbering \dorecurse{10}{\mgch[margin]unnumbered lines }

Re: [NTG-context] wrong footnote number with latest beta

2012-02-10 Thread Pablo Rodríguez
On 02/10/2012 07:50 PM, Wolfgang Schuster wrote: Am 10.02.2012 um 18:55 schrieb Pablo Rodríguez: Hi there, I like to have footnote numbers with normal text (no superscript) in the footnote itself. \setupnote[footnote][rule=off,numberstyle=\tf,numbercommand=] \starttext a\footnote{b

Re: [NTG-context] wrong footnote number with latest beta

2012-02-10 Thread Pablo Rodríguez
On 02/10/2012 08:10 PM, Wolfgang Schuster wrote: Am 10.02.2012 um 20:06 schrieb Pablo Rodríguez: On 02/10/2012 07:50 PM, Wolfgang Schuster wrote: [...] You have to set the numbercommand value with the \setupnotation command. Many thanks for your help, Wolfgang. Is there a document where

Re: [NTG-context] \definedescription[...][hang=fit] broken in latest beta?

2012-02-11 Thread Pablo Rodríguez
On 02/11/2012 06:48 AM, Wolfgang Schuster wrote: Am 10.02.2012 um 19:28 schrieb Pablo Rodríguez: Hi there, I'm not able to compile this code using the latest beta: \definedescription[optionlisting][hang=fit] \starttext \optionlisting{range} especifica espectro \stoptext Just in case

Re: [NTG-context] \definedescription[...][hang=fit] broken in latest beta?

2012-02-11 Thread Pablo Rodríguez
On 02/11/2012 01:46 PM, Wolfgang Schuster wrote: Am 11.02.2012 um 13:27 schrieb Pablo Rodríguez: On 02/11/2012 06:48 AM, Wolfgang Schuster wrote: Am 10.02.2012 um 19:28 schrieb Pablo Rodríguez: Hi there, I'm not able to compile this code using the latest beta: \definedescription

Re: [NTG-context] \definedescription[...][hang=fit] broken in latest beta?

2012-02-11 Thread Pablo Rodríguez
On 02/11/2012 03:20 PM, Wolfgang Schuster wrote: Here is what I did: 1. I changed in \strc_constructions_set_hang “\fi” to ”\fi\fi\fi“. 2. I typed “context --make en” in the shell. After running context --make en the error was gone. Thanks for your help, Pablo -- http://www.oudeis.tk

Re: [NTG-context] TOC with wrong lines in latest beta

2012-02-11 Thread Pablo Rodríguez
On 02/11/2012 07:30 PM, Wolfgang Schuster wrote: Am 10.02.2012 um 18:15 schrieb Pablo Rodríguez: [...] I'm afraid that this i a bug, since chapter 2 should be on a new line. No it isn’t. You shouldn’t also misuse the “g” alternative which is meant for interactive document to center

[NTG-context] questions on linenotes/notes

2012-02-11 Thread Pablo Rodríguez
Hi there, I'm trying to typeset the following kind of document: \setuppapersize[A6] \definelinenote[significa] \setupnote[significa][rule=off,paragraph=yes,numbercommand=,inbetween=\quad] \setupdescriptions[significa][display=yes,location=serried,distance=.5em] \definelinenote[contextualiza]

[NTG-context] mixing Greek and English texts

2012-02-11 Thread Pablo Rodríguez
Hi there, I would like to typeset a classical Greek text that contains a Greek-English dictionary and other explanations in English with Greek passages. In order to get proper hyphenation, I should define English as main language and tag all Greek in the text. This is a lot of work. The whole

Re: [NTG-context] mixing Greek and English texts

2012-02-12 Thread Pablo Rodríguez
On 02/12/2012 09:04 AM, Thomas A. Schmitz wrote: On 02/12/2012 03:16 AM, Pablo Rodríguez wrote: [...] The whole thing would be to apply command \agr when range={greekandcoptic,greekextended}. How could I do that? Thanks for your help, When you go to archive.contextgarden.net and type

  1   2   3   4   >