Re: [NTG-context] Project structure, (simple)font woes
On Mon, Apr 16, 2012 at 14:19, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: You load the simplefonts module but you don’t use it, instead you try to define a typescript the old. See, I *was* being stupid. Now it works perfectly. And I found all the additional info I'll need now in the new Font manual/chapter, book page 34-35. Just hadn't thought to look for it... Thank you! Mari ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MLA Bibliography
On Tue, 2012-04-17 at 02:12 +0200, Mojca Miklavec wrote: Maybe that (with explanation) deserves an entry on the wiki, but you can have a nice exercise. If this doesn't help you, I'll take a look tomorrow or day after tomorrow. Thanks a lot Mojca. Although I'm not confident in my ConTeXt'ing to adapt that for URL use, it's definitely pleasing to know that it is probably possible to do. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to get info about current [sub-...]section?
Hello, one more question - is there a way how to get values of \structurenumber and \structuretitle in the Lua scope? TIA. Best regards, Lukas On Mon, 16 Apr 2012 12:26:52 +0200, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \defineconversionset[default][n,n,a,r,n][n] \starttext \section{A} \starttabulate \NC Number \EQ \structurenumber \NC\NR \NC Title \EQ \structuretitle \NC\NR \stoptabulate \subsection{Aa} \starttabulate \NC Number \EQ \structurenumber \NC\NR \NC Title \EQ \structuretitle \NC\NR \stoptabulate \subsubsection{Aaa} \starttabulate \NC Number \EQ \structurenumber \NC\NR \NC Title \EQ \structuretitle \NC\NR \stoptabulate \stoptext Wolfgang -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Rendering differences between PDF viewers
On 17-4-2012 01:44, Kip Warner wrote: On Sun, 2012-04-15 at 18:00 +0200, Hans Hagen wrote: keep in mind that acrobat has monitor profiles, simulates paper and has different rendering code when transparencies are used I've crawled all over Adobe's proprietary Reader's settings and I can't find anything for adjusting monitor profiles. This is very disappointing because many of the readers of my book will probably be using that shitty renderer. (AR might have flaws but so do all other viewers I've seen.) Is there a small example file? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Rendering differences between PDF viewers
On Tue, 2012-04-17 at 08:54 +0200, Hans Hagen wrote: (AR might have flaws but so do all other viewers I've seen.) I don't doubt it, but something that salient is pretty bad though. The whole document looks just awful. Is there a small example file? Sure. https://www.avaneya.com/temp/Viking_Lander_Remastered.pdf -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MLA Bibliography
On Tue, 2012-04-17 at 02:52 +0200, Jaroslav Hajtmar wrote: Hello Kip. If you're interested, then I send you my simple AMS sorted solution ;-) - only for your inspiration your solution. It's certainly not a step in the right direction, but rather an emergency solution that helped me achieve a result which was strictly required by supervisor of thesis. Here is link to my files: http://public.hajtmar.com/?cesta=JRsVFQdsBhwIWyAdFwQROwZWEh0hHhAfEzETCRgNcRkQAA (There is also a ZIP package) .. with greetings Jaroslav Hajtmar Wow Jaroslav, that looks pretty complex. It does work, but my main issue right now isn't so much with sorting as it is just getting citations to typeset properly. I do thank you for providing the zip though. These are the issues I am having lately: Using \cite[data][key] depicts a full citation which is what I'd like, but I just need it as a footnote. There is probably a way to do this by having \cite do this automatically, otherwise I would have to wrap each call to it using \footnote. I'd like data to be the default format. I tried \setuppublications[alternative=data], but now all I see is an [[error 2]] typeset in the document. Another thing too is it would still be great if any time there was a 'url' tag present in the BibTeX database, automatically the 'title' is typeset interactive such that clicking it invokes the url. I think that is pretty elegant as an ideal situation, but it sounds difficult to implement. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Rendering differences between PDF viewers
On Tue, 17 Apr 2012 08:54:03 +0200 Hans Hagen pra...@wxs.nl wrote: (AR might have flaws but so do all other viewers I've seen.) With one MAJOR difference: for Acrobat reader, one is dependent on the whims and desires of Adobe (and its paying market); the other pdf viewers are open source. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Rendering differences between PDF viewers
On Tue, Apr 17, 2012 at 9:12 AM, Alan BRASLAU alan.bras...@cea.fr wrote: On Tue, 17 Apr 2012 08:54:03 +0200 Hans Hagen pra...@wxs.nl wrote: (AR might have flaws but so do all other viewers I've seen.) With one MAJOR difference: for Acrobat reader, one is dependent on the whims and desires of Adobe (and its paying market); the other pdf viewers are open source. AdobeReader *is* the reference pdf-viewer. Every pdf for general use should be checked at least with the latest AdobeReader under windows, which is currently one of the best pdf viewer. For the (pdf/lua)TeX community, all the viewer based on xpdf/poppler are also important, because (pdf/lua)TeX have a consistent part of code from them, so a bug in xpdf/poppler can be also a bug in (pdf/lua)Tex. Other viewers are useful (mupdf which is now 1.0rc1 , sumatra pdf for windows, just to list a fews) but not as the previous ones. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Rendering differences between PDF viewers
On 17-4-2012 09:31, luigi scarso wrote: On Tue, Apr 17, 2012 at 9:12 AM, Alan BRASLAUalan.bras...@cea.fr wrote: On Tue, 17 Apr 2012 08:54:03 +0200 Hans Hagenpra...@wxs.nl wrote: (AR might have flaws but so do all other viewers I've seen.) With one MAJOR difference: for Acrobat reader, one is dependent on the whims and desires of Adobe (and its paying market); the other pdf viewers are open source. AdobeReader *is* the reference pdf-viewer. Every pdf for general use should be checked at least with the latest AdobeReader under windows, which is currently one of the best pdf viewer. For the (pdf/lua)TeX community, all the viewer based on xpdf/poppler are also important, because (pdf/lua)TeX have a consistent part of code from them, so a bug in xpdf/poppler can be also a bug in (pdf/lua)Tex. Other viewers are useful (mupdf which is now 1.0rc1 , sumatra pdf for windows, just to list a fews) but not as the previous ones. I use acrobat (prof) as reference viewer from the editor and okular (kde windows version) on a second screen as handy constantly open one; I tried a few more but stuck to these two. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Rendering differences between PDF viewers
On Tue, Apr 17, 2012 at 9:42 AM, Hans Hagen pra...@wxs.nl wrote: I use acrobat (prof) as reference viewer from the editor and okular (kde windows version) on a second screen as handy constantly open one; I tried a few more but stuck to these two. For MFLua I need to show 2 pages with thousand of MP points and look on how the curves of the glyph join together. With ctrl-r and magnification of 6400% AdobeReader is the only one that is able to show the pdf without need to take an italian coffe at every refresh. When I need to typeset blackwhite or not-critical-colors document, emacs+xpdf+ two_rows_of_workspace_in_gnome is ok --- no need another monitor: the bottom row has the editor, the top rows has the viewer. Maybe a wide 16:9 screen and the latest Emacs (which can render a pdf into a buffer) are also ok: just split an emacs windows vertically in two, left side is the editor, right side the viewer. I use the shell buffer, so another split is needed. Moving between buffers is not agile but the advantage is to minimize the use of the mouse. Anyway with a laptop it's not a problem to have another monitor, and I use this configuration if I'm under Windows,especially with the sumatra pdf or the ReaderX. For all the rest (critical colors, interactive features, flash into pdf..) the latest AcrobatProfessional is a must. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Rendering differences between PDF viewers
Am 17.04.2012 08:57, schrieb Kip Warner: On Tue, 2012-04-17 at 08:54 +0200, Hans Hagen wrote: (AR might have flaws but so do all other viewers I've seen.) I don't doubt it, but something that salient is pretty bad though. The whole document looks just awful. Is there a small example file? Sure. https://www.avaneya.com/temp/Viking_Lander_Remastered.pdf I might be wrong, but is this color shift not just a 'page group' problem, caused by the transparent PNG? Peter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Rendering differences between PDF viewers
On 17-4-2012 11:53, Peter Rolf wrote: Am 17.04.2012 08:57, schrieb Kip Warner: On Tue, 2012-04-17 at 08:54 +0200, Hans Hagen wrote: (AR might have flaws but so do all other viewers I've seen.) I don't doubt it, but something that salient is pretty bad though. The whole document looks just awful. Is there a small example file? Sure.https://www.avaneya.com/temp/Viking_Lander_Remastered.pdf I might be wrong, but is this color shift not just a 'page group' problem, caused by the transparent PNG? I think so. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Rendering differences between PDF viewers
Am 17.04.2012 12:12, schrieb Hans Hagen: On 17-4-2012 11:53, Peter Rolf wrote: Am 17.04.2012 08:57, schrieb Kip Warner: On Tue, 2012-04-17 at 08:54 +0200, Hans Hagen wrote: (AR might have flaws but so do all other viewers I've seen.) I don't doubt it, but something that salient is pretty bad though. The whole document looks just awful. Is there a small example file? Sure.https://www.avaneya.com/temp/Viking_Lander_Remastered.pdf I might be wrong, but is this color shift not just a 'page group' problem, caused by the transparent PNG? I think so. Hans Hi Kip, give it a try and add this to you document... \startluacode backends= backendsor { } backends.codeinjections = backends.codeinjections or { } function backends.codeinjections.rgbtransparencygroup() local d = lpdf.dictionary { S = lpdf.constant(Transparency), CS = lpdf.constant(DeviceRGB), I = true } lpdf.registerpagefinalizer(function() lpdf.addtopageattributes(Group,d) end) end backends.codeinjections.rgbtransparencygroup() \stopluacode This does not work, if you also use CMYK based graphics/pictures in your document (as this is done document wide). Peter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] doublesided PDF - first and last page singlesided
Hello, someone, who understood what I want to achieve? http://www.imagebanana.com/view/shoayek5/onlinebook.jpg Or more questions? Regards Janis - Copy - Re: [NTG-context] doublesided PDF - first and last page singlesided Jan Heinen Mon, 16 Apr 2012 04:29:20 -0700 Hello, some were guessing, what I want to achieve. I made a screenshot for you: http://www.imagebanana.com/view/shoayek5/onlinebook.jpg It ist the online-version of a printed book. For printing it was ok to have one bookpage on one sheet of paper. For the online-version I want to have two bookpages on one sheet of paper but the coverpage should be alone on one sheet of paper. The online-version is a PDF ... no html. sheet of paper is of course only virtualy meant ... it is online The difficulty is that there a bunch of (hyperlinked) cross-references in the book ... so people can use the pdf interactively. Without this I could put the pages manualy together. Hope that now you know what I want to do. And I am hoping very much for a solution ... Regards Jannis Regards Jannis -- Better organization and integration of all ConTeXT-information: http://wiki.contextgarden.net/Category:ConTeXt All information arround ConTeXt http://wiki.contextgarden.net/Category:Commands Commands !!! new: One-Click from every command in the wiki to the rich resources of the ConTeXt-mailinglist ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Project structure, (simple)font woes
On 16 Apr 2012, at 13:27, luigi scarso wrote: On Mon, Apr 16, 2012 at 1:19 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: BTW: I can give a talk about typescripts and font loading at the next conference when there is interest in this. +1 +1 This is for sure a good idea! Willi make a separate thread for this -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] How to get \structurenumber and \structuretitle by Lua?
Hello, values of number and title of the current (sub...)section can be received by \structurenumber and \structuretitle commands. Is there a way how to get these values by Lua? Suppose: \starttext \section{Sec 1} % Now \structurenumber yields 1 and \structuretitle gives Sec 1 % How to get 1 and Sec 1 from Lua? \startluacode print(0, context[structuretitle]) print(1, context[structuretitle]()) print(2, context.getvalue(structuretitle)) print(3, context.constants(structuretitle)) print(4, context.variables(structuretitle)) \stopluacode \stoptext My attempts don't give any useful value (or some of them are even erroneous). I have no idea how to get the texts 1 and Sec 1. Any hints would be appreciated... Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to get \structurenumber and \structuretitle by Lua?
On 17-4-2012 17:13, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, values of number and title of the current (sub...)section can be received by \structurenumber and \structuretitle commands. Is there a way how to get these values by Lua? structures.sections.getnumber(2) gives the number at level 2 - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Notepad++ configuration
Can anybody tell me how to correctly configure Notepad++ to use ConTeXt? I'm just starting with ConTeXt (and Tex BTW) and Scite seems to be too unpolished. One advantage that I can see of Scite over Notepad++ is that it has some autocompletion, besides that I think the interface and its tools are terrible. Also, is there anyother noteworthy editor that works nicely with standalone context? Preferably with spell-check and auto-completion. Regards, Luiz Borges ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Notepad++ configuration
Hi Luiz I recommend PSPad (http://www.pspad.com/en/) Try it. I can not say that directly support ConTeXt, but TeX quite understand. SciTE seems flawless, but I'm so used to PSPad that I can leave it :-). Jaroslav Hajtmar Dne 17.4.2012 20:31, Luiz Borges napsal(a): Can anybody tell me how to correctly configure Notepad++ to use ConTeXt? I'm just starting with ConTeXt (and Tex BTW) and Scite seems to be too unpolished. One advantage that I can see of Scite over Notepad++ is that it has some autocompletion, besides that I think the interface and its tools are terrible. Also, is there anyother noteworthy editor that works nicely with standalone context? Preferably with spell-check and auto-completion. Regards, Luiz Borges ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Notepad++ configuration
Can anybody tell me how to correctly configure Notepad++ to use ConTeXt? I'm just starting with ConTeXt (and Tex BTW) and Scite seems to be too unpolished. One advantage that I can see of Scite over Notepad++ is that it has some autocompletion, besides that I think the interface and its tools are terrible. Also, is there anyother noteworthy editor that works nicely with standalone context? Preferably with spell-check and auto-completion. Regards, Luiz Borges ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Rendering differences between PDF viewers
On Tue, 2012-04-17 at 09:12 +0200, Alan BRASLAU wrote: With one MAJOR difference: for Acrobat reader, one is dependent on the whims and desires of Adobe (and its paying market); the other pdf viewers are open source. Exactly. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Notepad++ configuration
Hi Jaroslav, Notepad++ also supports TeX out the box, but I don't know if it can be configured to provide autocompletion and which Run Commands I need to create (and how). SciTE and Notepad++ shares the same base (Scintilla), but Notepad++ is far more polished. Regards, Luiz Borges 2012/4/17 Jaroslav Hajtmar hajt...@gyza.cz: Hi Luiz I recommend PSPad (http://www.pspad.com/en/) Try it. I can not say that directly support ConTeXt, but TeX quite understand. SciTE seems flawless, but I'm so used to PSPad that I can leave it :-). Jaroslav Hajtmar Dne 17.4.2012 20:31, Luiz Borges napsal(a): Can anybody tell me how to correctly configure Notepad++ to use ConTeXt? I'm just starting with ConTeXt (and Tex BTW) and Scite seems to be too unpolished. One advantage that I can see of Scite over Notepad++ is that it has some autocompletion, besides that I think the interface and its tools are terrible. Also, is there anyother noteworthy editor that works nicely with standalone context? Preferably with spell-check and auto-completion. Regards, Luiz Borges ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Notepad++ configuration
On Tue, Apr 17 2012, Luiz Borges wrote: Also, is there anyother noteworthy editor that works nicely with standalone context? Preferably with spell-check and auto-completion. Emacs. -- Peter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Notepad++ configuration
On 17-4-2012 21:33, Luiz Borges wrote: Hi Jaroslav, Notepad++ also supports TeX out the box, but I don't know if it can be configured to provide autocompletion and which Run Commands I need to create (and how). SciTE and Notepad++ shares the same base (Scintilla), but Notepad++ is far more polished. Idris is the notepad ++ expert (isn't there a wiki page on it?) One problem I have with notepad ++ is that it's not cross platform while scite runs on win and lin (and on osx but there it somehow lacks lpeg lexer support). Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Notepad++ configuration
Hi Luiz, The PSPad can run many external programs (. BAT. EXE). You can set several compilers for a given file type (ie LaTeX compilation, LuaTEX, ConTeXt, XeTEX, ...) and i autocompletations. This can be set quite easily (three or four click on setup menu ...).. Jaroslav Dne 17.4.2012 21:33, Luiz Borges napsal(a): Hi Jaroslav, Notepad++ also supports TeX out the box, but I don't know if it can be configured to provide autocompletion and which Run Commands I need to create (and how). SciTE and Notepad++ shares the same base (Scintilla), but Notepad++ is far more polished. Regards, Luiz Borges 2012/4/17 Jaroslav Hajtmarhajt...@gyza.cz: Hi Luiz I recommend PSPad (http://www.pspad.com/en/) Try it. I can not say that directly support ConTeXt, but TeX quite understand. SciTE seems flawless, but I'm so used to PSPad that I can leave it :-). Jaroslav Hajtmar Dne 17.4.2012 20:31, Luiz Borges napsal(a): Can anybody tell me how to correctly configure Notepad++ to use ConTeXt? I'm just starting with ConTeXt (and Tex BTW) and Scite seems to be too unpolished. One advantage that I can see of Scite over Notepad++ is that it has some autocompletion, besides that I think the interface and its tools are terrible. Also, is there anyother noteworthy editor that works nicely with standalone context? Preferably with spell-check and auto-completion. Regards, Luiz Borges ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Notepad++ configuration
Hello Hans, There is a page on the wiki (http://wiki.contextgarden.net/Notepad%2B%2B) but it was modified 3 years ago and targets a 2007 version of Notepad++ (4.2). Luiz Borges 2012/4/17 Hans Hagen pra...@wxs.nl: On 17-4-2012 21:33, Luiz Borges wrote: Hi Jaroslav, Notepad++ also supports TeX out the box, but I don't know if it can be configured to provide autocompletion and which Run Commands I need to create (and how). SciTE and Notepad++ shares the same base (Scintilla), but Notepad++ is far more polished. Idris is the notepad ++ expert (isn't there a wiki page on it?) One problem I have with notepad ++ is that it's not cross platform while scite runs on win and lin (and on osx but there it somehow lacks lpeg lexer support). Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Notepad++ configuration
Luiz Borges luizbgom...@gmail.com writes: Can anybody tell me how to correctly configure Notepad++ to use ConTeXt? I'm just starting with ConTeXt (and Tex BTW) and Scite seems to be too unpolished. One advantage that I can see of Scite over Notepad++ is that it has some autocompletion, besides that I think the interface and its tools are terrible. Also, is there anyother noteworthy editor that works nicely with standalone context? Preferably with spell-check and auto-completion. There is also texworks. -- John Devereux ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Comma separating multiple footnotes
On 13-4-2012 15:58, Wolfgang Schuster wrote: I wrote a patch for the footnote code where you can set a symbol between the numbers with \setupnote[footnote][textseparator=…] but it’s decision to include it. ok, will be added - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Notepad++ configuration
Hi Jaroslav, On Tue, 17 Apr 2012 13:43:26 -0600, Hans Hagen pra...@wxs.nl wrote: On 17-4-2012 21:33, Luiz Borges wrote: Hi Jaroslav, Notepad++ also supports TeX out the box, but I don't know if it can be configured to provide autocompletion and which Run Commands I need to create (and how). SciTE and Notepad++ shares the same base (Scintilla), but Notepad++ is far more polished. Idris is the notepad ++ expert (isn't there a wiki page on it?) One problem I have with notepad ++ is that it's not cross platform while scite runs on win and lin (and on osx but there it somehow lacks lpeg lexer support). I'm happy to help you with N++. Even last week I searched to see if something better came along, but nothing yet ... I've implemented some more (experimental) context features to make n++ even more useful, like right-click tagging of commonly used commands etc. Everything else you mentioned is already there. Right now I'm at work but write me privately and let's chat tomorrow if you are available. WRT Hans' important point: N++ has global bidi support, and is much more configurable by non-developers like myself. I simply have not found anything x-platform that comes close. OTOH, I tried to keep most of the ConTeXt shortcuts the same as Hans' Scite configuration. so users can jump from one to the other with ease. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shiʿi Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Notepad++ configuration
On Tue, 17 Apr 2012 13:49:18 -0600, Luiz Borges luizbgom...@gmail.com wrote: Hello Hans, There is a page on the wiki (http://wiki.contextgarden.net/Notepad%2B%2B) but it was modified 3 years ago and targets a 2007 version of Notepad++ (4.2). Actually 2009: http://wiki.contextgarden.net/File:Npp_ConTeXt-Uni.zip But it's about time for an update, which I will aim to do by this Friday. Everybody: If there is anybody who can compile a C++ plugin on this list there are some trivial tweaks we can do to make this even more useful. Just let me know! Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shiʿi Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Rendering differences between PDF viewers
On Tue, 2012-04-17 at 10:54 +0200, Henning Hraban Ramm wrote: Hi Kip, the attached screenshot is from Acrobat Pro 10.1.3 on OSX 10.7. Looks good to me. I guess your color management setup is wrong. Greetlings, Hraban Hey Hrabab. Your looks much better than AR's, but it still doesn't look the same as on my end. It looks much brighter. I wonder if there is some additional information renderer's need, such as a value for gamma correction or a colour profile that I need to stuff in my environment file to make it work? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Rendering differences between PDF viewers
On Tue, 2012-04-17 at 09:31 +0200, luigi scarso wrote: Every pdf for general use should be checked at least with the latest AdobeReader under windows, which is currently one of the best pdf viewer. I think a better approach would be to consider Adobe's PDF specification as reference material, but not implementations of it that we cannot audit that may or may not have done so correctly. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Rendering differences between PDF viewers
On Tue, 2012-04-17 at 11:53 +0200, Peter Rolf wrote: I might be wrong, but is this color shift not just a 'page group' problem, caused by the transparent PNG? I don't know, but even the image on the upper right aside, the rest of the page's colours are off as well. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Comma separating multiple footnotes
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=…] ? Thanks for accepting the patch. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Rendering differences between PDF viewers
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 backends.codeinjections.rgbtransparencygroup() local d = lpdf.dictionary { S = lpdf.constant(Transparency), CS = lpdf.constant(DeviceRGB), I = true } lpdf.registerpagefinalizer(function() lpdf.addtopageattributes(Group,d) end) end backends.codeinjections.rgbtransparencygroup() \stopluacode This does not work, if you also use CMYK based graphics/pictures in your document (as this is done document wide). You know Peter, I must admit. ConTeXt has made me rather cynical at times. I don't know how many times I've tried a snippet of this or that, only to have it do exactly what I hadn't intended. Having said that, every now and then I am blown away when something I never expected to actually get working, gets working. Thank you so much, that worked beautifully. Both Evince (poppler based) and AR look identical now. 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? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Including font with document source
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, the simplefonts module might have a setup for this. The reason why I'd like to consider this is to make it easier on my users who wish to build my document from source without them having to manually download a font and figure out how to install it on their given platform. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bibtex with ConTeXt mkiv
On Tue, 2012-04-17 at 10:41 +0200, Taco Hoekwater wrote: That's weird. It is probably a bug in Hans' reimplementation of the bib module for mkiv. I've cc'd Hans in case he has something to offer on that. But it is fairly simple to work around, using a new macro definition like this: \unexpanded\def\mycite{\dodoubleempty\domycite} \def\domycite[#1][#2]% {\ifsecondargument \footnote{\cite[alternative=data,#1][#2]}% \else \footnote{\cite[data][#1]}% \fi} Then \mycite[key] also inserts the \footnote command automatically, and you can still use \mycite[extras={...}][key]. That works awesome Taco. Thanks a lot. It doesn't matter that it can't accept multiple keys easily and put on their own lines, since it wouldn't make sense if you've got extra={} data to add anyways. Perhaps, but I have never seen it done like that, and it takes more than a bit of programming to make the bibliography module do that. Sorry, no time for that. It's ok. You've done more than enough. No, you can't do that. Hans would have to write an extension for that, I do not even know where to start. Understandable. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___