[NTG-context] enabling pdftex's microtypographic features with variant old style figures

2009-11-12 Thread Oliver Heins
With the help of Patrick's otfinstall I've installed a font for use with pdftex/mark ii. this works fine so far, but i want to use the microtypographic features not only for the base font, but for the old style figures variant, too. \usetypescriptfile[type-corporate] \usetypescript[corporate

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-27 Thread Aditya Mahajan
On Mon, 26 Oct 2009, Wolfgang Schuster wrote: Am 26.10.2009 um 17:13 schrieb Aditya Mahajan: You need the latest version of the module. Works perfectly. Is there some documentation other than the source? Not yet, what do you want to know? 1. What should be the argument of \setmainfont

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-27 Thread Wolfgang Schuster
Am 27.10.2009 um 07:13 schrieb Aditya Mahajan: Not yet, what do you want to know? 1. What should be the argument of \setmainfont so that all font switches work. From a few examples that I tried, it should be the font name (2nd column in mtxrun --script font --list output) after

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-27 Thread Hans Hagen
Wolfgang Schuster wrote: Am 27.10.2009 um 07:13 schrieb Aditya Mahajan: Not yet, what do you want to know? 1. What should be the argument of \setmainfont so that all font switches work. From a few examples that I tried, it should be the font name (2nd column in mtxrun --script font --list

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-27 Thread luigi scarso
at some point we will have a database with proper defaults but that's work in progress (part of font goodies) Just to say that with 30 emails this thread will be promoted to IN TOPIC -- luigi ___ If your question

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-27 Thread Aditya Mahajan
On Tue, 27 Oct 2009, Wolfgang Schuster wrote: Am 27.10.2009 um 07:13 schrieb Aditya Mahajan: 2. When does \sc work? It works with Fontin, but does not work with Iwona, although both have the smcp feature. In the same way as you do it with typescript and fontfeatures, enable the latin

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-27 Thread Wolfgang Schuster
Am 27.10.2009 um 14:38 schrieb Aditya Mahajan: 3. Should \simplefonts!weight also include lightcondensed and heavy? Can you provide a list for them. Many fonts provide a heavy version; Antykwa provides condensed light; Kurier provides condensed medium and condensed heavy. So, a partial

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-26 Thread Wolfgang Schuster
Am 26.10.2009 um 06:42 schrieb Aditya Mahajan: On Sun, 25 Oct 2009, Wolfgang Schuster wrote: Why not simplefonts instead of typescript files, I understand typescripts, so there was never a need to try out simplefonts. I did that right now and it setting the document fonts is really

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-26 Thread Aditya Mahajan
On Mon, 26 Oct 2009, Wolfgang Schuster wrote: Am 26.10.2009 um 06:42 schrieb Aditya Mahajan: On Sun, 25 Oct 2009, Wolfgang Schuster wrote: there is also a definefont command \definesimplefont[interludefont][Museo700 at 28pt] This does not work, I get latin modern mono instead! You need

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-26 Thread Wolfgang Schuster
Am 26.10.2009 um 17:13 schrieb Aditya Mahajan: You need the latest version of the module. Works perfectly. Is there some documentation other than the source? Not yet, what do you want to know? Wolfgang ___ If

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-25 Thread Wolfgang Schuster
Am 25.10.2009 um 10:15 schrieb Jan-Erik Hägglöf: I've tested and installed fontin and museo in my texmf-local/tex/context/fonts/opentype/ directory The font has been found according to output from mtxrun --script fonts --list script but still Museo700 and fontin will not be find by let

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-25 Thread Taco Hoekwater
Wolfgang Schuster wrote: Am 25.10.2009 um 10:15 schrieb Jan-Erik Hägglöf: I've tested and installed fontin and museo in my texmf-local/tex/context/fonts/opentype/ directory The font has been found according to output from mtxrun --script fonts --list script but still Museo700 and fontin

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-25 Thread Wolfgang Schuster
Am 25.10.2009 um 10:27 schrieb Taco Hoekwater: On top of that: In type-exljbris, you should use the first column of the output of mtxrun --script fonts --list, if you use the name: prefix. type-exlbjbris.mkiv: % Museo, Museo Sans \starttypescript [serif] [museo] \definefontsynonym

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-25 Thread Wolfgang Schuster
Am 25.10.2009 um 11:27 schrieb Jan-Erik Hägglöf: I just installed the museo700 not museo500 or museo300, is this causing this? I tested this myself and there is no difference but it's possible you use a older version of the museo fonts, can you download them from myfonts.com and try it

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-25 Thread Aditya Mahajan
On Sun, 25 Oct 2009, Jan-Erik Hägglöf wrote: Wolfgang Schuster skrev: Am 25.10.2009 um 10:27 schrieb Taco Hoekwater: On top of that: In type-exljbris, you should use the first column of the output of mtxrun --script fonts --list, if you use the name: prefix. type-exlbjbris.mkiv: %

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-25 Thread Jan-Erik Hägglöf
Here is a test and the attached output and also the path of where the fonts are placed in file font.dir and the output from mtxrun --script fonts list museo* in fonts.list Janneman Can you test what happens with a minimal file: \definefont[testfont][name:museo700] \starttext \testfont

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-25 Thread Aditya Mahajan
On Sun, 25 Oct 2009, Jan-Erik Hägglöf wrote: Here is a test and the attached output and also the path of where the fonts are placed in file font.dir and the output from mtxrun --script fonts list museo* in fonts.list Can context read the fonts? One way to check is mtxrun --script fonts

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-25 Thread Jan-Erik Hägglöf
Aditya Mahajan skrev: On Sun, 25 Oct 2009, Jan-Erik Hägglöf wrote: Here is a test and the attached output and also the path of where the fonts are placed in file font.dir and the output from mtxrun --script fonts list museo* in fonts.list Can context read the fonts? One way to check is

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-25 Thread Jan-Erik Hägglöf
Aditya Mahajan skrev: On Sun, 25 Oct 2009, Jan-Erik Hägglöf wrote: Here is a test and the attached output and also the path of where the fonts are placed in file font.dir and the output from mtxrun --script fonts list museo* in fonts.list Can context read the fonts? One way to check is

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-25 Thread Wolfgang Schuster
Am 21.10.2009 um 11:05 schrieb luigi scarso: http://randomdeterminism.wordpress.com/2009/10/21/creating-a-style-file-in-context/ Why not simplefonts instead of typescript files, there is also a definefont command \definesimplefont[interludefont][Museo700 at 28pt] For the interlude text

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-25 Thread Jan-Erik Hägglöf
Wolfgang Schuster skrev: Am 21.10.2009 um 11:05 schrieb luigi scarso: http://randomdeterminism.wordpress.com/2009/10/21/creating-a-style-file-in-context/ Why not simplefonts instead of typescript files, there is also a definefont command \definesimplefont[interludefont][Museo700 at 28pt

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-25 Thread Wolfgang Schuster
Am 25.10.2009 um 15:17 schrieb Jan-Erik Hägglöf: Thanks for the fonts i've replaced them , moved everything my home/ user/.fonts directory Can you put them in your TeX directory and see what happens, on my system the font lies here:

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-25 Thread Jan-Erik Hägglöf
Wolfgang Schuster skrev: Am 25.10.2009 um 15:17 schrieb Jan-Erik Hägglöf: Thanks for the fonts i've replaced them , moved everything my home/user/.fonts directory Can you put them in your TeX directory and see what happens, on my system the font lies here:

[NTG-context] [OT] creating-a-style-file-in-context

2009-10-21 Thread luigi scarso
http://randomdeterminism.wordpress.com/2009/10/21/creating-a-style-file-in-context/ -- luigi ___ 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] Another small caps problem with some fonts (and old-style figures)

2009-09-24 Thread Mika Ritola
Garamond Pro. When old-style figures are enabled, the code below generates GEOff instead of GEOFF. Another ligature bug, it seems -- which is strange because I don't see why old-style figures should affect ligatures at all (not that I know anything about these things), and also because the second

Re: [NTG-context] Another small caps problem with some fonts (and old-style figures)

2009-09-24 Thread Mika Ritola
some fonts, e.g. Adobe Jenson Pro or Adobe Garamond Pro. When old-style figures are enabled, the code below generates GEOff instead of GEOFF. Another ligature bug, it seems -- which is strange because I don't see why old-style figures should affect ligatures at all (not that I know anything

Re: [NTG-context] Another small caps problem with some fonts (and old-style figures)

2009-09-24 Thread Hans Hagen
Mika Ritola wrote: I have to reply to my own mail because I just updated simplefonts and noticed that the latest version behaves a bit differently. The [oldstylefigures=yes] option still works perfectly, but now both \setfontfeature{oldstyle} and \addfontfeaturetoset{oldstyle} result in small

Re: [NTG-context] Another small caps problem with some fonts (and old-style figures)

2009-09-24 Thread Wolfgang Schuster
Am 24.09.2009 um 14:24 schrieb Hans Hagen: Mika Ritola wrote: I have to reply to my own mail because I just updated simplefonts and noticed that the latest version behaves a bit differently. The [oldstylefigures=yes] option still works perfectly, but now both \setfontfeature{oldstyle} and

Re: [NTG-context] Another small caps problem with some fonts (and old-style figures)

2009-09-24 Thread the.thin.air
2009/9/24 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 24.09.2009 um 14:24 schrieb Hans Hagen: Mika Ritola wrote: I have to reply to my own mail because I just updated simplefonts and noticed that the latest version behaves a bit differently. The [oldstylefigures=yes] option

Re: [NTG-context] Another small caps problem with some fonts (and old-style figures)

2009-09-24 Thread Wolfgang Schuster
Am 24.09.2009 um 17:26 schrieb the.thin.air: there is one method to get oldstyle figures with my module (which i showed him) and should use, if he don't like this method the alternative is to define his own fontfeatures and use them (\set...font[...][features=myfeature]) I do use the

Re: [NTG-context] Another small caps problem with some fonts (and old-style figures)

2009-09-23 Thread Mika Ritola
2009/9/22 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 22.09.2009 um 12:43 schrieb Mika Ritola: Hello again, I just discovered another weird problem with small caps when using some fonts, e.g. Adobe Jenson Pro or Adobe Garamond Pro. When old-style figures are enabled, the code

Re: [NTG-context] Another small caps problem with some fonts (and old-style figures)

2009-09-23 Thread Hans Hagen
Mika Ritola wrote: 2009/9/22 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 22.09.2009 um 12:43 schrieb Mika Ritola: Hello again, I just discovered another weird problem with small caps when using some fonts, e.g. Adobe Jenson Pro or Adobe Garamond Pro. When old-style figures

[NTG-context] Another small caps problem with some fonts (and old-style figures)

2009-09-22 Thread Mika Ritola
Hello again, I just discovered another weird problem with small caps when using some fonts, e.g. Adobe Jenson Pro or Adobe Garamond Pro. When old-style figures are enabled, the code below generates GEOff instead of GEOFF. Another ligature bug, it seems -- which is strange because I don't see why

Re: [NTG-context] Another small caps problem with some fonts (and old-style figures)

2009-09-22 Thread Wolfgang Schuster
Am 22.09.2009 um 12:43 schrieb Mika Ritola: Hello again, I just discovered another weird problem with small caps when using some fonts, e.g. Adobe Jenson Pro or Adobe Garamond Pro. When old-style figures are enabled, the code below generates GEOff instead of GEOFF. Another ligature bug

[NTG-context] bib module: changing citation style locally

2009-08-21 Thread Mojca Miklavec
Hello (Taco or anyone else), I have an impression that it used to be possible to say \cite[author][reference], but I'm obviously doing something wrong here, I only get Xxx or in case of [data] I don't get anything at all (I'm using mkii). Here's an almost-minimal example: \usemodule

Re: [NTG-context] bib module: changing citation style locally

2009-08-21 Thread Derek CORDEIRO
Try taking the \startpublication ... \stoppublication before \starttext. Seems to work for me that way. On Fri, Aug 21, 2009 at 7:18 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: Hello (Taco or anyone else), I have an impression that it used to be possible to say

Re: [NTG-context] bib module: changing citation style locally

2009-08-21 Thread Mojca Miklavec
On Fri, Aug 21, 2009 at 16:04, Derek CORDEIRO wrote: Try taking the \startpublication ... \stoppublication before \starttext. Seems to work for me that way. Oh, true, thanks a lot. But it seems that it's not so much related to before or after \starttext but more related to whether one loads

Re: [NTG-context] bib module: changing citation style locally

2009-08-21 Thread Taco Hoekwater
Mojca Miklavec wrote: The confusing fact is that it still works with normal cite even if one loads bibliography at the end, else I would probably figure out that I need to load bibliography at the beginning of document earlier :) I normally do that, but I had a component with all

Re: [NTG-context] \setuptype[style=...] and a feature request

2009-07-22 Thread Hans Hagen
Peter Münster wrote: On Mon, 20 Jul 2009, Hans Hagen wrote: Feature request: \setuptype[before=..., after=...] well, not before/after then but left/right No problem, left/right is nice! i'll put in on the todo list as it's non trivial where to hook in that code Hans

Re: [NTG-context] \setuptype[style=...] and a feature request

2009-07-21 Thread Peter Münster
On Mon, 20 Jul 2009, Hans Hagen wrote: Feature request: \setuptype[before=..., after=...] well, not before/after then but left/right No problem, left/right is nice! Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

[NTG-context] \setuptype[style=...] and a feature request

2009-07-20 Thread Peter Münster
Hello, The style command of \setuptype is executed 2 times: \setuptype[style=X] \starttext \type{bla} \stoptext Feature request: \setuptype[before=..., after=...] (today I use this workaround: \setuptype[style=\groupedcommand{...}{...}] ) Cheers, Peter -- Contact information: http

Re: [NTG-context] \setuptype[style=...] and a feature request

2009-07-20 Thread Wolfgang Schuster
Am 20.07.2009 um 16:33 schrieb Peter Münster: Hello, The style command of \setuptype is executed 2 times: \setuptype[style=X] \starttext \type{bla} \stoptext Feature request: \setuptype[before=..., after=...] You mean left and right, before and after should be kept for environments only

Re: [NTG-context] \setuptype[style=...] and a feature request

2009-07-20 Thread Hans Hagen
Peter Münster wrote: Hello, The style command of \setuptype is executed 2 times: \setuptype[style=X] \starttext \type{bla} \stoptext hm, i'll look at it Feature request: \setuptype[before=..., after=...] well, not before/after then but left/right

Re: [NTG-context] URLs: interaction, color/style, hyphenation

2009-06-15 Thread Peter Münster
On Thu, 11 Jun 2009, Peter Münster wrote: Here a general test-file with all possibilities to print URLs, that I'm aware of: \setupinteraction[state=start] \useURL[myURL][http://url.com/index.html] \starttext \hsize1pt % hyphen introduced in url, no special color/style: \from[myURL

Re: [NTG-context] URLs: interaction, color/style, hyphenation

2009-06-15 Thread Hans Hagen
Peter Münster wrote: On Thu, 11 Jun 2009, Peter Münster wrote: Here a general test-file with all possibilities to print URLs, that I'm aware of: \setupinteraction[state=start] \useURL[myURL][http://url.com/index.html] \starttext \hsize1pt % hyphen introduced in url, no special color/style

[NTG-context] URLs: interaction, color/style, hyphenation (was: Re: Argument of \doswitchtotypeface has an extra })

2009-06-11 Thread Peter Münster
, no special color/style: \from[myURL] % same as \from, but \tt style: \url[myURL] % hyphenated without hyphens but no color/style/interaction: \hyphenatedurl{http://url.com/index.html} % interaction and color, but not hyphenated: \goto{http://url.com/index.html}[url(http://url.com/index.html)] \stoptext

Re: [NTG-context] \typebuffer with typing style

2009-06-10 Thread Matthijs Kooijman
a second argument with options or a typing style, but I haven't been so succesful so far... However, from looking at the definition of \dotypebuffer makes me wonder a bit if my understanding of TeX macros is faulty, or the code is weird: \def\dotypebuffer[#1][#2]% {\iffirstargument

Re: [NTG-context] \typebuffer with typing style

2009-06-10 Thread Peter Münster
On Wed, 10 Jun 2009, Matthijs Kooijman wrote: \setuptyping[option=TEX] This is what I am using now, but this changes the global settings and requires resetting them afterwards. Not so pretty. I was hoping for a better method to achieve this, but I'm starting to doubt there is one

Re: [NTG-context] \typebuffer with typing style

2009-06-09 Thread Matthijs Kooijman
in a custom typing style. It seems I can pass some text to a command fine, even multiple lines: \define[1]\test{Lines: #1} \test{ One line Two lines Three lines } However, this will obviously not give me any typing style at all, just a single line with all the words after eachother. I

Re: [NTG-context] \typebuffer with typing style

2009-06-09 Thread Peter Münster
On Mon, 8 Jun 2009, Matthijs Kooijman wrote: \definetyping[FOO][option=FOO] \startbuffer[bar] baz \stopbuffer \typebuffer[FOO][bar] Perhaps you are looking for this: \setuptyping[option=TEX] \starttext \startbuffer[bar] This is \ConTeXt. \stopbuffer \typebuffer[bar] \stoptext ?

[NTG-context] \typebuffer with typing style

2009-06-08 Thread Matthijs Kooijman
Hi, I'm trying to use a buffer together with a custom typing style using the latest beta with MkIV, but so far I've only managed to do this using \startFOO and \stopFOO inside the buffer: \definetyping[FOO][option=FOO] \startbuffer[bar] \startFOO baz \stopFOO \stopbuffer \getbuffer[bar

Re: [NTG-context] \typebuffer with typing style

2009-06-08 Thread Matthijs Kooijman
Hi all, since \startFOO \getbuffer[bar] \stopFOO gives me compile errors. Actually, that turned out to be my own typo. However, this doesn't give me what I want, but just a verbatim \getbuffer[bar]... Gr. Matthijs signature.asc Description: Digital signature

Re: [NTG-context] defineremapper as default (in style file)

2009-05-25 Thread luigi scarso
On Fri, May 22, 2009 at 8:11 PM, Hans Hagen pra...@wxs.nl wrote: Peter Münster wrote: Hello, I would like to activate a remapper in a style or module file. How could this be done? I tried this without success: \defineremapper[filterItem] \remapcharacter[filterItem][`•]{\item

Re: [NTG-context] defineremapper as default (in style file)

2009-05-25 Thread Hans Hagen
luigi scarso wrote: On Fri, May 22, 2009 at 8:11 PM, Hans Hagen pra...@wxs.nl wrote: Peter Münster wrote: Hello, I would like to activate a remapper in a style or module file. How could this be done? I tried this without success: \defineremapper[filterItem] \remapcharacter[filterItem

Re: [NTG-context] defineremapper as default (in style file)

2009-05-25 Thread Peter Münster
On Mon, 25 May 2009, luigi scarso wrote: I think the point is this : in some situations one find useful to convert things like • in macros like \item . Of course, it can be done with  preprocessing , or with some ad-hoc macros in lua code , etc So, apart \remapcharacter, are there  any

Re: [NTG-context] defineremapper as default (in style file)

2009-05-25 Thread luigi scarso
On Mon, May 25, 2009 at 12:17 PM, Hans Hagen pra...@wxs.nl wrote: luigi scarso wrote: On Fri, May 22, 2009 at 8:11 PM, Hans Hagen pra...@wxs.nl wrote: Peter Münster wrote: Hello, I would like to activate a remapper in a style or module file. How could this be done? I tried

Re: [NTG-context] defineremapper as default (in style file)

2009-05-25 Thread luigi scarso
On Mon, May 25, 2009 at 12:18 PM, Peter Münster pmli...@free.fr wrote: On Mon, 25 May 2009, luigi scarso wrote: I think the point is this : in some situations one find useful to convert things like • in macros like \item . Of course, it can be done with preprocessing , or with some

[NTG-context] Problem with bibl-aps style?

2009-05-25 Thread Charles Doherty
Dear Taco, When I use bibl-aps [9] below is incollection and [10] is book. As you can see the title is missing in [9]. I did a fresh download of Minimals this morning in case my bibl-aps was corrupt but the result is as below. Any advice? And apologies for bothering you so soon again.

Re: [NTG-context] Problem with bibl-aps style?

2009-05-25 Thread Taco Hoekwater
Charles Doherty wrote: Dear Taco, When I use bibl-aps [9] below is incollection and [10] is book. As you can see the title is missing in [9]. I did a fresh download of Minimals this morning in case my bibl-aps was corrupt but the result is as below. Any advice? And apologies for bothering

[NTG-context] defineremapper as default (in style file)

2009-05-22 Thread Peter Münster
Hello, I would like to activate a remapper in a style or module file. How could this be done? I tried this without success: \defineremapper[filterItem] \remapcharacter[filterItem][`•]{\item} \appendtoks \startfilterItem \to \everystarttext \prependtoks \stopfilterItem \to \everystoptext TIA

Re: [NTG-context] defineremapper as default (in style file)

2009-05-22 Thread Wolfgang Schuster
Am 22.05.2009 um 19:47 schrieb Peter Münster: Hello, I would like to activate a remapper in a style or module file. How could this be done? I tried this without success: \defineremapper[filterItem] \remapcharacter[filterItem][`•]{\item} \appendtoks \startfilterItem \to \everystarttext

Re: [NTG-context] defineremapper as default (in style file)

2009-05-22 Thread Hans Hagen
Peter Münster wrote: Hello, I would like to activate a remapper in a style or module file. How could this be done? I tried this without success: \defineremapper[filterItem] \remapcharacter[filterItem][`•]{\item} \appendtoks \startfilterItem \to \everystarttext \prependtoks \stopfilterItem

Re: [NTG-context] formula-style alignment

2009-05-18 Thread Wolfgang Schuster
Am 17.05.2009 um 21:23 schrieb afsmith: Hey again, ntg-context. I would like to align one piece of a line to the left, and another piece of the same line to the right, sort of like numbered math equations, except not math. Additionally I would like to do this inside a narrowed block

Re: [NTG-context] formula-style alignment

2009-05-18 Thread afsmith
] \setuplayout[header=0pt,footer=0pt] \definedescription[topdesc][ inbetween={\blank[none]}, headstyle={\bf}, style={\tf\rm}, location=top, width=broad] \define[3]\CHRONDESC {\starttopdesc {\dontleavehmode\lrframe{#1\hfill#2}} \startnarrower[left]{#3}\stopnarrower \stoptopdesc} \definehead[mysubject

[NTG-context] formula-style alignment

2009-05-17 Thread afsmith
Hey again, ntg-context. I would like to align one piece of a line to the left, and another piece of the same line to the right, sort of like numbered math equations, except not math. Additionally I would like to do this inside a narrowed block How can I do this? I have tried

[NTG-context] font switch in 'style' stopped working

2009-03-26 Thread Vyatcheslav Yatskovsky
Thank you, Hans. luatools --generate eliminated the error. But, font switch in 'style' stopped working. For example, \definehead[faculty][chapter] \setuphead [faculty][ incrementnumber=list, page=yes, number=no, align=middle, style=\bfb] produces bold but normal size font. \tfa also gives

Re: [NTG-context] font switch in 'style' stopped working

2009-03-26 Thread Wolfgang Schuster
Am 27.03.2009 um 00:25 schrieb Vyatcheslav Yatskovsky: Thank you, Hans. luatools --generate eliminated the error. But, font switch in 'style' stopped working. For example, \definehead[faculty][chapter] \setuphead [faculty][ incrementnumber=list, page=yes, number=no, align=middle, style

Re: [NTG-context] How to use my own BibTeX style (bst)?

2009-03-13 Thread Taco Hoekwater
Wei-Wei Guo wrote: Maybe it is better to provide a simple example. For example, I have try.bbl as following. In mkiv (and xetex also, I assume), that just works, assuming you have a working typescript for the combination of scripts. Example attached (the example uses AdobeMingStd-Light) I

Re: [NTG-context] How to use my own BibTeX style (bst)?

2009-03-13 Thread Wei-Wei Guo
Taco Hoekwater 写道: In mkiv (and xetex also, I assume), that just works, assuming you have a working typescript for the combination of scripts. Example attached (the example uses AdobeMingStd-Light) You might misunderstand. I was providing an example to you in my previous email, not asking

Re: [NTG-context] How to use my own BibTeX style (bst)?

2009-03-13 Thread Taco Hoekwater
Wei-Wei Guo wrote: Compare those two results: - Chinese citation uses '等' instead of 'et al'. - Chinese bibliography uses '和' instead of 'and'. Of course, the comparison is not complete. My question: Since I can write 'bibl-my-en.tex' for English entries and 'bibl-my-zh.tex' for Chinese

Re: [NTG-context] How to use my own BibTeX style (bst)?

2009-03-13 Thread Wei-Wei Guo
Thank you very much! Best wishes, Wei-Wei Taco Hoekwater 写道: The long answer: although you cannot make it depend on the language of the citation, you can make it change depending on an explicit language switch. This takes a bit of work, but it is better than nothing, I guess. Here is how: *

Re: [NTG-context] How to use my own BibTeX style (bst)?

2009-03-12 Thread Wei-Wei Guo
Thank you, Mojca and Taco. I finally get my t-bib working. Now I can continue working on my bibl style. Taco Hoekwater 写道: I don't know those styles get adapted automatically when language is changed. Taco should answer (I should take a closer look, but no time now). They do not. You have

Re: [NTG-context] How to use my own BibTeX style (bst)?

2009-03-12 Thread Taco Hoekwater
Wei-Wei Guo wrote: I'm still confused. Is it possible to use different bibl based on the value of \lang. I am not sure what \lang is now, but you cannot get a different bibl file based on the current \language or \mainlanguage in the document. I was talking about influencing one (or more)

Re: [NTG-context] How to use my own BibTeX style (bst)?

2009-03-12 Thread Wei-Wei Guo
Taco Hoekwater 写道: Wei-Wei Guo wrote: I'm still confused. Is it possible to use different bibl based on the value of \lang. I am not sure what \lang is now, but you cannot get a different bibl file based on the current \language or \mainlanguage in the document. The \lang that I said

Re: [NTG-context] modife the style of taspresent

2009-03-11 Thread Jesse Alama
Thomas A. Schmitz thomas.schm...@uni-bonn.de writes: On Mar 9, 2009, at 3:36 AM, Bill Long wrote: Thanks! The grammar is right, but it still can't work. Since I wrote that module... Your description is not very descriptive. What do you mean it can't work? Any error messages, what's going

Re: [NTG-context] modife the style of taspresent

2009-03-11 Thread Aditya Mahajan
On Wed, 11 Mar 2009, Jesse Alama wrote: Thomas A. Schmitz thomas.schm...@uni-bonn.de writes: On Mar 9, 2009, at 3:36 AM, Bill Long wrote: Thanks! The grammar is right, but it still can't work. Since I wrote that module... Your description is not very descriptive. What do you mean it

Re: [NTG-context] modife the style of taspresent

2009-03-10 Thread Bill Long
On Mon, Mar 09, 2009 at 10:53:08AM +0100, Thomas A. Schmitz wrote: On Mar 9, 2009, at 3:36 AM, Bill Long wrote: Thanks! The grammar is right, but it still can't work. I just can't make a photo as my background. Since I wrote that module... Your description is not very descriptive. What

Re: [NTG-context] modife the style of taspresent

2009-03-09 Thread Thomas A. Schmitz
On Mar 9, 2009, at 3:36 AM, Bill Long wrote: Thanks! The grammar is right, but it still can't work. Since I wrote that module... Your description is not very descriptive. What do you mean it can't work? Any error messages, what's going wrong? Moreover: taspresent was my first attempt

Re: [NTG-context] modife the style of taspresent

2009-03-08 Thread Bill Long
to do it by modify the sytelefile. for example bellow style: I try to modify \defineoverlay [lecbackground] [\useMPgraphic{horizontal}] to something like \defineoverlay [lecbackground] [\externalfigure[figure]] [{\externalfigure[figure]}] but it doesn't work. any idea? I need

[NTG-context] How to use my own BibTeX style (bst)?

2009-03-07 Thread Wei-Wei Guo
Dear all, I have both English and Chinese citations in my paper. Because Chinese citation has some special requirements, such as using ?? instead of et al. I made a bst file to solve the localization problem. But after reading the manual of t-bib and searched in garden and mailing list, I find

[NTG-context] modife the style of taspresent

2009-03-03 Thread Bill Long
Dear All, anybody can help me on this problem? As most of the ppt file's background are graphics, but I don't know how to do it by modify the sytelefile. for example bellow style: - %D \module %D [ file=t-horizontalblue, %Dversion

Re: [NTG-context] modife the style of taspresent

2009-03-03 Thread Wolfgang Schuster
Am 03.03.2009 um 11:18 schrieb Bill Long: Dear All, anybody can help me on this problem? As most of the ppt file's background are graphics, but I don't know how to do it by modify the sytelefile. for example bellow style: I try to modify \defineoverlay [lecbackground] [\useMPgraphic

[NTG-context] BibTeX in ConTeXt natbib style

2009-01-27 Thread J.A.J. Pater
In LaTeX when using the natbib package I can use: \citet[p. 113]{Bell1992} to get: Bell (1992, p. 112) \cite[p. 113]{Bell1992} to get: (Bell, 1992, p. 112) Trying to do this in ConTeXt I came up with this: \setupcite [author][left=,right=] \setupcite [year][left=,right=] \def\CiteP#1#2%

Re: [NTG-context] BibTeX in ConTeXt natbib style

2009-01-27 Thread Aditya Mahajan
On Tue, 27 Jan 2009, J.A.J. Pater wrote: In LaTeX when using the natbib package I can use: \citet[p. 113]{Bell1992} to get: Bell (1992, p.\ 112) \cite[alternative=authoryear, extras={, p. 112}][Bell1992] \cite[p. 113]{Bell1992} to get: (Bell, 1992, p. 112) \cite[alternative=authoryears,

Re: [NTG-context] BibTeX in ConTeXt natbib style

2009-01-27 Thread J.A.J. Pater
Thanks a lot! How can I have missed that ... it's in the wiki... On Tue, 27 Jan 2009, J.A.J. Pater wrote: In LaTeX when using the natbib package I can use: \citet[p. 113]{Bell1992} to get: Bell (1992, p.\ 112) \cite[alternative=authoryear, extras={, p. 112}][Bell1992] \cite[p.

[NTG-context] style of last table row (on every page)

2009-01-12 Thread Mojca Miklavec
Hello, I'm forwarding a question about natural tables from our mailing list: How to make a different border on bottom of the last table row on every page? \setupTABLE[r][last][bottomframe=on] only works on last page, not on every page. I thought naively that \bTABLEfoot ... \eTABLEfoot could

Re: [NTG-context] style of last table row (on every page)

2009-01-12 Thread Hans Hagen
Mojca Miklavec wrote: Hello, I'm forwarding a question about natural tables from our mailing list: How to make a different border on bottom of the last table row on every page? \setupTABLE[r][last][bottomframe=on] only works on last page, not on every page. I thought naively that

Re: [NTG-context] font style, font case question

2008-11-23 Thread luigi scarso
On Sun, Nov 23, 2008 at 7:12 AM, Yue Wang [EMAIL PROTECTED] wrote: Hi, 3. In a many OpenType fonts you could get small caps with the smcp feature, to use it redefine the \sc command to \def\sc{\groupedcommand{\setfontfeature{smallcaps}}{}}. I can enable a feature using the

Re: [NTG-context] font style, font case question

2008-11-22 Thread Wolfgang Schuster
Am 21.11.2008 um 17:10 schrieb Alan STONE: Hi, Re: http://wiki.contextgarden.net/Basic_Text_Formatting Although font style and font cases are mentioned separately in the table, from the few test I've done it doesn't seem font styles and font cases can be combined, for ex.: \bf \sc

Re: [NTG-context] font style, font case question

2008-11-22 Thread Yue Wang
Hi, 3. In a many OpenType fonts you could get small caps with the smcp feature, to use it redefine the \sc command to \def\sc{\groupedcommand{\setfontfeature{smallcaps}}{}}. I can enable a feature using the \setfontfeature, how can I disable a feature? like \setfontfeature{-smcp}? btw,

Re: [NTG-context] New bibligraphy style

2008-11-21 Thread richard . stephens
I am using the bib module and I want to redefine the display style for the references. I have therefore created a new file bibl-ris.tex which I have put in the same folder as bibl-apa.tex and the other existing ones. In my environment file I have \setuppublications[alternative=ris

[NTG-context] font style, font case question

2008-11-21 Thread Alan STONE
Hi, Re: http://wiki.contextgarden.net/Basic_Text_Formatting Although font style and font cases are mentioned separately in the table, from the few test I've done it doesn't seem font styles and font cases can be combined, for ex.: \bf \sc sometext. Is that so for all of them

Re: [NTG-context] stretching smallcaps with a style command

2008-11-20 Thread Bob Reynolds
\protect. Thanks, Bob - Original Message From: Bob Reynolds [EMAIL PROTECTED] To: ntg-context@ntg.nl Sent: Friday, November 14, 2008 10:24:26 AM Subject: stretching smallcaps with a style command Hello Everyone: I'm an intermediate-skilled user trying to typeset notes for my CompTIA

Re: [NTG-context] New bibligraphy style

2008-11-20 Thread Taco Hoekwater
[EMAIL PROTECTED] wrote: Hello, I am using the bib module and I want to redefine the display style for the references. I have therefore created a new file bibl-ris.tex which I have put in the same folder as bibl-apa.tex and the other existing ones. In my environment file I have

Re: [NTG-context] stretching smallcaps with a style command

2008-11-20 Thread Taco Hoekwater
Bob Reynolds wrote: I can define the abbreviation fine, and I can use the \infull version of it fine, but I can't use the command version at all. Another example: \ATX12V. I've been working around it by defining both synonyms and a logo like \PSTwo which typesets like I want \PS/2 to

[NTG-context] New bibligraphy style

2008-11-19 Thread richard . stephens
Hello, I am using the bib module and I want to redefine the display style for the references. I have therefore created a new file bibl-ris.tex which I have put in the same folder as bibl-apa.tex and the other existing ones. In my environment file I have \setuppublications[alternative=ris

Re: [NTG-context] stretching smallcaps with a style command

2008-11-17 Thread Taco Hoekwater
Bob Reynolds wrote: \define [1] \StretchedSmallCaps {\smallcaps {\stretchedlowercase {#1}}} You need a more low-level definition of this command because of macro expansion issues inside the logo processing. It works fine with this: \unexpanded\def\StretchedSmallCaps#1%

[NTG-context] stretching smallcaps with a style command

2008-11-15 Thread Bob Reynolds
Hello Everyone: I'm an intermediate-skilled user trying to typeset notes for my CompTIA A+ certification course with ConTeXt, but I'm having trouble with styling abbreviations. I would like to letterspace (I think that is a correct typographical term, I'm a little new at typesetting, sorry)

[NTG-context] setuphead[section][style=cap] does not work

2008-11-13 Thread richard . stephens
Hello, I want section headings to be in capitals, but when I use: \setuphead[section][style=cap] I get an error as follows: ! Argument of \getvalue has an extra }. inserted text \par to be read again } \uppercased ...d \xdef \@@expanded {\uppercase {#1

Re: [NTG-context] setuphead[section][style=cap] does not work

2008-11-13 Thread Aditya Mahajan
On Thu, 13 Nov 2008, [EMAIL PROTECTED] wrote: Hello, I want section headings to be in capitals, but when I use: \setuphead[section][style=cap] I get an error as follows: ! Argument of \getvalue has an extra }. inserted text \par to be read again

<    1   2   3   4   5   6   7   >