[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 in context? Anyway, this does not work in the provided manuals 
and examples!


appreciate for any tips!

Yu Yi
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 as the english words, how about this function in
 context? Anyway, this does not work in the provided manuals and examples!

 appreciate for any tips!


Using luatex there should be no problem.
My file:

% engine=luatex
\font\kaiti=name:kaiti at 140pt\kaiti
\starttext
人之初,\par
性本善。\par
性相近,\par
习相远。
\stoptext

After running luatex i can copy and paste all characters
into for instance Babelpad.

Greetings

Lutz



 Yu Yi

 ___
 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 english words, how about this function in
 context? Anyway, this does not work in the provided manuals and examples!

I have written a  simple note of ConTeXt MkIV in Chinese, which maybe
is helpful for you . You can download it from
http://code.google.com/p/way2ctx/downloads/list

I would plan to write new one and try my best to make it as a tutorial
of MkIV. I hope I can finishe it in spring of next year.

-- 
Best wishes,
Li Yanrui
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 correctly as the english words, how about this 
 function in context? 

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/[EMAIL PROTECTED]/msg00221.html

The unicode orientated engines xetex (with latex or context) or luatex
(for which adequate support exists currently only in context) will
probably work out of the box.


-- 
Ulrike Fischer 

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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:
 2008/12/10 Yu Yi y...@mathematik.uni-marburg.de:
 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 in
 context? Anyway, this does not work in the provided manuals and examples!

 I have written a  simple note of ConTeXt MkIV in Chinese, which maybe
 is helpful for you . You can download it from
 http://code.google.com/p/way2ctx/downloads/list

 I would plan to write new one and try my best to make it as a tutorial
 of MkIV. I hope I can finishe it in spring of next year.

 --
 Best wishes,
 Li Yanrui
 ___
 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 context) or luatex
 (for which adequate support exists currently only in context) will
 probably work out of the box.

also needs to be supported by macros.
For example, hyperlink in chinese will broke in
XeLaTeX/pdfLaTeX/dvipdfmx with hyperref(even we choose the proper
driver). but works fine in XeConTeXt and LuaTeX MKIV.



 --
 Ulrike Fischer

 ___
 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 command, I'm sure that.

-- 
Best wishes,
Li Yanrui
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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


Yes, If we use 'context' as compiling command, I'm sure that.


The new version of t-bib (2008.12.01) runs bibtex automatically even with 
'context' command.


Aditya
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___