[NTG-context] Multiple bibliographies (bib-module, mkiv)

2014-04-07 Thread Peng Zhang

Dear all,

I am searching for a solution where I can use two different sources of 
bib files separately. I found that the same question was asked before at 
this mail list. Since it was few years old, could I ask if there is any 
new work done towards it?


Thanks!
Peng

http://www.ntg.nl/pipermail/ntg-context/2010/048290.html

Hello,


I need two bibliographies for my document, »Primary sources« and
»Secondary sources«.

Two bibliographies was created and loaded with
\setupbibtex[database={prim,sec}].

But for the last step in my intention I’m looking for something to the
effect that

\placepublications[database=prim]

or in a similar manner to

\nocite{*}

for every bib-database.

Is there any solution or workaround?


Thanks
Markus



___
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 in ligature lookup

2014-04-07 Thread Hans Hagen

On 4/7/2014 7:37 AM, H. Özoguz wrote:

Just remembering. Is it possible to fix this bug?


it's not clear to me what the bug is

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] three long-standing issues

2014-04-07 Thread Hans Hagen

On 4/6/2014 6:53 PM, Pablo Rodriguez wrote:

Hans,

the following sample shows three long-standing issues with ConTeXt (I’m
afraid they might be bugs):

 \definestructureconversionset[chapternumbers][0,I,a,n,g][n]
 \setupheads[sectionconversionset=chapternumbers]
 \setupsectionblock[bodypart][page=no]
 \setupheadertexts[chapter]
 \setupinteraction[state=start]
 \placebookmarks[chapter]
 \starttext
 \chapter{\TeX}
 \input knuth\par

 \startfrontmatter
 \dorecurse{5}{\chapter{Front matter}
 \input zapf\par}
 \stopfrontmatter

 \startbodymatter
 \dorecurse{5}{\chapter{Body matter}
 \input zapf\par}
 \stopbodymatter
 \stoptext

1. PDF bookmarks don’t contain Roman capital numerals (as I think they
should).


be verbose :

\definestructureconversionset[chapternumbers][0,Romannumerals,a,n,g][n]


2. \setupsectionblock[...][page=no] causes the last page in bodypart to
have its header removed.


make sure not have a \page someplace (as the last setting applies till a 
page has been flushed)



3. \chapter{\TeX} causes bookmarks from bodymatter to be located before
bookmarks from frontmatter.


wrap the first chapters in some sectionblock too ... i could do more 
extensive checking in bookmark construction but a messy structure is 
kind of asking for troubles



I have tested this file against ConTeXt from TeX Live 2013 (2013.05.28
00:36), ConTeXt Suite stable (2014.01.03 00:40), and latest beta
(2014.04.06 13:09).

Except issue 3 and ConTeXt from TeX Live 2013, all three versions suffer
from these issues.

Could you fix these issues?

Many thanks for your help,


Pablo




--

-
  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] Vertically stretched split table

2014-04-07 Thread Joshua Krämer
Dear list,

if I specify option=height with an xtable, a single-page
table is stretched vertically to fill the whole textheight.  However, I
need this feature with a multipage table.  In the following example,
the table on the first page should be stretched, but isn't:

\showframe
\starttext
\startxtable [option=height, split=yes]
  \startxrow
\startxcell \input knuth \stopxcell
\startxcell \input ward \stopxcell
  \stopxrow
  \startxrow
\startxcell \input zapf \stopxcell
\startxcell \input ward \stopxcell
  \stopxrow
  \startxrow
\startxcell \input knuth \stopxcell
\startxcell \input ward \stopxcell
  \stopxrow
\stopxtable
\stoptext

The table parts on all the pages but the last page should be stretched
vertically.  If this isn't possible with xtable, is it possible in
another way?  I hope it is possible without splitting the table by
hand, because it is a big project with several hundred table pages,
and splitting by hand would make changes (additional rows) really hard.

Thanks for your help and kind regards,
Joshua Krämer


___
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] Multiple bibliographies (bib-module, mkiv)

2014-04-07 Thread Robert Blackstone

On 7 Apr 2014, at 12:00 , Peng Zhang pczh...@gmail.com wrote

 I am searching for a solution where I can use two different sources of 
 bib files separately. I found that the same question was asked before at 
 this mail list. Since it was few years old, could I ask if there is any 
 new work done towards it?
 
 Thanks!
 Peng
 
 http://www.ntg.nl/pipermail/ntg-context/2010/048290.html

Hello Peng,
For a Bibliography with  separate sections you can use the following 
work-around:
Suppose you want a section primary sources, for which you have the bibfile, 
say, ps.bib, and a section secundary sources, for which have the bibfile 
ss.bib.
The first step is tro to make for each of them a .bbl-file with, what I would 
call, a  bbl-generator.tex:

\setupbibtex[database=ps.bib,sort=author]
%\setupbibtex[database=ss.bib,sort=author]

\setuppublications[alternative=apa] %or any other style

\starttext 

\stoptext 
++
This can be processed with mkii or mkiv. It generates a lot of auxiliary files, 
including an empty pdf, but the only important one is bbl-generator.bbl, 
which you rename to ps.bbl or ss.bbl according to which of the two bib-files 
you used.(= did not comment out)

The other files you need are two .tex-files with the complete set of 
\nocite[]'s of the two databases. Personally I never used \nocite{*}. If you 
use a Mac with BibDesk it is quite easy to make such a file. It gives you some 
extra flexibility.

You can then generate the sectioned bibliography with:
++
\input(Your setups, including those for your Bibliography setup)
\starttext 
\startchapter[bookmark=,label=,list=,marking=,reference=Bibliography,title={Bibliography}
\section{Primary sources}

\input ps.bbl
\input ps-nocite.tex
\placepublications[criterium=cite]

\section{Secundary sources}

\input ss.bbl
\input ss-nocite.tex
\placepublications[criterium=cite]

\stopchapter
\stoptext 
+++
That's all.

I hope it works for you.
Best regards,
Robert Blackstone___
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] Multiple bibliographies (bib-module, mkiv)

2014-04-07 Thread Peng Zhang

Hi Robert,

Thank you very much for this workaround! It does work. Would it be 
possible that I can make two fake/invisible sections? (without showing 
primary sources and secondary sources in your example)


I am doing my CV. I just want two separate reference lists, one for 
journal and one for published abstracts.


I am copying the CV template from wiki.

\definehead[CVHEAD][subject]

\setuphead[subject][style=\bfa,after={\blank[medium]}]


\definehead[SUBCVHEAD][subsubject]

\setuphead[subsubject][style=\bf,after={\blank[small]},before={\blank[small]}]


I want something like
\CVHEAD{References}
\SUBCVHEAD{Pulished Journal Articles}

list 1
\SUBCVHEAD{Pulished Abstracts}
list 2


Could I put two fake/invisible sections within those subcvhead?


Thanks,
Peng


On 04/07/2014 10:34 AM, Robert Blackstone wrote:


On 7 Apr 2014, at 12:00 , Peng Zhang pczh...@gmail.com 
mailto:pczh...@gmail.com wrote



I am searching for a solution where I can use two different sources of
bib files separately. I found that the same question was asked before at
this mail list. Since it was few years old, could I ask if there is any
new work done towards it?

Thanks!
Peng

http://www.ntg.nl/pipermail/ntg-context/2010/048290.html


Hello Peng,
For a Bibliography with  separate sections you can use the following 
work-around:
Suppose you want a section primary sources, for which you have the 
bibfile, say, ps.bib, and a section secundary sources, for which 
have the bibfile ss.bib.
The first step is tro to make for each of them a .bbl-file with, what 
I would call, a  bbl-generator.tex:


\setupbibtex[database=ps.bib,sort=author]
%\setupbibtex[database=ss.bib,sort=author]

\setuppublications[alternative=apa] %or any other style

\starttext

\stoptext
++
This can be processed with mkii or mkiv. It generates a lot of 
auxiliary files, including an empty pdf, but the only important one is 
bbl-generator.bbl, which you rename to ps.bbl or ss.bbl according to 
which of the two bib-files you used.(= did not comment out)


The other files you need are two .tex-files with the complete set of 
\nocite[]'s of the two databases. Personally I never used \nocite{*}. 
If you use a Mac with BibDesk it is quite easy to make such a file. It 
gives you some extra flexibility.


You can then generate the sectioned bibliography with:
++
\input(Your setups, including those for your Bibliography setup)
\starttext
\startchapter[bookmark=,label=,list=,marking=,reference=Bibliography,title={Bibliography}
\section{Primary sources}

\input ps.bbl
\input ps-nocite.tex
\placepublications[criterium=cite]

\section{Secundary sources}

\input ss.bbl
\input ss-nocite.tex
\placepublications[criterium=cite]

\stopchapter
\stoptext
+++
That's all.

I hope it works for you.
Best regards,
Robert Blackstone


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


___
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] three long-standing issues

2014-04-07 Thread Pablo Rodriguez
On 04/07/2014 01:23 PM, Hans Hagen wrote:
 On 4/6/2014 6:53 PM, Pablo Rodriguez wrote:
 [...]

Many thanks for your help, Hans.

 2. \setupsectionblock[...][page=no] causes the last page in bodypart to
 have its header removed.
 
 make sure not have a \page someplace (as the last setting applies till a 
 page has been flushed)

Sorry, I’m afraid I don’t get it.

There was no \page in my original code. I thought that replacing
\chapter with \section would display the header in all pages (since
\chapter introduces a page break), but it doesn’t.

\setupsectionblock[bodypart][page=no]
\setupheadertexts[section]
\starttext

\startbodymatter
\dorecurse{50}{\section{Body matter}
\input zapf\par}
\stopbodymatter
\stoptext

Sorry, which would be the right way to fix the sample above? (And if
that makes a difference, which would be the right way to fix it, if
\section were replaced with \chapter.)

Sorry for the questions, but I don’t have a clue on how to do it.

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] Multiple bibliographies (bib-module, mkiv)

2014-04-07 Thread Robert Blackstone

On 7 Apr 2014, at 17:14 , Peng Zhang pczh...@gmail.com 
mailto:pczh...@gmail.com wrote
 
 Thank you very much for this workaround! It does work. Would it be 
 possible that I can make two fake/invisible sections? (without showing 
 primary sources and secondary sources in your example)
 
 I am doing my CV. I just want two separate reference lists, one for 
 journal and one for published abstracts.
 
 I am copying the CV template from wiki.
 
 \definehead[CVHEAD][subject]
 
 \setuphead[subject][style=\bfa,after={\blank[medium]}]
 
 
 \definehead[SUBCVHEAD][subsubject]
 
 \setuphead[subsubject][style=\bf,after={\blank[small]},before={\blank[small]}]
 
 
 I want something like
 \CVHEAD{References}
 \SUBCVHEAD{Pulished Journal Articles}
 
 list 1
 \SUBCVHEAD{Pulished Abstracts}
 list 2
 
 
 Could I put two fake/invisible sections within those subcvhead?
 
 
 Thanks,
 Peng

Hi Peng, 
I'm not quite sure I fully understand what you want, so I just tried making 
separate lists.
Now for some reason that I don't understand no list appears in a subsubject. 
However if you use instead SUBCVHEAD as an unnumbered section  with

\definehead[SUBCVHEAD][section]
\setuphead[section][header=empty,number=no,style=\bf,after={\blank[small]},before={\blank[small]}]
 

and if  you add \page after
\placepublications[criterium=cite], 

then you get separate lists with unnumbered titles.

I hope this is what you want. If not, maybe someone les on this list can help 
you.

Best regards,
Robert


___
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] three long-standing issues

2014-04-07 Thread Wolfgang Schuster

Am 07.04.2014 um 18:34 schrieb Pablo Rodriguez oi...@gmx.es:

 On 04/07/2014 01:23 PM, Hans Hagen wrote:
 On 4/6/2014 6:53 PM, Pablo Rodriguez wrote:
 [...]
 
 Many thanks for your help, Hans.
 
 2. \setupsectionblock[...][page=no] causes the last page in bodypart to
 have its header removed.
 
 make sure not have a \page someplace (as the last setting applies till a 
 page has been flushed)
 
 Sorry, I’m afraid I don’t get it.
 
 There was no \page in my original code. I thought that replacing
 \chapter with \section would display the header in all pages (since
 \chapter introduces a page break), but it doesn’t.
 
\setupsectionblock[bodypart][page=no]
\setupheadertexts[section]
\starttext
 
\startbodymatter
\dorecurse{50}{\section{Body matter}
\input zapf\par}
\stopbodymatter
\stoptext
 
 Sorry, which would be the right way to fix the sample above? (And if
 that makes a difference, which would be the right way to fix it, if
 \section were replaced with \chapter.)
 
 Sorry for the questions, but I don’t have a clue on how to do it.


Try this: \setupsectionblock[bodypart][page=no,after=\page]

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] three long-standing issues

2014-04-07 Thread Pablo Rodriguez
On 04/07/2014 06:49 PM, Wolfgang Schuster wrote:
 Am 07.04.2014 um 18:34 schrieb Pablo Rodriguez:
 [...]
\setupsectionblock[bodypart][page=no]
\setupheadertexts[section]
\starttext

\startbodymatter
\dorecurse{50}{\section{Body matter}
\input zapf\par}
\stopbodymatter
\stoptext

 Sorry, which would be the right way to fix the sample above? (And if
 that makes a difference, which would be the right way to fix it, if
 \section were replaced with \chapter.)
 
 Try this: \setupsectionblock[bodypart][page=no,after=\page]

Many thanks for your help, Wolfgang.

It fixed the issue.


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] Multiple bibliographies (bib-module, mkiv)

2014-04-07 Thread Peng Zhang
Thank you very much! That is exactly what I want. Changing subsubject to 
unnumbered section does the trick.


Best,
Peng

On 04/07/2014 12:39 PM, Robert Blackstone wrote:

On 7 Apr 2014, at 17:14 , Peng Zhang pczh...@gmail.com
mailto:pczh...@gmail.com wrote

Thank you very much for this workaround! It does work. Would it be
possible that I can make two fake/invisible sections? (without showing
primary sources and secondary sources in your example)

I am doing my CV. I just want two separate reference lists, one for
journal and one for published abstracts.

I am copying the CV template from wiki.

\definehead[CVHEAD][subject]

\setuphead[subject][style=\bfa,after={\blank[medium]}]


\definehead[SUBCVHEAD][subsubject]

\setuphead[subsubject][style=\bf,after={\blank[small]},before={\blank[small]}]


I want something like
\CVHEAD{References}
\SUBCVHEAD{Pulished Journal Articles}

list 1
\SUBCVHEAD{Pulished Abstracts}
list 2


Could I put two fake/invisible sections within those subcvhead?


Thanks,
Peng

Hi Peng,
I'm not quite sure I fully understand what you want, so I just tried making 
separate lists.
Now for some reason that I don't understand no list appears in a subsubject. 
However if you use instead SUBCVHEAD as an unnumbered section  with

\definehead[SUBCVHEAD][section]
\setuphead[section][header=empty,number=no,style=\bf,after={\blank[small]},before={\blank[small]}]

and if  you add \page after
\placepublications[criterium=cite],

then you get separate lists with unnumbered titles.

I hope this is what you want. If not, maybe someone les on this list can help 
you.

Best regards,
Robert


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


___
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] issues with greeknumerals

2014-04-07 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\definestructureconversionset[cs][0,Greeknumerals,greeknumerals][n]
\setupheads[sectionconversionset=cs]
\setupinteraction[state=start]
\placebookmarks[chapter, section]
\starttext

\dorecurse{5}{\chapter{Chapter}
\section{Section}}

\stoptext

I cannot get either Greeknumerals or greeknumerals working in PDF
bookmarks.

And greeknumerals don’t show numbering in text.

Am I missing something or is this a bug?

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] issues with greeknumerals

2014-04-07 Thread Wolfgang Schuster

Am 07.04.2014 um 20:45 schrieb Pablo Rodriguez oi...@gmx.es:

 Dear list,
 
 I have the following sample:
 
\definestructureconversionset[cs][0,Greeknumerals,greeknumerals][n]
\setupheads[sectionconversionset=cs]
\setupinteraction[state=start]
\placebookmarks[chapter, section]
\starttext
 
\dorecurse{5}{\chapter{Chapter}
\section{Section}}
 
\stoptext
 
 I cannot get either Greeknumerals or greeknumerals working in PDF
 bookmarks.

\defineconversionset[cs][n,G,g][n]

 And greeknumerals don’t show numbering in text.

You need a font with greek letters.

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] issues with greeknumerals

2014-04-07 Thread Pablo Rodriguez
On 04/07/2014 08:59 PM, Wolfgang Schuster wrote:
 Am 07.04.2014 um 20:45 schrieb Pablo Rodriguez:
 [...]
 I cannot get either Greeknumerals or greeknumerals working in PDF
 bookmarks.
 
 \defineconversionset[cs][n,G,g][n]

Many thanks for your help, Wolfgang.

Since Romannumerals and romannumerals (or Characters and characters) are
required, I thought it would be consistent to use Greeknumerals and
greeknumerals. But I was obviously wrong.

 And greeknumerals don’t show numbering in text.
 
 You need a font with greek letters.

Of course, you’re right. This was a very basic mistake.

I was misled by the fact that Latin Modern has uppercase Greek letters.

Many thanks again 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] issues with greeknumerals

2014-04-07 Thread Wolfgang Schuster

Am 07.04.2014 um 21:18 schrieb Pablo Rodriguez oi...@gmx.es:

 On 04/07/2014 08:59 PM, Wolfgang Schuster wrote:
 Am 07.04.2014 um 20:45 schrieb Pablo Rodriguez:
 [...]
 I cannot get either Greeknumerals or greeknumerals working in PDF
 bookmarks.
 
 \defineconversionset[cs][n,G,g][n]
 
 Many thanks for your help, Wolfgang.
 
 Since Romannumerals and romannumerals (or Characters and characters) are
 required, I thought it would be consistent to use Greeknumerals and
 greeknumerals. But I was obviously wrong.

This could be a bug because there shouldn’t be a difference between the two 
conversion names.

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] Vertically stretched split table

2014-04-07 Thread Hans Hagen

On 4/7/2014 2:56 PM, Joshua Krämer wrote:

Dear list,

if I specify option=height with an xtable, a single-page
table is stretched vertically to fill the whole textheight.  However, I
need this feature with a multipage table.  In the following example,
the table on the first page should be stretched, but isn't:

\showframe
\starttext
\startxtable [option=height, split=yes]
   \startxrow
 \startxcell \input knuth \stopxcell
 \startxcell \input ward \stopxcell
   \stopxrow
   \startxrow
 \startxcell \input zapf \stopxcell
 \startxcell \input ward \stopxcell
   \stopxrow
   \startxrow
 \startxcell \input knuth \stopxcell
 \startxcell \input ward \stopxcell
   \stopxrow
\stopxtable
\stoptext

The table parts on all the pages but the last page should be stretched
vertically.  If this isn't possible with xtable, is it possible in
another way?  I hope it is possible without splitting the table by


the height stretch is a special case and not interfaced with the 
splitter (would demand multipass whihc in turn could lead to oscillation)



hand, because it is a big project with several hundred table pages,
and splitting by hand would make changes (additional rows) really hard.


just do that in the final version only


-
  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] issues with greeknumerals

2014-04-07 Thread Otared Kavian

On 7 avr. 2014, at 21:25, Wolfgang Schuster schuster.wolfg...@gmail.com wrote:

 
 Am 07.04.2014 um 21:18 schrieb Pablo Rodriguez oi...@gmx.es:
 […]
 
 Since Romannumerals and romannumerals (or Characters and characters) are
 required, I thought it would be consistent to use Greeknumerals and
 greeknumerals. But I was obviously wrong.
 
 This could be a bug because there shouldn’t be a difference between the two 
 conversion names.

Maybe not, since Roman numerals i, ii, iii, iv, etc correspond really to the 
way Romans used to write numbers, while Greek numerals \alpha, \beta, \gamma, 
\delta, etc are rather our modern way of numbering items, analogous to the case 
one would say a), b), c), d) etc. 
Would Thomas Schmitz give us some insight?

Best regards: OK
___
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] issues with greeknumerals

2014-04-07 Thread Schmitz Thomas A.

On 07 Apr 2014, at 23:24, Otared Kavian ota...@gmail.com wrote:

 Maybe not, since Roman numerals i, ii, iii, iv, etc correspond really to the 
 way Romans used to write numbers, while Greek numerals \alpha, \beta, \gamma, 
 \delta, etc are rather our modern way of numbering items, analogous to the 
 case one would say a), b), c), d) etc. 
 Would Thomas Schmitz give us some insight?

In fact, I was wondering what “Greeknumerals” would translate to. The most 
common system used in antiquity is the “Milesian” system: α=1, β=2 etc., but 6 
is expressed by ς; ι=10; ρ=100, with two archaic letters as 90 and 900; this is 
used in most papyri. There are other systems in use (especially in 
inscriptions), they involve special characters which most fonts don’t have. The 
simple system α=1 up to ω=24 is used to number the books in the Homeric epics, 
so it also has ancient precedents. If we want to be nitpicking, it shouldn’t be 
called “Greeknumerals,” but rather “Greekalphanumericalconversion,” which 
sounds like a really snappy, memorable way to express it, don’t you agree?

So: this is just the historical and philological aspect, Greeknumerals will 
make sense to most users.

All best

Thomas
___
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] Cellspacing like in HTML-Tables?

2014-04-07 Thread Jan Heinen

  
  
Do you know cellspacing for HTML-Tables?
How to do something simmilar for TABLE in ConTeXt?

\starttext
   \bTABLE
  \bTR
          \bTD{Text 1}\eTD
          \bTD{Text 2}\eTD
  \eTR
   \eTABLE
\stoptext



-- 
  
  
  
  
  
  
  
  
  
  
  

  
  


  Dr. Jörg Kopp
  
  Am Pützberg 2
  51674 Wiehl
  
  Tel.: 02262/751086
  eMail: i...@dr-kopp.com
  Internet: www.dr-kopp.com
  
  

  

  
  

  

  

___
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] Rotating two lines in a table

2014-04-07 Thread Jan Heinen

  
  
I am searching since several days  now  tomorow y need a
solution :-(

I want to rotate two lines with:

\starttext
   \bTABLE
  \bTR
          \bTD{\rotate[rotation=90]{first line\crlf second
line}}\eTD
  \eTR
   \eTABLE
\stoptext


but instead of: (rotated 90°)
   first line
   second line

I get:
   first linesecond line


Help. Please.



-- 
  
  
  
  
  
  
  
  
  
  
  

  
  


  Dr. Jörg Kopp
  
  Am Pützberg 2
  51674 Wiehl
  
  Tel.: 02262/751086
  eMail: i...@dr-kopp.com
  Internet: www.dr-kopp.com
  
  

  

  
  

  

  

___
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] Rotating two lines in a table

2014-04-07 Thread Rik Kabel

On 2014-04-07 17:50, Jan Heinen wrote:

I am searching since several days  now  tomorow y need a solution :-(

I want to rotate two lines with:

\starttext
   \bTABLE
  \bTR
  \bTD{\rotate[rotation=90]{first line\crlf second line}}\eTD
  \eTR
   \eTABLE
\stoptext


but instead of: (rotated 90°)
   first line
   second line

I get:
   first linesecond line


Help. Please.



Perhaps using two cells (one per line) will work:

   \bTABLE
  \bTR
  \bTD[rightframe=off]{\rotate[rotation=90]{first line}}\eTD
  \bTD[leftframe=off]{\rotate[rotation=90]{second line}}\eTD
   \bTD{and some text in the next column}\eTD
  \eTR
   \eTABLE


--
Rik
___
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] Rotating two lines in a table

2014-04-07 Thread Jan Heinen

  
  
 I am searching since several days  now  tomorow y need a solution :-(

 I want to rotate two lines with:

 \starttext
\bTABLE
   \bTR
   \bTD{\rotate[rotation=90]{first line\crlf second line}}\eTD
   \eTR
\eTABLE
 \stoptext


 but instead of: (rotated 90°)
first line
second line

 I get:
first linesecond line


 Help. Please.


Perhaps using two cells (one per line) will work:

\bTABLE
   \bTR
   \bTD[rightframe=off]{\rotate[rotation=90]{first line}}\eTD
   \bTD[leftframe=off]{\rotate[rotation=90]{second line}}\eTD
   \bTD{and some text in the next column}\eTD
   \eTR
   \eTABLE

Of course this solution works but it is unhandy for my needs.
I have lots of cells in the table with different amounts of lines.

Isn't there an easy way to rotate a cell which has has a text with
several linebreaks?

I hope there is a ConTeXt-way ... otherwise I have to generate a
graphic of the whole table with gimp ... I don't like this idea.



-- 
  
  
  
  
  
  
  
  
  
  
  

  
  


  Dr. Jörg Kopp
  
  Am Pützberg 2
  51674 Wiehl
  
  Tel.: 02262/751086
  eMail: i...@dr-kopp.com
  Internet: www.dr-kopp.com
  
  

  

  
  

  

  

___
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] Vertically stretched split table

2014-04-07 Thread Joshua Krämer
On 2014-04-07, 23:18, Hans Hagen wrote:

 the height stretch is a special case and not interfaced with the 
 splitter (would demand multipass whihc in turn could lead to
 oscillation)

Thanks for the information, I've already feared it would be like that.
I have thus created a custom solution using frames, hrules and
vfills in between.  So far, it works well.  (A small problem is wrong
hrule spacing at the beginning of the page, and
start/stoplinecorrection leads to wrong vfill-spacing.  If I can't sort
it out, I'll write another message.)

Kind regards
Joshua Krämer


___
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] issues with greeknumerals

2014-04-07 Thread Wolfgang Schuster

Am 07.04.2014 um 23:24 schrieb Otared Kavian ota...@gmail.com:

 On 7 avr. 2014, at 21:25, Wolfgang Schuster schuster.wolfg...@gmail.com 
 wrote:
 
 Am 07.04.2014 um 21:18 schrieb Pablo Rodriguez oi...@gmx.es:
 […]
 
 Since Romannumerals and romannumerals (or Characters and characters) are
 required, I thought it would be consistent to use Greeknumerals and
 greeknumerals. But I was obviously wrong.
 
 This could be a bug because there shouldn’t be a difference between the two 
 conversion names.
 
 Maybe not, since Roman numerals i, ii, iii, iv, etc correspond really to the 
 way Romans used to write numbers, while Greek numerals \alpha, \beta, \gamma, 
 \delta, etc are rather our modern way of numbering items, analogous to the 
 case one would say a), b), c), d) etc. 

I’m speaking about the different results when you use “G” or “Greeknumerals” as 
name for the conversion in \defineconversionset, while the first works in 
bookmarks the second doesn’t work even though there is no difference between 
both names.

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] Cellspacing like in HTML-Tables?

2014-04-07 Thread Wolfgang Schuster

Am 07.04.2014 um 23:49 schrieb Jan Heinen jahei...@gmx.de:

 Do you know cellspacing for HTML-Tables?
 How to do something simmilar for TABLE in ConTeXt?
 
 \starttext
\bTABLE
   \bTR
   \bTD{Text 1}\eTD
   \bTD{Text 2}\eTD
   \eTR
\eTABLE
 \stoptext


\starttext

\bTABLE
  \bTR[offset=1cm]
\bTD A \eTD
\bTD B \eTD
  \eTR
\eTABLE

\bTABLE
  \bTR
\bTD[loffset=1cm] A \eTD
\bTD[toffset=1cm] B \eTD
\bTD[roffset=1cm] C \eTD
\bTD[boffset=1cm] D \eTD
  \eTR
\eTABLE

\bTABLE
  \bTR
\bTD[width=1cm] A \eTD
\bTD[height=1cm] B \eTD
  \eTR
\eTABLE

\stoptext

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] issues with greeknumerals

2014-04-07 Thread Otared Kavian
Thanks Thomas and Wolfgang for your attention.

Actually the issue with the name of conversions exist also with 
Persiannumerals, which in ConTeXt results in the so called « Abjad numerals », 
instead of resulting in the use of Persian digits (or Eastern Arabic digits).

Best regards: OK

On 8 avr. 2014, at 05:09, Wolfgang Schuster schuster.wolfg...@gmail.com wrote:

 
 Am 07.04.2014 um 23:24 schrieb Otared Kavian ota...@gmail.com:
 
 On 7 avr. 2014, at 21:25, Wolfgang Schuster schuster.wolfg...@gmail.com 
 wrote:
 
 Am 07.04.2014 um 21:18 schrieb Pablo Rodriguez oi...@gmx.es:
 […]
 
 Since Romannumerals and romannumerals (or Characters and characters) are
 required, I thought it would be consistent to use Greeknumerals and
 greeknumerals. But I was obviously wrong.
 
 This could be a bug because there shouldn’t be a difference between the two 
 conversion names.
 
 Maybe not, since Roman numerals i, ii, iii, iv, etc correspond really to the 
 way Romans used to write numbers, while Greek numerals \alpha, \beta, 
 \gamma, \delta, etc are rather our modern way of numbering items, analogous 
 to the case one would say a), b), c), d) etc. 
 
 I’m speaking about the different results when you use “G” or “Greeknumerals” 
 as name for the conversion in \defineconversionset, while the first works in 
 bookmarks the second doesn’t work even though there is no difference between 
 both names.
 
 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
 ___

___
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 in ligature lookup

2014-04-07 Thread H. Özoguz

it's not clear to me what the bug is

Hans


Ok, the bug is, that, if you try my code with the mentioned font (you 
can take it from the html source code to be sure to get the right 
unicode char, here: 
http://www.ntg.nl/pipermail/ntg-context/attachments/20140403/22b89844/attachment-0001.html


than you will see unconnected letters, and not the correct ligature 
(which you can see in the unicode). And this is not a font-issue, as 
other programms (like Word or CorelDraw) print it correctly with the 
same unicode char.


Could I describe it?

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