[NTG-context] linetable

2012-02-27 Thread Leon Adams
Hello,

I have a rather large table that I have to typeset. It needs to be rotated
90 to fit and will span several pages.
I have tried:
\setuptables[split=repeat]
\placetable[split,90][table:literature]{A selected survey...}{\start
\starttablehead
\HL
\NC {\bf Reference} \NC {\bf Application} \NC  {\bf Family} \NC {\bf
Dimension} \NC {\bf Global measure} \NC {\bf Parameter} \MR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
\starttables[|p(1.5in)|p(0.75in)|p(1.5in)|p(.75in)|p(1.75in)|p(1.75in)|]

\NC \cite{Dupuis2005} \NC Environmental  \NC Class of \MEV \NC Multivariate
 \NC Tail dependence \NC Weighted Maximum likelihood \MR
  :
  :
\stoptables
\stop}

However rotating 90 seems to complicate matters and the table extends into
footer. Any help in solving this issue would be appreciated.

Also, I began to look at the linetable solution but could not find any
documentation. Is there anyway to tell how to use this mode?

Thanks in advance
-- 
Leon Adams
___
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] Strange mixing of lists (figures, tables etc.) and lists of bibliography

2012-02-27 Thread Jaroslav Hajtmar

Hello ConTeXist...
Maybe not from the source text shows what it was ... Therefore, I send 
the resultingPDF file to see what nonsense gets his compilations.
In the list of bibliography in some strange way I get a description of 
the image that would normally appear in the list of images.


Jaroslav Hajtmar



Dne 25.2.2012 13:43, Jaroslav Hajtmar napsal(a):

Hello ConTeXist.
Here is my next problem. You see it in minimal example.
When I put link to bibliography to caption of figure, then list of 
bibliography consist caption of figure ...

What I am doing wrong?
In MKII and former versions of MKIV it worked OK.

Thanx Jaroslav Hajtmar


Here is my example:

\setupbibtex[database={samplebib}]
\setuppublications[alternative=ams]
\defineselector [caption] [max=2,n=2] % alternate {short}{long} caption


% Content of file samplebib.bib
%
% @STRING{hh = {Hans Hagen}}
%
% @ARTICLE{hh2010a,
%   author = hh,
%   title = {The Font Name Mess},
%   journal = {MAPS},
%   year = {2010},
%   volume = {40},
%   pages = {2-8},
%   keywords = {context},
% }
%
% @BOOK{Eijkhout1991,
%   title = {\TeX\ by Topic. A \TeX nician's Reference},
%   publisher = {Addison-Wesley},
%   year = {1991},
%   author = {Victor Eijkhout},
%   address = {London},
%   keywords = {general},
% }

\startbuffer[fig1]
 \useexternalfigure[fig1][fig1.jpg][type=jpg,metod=jpg,width=5cm]
\placefigure[force][fig1]
   {\select{caption}
   {Caption of list of capfions}
   {Caption of figure with link to bibliography 
\cite[hh2010a].}

   }
  {\externalfigure[fig1]}
\stopbuffer


\starttext

Citation one is \cite[hh2010a] and another citation is 
\cite[Eijkhout1991].


\getbuffer[fig1]

% When you uncomment next line, then bibliography crashed
%\section{List of citations}

Example of mixing bibliography and captions of pictures:

\placepublications[criterium=cite]

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







test2conf3.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] Command in enumeration title

2012-02-27 Thread Stefan Müller

Hi,

yeah, is seems as if both problems (this and the one about 
way=bychapter from my other thread) have been introduced some time 
ago.  It worked on MkIV version 2025 21:29.


On 27.02.2012 00:30, Rogers, Michael K wrote:

Hi Stefan,

I didn't know about \Word.  It retried your example and it works as is in my 
version of ConTeXt, which is an earlier one that yours it seems.  [Your other 
enumeration example, with way=bychapter etc., works the way you want, too.]  
Sorry, I don't think I can help.  Perhaps one of the more expert users can 
verify whether it works or not.

Best,

Michael

___
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] Linebreak between Chapter Number and Name

2012-02-27 Thread Aditya Mahajan

On Mon, 27 Feb 2012, Wolfgang Schuster wrote:


Am 27.02.2012 um 02:47 schrieb Rogers, Michael K:


On Feb 26, 2012, at 7:13 PM, Marc Trius wrote:


I am trying to format a chapter heading so that there is a linebreak between 
the number and the name. The only way I managed to do this is this:


\setuphead[
chapter][command=\ChapTitle]
\def\ChapTitle#1#2%
{\framed[height=2cm,width=broad]{#1\\#2}
}



This worked for me:

\def\ChapTitle#1#2{\framed{\vbox{\startalignment[center]#1\par#2\stopalignment}}}


\define[2]\ChapTitle
 {\framed[width=broad,align=middle]{#1\\#2}}


I don't know if \vbox's are frowned on in ConTeXt, but my fix doesn't work if 
you remove it.  I've just started migrating from Plain Tex to ConTeXt, so 
please excuse a naive response.


Special layouts for the headings requires sometimes \vbox and \hbox but in this 
case you don’t need it.


Well, \framed[...,align=middle,...] is a \vbox.

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
___

Re: [NTG-context] bug with \setuplist[alternative=d,margin=2em]?

2012-02-27 Thread Pablo Rodríguez
On 02/26/2012 09:45 PM, Wolfgang Schuster wrote:
 Am 26.02.2012 um 16:32 schrieb Pablo Rodríguez:
 Hi there,

 \setuplist[alternative=d,margin=2em] is shown right on the first item
 from the sample below, but not on the last one:
 []
 This happens since previous beta and I guess it might be a bug.
 
 This fix should help.
 
 strc-lst.mkvi:
 
 \def\strc_lists_place_indeed#tag#list#settings%
   {\begingroup
\edef\currentlist{#tag}%
\setupcurrentlist[#settings]%
\the\everystructurelist
  % \doif{\listparameter\c!coupling}\v!on{\startlistreferences{#tag}}%
\doplacestructurelist % maybe inline
  {#list}%
  {\listparameter\c!criterium}%
  {\listparameter\c!number}%
  {\listparameter\c!extras}%
  {\listparameter\c!order}%
  % \stoplistreferences
 +  \par
\endgroup
\strc_lists_set_mode}

Many thanks, Wolfgang.

It works fine now.


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] solution for missing bookmark (minimal example)

2012-02-27 Thread Hans Hagen

On 25-2-2012 10:32, Steffen Wolfrum wrote:

Hi,

is there a chance that this problem can be solved within the next days (the 
publishers won't wait too long for the working PDF).

Sorry for being persistent,


I have to catch up after a week of flu and have some deadlines to catch 
as well. Going over old code (that I don't even have on my machine any 
more) is not on the agenda now. If it's just a few bookmarks being 
wrong, can't you just add them in acrobat then?


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
___