Re: [NTG-context] join references with extra argument

2009-07-20 Thread Taco Hoekwater

Xan wrote:

Hi,
I have \cite[extras={, Proposició~6.6}][grillet] \cite[extras={, 
Proposició~1.6}][cgt] and it shows me:


[1, Proposició 6.6] [2, Proposició 1.6]

It's possible to write code for displaying something like:

[1, Proposició 6.6; 2, Proposició 1,6]


Something like this may 'work':

  I have \cite[right={; }, extras={, Proposició~6.6}][grillet]
  \cite[left=,extras={, Proposició~1.6}][cgt]

I know it that is very ugly coding, but it is the best possible.

Best wishes,
Taco
___
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] First page of chapter layout

2009-07-20 Thread luigi scarso
On Sun, Jul 19, 2009 at 11:49 PM, Tom t...@tuxedo-press.com wrote:

  The assistance for my last question came quickly and was so helpful that
 I will go back to the well.



 How does one go about changing the layout for the first pages of a chapter?
 By default, I get the chapter number and title in large print at the top of
 the page but want to make it something more interesting. My experiments with
 \setuphead haven’t been fruitful.



 Tom Benjey

 Tuxedo Press


have you seen
 http://wiki.contextgarden.net/Titles
?


-- 
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/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] PDF Keywords in current beta

2009-07-20 Thread Hans Hagen

Andreas Schneider wrote:

Hello,

in the current beta the usage of the Keyword argument in the
\setupinteraction command causes lua to fail in line 136 of
lpdf-mis.lua:

code snippet
local keywords = specification.keywords or  if keywords ~=  then
keywords = string.gsub([%s,]+,  )
lpdf.addtoinfo(Keywords,pdfunicode(keywords))
end
/code snippet


error
! LuaTeX
error ...text/tex/texmf-context/tex/context/base/lpdf-mis.lua:136: bad
argument #3 to 'gsub' (string/function/table expected)
/error


I don't know what is expected there since I don't know the PDF specs,
but I guess it's easily fixable ;-)


keywords = string.gsub(keywords, [%s,]+,  )


-
  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] some problems with current

2009-07-20 Thread Peter Münster
Hello,

Here some minimal examples showing some problems:

1.) Number missing before first item:

\starttext
\startitemize[n][start=0]
\item zero is missing here
\item bla
\item bla
\stopitemize
\stoptext


2.) Problem with \FlushStep:

\usemodule[pre-stepwise]
\setupinteraction[state=start]
\starttext
\chapter{Footnote and stepwise}
\StartSteps
\startitemize
\item bla\FlushStep % 1. step: nothing
  \footnote{footnote}\FlushStep % 2. step: only footnote, not the \item
\item bla\FlushStep % 3. step: first \item
\stopitemize% second \item never appears
\StopSteps
\stoptext


3.) ERROR: LuaTeX error lpdf-ano.lua:340: attempt to
index global 'urls' (a nil value):

\setupinteraction[state=start]
\starttext
\goto{bla}[url(bla)]
\stoptext


4.) \placeheadtext[chapter] showing section title:

\starttext
\chapter{my chapter title}
\section{my section title}
test: \placeheadtext[chapter]
\stoptext


5.) \setcatcodetable\prtcatcodes no more working:

\unprotect
\def\...@bla{sec title}
\def\mysection{{\setcatcodetable\prtcatcodes\section{\...@bla}}}
\protect
\starttext
\mySection
bla bla
\stoptext


6.) x.\  should produce a normal space, not a wide space as x. :

\starttext
x. x, x.\ x,\ x
\stoptext 


Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] join references with extra argument

2009-07-20 Thread Xan

En/na Taco Hoekwater ha escrit:


Something like this may 'work':

  I have \cite[right={; }, extras={, Proposició~6.6}][grillet]
  \cite[left=,extras={, Proposició~1.6}][cgt]

I know it that is very ugly coding, but it is the best possible.

Best wishes,
Taco

Thanks Taco.
Yes, it's a little ugly code. My opinion is that perhaps you could write 
a patch for easy that: something like \citen[ref, theorem; ref; theorem; 
] (ref: reference and theorem the text what you want to display; 
citen is cite with names). Just a suggestion.


Xan.
___
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] \startlanguagespecifics undefined

2009-07-20 Thread Peter Münster
Hello,

\startlanguagespecifics is no more known (perhaps lang-spe.mkiv
just missing?):


\startlanguagespecifics[fr]
  \setcharacterspacing[frenchpunctuation]
\stoplanguagespecifics
\starttext
bla
\stoptext 

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] t-vim: inline typing?

2009-07-20 Thread Peter Münster
Hello,

Is it possible somehow, to get inline syntax highlighting (as with
\type{...})?

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] t-vim: unwanted space after vimtyping

2009-07-20 Thread Peter Münster
Hello,

I've tried to put a \relax at the end of the input file (file generated by
vim) and also done some experiments with \removeunwantedspaces but I could
not get rid of the space (vertical or horizontal) after the vim-typing.
Here an example, showing the problem:

\usemodule[vim]
\setupwhitespace[big]
\definevimtyping[C][syntax=c]
\starttext
no problem before the typing
\startC
bla
\stopC
horizontal space added

\startC
bla
\stopC

too much vertical space
\stoptext

TIA for any help, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] t-vim: unwanted space after vimtyping

2009-07-20 Thread Peter Münster
On Mon, 20 Jul 2009, Peter Münster wrote:

 \usemodule[vim]
 \setupwhitespace[big]
 \definevimtyping[C][syntax=c]
 \starttext
 no problem before the typing
 \startC
 bla
 \stopC
 horizontal space added
 
 \startC
 bla
 \stopC
 
 too much vertical space
 \stoptext

I found a workaround:
\setupvimtyping[after=\vskip-\lineheight]

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] \setuptype[style=...] and a feature request

2009-07-20 Thread Peter Münster
Hello,

The style command of \setuptype is executed 2 times:

\setuptype[style=X]
\starttext
\type{bla}
\stoptext

Feature request:
\setuptype[before=..., after=...]

(today I use this workaround: \setuptype[style=\groupedcommand{...}{...}] )

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] t-vim: unwanted space after vimtyping

2009-07-20 Thread Aditya Mahajan

On Mon, 20 Jul 2009, Peter Münster wrote:


Hello,

I've tried to put a \relax at the end of the input file (file generated by
vim) and also done some experiments with \removeunwantedspaces but I could
not get rid of the space (vertical or horizontal) after the vim-typing.
Here an example, showing the problem:

\usemodule[vim]
\setupwhitespace[big]
\definevimtyping[C][syntax=c]
\starttext
no problem before the typing
\startC
bla
\stopC
horizontal space added

\startC
bla
\stopC

too much vertical space
\stoptext

TIA for any help, Peter


This is because of the naive way in which I have implemented line 
numbering.


If you do not need linenumbering, remove \strut from the definition of
   \def\obeyedline{\placevimlinenumber\par\strut}%
in  \initializevimtyping.

I will try to clean up the vim module. The whole thing can be done much 
more cleanly in lua.


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


Re: [NTG-context] \setuptype[style=...] and a feature request

2009-07-20 Thread Wolfgang Schuster


Am 20.07.2009 um 16:33 schrieb Peter Münster:


Hello,

The style command of \setuptype is executed 2 times:

\setuptype[style=X]
\starttext
\type{bla}
\stoptext

Feature request:
\setuptype[before=..., after=...]


You mean left and right, before and after should be kept for  
environments only.


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


[NTG-context] attempt to compare userdata with number

2009-07-20 Thread Peter Münster
Hello,

Phew, finally I've managed to reduce my 700 lines document to this
minimal example:

\setupinteraction[state=start]
\placebookmarks[chapter, section]
\setcharacterspacing[frenchpunctuation]
\starttext
\chapter{chap}
\section{sec}
text :
\section{sec}
\stoptext


Error text:

! LuaTeX error ...text/tex/texmf-context/tex/context/base/lpdf-ano.lua:510:
attempt to compare userdata with number
stack traceback:
...text/tex/texmf-context/tex/context/base/lpdf-ano.lua:510: in
function 'build'
...text/tex/texmf-context/tex/context/base/lpdf-ano.lua:564: in
function 'addbookmarks'
...text/tex/texmf-context/tex/context/base/strc-bkm.lua:83: in function
'place'
main ctx instance:1: in main chunk.
inserted text ...a {structure.bookmarks.place()}
  
\stoptext ... [\v!last ]\page \the \everystoptext 
  \expandafter \finalend

  \fi 
l.9 \stoptext


Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] t-vim: inline typing?

2009-07-20 Thread Aditya Mahajan

On Mon, 20 Jul 2009, Peter Münster wrote:


Hello,

Is it possible somehow, to get inline syntax highlighting (as with
\type{...})?


Attached is an ugly solution. I haven't tested it too much.

Usage example

\usemodule[vim]
\setupwhitespace[big]
\setupcolors[state=start]
\definevimtyping[C][syntax=c]

\starttext
We can always type code in display mode
\startC
#include stdio.h
\stopC

But more interestingly, we can now type code in inline mode
also. For example to print something we use \startinlineC
printf(%d, num); \stopinlineC and we can continue typing.
\stoptext

It should be possible to also define \typeC{...}, but then I will need to 
read up how to read code in verbatim and write it to a file.



Aditya%M \logo [VIM] {VIM} % Needed for the title

%D \module
%D   [  file=t-vim,
%Dversion=2008.07.15,
%D  title=\VIM\ to \CONTEXT,
%D   subtitle=Use \VIM\ to generate code listing,
%D author=Mojca Miklavec \ Aditya Mahajan,
%D  email=adityam at umich dot edu,
%D   date=\currentdate,
%D  copyright=Public Domain]

%M
%M \usemodule [vim]
%M \usemodule[int-load]
%M \loadsetups[t-vim.xml]
%M \usetypescript[modern-base][texnansi] \setupbodyfont[modern]
%M \setuptyping[option=color]
%M \setupcolors[state=start]

%D \section   {User Manual}
%D
%D \CONTEXT\ has an excellent pretty printing capabilities for many languages.
%D The code for pretty printing is written in \TEX, and due to catcode
%D jugglery verbatim typesetting is perhaps the trickiest part of \TEX. This
%D makes it difficult for a \quotation{normal} user to define syntax
%D highlighting rules for a new language. This module, takes the onus of
%D defining syntax highlighting rules away from the user and uses \VIM\ editor
%D to generate the syntax highlighting.  There is a helper
%D \filename{2context.vim} script to do the syntax parsing in \VIM. This is a
%D stop|-|gap method, and hopefully with \LUATEX, things will be much easier. 
%D
%D The main macro of this module is \type{\definevimtyping}. The best way to
%D explain it is by using an example. Suppose you want to pretty print ruby
%D code in \CONTEXT. So you can do
%D \starttyping
%D \definevimtyping [RUBY]  [syntax=ruby]
%D \stoptyping
%D after which you can get ruby highlighting by
%D \starttyping
%D \startRUBY
%D 
%D \stopRUBY
%D \stoptyping
%D
%D For example
%D \startbuffer
%D \definevimtyping [RUBY] [syntax=ruby]
%D
%D \startRUBY
%D #! /usr/bin/ruby
%D # This is my first ruby program
%D puts Hello World
%D \stopRUBY
%D \stopbuffer
%D {\getbuffer}
%D This was typed as \typebuffer
%D
%D The typing can be setup using \type{\setupvimtyping}.
%D
%D \showsetup{setupvimtyping}
%D
%D Here \type{syntax} is the syntax file in \VIM\ for the language
%D highlighting that you want. See \type{:he syntax.txt} inside \VIM\ for
%D details. \type{colorscheme} provides the syntax highlighting for various
%D regions. Right now, two colorschemes are defined. The \type{default}
%D colorscheme is based on on \filename{ps_color.vim} colorscheme in \VIM, and
%D the \type{blackandwhite} colorscheme is based on \filename{print_bw.vim}.
%D If there is a particular colorscheme that you will like, you can convert it
%D into \CONTEXT. \type{space=(yes|on|no)} makes the space significant,
%D visible, and insignificant respectively. \type{tab} specifies the number of
%D spaces a tab is equivalent to. It's default value is 8. \type{start} and
%D \type{stop} specify which lines to read from a file. These options only
%D make sense for highlighting files and should not to be set by
%D \type{\setupvimtyping}.  \type{numbering} enables line numbering, and
%D \type{step} specifies which lines are numbered. \type{numberstyle} and
%D \type{numbercolor} specify the style and color of line numbers. By
%D default the numbers are placed on the left. The location of the numbers can
%D be configured using \type{numbercommand} option.
%D
%D A new typing region can be define using \type{\definevimtyping}.
%D
%D \showsetup{definevimtyping}
%D
%D Minor changes in syntax highlighting can be made easily. For example, Mojca
%D likes \quote{void} to be bold in C programs. This can be done as follows
%D
%D \startbuffer
%D \definevimtyping [C] [syntax=c,numbering=on]
%D 
%D \startvimcolorscheme[default]
%D 
%D \definevimsyntax
%D   [Type]
%D   [style=boldmono]
%D
%D \definevimsyntax
%D   [PreProc]
%D   [style=slantedmono]
%D 
%D \stopvimcolorscheme
%D 
%D \startC
%D #include stdio.h
%D #include stdlib.h
%D 
%D void main() 
%D {
%Dprintf(Hello World\n) ;
%Dreturn;
%D }
%D \stopC
%D \stopbuffer 
%D \typebuffer which gives {\getbuffer}
%D
%D The second command provided by this module is \type{\definetypevimfile} for
%D typesetting files.  The syntax of this command is
%D
%D \showsetup{definetypevimfile}
%D
%D For example, to pretty print a ruby file you can do
%D \starttyping
%D \definetypevimfile[typeRUBY] [syntax=ruby]
%D \stoptyping
%D after which one can use
%D \starttyping
%D 

Re: [NTG-context] \setuptype[style=...] and a feature request

2009-07-20 Thread Hans Hagen

Peter Münster wrote:

Hello,

The style command of \setuptype is executed 2 times:

\setuptype[style=X]
\starttext
\type{bla}
\stoptext


hm, i'll look at it


Feature request:
\setuptype[before=..., after=...]


well, not before/after then but left/right



-
  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
___


Re: [NTG-context] \highordinalstr not defined

2009-07-20 Thread Hans Hagen

Peter Münster wrote:

Hello,

Workaround: \let\highordinalstr=\high


i'll add it to the core


-
  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
___


Re: [NTG-context] \startlanguagespecifics undefined

2009-07-20 Thread Hans Hagen

Peter Münster wrote:

Hello,

\startlanguagespecifics is no more known (perhaps lang-spe.mkiv
just missing?):


\startlanguagespecifics[fr]
  \setcharacterspacing[frenchpunctuation]
\stoplanguagespecifics
\starttext
bla
\stoptext 


indeed language specififics are gone in mkiv as i want to make a better 
mechanism


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
___


Re: [NTG-context] attempt to compare userdata with number

2009-07-20 Thread Hans Hagen

Peter Münster wrote:

Hello,

Phew, finally I've managed to reduce my 700 lines document to this
minimal example:

\setupinteraction[state=start]
\placebookmarks[chapter, section]
\setcharacterspacing[frenchpunctuation]
\starttext
\chapter{chap}
\section{sec}
text :
\section{sec}
\stoptext


fixed; nasty buglet

-
  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
___


Re: [NTG-context] some problems with current

2009-07-20 Thread Hans Hagen

Peter Münster wrote:

Hello,

Here some minimal examples showing some problems:

1.) Number missing before first item:

\starttext
\startitemize[n][start=0]
\item zero is missing here
\item bla
\item bla
\stopitemize
\stoptext


fixed, counters now have criterium=strict|all|positive


2.) Problem with \FlushStep:

\usemodule[pre-stepwise]
\setupinteraction[state=start]
\starttext
\chapter{Footnote and stepwise}
\StartSteps
\startitemize
\item bla\FlushStep % 1. step: nothing
  \footnote{footnote}\FlushStep % 2. step: only footnote, not the \item
\item bla\FlushStep % 3. step: first \item
\stopitemize% second \item never appears
\StopSteps
\stoptext


fixed (had to do with optimization of layout components shown on layer; 
will always be somewhat messy




3.) ERROR: LuaTeX error lpdf-ano.lua:340: attempt to
index global 'urls' (a nil value):

\setupinteraction[state=start]
\starttext
\goto{bla}[url(bla)]
\stoptext


fixed


4.) \placeheadtext[chapter] showing section title:

\starttext
\chapter{my chapter title}
\section{my section title}
test: \placeheadtext[chapter]
\stoptext


fixed


5.) \setcatcodetable\prtcatcodes no more working:

\unprotect
\def\...@bla{sec title}
\def\mysection{{\setcatcodetable\prtcatcodes\section{\...@bla}}}
\protect
\starttext
\mySection
bla bla
\stoptext


fixed, that is for the moment you need to set

catcodes=auto

or

catcodes=prtcatcodes

(in which case you can leave out the \setcatcodetable)

this mechanism is 'work in progress'as we also have to deal with complex 
 either or not expanded xml cases and i don't want to break too much of 
thomas's documents)



6.) x.\  should produce a normal space, not a wide space as x. :

\starttext
x. x, x.\ x,\ x
\stoptext 


actually i made it space, in order to make \space the same but a space 
and \ is not the same ... kind of a dilemma


\starttext

\bgroup
\unexpanded\def\ {\mathortext\normalspaceprimitive\space}
x. x, x.\ x,\ x \par
x. x, x.\space x,\ x \par
\let\ = \normalspaceprimitive x. x, x.\ x,\ x \par
\egroup

\bgroup
\unexpanded\def\ {\mathortext\normalspaceprimitive\space}
x. x \par
x.\ x \par
x.\space x \par
\let\ = \normalspaceprimitive x.\ x \par
\egroup

\stoptext

\stoptext


-
  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
___


Re: [NTG-context] Inter-document Cross References

2009-07-20 Thread Hans Hagen

Adam Lewis wrote:

I am trying to create cross references that span two documents, but am
having trouble figuring out exactly how to generate PDFs where the cross
references from one document to the other work.  I'm following the
project/product/component structure and my two documents are each a product
in the same project.  I normally run texexec from within the product
directory, when I try running it from the project directory there is no
output.

Is it possible to have documents reference each other in this way?  Why
piece am I missing?  I've looked through the documentation, wiki, google,
this list, etc and I'm either searching for the wrong thing or there is
nothing written about it.


\goto{one}[document-1::foo]

\goto{two}[document-2::bar]

in mkii there is also \usereferences[somefile] that permits loading of 
references from another file


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] new beta

2009-07-20 Thread Hans Hagen

I uploaded a beta.
--

-
  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] [off topic] wha'ts the best bibtex entity for lecture notes

2009-07-20 Thread Xan

Hi,

I just don't know what's the best class for lecture notes: @conference, 
@inproceeding, @misc, e.



Thanks in advance,
Xan.
___
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] Font of this article

2009-07-20 Thread Xan

Hi,

Does anyone know what is the font from this article: 
http://www.tug.org/pracjourn/2006-4/fenn/ ??

I like it very much.

Xan.
___
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] Font of this article

2009-07-20 Thread Aditya Mahajan

On Tue, 21 Jul 2009, Xan wrote:


Hi,

Does anyone know what is the font from this article: 
http://www.tug.org/pracjourn/2006-4/fenn/ ??


URW Palladino, a Palatino clone.

You can find the font using pdffont, or looking at document properties in 
acrobat reader.


BTW, ConTeXt comes with a style file for PracTeX journal. 
http://wiki.contextgarden.net/Modules/Pracjourn


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


Re: [NTG-context] [off topic] wha'ts the best bibtex entity for lecture notes

2009-07-20 Thread Aditya Mahajan

On Mon, 20 Jul 2009, Xan wrote:

I just don't know what's the best class for lecture notes: @conference, 
@inproceeding, @misc, e.


I use @unpublished for lecture notes..

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