Re: [NTG-context] Natural table header limitation.

2007-02-25 Thread Peter Rolf
JOHN CULLETON wrote:
 The fancy tricks one can to with Natural Tables seem to work within 
 the body of the table where I don't need them but fail in the header 
 area where I do need them.
 
 This example, takein from the wiki, works (of course.)
 
 \setupTABLE[row][odd][background=color,backgroundcolor=red, 
 width=.2\textwidth]
 \bTABLE[split=yes]
 \bTR \bTD[nr=3] 1 \eTD \bTD[nc=2] 2/3 \eTD \bTD[nr=3] 4 \eTD \eTR
 \bTR \bTD 2 \eTD \bTD 3 \eTD \eTR
 \bTR \bTD 2 \eTD \bTD 3 \eTD \eTR
 \bTR \bTD[nc=3] 1/2/3 \eTD \bTD 4 \eTD \eTR
 \bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \bTD 4 \eTD \eTR
 \eTABLE
 
 But if I convert the above data items to header items the run fails. 
 Specifically the following fails:
 \setupTABLE[row][odd][background=color,backgroundcolor=red, 
 width=.2\textwidth]
 \bTABLE[split=yes]
 \bTABLEhead
 \bTR \bTH[nr=3] 1 \eTH \bTH[nc=2] 2/3 \eTH \bTH[nr=3] 4 \eTH \eTR
 \bTR \bTH 2 \eTH \bTH 3 \eTH \eTR
 \bTR \bTH 2 \eTH \bTH 3 \eTH \eTR
 \bTR \bTH[nc=3] 1/2/3 \eTH \bTH 4 \eTH \eTR
 \bTR \bTH 1 \eTH \bTH 2 \eTH \bTH 3 \eTH \bTH 4 \eTH \eTR
 \eTABlehead
  
size matters ;)


Best, Peter

 \eTABLE
 
 What did I miss?
 Here is the error message:
 bTR \bTH [nr=3] 1 \eTH \bTH [nc=2] 2/3 \eTH \bTH [nr=3] 4 \eTH \eTR 
 \ETC.
 ! File ended while scanning use of \doTABLEhead.
 inserted text
 \par
 * tabletest.tex
   emergencyend
 ? 
 -
 
 
 

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] FYI

2007-02-25 Thread Nikolai Weibull
On 2/25/07, Idris Samawi Hamid [EMAIL PROTECTED] wrote:
 Info for the gang:

 http://slashdot.org/comments.pl?sid=223940threshold=1commentsort=0mode=threadpid=18135068#18135322

 (last paragraph)

 This does not affect me or many of us but it's good to know the vibes out
 there.

All the vim latex suite is really doing is packaging a bunch of (not
very good) plugins.  It wouldn't require much work to do something
similar for context.  But I'm not the guy for that, sorry.

  nikolai
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] How to put float caption header in margin?

2007-02-25 Thread Robin Kirkham
Hi all,

How can I put the header part only of a float caption (i.e., the  
Figure 6 bit) in the left margin (so as to match \setupheads 
[alternative=inmargin]), but leaving the caption text part in the  
normal place?

Robin
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Limitation on natural tables.

2007-02-25 Thread Wolfgang Schuster
On Sat, 24 Feb 2007 19:11:58 -0500
John R. Culleton [EMAIL PROTECTED] wrote:

 The fancy tricks one can to with Natural Tables seem to work within 
 the body of the table where I don't need them but fail in the header 
 area where I do need them.
 
 This example, takein from the wiki, works (of course.)
 
 \setupTABLE[row][odd][background=color,backgroundcolor=red, 
 width=.2\textwidth]
 \bTABLE[split=yes]
 \bTR \bTD[nr=3] 1 \eTD \bTD[nc=2] 2/3 \eTD \bTD[nr=3] 4 \eTD \eTR
 \bTR \bTD 2 \eTD \bTD 3 \eTD \eTR
 \bTR \bTD 2 \eTD \bTD 3 \eTD \eTR
 \bTR \bTD[nc=3] 1/2/3 \eTD \bTD 4 \eTD \eTR
 \bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \bTD 4 \eTD \eTR
 \eTABLE
 
 But if I convert the above data items to header items the run fails. 
 Specifically the following fails:
 \setupTABLE[row][odd][background=color,backgroundcolor=red, 
 width=.2\textwidth]
 \bTABLE[split=yes]
 \bTABLEhead
 \bTR \bTH[nr=3] 1 \eTH \bTH[nc=2] 2/3 \eTH \bTH[nr=3] 4 \eTH \eTR
 \bTR \bTH 2 \eTH \bTH 3 \eTH \eTR
 \bTR \bTH 2 \eTH \bTH 3 \eTH \eTR
 \bTR \bTH[nc=3] 1/2/3 \eTH \bTH 4 \eTH \eTR
 \bTR \bTH 1 \eTH \bTH 2 \eTH \bTH 3 \eTH \bTH 4 \eTH \eTR
 \eTABlehead

Hi John,

there is a typo in your file. It should be \eTABLEhead and not
\eTablehead (TABLE is always written uppercase).

BTW there is a parameter style that can be used to switch to another
font for the whole table or for the cells of your choice instead of
the \bTH ... \eTH cells.

Wolfgang

 \eTABLE
 
 What did I miss?
 Here is the error message:
 bTR \bTH [nr=3] 1 \eTH \bTH [nc=2] 2/3 \eTH \bTH [nr=3] 4 \eTH \eTR 
 \ETC.
 ! File ended while scanning use of \doTABLEhead.
 inserted text
 \par
 * tabletest.tex
   emergencyend
 ? 
 -
 
 
 
 -- 
 John Culleton
 Able Indexing and Typesetting
 Precision typesetting (tm) at reasonable cost.
 Satisfaction guaranteed. 
 http://wexfordpress.com
 
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] FYI

2007-02-25 Thread Aditya Mahajan
On Sun, 25 Feb 2007, Nikolai Weibull wrote:

 On 2/25/07, Idris Samawi Hamid [EMAIL PROTECTED] wrote:
 Info for the gang:

 http://slashdot.org/comments.pl?sid=223940threshold=1commentsort=0mode=threadpid=18135068#18135322

 (last paragraph)

 This does not affect me or many of us but it's good to know the vibes out
 there.

 All the vim latex suite is really doing is packaging a bunch of (not
 very good) plugins.  It wouldn't require much work to do something
 similar for context.  But I'm not the guy for that, sorry.

I have written some plugins for context that I use. Basically, a 
compiler plugin, a syntax highlight (I could not get spell checking to 
work with Nikolai's syntax hightlight file, and I want slightly 
differnt syntax highlighting), an indent file, copied part of 
vim-latex that translates `a to \alpha (in utf), a text reformatter 
that recognizes context delimiters (vim's inbuild paragraph makers 
only understand troff markup), mappings to compile, check, and view 
pdf files from F-key mappings, and a menu to for couple of less used 
options (context update, regenerate formats, etc.). I also have a 
regex mess that aligns key=value kind of arguments.

I never completely liked latex-suite's environment expanders, i.e., 
EEQ expands to \begin{equation} .. \end{equation}. Recently, I 
discovered snippetEmu, that allows textmate like snippets in vim, and 
I have been experimenting using it for few commonly using snippets. 
There are a few quirks, but so far I like it.

Most of this is pretty simple. There is no support for multi-file 
compilations (like latex-suite), no replace environment, the 
errorformat handler does not always work, the indent file is not fail 
proof (gg=G will not give good results). And nothing is customizable. 
Things are how I like them. I haven't been able to figure out how to 
port texshow to vim, and how to get omni-completion to work. There is 
no tags support either. If others are interested, I could release 
it as a poor man's context-suite for vim, until someone does the whole 
thing in a proper manner.

However, I am not convinced on how useful such a package will be. If 
you keep things uncustomizable, not many people will like it. If you 
keep them customizable, it usually becomes a mess. Cream is the only 
plugin for vim that I know which is customizable and easy to use. 
Others, latex-suite, taglist, project manager, are just too 
complicated to use.

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] how to use \startformula inside textext(...)?

2007-02-25 Thread Aditya Mahajan
On Sun, 25 Feb 2007, Mojca Miklavec wrote:

 Hello,

 How can I do something similar to this?

 \starttext
 \startMPcode
 draw textext(\startformula  \sum_{i=0}^N i^2  \stopformula);
 \stopMPcode
 \stoptext

I could not get the usual tricks to work here (place in a vbox or 
framed), but unless you also want equation numbering, what is wrong 
with

  draw textext($ \displaystyle \sum_{i=0}^N i^2 $);

after that that is what \startformula is doing.

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] No TOC and other lists with \setuparranging

2007-02-25 Thread Willi Egger

Hi,

If you compile a document with page arrangement within the tex file,  
you need to run this file first without the \setuparranging command.  
After this you should insert the \setuparranging command and run  
texexec a SINGLE time.

This is normal behaviour of Context. It is related to overwriting the  
utility files, which loose the TOC and other info during multiple  
runs with the \setuparranging enabled.

You might use the commandline option --pdfarrange which will take  
care of the above mentioned effects.

Willi


On Feb 24, 2007, at 10:36 PM, Piotr Kopszak wrote:

 Hello list,

 The following gives me TOC and list of defined heads called
 przepis at the end of the file:


 \definehead[przepis][section]
 \setuphead [chapter] [number=no]
 \setuphead [section] [number=no]
 \definepapersize[mysize][width=10cm,height=19cm]
 \setuppapersize[mysize][mysize]
 \setuplayout[backspace=17mm,location=middle,marking=on,]
 \starttext
 \startbodymatter
 \chapter{to start!}
 \dorecurse{10}{\input knuth \par}
 \przepis{Prawdziwy sos czosnkowy}
 \dorecurse{5}{\input tufte \par}
 \przepis{Prawdziwy sos pieczarkowy}
 \dorecurse{5}{\input knuth \par}
 \przepis{Prawdziwy sos jogurtowy}
 \dorecurse{5}{\input tufte \par}
 \chapter{dajemy dalej!}
 \przepis{Prawdziwy sos warzywny}
 \dorecurse{5}{\input knuth \par}
 \przepis{Prawdziwy sos jagodowy}
 \dorecurse{5}{\input tufte \par}
 \chapter{Trzeci!}
 \dorecurse{10}{\input knuth \par}
 \przepis{nie-Prawdziwy sos czosnkowy}
 \dorecurse{5}{\input tufte \par}
 \przepis{nie-Prawdziwy sos pieczarkowy}
 \dorecurse{5}{\input knuth \par}
 \przepis{nie-Prawdziwy sos jogurtowy}
 \dorecurse{5}{\input tufte \par}
 \chapter{To czwarty!}
 \przepis{Prawdziwy sos niewarzywny}
 \dorecurse{5}{\input knuth \par}
 \przepis{Prawdziwy sos niejagodowy}
 \dorecurse{5}{\input tufte \par}
 \stopbodymatter
 \title{Spis tre\'sci}
 \placecontent
 \title{Spis przepisow}
 \placelist[przepis]
 \stoptext


 Whereas the following does not:



 \definehead[przepis][section]
 \setuphead [chapter] [number=no]
 \setuphead [section] [number=no]
 \definepapersize[mysize][width=10cm,height=19cm]
 \setuppapersize[mysize][A2]
 \setuparranging[2*8,rotated,doublesided]
 \setuplayout[backspace=17mm,location=middle,marking=on,]
 \starttext
 \startbodymatter
 \chapter{to start!}
 \dorecurse{10}{\input knuth \par}
 \przepis{Prawdziwy sos czosnkowy}
 \dorecurse{5}{\input tufte \par}
 \przepis{Prawdziwy sos pieczarkowy}
 \dorecurse{5}{\input knuth \par}
 \przepis{Prawdziwy sos jogurtowy}
 \dorecurse{5}{\input tufte \par}
 \chapter{dajemy dalej!}
 \przepis{Prawdziwy sos warzywny}
 \dorecurse{5}{\input knuth \par}
 \przepis{Prawdziwy sos jagodowy}
 \dorecurse{5}{\input tufte \par}
 \chapter{Trzeci!}
 \dorecurse{10}{\input knuth \par}
 \przepis{nie-Prawdziwy sos czosnkowy}
 \dorecurse{5}{\input tufte \par}
 \przepis{nie-Prawdziwy sos pieczarkowy}
 \dorecurse{5}{\input knuth \par}
 \przepis{nie-Prawdziwy sos jogurtowy}
 \dorecurse{5}{\input tufte \par}
 \chapter{To czwarty!}
 \przepis{Prawdziwy sos niewarzywny}
 \dorecurse{5}{\input knuth \par}
 \przepis{Prawdziwy sos niejagodowy}
 \dorecurse{5}{\input tufte \par}
 \stopbodymatter
 \title{Spis tre\'sci}
 \placecontent
 \title{Spis przepisow}
 \placelist[przepis]
 \stoptext


 I am using the latest Context (ConTeXt  ver: 2007.02.21 11:55 MKII
 fmt: 2007.2.24  int: english/english).

 I would be very grateful for advice

 Piotr

 -- 

Piotr Kopszak, Ph.D.
Polish Art Gallery, National Museum in Warsaw
-http://kopszak.mnw.art.pl/
http://www.magnatune.com/artists/altri_stromenti

 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

Willi Egger
[EMAIL PROTECTED]



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] how to use \startformula inside textext(...)?

2007-02-25 Thread Sanjoy Mahajan
 draw textext(\startformula  \sum_{i=0}^N i^2  \stopformula);

I'm always a bit scared of textext, but here's how I do what I think
you are trying to do (get limits underneath) using btex..etex:

  label(btex $\displaystyle{\sum_{i=0}^N i^2}$ etex, origin);

Hopefully the same works in textext.

-Sanjoy

`Not all those who wander are lost.' (J.R.R. Tolkien)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] installationproblem with context-distribution: xetex not working

2007-02-25 Thread Hans Hagen
Henning Haeske wrote:
 Thanks,

 it is working after I copied the relevant files from my texmf-fonts/ into 
 the texmf-local/ folder.

 The disjunction into the different texmf-... folders:

 texmf/
 texmf-local/...
 texmf-font/
 texmf-extra/...
 texmf-linux/

 is a little bit confusing to me. Is this seperation necessary or can I just 
 merge them?

   
you can merge them but best update in texmf-local

i must look into texmf-extra since by now the content maybe free enough 
for texmf

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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] No TOC and other lists with \setuparranging

2007-02-25 Thread Piotr Kopszak
On Sun, Feb 25, 2007 at 03:39:29PM +0100, Wolfgang Schuster wrote:
 On Sat, 24 Feb 2007 22:36:57 +0100
 Piotr Kopszak [EMAIL PROTECTED] wrote:
 
  Hello list, 
  
  The following gives me TOC and list of defined heads called
  przepis at the end of the file:
  
 
 Hi Piotr,
 
 you need the option pdfarrange for texexec.
 
 texexec --pdfarrange yourfile.tex
 
 Wolfgang

Hello Wolfgang,

Thanks for the hint! You remembered almost right. What really worked
was:

texexec --pdf --arrange yourfile.tex

Best wishes

Piotr

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Feature request for font-ini

2007-02-25 Thread Hans Hagen
Aditya Mahajan wrote:
 On Fri, 23 Feb 2007, Hans Hagen wrote:

   
 Aditya Mahajan wrote:
 
 Hi Hans,

 Can the following be added to font-ini?

 \definealternativestyle [\v!boldsans,\v!sansbold] [\bf\ss]  []

 Writing

 \setuphead [section,subject]  [textstyle=\bf\ss, numberstyle=\bf\ss]

 does not feel ConTeXtish :)

   
 ok,

 \definealternativestyle [\v!sansbold]
 [\ss\bf] []

 

 Suprisingly sans is also missing! I thought that \definefontstyle can 
 also be seen by style=... but that is not the case.

 \setuphead  [title] [textstyle=sans]
 \title{Test}

 So, can we also have

 \definealternativestyle [\v!sans,\v!sansserif] [\ss]  []
   
sure, done, but i wonder how often one switches to sans in the middle of a 
serif doc -) 

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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texfont aborts with charisSIL

2007-02-25 Thread Hans Hagen
Henning Haeske wrote:
 Hi,

 after my first installation was successful I am trying to install the latest 
 IPA-font from SIL (Charis - 
 http://scripts.sil.org/cms/scripts/page.php?site_id=nrsiid=IPAhome#Charis ).

 I followed the instruction from the wiki:
 http://wiki.contextgarden.net/Installing_a_TrueType_font,_step_by_step

 I downloaded the charis-font I decompressed the package and got following 
 files:
 ~/Schriftsysteme/IPA $ ls
 CharisSIL4.100FontDocumentation.pdf  CharisSILB.ttf  FONTLOG.txt  README.txt
 CharisSIL4.100.zip   CharisSILI.ttf  OFL-FAQ.txt
 CharisSILBI.ttf  CharisSILR.ttf  OFL.txt

 Then I entered the sucgested texfont-command:

 ~/Schriftsysteme/IPA $ texfont --ve=sil --co=charis --makepath --install *.ttf
 /tmp/tex/texmf-linux/bin/texmfstart:2073: warning: Insecure world writable 
 dir /tmp/tex/texmf-linux/bin, mode 040777

 TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004

 mktexlsr: Updating /tmp/tex/texmf-fonts/ls-R...
 mktexlsr: Done.
encoding vector : texnansi
vendor name : sil
source path : .
font collection : charis
texmf font root : /tmp/tex/texmf-fonts
  map file name : texnansi-sil-charis.map
source path : .
   processing files : all in pattern CharisSILBI.ttf
 locating afm files : using pattern ./CharisSILBI.ttf.afm
 locating afm files : using otf files
  copying files : afm
  copying files : pfb
  copying files : otf
 processing aborted : no afm files found

 --help : show some more info

 After this aborted texfont-command I have to run the mktexlsr-comand to 
 rebuild the font-structure - even to get the normal results without using the 
 new font. An example-file is attached to this email - without IPA-signs.
   
hm, so mktexlsr was aborted cq. ls-r was messed up for some reason? strange
 Did I missed a step or is texfont obsolete?
   
no, but soon you won't need it anymore (xetex supports open type directly as 
does luatex) 

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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Math Sets (ConTeXt port of braket.sty)

2007-02-25 Thread Aditya Mahajan
On Sun, 25 Feb 2007, Zulkifli Hidayat wrote:


 Hi,

 I find myself writing a lot of probability expressions where I want
 the delimiters to scale automatically, and | (conditional sign) to
 scale automatically, and the spacing around | to be correct. In LaTeX,
 I used to use braket package to do this. Since moving to ConTeXt, I
 was doing this by hand, but wring a lot of

 I think I will need it near in the future. Thanks for nice the nice works.

I uploaded the module to garden. I have only implemented scaling of 
single vertical bar (|). braket.sty also allows scaling of double 
vertical bar (||) and only treating the first | to be special. These 
are not implemented right now. In case someone needs them, let me 
know.

The module is available from

http://modules.contextgarden.net/mathsets

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Strange lucida bright math issue

2007-02-25 Thread Helin Gai
Hi all,

After upgrading to TeXLive 2007, I'm experiencing a strange issue with
Lucida Bright. It seems that none of the math font is working. The
system keeps reporting TFM file can't be found even though it's
there. The normal text (nonmath) -- roman/sans serif, etc., is
working. What can I do now?

Thanks in advance!

Helin

-- 
Helin (Colin) Gai
Class of 2009, Duke University
Box 96332
Durham, NC 27708
Phone:  919-943-6302
helin.gai at gmail.com
hg9 at duke.edu
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Strange lucida bright math issue

2007-02-25 Thread Helin Gai
I did a bit more research.. It seems that the file special.map is
interfering... Here's the log:

(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-buy.tex))
kpathsea: Running mktextfm lbmo
mkdir: ././Users/Colin/.texlive2007/texmf-var/fonts/tfm: Permission denied
mktextfm: mktexdir
/Users/Colin/.texlive2007/texmf-var/fonts/tfm/yandy/lumath failed.
kpathsea: Appending font creation commands to missfont.log. !
Font \*lucida7ptmmmirm*:=lbmo at 7.0pt not loadable: Metric (TFM) file
not found.

Anyone can help?

Thanks!!!

Helin

On 2/25/07, Helin Gai [EMAIL PROTECTED] wrote:
 Hi all,

 After upgrading to TeXLive 2007, I'm experiencing a strange issue with
 Lucida Bright. It seems that none of the math font is working. The
 system keeps reporting TFM file can't be found even though it's
 there. The normal text (nonmath) -- roman/sans serif, etc., is
 working. What can I do now?

 Thanks in advance!

 Helin

 --
 Helin (Colin) Gai
 Class of 2009, Duke University
 Box 96332
 Durham, NC 27708
 Phone:  919-943-6302
 helin.gai at gmail.com
 hg9 at duke.edu



-- 
Helin (Colin) Gai
Class of 2009, Duke University
Box 96332
Durham, NC 27708
Phone:  919-943-6302
helin.gai at gmail.com
hg9 at duke.edu
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texfont aborts with charisSIL

2007-02-25 Thread Ulf Martin
Henning Haeske schrieb:
 Ok... unfortunately I need this font. Can you/anyone tell me, how to add this 
 font in the actual context, so that it can be used together with xetex?

\definetypeface[TypeFace][rm][Xserif][Charis SIL]
\setupbodyfont[TypeFace, 10pt]


got this from

http://wiki.contextgarden.net/Fonts_in_XeTeX

Cheers,
Ulf Martin

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ctags and ConTeXt

2007-02-25 Thread Aditya Mahajan
On Sun, 11 Feb 2007, Aditya Mahajan wrote:

 Hi,

 I am wondering how others manage a large list of reference labels in
 ConTeXt. I use Vim as an editor and it supports ctags. ctags is a
 utility that is basically for supporting tags in programs (initially
 only for C, and hence the name), but can be used relatively easily
 with LaTeX. Basically, ctags creates a tag file with the format

 tag-name tag-file tag-regex

 (for details see http://ctags.sourceforge.net/FORMAT)

I have a rudimentary support that is running. I have modified the 
writereference command so that it also writes the correct information 
to the tags file. It is almost working. I just need to figure out how 
to write a literal tab to a file? I tried

\immediate\write\file {tag^^I file^^I /:line_no/}

but this only writes a space. ctags expects \t to be present between 
tag and file name.

Secondly (this is not that important), can TeX write to a file without 
any extension? Traditionally the tags file is just named `tags'

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context