Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
Fine, I made it in a very weird way. I constructed a very strange path to go through the outer path in counter- clockwise direction and inner path in clockwise dir- ection and filled it. I don't feel good but it can be done now. On Wed, Jun 24, 2009 at 11:13 AM, Zhichu Chenzhichu.c...@gmail.com

Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Taco Hoekwater
Zhichu Chen wrote: Fine, I made it in a very weird way. I constructed a very strange path to go through the outer path in counter- clockwise direction and inner path in clockwise dir- ection and filled it. I don't feel good but it can be done now. Currently, that is how it should be done.

Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
Cool, but just curiosity, metapost can handle fonts right? How those glyphs don't have this problem? I've read the specification of the type1 fonts, they don't seem to have such weird paths, just some borderlines with different directions. On Wed, Jun 24, 2009 at 3:32 PM, Taco

Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Wolfgang Schuster
Am 24.06.2009 um 05:13 schrieb Zhichu Chen: Hi, I got a problem in metapost. If I want to draw a ring, and use the code: fill fullcircle scaled 2cm ; unfill fullcircle scaled 1cm ; The inner part is not transparent, it has the color of background variable which is white by default. This case

[NTG-context] html2context ?

2009-06-24 Thread luigi scarso
Does anybody has any suggestion about html2context (mkiv) ? -- luigi ___ 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] How to unfill a picture?

2009-06-24 Thread Taco Hoekwater
Zhichu Chen wrote: Cool, but just curiosity, metapost can handle fonts right? How those glyphs don't have this problem? I've read the specification of the type1 fonts, they don't seem to have such weird paths, just some borderlines with different directions. PostScript paths are more

Re: [NTG-context] html2context ?

2009-06-24 Thread Wolfgang Schuster
Am 24.06.2009 um 10:38 schrieb luigi scarso: Does anybody has any suggestion about html2context (mkiv) ? pandoc‽ Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] html2context ?

2009-06-24 Thread Mohamed Bana
here's one i did; http://article.gmane.org/gmane.comp.lang.scala/15180 2009/6/24 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 24.06.2009 um 10:38 schrieb luigi scarso: Does anybody has any suggestion about html2context (mkiv) ? pandoc‽ Wolfgang

[NTG-context] before/afterstrucuturehead

2009-06-24 Thread Wolfgang Schuster
Hi Hans, when will you provide propor keys to execute commands/settings at the begin and end of a section, I want to use them in a document to prevent extra markup but the only way to do this at the moment is with the two tokens registers \everybeforestructurehead and

Re: [NTG-context] html2context ?

2009-06-24 Thread luigi scarso
On Wed, Jun 24, 2009 at 11:08 AM, Mohamed Bana mbana.li...@googlemail.comwrote: here's one i did; http://article.gmane.org/gmane.comp.lang.scala/15180 2009/6/24 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 24.06.2009 um 10:38 schrieb luigi scarso: Does anybody has any suggestion

Re: [NTG-context] Pretty print SQL broken? Or am I doing something wrong?

2009-06-24 Thread Berend de Boer
Gerben == Gerben Wierda gerben.wie...@rna.nl writes: Gerben == Gerben Wierda gerben.wie...@rna.nl writes: Gerben For 'SQL' I assume I should use 'sql'. When I do that, Gerben exactly the same happens. I mean select instead of SELECT. Hi Gerben, Just following up

[NTG-context] RTF to ConTeXt

2009-06-24 Thread Cecil Westerhof
I have a RTF document I like to convert to a ConTeXt document. Are there tools for this? I would also like the other way around, but I understood that this is only possible through ConTeXt - PDF - RTF, or has the situation changed. -- Cecil Westerhof

Re: [NTG-context] html2context ?

2009-06-24 Thread Vyatcheslav Yatskovsky
Under Windows, try my TexPaste http://ul.to/hmpy60 Vyatcheslav ___ 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] html2context ?

2009-06-24 Thread luigi scarso
On Wed, Jun 24, 2009 at 11:32 AM, Vyatcheslav Yatskovsky yatskov...@gmail.com wrote: Under Windows, try my TexPaste http://ul.to/hmpy60 Vyatcheslav I'm sorry, my firewall blocks it. Is it in python ? -- luigi

Re: [NTG-context] html2context ?

2009-06-24 Thread Vyatcheslav Yatskovsky
It is in Delphi. I've sent you the app directly to your email. Vyatcheslav ___ 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] before/afterstrucuturehead

2009-06-24 Thread Hans Hagen
Wolfgang Schuster wrote: Hi Hans, when will you provide propor keys to execute commands/settings at the begin and end of a section, I want to use them in a document to prevent extra markup but the only way to do this at the moment is with the two tokens registers \everybeforestructurehead and

Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
I assume there's no -- between reverse and fullcircle scaled 1cm :) Well, my example is too simple. Actually, I was trying to draw a treble clef, and when there're too many intersection points (caused by the -- operator to join every path together) the output is not so good, kind of like an

Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
I guess I should use as few variables as possible, I suppose no one would name their paths Helper ;) This macro assumes the argument is clockwise, I've written a macro to find out whether a path is clockwise or not, but it took me forever to run the code. Maybe there's already some primitive

[NTG-context] Simpleslides question

2009-06-24 Thread Vyatcheslav Yatskovsky
Hello, Can I arrange *multiple* images per a page in specified positions (x,y) using simpleslides module? Vyatcheslav ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] label, caption and eps in figures?

2009-06-24 Thread Pau
Hello, some weeks ago I asked how to have a caption under a figure. I got a detailed answer: \placefigure [here] % location [fig.MyCaption] % reference {My Caption} % caption {\externalfigure[MyFigure.eps][factor=broad]} Now I am preparing a presentation and I would

Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Hans Hagen
Zhichu Chen wrote: I guess I should use as few variables as possible, I suppose no one would name their paths Helper ;) Helper sounds ok, but ... pair Oringin ; Oringin := center p ; ... Oringin kind of funny Helper1 := llcorner currentpicture -- lrcorner currentpicture ; shorter:

Re: [NTG-context] Simpleslides question 2

2009-06-24 Thread Vyatcheslav Yatskovsky
And another question: how can setup a background *image* for all slides? Vyatcheslav ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Simpleslides question 2

2009-06-24 Thread Vyatcheslav Yatskovsky
And another question: how can setup a background *image* for all slides? Vyatcheslav ___ 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] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
On Wed, Jun 24, 2009 at 7:29 PM, Hans Hagenpra...@wxs.nl wrote: Zhichu Chen wrote: I guess I should use as few variables as possible, I suppose no one would name their paths Helper ;) Helper sounds ok, but ...  pair Oringin ; Oringin := center p ; ... Oringin kind of funny I'll change

Re: [NTG-context] Simpleslides question

2009-06-24 Thread Thomas A. Schmitz
On Jun 24, 2009, at 1:25 PM, Vyatcheslav Yatskovsky wrote: Hello, Can I arrange *multiple* images per a page in specified positions (x,y) using simpleslides module? Vyatcheslav Hi, no, there is not yet code for this. I usually do it by hand, but if this is something you need/use

Re: [NTG-context] Simpleslides question 2

2009-06-24 Thread Thomas A. Schmitz
On Jun 24, 2009, at 1:30 PM, Vyatcheslav Yatskovsky wrote: And another question: how can setup a background *image* for all slides? Vyatcheslav The cleanest way would be to write your own submodule. It's easy; maybe just use one of the existing simpleslides-s-XXX.tex files and modify

[NTG-context] Hyphenation list and umlauts

2009-06-24 Thread Thomas Floeren
Hi, I stumbled upon a problem with my hyphenation list: In MKIV, all the words in the list that contain umlauts are completely ignored. MKII is fine. Example: \de \hyphenation{ma-nö-v-rie-ren} \starttext \hyphenatedword{manövrieren} \stoptext Is there any workaround for this?

Re: [NTG-context] Hyphenation list and umlauts

2009-06-24 Thread Taco Hoekwater
Thomas Floeren wrote: Hi, I stumbled upon a problem with my hyphenation list: In MKIV, all the words in the list that contain umlauts are completely ignored. MKII is fine. Luatex 0.40.5 is broken in this regard, sorry. (The problem is that the exception handling uses \lccodes for

Re: [NTG-context] Simpleslides question

2009-06-24 Thread Aditya Mahajan
On Wed, 24 Jun 2009, Vyatcheslav Yatskovsky wrote: Hello, Can I arrange *multiple* images per a page in specified positions (x,y) using simpleslides module? Can you elaborate? Do you want the same images to appear in all slides in the background (like a corporate design), or do you want to

Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Nicola
In article 769ba7780906240342s4939ac2foe7bfd783ad2e8...@mail.gmail.com, Zhichu Chen zhichu.c...@gmail.com wrote: Well, my example is too simple. Actually, I was trying to draw a treble clef If your goal is to draw a path with pens of varying width (kind of calligraphic strokes),'penpos'

Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
Hi Nicola, Thank you very much for your example and the idea. It's amazing, I thought it's just a metafont thing and metapost just can't do that. Thank you for your information again. On Wed, Jun 24, 2009 at 10:12 PM, Nicolanvitacolo...@gmail.com wrote: In article

[NTG-context] get rid of placefigure and startcombination captions

2009-06-24 Thread Vyatcheslav Yatskovsky
Hello, Another urgent problem: how to get rid of placefigure and startcombination captions altogether? When I use the following, I get too much wasted space after the illustration. \placefigure [fit] {none} {\startcombination[4*1] {\externalfigure[serg1][width=4cm]} {}

Re: [NTG-context] get rid of placefigure and startcombination captions

2009-06-24 Thread Thomas A. Schmitz
On Jun 24, 2009, at 4:48 PM, Vyatcheslav Yatskovsky wrote: Hello, Another urgent problem: how to get rid of placefigure and startcombination captions altogether? When I use the following, I get too much wasted space after the illustration. \placefigure [fit] {none}

[NTG-context] ConTeXt version of LaTeX's article class?

2009-06-24 Thread Gerben Wierda
Is there a ConTeXt way of doing an article a la LaTeX's article class? Thanks, G ___ 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] ConTeXt version of LaTeX's article class?

2009-06-24 Thread Mohamed Bana
can i also ask, does simple-slides offer something like this? http://people.cs.uu.nl/andres/NixOS-IFIP.pdf // Gerben Wierda wrote: Is there a ConTeXt way of doing an article a la LaTeX's article class? Thanks, G

Re: [NTG-context] ConTeXt version of LaTeX's article class?

2009-06-24 Thread Khaled Hosny
Try http://wiki.contextgarden.net/From_LaTeX_to_ConTeXt, it has many helpful tips. On Wed, Jun 24, 2009 at 11:37:53PM +0200, Gerben Wierda wrote: Is there a ConTeXt way of doing an article a la LaTeX's article class? Thanks, G -- Khaled Hosny Arabic localiser and member of Arabeyes.org

Re: [NTG-context] ConTeXt version of LaTeX's article class?

2009-06-24 Thread Wolfgang Schuster
Am 24.06.2009 um 23:37 schrieb Gerben Wierda: Is there a ConTeXt way of doing an article a la LaTeX's article class? \starttext \section{...} ... \section{...} ... \stoptext Wolfgang ___ If your question

Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Lutz Haseloff
Hi Zichu, an other approach (mkiv + lilypond font): \definefont[music][name:emmentaler20 at 72pt] \starttext \music\char57770 \stoptext :-) Greetings Lutz 2009/6/24 Zhichu Chen zhichu.c...@gmail.com Hi Nicola, Thank you very much for your example and the idea. It's amazing, I thought

[NTG-context] Why no page numbering here?

2009-06-24 Thread Gerben Wierda
Question. With \definetyping[SQL][option=color,numbering=line,bodyfont=9pt] \defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}] \setuplayout[leftmargin=10mm,rightmargin=0mm,footer=0mm,header=5mm] \setuppapersize[A4,landscape][a4,landscape]