Re: [NTG-context] Scite folding
Hi instanton, I think the following commands should be added: 1, \startXXX...\stopXXX pair 2, \ifYYY ... \else ... \fi structure 3, \chapter, \section, \subsection, \title and \subject, \topic, etc. IMHO, I'd like to folder \def\XXX#1% {...} and some \setupZZZ, \defineZZZ's. I hope you can provide some mysterious folding symbols, like %%--{{ something i like to be folded. %%--}} On 5/28/07, soft_share [EMAIL PROTECTED] wrote: Hi, I don't know much about lua so I'm afraid that I cannot do much about the code-folding via lua script. However there are some built-in pseudo-TeX commands like %\StartFolding %\EndFolding in NotePad++ and the unofficial SciTE I'm using which can be used to manually control where text fold should apply. At present I can only add a minimum scope of ConTeXt commands in the souce code which controls TeX folding. Which commands would you suggest to add? [EMAIL PROTECTED] 2007-05-28 - Original Message - *From: *Zhichu Chen [EMAIL PROTECTED] *To: *soft_share [EMAIL PROTECTED] *Sent: *2007-05-28, 06:49:23 *Subject: *Re: [NTG-context] Scite folding Hi, instanton Is there any possibility that you can make an addon lua script to do the folding function that we can add syntax by ourselves? Because I wanna keep the official SciTE. On 5/28/07, soft_share [EMAIL PROTECTED] wrote: Dear all, Just come across this thread. The TeX folding feature in NotePad++ was adapted by me and originally the adaptations was made in SciTE. As I am not a ConTeXt user, I am not aware of the structure of sectioning commands in ConTeXt. Could anyone of you let me know of a minimum list of sectioning commands in ConTeXt so that I can modify the source code to make the TeX folding in SciTE and NotePad++ work also for ConTeXt documents? Bests [EMAIL PROTECTED] [EMAIL PROTECTED] 2007-05-28 -- Best Regards Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn -- Best Regards Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Scite folding
Dear all, Just come across this thread. The TeX folding feature in NotePad++ was adapted by me and originally the adaptations was made in SciTE. As I am not a ConTeXt user, I am not aware of the structure of sectioning commands in ConTeXt. Could anyone of you let me know of a minimum list of sectioning commands in ConTeXt so that I can modify the source code to make the TeX folding in SciTE and NotePad++ work also for ConTeXt documents? Bests [EMAIL PROTECTED] 2007-05-28 ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] TOC, listalternative d, ragged right, interaction
Hi, I'm trying to alter the formatting of the table of contents for a document of chapters and sections. After searching the ConTeXt manuals, source and the list archive, I've only four more things I'd like to change. This is where I ask for your help. My current setup (for the table of contents): | \setupinteraction [state=start] | \setuplistalternative [a] [command=\hskip.8em] | \setupcombinedlist [content] [alternative=a, interaction=all, | level=section, partnumber=no] | \setuplist [chapter] [after=\blank, before=\blank, | numberstyle=\tfd, pagestyle=italic, style=\tfa, | width=1.75em] | \setuplist [section] [alternative=d, headnumber=no, | interaction=pagenumber, margin=1.75em, | pagestyle=italic] This produces a table of contents like that: | 1 Chapter One 1 |Section A 1 Section B 2 Section C 3 Sec- |tion D 5 Section E 12 Here are my questions: (2 to 4 are of lower priority for me) 1. How can I setup the toc to get the sections (or listalternative d) to be set ragged right? 2. Is it possible to insert text between the section-pagenumber and the following section-text? (Section A 1 -- Section B 2 -- Section C 3) ^^ ^^ 3. I can't alter the distance between section-text and pagenumber. Changing the command option for listalternative a does it for chapters. But this doesn't work for listalternative d. 4. Can I get interaction=all for listalternative d?. Only interaction=pagenumber produces interaction. If I set interaction to all or text, I don't get interaction for the sections. I'm using ConTeXt 2007.04.17 with pdfTeXk 3.141592-1.40.3 from TeXlive 2007 on Gentoo/Linux. Some kind of a minimal example is attached. Daniel -- Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing. (Dick Brandon cited in gawk.info) % -*- mode: ConTeXt; -*- \setupinteraction [state=start] \setuplistalternative [a] [command=\hskip.8em] \setupcombinedlist [content] [alternative=a, interaction=all, level=section, partnumber=no] \setuplist [chapter] [after=\blank, before=\blank, numberstyle=\tfd, pagestyle=italic, style=\tfa, width=1.75em] \setuplist [section] [alternative=d, headnumber=no, interaction=pagenumber, margin=1.75em, pagestyle=italic] \starttext \completecontent \chapter{Einleitung} \section{Ich bin da} \section{So hat alles angefangen} \section{Die Vorbereitungen} \section{Rucksackbestellung} \section{Ist denn schon wieder Weihnachten?} \section{Mein erstes Kaenguru (ein Wallaby)} \section{Abflugtermin steht fest!} \section{Abschiedsparty} \section{Noch 3 Tage} \section{Etappe 1} \section{Etappe 2} \chapter{Sydney} \section{Unser erster Tag in Sydney} \section{Nicht viel Neues} \section{Wohnungssuche} \section{The Royal Easter Show} \section{Am Freitag ziehen wir in unsere neue Wohnung} \section{Einzug in die Wohnung!} \section{Frohe Ostern} \section{Sydney Aquarium} \section{Harbour Explorer Tour} \section{Kakerlaken} \stoptext ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Ruby version requirements
Oliver Buerschaper wrote: Hi all, I'm in the middle of putting together a native Mac OS X edition of ConTeXt Minimal ... for this I need to know which version of Ruby is minimally required by the latest ConTeXt release. (It wouldn't hurt though to know this for older ConTeXt versions, too ;-) Any help appreciated. 1.8 Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] testing for broken links to external documents
Dear all, is there a simple TeX/ConTeXt way to test in a TeX file whether a link to an external document is broken so that I get an error message if not? I am using numerous links to external files (on my hard drive) and I'd like to make sure that none of the links are broken without going manually trough them. Though not an issue at this point, and probably more complicated: Can one also check for broken links to web pages? I don't even know whether that's possible in Acrobat or whether there are tools out there that do that. Thanks, Matthias ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___