<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Kamal Abdali wrote:<br>
<br>
<br>
<blockquote
cite="mid:398184f71002082221j5353fc89ga90937e33ba81490@mail.gmail.com"
type="cite">
<pre wrap="">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"
type="cite">
<pre wrap="">Now about the new version you gave:
</pre>
<blockquote type="cite">
<pre wrap="">%!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 wrap=""><!---->
(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"
type="cite">
<blockquote type="cite">
<pre wrap="">\usepackage{varwidth,umrand}
\frenchspacing
\raggedbottom
\setstocksize{5in}{3.5in}
\settrimmedsize{\stockheight}{\stockwidth}{*}
\settypeblocksize{4.2in}{3in}{*}
\setlrmargins{0.52in}{*}{1}
</pre>
</blockquote>
<pre wrap=""><!---->
(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>
<snip><br>
<br>
<br>
<blockquote
cite="mid:398184f71002082221j5353fc89ga90937e33ba81490@mail.gmail.com"
type="cite">
<blockquote type="cite">
<pre wrap="">\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 wrap=""><!---->
This generates warnings from varwidth, and then:
Runaway argument?
0.0em]
! Paragraph ended before \RandBox was complete.
<to be read again>
\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>
(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)<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="moz-signature" cols="72">--
United in adoration of Jesus,
fr. michael gilmary, mma
Most Holy Trinity Monastery
67 Dugway Road
Petersham, MA 01366-9725
</pre>
</body>
</html>