[NTG-context] How to display source in ConTeXt?

2012-11-13 Thread yang.zhao
Hi everybody, is there a good way to display source(such as C language) in ConTeXt? or a Module to deal these things (indent, hightlight) just as listings package in LaTeX? Thanks. ___ If your question is of interest

[NTG-context] Resetting numbers in section header

2012-11-13 Thread Otared Kavian
Hi all, Assume for some reason I want a section to be numbered in a particular way: I thought the command resetnumber=yes would do that, but it seems that I am wrong… or this option is now obsolete. Can anyone have a look at the following example and give a hint? \starttext

[NTG-context] no footnote printed

2012-11-13 Thread Bernd Militzer
Hello, using midaligned no footnote is printed. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text bla bla bla % \blank \midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}} \crlf Text bla bla bla % \stoptext tested with: ConTeXt

Re: [NTG-context] ntg-context Digest, Vol 101, Issue 31

2012-11-13 Thread Marco Patzer
2012-11-13 H. Özoguz: Advice for your next posts: Try to provide a meaningful subject line like “Enclosing quotations in guillemets” or “Emphasising quotations”. And configure your mail reader to include a “In-Reply-To” header to not break the thread with each post. I want the complete

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread Marco Patzer
2012-11-13 yang.zhao: is there a good way to display source(such as C language) in ConTeXt? There is the vim module. It uses the editor vim to mark up the source with syntax highlighting code. However, it does only highlighting, not indentation. But it might be possible to hook in an

Re: [NTG-context] Resetting numbers in section header

2012-11-13 Thread luigi scarso
On Tue, Nov 13, 2012 at 10:49 AM, Otared Kavian ota...@gmail.com wrote: Hi all, Assume for some reason I want a section to be numbered in a particular way: I thought the command resetnumber=yes would do that, but it seems that I am wrong… or this option is now obsolete. Can anyone have a

Re: [NTG-context] Resetting numbers in section header

2012-11-13 Thread Otared Kavian
On 13 nov. 2012, at 11:48, luigi scarso luigi.sca...@gmail.com wrote: Hm , is it save to mix \section and \startsection ..\stopsection ? -- luigi Hi Luigi, Thanks for your attention, but the fact that \section and \start-\stop-section is used is of no importance regarding the way I

Re: [NTG-context] no footnote printed

2012-11-13 Thread Hans Hagen
On 11/13/2012 11:05 AM, Bernd Militzer wrote: Hello, using midaligned no footnote is printed. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text bla bla bla % \blank \midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}} \crlf Text bla

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread yang.zhao
Thank you, it works. and I could add line number too. Now just the indent problem, but i can control this in the source file.. One more thing, how to change font in the \startDEFINE \stopDEFIN ? I find using ConTeXt as the back-end of WEB system(D E.Knuth, LP) is very well, because ConTeXt deal

[NTG-context] Mk IV version of wasysym?

2012-11-13 Thread Pavneet Arora
I am trying to use some of the symbols from Roland Waldi's symbols collection in a project. After not getting the minimal example to work, I looked for the 'symb-was.*' file, and came across only this; /opt/context/tex/texmf-context/tex/context/base/symb-was.mkii I notice that there doesn't

Re: [NTG-context] Resetting numbers in section header

2012-11-13 Thread luigi scarso
On Tue, Nov 13, 2012 at 1:12 PM, Otared Kavian ota...@gmail.com wrote: On 13 nov. 2012, at 11:48, luigi scarso luigi.sca...@gmail.com wrote: Hm , is it save to mix \section and \startsection ..\stopsection ? -- luigi Hi Luigi, Thanks for your attention, but the fact that

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread Martin Schröder
2012/11/13 yang.zhao hckjs...@gmail.com: Thank you, it works. PLEASE switch of Comic Sans! http://bancomicsans.com/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread Pontus Lurcock
On Tue 13 Nov 2012, Martin Schröder wrote: PLEASE switch of Comic Sans! http://bancomicsans.com/ Yang Zhao's message did include a text/plain version too. Unfortunately it seems it may be impossible to display this by default in Gmail:

Re: [NTG-context] ntg-context Digest, Vol 101, Issue 31

2012-11-13 Thread Aditya Mahajan
On Nov 13, 2012, at 5:29 AM, Marco Patzer home...@lavabit.com wrote: 2012-11-13 H. Özoguz: Advice for your next posts: Try to provide a meaningful subject line like “Enclosing quotations in guillemets” or “Emphasising quotations”. And configure your mail reader to include a “In-Reply-To”

Re: [NTG-context] Resetting numbers in section header

2012-11-13 Thread Otared Kavian
Thanks Luigi! Grazie mille… That's exactly what I was seeking! Best regards: OK On 13 nov. 2012, at 13:54, luigi scarso luigi.sca...@gmail.com wrote: […] Some help at http://wiki.contextgarden.net/Titles \starttext \startsection[title={Section 1 }] \input ward \stopsection

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread Martin Schröder
2012/11/13 Martin Schröder mar...@oneiros.de: 2012/11/13 yang.zhao hckjs...@gmail.com: Thank you, it works. PLEASE switch of Comic Sans! http://bancomicsans.com/ Apologies: I forgot a :-) Best Martin ___ If

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread Alan BRASLAU
On Tue, 13 Nov 2012 13:29:01 + Pontus Lurcock p...@talvi.net wrote: Another reason to use Mutt :-). Or Claws mail (a decent gui alternative to mutt) ;) Alan ___ If your question is of interest to others as

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread Khaled Hosny
On Tue, Nov 13, 2012 at 02:19:13PM +0100, Martin Schröder wrote: 2012/11/13 yang.zhao hckjs...@gmail.com: Thank you, it works. PLEASE switch of Comic Sans! http://bancomicsans.com/ I like Comic Sans (I really do, no idea why it is so much hated).

Re: [NTG-context] ntg-context Digest, Vol 101, Issue 31

2012-11-13 Thread Wolfgang Schuster
Am 13.11.2012 um 14:47 schrieb Aditya Mahajan adit...@cim.mcgill.ca: On Nov 13, 2012, at 5:29 AM, Marco Patzer home...@lavabit.com wrote: 2012-11-13 H. Özoguz: Advice for your next posts: Try to provide a meaningful subject line like “Enclosing quotations in guillemets” or “Emphasising

[NTG-context] Difference between * and \ast

2012-11-13 Thread Aditya Mahajan
Hi, $*$ not behave the same as $\ast$ in math mode with any unicode font. (The output of \ast is correct) Minimal example: \setupbodyfont[cambria] \starttext $a*b$ $a\ast b$ \stoptext At first glance, I could not find anything wrong with char-def.lua Aditya

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread yang.zhao
Sorry for font in this mail. Back to ConTeXt. Now I use vim module, can I change the font of the source display? I read the ~/context/tex/texmf-modules/doc/context/third/vim/vim.txt, I search font ,there is just \setupbodyfont. I try this, but dosen't work.. Thanks. 2012/11/14 Khaled Hosny

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread Aditya Mahajan
On Wed, 14 Nov 2012, yang.zhao wrote: Sorry for font in this mail. Back to ConTeXt. Now I use vim module, can I change the font of the source display? I read the ~/context/tex/texmf-modules/doc/context/third/vim/vim.txt, I search font ,there is just \setupbodyfont. I try this, but dosen't

[NTG-context] after attribute for nested enumeration

2012-11-13 Thread Nicholas Ulle
Hi all, Is it possible to set the after attribute for a nested enumeration? I've tried setting it directly with no luck, but maybe I'm missing some other flag or attribute I need to set? An example follows. Before text \startitemize[after={\blank[3*big]}] \item Here is an item