RE: [NTG-context] more footnotes:-)

2004-07-29 Thread ishamid
% program=aleph output=dvipdfmx

% the next texexec will automatically generate pdf which is handy for
scit eusers -)

Does the latest fpTeX carry dvipdfmx (r u still using fpTeX)? I must confess 
I'm still using odvips-ps2pdf for all of my output...

Best
Idris


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] more footnotes:-)

2004-07-29 Thread Hans Hagen
ishamid wrote:
[please forward to list]
 

= Original Message From Hans Hagen [EMAIL PROTECTED] =
% program=aleph output=dvipdfmx
% the next texexec will automatically generate pdf which is handy for
scit eusers -)
\setupcolors[state=start]
\starttext
   

Ok, here is a modified test file. The headers on pages 1 and 2 should be the 
same throughout the entire document. Of course, when I make the temporary 
global direction switch, the location of the headers get switched too. My 
problem is that I have not been able to create a combination of \setupheaders 
and \setuppagenumbering so that I can adjust the headers during the temporary 
direction switch so that it appears that the header locations remain constant:
 

... 

Last night I played a bit with aleph. 

One of the things that we need to keep in mind with omega is that the fact that it can typeset in multiple directions does not mean that this automatically works out well when turned on. Layout issues as well as language specific issues are up to macro packages. Omega is not a multi language or multi directional typesetting system by itself, but can be used to build one. 

Now, before we start hacking around, and thereby mess up context, we need to figure out a way to deal with these issues, so the main question is how directional typesetting is related to document design. 

- directions change per paragraph, rest of doc unchanged
- directions change per document, all components are influenced
- directions change per document, some components are influenced 
- etc 

so, what should happen with 

- page ornaments (headers, footers etc): locations and content 
- graphics: placements and content and captions 
- tables: structure and content 
- mp graphic: text and graphics 
- main text: indentation, skips, text, ... 

Of course one can say that we need to have all possibilities, but i tend to stick to those that make sense. Are there any resources on for instance right-left book design/typography? 

I don't know how many users are interested in these matters; maybe we should discuss 
this off list
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Question starttables ... stoptables and pagebrake

2004-07-29 Thread Bernd Militzer
Hi Hans,

using tables for a long documentation it wold be fine, if I could force
a page brake after specific rows. The command \page does not work.


Thanks for any help

Bernd



___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Question starttables ... stoptables and pagebrake

2004-07-29 Thread Hans Hagen
Bernd Militzer wrote:
Hi Hans,
using tables for a long documentation it wold be fine, if I could force
a page brake after specific rows. The command \page does not work.
 

which table mechanism do you use? 

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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] on posters, again

2004-07-29 Thread Eros Albertazzi
Still struggling to get a poster with Context.
Somehow I am puzzling why almost all my collegue who are accustumed to
write with latex+revtex for chem-math-phys journals then turn to
powerpoint to produce poster and/or presentation, although ConTeXt is
the layout oriented alternative to the well known LaTeX. and switching
tex macro should be easy.
I feel there is a lacking in information and/or guide that preclude its
use within this comunity.
Anyhow my question:
Can I have text within a (settable) margin in  \setlayerframe?
Probably not since margin are defined in  \setuplayout and having a page
layout atop of another one may not make sense
Hereis a latex example of what should be easier (and more durable and
flexible) to accomplish with contex
http://andreas.welcomes-you.com/projects/a0poster/
http://andreas.welcomes-you.com/projects/a0poster/demo/poster.pdf
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Question starttables ... stoptables and pagebrake

2004-07-29 Thread Bernd Militzer
Am Do, 2004-07-29 um 12.35 schrieb Hans Hagen:
 which table mechanism do you use? 

like this:

{\start
%
\starttablehead
\HL
\NC Haus\crlf \tx Pos.~Nr.\NC Bewohner und Bemerkungen\crlf{\bf von
\dots\ nach \dots\ }%
\NC Natio\-nalität \NC\FR%\AR
\HL
\stoptablehead
%
\starttabletail
\HL
\stoptabletail
%
\starttables[|lp(0.11\textwidth)B|lp(0.7\textwidth)|lp(0.1\textwidth)I|]
%
%
\NC  R \hfill 39\index{Markt Türnau+Nr. 39}  \NC  {\bf Meierhof:}
  \index{Meierhof} \crlf\NC \NC\MR 
  % leere Zeile
\NC   \NC  1910 Pächter Ing. Vanek 
  \index{Vanek, Ing.}
  \NC  ~C\NC\MR 
%
\NC   \NC  1919 Pächter Ing. Batik 
  \index{Batik, Ing.}
  \NC  ~C\NC\MR 
%
\NC   \NC  1939 Gutsverwalter Fritz Strik 
  \index{Strik+Fritz}\crlf
  Ist in das Meierhofgebäude Nr.\,39 im
  Jahr 1939 eingezogen. [Vgl.
\cite[HEIMATBUCH] S. 103]
  \NC  \hfill D\NC\MR 
%
\NC   \NC  \crlf
  Herr Batik wurde am 07.04.1940 zum Arbeitseinsatz
  nach \au\ beordert.\crlf
  Seine Familie lebte im
Protektorat.\NC  \NC\MR 
%
%
% and so on ... many pages
%
%
\stoptables
\stop}


Bernd

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Question starttables ... stoptables and pagebrake

2004-07-29 Thread Hans Hagen
Bernd Militzer wrote:
when you're really desparate ...
...\MR
\TABLEnoalign{\page}\TABLEhead
\NC ...
I cross my fingers that this will work in future versions (always tricky 
nolalign stuff)

Hans
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Converting math from LaTeX to ConTeXt

2004-07-29 Thread Brooks Moses
At 04:42 AM 7/27/2004, you wrote:
On Sun, Jul 25, 2004 at 10:31:24PM -0700, Brooks Moses wrote:
[things I need to translate from LaTeX to ConTeXt]
   \renewcommand{\vec}[1]{{\boldsymbol{#1}}}
   \renewcommand{\hatn}{\hat{\vec{n}}}
   \newcommand{\filter}[1]{\overline{#1}}
You can use the tex primitve
\def\vec#1{{\boldsymbol{#1}}
or the context way
\define[1]\vec{{\boldsymbol{#1}}
But afaik there is no checking if a command is already defined?
I started poking through the ConTeXt source to see what I could find, and 
came across the following in the syst-ext.tex file:

  \def\define#1%
{\ifx#1\undefined
   \expandafter\def
 \else
   \message{[\noexpand#1is already defined]}%
   \expandafter\def\expandafter\gobbleddefinition
 \fi#1}
  \def\redefine#1%
{\ifx#1\undefined\else
   \message{[\noexpand#1is redefined]}%
 \fi
 \def#1}
This appears to be doing the checks for commands being previously defined 
or not, as desired.  However, I'm completely lost as to how we get from 
here to the \define[1] syntax.  What am I missing?

- Brooks
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] PDFTeX sources

2004-07-29 Thread Salman Khilji
1)  I want to know the simplest way (and the minimal way) to compile PDFTeX on 
Windows.  From the manual, I see that you have to download

web-7.3.tar.gz
web2c-7.3.tar.gz
pdftex.tar.gz

However, this assumes that you have ./configure available (means UNIX or 
Cygwin).  While I have been using Linux for the past two years, I'm afraid, I 
am too incompetent, dumb, lazy, stupid, and stubborn to learn autoconf and 
autotools---I want to know exactly what steps are performed while compiling 
the program and it would be best understood if I had a simple Visual C++ 
project file to work with.

I want to be able to compile pdfTeX from sources using an already available 
DSP (MS Visual C++ project file)---this means it should somehow use an 
already existing config.h file.

I downloaded the MikTeX sources, but it comes with 65535 other files and 
directories that I do not need and also mandates the download of Cygwin.

2)  Basically, I want to learn a little about the internals of pdfTeX to 
investigate if I can take the PDF specific C source code out of it and 
somehow use then in the TeX++ project (which is a reincarnation of CommonTeX, 
which was an implementation of TeX written in C from scratch by Pat Monardo).  
I must admit that TeX++ is a piece of cake to install and compile simply 
because there is no autoconf and autotools to convolute the project.

I have been reading TeX, the program these days from cover to cover and 
comparing the source code to the TeX++ sources and the two are as close as it 
can get.  So I suppose, one could take PDFTeX, strip it out of the web2c 
files, massage the rest to fit TeX++, and have an easy to compile, and extend 
version of TeX that produces PDF files directly.

Any inputs on this matter?

Salman

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context