Re: [NTG-context] [t-vim] Line numbers

2011-02-23 Thread Marco
On 2011-02-22 Aditya Mahajan adit...@umich.edu wrote: Check the latest dev version of t-vim. https://github.com/adityam/filter/blob/dev/t-vim.tex Brilliant. Works like a charm. I stumbled over one thing: When set directory=tmp the temporary files are sent to the tmp directory except the md5

Re: [NTG-context] attachment attaches twice - more research

2011-02-23 Thread Michail Vidiassov
Dear Hans, On Mon, 21 Feb 2011, Hans Hagen wrote: i'll patch lpdf-wid but somehow I get the impression that it's more a viewer issue (the list shown seems to be a merge of filename as well as symbolic names while a clever list builder should look at the referred objects) ... but maybe no one

Re: [NTG-context] attachment attaches twice - more research

2011-02-23 Thread Hans Hagen
On 23-2-2011 11:21, Michail Vidiassov wrote: to say the truth I do not understand what are you talking about :( Attachments have some history in pdf and each version was slightly different. The same is true for widgets. Some of that has to do with security issues, some with the fact that

Re: [NTG-context] MnSymbol in ConText

2011-02-23 Thread C.
Ok, that explains why context is literally ignoring the font. But will the described procedure allow the usage like in the attached example? It's done with latex and the minion package. Looks beautiful to me (except maybe some small scaling issues with the big '(' ) Sorry for the crappy

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Curiouslearn
Anyone? If it cannot be done, I would appreciate if someone can say that. I Thanks you. On Tue, Feb 22, 2011 at 9:16 AM, Curiouslearn curiousle...@gmail.com wrote: Can someone please help me with this? I suppose I have not received an answer because there is no minimal example. I thought it

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Hans Hagen
On 23-2-2011 12:11, Curiouslearn wrote: Anyone? If it cannot be done, I would appreciate if someone can say that. I i have no time now, but you can always do \startTEXpage \hskip1cm\externalfigure[...][page=1] \stopTEXpage -

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Curiouslearn
Thanks very much Hans. I suppose I will have to issue the command for each page separately then (with possibly a loop). I was wondering if there was an option in \copypages or some other command that applied to each page of the PDF file. But having heard from you, now I know there isn't. Thanks

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Thomas A. Schmitz
Curiouslearn (if you're older than 13 years, I'd appreciate a real name), it's not easy to see what you want to do. The included pages, like the document where you want to include them, are letter size. If you simply include them, they will take the entire width. The small margin left and big

Re: [NTG-context] MnSymbol in ConText

2011-02-23 Thread Wolfgang Schuster
Am 23.02.2011 um 11:59 schrieb C.: Ok, that explains why context is literally ignoring the font. But will the described procedure allow the usage like in the attached example? It's done with latex and the minion package. Looks beautiful to me (except maybe some small scaling issues with the

Re: [NTG-context] attachment attaches twice - more research

2011-02-23 Thread Michail Vidiassov
Dear Hans, On Wed, 23 Feb 2011, Hans Hagen wrote: Attachments have some history in pdf and each version was slightly different. as far as I understand ConTeXt now can not link file attachment to arbitrary picture, just to some predefined icons. Am I right? Is it going to change? Soon?

Re: [NTG-context] \stretched in chapter titles in MKII

2011-02-23 Thread Tom
I can actually use this for books that don't have chapter titles because I like how it appears with a font like Iwona-light. Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com -Original Message- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl]

Re: [NTG-context] Setting starting chapter number

2011-02-23 Thread Tom
Thanks, Wolfgang. That did the trick. Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Wolfgang Schuster Sent: Wednesday, February 23, 2011 2:17 AM To: mailing list for ConTeXt users

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Curiouslearn
Hi Thomas, I am preparing notes for my lectures and I would like to include some online news articles (such as NY times) that I save as PDF, in my notes (these notes are for me). When I save these online articles as pdf, I often get a small left margin and big right margin (just as in

Re: [NTG-context] MnSymbol in ConText

2011-02-23 Thread C.
-Ursprüngliche Nachricht- Von: Wolfgang Schuster [mailto:schuster.wolfg...@googlemail.com] Gesendet: Mittwoch, 23. Februar 2011 12:38 An: mailing list for ConTeXt users Cc: Mojca Miklavec Betreff: Re: [NTG-context] MnSymbol in ConText Am 23.02.2011 um 11:59 schrieb C.: Ok,

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Thomas A. Schmitz
On Feb 23, 2011, at 1:41 PM, Curiouslearn wrote: I will try to do this using lua loop. I should learn it. I am learning so many new things currently that I have not had a chance to learn Lua. lua is not all that different from other languages such as python or perl; once you've grasped the

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread luigi scarso
On Wed, Feb 23, 2011 at 3:10 PM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On Feb 23, 2011, at 1:41 PM, Curiouslearn wrote: I will try to do this using lua loop. I should learn it. I am learning so many new things currently that I have not had a chance to learn Lua. lua is not

Re: [NTG-context] including pdf

2011-02-23 Thread Tom
I have a somewhat related question in that I am creating a document that will be used as an appendix to other documents. So, I can control the various aspects of the PDF that is created and use \copypages. What I want to do is number the pages A-1, etc. (or B-1, etc. depending on which appendix it

Re: [NTG-context] [t-vim] Line numbers

2011-02-23 Thread Aditya Mahajan
On Wed, 23 Feb 2011, Marco wrote: I stumbled over one thing: When set directory=tmp the temporary files are sent to the tmp directory except the md5 hashes of external file code, these are put in the working dir. The md5 hashes are in the same directory as the file. So, in case you are

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Aditya Mahajan
On Wed, 23 Feb 2011, Curiouslearn wrote: I will try to do this using lua loop. I should learn it. I am learning so many new things currently that I have not had a chance to learn Lua. I was wondering if Aditya's filter module could be used to use Python instead of Lua, but I suppose I should

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Andreas Harder
Am 23.02.2011 um 16:27 schrieb Aditya Mahajan: On Wed, 23 Feb 2011, Curiouslearn wrote: I will try to do this using lua loop. I should learn it. I am learning so many new things currently that I have not had a chance to learn Lua. I was wondering if Aditya's filter module could be used

Re: [NTG-context] [t-vim] Line numbers

2011-02-23 Thread Marco
On 2011-02-23 Aditya Mahajan adit...@umich.edu wrote: The md5 hashes are in the same directory as the file. So, in case you are including a file from the current directory, the md5 hash will also be there. So it's on purpose. I wasn't sure about that. So, the easiest solution is to move

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Curiouslearn
Thanks to all. This time around I will use the lua route since I know the number of pages and it seems more natural to me...I will understand what it is doing even if I look at the thing after one month. Bharat On Wed, Feb 23, 2011 at 10:27 AM, Aditya Mahajan adit...@umich.edu wrote: On Wed, 23

[NTG-context] \em around \placefigure (bug?)

2011-02-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, the \em statement being placed as the first command of a paragraph to flow around a \placefigure seems to SCRATCH the figure instead of to flow around (bug?). See the minimal example: --- \starttext \placefigure [left,none] {} { \startMPcode draw

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Marco
On 2011-02-23 Andreas Harder ahar...@uni-koblenz.de wrote: \getfiguredimensions[filename] It seems that this is broken with the newest beta – at least for me. Can someone confirm? Confirmed on solaris x86 LuaTeX ver: beta-0.65.0-2010121317 ConTeXt ver: 2011.02.18 17:17 and ConTeXt ver:

Re: [NTG-context] [t-vim] Line numbers

2011-02-23 Thread Aditya Mahajan
On Wed, 23 Feb 2011, Marco wrote: So, the easiest solution is to move (or perhaps simlink) the file to the temporary directory. Then you can include the file tmp/t.tex and the md5 hash will be created in the tmp directory. It will probably work, but is not a nice solution in my opinion. It

Re: [NTG-context] Latest betas break tikz matrix

2011-02-23 Thread Mathieu Boespflug
Hi Aditya, Could be due to the change in catcode of . Try adding \donknuthmode. It doesn't make any difference if I put the \donknuthmode just before \starttikzpicture. But If I put it before the \usemodule[tikz], then I get another error: Package pgfbasematrix: Error! Single ampersand used

Re: [NTG-context] reencode fonts with fonts.trigger

2011-02-23 Thread Ulrike Fischer
Am Tue, 22 Feb 2011 18:05:58 +0100 schrieb Hans Hagen: Khaled had another idea to manipulate (reencode) fonts: He suggested to put a function in fonts.trigger. (Example below). I have some questions regarding this example: 1. Is there a basic flaw in the idea? When triggers are done,

Re: [NTG-context] [t-vim] Line numbers

2011-02-23 Thread Marco
On 2011-02-23 Aditya Mahajan adit...@umich.edu wrote: [...] I do not think that either of these options is worth the trouble. No, definitely not. I am not sure what you want. Do you want [...] context --purgeall This will probably be difficult to implement, since the complete

Re: [NTG-context] reencode fonts with fonts.trigger

2011-02-23 Thread Ulrike Fischer
Am Tue, 22 Feb 2011 20:29:48 +0100 schrieb Hans Hagen: I'll add the following to the luatex-fonts code. It demonstrates how to use postprocessing hooks. (It should work with the current code, unless you define multiple mapping of the same font, for which i've added a patch). The code

Re: [NTG-context] [t-vim] Line numbers

2011-02-23 Thread Aditya Mahajan
On Wed, 23 Feb 2011, Marco wrote: Do you want [...] context --purgeall This will probably be difficult to implement, since the complete directory tree has to be scanned to find xyz-externalfilter-abc-X.___ remains. Actually, `context --purgeall` deteles all the files with .tmp and .md5

Re: [NTG-context] [t-vim] Line numbers

2011-02-23 Thread Marco
On 2011-02-23 Aditya Mahajan adit...@umich.edu wrote: Actually, `context --purgeall` deteles all the files with .tmp and .md5 extension in the current directory. Only the .vimout files remain. Does it on your system? Not on mine. If I compile the example posted earlier in the thread and

Re: [NTG-context] [t-vim] Line numbers

2011-02-23 Thread Aditya Mahajan
On Wed, 23 Feb 2011, Marco wrote: On 2011-02-23 Aditya Mahajan adit...@umich.edu wrote: Actually, `context --purgeall` deteles all the files with .tmp and .md5 extension in the current directory. Only the .vimout files remain. Does it on your system? Not on mine. If I compile the example

[NTG-context] Question regarding registertempfile

2011-02-23 Thread Aditya Mahajan
Hi Hans, Currently, luat-run.lua defines registertempfile as: function luatex.registertempfile(name) name = name .. .mkiv-tmp -- maybe just .tmp if trace_temp_files and not tempfiles[name] then report_tempfiles(registering temporary file: %s,name) end tempfiles[name] =

[NTG-context] git repository in sync with minimals

2011-02-23 Thread Marco
Is the git repository git://gitorious.org/context/context.git in sync with the minimals? If not, is there another revision control system repository for context that is? Marco ___ If your question is of interest to

Re: [NTG-context] Latest betas break tikz matrix

2011-02-23 Thread Mathieu Boespflug
Hi all, just as a followup and for the mailing list archives, the solution is to use both Aditya's suggestion to turn on \donknuthmode, as well replacing the signs with their interpretations, namely \pgfmatrixnextcell. Thank you Aditya for the suggestion. Regards, Mathieu On Wed, Feb 23, 2011

[NTG-context] TaBlE from Lua

2011-02-23 Thread Daniel Lyons
Is there a convenient way to create TaBlE tables from Lua? If so, where can I read about it? Thanks, -- Daniel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] TaBlE from Lua

2011-02-23 Thread Wolfgang Schuster
Am 24.02.2011 um 00:07 schrieb Daniel Lyons: Is there a convenient way to create TaBlE tables from Lua? \startluacode context.starttable({|l|l|}) context.HL() context.NC() context(One) context.NC() context(Two) context.NC() context.AR() context.HL() context.stoptable() \stopluacode Wolfgang

Re: [NTG-context] TaBlE from Lua

2011-02-23 Thread Philipp Gesang
On 2011-02-23 17:07:38, Daniel Lyons wrote: Is there a convenient way to create TaBlE tables from Lua? If so, where can I read about it? Good evening, Daniel! [-1] Isn’t TaBlE deprecated? http://wiki.contextgarden.net/Tables_Overview [0] If you aim for convenience, wouldn’t you rather want

Re: [NTG-context] TaBlE from Lua

2011-02-23 Thread Daniel Lyons
On Feb 23, 2011, at 6:16 PM, Philipp Gesang wrote: On 2011-02-23 17:07:38, Daniel Lyons wrote: Is there a convenient way to create TaBlE tables from Lua? If so, where can I read about it? Good evening, Daniel! [-1] Isn’t TaBlE deprecated? http://wiki.contextgarden.net/Tables_Overview

Re: [NTG-context] TaBlE from Lua

2011-02-23 Thread luigi scarso
On Thu, Feb 24, 2011 at 2:45 AM, Daniel Lyons fus...@storytotell.org wrote: On Feb 23, 2011, at 6:16 PM, Philipp Gesang wrote: On 2011-02-23 17:07:38, Daniel Lyons wrote: Is there a convenient way to create TaBlE tables from Lua? If so, where can I read about it? Good evening, Daniel!

Re: [NTG-context] TaBlE from Lua

2011-02-23 Thread Daniel Lyons
On Feb 23, 2011, at 11:35 PM, luigi scarso wrote: On Thu, Feb 24, 2011 at 2:45 AM, Daniel Lyons fus...@storytotell.org wrote: On Feb 23, 2011, at 6:16 PM, Philipp Gesang wrote: On 2011-02-23 17:07:38, Daniel Lyons wrote: Is there a convenient way to create TaBlE tables from Lua? If so,

Re: [NTG-context] git repository in sync with minimals

2011-02-23 Thread Florian Wobbe
Is the git repository git://gitorious.org/context/context.git in sync with the minimals? It is but it is incomplete compared to the minimals and therefore may not be what you are looking for. Long answer: The repository is in sync with http://pragma-ade.nl/context/current/cont-tmf.zip (see

Re: [NTG-context] Question regarding registertempfile

2011-02-23 Thread luigi scarso
On Wed, Feb 23, 2011 at 10:14 PM, Aditya Mahajan adit...@umich.edu wrote: Hi Hans, Currently, luat-run.lua defines registertempfile as: function luatex.registertempfile(name)    name = name .. .mkiv-tmp -- maybe just .tmp    if trace_temp_files and not tempfiles[name] then