<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
It's much simplier:<BR>
&nbsp;<BR>
<FONT face="Courier New">\documentclass{article}<BR>\usepackage{umrand, xcolor}<BR>\usepackage{times}</FONT><BR>
<FONT face="Courier New"></FONT>&nbsp;<BR>
<FONT face="Courier New">\parindent 0pt<BR>\hoffset -25mm<BR>\voffset -25mm<BR>\hfuzz&nbsp;&nbsp; 200pt</FONT><BR>
<FONT face="Courier New"></FONT>&nbsp;<BR>
<FONT face="Courier New">\font\w = WebOMintsGD at 20pt %% Type1-Font WebOMintsGD.pfb</FONT><BR>
<FONT face="Courier New"></FONT>&nbsp;<BR>
<FONT face="Courier New">\begin{document}</FONT><BR>
<FONT face="Courier New"></FONT>&nbsp;<BR>
<FONT face="Courier New">\def\TextB<BR>{\parbox {132mm}{%<BR>More than three thousand years ago, small groups of semi-nomadic peoples<BR>crossed the mountain regions that separate Central Asia from Iran and the<BR>subcontinent of India. They spoke an Indo-European language, which developed<BR>into Vedic, and imported the rudiments of a social and ritual system. Like<BR>other speakers of Indo-European languages, they celebrated fire, called<BR>Agni, and like their Iranian relatives, they adopted the cult of Soma -- a<BR>plant, probably hallucinogenic, which grew in the high mountains. The<BR>interaction between these Central-Asian adventurers and earlier inhabitants<BR>of the Indian subcontinent gave birth to Vedic civilization, named after the<BR>four Vedas, oral compositions that have been transmitted by word of mouth to<BR>the present day. The Vedas depict Vedic religion, in the words of Louis<BR>Renou (1953:29), as ``first and foremost a liturgy, and only secondarily a<BR>mythological or speculative system.''<BR>}}</FONT><BR>
<FONT face="Courier New"></FONT>&nbsp;<BR>
<FONT face="Courier New">\colorbox{yellow}{%<BR>\RandBox<BR>{\TextB}<BR>%<BR>font {\w} [0pt]<BR>%<BR>(a) ([f\\g]f) (b)<BR>([i\\l]i)<BR>(j[k\\j])<BR>(a) ([f\\g]f) (b)%<BR>}</FONT><BR>
<FONT face="Courier New"></FONT>&nbsp;<BR>
<FONT face="Courier New">\RandBox<BR>{\TextB}<BR>%<BR>font {\w} [0pt]<BR>%<BR>(a) ([f\\g]f) (b)<BR>(j[k\\j])&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; % &lt;--<BR>([i\\l]i)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; % &lt;--<BR>(a) ([f\\g]f) (b)<BR></FONT><BR>
<FONT face="Courier New">\end{document}</FONT><BR>
<FONT face="Courier New"></FONT>&nbsp;<BR>
<FONT face="Courier New">Guido Herzog<BR>
<BR>&nbsp;</FONT><BR>
<HR id=stopSpelling>
Date: Tue, 9 Feb 2010 13:20:30 -0500<BR>From: FrMichaelGilmary@maronitemonks.org<BR>To: xetex@tug.org<BR>Subject: Re: [XeTeX] Decorative border around page<BR><BR>Kamal Abdali wrote:<BR><BR><BR>
<BLOCKQUOTE cite=mid:398184f71002082221j5353fc89ga90937e33ba81490@mail.gmail.com><PRE>When I had called for help, I had zero experience with xetex, font calls,
assembling borders with webomints glyphs, etc. Your two examples, each
calling the webomints fonts in two ways, were very instructive. Thank you!
  </PRE></BLOCKQUOTE><BR>You're welcome! You're an experienced newbie now.<BR><BR><BR>
<BLOCKQUOTE cite=mid:398184f71002082221j5353fc89ga90937e33ba81490@mail.gmail.com><PRE>Now about the new version you gave:


  </PRE>
<BLOCKQUOTE><PRE>%!TEX encoding =  UTF-8 Unicode
%!TEX TS-program =  xelatex
\documentclass[12pt,oneside]{memoir}
\usepackage{xltxtra}
\usepackage{graphicx}
\usepackage{polyglossia}
\setdefaultlanguage[variant=us]{english}
\setmainfont[Mapping=tex-text, Numbers={Proportional,OldStyle}]{Minion
Pro}

\newfontfamily\webomints{WebOMints GD}

\newcommand{\wb}[1]{\webomints\fontsize{12bp}{12bp}\selectfont #1}

    </PRE></BLOCKQUOTE><PRE>(The above command can be commented out, as the one before suffices.)
  </PRE></BLOCKQUOTE><BR><BR>Certainly, since it doesn't get used!<BR><BR><BR>
<BLOCKQUOTE cite=mid:398184f71002082221j5353fc89ga90937e33ba81490@mail.gmail.com>
<BLOCKQUOTE><PRE>\usepackage{varwidth,umrand}

\frenchspacing
\raggedbottom
\setstocksize{5in}{3.5in}
\settrimmedsize{\stockheight}{\stockwidth}{*}
\settypeblocksize{4.2in}{3in}{*}
\setlrmargins{0.52in}{*}{1}

    </PRE></BLOCKQUOTE><PRE>(This value generates a class memoir warning about \foremargin being
negative. Changing 0.52 to 0.5 as it was in the old vine.tex, the warning
goes away.)
  </PRE></BLOCKQUOTE><BR><BR>Curious ... I don't get the error with either 0.52in or 0.5in.<BR><BR><BR>&lt;snip&gt;<BR><BR><BR>
<BLOCKQUOTE cite=mid:398184f71002082221j5353fc89ga90937e33ba81490@mail.gmail.com>
<BLOCKQUOTE><PRE>\RandBox{\usebox{\ornamentBox}} font {\webomints} [0.0em]

      (a) ([f\\g]f) (b)
([\hspace{.03ex}\rotatebox{-180}{j}\\\rotatebox{-180}{k}])
([\rotatebox{-180}{i}\\\hspace{.03ex}\rotatebox{-180}{l}])             (a)
([f\\g]f) (b)


\end{document}
    </PRE></BLOCKQUOTE><PRE>
This generates warnings from varwidth, and then:

Runaway argument?
0.0em]
! Paragraph ended before \RandBox was complete.
&lt;to be read again&gt;
                   \par
l.69

?
  </PRE></BLOCKQUOTE><BR><BR>That's because there's a blank line after [0.0em] instead of a simple line break ... you can avoid this by using the percent sign % so the engine will ignore the linebreak, then it will work.<BR><BR>For example:<BR><BR>\RandBox{\usebox{\ornamentBox}} font {\webomints} [0.0em]%<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (a) ([f\\g]f) (b)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ([\hspace{.03ex}\rotatebox{-180}{j}\\\rotatebox{-180}{k}])&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ([\rotatebox{-180}{i}\\\hspace{.03ex}\rotatebox{-180}{l}])&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (a) ([f\\g]f) (b)<BR><BR><BR><BR>Or, just delete the empty line, which I think is what was included in my last email.<BR><BR>I'm glad it works for you. It's rather a pain to set it up, but it does make for a lovely addition to a card or some types of documents.<BR><BR>HTH.<BR><BR><PRE class=ecxmoz-signature>-- 
United in adoration of Jesus, 



fr. michael gilmary, mma

Most Holy Trinity Monastery
67 Dugway Road
Petersham, MA 01366-9725

</PRE>                                               <br /><hr />Hotmail macht’s dir leicht: <a href='http://redirect.gimas.net/?n=M1001HM' target='_new'>Versende vorgeschriebene Neujahrsgrüße</a></body>
</html>