Re: [NTG-context] texexec

2006-05-05 Thread Renaud AUBIN
Nice, I don't have to use texmfstart newtexexec.rb my_doc anymore (and don't have to think to make a stub !!! ;) ) What about the perl script for the future ? Hans Hagen a écrit : Hi, I'd like to make the ruby version of texexec the default. Are there any strong objections to this? Also, i'd

Re: [NTG-context] ConTeXt + MetaUML

2006-05-06 Thread Renaud AUBIN
Hans Hagen a crit: Renaud AUBIN wrote: Hi Hans, The example with clearboxes's crash: this is probably due to the fact that clearboxes hooks into endfig \setupoutput[pdftex] \starttext \startMPinclusions input boxes; \stopMPinclusions \startuseMPgraphic{my_uml_figure} input

[NTG-context] TeXUtil fatal error ?!

2006-05-09 Thread Renaud AUBIN
Hi all, I have upgraded to the latest release and I'm not sure if this problem is due to this update but I obtain at compilation: Transcript written on prd_phd.log. TeXUtil | parsing file prd_phd.tui -- TeXUtil | fatal error in plugin processor MySynonyms (wrong argument type nil

Re: [NTG-context] TeXUtil fatal error ?!

2006-05-09 Thread Renaud AUBIN
Hi Hans, Seems hard to provide a "light" test... I'll try to define the problem more precisely... can you send me a small test file? Hans - Hans Hagen | PRAGMA ADE

[NTG-context] Yet Another French Punctuation Problem ;)

2006-05-09 Thread Renaud AUBIN
Hi Hans, With the latest release the following example doesn't give correct punctuation spaces... (at least here) \setupoutput[pdftex] \mainlanguage[fr] % Fonts settings for ConTeXt \usetypescriptfile[type-buy] \loadmapfile[texnansi-bh-lucida.map] \usetypescript[lucida][texnansi]

[NTG-context] Problem with a french document

2006-05-09 Thread Renaud AUBIN
Hi all, I use a "complex" structure for my document (project, product, environment and components). The project is allmost empty except for the environment and the product declarations. The environment contains all my \usemodule, \setupstuff and fonts settings (I use texnansi because I can't

Re: [NTG-context] Yet Another French Punctuation Problem ;)

2006-05-09 Thread Renaud AUBIN
I have forgotten \useencoding[ffr]... Don't work too... Renaud AUBIN a crit: Hi Hans, With the latest release the following example doesn't give correct punctuation spaces... (at least here) \setupoutput[pdftex] \mainlanguage[fr] % Fonts settings for ConTeXt \usetypescriptfile[type

Re: [NTG-context] Yet Another French Punctuation Problem ;)

2006-05-09 Thread Renaud AUBIN
Just forget previous posts... \useencoding[ffr] \mainlanguage[fr] is the correct sequence !!! I'm just too tired... Sorry Renaud AUBIN a crit: Hi Hans, With the latest release the following example doesn't give correct punctuation spaces... (at least here) \setupoutput[pdftex

Re: [NTG-context] Problem with a french document

2006-05-10 Thread Renaud AUBIN
Hi all, (I have solved the punctuation-related problem) I have tried to make a minimal example but failed in reproducing the problem... Seems to be a problem in my complex environment. Did one of yours have already faced this kind of strange problems with accentuated characters within

Re: [NTG-context] Problem with a french document

2006-05-10 Thread Renaud AUBIN
Sorry but I have just see the = instead of 1 in emacs !!! (Dunno how it was happened) I have finally checked the coding system of all of my file... That's ok now... Take care of your coding system... ;) Cheers, Renaud ___ ntg-context mailing list

Re: [NTG-context] ConTeXt template ?

2006-05-12 Thread Renaud AUBIN
http://wiki.contextgarden.net/Main_Page http://www.pragma-ade.nl/show-man-1.htm nm a écrit : Hi *, I'm new w/ ConTeXt.. Where can i found publication, articles, whitepaper template for ConTeXt ? thanks, nm. ___ ntg-context mailing list

Re: [NTG-context] Textext Question

2006-05-26 Thread Renaud AUBIN
draw + drawdblarrow = ?! \setupoutput[pdftex] \runMPgraphicstrue \setuppapersize[S6][S6] \setupcolors[state=start] \startMPinclusions numeric u; u=.8cm; path AX; AX = (10u,0) -- (0,0) -- (0,10u); \stopMPinclusions \starttext \startuseMPgraphic{dummy} pickup pencircle scaled 1mm;

Re: [NTG-context] Fonts problem

2006-05-31 Thread Renaud AUBIN
Hi Jean, Your example works here... I'm not a font guru but it is maybe more interesting for you to use type1 fonts. Depending on which linux distro you use, you have to tell tetex to use type1. On my debian testing box, I have uncommented Map lm.map in /etc/texmf/updmap.d/10tetex-base.cfg and

Re: [NTG-context] Fonts problem

2006-05-31 Thread Renaud AUBIN
Sorry for my first post, I have misunderstood the problem... I have checked your example with texexec --dvi + viewing it in xdvi: no problem at all... The complete log to see what happened: ___ [EMAIL PROTECTED]:~/ConTeXt/temp$ texexec

Re: [NTG-context] Fonts problem

2006-05-31 Thread Renaud AUBIN
Can you upload the pdf on a website (instead of the ML)? IMHO, problems with accentuated chars can come from the use of heterogeneous encodings (emacs unicode + context ec for example as I experienced). Check the encoding of your input file with file test.tex, if you get something like ISO-8859

Re: [NTG-context] Fonts problem

2006-05-31 Thread Renaud AUBIN
There is apparently a big problem in your installation but you already known that... I have not used http://wiki.contextgarden.net/TeTeX_3.0_installation since I use debian (apt-get rules). Consequently, we are on the bounds of my knowledge on this problem... I assume you need LaTeX (like me :( ),

[NTG-context] Printing labels with ConTeXt

2006-05-31 Thread Renaud AUBIN
Hi all, I need to print labels on this kind of paper: - A4 page with 24 labels (70mm x 36mm) - 3 columns and 8 rows - 4.5mm top margin, 4.5mm bottom margin I use: \definepapersize[DECAdry-70x36][width=70mm,height=36mm] \setuppapersize[DECAdry-70x36][A4] \setuppaper[nx=3,ny=8]

Re: [NTG-context] Fonts problem

2006-05-31 Thread Renaud AUBIN
I don't know well gentoo but I believe that this distro is based on debian stable = tetex 2 Jean Magnan de Bornier a écrit : Renaud: I looked at the page about a debian install, it should be easy to adapt this to other distros, like gentoo for instance which has up to date tetex versions.

Re: [NTG-context] Can C-Pretty-Printing module for MKIV be installed through first-setup

2012-06-17 Thread Renaud AUBIN
Le 11/06/2012 13:48, Peter Münster a écrit : On Mon, Jun 11 2012, Jan Pohanka wrote: I'd like to use C-Pretty-Printing module. As it is listed on http://modules.contextgarden.net I thought it should be installed by first-setup.sh --modules=all. No, it shouldn't, because it doesn't work with

[NTG-context] pretty-java: a MkIV java syntax highlighting third party module

2013-04-28 Thread Renaud Aubin
Hello, I'm working on a LPeg-based Java syntax highlighting module → see https://github.com/nibua-r/pretty-java for testing and feedbacks. Cheers, Renaud ___ If your question is of interest to others as well, please

[NTG-context] Verbatim Text (esp. XML/XSL + opportunity of a brand new support for the RelaxNG Compact syntax)

2008-10-17 Thread Renaud Aubin
Hi Folks ! I'm currently writting a technical report in which I need to type some XML an non-XML text. Sample file (xml_test.tex): I have some custom XML text (trivial) + a not-so-complicated xsl transformation (a part is included within the test file). I know there is verb-xml but... I need

Re: [NTG-context] Verbatim Text (esp. XML/XSL + opportunity of a brand new support for the RelaxNG Compact syntax)

2008-10-20 Thread Renaud Aubin
Taco, Aditya, Thanks, t-vim will do the job for the end of october... Even if I will surely give a try to MarkIV on this particular point. Regards, Renaud Taco Hoekwater a écrit : Hi Renaud, Renaud Aubin wrote: Hi Folks ! I'm currently writting a technical report in which I need to type

[NTG-context] Color rendering transparency with metapost

2008-10-31 Thread Renaud Aubin
Hi, I have some trouble using a gradient background (solid) with a transparent element : \startMPinclusions def test_shade (expr a, b) = pickup pencircle scaled 1mm ; color ca ; ca := \MPcolor{a} ; color cb ; cb := \MPcolor{b} ; color cc ; cc := \MPcolor{c} ; sh :=

Re: [NTG-context] Color rendering transparency with metapost

2008-10-31 Thread Renaud Aubin
Thank Luigi for your response, the problem is that the background color rendering isn't the same if you comment out or not the following line : draw fullcircle scaled 10cm shifted (0cm,0.25*\overlayheight) withcolor transparent(1,0.5,white) withpen pencircle scaled 2cm; After some

Re: [NTG-context] Color rendering transparency with metapost

2008-10-31 Thread Renaud Aubin
I must add that I have defined the a color with cmyk. Renaud Aubin a écrit : Thank Luigi for your response, the problem is that the background color rendering isn't the same if you comment out or not the following line : draw fullcircle scaled 10cm shifted (0cm,0.25*\overlayheight

Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Renaud Aubin
See http://www.nibua-r.org/ConTeXt/PhD/aubin-slides.pdf as a use case (pages 17 and 25). Let me know if you want the full source code... Renaud Renaud Aubin a écrit : Hi Michail, See http://www.nibua-r.org/ConTeXt/devel/ Regards, Renaud

Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Renaud Aubin
Blender (+type1 font) then Right Hemisphere for the conversion... luigi scarso a écrit : On Sat, Nov 22, 2008 at 6:23 PM, Renaud Aubin [EMAIL PROTECTED] wrote: Hi Michail, See http://www.nibua-r.org/ConTeXt/devel/ Regards, Renaud How do you make this http://www.nibua-r.org

Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Renaud Aubin
Oups... too fast : + using .3ds as an intermediate format : blend -- 3ds -- u3d Renaud Aubin a écrit : Blender (+type1 font) then Right Hemisphere for the conversion... ___ If your question is of interest

Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Renaud Aubin
Blender is... but u3d export is not possible with open source tools in 2006/ early 2007 luigi scarso a écrit : On Sat, Nov 22, 2008 at 6:53 PM, Renaud Aubin [EMAIL PROTECTED] wrote: Blender (+type1 font) then Right Hemisphere for the conversion... Nothing open source

Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Renaud Aubin
See http://www.blender.org/ and http://www.righthemisphere.com/products/dexp/de_std.html (I've used an old windows version of Deep Exploration) Idris Samawi Hamid ادريس سماوي حامد a écrit : On Sat, 22 Nov 2008 10:53:33 -0700, Renaud Aubin [EMAIL PROTECTED] wrote: Blender (+type1 font

Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Renaud Aubin
Great, i've googlized and found http://artandlogic.blogspot.com/2008/08/blender-to-acrobat-3d.html then http://meshlab.sourceforge.net/ It's worth to give a try to this CAD chain! Renaud Aubin a écrit : Blender is... but u3d export is not possible with open source tools in 2006/ early 2007

Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Renaud Aubin
See http://www.blender.org/ and http://www.righthemisphere.com/products/dexp/de_std.html (I've used an old windows version of Deep Exploration) Idris Samawi Hamid ادريس سماوي حامد a écrit : On Sat, 22 Nov 2008 10:53:33 -0700, Renaud Aubin [EMAIL PROTECTED] wrote: Blender (+type1 font

[NTG-context] TikZ, MKIV and font switching

2009-04-07 Thread Renaud Aubin
Hi folks, I would use TikZ/mindmap to make some figures for a paper. Since I have to install TikZ, I have updated my minimals yesterday and began to really use MKIV. My problem is that when I process \enableregime[utf8] \useencoding[ffr] \mainlanguage[fr] \usetypescript[helvetica][texnansi]

Re: [NTG-context] TikZ, MKIV and font switching

2009-04-08 Thread Renaud Aubin
Mojca Miklavec a écrit : I don't know about helvetica since it's broken at the moment, but with \usetypescript[palatino] \setupbodyfont[palatino,12pt] the labels inside the mindmap are already typeset in gyre palatino here. What version of ConTeXt/LuaTeX/TikZ do you use? In MKII the

Re: [NTG-context] 3D PDF support (AKA asymptote support)

2009-06-05 Thread Renaud Aubin
Michail Vidiassov a écrit : While MeshLab may be of great use if you have to convert old data or process output from some existing tool, in cases when you make your model from scratch by hand or create 3D model file in your own program Asymptote may be a better choice since it supports newer

[NTG-context] Mark IV Syntax highlighting support

2009-06-29 Thread Renaud Aubin
Hi folks, Where to start with this topic (current state in Mark IV, roadmap, ...) ? Renaud ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Mark IV Syntax highlighting support

2009-06-29 Thread Renaud Aubin
./tex/texmf-context/tex/context/base/verb-.*\.lua ! Renaud Aubin a écrit : Hi folks, Where to start with this topic (current state in Mark IV, roadmap, ...) ? Renaud ___ If your question is of interest to others

Re: [NTG-context] Mark IV Syntax highlighting support

2009-07-01 Thread Renaud Aubin
= from pret-.*\.lua, http://wiki.contextgarden.net/Verbatim_text#Your_own_formatter and http://wiki.contextgarden.net/Custom_pretty_printer;, author= Renaud AUBIN, copyright = to be defined, license = to be defined } local utf = unicode.utf8 local utfcharacters, utfvalues

Re: [NTG-context] pdf with password/security

2009-07-03 Thread Renaud Aubin
You can also use podofoencrypt (http://podofo.sourceforge.net/) Renaud Hans Hagen a écrit : Ciro Soto wrote: Hi all, I am planning to offer a poetry book in electronic format as well as paper format. How would I produce the pdf file with security/password using context? it's something one

Re: [NTG-context] pretty C with MKIV

2009-07-07 Thread Renaud Aubin
Hello Peter, Does the following work for you ? \definevimtyping[XML][syntax=xml] \definetypevimfile[typeXML][syntax=xml] [...] \typeXML{./xml_samples/sample.xml} Renaud Peter Münster a écrit : On Tue, 7 Jul 2009, Peter Münster wrote: (I've tried t-vim.tex, but it seems to be broken:

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread Renaud Aubin
R. Bastian a écrit : 2. is there a way to translate Latex - Context ? PS: i dont like metapost Salut, From my humble experience, I have faced the very same dilemna (back in 2003) and... I have switched to metapost... Did you try to use metapost + metaobj ? See sections 10.3 and 7.7 of

Re: [NTG-context] XSL-FO to PDF?

2010-11-13 Thread Renaud AUBIN
Uh ? Give FOP a try… http://xmlgraphics.apache.org/fop/1.0/index.html Could you describe your target chain ? XML → FO → PDF ? Renaud Le 10/11/2010 00:22, Peter Davis a écrit : Is there some recent information on using XML, and specifically XSL-FO, with ConTeXt? The pages on the contextgarden

Re: [NTG-context] XML pretty printer?

2010-11-13 Thread Renaud AUBIN
I'm currently working on a pret-xml.lua if you are interested… I have started it last year, forgot it, then began to rewrite it from scratch last week… I would like to obtain a rendering similar to oXygen xml. That is a work in progress, but you can check it out:

Re: [NTG-context] XML pretty printer?

2010-11-13 Thread Renaud AUBIN
Some precision. I don't think you could consider any pret-xml.lua as an example of XML processing. What processing would you apply to your XML file? Are considering to use directly lua to process your XML inputs? Sorry, but that's not clear to me… You are certainly aware of the fact that there is

Re: [NTG-context] XML pretty printer?

2010-11-13 Thread Renaud AUBIN
around ConTeXt, and XML handling in particular, so I thought a pretty printer would be a good example. Thank you! -pd On Sat, Nov 13, 2010 at 6:23 AM, Renaud AUBIN au...@nibua-r.org wrote: Some precision. I don't think you could consider any pret-xml.lua as an example of XML processing

Re: [NTG-context] XML pretty printer?

2010-11-13 Thread Renaud AUBIN
to improve… Renaud Le 13/11/2010 14:29, Renaud AUBIN a écrit : I'm currently working on my pret-xml… just implementing attributes parsing… I will upload that asap (even if my lua is… really bad ;) ) My two cents: depending of the complexity of the underlying data model tranported by your xml

[NTG-context] Dummy buff-ver.mkiv question

2010-11-13 Thread Renaud AUBIN
Hi folks, From http://wiki.contextgarden.net/Verbatim_text#Defining_your_own_set_of_colors and considering the following code snippet from buff-ver.mkiv \definepalet [colorpretty] [ prettyone=colorprettyone, prettytwo=colorprettytwo, prettythree=colorprettythree,

Re: [NTG-context] XML pretty printer?

2010-11-13 Thread Renaud AUBIN
don't remember if that's due to my configuration or if that's the default behavior… The color used is indeed the default one… See my last post [NTG-context] Dummy buff-ver.mkiv question. Renaud Le 13/11/2010 21:18, Thomas Schmitz a écrit : On Sat, 13 Nov 2010 19:39:31 +0100 Renaud AUBIN au

Re: [NTG-context] XML pretty printer?

2010-11-13 Thread Renaud AUBIN
:32:09 +0100 Renaud AUBIN au...@nibua-r.org wrote: The local pret-xml.lua is used when running context on pret-xml_test from the basedir. To get the original pret-xml.lua and check the differences, just rename pret-xml.lua to pret-xml.new and re-run context… You should see some differences

Re: [NTG-context] Dummy buff-ver.mkiv question

2010-11-13 Thread Renaud AUBIN
Thanks Peter, I should have found that myself, no comment ;) … Renaud Le 13/11/2010 23:04, Peter Münster a écrit : On Sat, Nov 13 2010, Peter Münster wrote: On Sat, Nov 13 2010, Renaud AUBIN wrote: I conclude that we are limited to a four colors palet for our custom pretty printer

Re: [NTG-context] XSL-FO to PDF?

2010-11-14 Thread Renaud AUBIN
regards, Renaud Le 14/11/2010 22:36, Peter Davis a écrit : On Sun, Nov 14, 2010 at 4:31 PM, Hans Hagen pra...@wxs.nl wrote: On 13-11-2010 4:14, Peter Davis wrote: On 11/13/10 6:03 AM, Renaud AUBIN wrote: Uh ? Give FOP a try… http://xmlgraphics.apache.org/fop/1.0/index.html

Re: [NTG-context] XML pretty printer?

2010-11-14 Thread Renaud AUBIN
Hi folks, For imormation, I'm curently rewritting the pret-xml.lua file pointed on that list previously… So don't miss too much time to review! I'm using LPEG now and I hope to submit something operational last week for those interested… The result will be far better than the previous version…

Re: [NTG-context] XML pretty printer?

2010-11-20 Thread Renaud AUBIN
… An analogy: in memory tree xml vs. parser… It's far from perfect but you are welcome to use, review and give feedbacks… (… and OK, it's not packaged as a third party module yet…) Renaud Le 14/11/2010 23:54, Renaud AUBIN a écrit : Hi folks, For imormation, I'm curently rewritting the pret-xml.lua

Re: [NTG-context] XML pretty printer?

2010-11-20 Thread Renaud AUBIN
Ooops, it's not a detail but I need to precise that if the xml input is not valid (from my custom pret-xml pov), nothing will be processed! Renaud Le 20/11/2010 20:40, Renaud AUBIN a écrit : Hi ConTeXters, I have a first operational version of my lpeg-based xml pretty printer: http

Re: [NTG-context] XML pretty printer?

2010-11-20 Thread Renaud AUBIN
+ zip and tar.gz available http://www.nibua-r.org/gitsnap/ I have a first operational version of my lpeg-based xml pretty printer: http://www.nibua-r.org/gitsnap/pret-xml/ ___ If your question is of interest

[NTG-context] Toward the use of inleft for custom secti on's command… or not…

2010-11-24 Thread Renaud AUBIN
Hello there, Thanks to a hdd crash, I need to rewrite an old document of mine from scratch (after setting up a software RAID on my machine). Unfortunately, I let my ConTeXt faculties to rust… I must deal with several problems (but I will apply the good old divide and conquer rule). So, here is

Re: [NTG-context] \todo

2010-11-25 Thread Renaud AUBIN
[OT / Emacs-related] It would be nice to have a ConTeXt export for org-mode! Is there any org-mode users? Le 23/11/2010 20:46, Procházka Lukáš a écrit : ... OK, thanks both for the inspiration. Lukas ___ If your

Re: [NTG-context] \todo

2010-11-25 Thread Renaud AUBIN
Hi Jörg, It would be nice to have a native ConTeXt support… Ok ⇒ on my someday.org ;) I'm interested by your (even-still-very-primitive) ruby script… Renaud, implementing GTD with org-mode for 3 months Yes. I have been using org-mode for about 2 years, and I'm now doing everything except

[NTG-context] \inmargin / full textwidth line interac tion (was Toward the use of inleft…)

2010-11-25 Thread Renaud AUBIN
Since my previous post doesn't seem inspiring at all (sniff), here is a simplified and more precise description of what need to be done: 1 − I need a full textwidth black line as separator with a short title centered vertically at left 2 − This separator must be followed by text, and the

[NTG-context] BUG? Strange behavior (vertical space added!!!) with accentuated letters (was \inmargin / full textwidth line interaction)

2010-11-26 Thread Renaud AUBIN
Hi Wolfgang, First, thank you! Now, if I use some accentuated letters in title (the É just after the second subsection and before \input zapf), there is an unwanted vertical space… Bug, feature or misuse??? Could you confirm the bug? (the resulting pdf:

Re: [NTG-context] BUG? Strange behavior (vertical space added!!!) with accentuated letters (was \inmargin / full textwidth line interaction)

2010-11-26 Thread Renaud AUBIN
Ok, that seems to be due to grid=yes… Le 26/11/2010 20:25, Renaud AUBIN a écrit : \setupbodyfont[10pt] \setuplayout [leftedge=0mm, leftmargin=45mm, rightedge=0mm, rightmargin=0mm, backspace=60mm, topspace=10mm, bottomspace=10mm, header=0mm, headerdistance=0mm

Re: [NTG-context] new beta

2010-11-26 Thread Renaud AUBIN
The one I'm missing here is ! I can't find file `v-parsed-xml.mkiv'. to be read again \relax Confirmed here ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Strange behavior (vertical space added!!!) with accentuated letters

2010-11-27 Thread Renaud AUBIN
Thanks to Wolgang and Otared, My initial problem has disappeared using the latest beta 2010.11.26 22:49. I don't really know why but it works ;) By the way, in the mean time, I've fixed that using the default grid policy (i.e. removing grid=yes in setuplayout). Cheers, Renaud Le 27/11/2010

Re: [NTG-context] how to flip even pages upside down??

2010-11-27 Thread Renaud AUBIN
Hi Leo, Uh? Use the right printer driver and set the automatic duplex mode to short edge/side? Do you have any good reason to do that directly with your pdf instead of using the printer configuration? If yes, then http://wiki.contextgarden.net/Reference/en/setuparranging and

Re: [NTG-context] pret-c.lua - v-c.lua

2010-12-03 Thread Renaud AUBIN
Hi Peters, I can either help or port if needed… Cheers, Renaud Peter Münster pmli...@free.fr a écrit : Hello, Do I have to learn lpeg now, in order to port pret-c.lua to v-c.lua, or is there a simpler way? Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] pret-c.lua - v-c.lua

2010-12-04 Thread Renaud AUBIN
Ok, I have made a first version available as a Dropbox ressource: http://dl.dropbox.com/u/5289718/u-pretty-c.7z It certainly needs some improvements (I have some in mind since I have tested it on time.h ⇒ ouch). Feedbacks are welcome since I'll not use it intensively in a near future. Peter:

Re: [NTG-context] pret-c.lua - v-c.lua

2010-12-05 Thread Renaud AUBIN
Hi Peter, Yes, I've tested with my standard test.tex and it's really good, even more coloring than my pret-c.lua ! I have added variable name coloring as in GNU/Emacs + { } block delimiters coloring (that's straightforward when starting from Hans's v-lua.lua). I let you add your copy(left)

[NTG-context] C Pretty Printer module for ConTeXt Mark IV (from 2010.11.26 22:49 version)

2010-12-05 Thread Renaud AUBIN
Hi folks, A new c pretty printer is available on gitorious http://gitorious.org/c-pretty-printer-module-for-context-mark-iv. It is a LPeg rewritting of the previous pret-c.lua from Peter Münster. Feedbacks and reviews are welcome. Cheers, Renaud

Re: [NTG-context] pret-c.lua - v-c.lua

2010-12-06 Thread Renaud AUBIN
20:40 nibua-r committed 9c5877c Color abstraction. 20:33 nibua-r committed 2a2a9e1 The test file now use t-pretty-c instead of u-pretty-c. 20:31 nibua-r committed 921eca5 u-pretty-c renamed to t-pretty-c as suggested by Hans. Colors are now protected using the C prefix. Concerning the color

Re: [NTG-context] colors for pretty-printing

2010-12-07 Thread Renaud AUBIN
You don't need that. There is already a standard interface for color and style configuration. Example: \setupstartstop[CSnippetComment][color=blue] So you can simplify t-pretty-c.mkiv: \unprotect \setupcolor[ema] \definestartstop [CSnippetName] [\c!color=darkgoldenrod,

Re: [NTG-context] colors for pretty-printing

2010-12-10 Thread Renaud AUBIN
I need to not redefine. Quoting Hans: maybe you should protect the color names as for instance redefining darkred might not be the intention In fact, I just need to find unique names for my colors to not overload the existing ones… Renaud I still don't understand. Where do you need to

Re: [NTG-context] colors for pretty-printing

2010-12-10 Thread Renaud AUBIN
Ok but then why did you define a specific color palet? local function color_init() color = 0 local def_colors = -- \setupcolor[ema] introduces new line... \\definecolor [darkred] [r=.545098] .. \\definecolor [orchid][r=.854902,g=.439216,b=.839216] ..

Re: [NTG-context] colors for pretty-printing

2010-12-10 Thread Renaud AUBIN
Done and committed on http://gitorious.org/c-pretty-printer-module-for-context-mark-iv In your t-pretty-c.mkiv you can use \setupcolor[ema] without problems. ___ If your question is of interest to others as well,

[NTG-context] Custom XML Pretty Printer

2010-12-18 Thread Renaud AUBIN
Hi there, See http://gitorious.org/xml-pretty-printer-module-for-context for testing. As soon as I have made more testing and some improvements (inc. cleaning up), I'll submit to tlcontrib. Cheers, Renaud ___ If

Re: [NTG-context] ConTeXt does not execute MetaPost (in debian experimental)

2011-01-10 Thread Renaud AUBIN
Hi, \starttext % \systemcommandmode % (doesn't work here, i.e. strange ^ char with texexec and not defined by mkiv) \startMPcode draw fullcircle scaled 3cm; \stopMPcode \stoptext % (missing in your code snippet) Tested on the following ConTeXt minimals version on an up-to-date debian (amd64

Re: [NTG-context] ConTeXt does not execute MetaPost (in debian experimental)

2011-01-10 Thread Renaud AUBIN
, 10 Jan 2011, Renaud AUBIN wrote: \stoptext % (missing in your code snippet) Tested on the following ConTeXt minimals version on an up-to-date debian (amd64 unstable/experimental hybrid). MTXrun | main context file: /usr/local/ConTeXt_version_2010.11.26/tex/texmf-context/tex/context/base

Re: [NTG-context] ConTeXt does not execute MetaPost (in debian experimental)

2011-01-10 Thread Renaud AUBIN
to do the job for you… Renaud Le 10/01/2011 19:36, Renaud AUBIN a écrit : Hi Aditya, Hum… OK, my english is not so good but Tested on the following **ConTeXt minimals** version on an up-to-date debian seems clear to me. And, you are right: /usr/local is one of the place to install stuff

Re: [NTG-context] Custom XML Pretty Printer

2011-01-16 Thread Renaud AUBIN
Now available on tlcontrib: http://tlcontrib.metatex.org/cgi-bin/package.cgi/ruid=4591828845/action=view/id=388 Cheers, Renaud Le 18/12/2010 23:39, Renaud AUBIN a écrit : Hi there, See http://gitorious.org/xml-pretty-printer-module-for-context for testing. As soon as I have made more

Re: [NTG-context] Custom XML Pretty Printer

2011-01-17 Thread Renaud AUBIN
line/space stuffs' tricks since the resulting code could be cleaner and leaner too… Cheers, Renaud Le 16/01/2011 23:06, Aditya Mahajan a écrit : On Sun, 16 Jan 2011, Renaud AUBIN wrote: Now available on tlcontrib: http://tlcontrib.metatex.org/cgi-bin/package.cgi/ruid=4591828845/action=view/id

Re: [NTG-context] new beta

2011-01-18 Thread Renaud AUBIN
Hi Hans, On Linux with debian minimals: l.42 \loadmarkfile{catc-ini} Please type another input file name: ! Emergency stop. to be read again \relax l.42 \loadmarkfile{catc-ini} Cheers, Renaud Le 18/01/2011 19:55, Hans Hagen a écrit : Hi, I

Re: [NTG-context] new beta

2011-01-18 Thread Renaud AUBIN
Ok, using /usr/local/ConTeXt_version_2010.11.26 will not please the resolver or something else because of the dot… mv do the job It would be nice to think of those like me who use dot into their naming scheme… ;) Renaud Le 18/01/2011 20:13, Renaud AUBIN a écrit : Hi Hans, On Linux

Re: [NTG-context] Custom XML Pretty Printer

2011-01-18 Thread Renaud AUBIN
Hi Aditya, I'm working on that… When do you need it? Cheers, Renaud Le 16/01/2011 23:06, Aditya Mahajan a écrit : On Sun, 16 Jan 2011, Renaud AUBIN wrote: Now available on tlcontrib: http://tlcontrib.metatex.org/cgi-bin/package.cgi/ruid=4591828845/action=view/id=388 Any particular

Re: [NTG-context] new beta

2011-01-18 Thread Renaud AUBIN
Except that I used . And not * Hans Hagen pra...@wxs.nl a écrit : On 18-1-2011 10:04, Peter Münster wrote: Renaud AUBINau...@nibua-r.org writes: It would be nice to think of those like me who use dot into their naming scheme… ;) See also

[NTG-context] [OT] − TEX line breaking algorithm in JavaScript

2011-05-11 Thread Renaud AUBIN
http://www.bramstein.com/projects/typeset/ ___ 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

[NTG-context] t-vim / minimals

2009-11-19 Thread Renaud AUBIN
Hi, I have just reinstalled ConTeXt after an HD crash with ./first_setup --extras=all and t-vim seems to contain an error since I obtain (with MKII): VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jul 30 2009 16:02:52) arguments en trop apr?s l'option: -u NONE -e -C -n -c set tabstop=8 -c syntax

[NTG-context] texutil --purgeallfiles

2009-11-19 Thread Renaud AUBIN
Hi, Trying to use the good old days texutil --purgeallfiles, I obtain: ren...@daneel:~/ConTeXt/notes/src$ texutil --purgeallfiles /usr/local/ConTeXt/tex/texmf-context/scripts/context/ruby/base/texutil.rb:1:in `require': no such file to load -- base/file (LoadError) from

Re: [NTG-context] texutil --purgeallfiles

2009-11-19 Thread Renaud AUBIN
ctxtools --purgeall doesn't exist but ctxtools --purgefiles works well. Besides, context --purge(all) works but from your question I realize that context --purge certainly wraps a ctxtools' call. Aditya == Aditya Mahajan adit...@umich.edu writes: Aditya On Thu, 19 Nov 2009, Renaud AUBIN wrote

Re: [NTG-context] texutil --purgeallfiles

2009-11-19 Thread Renaud AUBIN
Ouch, bad news for me, perhaps my ruby is buggy: ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux] Alan == Alan BRASLAU alan.bras...@cea.fr writes: Alan On Thursday 19 November 2009 20:46:40 Renaud AUBIN wrote: Hi, Trying to use the good old days texutil --purgeallfiles, I obtain: ren

[NTG-context] Frutiger Typescript

2009-11-29 Thread Renaud AUBIN
Hello, I know almost nothing of typescript but it seems to me that, for Frutiger, type-buy.tex should contains: % frutiger \starttypescript [sans] [frutiger] [name] \definefontsynonym [Sans][Frutiger-Roman] \definefontsynonym [SansCaps][Frutiger-Roman]

Re: [NTG-context] How to use metauml in ConTeXt

2009-12-01 Thread Renaud AUBIN
Joshua == Joshua Lee muz...@gmail.com writes: Joshua Hi All, Is there any way to use metauml from ConTeXt? Joshua http://thor.info.uaic.ro/~ogh/lop/ Joshua BTW, is there any ConTeXt modules to write uml sequence diagram Joshua similar to http://code.google.com/p/pgf-umlsd ? Joshua Thanks in

Re: [NTG-context] POV-Ray

2010-05-18 Thread Renaud AUBIN
Hi, I indeed agree with Taco… but it depends on your input format, your purpose, etc. For me, the issue can't be resumed to a power comparison between povray and metapost because these tools serve differents purposes! If you want to obtain 3D realistic rendering (with raytracing), you

Re: [NTG-context] POV-Ray

2010-05-18 Thread Renaud AUBIN
Hi, I indeed agree with Taco… but it depends on your input format, your purpose, etc. For me, the issue can't be resumed to a power comparison between povray and metapost because these tools serve differents purposes! If you want to obtain 3D realistic rendering (with raytracing), you

Re: [NTG-context] [OT] − RobotoSlab Italics… or not

2013-11-23 Thread Renaud Aubin
Le 23/11/2013 19:08, Wolfgang Schuster a écrit : Am 23.11.2013 um 18:51 schrieb Renaud Aubin r...@renaud.io: Hi folks, I'm working on a Roboto typescript and starting from the work done by Zen Lima back in last July, I would like to push things further. Since I work on some Android projects

Re: [NTG-context] [OT] − RobotoSlab Italics… or not

2013-11-24 Thread Renaud Aubin
Hi Hans, Thank you for the review and your suggestions! Le 24/11/2013 12:53, Hans Hagen a écrit : normally typescripts like that end up in tex/context/third (maybe at some point we can collect extra typescripts in one package) https://github.com/nibua-r/roboto-context/issues/1 Extra

Re: [NTG-context] \installprettytype problem

2015-08-21 Thread Renaud AUBIN
21/08/15 00:21, Renaud AUBIN a écrit : Bonsoir Matthieu, Give a try to https://github.com/nibua-r/pretty-c and tell me if anything goes wrong… It's basically a rewrite of Peter's module adapted to mkiv + new verbatim (new at the time of writing) I'll test it tomorrow… Anyway, you're welcome

Re: [NTG-context] \installprettytype problem

2015-08-20 Thread Renaud AUBIN
Bonsoir Matthieu, Give a try to https://github.com/nibua-r/pretty-c and tell me if anything goes wrong… It's basically a rewrite of Peter's module adapted to mkiv + new verbatim (new at the time of writing) I'll test it tomorrow… Anyway, you're welcome to contribute and/or submit issues.

Re: [NTG-context] Question on typesetting paragraphs with non rectangle shape

2015-10-25 Thread Renaud AUBIN
Page 441 of http://www.pragma-ade.com/general/manuals/metafun-s.pdf Cheers Le 20 oct. 2015 10:32 PM, Joseph Canedo a écrit : > > Hello all, > > I am quite new to ConTeXt and I wished to know if it was possible to easily > typeset paragraphs with non rectangle shape.

<    1   2   3