[NTG-context] Margin notes

2014-03-03 Thread S Barmeier
I am trying to compile a 2-year-old mkiv document with the latest beta and am getting an error on the line \inleft[style=bold,stack=continue] Two years ago, stacking of margin notes was still experimental, so I'm guessing something has changed since then. What is the correct way these days to typ

Re: [NTG-context] Typefaces ... how does this work?

2013-06-13 Thread S Barmeier
If you are not using all predefined font styles, you could set your monospace, sans, serif, or whichever style you aren't using to the font you want to use and use the predefined command (e.g. \sf) to access that font. Severin On 6/13/13, Sander Maijers wrote: > > On 12-06-13 23:33, luigi scarso

Re: [NTG-context] international documents

2012-09-17 Thread S Barmeier
On 09/17/2012 07:11 PM, Pavel Dohnal wrote: > Hello, > I am creating script which generates context source from database > data. Then converts context to pdf and sends it to user. Problem is > that users enter international texts into database and some characters > are not present in final pdf. > H

Re: [NTG-context] define vs setup

2012-07-25 Thread S Barmeier
You can \setup what you \define|d yourself and \setup what is pre\define|d, but not \setup something that is not \define|d. Maybe ;) Severin On 07/26/2012 12:18 PM, Bill Meahan wrote: > I'm confused again. :\ > > When do you use a \defineSOMETHING instead of \setupSOMETHING ? > > Must somethin

Re: [NTG-context] Sanskrit font

2012-06-22 Thread S Barmeier
On 06/22/2012 07:27 PM, Martin Fechner wrote: > Am 22.06.2012 12:05, schrieb S Barmeier: >> On 06/22/2012 06:23 PM, Martin Fechner wrote: >>> Hey list, >>> >>> does anybody know an useable font for sanskrit writings another then >>> sanskrit2003.ttf?

Re: [NTG-context] Sanskrit font

2012-06-22 Thread S Barmeier
On 06/22/2012 06:23 PM, Martin Fechner wrote: > Hey list, > > does anybody know an useable font for sanskrit writings another then > sanskrit2003.ttf? It is preferred to have the same range (with ligatures > etc.) as the sanskrit2003.ttf. > > Best regards, > > Martin It is hard to imagine that

Re: [NTG-context] **SPAM** ConTeXt breaks pdfcrop

2012-06-20 Thread S Barmeier
On 06/21/2012 09:32 AM, Aditya Mahajan wrote: > > On Thu, 21 Jun 2012, S Barmeier wrote: > >> On 06/18/2012 07:47 PM, Vladimir Lomov wrote: >>> Hello, >>> ** S Barmeier [2012-06-18 15:38:20 +0900]: >>> >>>> I guess this has to do with my path

Re: [NTG-context] **SPAM** ConTeXt breaks pdfcrop

2012-06-20 Thread S Barmeier
On 06/18/2012 07:47 PM, Vladimir Lomov wrote: > Hello, > ** S Barmeier [2012-06-18 15:38:20 +0900]: > >> I guess this has to do with my path variables, but having context >> minimals installed prevents pdfcrop from running successfully: > >> PDFCROP 1.33, 2012/02/0

[NTG-context] **SPAM** ConTeXt breaks pdfcrop

2012-06-17 Thread S Barmeier
I guess this has to do with my path variables, but having context minimals installed prevents pdfcrop from running successfully: PDFCROP 1.33, 2012/02/01 - Copyright (c) 2002-2012 by Heiko Oberdiek. kpathsea: Running mktexfmt pdftex.fmt /usr/local/texlive/2010/bin/x86_64-linux/mktexfmt: 395: /usr

Re: [NTG-context] “bodyfont %s is defined (can better be done global)”

2012-06-02 Thread S Barmeier
> > <... /> > fonts > bodyfont 42pt is defined (can better be done global) > fonts > bodyfont 50.4pt is defined (can better be done global) > fonts > bodyfont 40.32pt is defined (can better be don

Re: [NTG-context] Asian Language Support

2012-05-07 Thread S Barmeier
Depending on your needs, p(La)TeX may be a quicker solution, if you can afford to miss out on the benefits of ConTeXt. But that's just my opinion... On 05/07/2012 10:17 PM, KUROKI Yusuke wrote: > Hello, Henman, > > What the timing you choose to post this message! > Several days ago, I, Japanese,

Re: [NTG-context] Asian Language Support

2012-05-07 Thread S Barmeier
I am writing documents in English/Japanese. If you want to include English text, you probably need to define your own typescript (or use simplefonts), because most Japanese fonts have terrible Latin fonts... I can probably help you, if you tell me what exactly you need. If you're just typesettin

Re: [NTG-context] LuaTeX error after update to ubuntu 12.04

2012-04-27 Thread S Barmeier
wrote: > On Sat, 2012-04-28 at 13:25 +0900, S Barmeier wrote: >> After updating to ubuntu 12.04, my shouts of joy were smothered >> by the following >> >> !LuaTeX error: cannot find OpenType font file for reading () ==> >> Fatal error occurred, no output PDF file p

[NTG-context] LuaTeX error after update to ubuntu 12.04

2012-04-27 Thread S Barmeier
After updating to ubuntu 12.04, my shouts of joy were smothered by the following !LuaTeX error: cannot find OpenType font file for reading () ==> Fatal error occurred, no output PDF file produced! mtx-context | fatal error: return code: 70 I ran mtxrun --script fonts --reload, updated to th

Re: [NTG-context] Registers with distinguishable entries.

2012-04-27 Thread S Barmeier
On 04/26/2012 10:14 PM, Alan BRASLAU wrote: > On Thu, 26 Apr 2012 19:18:55 +0900 > S Barmeier wrote: > >> \defineregister[Music][Musics] > > Musics? > > Alan Hey, that wasn't me..

Re: [NTG-context] Registers with distinguishable entries.

2012-04-26 Thread S Barmeier
Leaving out the plural in \setupregister gives you the setup you set up. \defineregister[Note][Notes] \setupregister[Note][n=2,pagestyle=small,textstyle=normal] \defineregister[Text][Texts] \setupregister[Text][n=2,textstyle=normal,pagestyle=normal] \defineregister[Music][Musics] \setupregister[

Re: [NTG-context] Is there some easy way to do tufte-style side note?

2012-04-22 Thread S Barmeier
On 04/22/2012 04:16 PM, Yue Wang wrote: > Dear powerful ConTeXt users: > > Is there some way to do tufte style side notes? I googled and did > found Wolfgang's solution > (http://archive.contextgarden.net/message/20110906.202722.f501f115.en.html) > but it's just too simple and cannot be used for pr

Re: [NTG-context] Cross-referencing Challenge

2012-04-14 Thread S Barmeier
On 04/15/2012 07:44 AM, Aaron W. Hsu wrote: > Hey All: > > I am very new to ConTeXt, but I am trying to use it to achieve a format > similar to what you can get from WEB systems. Right now I am working on > the definitions of chunks and their cross references. I have three main > macros: > > \de

Re: [NTG-context] index for Japanese alphabet

2012-04-09 Thread S Barmeier
On 04/08/2012 12:03 AM, Hans Hagen wrote: > On 2-4-2012 11:01, S Barmeier wrote: >> Hi, >> >> I would like to include an index with Japanese terms, ordered according >> to the Japanese alphabet. >> >> I can say \index[kanji]{漢字} for an entry under K. For my

Re: [NTG-context] \em after font fallbacks

2012-04-02 Thread S Barmeier
On 04/02/2012 09:18 PM, Wolfgang Schuster wrote: > > Am 02.04.2012 um 11:37 schrieb S Barmeier: > >> My main font is Japanese and I'm falling back on a different font for >> Latin characters. >> >> The \it switch works fine, but \em renders the Japanese f

[NTG-context] \em after font fallbacks

2012-04-02 Thread S Barmeier
My main font is Japanese and I'm falling back on a different font for Latin characters. The \it switch works fine, but \em renders the Japanese font (e.g. page numbers in the index). Is there a way to have \em use the italic (of the fallback font)? Thanks, Severin

[NTG-context] index for Japanese alphabet

2012-04-02 Thread S Barmeier
Hi, I would like to include an index with Japanese terms, ordered according to the Japanese alphabet. I can say \index[kanji]{漢字} for an entry under K. For my Japanese index I imagine \index[かんじ]{漢字} to place an entry under か. Is something like this possible? The Japanese alphabet fits (almost)

[NTG-context] Multiple font fallbacks

2012-04-01 Thread S Barmeier
I tried \definefontfallback[fallback1] \definefontfallback[fallback2] and then \definefontsynonym[][][fallbacks={fallback1,fallback2}] and failed. What is the correct syntax? Thank you, Severin ___ If your question

Re: [NTG-context] Typescript not found

2012-03-29 Thread S Barmeier
On 03/29/2012 03:33 PM, Wolfgang Schuster wrote: > > Am 28.03.2012 um 09:32 schrieb S Barmeier: > >> I have some typescript problems. >> >> The output says >> >> fonts > typescripts > unknown: library 'mytypescript' >> fonts

[NTG-context] Typescript not found

2012-03-28 Thread S Barmeier
I have some typescript problems. The output says fonts > typescripts > unknown: library 'mytypescript' fonts > typescripts > unknown: library 'Myface' fonts > preloading latin modern fonts (third stage) In my environment file I have \usetypescriptfile[mytypescript]

Re: [NTG-context] simple graphics, Metafun vs. ConTeXt

2012-03-24 Thread S Barmeier
On 03/23/2012 03:11 AM, Hans Hagen wrote: > On 22-3-2012 15:09, S Barmeier wrote: >> I have leaved through the ConTeXt and MetaFun manuals on the search for >> examples of graphics resembling the attached file which I created in >> TikZ. >> >> I was wanting to s

[NTG-context] simple graphics, Metafun vs. ConTeXt

2012-03-22 Thread S Barmeier
I have leaved through the ConTeXt and MetaFun manuals on the search for examples of graphics resembling the attached file which I created in TikZ. I was wanting to switch to something more native to ConTeXt, but haven't quite found a way of realising it in ConTeXt or MetaFun. Maybe someone would

Re: [NTG-context] More CJK fall-back fonts

2012-03-12 Thread S Barmeier
On 03/11/2012 05:24 PM, dalyoung wrote: > Dear Severin, > > Try the following in the preamble. > > \usetypescriptfile[your-typescript file-name]%if you save it as another file. > \usetypescript[MyIPAex] > \setupbodyfont[Myface, rm, 12pt] > > I hope that it helps you. > If it doesn't work for yo

Re: [NTG-context] hyphenation of hyphenated words

2012-03-12 Thread S Barmeier
x27;t make much sense of it. Severin On 03/12/2012 01:58 PM, Hans Hagen wrote: > On 11-3-2012 15:51, S Barmeier wrote: >> On 03/11/2012 07:30 PM, Hans Hagen wrote: >>> On 10-3-2012 21:52, S Barmeier wrote: >>>> non-standard breaks as >>>> >>>>

Re: [NTG-context] ruby for vertical layout

2012-03-11 Thread S Barmeier
On 03/11/2012 02:58 PM, Wolfgang Schuster wrote: > > Am 11.03.2012 um 10:18 schrieb S Barmeier: > >>>>>> Is there something like ruby for vertical layout? >>>>> >>>>> For vertical typesetting you can also use ruby. >>>>> &

Re: [NTG-context] ruby for vertical layout

2012-03-11 Thread S Barmeier
Is there something like ruby for vertical layout? >>> >>> For vertical typesetting you can also use ruby. >>> >>> Wolfgang >> >> OK, how do I use the vertical ruby in horizontal text? > > That’s not supported, you can only use horizontal ruby in horizontal text and > vertical ruby in vertica

Re: [NTG-context] ruby for vertical layout

2012-03-11 Thread S Barmeier
>> Is there something like ruby for vertical layout? > > For vertical typesetting you can also use ruby. > > Wolfgang OK, how do I use the vertical ruby in horizontal text? ___ If your question is of interest to othe

Re: [NTG-context] ntg-context Digest, Vol 93, Issue 36

2012-03-10 Thread S Barmeier
> I use a Korean unfont as main fonts and an English fonts as fallback font > using the following type script file which is made by the help of Hans and > D.H. Kim. > You may set fonts similarly. > > Korean fonts contained Chinese glyph(not all of them) and Japanese glyph, we > don't have any p

[NTG-context] hyphenation of hyphenated words

2012-03-10 Thread S Barmeier
non-standard breaks as non-stan- dard Is there a way to tell context to break the word at the hyphen that already exists? ___ If your question is of interest to others as well, please add an entry to the Wiki! maill

[NTG-context] ruby for vertical layout

2012-03-10 Thread S Barmeier
Is there something like ruby for vertical layout? ___ 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

[NTG-context] glyph width issues with \setscript[hanzi]

2012-03-10 Thread S Barmeier
Not quite sure what causes this problem, but for particular text widths in combination with \setscript[hanzi], the glyph width gets thrown off. \setuplayout[width=110mm,height=200mm] \usemodule[simplefonts] \setscript[hanzi] \setcjkmainfont[IPAexMincho] \starttext ?? \input tufte \stoptext The qu

[NTG-context] More CJK fall-back fonts

2012-03-09 Thread S Barmeier
At the moment I have \setcjkmainfont to a Japanese font. How do I specify more fall-back fonts, e.g. for Korean script. Also I may need to use a different font for IPA (phonetic characters). Is there a way of specifying a fall-back font for a particular range of Unicode characters? Thank you. Sev

[NTG-context] stacking margin notes

2012-03-09 Thread S Barmeier
I was expecting this to work: \setuplayout[ width=10cm, backspace=10cm, leftmargin=8cm ] \starttext \inleft[stack=yes]{ \input tufte } \input tufte \inleft[stack=yes]{ \input tufte } \stoptext but it doesn't stack. Also, is it correct that stack=yes belongs int

[NTG-context] CJK hyphenation/line breaking

2012-03-09 Thread S Barmeier
Korean has spaces, so I guess I am only asking for CJ, but I was wondering if it is possible to enable line breaking, i.e. cheap hyphenation for CJ(K). I can only speak with certainty for Japanese, but at least here the rules are quite simple. There is no kerning for Japanese characters, so when th

Re: [NTG-context] ruby module

2012-03-09 Thread S Barmeier
On 03/09/2012 04:30 PM, ntg-context-requ...@ntg.nl wrote: >>> Is it possible to place the ruby text in a margin? >>> >> >>> >> No. >>> >> >>> This would allow me to keep line spacing decently tight and also >>> prevent >>> the reader from only reading the annotation. >>> >>

[NTG-context] ruby overhang

2012-03-04 Thread S Barmeier
\usemodule[ruby] \setupruby[overhang=start] \starttext foo \ruby{bar}{foo bar baz} baz \stoptext end,yes,auto all give overhang=none. Am I doing something wrong? Severin ___ If your question is of interest to others a

Re: [NTG-context] ruby module

2012-03-04 Thread S Barmeier
>> Is it possible to place the ruby text in a margin? > > No. > >> This would allow me to keep line spacing decently tight and also prevent >> the reader from only reading the annotation. > > This can be added but then you need a symbol (or something else) to see > to which word the annotation r

Re: [NTG-context] \inmargin

2012-03-04 Thread S Barmeier
I had a look at the garden reference of \setupinmargin. Trying to set width=70mm, I get no change. The default seems to be bold and aligned right. Changing the style works, but trying to align inner/left also has no effect. Any help? Thank you, Severin ___

[NTG-context] ruby module

2012-03-04 Thread S Barmeier
Is it possible to place the ruby text in a margin? This would allow me to keep line spacing decently tight and also prevent the reader from only reading the annotation. How can one change the font size of the annotation and is there a way to keep it fixed, not being scaled according to the font s

Re: [NTG-context] \inmargin

2012-03-03 Thread S Barmeier
Great, thank you. Just in case I missed it on the mailing list... Is there a way of floating a margin text to the top/bottom of the page (aligning with the top/bottom of the text area)? >> Could someone savant provide me with a rough overview of how to place >> text in a margin these days, or els

[NTG-context] \inmargin

2012-03-03 Thread S Barmeier
Could someone savant provide me with a rough overview of how to place text in a margin these days, or else point me to a reference. (I searched the garden without success.) Many thanks, Severin ___ If your question is

Re: [NTG-context] What?s your favorite command?

2012-01-31 Thread S Barmeier
My favourite command chooses to remain anonymous for now. All it has agreed to disclose about itself is that it gives total control over margin notes, in particular placement & page breaking... In case an ID is required for attendance, I think I'll go for \setCJKmainfont, representing Unicode supp

Re: [NTG-context] Error while compiling : ! String contains an invalid utf-8 sequence.

2011-11-27 Thread S Barmeier
On 11/27/2011 11:44 PM, ntg-context-requ...@ntg.nl wrote: > Send ntg-context mailing list submissions to > ntg-context@ntg.nl > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.ntg.nl/mailman/listinfo/ntg-context > or, via email, send a message with subject or b

Re: [NTG-context] \setscript[hanzi] and kana (Wolfgang Schuster)

2011-06-23 Thread S Barmeier
On 06/24/2011 12:39 AM, ntg-context-requ...@ntg.nl wrote: >> > japanese is not yet defined; we need entries in scrp-ini and scrp-cjk for >> > that, character categories and initializations and we need japanese >> > expertise for that > Japanese is supported (it?s only a few extra chars for the ch

Re: [NTG-context] mtxrun fails after update to ubuntu 11.04

2011-05-08 Thread S Barmeier
ls gets updated frequently, but the ConTeXt version is from July 2010. Is there any savvy way to update to a newer release of ConTeXt without meddling too much with the existing texlive installation? On 05/08/2011 08:26 PM, Taco Hoekwater wrote: > On 05/07/2011 02:49 PM, S Barmeier wrote: >>

[NTG-context] mtxrun fails after update to ubuntu 11.04

2011-05-07 Thread S Barmeier
Hi, After updating my system to ubuntu 11.04, all sorts of access permissions seem to have changed. In particular, when compiling any ConTeXt document, I get oad otf> loading: /usr/local/texlive/2010/texmf-dist/fonts/opentype/public/lm/lmmono8-regular.otf (hash: lmmono8-regular) load otf

Re: [NTG-context] Too much spacing in math mode between 'f' and 'l' (MkIV only)

2011-05-03 Thread S Barmeier
> > Hi, > > please consider this: > > \starttext > \math{flow_1} > \stoptext > > When compiled with MkIV, space between "f" and "l" is quite big and doesn't > look very good. Is it a bug? > Spacing between letters when treated as individual variables is always a bit fishy. In this case the mat

Re: [NTG-context] One-off theorem titles

2011-03-03 Thread S Barmeier
With the current solution, I still have the problem that the numbers of \starttheorem and \startproclaim{Theorem} are on the (resp.) left and right side of the text/title and I don't know how to change that. I still find \starttheorem[text={Special Theorem}] (and that is called key-val-input?) the

Re: [NTG-context] One-off theorem titles & numberstyle

2011-03-03 Thread S Barmeier
Thank you for the quick reply, it is getting quite close. I guess the trick is to define an enumeration for one-off use and use "title=" to fake "text=". The only problem is that the number sits between text and title. So to still be able to use \starttheorem alongside \startproclaim{Theorem}, I wo

[NTG-context] One-off theorem titles

2011-03-03 Thread S Barmeier
Currently I am using something like \defineenumeration[lemma] [location=serried, headstyle=bold, text=Lemma, width=broad, style=italic] to define theorems, lemmas, etc. Sometimes a theorem or lemma will have its own name (e.g. Yoneda Lemma), and I find it slightly cumbersome t

[NTG-context] Non-stretching or slow-stretching spaces?

2011-02-26 Thread S Barmeier
I was wondering if there are any kind of spaces which (partly) fix the spacing between characters. For example, typesetting "Chapter 1", I would like to keep the space from stretching at the same rate as the surrounding spaces (just like ck ligatures in old German texts would be prevented from stre

[NTG-context] Spacing for unnumbered equations

2011-02-26 Thread S Barmeier
The spacing for numbered and unnumbered equations is different: \input tufte \placeformula[-] \startformula a=b \stopformula \input tufte \placeformula \startformula a=b \stopformula \input tufte \placeformula[-] seems to insert extra space after the displayed equation. Removable feature? Thank

[NTG-context] Comma spacing in math mode

2011-02-26 Thread S Barmeier
I don't know if anyone feels the same, but I'm not happy with the spacing of commas in math mode (pictures attached). For instance, typesetting H^1(X,F), the comma seems to be closer to the F than to the X. Equal spacing on both sides or setting the comma closer to the X are I guess a matter of tas

[NTG-context] SciTE & ConTeXt

2010-11-24 Thread S Barmeier
Hello, I tried to follow the PRAGMA document for setting up SciTE to run with ConTeXt. The "Tools" menu seems to recognize that I am trying to process a ConTeXt file and the syntax highlighting seems to fit as well. However, when trying to Compile or Build, SciTE tells me >mtxrun --autogenerate -

[NTG-context] ConTeXt editors (vim?)

2010-10-21 Thread S Barmeier
Dear all, I don't know how you all compile your context documents. I have used Winefish until now, but it is no longer maintained (last stable version 2006) and so I was thinking of switching to something else. I have looked at vim and it looks promising. There is a compiler file from Aditya (2006

Re: [NTG-context] Furigana [SOLVED]

2010-10-21 Thread S Barmeier
Well, I resolved the ruby issue. After playing around with a minimal example, I noticed that \usemodule[tikz] was causing all the trouble when trying to load the environment. Not knowing what was wrong I've now updated to texlive '10 and everything works as expected, including tikz. Thank you for

Re: [NTG-context] ntg-context Digest, Vol 76, Issue 95

2010-10-20 Thread S Barmeier
On 10/20/2010 02:12 PM, ntg-context-requ...@ntg.nl wrote: > > Sorry to keep going on about this, but trying to load the > > project/environment with either of > > > > \project myproject > > \environment myenvironment > > > > in the component (directly after \startcomponent) gives me an error. It

Re: [NTG-context] Furigana

2010-10-20 Thread S Barmeier
On 10/20/2010 09:30 AM, Hans Hagen wrote: > On 20-10-2010 6:25, S Barmeier wrote: >> Sorry to keep going on about this, but trying to load the >> project/environment with either of >> >> \project myproject >> \environment myenvironment >> >> in the com

Re: [NTG-context] Furigana

2010-10-19 Thread S Barmeier
Sorry to keep going on about this, but trying to load the project/environment with either of \project myproject \environment myenvironment in the component (directly after \startcomponent) gives me an error. It compiles fine without these commands, but then the \ruby command does not work. What a

Re: [NTG-context] Furigana

2010-10-15 Thread S Barmeier
Thank you, it's almost working. I am making use of projects, products, environments and components. My \usemodule[ruby] sits in my environment file, but I'm using the \ruby command down in the component file. The environment is only called in the project file, but the component links back to the pr

[NTG-context] Furigana

2010-10-10 Thread S Barmeier
Dear CJK experts, I am looking to add furigana (readings) above the Kanji (Chinese characters) in a Japanese text. In XeTeX I'd be used to something translating to \usemodule[simplefonts] \usemodule[ruby] \starttext \ruby{今日}{こんにち}は \stoptext What would be the correct command for mkiv? Many th

Re: [NTG-context] (Xe)ConTeXt and CJK support

2010-09-14 Thread S Barmeier
ter wrote: > > Am 14.09.2010 um 11:10 schrieb S Barmeier: > >> Thank you for your quick reply. In the above example neither IPAMincho >> nor Sazanami Mincho (Regular) are loaded correctly. I get several >> lines of >> >> simplefonts : font 'sazanamim

Re: [NTG-context] (Xe)ConTeXt and CJK support

2010-09-14 Thread S Barmeier
ashes The simplefonts message ignores spaces and caps... Any ideas? Thank you. Severin On 9/14/10, Wolfgang Schuster wrote: > > Am 14.09.2010 um 02:28 schrieb S Barmeier: > >> Thank you all for your detailed answers. Wolfgang's suggestion does >> not produce any errors and se

Re: [NTG-context] (Xe)ConTeXt and CJK support

2010-09-13 Thread S Barmeier
e, like Sazanami Mincho, does *not* work, although it, too, should not go unnoticed during compilation. Could this be because of the space in the font name? I'm grateful for any sort of answer. Again, many thanks. Severin On 9/12/10, Wolfgang Schuster wrote: > > Am 09.09.2010 u