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 do

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 Hoekwater wrote: > C

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 ca

[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 / http://www.ntg.nl/mailman/

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 a

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 > > 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 \everyafterstructureh

Re: [NTG-context] html2context ?

2009-06-24 Thread luigi scarso
On Wed, Jun 24, 2009 at 11:08 AM, Mohamed Bana wrote: > here's one i did; http://article.gmane.org/gmane.comp.lang.scala/15180 > > 2009/6/24 Wolfgang Schuster > > >> Am 24.06.2009 um 10:38 schrieb luigi scarso: >> >> Does anybody has any suggestion about html2context (mkiv) ? >>> >> >> pandoc‽ >

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

2009-06-24 Thread Berend de Boer
> "Gerben" == Gerben Wierda writes: >> "Gerben" == Gerben Wierda 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 publicly on the fil

[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 / http://www.ntg.nl/mailman/listi

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 / http://www.ntg.nl/ma

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 cou

[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! mail

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 l

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 / http://ww

[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 / http://ww

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

2009-06-24 Thread Zhichu Chen
On Wed, Jun 24, 2009 at 7:29 PM, Hans Hagen 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 t

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 oft

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 modif

[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? (\odiaeresis

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 f

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 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' and 'penstroke' may

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, Nicola wrote: > In article > <769ba7780906240342s4939ac2foe7bfd783ad2e8...@mai

[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]} {} {\externalfigu

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} {\startcombination[

[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 / http://www.nt

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.o

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 is

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 > Hi Nicola, > > Thank you very much for your example and the idea. It's amazing, > I thought it's just a metafont

[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] \setupbackgrounds[page][background=ifsqoverlay]

[NTG-context] should \getmarking[title] work?

2009-06-24 Thread Michael Green
I expected \getmarking[title] to give me the contents of \title. It used to work (as of late spring). Perhaps something has changed. MTXrun | current version: 2009.06.14 21:01 This is LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009) luatex.web >= v2471 Test file: \starttext \title{This

[NTG-context] should footnote columns work?

2009-06-24 Thread Michael Green
Footnotes are not put into columns in the test file below. In longer files, the line separating footnotes from the text overlaps the last line or two of the text. MTXrun | current version: 2009.06.14 21:01 This is LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009) luatex.web >= v2471 tes