1 Nov 19:59 2004

### Re: Typing Chinese with plain TeX


Many thanks to all the people from this mailing list
who provided help to this matter:
Edward G.J. Lee, Wouter, Karl Berry, Haruhiko Okumura, Reinhard Kotucha,
and especially Tang, with whom the discussion continued privately.
I'm giving a complete step by step report
(in case it could turn to be useful to somebody else)
of the whole procedure I had to follow
to install ChiTeX first, and then to configure Emacs
to correctly display and input chinese characters.
(I tried to write it carefully,
but there might be errors and imprecisions.)
Maybe someone will improve and correct this report,
and add some steps or suggest some different ones.
I hope that similar reports about other 'exotic' languages
and writing systems will be written, if they haven't been yet,
and that they are or will be easily found by the users.

The procedure I'm giving does not allow to input
Simplified and Traditional Chinese within the same file.
This is possible using other packages and input methods
like scim and mule-gbk,
but when I installed and tried to use them
other problems and 'side effects' arose,
so I'm not reporting about them.

Rodolfo

-------------------------------------------------------------------------
My operating system: Linux Mandrake 9.1.


1 Nov 21:20 2004

### price labels templates

I want to write a price_labels.tex in TeX for printing
price labels in 3*10 stick peel off sheets.
price_labels.tex was called by perl CGI. Data will be
produced by Perl. Start position for labels should be
passed to price_labels.tex because labels could be
started at 2 column and 3 rows. Every labels printed
has company image. The long text should be wrapped.

I am new to Tex(Latex). Does any body have experience
with this?

Any suggestion will be appeciated.

Thanks

______________________________________________________________________


1 Nov 17:01 2004

### Question about commandchras in fancyvrb.sty

Hello, I am trying to set the command characters for Verbatim
environment in fancyverb.sty as;

\DefineVerbatimEnvironment{MySplus}{Verbatim}{commandchars= <at> }

so I can change the style of S-Plus code partially like;

\begin{MySplus}
<at> textsl sl style splus code here 
tt style splus code here
\end{MySplus}

since the S-Plus code I would like to put in Verbatim environment uses
various type of characters except  <at>  and back-tick.

Could anyone tell me how to enable the back-tick as a command
character?

Wataru Shito (Room 430)
==================================
Tel: 092-823-4430 (direct)
Fax: 092-823-2506
shito <at> seinan-gu.ac.jp
http://www.seinan-gu.ac.jp/~shito
==================================

__________________________________


1 Nov 23:27 2004

### Re: price labels templates


Below is a file I got from somewhere for mailing labels, which
sounds like what you need.  I didn't write it, but I use it, and
modified it a bit.  The only problem I find is that for easy mailing I
wish the labels were sorted in columns instead of rows.

-tom

------------------------
tomfool at as220 dot org
http://sgouros.com
http://whatcheer.net

% label.tex, Russell Brown (rbrown <at> ms.uky.edu)

% Change the "\input filename" to whatever you call your
% particular file

% The following is a format for printing mailing labels. To use, set
% the following six dimensions,
%
% \nrows = number of rows
% \ncols = number of columns
% \vcorner= vertical distance from top of page to top of first label
% \hcorner = horizontal distance from left edge of page to left edge of label
% \hlabel = horizontal width of label
% \vlabel = vertical height of label
%
% \hfudge = correction to make the horizontal alignment to work out correctly
% \vfudge = correction to make the vertical alignment to work out correctly


2 Nov 21:19 2004

### Re: price labels templates

I tried it. When some scrips added, for example
warnning message that means like the document is old.
I wrote a email to Russell Brown. He gave me some
suggestions. Now I tried to find a little bit new
sample about sticky label templates. Until Now I
didn't get it. I found a article about 'A Package for
Making Sticky Labels in LaTeX' written in 1995. But I
didn't know if is OK for new version TeX (Web2C 7.4.5)
3.14159.

Any suggestion will be appreciated.

Thanks

--- tom sgouros <tomfool <at> as220.org> wrote:
>
> Below is a file I got from somewhere for mailing
> labels, which
> sounds like what you need.  I didn't write it, but I
> use it, and
> modified it a bit.  The only problem I find is that
> for easy mailing I
> wish the labels were sorted in columns instead of
> rows.
>
> -tom
>
>  ------------------------
>  tomfool at as220 dot org


3 Nov 01:08 2004

### Re: Question about commandchars in fancyvrb.sty

> Hello, I am trying to set the command characters for Verbatim
> environment in fancyverb.sty as;
>
>   \DefineVerbatimEnvironment{MySplus}{Verbatim}{commandchars= <at> }
>
> so I can change the style of S-Plus code partially like;
>
>   \begin{MySplus}
>       <at> textsl sl style splus code here 
>      tt style splus code here
>   \end{MySplus}
>
> since the S-Plus code I would like to put in Verbatim environment uses
> various type of characters except  <at>  and back-tick.
>
> Could anyone tell me how to enable the back-tick as a command
> character?

you're doing it right, up to the point you mention it a second time.
the command characters have to be three different ones,

so \DefineVerbatimEnvironment{MySplus}{Verbatim}{commandchars= <at> '}

would work.  the requirement comes from the way tex decodes arguments:
i can think of no way fancyverb could be made to work like with the
same character substituting for both { and }


3 Nov 16:35 2004

### Some questions about plain TeX and LaTeX

Dear People of TeXlist:
I would like to do some questions about TeX and LaTeX
and I hope somebody could answer (if it´s not much time).

1) How can I do to typeset accented vocals and "ñ" in standard TeX whitout using control characters. I mean,
something similar to LaTeX imputenc that allows to type á instead o \´a or \´{a}. I want to do the same but
in plain TeX. Is that possible?

2) In LaTeX, command \parbox is given this way: \parbox[position]{width}{text}. My question is... Is
there a way to control not only the width of the box but also it´s height?

Francisco Villafañe
Buenos Aires, Argentina


3 Nov 17:40 2004

### Re: Some questions about plain TeX and LaTeX

Francisco Villafañe :

> Dear People of TeXlist:
>                                 I would like to do some questions about TeX and LaTeX
> and I hope somebody could answer (if it´s not much time).
>
> 1) How can I do to typeset accented vocals and "ñ" in standard TeX
> whitout using control characters. I mean, something similar to LaTeX
> imputenc that allows to type á instead o \´a or \´{a}. I want to do the
> same but in plain TeX. Is that possible?
>

> 2) In LaTeX, command \parbox is given this way:
> \parbox[position]{width}{text}. My question is... Is there a way to
> control not only the width of the box but also it´s height?
>

the full syntax for \parbox (and minipage) is

\parbox[position][height][inner position]{width}{text}

--

--

/daleif

You cannot help men permanently by doing for them
what they could and should do for themselves. ''
-- Abraham Lincoln

3 Nov 17:58 2004

### Re: Some questions about plain TeX and LaTeX

On Wed, 03 Nov 2004 12:35:02 -0300, Francisco Villafañe
<fvillafa <at> seznam.cz> wrote:

> 1) How can I do to typeset accented vocals and "ñ" in standard TeX
> whitout using control characters. I mean, something similar to LaTeX
> imputenc that allows to type á instead o \´a or \´{a}. I want to do the
> same but in plain TeX. Is that possible?

If I remember correctly, the cyrplain bundle contains a plainenc.tex that
allows you to use the LaTeX inputenc.sty in plain TeX. You might have fun
playing with that. Note that the simple
\catcode ñ=\active
\def ñ{\~{n}}
is likely to blow up if you try to move the information around.

> 2) In LaTeX, command \parbox is given this way:
> \parbox[position]{width}{text}. My question is... Is there a way to
> control not only the width of the box but also it´s height?

\parbox[pos][inner height][inner pos]{width}{arg}
--

--
Morten Høgholm


3 Nov 18:01 2004

### Re: Some questions about plain TeX and LaTeX


Francisco Villafañe wrote:

> Dear People of TeXlist:
>                                  I would like to do some questions about TeX and LaTeX
> and I hope somebody could answer (if it´s not much time).
>
> 1) How can I do to typeset accented vocals and "ñ" in standard TeX whitout using control characters.
> I mean, something similar to LaTeX imputenc that allows to type á instead o \´a or \´{a}. I want to
> do the same but in plain TeX. Is that possible?

\catcode á = \active
\def á}{\´a}

> 2) In LaTeX, command \parbox is given this way: \parbox[position]{width}{text}.
> My question is... Is there a way to control not only the width of the box but also it´s height?

\parbox [position]{width}{\vbox to <height>{\hsize = <width><text>\vss}}

Of course, the latter can't prevent text which won't fit within
the parbox from overprinting other material, but the parbox itself
will be the right size even if its contents aren't !

** Phil.



Gmane