Re: [NTG-context] Rendering differences between PDF viewers

2012-04-18 Thread Martin Schröder
2012/4/18 Kip Warner k...@thevertigo.com: I stuck it in my environment file. I wonder if there is a safer way of doing this than via inline asm, so to speak. Also, maybe for my benefit, and anybody else having the same problem, you might be able to explain what was happening? Adobe Reader

[NTG-context] Fwd: [tldev] tlmgr multi repository support

2012-04-18 Thread Martin Schröder
-- Forwarded message -- From: Norbert Preining prein...@logic.at Date: 2012/4/18 Subject: [tldev] tlmgr multi repository support To: tl...@tug.org Dear all, with today's update tlmgr multi repository support has entered into the tlcritical repository and the main svn branch. We

Re: [NTG-context] Comma separating multiple footnotes

2012-04-18 Thread Wolfgang Schuster
Am 18.04.2012 um 02:30 schrieb Kip Warner: On Tue, 2012-04-17 at 22:13 +0200, Hans Hagen wrote: ok, will be added Hey Hans. Should it be \setupnote[footnote][textseparator=…], or \setupnotation[footnote][textseparator=…] ? You need \setupnote because the other setting for the number

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-18 Thread luigi scarso
On Wed, Apr 18, 2012 at 8:47 AM, Martin Schröder mar...@oneiros.de wrote: 2012/4/18 Kip Warner k...@thevertigo.com: I stuck it in my environment file. I wonder if there is a safer way of doing this than via inline asm, so to speak. Also, maybe for my benefit, and anybody else having the same

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-18 Thread Hans Hagen
On 18-4-2012 02:49, Kip Warner wrote: On Tue, 2012-04-17 at 12:48 +0200, Peter Rolf wrote: Hi Kip, give it a try and add this to you document... \startluacode backends= backendsor { } backends.codeinjections = backends.codeinjections or { } function

Re: [NTG-context] Including font with document source

2012-04-18 Thread Hans Hagen
On 18-4-2012 03:41, Kip Warner wrote: Hey list, Is there a way to include a set of font files with a ConTeXt document's source files such that a path to the directory containing the font can be directly specified in the environment? I was thinking that if it were possible to do this already,

Re: [NTG-context] How to get \structurenumber and \structuretitle by Lua?

2012-04-18 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello Hans, thanks for the idea. Unfortunately, I'm getting error: \starttext \section{A} \subsection{Aa} \subsubsection{Aaa} \startluacode print(@@@, structures.sections.getnumber(2)) \stopluacode \stoptext ! LuaTeX error

Re: [NTG-context] Including font with document source

2012-04-18 Thread Mojca Miklavec
On Wed, Apr 18, 2012 at 09:41, Hans Hagen pra...@wxs.nl wrote: On 18-4-2012 03:41, Kip Warner wrote: Hey list, Is there a way to include a set of font files with a ConTeXt document's source files such that a path to the directory containing the font can be directly specified in the

[NTG-context] Buffers vs. \def

2012-04-18 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, a question - I'm just curious: What is advantage (or maybe intension) of using buffers over \def? Compare: \def\BufA{This is buffer A.} \startbuffer[BufB] This is buffer B. \stopbuffer \starttext \BufA \getbuffer[BufB] \ifx\BufC\undefined No buffer C.\else\BufC\fi

Re: [NTG-context] Buffers vs. \def

2012-04-18 Thread Hans Hagen
On 18-4-2012 11:48, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, a question - I'm just curious: What is advantage (or maybe intension) of using buffers over \def? better test with \startlines test test \stoplines also, bufferes can be flushed verbatim, as tex, as ... while macros

Re: [NTG-context] MLA Bibliography

2012-04-18 Thread Philipp Gesang
Hi Kip, On 2012-04-13 17:34, Kip Warner wrote: On Fri, 2012-04-13 at 06:51 +0200, Philipp Gesang wrote: (1) I'd like it such that each time I use \cite, the full citation and not just (Some One, 1967) appears in a footnote, rather than inline. Have you tried something along the lines

Re: [NTG-context] Including font with document source

2012-04-18 Thread Hans Hagen
On 18-4-2012 10:44, Mojca Miklavec wrote: Imagine a project which ships both tex sources and fonts together in some SVN repository. It works perfectly fine if fonts are in the same folder as TeX documents, but if one wants some structure and put fonts in another folder, one has to install the

Re: [NTG-context] Including font with document source

2012-04-18 Thread Mojca Miklavec
On Wed, Apr 18, 2012 at 12:26, Hans Hagen wrote: On 18-4-2012 10:44, Mojca Miklavec wrote: Imagine a project which ships both tex sources and fonts together in some SVN repository. It works perfectly fine if fonts are in the same folder as TeX documents, but if one wants some structure and

Re: [NTG-context] Buffers vs. \def

2012-04-18 Thread Wolfgang Schuster
Am 18.04.2012 um 11:48 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, a question - I'm just curious: What is advantage (or maybe intension) of using buffers over \def? Compare: \def\BufA{This is buffer A.} \startbuffer[BufB] This is buffer B. \stopbuffer

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-18 Thread Martin Schröder
2012/4/18 luigi scarso luigi.sca...@gmail.com: On Wed, Apr 18, 2012 at 8:47 AM, Martin Schröder mar...@oneiros.de wrote: Adobe Reader needs a special object in the page for it to handle included pdfs or pngs with transparency correctly on the first page (search for pdftex and page groups.)

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-18 Thread Peter Rolf
Am 18.04.2012 09:38, schrieb Hans Hagen: On 18-4-2012 02:49, Kip Warner wrote: On Tue, 2012-04-17 at 12:48 +0200, Peter Rolf wrote: Hi Kip, give it a try and add this to you document... \startluacode backends= backendsor { } backends.codeinjections =

Re: [NTG-context] Including font with document source

2012-04-18 Thread John Devereux
Mojca Miklavec mojca.miklavec.li...@gmail.com writes: On Wed, Apr 18, 2012 at 12:26, Hans Hagen wrote: On 18-4-2012 10:44, Mojca Miklavec wrote: Imagine a project which ships both tex sources and fonts together in some SVN repository. It works perfectly fine if fonts are in the same folder

Re: [NTG-context] lucida ot

2012-04-18 Thread Mari Voipio
Hello, more font dummy questions about using Lucida OT... On Fri, Apr 13, 2012 at 21:06, Mari Voipio mari.voi...@iki.fi wrote: Now I can at least get started, and figure out about the Blackletter a bit later It turns out that I need it rather sooner than later as it is used in my source of

[NTG-context] [***SPAM***] Resetting Page Backgrounds

2012-04-18 Thread Raymond LeClair
I have written Python classes to automate reading a Tumblr blog and writing a file for processing by ConTeXt. No manual editing of the ConTeXt input file is allowed. Photos are incorporated in a graphic created using METAPOST commands embedded in the ConTeXt input file. Then the graphic is

[NTG-context] Escaping newlines in \usepath

2012-04-18 Thread Marco
Why do the newlines in \usepath to be escaped? % fails \usepath [ chapters, environments, ] % works \usepath [% chapters,% environments,% ] A bug? Marco

[NTG-context] New version of ConTeXt package for Notepad++ available

2012-04-18 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear Gang, I have made a new ConTeXt package for Notepad++ (Npp). Unfortunately the wiki is not letting me update the zip file (Patrick? Mojca?): Upload warning | Files of the MIME type application/zip are not allowed to be uploaded. So for now, here is a dropbox link:

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-18 Thread Kip Warner
On Wed, 2012-04-18 at 08:47 +0200, Martin Schröder wrote: Adobe Reader needs a special object in the page for it to handle included pdfs or pngs with transparency correctly on the first page (search for pdftex and page groups.) pdfTeX tries to fix this automagically for years (1.40.6, I think)

Re: [NTG-context] Comma separating multiple footnotes

2012-04-18 Thread Kip Warner
On Wed, 2012-04-18 at 09:10 +0200, Wolfgang Schuster wrote: You need \setupnote because the other setting for the number in the text re also set with \setupnote. So this should suffice then in the environment? % Implemented by Hans in bleeding edge ConTeXt... \setupnote[footnote]

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-18 Thread Kip Warner
On Wed, 2012-04-18 at 09:38 +0200, Hans Hagen wrote: At some point it can become an option (or semi automatic) but the problem is that we don't know in advance if we operate in rgb or cmyk. I can imagine that when we have enabled cmyk and disabled rgb or reverse, it can be added

Re: [NTG-context] Including font with document source

2012-04-18 Thread Kip Warner
On Wed, 2012-04-18 at 09:41 +0200, Hans Hagen wrote: It can give problems with the same fonts being on the system several times in several versions a simple way to install fonts is to drop everything in texmf-fonts/fonts/data/opentype (or just data, or mayb ewith on elevel more for the

Re: [NTG-context] MLA Bibliography

2012-04-18 Thread Kip Warner
On Wed, 2012-04-18 at 12:27 +0200, Philipp Gesang wrote: Sorry, my bad. I forgot that the builtin “\cite” macro takes bracketed args, not braced ... So, the listing below is tested, make sure you have the file context/bib/sample.bib in $PWD:

Re: [NTG-context] Including font with document source

2012-04-18 Thread Kip Warner
On Wed, 2012-04-18 at 12:26 +0200, Hans Hagen wrote: maybe some day ... as caching is somewhat special then (lookups by names as well) it's non trivial ... technically one can mount an additional pseudo tree already but even then it might conflict when working on shares that are used by