[NTG-context] feature request for \getspr{}

2012-06-08 Thread Peter Münster
Hi, It would be nice, if \getspr{} of the m-spreadsheet module could print a comma instead of a dot as decimal-point. For now, I use this workaround: --8---cut here---start-8--- function spreadsheets.get(name,r,c,str) if name == then name = current if

Re: [NTG-context] Error with EBGaramond-Regular

2012-06-08 Thread Hans Hagen
On 8-6-2012 06:16, Khaled Hosny wrote: On Thu, Jun 07, 2012 at 06:14:10PM +0200, Hans Hagen wrote: btw, what are features like cv80 and cv81 supposed to represent? A relatively new OpenType addition. http://www.microsoft.com/typography/otspec/features_ae.htm#cv01-cv99 ok, so nothing really

Re: [NTG-context] feature request for \getspr{}

2012-06-08 Thread Hans Hagen
On 8-6-2012 09:38, Peter Münster wrote: Hi, It would be nice, if \getspr{} of the m-spreadsheet module could print a comma instead of a dot as decimal-point. For now, I use this workaround: --8---cut here---start-8--- function spreadsheets.get(name,r,c,str)

Re: [NTG-context] conditional format of headings

2012-06-08 Thread Jan Pohanka
Far beyond my tex and context skills, but nice :) regards Jan Dne Wed, 06 Jun 2012 14:46:29 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com napsal(a): Am 05.06.2012 um 10:34 schrieb Jan Pohanka: Hello, is it possible to have some conditional format? I mean I'd like to have

Re: [NTG-context] Error with EBGaramond-Regular

2012-06-08 Thread Khaled Hosny
On Fri, Jun 08, 2012 at 09:40:22AM +0200, Hans Hagen wrote: On 8-6-2012 06:16, Khaled Hosny wrote: On Thu, Jun 07, 2012 at 06:14:10PM +0200, Hans Hagen wrote: btw, what are features like cv80 and cv81 supposed to represent? A relatively new OpenType addition.

[NTG-context] directory structure

2012-06-08 Thread Jan Pohanka
Hello, here's next of my newbie questions. I have a template for some sort of documents, lets say a report in one file as an environment. It contains also a definition for a footer with an image. I'd like to have the image on some other path than documents together with the template so I

Re: [NTG-context] feature request for \getspr{}

2012-06-08 Thread Peter Münster
On Fri, Jun 08 2012, Hans Hagen wrote: I've added moduledata.spreadsheets.settings.numberseparator but you have to test it after the next upload. Tested. Thanks! Just a minor comment: \setupspreadsheet[numberseparator=,] would be nicer than

[NTG-context] reading from standard input

2012-06-08 Thread stdin | Alexandre Leray
Hi, I was wondering if there was a way to make context read from stdin instead of reading from a file? cat /path/to/src.tex | context --result=/path/to/result.pdf I'd like to do something like this in python: def generate_pdf(self): src = \starttext

Re: [NTG-context] reading from standard input

2012-06-08 Thread Hans Hagen
On 8-6-2012 14:21, stdin | Alexandre Leray wrote: Hi, I was wondering if there was a way to make context read from stdin instead of reading from a file? cat /path/to/src.tex | context --result=/path/to/result.pdf I'd like to do something like this in python: def generate_pdf(self):

Re: [NTG-context] reading from standard input

2012-06-08 Thread Aditya Mahajan
On Fri, 8 Jun 2012, stdin | Alexandre Leray wrote: Hi, I was wondering if there was a way to make context read from stdin instead of reading from a file? cat /path/to/src.tex | context --result=/path/to/result.pdf I'd like to do something like this in python: def generate_pdf(self):

[NTG-context] Indenting problems

2012-06-08 Thread Bill Meahan
I can't seem to get indenting to work. I've tried various combinations of \setupindenting, \indenting and \indent to no avail. My latest try looks like this: \setuppapersize[letter][letter] \setuplayout [ backspace=0.10\paperwidth, width=0.60\paperwidth,

Re: [NTG-context] Indenting problems

2012-06-08 Thread Aditya Mahajan
On Fri, 8 Jun 2012, Bill Meahan wrote: \setupindenting[next] \setupindenting[next,yes] See http://wiki.contextgarden.net/Indentation#Setting_up_indentation_for_the_whole_document Aditya ___ If your question is

Re: [NTG-context] Indenting problems

2012-06-08 Thread Aditya Mahajan
On Fri, 8 Jun 2012, Aditya Mahajan wrote: On Fri, 8 Jun 2012, Bill Meahan wrote: \setupindenting[next] \setupindenting[next,yes] Sorry, that should be \setupindenting[medium, next, yes] See http://wiki.contextgarden.net/Indentation#Setting_up_indentation_for_the_whole_document (The

Re: [NTG-context] reading from standard input

2012-06-08 Thread stdin | Alexandre Leray
Thank you, I will try this! Alex On 08/06/2012 15:31, Aditya Mahajan wrote: On Fri, 8 Jun 2012, stdin | Alexandre Leray wrote: Hi, I was wondering if there was a way to make context read from stdin instead of reading from a file? cat /path/to/src.tex | context

Re: [NTG-context] Indenting problems

2012-06-08 Thread Bill Meahan
On 06/08/2012 10:20, Aditya Mahajan wrote: On Fri, 8 Jun 2012, Aditya Mahajan wrote: On Fri, 8 Jun 2012, Bill Meahan wrote: \setupindenting[next] \setupindenting[next,yes] Sorry, that should be \setupindenting[medium, next, yes] Yep, found that out before I got a chance to read your

[NTG-context] \externalfigure shows text alongside the picture

2012-06-08 Thread Alfredo Catalina
I am using \externalfigure to show a picture at the desired scale. Instead of providing a number for the width parameter I have made a definition with \def. When I run in mkiv this I get the text 4t alongside the picture. \def\DesignSize#1{3.5cm/4*#1}% \starttext

Re: [NTG-context] \externalfigure shows text alongside the picture

2012-06-08 Thread Wolfgang Schuster
Am 08.06.2012 um 17:10 schrieb Alfredo Catalina: I am using \externalfigure to show a picture at the desired scale. Instead of providing a number for the width parameter I have made a definition with \def. When I run in mkiv this I get the text 4t alongside the picture.

[NTG-context] LuaLaTeX + fontspec: cannot compare documents with Acrobat

2012-06-08 Thread Jörg Weber
(This is an issue I originally posted here: http://tex.stackexchange.com/questions/58760/lualatex-fontspec-cannot-compare-documents-with-acrobat and I cross-posted on the LuaTeX User Mailing list) I use the option compare documents in Adobe Acrobat Pro a lot to highlight changes between

Re: [NTG-context] LuaLaTeX + fontspec: cannot compare documents with Acrobat

2012-06-08 Thread Aditya Mahajan
On Fri, 8 Jun 2012, Jörg Weber wrote: (This is an issue I originally posted here: http://tex.stackexchange.com/questions/58760/lualatex-fontspec-cannot-compare-documents-with-acrobat and I cross-posted on the LuaTeX User Mailing list) I use the option compare documents in Adobe Acrobat Pro

Re: [NTG-context] LuaLaTeX + fontspec: cannot compare documents with Acrobat

2012-06-08 Thread Hans Hagen
On 8-6-2012 17:26, Jörg Weber wrote: (This is an issue I originally posted here: http://tex.stackexchange.com/questions/58760/lualatex-fontspec-cannot-compare-documents-with-acrobat and I cross-posted on the LuaTeX User Mailing list) I use the option compare documents in Adobe Acrobat Pro a lot

[NTG-context] [OT] git-annex: a new option for ConTeXt distribution (kickstarter campaign ends in 4 days)

2012-06-08 Thread Mojca Miklavec
Hello, a few days ago I ran across this: http://www.kickstarter.com/projects/joeyh/git-annex-assistant-like-dropbox-but-with-your-own?ref=category and made a symbolic contribution. However, this project could become one of the convenient options to distribute ConTeXt, in the sense that it

Re: [NTG-context] [OT] git-annex: a new option for ConTeXt distribution (kickstarter campaign ends in 4 days)

2012-06-08 Thread Mojca Miklavec
Actually, my original idea/suggestion was actually slightly different and would probably not need any additional software to be installed, but would not necessary be in scope of this project. I'm still looking for a way to have a smarter rsync server, so that I could use something like    

Re: [NTG-context] LuaLaTeX + fontspec: cannot compare documents with Acrobat

2012-06-08 Thread Jörg Weber
Hans' MWE is not comparable, but Aditya's example (with \setupbodyfont[palatino]) compares just fine! -Ursprüngliche Nachricht- Von: Hans Hagen [mailto:pra...@wxs.nl] Gesendet: Freitag, 8. Juni 2012 16:57 An: mailing list for ConTeXt users Cc: Jörg Weber Betreff: Re: [NTG-context]

Re: [NTG-context] LuaLaTeX + fontspec: cannot compare documents with Acrobat

2012-06-08 Thread Jörg Weber
Some further testing showed that the simple document with palatino compares fine, but with dejavu it is not comparable. With XeLaTeX, setting palatino as the main font, still does not work. -Original Message- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf

Re: [NTG-context] LuaLaTeX + fontspec: cannot compare documents with Acrobat

2012-06-08 Thread Hans Hagen
On 8-6-2012 18:17, Jörg Weber wrote: Hans' MWE is not comparable, but Aditya's example (with \setupbodyfont[palatino]) compares just fine! The page streams look trivial so that cannot be the issue ... BT /F1 11.955168 Tf 1 0 0 1 10.3611 10.5304 Tm [00440044]TJ ET BT /F1 11.955168 Tf 1 0 0 1

[NTG-context] first-setup.sh

2012-06-08 Thread Andy Thomas
Hi all, after a lot of confusion I discovered that first-setup.sh is not Andy-proof. If there is a broken internet connection, the update lua process works and pushes the rsync error message very quickly out of the terminal. I propose to change the rsync line to rsync -rlptv

Re: [NTG-context] first-setup.sh

2012-06-08 Thread Mojca Miklavec
On Fri, Jun 8, 2012 at 6:40 PM, Andy Thomas wrote: Hi all, after a lot of confusion I discovered that first-setup.sh is not Andy-proof. If there is a broken internet connection, the update lua process works and pushes the rsync error message very quickly out of the terminal. I propose to

Re: [NTG-context] first-setup.sh

2012-06-08 Thread Mojca Miklavec
On Fri, Jun 8, 2012 at 6:47 PM, Mojca Miklavec wrote: On Fri, Jun 8, 2012 at 6:40 PM, Andy Thomas wrote: Hi all, after a lot of confusion I discovered that first-setup.sh is not Andy-proof. If there is a broken internet connection, the update lua process works and pushes the rsync error

Re: [NTG-context] back-up.lua; mtx-epub.lua

2012-06-08 Thread Andy Thomas
Hello all, I am thinking about the best way to implement the cover image for the epub. This is a mandatory requirement to work properly. The cover image is not necessarily present in the pdf version of the document and it might be the only item where that is true. So I tried to sort out the

Re: [NTG-context] first-setup.sh

2012-06-08 Thread Aditya Mahajan
On Fri, 8 Jun 2012, Mojca Miklavec wrote: Also keep in mind that users need to update the original script (currently still called first-setup.sh) manually. FWIW, I updated the PKGBUILD for arch linux: https://aur.archlinux.org/packages.php?ID=30398 Aditya

Re: [NTG-context] back-up.lua; mtx-epub.lua

2012-06-08 Thread Aditya Mahajan
Hello all, I am thinking about the best way to implement the cover image for the epub. This is a mandatory requirement to work properly. The cover image is not necessarily present in the pdf version of the document and it might be the only item where that is true. So I tried to sort out the

Re: [NTG-context] LuaLaTeX + fontspec: cannot compare documents with Acrobat

2012-06-08 Thread Aditya Mahajan
On Fri, 8 Jun 2012, Jörg Weber wrote: Some further testing showed that the simple document with palatino compares fine, but with dejavu it is not comparable. With XeLaTeX, setting palatino as the main font, still does not work. ConTeXt uses TeX Gyre Pagella rather than true Palatino. That

Re: [NTG-context] \externalfigure shows text alongside the picture

2012-06-08 Thread Alfredo Catalina
Great! Thanks Wolfgang! On 8 Jun 2012 17:16, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 08.06.2012 um 17:10 schrieb Alfredo Catalina: I am using \externalfigure to show a picture at the desired scale. Instead of providing a number for the width parameter I have made a

Re: [NTG-context] feature request for \getspr{}

2012-06-08 Thread Hans Hagen
On 8-6-2012 12:21, Peter Münster wrote: On Fri, Jun 08 2012, Hans Hagen wrote: I've added moduledata.spreadsheets.settings.numberseparator but you have to test it after the next upload. Tested. Thanks! Just a minor comment: \setupspreadsheet[numberseparator=,] would be nicer than

Re: [NTG-context] back-up.lua; mtx-epub.lua

2012-06-08 Thread Hans Hagen
On 8-6-2012 20:25, Aditya Mahajan wrote: Hello all, I am thinking about the best way to implement the cover image for the epub. This is a mandatory requirement to work properly. The cover image is not necessarily present in the pdf version of the document and it might be the only item where

Re: [NTG-context] back-up.lua; mtx-epub.lua

2012-06-08 Thread Hans Hagen
On 8-6-2012 20:08, Andy Thomas wrote: I am thinking about the best way to implement the cover image for the epub. This is a mandatory requirement to work properly. The cover image is not necessarily present in the pdf version of the document and it might be the only item where that is true.

Re: [NTG-context] first-setup.sh

2012-06-08 Thread Hans Hagen
On 8-6-2012 18:54, Mojca Miklavec wrote: On Fri, Jun 8, 2012 at 6:47 PM, Mojca Miklavec wrote: On Fri, Jun 8, 2012 at 6:40 PM, Andy Thomas wrote: Hi all, after a lot of confusion I discovered that first-setup.sh is not Andy-proof. If there is a broken internet connection, the update lua

Re: [NTG-context] back-up.lua; mtx-epub.lua

2012-06-08 Thread Hans Hagen
On 8-6-2012 23:28, Andy Thomas wrote: Thank you for the suggestions. I will try to implement it, but might need until Sunday. - I've added some keys to \setupexport: author title subtitle firstpage (also new key in mult) lastpage (aso new key in mult) - The title, subtitle and

Re: [NTG-context] back-up.lua; mtx-epub.lua

2012-06-08 Thread Aditya Mahajan
On Sat, 9 Jun 2012, Hans Hagen wrote: On 8-6-2012 23:28, Andy Thomas wrote: Thank you for the suggestions. I will try to implement it, but might need until Sunday. - I've added some keys to \setupexport: author title subtitle firstpage (also new key in mult) lastpage (aso new key in