[NTG-context] context on texlive

2006-09-14 Thread zhaohs
Dear everyone,
   My Operating System is Ubuntu 6.06,I now use the context combined with cjk 
4.6.0 shipped with texlivetest2006-live-20060215.iso to support chinese 
charaters ,when I use the command:
texexex --pdf my_file.tex,I can obtain the ultimate pdf files , but when I
use the command:
texexec --output=dvipdfm my_file.tex, though I can obtain the ultimate pdf
file ,but when I hit the hyperlinks in the pdf files ,the error message
happen as follows:Unknown destination type 'View'.So the pdf file is bad
for presentation,why dose this happen?
Furthmore, When I use texexec --output=dvipdfmx my_file.tex,I can get
the ultimate pdf files and it is good,but I also see the WARNINGs: 

#
** WARNING ** This .map file looks like a dvips format fotmap file.
** WARNING ** -- Current input buffer is: rsfs7  rsfs5
rsfs7.pfb
** WARNING ** -- Reading fontmap file stopped at: file=original-base.map,
line=3.
** WARNING ** This .map file looks like a dvips format fotmap file.
** WARNING ** -- Current input buffer is: ec-lmb10 LMRoman10-Demi enclmec
ReEncodeFont lm-ec.enc lmb10.pfb
** WARNING ** -- Reading fontmap file stopped at: file=ec-public-lm.map,
line=1.
** WARNING ** This .map file looks like a dvips format fotmap file.
** WARNING ** -- Current input buffer is: ucrb8t  NimbusMonL-Bold
ec.enc ucrb8a.pfb
** WARNING ** -- Reading fontmap file stopped at: file=ec-base.map,
line=3.
** WARNING ** Couldn't open font map file gbk.map.
** WARNING ** Interpreting special command mapfile (pdf:) failed.
** WARNING **  at page=1 position=(1.09453e-05, -1.09453e-05) (in PDF)
** WARNING **  xxx pdf:mapfile +gbk.map
#

   Why dose this happen?  

   Best,
Hongsheng.
__
¸Ï¿ì×¢²áÑÅ»¢³¬´óÈÝÁ¿Ãâ·ÑÓÊÏä?
http://cn.mail.yahoo.com
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Missing \dddot and \ddddot

2006-09-14 Thread WN
Hello,
I need to use \dddot and \ot in one of my documents, does anyone 
know how to
define these math symbols.

Kind regards
Wim Neimeijer
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Making context produce dvi file.

2006-09-14 Thread Sanjoy Mahajan
Hans Hagen wrote:
  And, a small point of disagreement with the old man entry for texexec:
  'texexec --output=dvi' produces pdf.
 

 line 116 in tex.rb in the ruby base path can be adapted:
 
 ['dvips','ps','dvi']  .each do |b| 
 @@backends[b]   = 'dvips' end

That didn't change it, perhaps because of some clever code looking for
prefix matches when processing options? (I need to study the code a
bit more but that was one guess.)  I tried the following file for fun:

\setupcolors[state=start]
\starttext
\showcolor
\stoptext

'texexec --dvi 1.tex' produces ps, via dvips, with or without the
change to tex.rb.

'texexec --output=dvi 1.tex' produces pdf, with or without the change.

The texexec.pl script produced dvi when given the --dvi option, but
maybe it's a bad idea to allow generic dvi output (without going to
postscript or pdf), for the reason you say: that the included specials
depend on the backend, whether dvips or dvipsone etc.

By the way I was pleasantly surprised that xdvi could display the
colors in 1.dvi, I guess because ConTeXt generated direct postscript
specials (like ps: 0 0 1 setrgbcolor) rather than dvips's color
specials.

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
 --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Missing \dddot and \ddddot

2006-09-14 Thread Aditya Mahajan
On Thu, 14 Sep 2006, WN wrote:

 Hello,
 I need to use \dddot and \ot in one of my documents, does anyone
 know how to
 define these math symbols.

The trouble is that most fonts do not contain these accents. 
amsmath.sty gets over this definition by faking these symbols. It is 
easy to port these definitions to context.

amsmath.sty definition

\newcommand{\dddot}[1]{%
   {\mathop{#1}\limits^{\vbox [EMAIL PROTECTED]@\ex@
\hbox{\normalfont ...}\vss
\newcommand{\ot}[1]{%
   {\mathop{#1}\limits^{\vbox [EMAIL PROTECTED]@\ex@
\hbox{\normalfont}\vss


Converting to context

%%
\unprotect

% The true copy of amsmath definitions
\def\amsdddot {\limits^{\vbox to -1.4ex{\kern-2ex\hbox{\the\textfont\z@ 
...}\vss}}}
\def\amsot{\limits^{\vbox to [EMAIL PROTECTED]

% I do not understand why you need to give negative height
% This looks better.
\def\amsdddot {\limits^{\vbox{\kern-2ex\hbox{\the\textfont\z@ ...}\vss}}}
[EMAIL PROTECTED]

\def\dddot #1{{\mathop{#1}\amsdddot }}
\def\ot#1{{\mathop{#1}\amsot}}

\protect

\starttext

$\dddot{a}_{\dddot{b}}$

$\ot{a}_{\ot{b}}$
\stoptext
%%-

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] gwTeX: FatalError : Your format does not match the base files!

2006-09-14 Thread Matthias Weber
Dear all,

I have tried updating ConTeXt with the result that any ConTeXt  
document results in the above
error message :(

I have re-installed everything (I hope - deleted teTeX from /usr/ 
local/, and the ipackages folder
from the home directory, then re-installed everything using  
iinstaller) to no avail.
I tried both the ConTeXt beta and the stable version.

Any ideas what's wrong?
Full log file is below.

Thanks,

Matthias


TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

fixing engine variable : pdfetex
 executable : pdfetex
 format : cont-en
  inputfile : Untitled
 output : pdftex
  interface : en
   current mode : none
TeX run : 1

This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
(/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
entering extended mode
(./Untitled.tex

ConTeXt  ver: 2006.06.14 20:42  fmt: 2006.6.15  int: english  mes:  
english

language: language en is active
protectionstate 0
system  : cont-new loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex

FatalError  : Your format does not match the base files!

FormatVersion   : 2006.06.14 20:42
FilesVersion: 2006.09.13 23:47


return code : 0
   run time : 1 seconds
   sorting and checking : running texutil

TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006
 action : processing commands, lists and registers
 option : sorting IJ under Y
 option : converting high ASCII values
  error : empty input file Untitled

 remark : 'texutil' is now part of 'texexec'
warning : use 'texmfstart texutil' instead

 total run time : 1 seconds

warning : use 'texmfstart texexec' instead

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Missing \dddot and \ddddot

2006-09-14 Thread WN
Thanks for the quick response, it works.

Wim

[EMAIL PROTECTED] wrote:
 On Thu, 14 Sep 2006, WN wrote:

   
 Hello,
 I need to use \dddot and \ot in one of my documents, does anyone
 know how to
 define these math symbols.
 

 The trouble is that most fonts do not contain these accents. 
 amsmath.sty gets over this definition by faking these symbols. It is 
 easy to port these definitions to context.

 amsmath.sty definition

 \newcommand{\dddot}[1]{%
{\mathop{#1}\limits^{\vbox [EMAIL PROTECTED]@\ex@
 \hbox{\normalfont ...}\vss
 \newcommand{\ot}[1]{%
{\mathop{#1}\limits^{\vbox [EMAIL PROTECTED]@\ex@
 \hbox{\normalfont}\vss


 Converting to context

 %%
 \unprotect

 % The true copy of amsmath definitions
 \def\amsdddot {\limits^{\vbox to -1.4ex{\kern-2ex\hbox{\the\textfont\z@ 
 ...}\vss}}}
 \def\amsot{\limits^{\vbox to [EMAIL PROTECTED]

 % I do not understand why you need to give negative height
 % This looks better.
 \def\amsdddot {\limits^{\vbox{\kern-2ex\hbox{\the\textfont\z@ ...}\vss}}}
 [EMAIL PROTECTED]

 \def\dddot #1{{\mathop{#1}\amsdddot }}
 \def\ot#1{{\mathop{#1}\amsot}}

 \protect

 \starttext

 $\dddot{a}_{\dddot{b}}$

 $\ot{a}_{\ot{b}}$
 \stoptext
 %%-

 Aditya
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
   

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] gwTeX: FatalError : Your format does not match the base files!

2006-09-14 Thread Alan Bowen
On Sep 14, 2006, at 11:27 AM, Matthias Weber wrote:

 Dear all,

 I have tried updating ConTeXt with the result that any ConTeXt
 document results in the above
 error message :(

 I have re-installed everything (I hope - deleted teTeX from /usr/
 local/, and the ipackages folder
 from the home directory, then re-installed everything using
 iinstaller) to no avail.
 I tried both the ConTeXt beta and the stable version.

 Any ideas what's wrong?
 Full log file is below.

 Thanks,

 Matthias


 TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

 fixing engine variable : pdfetex
  executable : pdfetex
  format : cont-en
   inputfile : Untitled
  output : pdftex
   interface : en
current mode : none
 TeX run : 1

 This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
 (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
 entering extended mode
 (./Untitled.tex

 ConTeXt  ver: 2006.06.14 20:42  fmt: 2006.6.15  int: english  mes:
 english

 language: language en is active
 protectionstate 0
 system  : cont-new loaded
 (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex

 FatalError  : Your format does not match the base files!

 FormatVersion   : 2006.06.14 20:42
 FilesVersion: 2006.09.13 23:47


 return code : 0
run time : 1 seconds
sorting and checking : running texutil

 TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006
  action : processing commands, lists and registers
  option : sorting IJ under Y
  option : converting high ASCII values
   error : empty input file Untitled

  remark : 'texutil' is now part of 'texexec'
 warning : use 'texmfstart texutil' instead

  total run time : 1 seconds

 warning : use 'texmfstart texexec' instead


Matthias—

Check the dates of the files cont-en.fmt and cont-nl.fmt in your
/texmf.local/web2C and
/texmf.local/web2C/pdfetex directories.

My guess is that the ones in the former were created in June than the
ones in the latter were created in September. If this is right,
copy the September files from /texmf.local/web2C/pdfetex to / 
texmf.local/web2C.

That worked for me and I hope that it does for you too.

Alan

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Missing \dddot and \ddddot

2006-09-14 Thread Hans Hagen
Aditya Mahajan wrote:
 On Thu, 14 Sep 2006, WN wrote:

   
 Hello,
 I need to use \dddot and \ot in one of my documents, does anyone
 know how to
 define these math symbols.
 

 The trouble is that most fonts do not contain these accents. 
 amsmath.sty gets over this definition by faking these symbols. It is 
 easy to port these definitions to context.

 amsmath.sty definition

 \newcommand{\dddot}[1]{%
{\mathop{#1}\limits^{\vbox [EMAIL PROTECTED]@\ex@
 \hbox{\normalfont ...}\vss
 \newcommand{\ot}[1]{%
{\mathop{#1}\limits^{\vbox [EMAIL PROTECTED]@\ex@
 \hbox{\normalfont}\vss


 Converting to context

 %%
 \unprotect

 % The true copy of amsmath definitions
 \def\amsdddot {\limits^{\vbox to -1.4ex{\kern-2ex\hbox{\the\textfont\z@ 
 ...}\vss}}}
 \def\amsot{\limits^{\vbox to [EMAIL PROTECTED]

 % I do not understand why you need to give negative height
   
\setbox\scratchbox{..} \ht\scratchbox0pt \dp\scratchbox-2pt

 % This looks better.
 \def\amsdddot {\limits^{\vbox{\kern-2ex\hbox{\the\textfont\z@ ...}\vss}}}
 [EMAIL PROTECTED]

 \def\dddot #1{{\mathop{#1}\amsdddot }}
 \def\ot#1{{\mathop{#1}\amsot}}

 \protect

 \starttext

 $\dddot{a}_{\dddot{b}}$

 $\ot{a}_{\ot{b}}$
 \stoptext
 %%-

 Aditya
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
   


-- 

-
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Making context produce dvi file.

2006-09-14 Thread Hans Hagen
Sanjoy Mahajan wrote:
 Hans Hagen wrote:
   
 And, a small point of disagreement with the old man entry for texexec:
 'texexec --output=dvi' produces pdf.

   
   
 line 116 in tex.rb in the ruby base path can be adapted:

 ['dvips','ps','dvi']  .each do |b| 
 @@backends[b]   = 'dvips' end
 


   
texexec --dvi test --nobackend

-
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \setuppapersize[XY] not working properly with landscape orientation

2006-09-14 Thread Hans Hagen
Mojca Miklavec wrote:
 On 9/7/06, Mojca Miklavec wrote:
   
 Hello,

 \setuppapersize[XY] is not working properly when paper orientation is
 landscape. The following code results in pages of dimensions 29.5 x
 29.5 cm:

 \setuppapersize
 [XY][A4,landscape]
 \setuppaper
 [nx=3,ny=1]
 \setuparranging
 [XY]
 

 Are there any news about fixing page dimensions in XY papersizes?

   
hm, that sounds desperate ... watch the lunatic definition below:

\unprotect

\definepapersize
  [XY]
  [\c!height=\dimexpr\ifnum\printlandscape\zerocount
   \dimexpr\dimexpr\@@ppwidth 
-\numexpr\@@ppnx-1\relax\dimexpr\@@ppdx\relax\relax/\@@ppnx\relax
 \else
   
\dimexpr\dimexpr\@@ppheight-\numexpr\@@ppny-1\relax\dimexpr\@@ppdy\relax\relax/\@@ppny\relax
 \fi\relax,
   \c!width =\dimexpr\ifnum\printlandscape\zerocount
   
\dimexpr\dimexpr\@@ppheight-\numexpr\@@ppny-1\relax\dimexpr\@@ppdy\relax\relax/\@@ppny\relax
 \else
   \dimexpr\dimexpr\@@ppwidth 
-\numexpr\@@ppnx-1\relax\dimexpr\@@ppdx\relax\relax/\@@ppnx\relax
 \fi\relax]

\setuppapersize
   [XY][A4,landscape]

\setuppaper
  [nx=6,ny=4]

\setuparranging
  [XY]

\starttext

\dorecurse{1}{\recurselevel\space}

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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \bar missing in euler

2006-09-14 Thread Hans Hagen
Aditya Mahajan wrote:

 I wish Hermann Zapf had added these accents in Euler.
   
i'll pass the question when the occasion is there ...
 Hans, why is mathring accent missing from all collections except 
 fourier?
   
dunno, and if taco does notknow it either, who knows -) 
 

-
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] YABQ (yet another bib question...)

2006-09-14 Thread Thomas A. Schmitz

On Sep 10, 2006, at 3:30 PM, Taco Hoekwater wrote:

 [Taco: The reference to Knuth below comes out as (Knuth, 1981c) even
 though there are no other 1981 entries for Knuth cited in the text.
 Is that hard to fix given ConTeXt's way of dealing with bibtex, in
 that it just incorporates the entire database, in which there are
 several 1981 entries from Knuth?]

 Problematic. There is a small bit of influence possible: the `c' is
 inside macro (\maybeyear) that could be redefined (nullified), but
 that is a document-global solution, and it may not even work too well
 at that. It's been a long time since I looked at this problem. It is
 not totally unsolvable, but definately not simple either.

Taco,

I just ran into the same question. When using a citation style that  
doesn't quote the year (like refcommand=num), it seems more logical  
to drop the maybeyear letter. It seems to work setting

\def\maybeyear{\gobbleoneargument}

I haven't seen any side effects yet, but maybe I'm missing something.  
Would it be possible to make this behavior a global option/value?

Best

Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Making context produce dvi file.

2006-09-14 Thread Sanjoy Mahajan
Hans Hagen wrote:
 texexec --dvi test --nobackend

That works.  As another test, using --output=dvi instead of --dvi
produces pdf even with --nobackend.

Just to be thorough, or difficult, I also tried

   texexec test --nobackend

where pdftex is both front- and backend.  It did the right thing (ran
pdftex anyway and produced pdf).

 --nobackend

Thanks, that switch was news to me.

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
 --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Missing \dddot and \ddddot

2006-09-14 Thread Aditya Mahajan
On Thu, 14 Sep 2006, Hans Hagen wrote:

 Aditya Mahajan wrote:
 On Thu, 14 Sep 2006, WN wrote:


 Hello,
 I need to use \dddot and \ot in one of my documents, does anyone
 know how to
 define these math symbols.


 The trouble is that most fonts do not contain these accents.
 amsmath.sty gets over this definition by faking these symbols. It is
 easy to port these definitions to context.

 amsmath.sty definition

 \newcommand{\dddot}[1]{%
{\mathop{#1}\limits^{\vbox [EMAIL PROTECTED]@\ex@
 \hbox{\normalfont ...}\vss
 \newcommand{\ot}[1]{%
{\mathop{#1}\limits^{\vbox [EMAIL PROTECTED]@\ex@
 \hbox{\normalfont}\vss


 Converting to context

 %%
 \unprotect

 % The true copy of amsmath definitions
 \def\amsdddot {\limits^{\vbox to -1.4ex{\kern-2ex\hbox{\the\textfont\z@ 
 ...}\vss}}}
 \def\amsot{\limits^{\vbox to [EMAIL PROTECTED]

 % I do not understand why you need to give negative height

 \setbox\scratchbox{..} \ht\scratchbox0pt \dp\scratchbox-2pt

I was wondering why amstex definition does this, as the 1.4ex depth 
was too big. Then I realized that it is not 1.4ex but 1.4\ex@ with 
\ex@ as .2326ex. ughhthe ugly syntax of plain tex...

So here is a more reliable reproduction of amstex dddot and ot

\newdimen\amstexex

\amstexex = .2326ex

\def\dotsadjustbox#1%
   {\vbox to -1.4\amstexex{\kern-2\amstexex
\hbox{\the\textfont\zerocount#1}\vss}}

\def\dddot#1%
   {{\mathop{#1}\limits^{\dotsadjustbox{...

\def\ot#1%
   {{\mathop{#1}\limits^{\dotsadjustbox{

\starttext
$\dddot{a}_{\dddot{b}}$

$\ot{a}_{\ot{b}}$
\stoptext

Hans, can these definitions be added to the core?

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context