[NTG-context] Export itemize

2011-12-18 Thread Andreas Harder
Hi Hans,

many thanks fort the itemize fixes!

I’ve found another problem with the latest beta.

\setupbackend[export=yes]
\starttext
  \startitemize
  \item test
  \stopitemize
\stoptext


Regards
Andreas
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Layer preset: leftbottom

2011-12-18 Thread Andreas Harder
Hi Hans,

it seems that the layer preset leftbottom is broken.

\definelayer[page] [width=\paperwidth,height=\paperheight]
\setlayer   [page] [preset=leftbottom] {\red TEST} % error
% \setlayer   [page] [preset=rightbottom] {\red TEST} % OK

\setupbackgrounds[page][background=page]

\starttext
\page[empty]
\stoptext


Regards
Andreas
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Layer preset: leftbottom

2011-12-18 Thread Wolfgang Schuster

Am 18.12.2011 um 11:00 schrieb Andreas Harder:

 Hi Hans,
 
 it seems that the layer preset leftbottom is broken.

I posted this fix a few days ago on the dev list:

supp-box.mkiv:

-\unexpanded\def\righttopbox_finish
+\def\boxes_righttopbox_finish
  {\global\boxhdisplacement\boxoffset
   \global\boxvdisplacement-\dp\nextbox
   \global\advance\boxvdisplacement-\boxoffset
   \boxcursor\hskip\boxhdisplacement\raise-\boxvdisplacement\box\nextbox
   \egroup}

Wolfgang
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Layer preset: leftbottom

2011-12-18 Thread Andreas Harder

On 18.12.2011, at 11:14, Wolfgang Schuster wrote:

 
 Am 18.12.2011 um 11:00 schrieb Andreas Harder:
 
 Hi Hans,
 
 it seems that the layer preset leftbottom is broken.
 
 I posted this fix a few days ago on the dev list:
 
 supp-box.mkiv:
 
 -\unexpanded\def\righttopbox_finish
 +\def\boxes_righttopbox_finish
  {\global\boxhdisplacement\boxoffset
   \global\boxvdisplacement-\dp\nextbox
   \global\advance\boxvdisplacement-\boxoffset
   \boxcursor\hskip\boxhdisplacement\raise-\boxvdisplacement\box\nextbox
   \egroup}

Thanks Wolfgang!

By the way … Sorry to bother you, but I’m still run into problems according 
\definelayout.

This example used to work with the beta from November 29 (desired output 
attached).

\setuplayout [width=middle,height=middle,header=0pt,footer=0pt]
\definelayout[first]  [header=2cm]
\definelayout[last]   [footer=2cm]
\definelayout[current] % current|unknown

\starttext  \showframe % \checkcurrentlayout
  % \dorecurse{2}{test\page} % last is wrong
  \dorecurse{5}{test\page} % page 2 and „last“ are wrong
\stoptext


Two+Pages.pdf
Description: Adobe PDF document


TwoPages.pdf
Description: Adobe PDF document



Thank you in advance
Andreas___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] beta (again)

2011-12-18 Thread Hans Hagen

On 17-12-2011 13:31, Thomas A. Schmitz wrote:

On 12/17/2011 10:23 AM, Hans Hagen wrote:


I'm experiencing problems with the latest (today's) beta, and I suspect
they are caused by the bold math change. The error is:


fixed


Oops, sorry, I spoke too soon, I now get:

! Undefined control sequence.

system  tex  error on line 13 in file archaik.run: Undefined control
sequence ...


makes me wonder how your font is defined

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [***SPAM***] MetaFun linear_shade with transparency?

2011-12-18 Thread Hans Hagen

On 17-12-2011 23:02, Martin Bruchanov wrote:

Hi guys,

it is possible to use linear_shade with transparency in MetaFun?

Thanks for info and piece of example code :)


metapost/plugins-004.tex

in the test suite

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Layer preset: leftbottom

2011-12-18 Thread Wolfgang Schuster

Am 18.12.2011 um 11:34 schrieb Andreas Harder:

 By the way … Sorry to bother you, but I’m still run into problems according 
 \definelayout.

Change in page-imp.mkiv the order of the last to lines (increment realpage 
before flushing \everyaftershipout):

\def\page_boxes_shipout#1% or: \page_shipouts_apply
 {\dontshowcomposition % redundant
  \dontcomplain% redundant
  \the\everybeforeshipout
  \ifcase\shipoutfinalizemethod
\page_shipouts_handle{#1}%
  \else
\setbox\shipoutscratchbox\hbox{#1}% just in case there are objects there, 
hook for testing (will go away)
\finalizeshipoutbox\shipoutscratchbox
\page_shipouts_handle{\box\shipoutscratchbox}%
  \fi
  \the\everyaftershipout
  \setnextrealpageno}

Wolfgang
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] simplefonts broken?

2011-12-18 Thread Pablo Rodríguez
Hi there,

after upgrading TL2011 today and having installed a new version of
simplefonts, I cannot get this sample working:

\usemodule[simplefonts]
\setmainfont[TeX Gyre Pagella]
\starttext
\TeX
\stoptext

The error I get reads:

! Undefined control sequence.

system   tex  error on line 2 in file a.tex: Undefined control
sequence ...

 1 \usemodule[simplefonts]
 2   \setmainfont[TeX Gyre Pagella]
 3 \starttext
 4 \TeX
 5 \stoptext
 6
 7 \setuppapersize[A4]
 8 \setuppagenumbering[alternative=singlesided,location=middle]
 9 \starttext
10 \showlayout
11 \dorecurse{4}{\input dawkins \par \input knuth \par}
12 \stoptext

recently read \setmainfont

l.2 \setmainfont
[TeX Gyre Pagella]

I don't know whether this happens because I'm not using the latest beta,
but many TL2011 users will face the same situation.

I had to restore the package to its previous version?

Would you be so kind to test it, Wolfgang?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] simplefonts broken?

2011-12-18 Thread Wolfgang Schuster

Am 18.12.2011 um 15:24 schrieb Pablo Rodríguez:

 Hi there,
 
 after upgrading TL2011 today and having installed a new version of
 simplefonts, I cannot get this sample working:
 
 […]
 
 I don't know whether this happens because I'm not using the latest beta,
 but many TL2011 users will face the same situation.
 
 I had to restore the package to its previous version?

I’m aware of this and I already uploaded a new version yesterday but it
does always take a while till a mirrors have the new version.

Wolfgang
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] simplefonts broken?

2011-12-18 Thread Pablo Rodríguez
On 12/18/2011 03:38 PM, Wolfgang Schuster wrote:
 Am 18.12.2011 um 15:24 schrieb Pablo Rodríguez:
 I don't know whether this happens because I'm not using the latest beta,
 but many TL2011 users will face the same situation.

 I had to restore the package to its previous version?
 
 I’m aware of this and I already uploaded a new version yesterday but it
 does always take a while till a mirrors have the new version.

Thanks for the fix, Wolfgang.

Sorry for overlooking the messages that reported the bug and the fix.


Pablo
-- 
http://www.ousia.tk
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt-- does it make sense for my needs?

2011-12-18 Thread Bruce
Roger Mason rmason at mun.ca writes:

 
 Chris,
 
 Chris Lott chris at chrislott.org writes:
 
 
  3) PDF is my primary medium of exchange, though I would like to
  efficiently exchange docs with colleagues, which might mean getting
  them into something they can open with their beloved Microsoft Word...
  is there an RTF output for ConTeXt? this isn't super-high on my list,
  but it would be nice.
 
  4) How about X/HTML? this is my lowest level need but, again, it would be 
nice.
 
 One option would be to use markdown with pandoc.
 
 http://johnmacfarlane.net/pandoc/
 
   I mostly write in
 ConTeXt, but if I know I must share with users of word processors then
 markdown + pandoc is a good option.

And to the OP's original point about academic writing, pandoc has built-in (if 
fairly new) citation processing. I would think it would work quite well for 
work 
in the humanities.

I would give pandoc a try and see if it fits your needs, and then use TeX in 
some form to get PDF output.

Bruce

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] itemize

2011-12-18 Thread Aditya Mahajan

Hi,

With the latest beta

 \setupitemize[2][packed,joinedup]

gives

checkmissing or ungrouped '=' after 'packed' in line 2 
(@@opitemize:2:)


Aditya
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Right float and grid

2011-12-18 Thread Aditya Mahajan
When using right float with grid, paragraphs do not wrap correctly arround 
the figure. Consider the following example and compare the output with and 
without \setuplayout[grid=on]


\setuplayout[grid=on]
\starttext
\startplacefigure[location={right,none}]
  \externalfigure[cow][width=0.3\textwidth]
\stopplacefigure
\input knuth

\stoptext

Aditya

test-grid.pdf
Description: Adobe PDF document


test-nogrid.pdf
Description: Adobe PDF document
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Right float and grid

2011-12-18 Thread Aditya Mahajan

On Sun, 18 Dec 2011, Aditya Mahajan wrote:

When using right float with grid, paragraphs do not wrap correctly arround 
the figure.


Another bug with floats. Using \definetextbackground goobles all floats!

\definetextbackground
  [whatever]
  [
background=color,
backgroundcolor=lightblue,
location=paragraph,
  ]

\starttext
\startplacefigure[location={right,none}]
  \externalfigure[cow][width=0.3\textwidth]
\stopplacefigure
\input knuth

\stoptext

gives the attached file (No float!)

Aditya

test.pdf
Description: Adobe PDF document
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] simplefonts broken?

2011-12-18 Thread Kip Warner
On Sun, 2011-12-18 at 15:24 +0100, Pablo Rodríguez wrote:
 Hi there,
 
 after upgrading TL2011 today and having installed a new version of
 simplefonts, I cannot get this sample working:
 
 \usemodule[simplefonts]
 \setmainfont[TeX Gyre Pagella]
 \starttext
 \TeX
 \stoptext
 
 The error I get reads:
 
 ! Undefined control sequence.
 
 system   tex  error on line 2 in file a.tex: Undefined control
 sequence ...
 
  1 \usemodule[simplefonts]
  2   \setmainfont[TeX Gyre Pagella]
  3 \starttext
  4 \TeX
  5 \stoptext
  6
  7 \setuppapersize[A4]
  8 \setuppagenumbering[alternative=singlesided,location=middle]
  9 \starttext
 10 \showlayout
 11 \dorecurse{4}{\input dawkins \par \input knuth \par}
 12 \stoptext
 
 recently read \setmainfont
 
 l.2 \setmainfont
 [TeX Gyre Pagella]
 
 I don't know whether this happens because I'm not using the latest beta,
 but many TL2011 users will face the same situation.
 
 I had to restore the package to its previous version?
 
 Would you be so kind to test it, Wolfgang?
 
 Many thanks for your help,
 
 
 Pablo

I'm having the same issue.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] itemize

2011-12-18 Thread Hans Hagen

On 18-12-2011 19:18, Aditya Mahajan wrote:

Hi,

With the latest beta

\setupitemize[2][packed,joinedup]

gives

check  missing or ungrouped '=' after 'packed' in line 2 (@@opitemize:2:)


fixed in next upload (case _a and _b needs to be swapped)

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Broken textbackground

2011-12-18 Thread Otared Kavian
Dear Hans,

For your information it seems that in the latest beta, textbackground is 
broken: minimal example below, and the output can be found here:
http://dl.dropbox.com/u/4316076/textbackground-bug.pdf
Best regards: OK

%%% begin textbackground-bug.tex
\starttext

\definetextbackground[test][backgroundcolor=lightgray]

\starttextbackground[test]
\input ward 
\input ward 
\stoptextbackground

\stoptext 
%%% begin textbackground-bug.tex
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] (exuberant) ctags and ConTeXt

2011-12-18 Thread Chris Lott
Does anyone have a current working configuration for exuberant-ctags
(I'm using it in vim) to work with ConTeXt? The ctags FAQ shows how to
do it for LaTeX with regexes in a configuration file...
http://vim-taglist.sourceforge.net/extend.html

I can hack away at those, but in case anyone has done this already I
wouldn't have to reinvent that particular wheel.

c
--
Chris Lott ch...@chrislott.org
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Undefined control sequence

2011-12-18 Thread Kip Warner
On Sat, 2011-12-17 at 06:27 +0100, Wolfgang Schuster wrote:
 I uploaded a new revision of the module which should be in the minimals in a 
 few hours.

It still bails, but now for apparently a different reason. I find it
very hard to read the error messages ConTeXt throws. I'm accustomed to
gcc style output with...

application: file: line: description

...type error messages. I wonder if there is any way to make it more
readable. This is the current output now up until it bails.

$ context Source/Handbook.tex --result=Avaneya Project Crew
Handbook.pdf --purgeresult

resolvers   | resolving | loading configuration file
'selfautodir:/share/texmf/web2c/contextcnf.lua'
resolvers   | resolving | loading configuration file
'/usr/share/texmf/web2c/contextcnf.lua'
mtx-context | run 1: luatex
--fmt=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en
 
--lua=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui
 --backend=pdf Source/Handbook.tex \stoptext
This is LuaTeX, Version beta-0.71.0-2011101421 (rev 4358) 
 \write18 enabled.

resolversresolving  loading configuration file
'/usr/share/texmf/web2c/contextcnf.lua'
(Source/Handbook.tex

ConTeXt  ver: 2011.12.17 10:04 MKIV  fmt: 2011.12.18  int:
english/english

system   cont-new.mkiv loaded
(/usr/share/texmf/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   Handbook.top loaded
(Handbook.top)
fontslatin modern fonts are not preloaded
languageslanguage en is active
{/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
(/usr/share/texmf/tex/context/base/type-siz.mkiv)
(/usr/share/texmf/tex/context/base/type-otf.mkiv)
filesreadfile  asked name: 'loc', not found
{/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}
fontsdefining  forced type afm of stmary10 not found
fontsdefining  font with asked name 'stmary10' is not
found using lookup 'file'
fontsvirtual math  loading font LMMath7-Regular subfont 9
with name stmary10.afm at 458752 is skipped, not found
fontsdefining  forced type afm of stmary10 not found
fontsdefining  font with asked name 'stmary10' is not
found using lookup 'file'
fontsvirtual math  loading font LMMath9-Regular subfont 9
with name stmary10.afm at 589824 is skipped, not found
fontsdefining  forced type afm of stmary10 not found
fontsdefining  font with asked name 'stmary10' is not
found using lookup 'file'
fontsvirtual math  loading font LMMath12-Regular subfont 9
with name stmary10.afm at 786432 is skipped, not found
fontsfallback modern rm 12pt is loaded
(Source/Environment.tex
resolversmodules  loaded: 'units'
(/usr/share/texmf/tex/context/base/m-units.mkiv
+ /usr/share/texmf/tex/context/base/x-mathml.lua)
resolversmodules  loaded: 'simplefonts'
(/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.tex
loading  ConTeXt User Module / Simplefonts
+ /usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.lua)
fontsbeware: fontclass ignored (if needed use:
[fontclass][size][settings])
)
backend  xmp  using file
'/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1, subpage 1
 Source/Makeup/Images/m_k_i_v_Bazaar_Logo.pdf
Source/Makeup/Images/m_k_i_v_ConTeXt_Logo.pdf
pagesflushing realpage 2, userpage 1, subpage 2
structuresectioning  title @ level 2 : 0.0 - \headtext
{content}
(Source/Preface/Preface.tex
pagesflushing realpage 3, userpage 1, subpage 1
structuresectioning  chapter @ level 2 : 0.1 - Preface
backend  references  invalid page reference: 0
references   unknown reference [Preface][Revision Control
Management]
backend  references  invalid page reference: 0
)
pagesflushing realpage 4, userpage 2, subpage 1
(Source/Core_Leitmotifs/Core_Leitmotifs.tex
structuresectioning  chapter @ level 2 : 0.1 - Core
Leitmotifs
references   unknown reference [Core Leitmotifs][Communication]
backend  references  invalid page reference: 0
references   unknown reference [Core Leitmotifs][Resources For
Everyone]
backend  references  invalid page reference: 0
backend  references  invalid page reference: 0
references   unknown reference [Core Leitmotifs][Genuine Progress
Indicator]
backend  references  invalid page reference: 0
backend  references  invalid page reference: 0
backend  references  invalid page reference: 0
backend  references  invalid page reference: 0
backend  references  invalid page reference: 0
backend  references  invalid page reference: 0
backend  

Re: [NTG-context] Undefined control sequence

2011-12-18 Thread Kip Warner
On Sat, 2011-12-17 at 11:56 +0900, Vladimir Lomov wrote:
  system   cont-new.mkiv loaded
  (/usr/share/texmf/tex/context/base/cont-new.mkiv
  system   beware: some patches loaded from cont-new.mkiv
  )
 but this and other paths are odd, this is not context-suite (aka context
 minimal). Are you sure that you use correct version? I suspect that you
 have Ubuntu with TL installed (therefore /usr/share/...), and may be
 context suite somewhere.

I am using Ubuntu, and I'm not sure what TL is. I think that might mean
Texlive, which I don't know much about.

 Please provide more information:
 - either you use context suite (which version, where it is installed,
 how you set up PATH,...),
 - or you use PPA,
 - or TL with context from Ubuntu package repository.

I am using context from Adam's PPA, version 2:2011.11.29~maverick1:
https://launchpad.net/~reviczky/+archive/context-daily

I also apparently have a shitload of texlive* packages installed. They
all look like they are official Ubuntu packages. Should I keep them?

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] (exuberant) ctags and ConTeXt

2011-12-18 Thread Aditya Mahajan

On Sun, 18 Dec 2011, Chris Lott wrote:


Does anyone have a current working configuration for exuberant-ctags
(I'm using it in vim) to work with ConTeXt? The ctags FAQ shows how to
do it for LaTeX with regexes in a configuration file...
http://vim-taglist.sourceforge.net/extend.html

I can hack away at those, but in case anyone has done this already I
wouldn't have to reinvent that particular wheel.


I had (about 4 years ago) written a ctags module that redefined a low 
level reference macro so that a ctags file was automatically written when 
you compiled your document.


If I were to write it again, I will just write a mtx-ctags.lua file that 
will read the filename.tuc file (all the info is there as a lua table) and 
write it to a ctags file in the right format. You can then set the ctags 
program in vim to `mtxrun --script ctags filename.tex`


Aditya
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Citation Error 2 using BibTeX db

2011-12-18 Thread Chris Lott
I was testing citation capability with a BibTeX db based on the
Context Garden bibliography page:
http://wiki.contextgarden.net/Bibliography

The example code using the xampl.bib from my distribution didn't work
at all. So I've tried to make a very small example, which results in
an in-text citation that says [[error 2]] and no citations listed in
the References section:

CONTEXT --VERSION
mtx-context | main context file:
/Users/chrislott/context/tex/texmf-context/tex/context/base/context.mkiv
mtx-context | current version: 2011.12.18 15:57

CTXBIBTEST.TEX (I've tried with and without the bibltx module, which
isn't found on my system)
\usemodule[bib]
\usemodule[bibltx]
\setupbibtex[database=bibtest]
\starttext
Oh No, he said \cite[lott].
\completepublications
\stoptext

BIBTEST.BIB
@book{lott,
author  = Chris Lott,
title   = FUBARed,
publisher  = NonExistent Press,
year= 2011,
address = Timbuktu
}

CTXBIBTEST.BBL (generated by ConTeXt):
\setuppublicationlist[samplesize={Lot11},totalnumber=1]

\startpublication[k=lott,t=book,
a={{Lott}},y=2011,
n=1,s=Lot11]
\author[]{Chris}[C.]{}{Lott}
\pubyear{2011}
\title{FUBARed}
\city{Timbuktu}
\pubname{NonExistent Press}
\stoppublication

CTXBIBTEST.AUX (generated by ConTeXt)

c
--
Chris Lott ch...@chrislott.org
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___