[NTG-context] how to change current directory ?

2011-05-23 Thread 정진기
Title: Samsung Enterprise Portal mySingle Greeting context users, Thank you for such a good tool. Here is my question regarding changing of current directory. I have quite a number of separate main.tex in different directories. Each main.tex is calling submain.tex in the same

Re: [NTG-context] how to change current directory ?

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 10:21 schrieb 정진기: Greeting context users, Thank you for such a good tool. Here is my question regarding changing of current directory. I have quite a number of separate main.tex in different directories. Each main.tex is calling submain.tex in the same directory.

[NTG-context] \type and linebreak (again)

2011-05-23 Thread Andreas Schneider
Hi, I stumbled across the same problem that was discussed earlier this month: \type doesn't break, even if there are opportunities. I tried to follow the suggestions given in that thread, but with no success: \setuppapersize[A4][A4] \starttext \setuptype[space=stretch]

[NTG-context] MPdefinitions

2011-05-23 Thread Vedran Miletić
Hi, compiling example with quadriliterals and \startMPdefinitions{solvers} \stopMPdefinitions from MetaFun manual, regardless of the code that is commented out inside MPdefintions environment, gives: ! You can't use `\relax' after \the. system tex error on line 30 in file

Re: [NTG-context] \type and linebreak (again)

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 11:59 schrieb Andreas Schneider: Hi, I stumbled across the same problem that was discussed earlier this month: \type doesn't break, even if there are opportunities. I tried to follow the suggestions given in that thread, but with no success:

[NTG-context] Simplefonts, latest beta and binoms

2011-05-23 Thread Cedric Mauclair
Hi list, I have some troubles with the simplefonts module. The following worked fine before (2011.02.25 22:03, need to add '\usemodule[newmat]'), but doesn't anymore (2011.05.18 22:26). Minimal example reproduced here. Whatever font I try, the output of the parentheses is the same. Setting the

Re: [NTG-context] Simplefonts, latest beta and binoms

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 12:13 schrieb Cedric Mauclair: Hi list, I have some troubles with the simplefonts module. The following worked fine before (2011.02.25 22:03, need to add '\usemodule[newmat]'), but doesn't anymore (2011.05.18 22:26). It’s the fault of the OpenType version of the LM Math

Re: [NTG-context] pdf attachments broken in latest minimal?

2011-05-23 Thread Jesse Alama
Hans Hagen wrote: On 21-5-2011 5:44, Jesse Alama wrote: It seems that PDF attachments aren't working in the latest minimals: $ context --version mtx-context | main context file: /Users/alama/context/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2011.05.18

Re: [NTG-context] MPdefinitions

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 12:02 schrieb Vedran Miletić: Hi, compiling example with quadriliterals and \startMPdefinitions{solvers} \stopMPdefinitions from MetaFun manual, regardless of the code that is commented out inside MPdefintions environment, gives: ! You can't use `\relax' after \the.

Re: [NTG-context] Appendix label in TOC (Table of Contents) : APPENDIX instead of CHAPTER

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 04:06 schrieb Mathieu DUPONT: Hi, The following code : \setuplabeltext[chapter=CHAPTER~] \setuplabeltext[appendix=APPENDIX~] \setuplist [chapter] [label=yes,style={\blank[0cm]}] \starttext \completecontent \chapter{Title of a chapter} \startappendices

Re: [NTG-context] \type and linebreak (again)

2011-05-23 Thread Andreas Schneider
On Monday, May 23, 2011 12:11 Wolfgang Schuster wrote: \filename{cp \$SOMEVAR/some/very/very/very/long/directory/WITHFILE \$SOMEVAR/other/long/directory} Wolfgang It's kinda depressing how easy some solutions are, that one could have found themselves if one just looked beyond the own walls.

Re: [NTG-context] Roman numbers for chapters in chapter lines but not in section lines

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 04:33 schrieb Mathieu DUPONT: Hi, I am trying to obtain the following result : CHAPITRE I Title of chapter 1.1 Title of section 1.1.1 Title of subsection In other words, I need my chapter numbers to be in roman number, but not in the numbers of the sections and

Re: [NTG-context] Simplefonts, latest beta and binoms

2011-05-23 Thread Cedric Mauclair
Thanks, but I am afraid I get the same result with your example. -- Cédric On Mon, May 23, 2011 at 12:31, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 23.05.2011 um 12:13 schrieb Cedric Mauclair: Hi list, I have some troubles with the simplefonts module. The following

[NTG-context] Hyphenating compound words in MKIV microtypography

2011-05-23 Thread Otso Helenius
Hi, MKIV seems to have a problem in hyphenating long finnish compound words in MKIV (2011.05.18 22:26). Here is a minimalist example (columns added to exaggerate the problem): \mainlanguage[fi] \language[fi] \starttext \startcolumns[n=3] kolmivaihekilowattituntimittari ympäristöliiketoiminta

Re: [NTG-context] Hyphenating compound words in MKIV microtypography

2011-05-23 Thread Hans Hagen
On 23-5-2011 2:07, Otso Helenius wrote: Hi, MKIV seems to have a problem in hyphenating long finnish compound words in MKIV (2011.05.18 22:26). Here is a minimalist example (columns added to exaggerate the problem): \mainlanguage[fi] \language[fi] \starttext \startcolumns[n=3]

Re: [NTG-context] \type and linebreak (again)

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 12:54 schrieb Andreas Schneider: On Monday, May 23, 2011 12:11 Wolfgang Schuster wrote: \filename{cp \$SOMEVAR/some/very/very/very/long/directory/WITHFILE \$SOMEVAR/other/long/directory} Wolfgang It's kinda depressing how easy some solutions are, that one could have

Re: [NTG-context] Simplefonts, latest beta and binoms

2011-05-23 Thread Aditya Mahajan
On Mon, 23 May 2011, Wolfgang Schuster wrote: Am 23.05.2011 um 12:13 schrieb Cedric Mauclair: Hi list, I have some troubles with the simplefonts module. The following worked fine before (2011.02.25 22:03, need to add '\usemodule[newmat]'), but doesn't anymore (2011.05.18 22:26). It’s the

Re: [NTG-context] pdf attachments broken in latest minimal?

2011-05-23 Thread Hans Hagen
On 23-5-2011 12:40, Jesse Alama wrote: Thanks. I notice, by the way, that even with mkii, PDF attachments don't seem to function entirely correctly. This might be due to a limitation of my PDF reader (I'm using Adobe Reader 10.0.3 on Mac OS X 10.6), but with that minimal example, Reader says

Re: [NTG-context] Simplefonts, latest beta and binoms

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 15:20 schrieb Aditya Mahajan: If I don't use any font setup, then the result is correct. Isn't opentype math setup used in both cases? Different fonts are used. By default context use the Type1 version of the Latin Modern fonts while my example force ConTeXt to use the

Re: [NTG-context] Simplefonts, latest beta and binoms

2011-05-23 Thread Cedric Mauclair
I did the following (just in case): export DOFONTDIR= mtxrun --script font --reload context simplefonts-error.tex The file simplefonts-error.tex is just what Wolfgang suggested: \definetypeface[mainface][rm][serif][modern] \definetypeface[mainface][mm][math] [modern]

[NTG-context] \startquotation and citations

2011-05-23 Thread Oliver Buerschaper
Dear all, I'm struggling with quotation blocks and proper placing of citations… In an ideal world I'd be striving for something like this: \startquotation[source=…] \input tufte \stopquotation where … could be either of: 1. a simple string: {Edward Tufte}, 2. a citation command:

Re: [NTG-context] Simplefonts, latest beta and binoms

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 15:33 schrieb Cedric Mauclair: I really wish to use Calluna with Latin/Computer Modern math because I find palatino too narrow. It is too narrow compared with Calluna but it is at least a better match than Latin Modern but it’s possible the small braces are a bug in ConTeXt

Re: [NTG-context] Simplefonts, latest beta and binoms

2011-05-23 Thread Cedric Mauclair
Thanks for your help. I'll go with palatino for now. -- Cédric On Mon, May 23, 2011 at 15:52, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 23.05.2011 um 15:33 schrieb Cedric Mauclair: I really wish to use Calluna with Latin/Computer Modern math because I find palatino too

Re: [NTG-context] Simplefonts, latest beta and binoms

2011-05-23 Thread Aditya Mahajan
On Mon, 23 May 2011, Wolfgang Schuster wrote: Am 23.05.2011 um 15:33 schrieb Cedric Mauclair: I really wish to use Calluna with Latin/Computer Modern math because I find palatino too narrow. It is too narrow compared with Calluna but it is at least a better match than Latin Modern but it’s

Re: [NTG-context] \startquotation and citations

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 15:39 schrieb Oliver Buerschaper: Dear all, I'm struggling with quotation blocks and proper placing of citations… In an ideal world I'd be striving for something like this: \startquotation[source=…] \input tufte \stopquotation where … could be either of: 1. a

Re: [NTG-context] MPdefinitions

2011-05-23 Thread Vedran Miletić
2011/5/23 Wolfgang Schuster schuster.wolfg...@googlemail.com Please send a complete example! Sure: \startMPdefinitions{solvers} \stopMPdefinitions \starttext Hello. \stoptext or this: \startMPdefinitions{solvers} def draw_problem (expr p, q, r, s, show_lables)= begingroup ; save x, y, a, b,

Re: [NTG-context] MPdefinitions

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 17:37 schrieb Vedran Miletić: 2011/5/23 Wolfgang Schuster schuster.wolfg...@googlemail.com Please send a complete example! Sure: […] Add \defineMPinstance [solvers] [format=metafun, extensions=yes, initializations=yes] before \startMPdefintions or omit the

Re: [NTG-context] Hyphenating compound words in MKIV microtypographyy

2011-05-23 Thread Hans Hagen
On 23-5-2011 5:54, Otso Helenius wrote: it produces larger files, take more runtime and in most cases does not look better at all; for instance one can argue that protrusion gives more width but at the same time it introduces the boundary condition that some characters have to hang; or take hz

Re: [NTG-context] MPdefinitions

2011-05-23 Thread Vedran Miletić
2011/5/23 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 23.05.2011 um 17:37 schrieb Vedran Miletić: 2011/5/23 Wolfgang Schuster schuster.wolfg...@googlemail.com Please send a complete example! Sure: […] Add \defineMPinstance [solvers] [format=metafun,

[NTG-context] Table of contents

2011-05-23 Thread Oliver Buerschaper
Dear all, is it possible to have entries in the table of contents not indented at all whenever they stem from unnumbered headings? For example: --- \starttext \startfrontmatter \completecontent \chapter{Preface} \stopfrontmatter \startbodymatter \part{Test}

[NTG-context] query about referring to pdf attachments

2011-05-23 Thread Jesse Alama
Can one refer to PDF attachments as though they were local files? I'd like to treat the PDF as a kind of rudimentary filesystem. Whatever is attached to the PDF can be found under the root directory of the PDF. One could then place hyperlinks to these files which, when followed, cause an

Re: [NTG-context] Table of contents

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 19:18 schrieb Oliver Buerschaper: Dear all, is it possible to have entries in the table of contents not indented at all whenever they stem from unnumbered headings? For example: --- \starttext \startfrontmatter \completecontent \chapter{Preface}

Re: [NTG-context] Appendix label in TOC (Table of Contents) : APPENDIX instead of CHAPTER

2011-05-23 Thread Mathieu DUPONT
Effectively, now that I've installed MkIV, I get the output I expected. Thank you very much, Wolfgang ! Mathieu ___ If your question is of interest to others as well,

Re: [NTG-context] Roman numbers for chapters in chapter lines but not in section lines

2011-05-23 Thread Mathieu DUPONT
This code : \setuplabeltext[chapter=CHAPITRE~]\definestructureconversionset[mathieu][numbers,Romannumerals][numbers]\setuphead[chapter][sectionconversionset=mathieu]\setuplist[chapter][label=yes,width=7em] \starttext \placecontent \chapter{Title of chapter}\section{Title of

[NTG-context] Font features for \ss only?

2011-05-23 Thread Oliver Buerschaper
Hi all, how would I make sure that \ss always uses one set of font features while \rm always uses the default feature set? Do I need to specify this in the typescript file? The reason is I'm using Myriad as \ss font and would like to enable the capital spacing (cpsp) OpenType feature for that

Re: [NTG-context] Roman numbers for chapters in chapter lines but not in section lines

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 20:02 schrieb Mathieu DUPONT: This code : \setuplabeltext[chapter=CHAPITRE~] \definestructureconversionset[mathieu][numbers,Romannumerals][numbers] \setuphead[chapter][sectionconversionset=mathieu] \setuplist[chapter][label=yes,width=7em] \starttext \placecontent

Re: [NTG-context] Font features for \ss only?

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 20:07 schrieb Oliver Buerschaper: Hi all, how would I make sure that \ss always uses one set of font features while \rm always uses the default feature set? Do I need to specify this in the typescript file? The reason is I'm using Myriad as \ss font and would like to

[NTG-context] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

2011-05-23 Thread Mathieu DUPONT
I followed all these steps to install MkIV on a Mac and to run it with either Smultron or TexShop : http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation However it works fine with Smultron (but I am more used to TexShop to run TeX files), with TexShop I get : MTXrun | unknown

[NTG-context] change user interface

2011-05-23 Thread Francois-Xavier Lamure Tardieu
Hello, I want to use french interface user. I looked for in the wiki but I didn't find anything Which are the variables to make it or functions to call ? Thank you. ___ If your question is of interest to others as

Re: [NTG-context] change user interface

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 20:48 schrieb Francois-Xavier Lamure Tardieu: Hello, I want to use french interface user. I looked for in the wiki but I didn't find anything Which are the variables to make it or functions to call ? Add % interface=fr to your document as the first line of the file or

Re: [NTG-context] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

2011-05-23 Thread George N. White III
On Mon, May 23, 2011 at 3:13 PM, Mathieu DUPONT mathieudup...@hotmail.com wrote: I followed all these steps to install MkIV on a Mac and to run it with either Smultron or TexShop : http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation However it works fine with Smultron (but I am

Re: [NTG-context] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

2011-05-23 Thread Matthias Weber
I ran into the exact same problem. Aditya resolved the issue as follows: The wiki info to create an executable file ConTeXt-MKIV.engine containing #!/bin/bash export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel/bin:$PATH export

Re: [NTG-context] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

2011-05-23 Thread Mathieu DUPONT
Awsome ! It entirely solved my problem ! Thank you very much !! Mathieu From: matwe...@indiana.edu Date: Mon, 23 May 2011 15:06:55 -0400 To: ntg-context@ntg.nl Subject: Re: [NTG-context] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua' I ran into the exact same

Re: [NTG-context] Roman numbers for chapters in chapter lines but not in section lines

2011-05-23 Thread Mathieu DUPONT
Ok, me too, now that MkIV is correctly installed with TexShop... Thank you very much Wolfgang ! Mathieu From: schuster.wolfg...@googlemail.com Date: Mon, 23 May 2011 20:07:25 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] Roman numbers for chapters in chapter lines but not

[NTG-context] getmarking and empty chapter number

2011-05-23 Thread Oliver Buerschaper
Hi all, I'm just trying to wrap my mind around why the following doesn't work as I expect: -- \setupheadertexts [] [{\doifsomething{\getmarking[sectionnumber]}{\getmarking[sectionnumber]\enskip}\getmarking[section]}]

[NTG-context] alternating items in an itemization

2011-05-23 Thread Jesse Alama
I'd like to define an itemization that has two kinds of items, representing a dialogue between two people. (One could imagine extending this to more than two.) I'd like to have something like this: \startdialogue \john What did you have for breakfast? \mary I skipped breakfast today. \john

Re: [NTG-context] OT: What reference management software do you use?

2011-05-23 Thread Stefan Müller
On 22.05.2011 22:14, Otso Helenius wrote: using ConTeXt and not LaTeX you maybe also use a nice reference management software the main stream does not know about. But probably it is not related to ConTeXt at all since it is BibTeX in the end. I can warmly recommend Zotero. It works very well

Re: [NTG-context] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

2011-05-23 Thread Aditya Mahajan
On Mon, 23 May 2011, George N. White III wrote: On Mon, May 23, 2011 at 3:13 PM, Mathieu DUPONT mathieudup...@hotmail.com wrote: I followed all these steps to install MkIV on a Mac and to run it with either Smultron or TexShop : http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation

Re: [NTG-context] OT: What reference management software do you use?

2011-05-23 Thread Thomas A. Schmitz
On May 23, 2011, at 10:45 PM, Stefan Müller wrote: +1 for Zotero I tried Mendeley some time ago. It's standalone but sill quite similar to Zotero. Browser-integration works via a special bookmark. It also has an embedded pdf-viewer, which is very neat. Reason for changing to Zotereo were

Re: [NTG-context] OT: What reference management software do you use?

2011-05-23 Thread Stefan Müller
Okay, then I should definitely take a look at JabRef. Anyhow, maybe I'm naive here, but I don't see a reason why Zotero should support BibTeX Strings. If I type the BibTeX file manually, sure. But Zotero reads the (e.g.) Journal names from the corresponding websites, so there should be no need

Re: [NTG-context] OT: What reference management software do you use?

2011-05-23 Thread John Haltiwanger
I hope my question does not come off as too aggressive, but why on earth are we still using BibTeX? Or, more accurately, when can we _stop_ using BibTeX and move onto something that has native UTF-8 support and can also integrate with a reasonable configuration environment such as CSL? What is

Re: [NTG-context] OT: What reference management software do you use?

2011-05-23 Thread Pontus Lurcock
On Mon 23 May 2011, Stefan Müller wrote: Okay, then I should definitely take a look at JabRef. Anyhow, maybe I'm naive here, but I don't see a reason why Zotero should support BibTeX Strings. If I type the BibTeX file manually, sure. But Zotero reads the (e.g.) Journal names from the

Re: [NTG-context] OT: What reference management software do you use?

2011-05-23 Thread Otso Helenius
What is the next step for bibliographies in Context? Surely we won't be chained to BibTeX (which has seemingly been largely been in practice for the sake of BibLaTeX) forever? Perhaps Biber (http://biblatex-biber.sourceforge.net/) could fill the void. It supports Unicode, is BibTeX compatible

Re: [NTG-context] OT: What reference management software do you use?

2011-05-23 Thread Thomas A. Schmitz
On May 23, 2011, at 11:32 PM, John Haltiwanger wrote: I hope my question does not come off as too aggressive, but why on earth are we still using BibTeX? Or, more accurately, when can we _stop_ using BibTeX and move onto something that has native UTF-8 support and can also integrate with

Re: [NTG-context] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

2011-05-23 Thread Hans Hagen
On 23-5-2011 10:58, Aditya Mahajan wrote: Are all mac OS installations 64 bit? Or is osx-intel used in 32bit Mac and osx-64 used in 64bit Mac? It depends on the hardware: the cheaper macbooks can do 64 bit but are forced into a 32 bit kernel (a punishment for buying the cheap model and I

[NTG-context] [bibliography] publications layout

2011-05-23 Thread finkler
Hi there, in my publication list from the bibliography, every word, except the first starts in small case letters. How can I change this? I am using the beta. regards, finkler ___ If your question is of interest to

Re: [NTG-context] [bibliography] publications layout

2011-05-23 Thread Pontus Lurcock
On Tue 24 May 2011, finkler wrote: in my publication list from the bibliography, every word, except the first starts in small case letters. How can I change this? This might help: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=capbibtex Pont

[NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-23 Thread Mathieu DUPONT
Hi, Is there a simple way to obtain the following result in the table of content : ContentsCHAPTER 1Title of chapter21.1Title of section2 (the chapter title underneath its number and left aligned, just like everything else) The following code used to

Re: [NTG-context] getmarking and empty chapter number

2011-05-23 Thread Aditya Mahajan
On Mon, 23 May 2011, Oliver Buerschaper wrote: Hi all, I'm just trying to wrap my mind around why the following doesn't work as I expect: -- \setupheadertexts [] [{\doifsomething{\getmarking[sectionnumber]}{\getmarking[sectionnumber]\enskip}\getmarking[section]}]

[NTG-context] Non-breakable space in export to XML

2011-05-23 Thread Aditya Mahajan
Hi, When exporting to xml (with \setupbackend[export=yes]), the non-breakable space (~) gets exported to regular space 0x32. Shouldn't it rather be exported to 0x00A0? Aditya ___ If your question is of interest

Re: [NTG-context] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

2011-05-23 Thread Mojca Miklavec
On Mon, May 23, 2011 at 22:58, Aditya Mahajan wrote: Are all mac OS installations 64 bit? Or is osx-intel used in 32bit Mac and osx-64 used in 64bit Mac? osx-intel is for 32-bit Macs (still from time when Apple only distinguished between ppc/intel) and osx-ppc for 32-bit PowerPC. However you