ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* framed-vtop
@ 2006-10-02 15:13 Idris Samawi Hamid
  2006-10-02 17:04 ` framed-vtop Wolfgang Schuster
  2006-10-03  5:04 ` How to make copyable Chinese documents ? fdu.xiaojf
  0 siblings, 2 replies; 7+ messages in thread
From: Idris Samawi Hamid @ 2006-10-02 15:13 UTC (permalink / raw)


Dear knights,

How do I get \framed to behave like \vtop? For example

\startext

\framed{\framed[width=1in]{1992} \vtop{Instructor, Physics, Upward Bound  
Math/Science Regional Center \crlf University at Buffalo, State University  
of New York}}

\framed{\framed[width=1in]{1992} \framed{Instructor, Physics, Upward Bound  
Math/Science Regional Center \crlf University at Buffalo, State University  
of New York}}

\stoptext

I can't seem to find the right options for \framed so that the year is  
flush with the top line of its argument.

Best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: framed-vtop
  2006-10-02 15:13 framed-vtop Idris Samawi Hamid
@ 2006-10-02 17:04 ` Wolfgang Schuster
  2006-10-03  3:14   ` framed-vtop Idris Samawi Hamid
  2006-10-03  5:04 ` How to make copyable Chinese documents ? fdu.xiaojf
  1 sibling, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2006-10-02 17:04 UTC (permalink / raw)


On Mon, 02 Oct 2006 09:13:15 -0600
"Idris Samawi Hamid" <ishamid@colostate.edu> wrote:

> \startext

\starttext

> \framed{\framed[width=1in]{1992} \vtop{Instructor, Physics, Upward Bound  
> Math/Science Regional Center \crlf University at Buffalo, State University  
> of New York}}
> 
> \framed{\framed[width=1in]{1992} \framed{Instructor, Physics, Upward Bound

                                   \framed[location=top,align=normal]{...} 

> Math/Science Regional Center \crlf University at Buffalo, State University  
> of New York}}
>
> \stoptext

Wolfgang

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: framed-vtop
  2006-10-02 17:04 ` framed-vtop Wolfgang Schuster
@ 2006-10-03  3:14   ` Idris Samawi Hamid
  0 siblings, 0 replies; 7+ messages in thread
From: Idris Samawi Hamid @ 2006-10-03  3:14 UTC (permalink / raw)


On Mon, 02 Oct 2006 11:04:03 -0600, Wolfgang Schuster  
<schuster.wolfgang@googlemail.com> wrote:

> On Mon, 02 Oct 2006 09:13:15 -0600
>> \framed{\framed[width=1in]{1992} \framed{Instructor, Physics, Upward  
>> Bound
>
>                                    \framed[location=top,align=normal]{...}

That worked, thank you. I actually had tried location=bottom, following a  
different logic of looking at it (viz, bring the box down), did not occur  
to me to try top...

Best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* How to make copyable Chinese documents ?
  2006-10-02 15:13 framed-vtop Idris Samawi Hamid
  2006-10-02 17:04 ` framed-vtop Wolfgang Schuster
@ 2006-10-03  5:04 ` fdu.xiaojf
  2006-10-03 12:47   ` John R. Culleton
  2006-10-03 18:20   ` Hans Hagen
  1 sibling, 2 replies; 7+ messages in thread
From: fdu.xiaojf @ 2006-10-03  5:04 UTC (permalink / raw)


Hi,

My friends can use LaTeX+CJK or LaTeX+CCT to generate Chinese documents
the Chinese characters in which can be selected and copied. The 
procedure is using
 LaTeX to convert .tex file to .dvi, then using gs to convert .dvi to .pdf.

I can use ConTeXt to generate .pdf file directly from .tex. and the Chinese
characters can be selected, but when I try to paste it to another text 
editor, it
looks like this "üèÃËÂæúïÅ«§ÍÔ".

I am using chinese module in ConTeXt version before 2005.12.19. Will the 
new
version of ConTeXt fix this.

Regards,

Xiao Jianfeng

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to make copyable Chinese documents ?
  2006-10-03  5:04 ` How to make copyable Chinese documents ? fdu.xiaojf
@ 2006-10-03 12:47   ` John R. Culleton
  2006-10-03 18:20   ` Hans Hagen
  1 sibling, 0 replies; 7+ messages in thread
From: John R. Culleton @ 2006-10-03 12:47 UTC (permalink / raw)


On Tuesday 03 October 2006 01:04, fdu.xiaojf@gmail.com wrote:
> Hi,
>
> My friends can use LaTeX+CJK or LaTeX+CCT to generate Chinese documents
> the Chinese characters in which can be selected and copied. The
> procedure is using
>  LaTeX to convert .tex file to .dvi, then using gs to convert .dvi to .pdf.
>
> I can use ConTeXt to generate .pdf file directly from .tex. and the Chinese
> characters can be selected, but when I try to paste it to another text
> editor, it
> looks like this "üèÃËÂæúïÅ«§ÍÔ".
>
> I am using chinese module in ConTeXt version before 2005.12.19. Will the
> new
> version of ConTeXt fix this.
>
> Regards,
>
> Xiao Jianfeng

Cut and paste are not TeX functions. Your operating system and
GUI may be set up differently from your friend. If you exchange
PDF files with him I think you will find that he can cut and paste
successfully from your pdf and you will still have a problem with
cut and paste from his.  

I cannot help you further without having some clue as to the
Operating System in use on each computer. Also, what text editor
are you using? Is it the same as his text editor?
-- 
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed. 
http://wexfordpress.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to make copyable Chinese documents ?
  2006-10-03  5:04 ` How to make copyable Chinese documents ? fdu.xiaojf
  2006-10-03 12:47   ` John R. Culleton
@ 2006-10-03 18:20   ` Hans Hagen
  2006-10-03 20:19     ` Mojca Miklavec
  1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2006-10-03 18:20 UTC (permalink / raw)


fdu.xiaojf@gmail.com wrote:
> Hi,
>
> My friends can use LaTeX+CJK or LaTeX+CCT to generate Chinese documents
> the Chinese characters in which can be selected and copied. The 
> procedure is using
>  LaTeX to convert .tex file to .dvi, then using gs to convert .dvi to .pdf.
>
> I can use ConTeXt to generate .pdf file directly from .tex. and the Chinese
> characters can be selected, but when I try to paste it to another text 
> editor, it
> looks like this "��������ū���".
>
> I am using chinese module in ConTeXt version before 2005.12.19. Will the 
> new
> version of ConTeXt fix this.
>   
i've forgotten if there was a trick to do it using pdftex and context -) 

you can try the dvipdfmx route since dvipdfmx is more clever with those huge fonts 

future versions (next year) of pdftex will definitely support this unicode map trickery 

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to make copyable Chinese documents ?
  2006-10-03 18:20   ` Hans Hagen
@ 2006-10-03 20:19     ` Mojca Miklavec
  0 siblings, 0 replies; 7+ messages in thread
From: Mojca Miklavec @ 2006-10-03 20:19 UTC (permalink / raw)


On 10/3/06, Hans Hagen wrote:
> fdu.xiaojf@gmail.com wrote:
> > Hi,
> >
> > My friends can use LaTeX+CJK or LaTeX+CCT to generate Chinese documents
> > the Chinese characters in which can be selected and copied. The
> > procedure is using
> >  LaTeX to convert .tex file to .dvi, then using gs to convert .dvi to .pdf.
> >
> > I can use ConTeXt to generate .pdf file directly from .tex. and the Chinese
> > characters can be selected, but when I try to paste it to another text
> > editor, it
> > looks like this "...".
> >
> > I am using chinese module in ConTeXt version before 2005.12.19. Will the
> > new
> > version of ConTeXt fix this.
> >
> i've forgotten if there was a trick to do it using pdftex and context -)

It might be that a similar appreach to pdfr-ec.tex would do (you have
to tell to Acrobat which character code represents which letter of the
Unicode and is probably implemented in LaTeX), but esp. because of the
reason mentioned below I don't think that it would be worth the effort
to implement it now.

> future versions (next year) of pdftex will definitely support this unicode map trickery

Mojca

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-10-03 20:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-02 15:13 framed-vtop Idris Samawi Hamid
2006-10-02 17:04 ` framed-vtop Wolfgang Schuster
2006-10-03  3:14   ` framed-vtop Idris Samawi Hamid
2006-10-03  5:04 ` How to make copyable Chinese documents ? fdu.xiaojf
2006-10-03 12:47   ` John R. Culleton
2006-10-03 18:20   ` Hans Hagen
2006-10-03 20:19     ` Mojca Miklavec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).