[NTG-context] Where to go????

2012-02-10 Thread Verhaag, G.C.H.M.
Hi ConTeXt user's, Sorry about this question, but I want to find out to whom I should turn with the ConTeXt problem I have? I've started two threads ('Cross-document referencing not working!' and 'Cross-document referencing: How to?!') recently dealing with a cross-document referencing

Re: [NTG-context] Where to go????

2012-02-10 Thread Steffen Wolfrum
Am 10.02.2012 um 10:45 schrieb Verhaag, G.C.H.M.: Hi ConTeXt user's, Sorry about this question, but I want to find out to whom I should turn with the ConTeXt problem I have? I've started two threads ('Cross-document referencing not working!' and 'Cross-document referencing: How to?!')

[NTG-context] UTF conversion via Lua

2012-02-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I have many files with ASCII encoding; this encoding must be kept as these files are processed also by another program. When I work with them in ConTeXt, I need to convert them to UTF. Does Lua (in ConTeXt scope) offer a transformation function or a table of chars [ASCII-code] -

Re: [NTG-context] UTF conversion via Lua

2012-02-10 Thread Thomas A. Schmitz
On 02/10/12 11:22, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I have many files with ASCII encoding; this encoding must be kept as these files are processed also by another program. When I work with them in ConTeXt, I need to convert them to UTF. Does Lua (in ConTeXt scope) offer a

Re: [NTG-context] UTF conversion via Lua

2012-02-10 Thread Philipp Gesang
On 2012-02-10 11:22, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I have many files with ASCII encoding; this encoding must be kept as these files are processed also by another program. When I work with them in ConTeXt, I need to convert them to UTF. Not needed, as every ASCII

Re: [NTG-context] Cross-document referencing not working!

2012-02-10 Thread Otared Kavian
Hi Verhaag, I just tested your example files: both with mkiv and mkii, ConTeXt version 2011.11.29, the cross-referencing does work as expected in Adobe Reader. However when clicking to the link « Een test external », Adobe opens the external file and closes the original file (maybe this is the

[NTG-context] Is it possible to \cite with UPPERCASED author?

2012-02-10 Thread Wagner Macedo
Is it possible to \cite with author in UPPERCASE without touch in my bib file? I couldn't find a tip about this, I already read Bib mod manual. I'm using MkIV. -- Wagner Macedo ___ If your question is of interest to

Re: [NTG-context] UTF conversion via Lua

2012-02-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Well, my information was not correct. There are characters 127 in the file, like ř, š... Each char = 1 byte, and as I'm using Windows with CP 1250, the characters are displayed correctly. But I have problem loading them into ConTeXt. I need to convert the bytes 127 to UTF sequence,

Re: [NTG-context] UTF conversion via Lua (now with attachment)

2012-02-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Well, my information was not correct. There are characters 127 in the file, like ř, š... Each char = 1 byte, and as I'm using Windows with CP 1250, the characters are displayed correctly. But I have problem loading them into ConTeXt. I need to convert the bytes 127 to UTF sequence,

Re: [NTG-context] UTF conversion via Lua

2012-02-10 Thread luigi scarso
2012/2/10 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: ... Well, my information was not correct. There are characters 127 in the file, like ř, š... Each char = 1 byte, and as I'm using Windows with CP 1250, the characters are displayed correctly. But I have problem loading them

Re: [NTG-context] UTF conversion via Lua

2012-02-10 Thread Wolfgang Schuster
Am 10.02.2012 um 12:11 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: ... Well, my information was not correct. There are characters 127 in the file, like ř, š... Each char = 1 byte, and as I'm using Windows with CP 1250, the characters are displayed correctly. But I have problem

Re: [NTG-context] Is it possible to \cite with UPPERCASED author?

2012-02-10 Thread Thomas A. Schmitz
On 02/10/12 11:59, Wagner Macedo wrote: Is it possible to \cite with author in UPPERCASE without touch in my bib file? I couldn't find a tip about this, I already read Bib mod manual. I'm using MkIV. Short answer: yes, that's possible. Longer answer: bib mod manual, section 2.3, \setupcite.

Re: [NTG-context] UTF conversion via Lua

2012-02-10 Thread Philipp Gesang
On 2012-02-10 12:11, Procházka Lukáš Ing. - Pontex s. r. o. wrote: ... Well, my information was not correct. There are characters 127 in the file, like ř, š... Each char = 1 byte, and as I'm using Windows with CP 1250, the characters are displayed correctly. So it wasn’t ASCII after all

Re: [NTG-context] UTF conversion via Lua

2012-02-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... \enableregime - nice idea! Despite this, I'm still not able to make work the example: Test.mkiv \enableregime[cp1250] \starttext \startluacode function loadFile(fn) local fh = assert(io.open(fn, r)) local str = fh:read(*all) fh:close() return str

Re: [NTG-context] UTF conversion via Lua

2012-02-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
One more note - On Fri, 10 Feb 2012 12:15:29 +0100, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Why don’t you let do context the conversion: \starttext this is something in utf8 \startregime[cp1250] \input filewithcp1250encoding \stopregime more text encoded in utf8

Re: [NTG-context] Is it possible to \cite with UPPERCASED author?

2012-02-10 Thread Wagner Macedo
On 10 February 2012 08:23, Thomas A. Schmitz thomas.schm...@uni-bonn.dewrote: Longer answer: bib mod manual, section 2.3, \setupcite. You can hook something like \bgroup\WORD and \egroup into the left= and right= keys. It didn't solve, because when I have an author et al, results in AUTHOR ET

Re: [NTG-context] UTF conversion via Lua

2012-02-10 Thread Wolfgang Schuster
Am 10.02.2012 um 12:32 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: ... \enableregime - nice idea! Despite this, I'm still not able to make work the example: Test.mkiv \enableregime[cp1250] \starttext \startluacode function loadFile(fn) local fh =

Re: [NTG-context] Is it possible to \cite with UPPERCASED author?

2012-02-10 Thread Thomas A. Schmitz
On 02/10/2012 12:58 PM, Wagner Macedo wrote: Longer answer: bib mod manual, section 2.3, \setupcite. You can hook something like \bgroup\WORD and \egroup into the left= and right= keys. It didn't solve, because when I have an author et al, results in AUTHOR ET AL, that is not the

Re: [NTG-context] UTF conversion via Lua

2012-02-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Dunno but it works when you use “regimes.translate” in your code but it’s better to ask Hans for a function in the commands namespace which you can use. \starttext \startluacode function loadFile(fn) local fh = assert(io.open(fn, r)) local str = fh:read(*all) fh:close() str =

Re: [NTG-context] Is it possible to \cite with UPPERCASED author?

2012-02-10 Thread Wagner Macedo
Ah, yes. I'm setuping my own style. As I'm not so good with TeX (if this could be in Lua, will be perfect), I'm using apa, that is the closest to my style. So, all right, I'll try to customize my style, that is the only good solution to this. Thanks by attention, Thomas. -- Wagner Macedo On 10

Re: [NTG-context] UTF conversion via Lua

2012-02-10 Thread Hans Hagen
On 10-2-2012 14:15, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Dunno but it works when you use “regimes.translate” in your code but it’s better to ask Hans for a function in the commands namespace which you can use. \starttext \startluacode function loadFile(fn) local fh =

Re: [NTG-context] Is it possible to \cite with UPPERCASED author?

2012-02-10 Thread Thomas A. Schmitz
On 02/10/2012 03:10 PM, Wagner Macedo wrote: Ah, yes. I'm setuping my own style. As I'm not so good with TeX (if this could be in Lua, will be perfect), I'm using apa, that is the closest to my style. So, all right, I'll try to customize my style, that is the only good solution to this. Thanks

[NTG-context] ConTeXt Standalone contents

2012-02-10 Thread Alan Bowen
I am currently in the process of moving the production of our journal and book series from MKII to MKIV and suspect that I now have items in my personal texmf folder that are no longer needed because they are included in the distribution installed using sh //first-setup.sh --modules=all. So I was

Re: [NTG-context] ConTeXt Standalone contents

2012-02-10 Thread luigi scarso
On Fri, Feb 10, 2012 at 5:33 PM, Alan Bowen bowenala...@gmail.com wrote: I am currently in the process of moving the production of our journal and book series from MKII to MKIV and suspect that I now have items in my personal texmf folder that are no longer needed because they are included in

Re: [NTG-context] ConTeXt Standalone contents

2012-02-10 Thread Alan Bowen
Thanks, Luigi. I did indeed see it. But I am now having second thoughts. If that is the closet one can get to a list, and given how the font-components are scattered, perhaps I should work the other way and build a new personal texmf directory, making additions as needed, rather than trimming the

[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}

Re: [NTG-context] ConTeXt Standalone contents

2012-02-10 Thread luigi scarso
On Fri, Feb 10, 2012 at 6:04 PM, Alan Bowen bowenala...@gmail.com wrote: Thanks, Luigi. I did indeed see it. But I am now having second thoughts. If that is the closet one can get to a list, and given how the font-components are scattered, perhaps I should work the other way and build a new

[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

Re: [NTG-context] ConTeXt Standalone contents

2012-02-10 Thread Alan Bowen
A useful tip, Luigi. Thanks. A. On Fri, Feb 10, 2012 at 12:27 PM, luigi scarso luigi.sca...@gmail.comwrote: On Fri, Feb 10, 2012 at 6:04 PM, Alan Bowen bowenala...@gmail.com wrote: Thanks, Luigi. I did indeed see it. But I am now having second thoughts. If that is the closet one can get

[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 Wolfgang Schuster
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} \stoptext The sample above works right with

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 Wolfgang Schuster
Am 10.02.2012 um 20:06 schrieb 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.

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] Is it possible to \cite with UPPERCASED author?

2012-02-10 Thread Wagner Macedo
On 10 February 2012 12:33, Thomas A. Schmitz thomas.schm...@uni-bonn.dewrote: 1. Edit a local copy of cont-au.bst and insert a function that will make the author name uppercase. bst is infamous for its incomprehensible syntax, but it appears to be possible. this would be the proper way. google

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

2012-02-10 Thread Wolfgang Schuster
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 it helps, 1. You need a empty line or \par at