[NTG-context] Copy Paste chinese in PDF files

2008-12-11 Thread Yu Yi
hi, I'm thinking now whether change from latex to context. As I know, both latex and context support the chinese language, but like in Latex, there is a problem with generated PDF, that is, the chinese words can not be copied and pasted correctly as the english words, how about this function

Re: [NTG-context] Copy Paste chinese in PDF files

2008-12-11 Thread Lutz Haseloff
Nihao Yi, 2008/12/10 Yu Yi [EMAIL PROTECTED] hi, I'm thinking now whether change from latex to context. As I know, both latex and context support the chinese language, but like in Latex, there is a problem with generated PDF, that is, the chinese words can not be copied and pasted correctly

Re: [NTG-context] mptopdf

2008-12-11 Thread Taco Hoekwater
David Arnold wrote: All, I sent this to OS X TeX list, but perhaps I can get some guidance here? All, After installing MacTeX (textlve2008), mptopdf fails: pstricks $ mptopdf bruce This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) %-line parsing enabled. [MP to PDF]

[NTG-context] startconstants broken

2008-12-11 Thread Hans van der Meer
Upgrading seems to have broken \startconstants (and probably also \startvariables). The code below worked in cont-tmf version 2008-08-05 but no longer in 2008-10-31: \startconstants all spine:spine % etcetera \stopconstants \startvariables all % etcetera

Re: [NTG-context] startconstants broken

2008-12-11 Thread Taco Hoekwater
Hans van der Meer wrote: Upgrading seems to have broken \startconstants (and probably also \startvariables). The code below worked in cont-tmf version 2008-08-05 but no longer in 2008-10-31: See http://wiki.contextgarden.net/Release_Notes#Context_2008.10.31 Have a look at the included

[NTG-context] trick

2008-12-11 Thread Hans Hagen
The next trick is dedicated to Aditya ... % engine=luatex \unprotect \def\Hack#1#2% {\pdfliteral{/Span /ActualText \ctxlua{pdf.hexify(\!!bs\detokenize{#1}\!!es)} BDC}#2\pdfliteral{EMC}} \protect \def\Formula#1{\Hack{#1}{$#1$}} \startTEXpage[offset=3pt] test \Formula{e + a = mc^2 +

[NTG-context] inconsistent TABLE and figure top-placement

2008-12-11 Thread Steffen Wolfrum
Hi, I just go mad with a grid based document that contains several naturalTABLEs and figures. When I want to place those at the top of the page, their top edge is sometimes higher, sometimes lower than expected. Experimenting with different figure height (and different heights of the

Re: [NTG-context] Copy Paste chinese in PDF files

2008-12-11 Thread Yanrui Li
2008/12/10 Yu Yi [EMAIL PROTECTED]: hi, I'm thinking now whether change from latex to context. As I know, both latex and context support the chinese language, but like in Latex, there is a problem with generated PDF, that is, the chinese words can not be copied and pasted correctly as the

Re: [NTG-context] Copy Paste chinese in PDF files

2008-12-11 Thread Ulrike Fischer
Am Wed, 10 Dec 2008 13:28:51 +0100 schrieb Yu Yi: hi, I'm thinking now whether change from latex to context. As I know, both latex and context support the chinese language, but like in Latex, there is a problem with generated PDF, that is, the chinese words can not be copied and pasted

Re: [NTG-context] ! Extra \else error

2008-12-11 Thread Zhichu Chen
Hi Bart On Thu, Dec 11, 2008 at 9:50 PM, Bart C. Wise [EMAIL PROTECTED] wrote: When I run the code below (via minimals), I get the following error, why? enter loop ! Extra \else. \@@plniterate ...\expandafter \@@plniterate \else \fi \myloop ...by 1 \ifnum \tempcnta #1\else \repeat I

[NTG-context] ! Extra \else error

2008-12-11 Thread Bart C. Wise
When I run the code below (via minimals), I get the following error, why? enter loop ! Extra \else. \@@plniterate ...\expandafter \@@plniterate \else \fi \myloop ...by 1 \ifnum \tempcnta #1\else \repeat

Re: [NTG-context] ! Extra \else error

2008-12-11 Thread Hans Hagen
Zhichu Chen wrote: Hi Bart On Thu, Dec 11, 2008 at 9:50 PM, Bart C. Wise [EMAIL PROTECTED] wrote: When I run the code below (via minimals), I get the following error, why? enter loop ! Extra \else. \@@plniterate ...\expandafter \@@plniterate \else \fi \myloop ...by 1 \ifnum \tempcnta

Re: [NTG-context] ! Extra \else error

2008-12-11 Thread Bart C. Wise
On Thursday 11 December 2008 07:17:51 am Hans Hagen wrote: Zhichu Chen wrote: Hi Bart On Thu, Dec 11, 2008 at 9:50 PM, Bart C. Wise [EMAIL PROTECTED] wrote: When I run the code below (via minimals), I get the following error, why? enter loop ! Extra \else. \@@plniterate

Re: [NTG-context] ! Extra \else error

2008-12-11 Thread Hans Hagen
Bart C. Wise wrote: On Thursday 11 December 2008 07:17:51 am Hans Hagen wrote: Zhichu Chen wrote: Hi Bart On Thu, Dec 11, 2008 at 9:50 PM, Bart C. Wise [EMAIL PROTECTED] wrote: When I run the code below (via minimals), I get the following error, why? enter loop ! Extra \else.

Re: [NTG-context] ! Extra \else error

2008-12-11 Thread Bart C. Wise
On Thursday 11 December 2008 07:29:15 am Zhichu Chen wrote: Hi Bart, On Thu, Dec 11, 2008 at 10:21 PM, Bart C. Wise [EMAIL PROTECTED] wrote: If I change the loop to be the following, I still get the same error: \def\myloop#1{% \tempcnta=\the\startcnt% \loop \advance \tempcnta

Re: [NTG-context] ! Extra \else error

2008-12-11 Thread Aditya Mahajan
On Thu, 11 Dec 2008, Aditya Mahajan wrote: On Thu, 11 Dec 2008, Bart C. Wise wrote: When I run the code below (via minimals), I get the following error, why? \newcount\startcnt \newcount\tempcnta \def\myloop#1{% \message{enter} \tempcnta=\the\startcnt% \loop \message{loop} \advance

Re: [NTG-context] ! Extra \else error

2008-12-11 Thread Bart C. Wise
On Thursday 11 December 2008 08:28:40 am Zhichu Chen wrote: Hi Bart, On Thu, Dec 11, 2008 at 11:05 PM, Bart C. Wise [EMAIL PROTECTED] wrote: Chen, Thanks. That makes sense now. However, when I take your code and run it, it only goes through 1 iteration of the loop and exits. I'm

Re: [NTG-context] ! Extra \else error

2008-12-11 Thread Aditya Mahajan
On Thu, 11 Dec 2008, Bart C. Wise wrote: When I run the code below (via minimals), I get the following error, why? \newcount\startcnt \newcount\tempcnta \def\myloop#1{% \message{enter} \tempcnta=\the\startcnt% \loop \message{loop} \advance \tempcnta by 1 \ifnum\tempcnta#1\else

Re: [NTG-context] ! Extra \else error

2008-12-11 Thread Ulrike Fischer
Am Thu, 11 Dec 2008 07:21:56 -0700 schrieb Bart C. Wise: If I change the loop to be the following, I still get the same error: \def\myloop#1{% \tempcnta=\the\startcnt% \loop \advance \tempcnta by 1 \if\tempcnta=#1\else \repeat\fi } No, the \repeat take the place of the

Re: [NTG-context] ! Extra \else error

2008-12-11 Thread Bart Wise
On Thursday 11 December 2008 08:10:38 am Ulrike Fischer wrote: Am Thu, 11 Dec 2008 07:21:56 -0700 schrieb Bart C. Wise: If I change the loop to be the following, I still get the same error: \def\myloop#1{% \tempcnta=\the\startcnt% \loop \advance \tempcnta by 1

Re: [NTG-context] ! Extra \else error

2008-12-11 Thread Zhichu Chen
Hi Bart, On Thu, Dec 11, 2008 at 11:05 PM, Bart C. Wise [EMAIL PROTECTED] wrote: Chen, Thanks. That makes sense now. However, when I take your code and run it, it only goes through 1 iteration of the loop and exits. I'm puzzled. Bart Really? 'cause when I run the following code

Re: [NTG-context] how to get thick and thin borders working in tables (ConTeXt)

2008-12-11 Thread Lars Huttar
On 12/10/2008 4:05 AM, Wolfgang Schuster wrote: On Wed, Dec 10, 2008 at 7:07 AM, Lars Huttar [EMAIL PROTECTED] wrote: ... However, when I try to mix double frames with single frames, I'm having trouble. Here is what I tried, in order to get a cell with double frame on the left, and single

Re: [NTG-context] how to get thick and thin borders working in tables (ConTeXt)

2008-12-11 Thread Lars Huttar
On 12/11/2008 3:24 PM, Wolfgang Schuster wrote: Am 11.12.2008 um 18:05 schrieb Lars Huttar: We center borders between the cells by using enlarged values -0.2 +/- k, i.e. center around -0.2. I'm not sure why -0.2 works better than zero, but it does... Doing this makes coincident border

[NTG-context] [OT] context mascot

2008-12-11 Thread luigi scarso
Have we a mascot ? http://chl.be/mascots/ -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] [OT] context mascot

2008-12-11 Thread Aditya Mahajan
On Fri, 12 Dec 2008, luigi scarso wrote: Have we a mascot ? http://chl.be/mascots/ Yes we do. Its the dutch cow :-) ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] [OT] context mascot

2008-12-11 Thread Wolfgang Schuster
Am 12.12.2008 um 00:29 schrieb Aditya Mahajan: On Fri, 12 Dec 2008, luigi scarso wrote: Have we a mascot ? http://chl.be/mascots/ Yes we do. Its the dutch cow :-) http://archive.contextgarden.net/message/20080331.202358.73e0f8dc.en.html Wolfgang

Re: [NTG-context] [OT] context mascot

2008-12-11 Thread luigi scarso
On Fri, Dec 12, 2008 at 12:29 AM, Aditya Mahajan adit...@umich.edu wrote: On Fri, 12 Dec 2008, luigi scarso wrote: Have we a mascot ? http://chl.be/mascots/ Yes we do. Its the dutch cow :-) right, damn, I'm getting old BTW I think we should put on the wiki something like this

[NTG-context] Typography

2008-12-11 Thread Diego Depaoli
Dear helpful list, for the first time my work goes at typography and I'm a little worried. There is something I should know/make? Regards -- Diego Depaoli ___ If your question is of interest to others as well, please

Re: [NTG-context] Typography

2008-12-11 Thread Yue Wang
On Fri, Dec 12, 2008 at 8:53 AM, Diego Depaoli trebes...@gmail.com wrote: Dear helpful list, for the first time my work goes at typography and I'm a little worried. There is something I should know/make? Read R.B.'s The Elements of Typography Style. Though it did not touch color issue:)

Re: [NTG-context] Copy Paste chinese in PDF files

2008-12-11 Thread Yue Wang
Hi, Yanrui, Are you sure we should proceed the bibtex manually? (page38 of your version 2) since I run pdfTeX and bibtex, the process can be done automatically using texexec (after the 2006 release, of course). Yue Wang On Thu, Dec 11, 2008 at 8:51 PM, Yanrui Li liyanrui...@gmail.com wrote:

Re: [NTG-context] Copy Paste chinese in PDF files

2008-12-11 Thread Yue Wang
This is not so much a question of the format (LaTeX or context) but of the underlying engines and the fonts. E.g. dvidpfmx seems to do it fine, but pdftex needs special map files: http://www.mail-archive.com/c...@ffii.org/msg00221.html The unicode orientated engines xetex (with latex or

Re: [NTG-context] Copy Paste chinese in PDF files

2008-12-11 Thread Yanrui Li
2008/12/12 Yue Wang yuleo...@gmail.com: Hi, Yanrui, Are you sure we should proceed the bibtex manually? (page38 of your version 2) since I run pdfTeX and bibtex, the process can be done automatically using texexec (after the 2006 release, of course). Yes, If we use 'context' as compiling

Re: [NTG-context] Copy Paste chinese in PDF files

2008-12-11 Thread Aditya Mahajan
On Fri, 12 Dec 2008, Yanrui Li wrote: 2008/12/12 Yue Wang yuleo...@gmail.com: Hi, Yanrui, Are you sure we should proceed the bibtex manually? (page38 of your version 2) since I run pdfTeX and bibtex, the process can be done automatically using texexec (after the 2006 release, of course).

Re: [NTG-context] help with a latex - context conversion

2008-12-11 Thread Aditya Mahajan
On Wed, 10 Dec 2008, Zoho Vignochi wrote: Hello: I am intending to write my masters thesis using context. My university publishes a style guide in addition to a latex cls file. I am trying to reproduce the titlepage. I have been using the wiki (specifically