[NTG-context] Fwd: ntg-context Digest, Vol 78, Issue 106

2010-12-22 Thread barney schwartz
As usual Ulrike is correct. I got context beta working BUT I LOST lucida
math even though lucida text is working. as an aside bibliography IS sorted
on author which does NOT work in the normal MikTeX release

just hacking my way through in my meager attempt to get a book published
which was previously typeset in LaTeX Memoir so that I can use all these
great facilities available within COnTeXt

barny

On Wed, Dec 22, 2010 at 4:21 PM, ntg-context-requ...@ntg.nl wrote:

 Send ntg-context mailing list submissions to
ntg-context@ntg.nl

 To subscribe or unsubscribe via the World Wide Web, visit
http://www.ntg.nl/mailman/listinfo/ntg-context
 or, via email, send a message with subject or body 'help' to
ntg-context-requ...@ntg.nl

 You can reach the person managing the list at
ntg-context-ow...@ntg.nl

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of ntg-context digest...


 Today's Topics:

   1. Re: What's the proper way to typeset a slash in   a   text flow?
  (Hans Hagen)
   2. Cld-files (Willi Egger)
   3. Re: Cld-files (Willi Egger)
   4. Cld-files (Willi Egger)
   5. Re: Cld-files (luigi scarso)
   6. Re: Cld-files (Peter M?nster)
   7. Re: ConTeXt beta in MikTeX (Ulrike Fischer)
   8. Re: Cld-files (Willi Egger)
   9. Re: Cld-files (Willi Egger)


 --

 Message: 1
 Date: Wed, 22 Dec 2010 14:06:52 +0100
 From: Hans Hagen pra...@wxs.nl
 To: mailing list for ConTeXt users ntg-context@ntg.nl
 Cc: Marco Pessotto melmo...@gmail.com
 Subject: Re: [NTG-context] What's the proper way to typeset a slash in
a   text flow?
 Message-ID: 4d11f7ec.4090...@wxs.nl
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 On 22-12-2010 1:01, Marco Pessotto wrote:

  Is it correct? (I've looked in the source, but just to be sure).

 yes

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


 --

 Message: 2
 Date: Wed, 22 Dec 2010 14:10:40 +0100
 From: Willi Egger w.eg...@boede.nl
 To: NTG-Context ConTeXt users ntg-context@ntg.nl
 Subject: [NTG-context] Cld-files
 Message-ID: 744f6449-cba6-421a-8d78-d227958a5...@boede.nl
 Content-Type: text/plain; charset=us-ascii

 Hi Contexters!

 Consider the following snippet in a cld-file:

 context.framed({frame=on,width= 5cm},
   function() ...  end
 )

 This works fine so far. I would like to pass the width of the framed text
 in terms of a fraction of the textwidth e.g. .25\textwidth. How must this be
 coded?

 KR

 Willi

 --

 Message: 3
 Date: Wed, 22 Dec 2010 14:21:12 +0100
 From: Willi Egger w.eg...@boede.nl
 To: mailing list for ConTeXt users ntg-context@ntg.nl
 Subject: Re: [NTG-context] Cld-files
 Message-ID: bdd82ab0-6820-4acd-9d2d-30ec8987e...@boede.nl
 Content-Type: text/plain; charset=us-ascii

 Answering myself:

 width= number.todimen(0.25*tex.dimen.textwidth)

 On 22 Dec 2010, at 14:10, Willi Egger wrote:

  Hi Contexters!
 
  Consider the following snippet in a cld-file:
 
  context.framed({frame=on,width= 5cm},
function() ...  end
  )
 
  This works fine so far. I would like to pass the width of the framed text
 in terms of a fraction of the textwidth e.g. .25\textwidth. How must this be
 coded?
 
  KR
 
  Willi
 
 ___
  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
 
 ___



 --

 Message: 4
 Date: Wed, 22 Dec 2010 14:59:03 +0100
 From: Willi Egger w.eg...@boede.nl
 To: NTG-Context ConTeXt users ntg-context@ntg.nl
 Subject: [NTG-context] Cld-files
 Message-ID: 39b7d3f7-2ff0-40ae-a787-5a6aed878...@boede.nl
 Content-Type: text/plain; charset=us-ascii

 Hi again,

 hm, I need to pass a \setupTABLE command ...


 context.setupTABLE({column}{each}{width=number.todimen(.041*tex.dimen.textwidth),align=flushright,offset=1pt})

 However this does not work. How must this be done?

 KR

 Willi

 --

 Message: 5
 Date: Wed, 22 Dec 2010 15:03:46 +0100
 From: luigi scarso luigi.sca...@gmail.com
 To: mailing list for ConTeXt users ntg-context@ntg.nl
 Subject: Re: [NTG-context] Cld-files
 Message-ID:

[NTG-context] Where do I find the latest beta and

2010-12-21 Thread barney schwartz
Ideas on how I would enable it to be used inside miktex would be very very
helpful.

I need to use this clever trick by Hans:

 With the new beta you can add

\defineconversion[continued][{},{ (continued)},{ (continued)},{
(continued)},{ (continued)},{ (continued)}]

\setupfloatsplitting[conversion=continued]

 to your document, this will give the desired result for the numbering.
clever trick ... I added an example to the testbed
Hans

but I have little or no idea how I could do it.

I use MikTeX and could muddle my way through updating it if someone could
suggest where to get the latest beta of COnTeXt and the mentioned example
from the testbed.

barney
___
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] Is there a way to split TABLE and TABLE caption for longtables

2010-12-14 Thread barney schwartz
Group, Hans. Wolfgang, Help PLEASE

I have numerous loong tables to publish. attached find minimal example.

I need these tables to mimic \longtables LaTeX package.

I got a recode from Wolfgang using the TABLE module which works well for the
header, footer and TABLEbody however:

I need table caption and tablefoot to state:

table xx (continue)

Also it would be perfect if the top of the continued page(s) were open and
the footer for the continued page(s) said:

table xxx (continued)

Is there a way to accomplishe this feat of magic within ConTeXt?

I have tried all I can think of to no avail. I have been on this problem now
for 3 weeks. If no solution then I am afraid that I must resort back to
LaTeX and memoir class. I am truely hoping NOT to go back.

barney


chap5a.tex
Description: TeX 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] Re; TABLE help

2010-12-12 Thread barney schwartz
Wolfgang and others,

Thanks for the recode but,

I still need the TABLEs to be continued after splitting and NOT to be
numbered as 1.1, 1.2, 1.3.

they need to be 1.1, 1.1(cont.), 1.1(cont), etc.

ideas? Please

barney

see attached file


Chap5.tex
Description: TeX 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
___


[NTG-context] TABLE help

2010-12-10 Thread barney schwartz
Wolfgang,

In MKIV using TABLE:

All seems to work well enough UNTIL I use \placetable. I have enormous table
that run pages in length. I need them split0 repeat and that works fine
until I add:

\placetable[here][tab:five]{Descriptive Statistics for Salaried Men \
Women}
{
.
.
.
.
.
.
.
.
.
}

I lose ALL page breaks and the table dissappears off the bottom of the page.
LOST no breaks. Think you could help?

barney
___
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] TABLE

2010-12-10 Thread barney schwartz
Wolfgang,

  \placetable
 {Caption}
 {\bTABLE
  ...
  \eTABLE}

BUT I have a Long split=repeat table and when I use {} the table passes the
end of the page. If I remove {} it splits properly but then I have no
caption.

What to do?

barney
___
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] Re;Help TABLE

2010-12-10 Thread barney schwartz
Hans,
guess I didn't explain wel enough. Using Wolfgang's

TABLE module

\bTABLE
\bTABLEhead
\bTR
\bTH Group \eTH \bTH N \eTH \bTH MEAN \eTH \bTH STD \eTH \bTH MIN \eTH \bTH
MAX \eTH \bTH Gini \eTH \bTH 80/20 \eTH
\eTR
\eTABLEhead
\bTABLEbody
\bTR \bTC[nc=8] 1980 \eTC \eTR
.
..
.
lots and lots and lots or rows
.
...
.
\eTABLEbody
\bTABLEfoot
\bTR \bTC[nc=8]*\$=New Taiwan Dollars \eTC \eTR
\eTABLEfoot
\eTABLE\eTABLEbody
\bTABLEfoot
\bTR \bTC[nc=8]*\$=New Taiwan Dollars \eTC \eTR
\eTABLEfoot
\eTABLE


all works fine

but when I add:

\placetable[here][tab:five]{Descriptive Statistics for Salaried Men \
Women}
{


in order to get reference, caption I lose the split and so the tables just
runs OFF the end of the page

suggestions PLEASE

barney
___
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] Re; TABLE help

2010-12-10 Thread barney schwartz
Wolfgang, Phillip, Hans,

Thanks for the pointer to :

\placetable[here,*split*]

However I need this to be one table split across however many pages
required, so that I would have as example ...

page 1: table 1.1

page 2: table 1.1 (cont.)

page 3: table 1.1 (cont)

please see attached code.

\placetable[here,split][tab:five]{Descriptive Statistics for Salaried Men \
Women}
{%\setupTABLE[split=repeat]
\bTABLE
\bTABLEhead
\bTR
\bTH Group \eTH  \bTH N \eTH  \bTH MEAN \eTH\bTH STD \eTH \bTH MIN
\eTH\bTH MAX  \eTH  \bTH Gini  \eTH \bTH 80/20 \eTH
\eTR
\eTABLEhead
\bTABLEbody
\bTR \bTC[nc=8] 1980 \eTC \eTR
\bTR \bTC ALL \eTC \bTC 14202 \eTC \bTC \$195727.9 \eTC \bTC 912.89 \eTC
\bTC \$3600 \eTC \bTC  \$132 \eTC \bTC 0.278 \eTC \bTC 4.54 \eTC \eTR
\bTR \bTC Men \eTC \bTC 9852 \eTC \bTC \$224678.5 \eTC \bTC 1123.61 \eTC
\bTC  \$3600 \eTC \bTC  \$132 \eTC \bTC 0.242 \eTC \bTC  3.68 \eTC \eTR
\bTR \bTC Women \eTC \bTC 4350 \eTC \bTC \$130159.7 \eTC \bTC  991.05 \eTC
\bTC  \$5000 \eTC \bTC  \$448000 \eTC \bTC 0.259 \eTC \bTC   3.91 \eTC \eTR
\bTR \bTC[nc=8] 1982   \eTC \eTR
.
.
.
.
repeated by years
.
.
.
\bTR \bTC[nc=8]1999   \eTC \eTR
\bTR \bTC   ALL \eTC \bTC  XX \eTC \bTC \$362625.2 \eTC \bTC 1775.50
\eTC \bTC \$25247 \eTC \bTC \$1060 \eTC \bTC 0.269 \eTC \bTC  3.99 \eTC
\eTR
\bTR \bTC   Men \eTC  \bTC   8034 \eTC  \bTC \$419193.3 \eTC  \bTC 2614.59
\eTC \bTC \$25247 \eTC \bTC \$1060 \eTC \bTC 0.249 \eTC \bTC  3.63 \eTC
\eTR
\bTR \bTC  Women \eTC  \bTC   6101 \eTC \bTC \$288134.4 \eTC \bTC 1861.66
\eTC \bTC \$54000 \eTC \bTC  \$190 \eTC \bTC 0.249 \eTC \bTC 3.52 \eTC
\eTR
\eTABLEbody
\bTABLEfoot
\bTR \bTC[nc=8]*\$=New Taiwan Dollars \eTC \eTR
\eTABLEfoot
\eTABLE
}

full file is attached


barney


Chap5.tex
Description: TeX 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] New Release Winedt WORKS with MKIV!!

2010-11-25 Thread barney schwartz
Update on using MikTeX 2.9, ConTeXt MKIV, Winedt 6.?!!!

First let me thank Mojca, Aditya, Ulrike and Hans for looking into this.

I received a suggestion to remove Miktex Full and install Miktex basic. That
did NOT work as I like lucida and lucida math which will not function
correctly using Miktex basic. So here is what I did to make it all work:

1. uninstall Miktex 2.9 basic
2. Install Miktex 2.9 complete
3.Go to Miktex\doc\latex\circuitikz and rename context.tex some other name.
For some reason known only to Christian Schenk Miktex searches until it
finds that sample and attempts to use it. So renaming that file allows
luatex to kick in and start processing.

Finally success!

now all I need to do is figure out how to invoke bibiliographies in MKIV
using bibstyle econometrica.

Thanks to all!!!
___
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] Trying to move from LaTeX to MKIV in MikTeX (Mojca Miklavec)

2010-11-23 Thread barney schwartz
Mojca,

Thanks for trying to help, Here's what I do know so far. . .

1. Yes I bought TUG Lucida and have installed the fonts in c:\localtexmf and
done fndb update via MikTeX 2.9 wizard.
2. Yes I also used 3rd party patch and installed those tfm files also in the
localtexmf directory

Here is a sample of the log file::



 (Master.tex
publications: loading formatting style from bxml-apa
(C:/Users/barndog/AppData/Roaming/MiKTeX/2.9/tex/context/base/bxml-apa.mkiv)
ConTeXt  ver: 2010.05.24 13:05 MKIV  fmt: 2010.11.19  int: english/english
system  : cont-new loaded
(C:/Users/barndog/AppData/Roaming/MiKTeX/2.9/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(C:/Users/barndog/AppData/Roaming/MiKTeX/2.9/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(C:/Users/barndog/AppData/Roaming/MiKTeX/2.9/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(C:/Users/barndog/AppData/Roaming/MiKTeX/2.9/tex/context/user/cont-sys.rme
(C:/Users/barndog/AppData/Roaming/MiKTeX/2.9/tex/context/base/type-def.mkiv)
(C:/Users/barndog/AppData/Roaming/MiKTeX/2.9/tex/context/base/type-lua.mkiv)
(C:/Users/barndog/AppData/Roaming/MiKTeX/2.9/tex/context/base/type-siz.mkiv)
(C:/Users/barndog/AppData/Roaming/MiKTeX/2.9/tex/context/base/type-otf.mkiv))
system  : Master.top loaded
%
% begin of optionfile
%
% % runtime options files (command line driven)
% \unprotect
% % special commands, mostly for the ctx development team
% % feedback and basic job control
% % handy for special styles
% \startluacode
% document = document or { }
% document.arguments={
% }
% document.files={
%  Master.tex,
% }
% \stopluacode
% % process info
% \setupsystem[inputfile=Master.tex]
% \setupsystem[\c!n=1,\c!m=1]
% % modes
% % options (not that important)
% \startsetups *runtime:options
% \setupoutput[pdftex]
% \stopsetups
% % styles and modules
% \startsetups *runtime:modules
% \stopsetups
% % done
% \protect \endinput
%
% end of optionfile
%
(Master.top)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
!define font: forced type afm of lbr not found
!define font: font with name lbr is not found
!define font: forced type tfm of hlcrim not found
!define font: font with name hlcrim is not found
!define font: forced type tfm of hlcrim not found
!define font: font with name hlcrim is not found
!define font: forced type tfm of hlcry not found
!define font: font with name hlcry is not found
.
.
.
LuaTeX warning: lua-loaded font [45] (lucidamath) has no characters!
! LuaTeX error ...ata/Roaming/MiKTeX/2.9/tex/context/base/font-def.lua:539:
attempt to index field 'parameters' (a nil value)
stack traceback:
 ...ata/Roaming/MiKTeX/2.9/tex/context/base/font-def.lua:539: in function
'register'
 ...ata/Roaming/MiKTeX/2.9/tex/context/base/font-ctx.lua:387: in function
'command_2'
 main ctx instance:1: in main chunk.
\lowleveldefinefont ...lax , \relativefontid  )}
  \edef \somefontspec {at
\s...
\xxdododefinefont ...efont {#4}\newfontidentifier
  \fi \csname
\newfontidenti...
\dodosetmathfamily ...\currentmathsize \endcsname
  \else \ifcsname
\fontclass...
\dosetmathfamily ...athfamily \scriptscriptfont #1
  \let \currentmathsize
\!!p...
inserted text \dosetmathfamily \mrfam \c!mr
...

l.54 \setupbodyfont[lucida]

?
!define font: forced type afm of lbr not found
!define font: font with name lbr is not found
!define font: forced type tfm of hlcrim not found
!define font: font with name hlcrim is not found
!define font: forced type tfm of hlcrim not found
.
.
.
!math virtual   : font lucidamath has no parameters
!math virtual   : font lucidamath, no parameters set
!math virtual   : font lucidamath, no parameters set
!math virtual   : font lucidamath, no parameters set
!math virtual   : font lucidamath, no parameters set
.
.
.
Missing character: There is no μ (U+03BC) in font c:/windows/fonts/LBRITE!
Missing character: There is no μ (U+03BC) in font c:/windows/fonts/LBRITE!
.
.
Missing character: There is no ∘ (U+2218) in font c:/windows/fonts/LBRITE!
Missing character: There is no ∘ (U+2218) in font c:/windows/fonts/LBRITE!
.
.
.
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

Perhaps I need an expert to get involved. I hope I have provided enough
information to begin to fix this problem.

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

[NTG-context] New Release Winedt WORKS with MKIV!!

2010-11-21 Thread barney schwartz
 New build of WinEdt 6.0 (Build: 20101121) has been uploaded to

 www.winedt.com

 This build contains macros that work with the latest ConTeXt Mark
 IV (previous versions were designed for older version of ConTeXt).
 If you are upgrading from older version of WinEdt make sure that
 the executable for ConTeXt in WinEdt's Execution Modes is set
context.exe (instead of old texexec.exe)...

If you (really!?) want to use old ConTeXt Mark II you will have
modify the menu item for ConTeXt to call:

ConTeXt_old.edt

  instead of

 ConTeXt.edt

 News.txt gives the details (read it!)

 In the meantime another build 2010 had been available (but
 never announced on the list). Since then WinEdt takes care of
 environment variables MIKTEX_EDITOR and TEXEDIT that define the
 editor response for e in MiKTeX and TeX Live.

 You can install the latest build over the old version of WinEdt 6.0 and
 then read What's new in the Help menu (if you want to take
 advantage of certain changes such as new items in the Maintenance
 Menu designed to load customized scripts etc...).

 Best regards,
 alex

Just thought I would post this here for other Winedt users.

barney
___
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] Help Winedt 6.0 MikTeX 2.9 ConTeXt

2010-11-18 Thread barney schwartz
MikTeX 2.9 says ConTeXt is once more available. Winedt 6.0 provides a
drop-down menu However, ConTeXt fails to execute.

I having been waiting sin MikTeX dropped ConteXt support and was SO happy to
see it included once again.

Anyone got any ideas how to make ConTeXt functional using MikTeX 2.9 and
Winedt 6.0??
___
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
___