ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* displayed formula confuses parshape around figure
@ 2006-09-20  5:15 Sanjoy Mahajan
  2006-09-20 11:05 ` Wolfgang Schuster
  0 siblings, 1 reply; 15+ messages in thread
From: Sanjoy Mahajan @ 2006-09-20  5:15 UTC (permalink / raw)


In the following small example, two squares are cut out of the long
paragraph.  The first is where the external figure belongs and goes, so
no problem with that.  But the second removed square is after the
displayed equation, and it shouldn't be removed.  If I comment out the
formula, then the paragraph shape is fine.

If I make add a \placeformula before the \startformula, then the
equation number goes where it should (below the right edge of the
figure), but the area below it is still whitespace.

Is it a bug or is there an option to make startformula not interfere
with the paragraph shape calculation?

I'm using context version: 2006.08.08 21:51, and I found the same
problem just now on the live ConTeXt.

\starttext
\placefigure[right,none]{}{\externalfigure[dummy]}

\input tufte
\startformula
A = a^\alpha b^\beta,
\stopformula
\input tufte
\input tufte

\stoptext

-Sanjoy

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

* Re: displayed formula confuses parshape around figure
  2006-09-20  5:15 displayed formula confuses parshape around figure Sanjoy Mahajan
@ 2006-09-20 11:05 ` Wolfgang Schuster
  2006-09-20 13:36   ` Sanjoy Mahajan
  0 siblings, 1 reply; 15+ messages in thread
From: Wolfgang Schuster @ 2006-09-20 11:05 UTC (permalink / raw)


On Wed, 20 Sep 2006 01:15:35 -0400
Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk> wrote:

> In the following small example, two squares are cut out of the long
> paragraph.  The first is where the external figure belongs and goes, so
> no problem with that.  But the second removed square is after the
> displayed equation, and it shouldn't be removed.  If I comment out the
> formula, then the paragraph shape is fine.
> 
> If I make add a \placeformula before the \startformula, then the
> equation number goes where it should (below the right edge of the
> figure), but the area below it is still whitespace.
> 
> Is it a bug or is there an option to make startformula not interfere
> with the paragraph shape calculation?
> 
> I'm using context version: 2006.08.08 21:51, and I found the same
> problem just now on the live ConTeXt.
> 
> \starttext
> \placefigure[right,none]{}{\externalfigure[dummy]}
> 
> \input tufte
> \startformula <-- \par or empty line
> A = a^\alpha b^\beta,
> \stopformula
> \input tufte
> \input tufte
> 
> \stoptext
> 
> -Sanjoy
> 

It works for me if put a \par or a empty line after the first \input.

Wolfgang

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

* Re: displayed formula confuses parshape around figure
  2006-09-20 11:05 ` Wolfgang Schuster
@ 2006-09-20 13:36   ` Sanjoy Mahajan
  2006-09-21  7:32     ` Wolfgang Schuster
  2006-09-22 21:29     ` Working example for correspondence Jorge Manuel de Almeida Magalhães
  0 siblings, 2 replies; 15+ messages in thread
From: Sanjoy Mahajan @ 2006-09-20 13:36 UTC (permalink / raw)


> It works for me if put a \par or a empty line after the first
> \input.

That's true, but doing so ends the paragraph.  Shouldn't the displayed
math be part of the paragraph?  The \input tufte's were just to make
the minimal example.  It came from a paragraph with text and math that
begins with a figure:

\placefigure[right,none]{}{\externalfigure[dummy]}

Then lots of text about the figure, leading up to 
\startformula
this equation
\stopformula
then more text discussing the equation...

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
         --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.

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

* Re: displayed formula confuses parshape around figure
  2006-09-20 13:36   ` Sanjoy Mahajan
@ 2006-09-21  7:32     ` Wolfgang Schuster
  2006-09-21 19:57       ` Sanjoy Mahajan
  2006-09-22 21:29     ` Working example for correspondence Jorge Manuel de Almeida Magalhães
  1 sibling, 1 reply; 15+ messages in thread
From: Wolfgang Schuster @ 2006-09-21  7:32 UTC (permalink / raw)


On Wed, 20 Sep 2006 14:36:33 +0100
Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk> wrote:

> > It works for me if put a \par or a empty line after the first
> > \input.
> 
> That's true, but doing so ends the paragraph.  Shouldn't the displayed
> math be part of the paragraph?  The \input tufte's were just to make
> the minimal example.  It came from a paragraph with text and math that
> begins with a figure:
> 
> \placefigure[right,none]{}{\externalfigure[dummy]}
> 
> Then lots of text about the figure, leading up to 
> \startformula
> this equation
> \stopformula
> then more text discussing the equation...
> 
> -Sanjoy
> 

Ok, I playes yesterday I bit with your example and can you give now
a solution for your problem.

\starttext

% This works

\hangindent4cm
\hangafter-3
\input tufte
$$
A = a^\alpha b^\beta,
$$
\input tufte

\blank[line]

% The group around the formula produces the error. I tried this also
% with plain TeX and I worked without problems. A ConTeXt bug.

\hangindent4cm
\hangafter-3
\input tufte
\bgroup
$$
A = a^\alpha b^\beta,
$$
\egroup
\input tufte

% Test if my path works also with intending

%\setupindenting[yes,medium]
%\setupformulas[indentnext=yes]

% Patch for startformula/s, look a hangindent and hangafter.

\unprotect

\def\dostopformula
  {\doplaceformulanumber
   \getvalue{\e!stop\formulaparameter\c!alternative\v!formula}%
   \resetlastlinewidth
   \nonoindentation
   \dochecknextindentation{\??fm\currentformula}%
   \egroup
   \hangafter\minusone   % added
   \hangindent\zeropoint % added
   \setfalse\handleformulanumber
   \dorechecknextindentation} % here ?

\def\startformulas#1\stopformulas % new / to be internationalized
  {\bgroup
   \forgetdisplayskips
   \startdisplaymath
   \setlocalhsize
   \long\def\startformula##1\stopformula{\advance\scratchcounter
\plusone}% \scratchcounter\zerocount #1% preroll
   \divide \hsize \scratchcounter
   \hbox to \localhsize \bgroup
     \hss
     \def\normalstartformula{\vskip-\strutdepth$$}% i hate this
     \def\normalstartformula{\vskip-\strutdepth$$}% i hate this
     \def\normalstopformula {$$}%
     \def\startformula{$\vcenter\bgroup\normalstartformula}%
     \def\stopformula {\normalstopformula\egroup$\hss}%
     #1%
     \egroup
   \stopdisplaymath
   \egroup
   \hangafter\minusone   % added
   \hangindent\zeropoint} % added

\protect

% No longer a problem, my patch works.

\hangindent4cm
\hangafter-3
\input tufte
\startformula
A = a^\alpha b^\beta,
\stopformula
\input tufte

\blank[line]

\hangindent4cm
\hangafter-3
\input tufte
\startformulas
\startformula
A = a^\alpha b^\beta,
\stopformula
\stopformulas
\input tufte

\stoptext

Wolfgang

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

* Re: displayed formula confuses parshape around figure
  2006-09-21  7:32     ` Wolfgang Schuster
@ 2006-09-21 19:57       ` Sanjoy Mahajan
  0 siblings, 0 replies; 15+ messages in thread
From: Sanjoy Mahajan @ 2006-09-21 19:57 UTC (permalink / raw)


[this bounced before, I think due to disk space being used up on the
 mailman server.  Hopefully you don't get it twice]

Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
> Ok, I played yesterday I bit with your example and can you give now
> a solution for your problem.

At first I thought I'd need to include \hangindent and
\hangafter to use it, but then I realized that you were using those
comands for simulating the figure inclusion.

I put your patch at the start of my test file using the dummy figure,
and it works great.  Thanks!  I'll keep using it and let you know if I
notice any side effects, but hopefully it can go into the
distribution.

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
         --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.

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

* Working example for correspondence
  2006-09-20 13:36   ` Sanjoy Mahajan
  2006-09-21  7:32     ` Wolfgang Schuster
@ 2006-09-22 21:29     ` Jorge Manuel de Almeida Magalhães
  2006-09-23  8:41       ` r.ermers
  2006-09-24 14:13       ` blackrule batela
  1 sibling, 2 replies; 15+ messages in thread
From: Jorge Manuel de Almeida Magalhães @ 2006-09-22 21:29 UTC (permalink / raw)



Dear Sirs,

I need to prepare a letter  to send to hundred persons but I don't find 
a working example for use with a address database in xml format. Can 
you post a small example, please?

I had read the manual named xcorres.pdf, but the examples don't work 
for me and I don't know what I'm doing in wrong way.

Thanks a lot

Have a nice night

Jorge

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

* Re: Working example for correspondence
  2006-09-22 21:29     ` Working example for correspondence Jorge Manuel de Almeida Magalhães
@ 2006-09-23  8:41       ` r.ermers
  2006-09-23  9:53         ` Jorge Manuel de Almeida Magalhães
  2006-09-24 11:43         ` appendices in letters batela
  2006-09-24 14:13       ` blackrule batela
  1 sibling, 2 replies; 15+ messages in thread
From: r.ermers @ 2006-09-23  8:41 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 85 bytes --]

See attached sample files. I tried them, and got a correct pdf.

Regards,

Robert

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: adresses-sample.xml --]
[-- Type: text/xml; name="adresses-sample.xml", Size: 8622 bytes --]

<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<start>
<ref name="contacts"/>
</start>

<define name="contacts">
<element name="contacts">
<zeroOrMore>
<choice>
<ref name="contacts.contact"/>
<ref name="contacts.contactgroup"/>
<ref name="contacts.contactfile"/>
</choice>
</zeroOrMore>
</element>
</define>

<define name="contacts.contact">
<element name="contact">
<interleave>
<optional><ref name="contact.initials"/></optional>
<optional><ref name="contact.formalname"/></optional>
<optional><ref name="contact.informalname"/></optional>
<optional><ref name="contact.title"/></optional>
<optional><ref name="contact.prefix"/></optional>
<optional><ref name="contact.suffix"/></optional>
<optional><ref name="contact.telephone"/></optional>
<optional><ref name="contact.mobiletelephone"/></optional>
<optional><ref name="contact.telefax"/></optional>
<optional><ref name="contact.email"/></optional>
<optional><ref name="contact.address"/></optional>
<optional><ref name="contact.information"/></optional>
</interleave>
<attribute name="label"/>
</element>
</define>

<define name="contacts.contactgroup">
<element name="contactgroup">
<zeroOrMore>
<ref name="contactgroup.member">
</zeroOrMore>
<attribute name="label"/>
</element>
</define>

<define name="contactgroup.member">
<element name="member">
<text/>
</element>
</define>


<contacts>
 <contact label='dummy'>
 </contact>
 
 
<contact  label='ref1'>
 <address>
<p>Dummy-1</p>
<p>Dummy-2</p>
<p>Dummy-3</p>
 </address>
<telephone>1234</telephone>
<telefax>020-6267795</telefax>
<email>abac1@abcdefgh.com</email>
</contact>


<contact  label='ref2'>
 <address>
<p>Dummy-4</p>
<p>Dummy-5</p>
<p>Dummy-6</p>
 </address>
<telephone>1234</telephone>
<email>abac2@abcdefgh.com</email>
</contact>


<contact  label='ref3'>
 <address>
<p>Dummy-7</p>
<p>Dummy-8</p>
<p>Dummy-9</p>
 </address>
<telephone>1234</telephone>
<email>abac3@abcdefgh.com</email>
</contact>


<contact  label='ref4'>
 <address>
<p>Dummy-10</p>
<p>Dummy-11</p>
<p>Dummy-12</p>
 </address>
<telephone>1234</telephone>
<email>abac4@abcdefgh.com</email>
</contact>


<contact  label='ref5'>
 <address>
<p>Dummy-13</p>
<p>Dummy-14</p>
<p>Dummy-15</p>
 </address>
<telephone>1234</telephone>
</contact>


<contact  label='ref6'>
 <address>
<p>Dummy-16</p>
<p>Dummy-17</p>
<p>Dummy-18</p>
 </address>
<telephone>1234</telephone>
</contact>


<contact  label='ref7'>
 <address>
<p>Dummy-19</p>
<p>Dummy-20</p>
<p>Dummy-21</p>
 </address>
<telephone>1234</telephone>
<email>abac5@abcdefgh.com</email>
</contact>


<contact  label='ref8'>
 <address>
<p>Dummy-22</p>
<p>Dummy-23</p>
<p>Dummy-24</p>
 </address>
<telephone>1234</telephone>
<email>abac6@abcdefgh.com</email>
</contact>


<contact  label='ref9'>
 <address>
<p>Dummy-25</p>
<p>Dummy-26</p>
<p>Dummy-27</p>
 </address>
<telephone>1234</telephone>
<email>abac7@abcdefgh.com</email>
</contact>


<contact  label='ref10'>
 <address>
<p>Dummy-28</p>
<p>Dummy-29</p>
<p>Dummy-30</p>
 </address>
<telephone>1234</telephone>
<email>abac8@abcdefgh.com</email>
</contact>


<contact  label='ref11'>
 <address>
<p>Dummy-31</p>
<p>Dummy-32</p>
<p>Dummy-33</p>
 </address>
<telephone>1234</telephone>
</contact>


<contact  label='ref12'>
 <address>
<p>Dummy-34</p>
<p>Dummy-35</p>
<p>Dummy-36</p>
 </address>
<telephone>1234</telephone>
<telefax>(070) 362 02 04</telefax>
<email>abac9@abcdefgh.com</email>
</contact>


<contact  label='ref13'>
 <address>
<p>Dummy-37</p>
<p>Dummy-38</p>
<p>Dummy-39</p>
 </address>
<telephone>1234</telephone>
</contact>


<contact  label='ref14'>
 <address>
<p>Dummy-40</p>
<p>Dummy-41</p>
<p>Dummy-42</p>
 </address>
<telephone>1234</telephone>
<email>abac10@abcdefgh.com</email>
</contact>


<contact  label='ref15'>
 <address>
<p>Dummy-43</p>
<p>Dummy-44</p>
<p>Dummy-45</p>
 </address>
<telephone>1234</telephone>
<email>abac11@abcdefgh.com</email>
</contact>


<contact  label='ref16'>
 <address>
<p>Dummy-46</p>
<p>Dummy-47</p>
<p>Dummy-48</p>
 </address>
<telephone>1234</telephone>
<email>abac12@abcdefgh.com</email>
</contact>


<contact  label='ref17'>
 <address>
<p>Dummy-49</p>
<p>Dummy-50</p>
<p>Dummy-51</p>
 </address>
<telephone>1234</telephone>
<email>abac13@abcdefgh.com</email>
</contact>


<contact  label='ref18'>
 <address>
<p>Dummy-52</p>
<p>Dummy-53</p>
<p>Dummy-54</p>
 </address>
<telephone>1234</telephone>
</contact>


<contact  label='ref19'>
 <address>
<p>Dummy-55</p>
<p>Dummy-56</p>
<p>Dummy-57</p>
 </address>
<telephone>1234</telephone>
<email>abac14@abcdefgh.com</email>
</contact>


<contact  label='ref20'>
 <address>
<p>Dummy-58</p>
<p>Dummy-59</p>
<p>Dummy-60</p>
 </address>
<telephone>1234</telephone>
<email>abac15@abcdefgh.com</email>
</contact>


<contact  label='ref21'>
 <address>
<p>Dummy-61</p>
<p>Dummy-62</p>
<p>Dummy-63</p>
 </address>
<telephone>1234</telephone>
<email>abac16@abcdefgh.com</email>
</contact>


<contact  label='ref22'>
 <address>
<p>Dummy-64</p>
<p>Dummy-65</p>
<p>Dummy-66</p>
 </address>
<telephone>1234</telephone>
</contact>


<contact  label='ref23'>
 <address>
<p>Dummy-67</p>
<p>Dummy-68</p>
<p>Dummy-69</p>
 </address>
<telephone>1234</telephone>
<email>abac17@abcdefgh.com</email>
</contact>


<contact  label='ref24'>
 <address>
<p>Dummy-70</p>
<p>Dummy-71</p>
<p>Dummy-72</p>
 </address>
<telephone>1234</telephone>
<email>abac18@abcdefgh.com</email>
</contact>


<contact  label='ref25'>
 <address>
<p>Dummy-73</p>
<p>Dummy-74</p>
<p>Dummy-75</p>
 </address>
<telephone>1234</telephone>
<email>abac19@abcdefgh.com</email>
</contact>


<contact  label='ref26'>
 <address>
<p>Dummy-76</p>
<p>Dummy-77</p>
<p>Dummy-78</p>
 </address>
<telephone>1234</telephone>
<email>abac20@abcdefgh.com</email>
</contact>

<contact  label='ref27'>
 <address>
<p>Dummy-79</p>
<p>Dummy-80</p>
<p>Dummy-81</p>
 </address>
<email>abac21@abcdefgh.com</email>
<telephone>1234</telephone>
<telefax></telefax>
</contact>

<contact  label='ref28'>
 <address>
<p>Dummy-82</p>
<p>Dummy-83</p>
<p>Dummy-84</p>
 </address>
<telephone>1234</telephone> 
<telefax>12345</telefax>
<information></information>
</contact>


<contact  label='ref29'>
 <address>
<p>Dummy-85</p>
<p>Dummy-86</p>
<p>Dummy-87</p>
 </address>
<telephone>1234</telephone>
<email>abac22@abcdefgh.com</email>
</contact>

<contact  label='ref30'>
 <address>
<p>Dummy-88</p>
<p>Dummy-89</p>
<p>Dummy-90</p>
</address>
<telephone>1234</telephone>
<information></information>
</contact>

<contact  label='ref31'>
 <address>
<p>Dummy-91</p>
<p>Dummy-92</p>
<p>Dummy-93</p>
</address>
<telephone>1234</telephone>
<information></information>
</contact>

<contact  label='ref32'>
 <address>
<p>Dummy-94</p>
<p>Dummy-95</p>
<p>Dummy-96</p>
 </address>
<telephone>1234</telephone>
<information></information>
</contact>

<contact  label='ref33'>
 <address>
<p>Dummy-97</p>
<p>Dummy-98</p>
<p>Dummy-99</p>
 </address>
<telephone>1234</telephone>
<information></information>
</contact>

<contact  label='ref34'>
 <address>
<p>Dummy-100</p>
<p>Dummy-101</p>
<p>Dummy-102</p>
</address>
<telephone>1234</telephone>
<information></information>
</contact>

<contact  label='ref35'>
 <address>
<p>Dummy-103</p>
<p>Dummy-104</p>
<p>Dummy-105</p>
</address>
<telephone>1234</telephone>
<information></information>
</contact>

<contactgroup label='refs1-19'>
<member>ref1</member>
<member>ref2</member>
<member>ref3</member>
<member>ref4</member>
<member>ref5</member>
<member>ref6</member>
<member>ref7</member>
<member>ref8</member>
<member>ref9</member>
<member>ref10</member>
<member>ref11</member>
<member>ref12</member>
<member>ref13</member>
<member>ref14</member>
<member>ref15</member>
<member>ref16</member>
<member>ref17</member>
<member>ref18</member>
<member>ref19</member>
</contactgroup>

<contactgroup label='refs20-up'>
<member>ref20</member>
<member>ref21</member>
<member>ref22</member>
<member>ref23</member>
<member>ref24</member>
<member>ref25</member>
<member>ref26</member>
<member>ref27</member>
<member>ref28</member>
<member>ref29</member>
<member>ref30</member>
<member>ref31</member>
<member>ref32</member>
<member>ref33</member>
<member>ref34</member>
<member>ref35</member>
</contactgroup>

</contacts>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: letter-sample.tex --]
[-- Type: text/x-tex; name="letter-sample.tex", Size: 1951 bytes --]

%starttext \setups [letter:place] \stoptext \endinput
\setupoutput[pdftex]
%\tracelayerstrue
%\usemodule[xtag-ini]

\defineXMLsingular
   [c]
   [n=unknowncharacter]
   {\executeifdefined {\XMLop{n}} \unknowncharacter}
 %let op, dit is de juiste code, niet die van Hans H.  
   
\usemodule[corres]
\usemodule[m][letter]

%set your language
\mainlanguage[nl]

\usetypescriptfile[type-chelt]
\usetypescript[cheltenham]
\setupbodyfont[cheltenham, 12pt]

%\setupbodyfont[ss]

\definelayer
  [letternext]
  [state=next,
   width=\paperwidth,
   height=\paperheight]

\setvariables
  [letter:reference]
  [line=0,
   noflines-min=2,
   noflines-max=5,
   noflines=\getvariable{letter:reference}{noflines-max}
  ]

\setvariables
[letter:style]
[opening=formal,
closing=formal]
%appendices=diverse]
%\setvariables
%  [letter:data]
%  [opening=,
%   initials=,
%   prefix=,
%   suffix=,
%   informalname=,
%   formalname=]
%   noflines=10]

\setvariables[letter:address][line=6, hoffset=100mm,width=70mm]

\setvariables
[letter:data]
[address=\XMLflush{address},
prefix=\XMLflush{prefix},
initials=\XMLflush{initials},
formalname=\XMLflush{formalname},
%informalname=\XMLflush{informalname}
%content={\getbuffer[texletter]},
%,content=\getbuffer
concerns=, subject=, date=\date, author=Nasrettin Hoca\crlf {\tfx bla}\crlf {\tfx bla}]

\startsetups[contact:handle]
\setups[letter:place]
\stopsetups

\startsetups[letter:content]

This is my letter

you can also 

\stopsetups

\startsetups[letter:place:content]
  \bgroup \disableXML \endgraf \setups[letter:content] \endgraf \egroup
\stopsetups

\setvariables[contacts][selection=refs20-up]
%\setvariables[contacts][selection=refs1-19]
\XMLprocesscontacts[adresses-sample.xml]

%MY EXPERIENCE IS THAT YOU HAVE TO MENTION THE SELECTION CRITERION BEFORE THE ADDRESS DATABASE!

\starttext
%\setups[letter:place]
\stoptext 

[-- Attachment #4: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Working example for correspondence
  2006-09-23  8:41       ` r.ermers
@ 2006-09-23  9:53         ` Jorge Manuel de Almeida Magalhães
  2006-09-23 13:09           ` Wolfgang Schuster
  2006-09-24 11:43         ` appendices in letters batela
  1 sibling, 1 reply; 15+ messages in thread
From: Jorge Manuel de Almeida Magalhães @ 2006-09-23  9:53 UTC (permalink / raw)


Robert,

Many thanks for your reply.  I tried to make "texexec 
letter-sample.tex" but I got "no pages of output". What I'm doing in 
the wrong way?

Jorge

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

* Re: Working example for correspondence
  2006-09-23  9:53         ` Jorge Manuel de Almeida Magalhães
@ 2006-09-23 13:09           ` Wolfgang Schuster
  0 siblings, 0 replies; 15+ messages in thread
From: Wolfgang Schuster @ 2006-09-23 13:09 UTC (permalink / raw)


On Sat, 23 Sep 2006 10:53:43 +0100
Jorge Manuel de Almeida Magalhães <jmagalhaes@oninetspeed.pt> wrote:

> Robert,
> 
> Many thanks for your reply.  I tried to make "texexec 
> letter-sample.tex" but I got "no pages of output". What I'm doing in 
> the wrong way?
> 
> Jorge
> 

Dou you have the file m-letter.tex on your system installed, it's not
part of the ConTeXt-Distribution.

Look in the log-file if there is a message m-letter.tex not found or
something else.

Wolfgang

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

* appendices in letters
  2006-09-23  8:41       ` r.ermers
  2006-09-23  9:53         ` Jorge Manuel de Almeida Magalhães
@ 2006-09-24 11:43         ` batela
  1 sibling, 0 replies; 15+ messages in thread
From: batela @ 2006-09-24 11:43 UTC (permalink / raw)


Dear Sirs,

In my letters I tried to include some notes after the closing part. I 
use the m-letter module and xcorres:

\startsetups[letter:appendices]

My notes for my all students

  \stopsetups

But in this way the appendice  is only placed in the head of the first 
letter. If I try changing the closing definition in m-letter.tex module 
all works fine.

\startsetups [letter:place:closing]
   \endgraf \setups[letter:closing] \endgraf

%\EnglishRule
My notes for my all students

\stopsetups


This is a bug?

Jorge

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

* blackrule
  2006-09-22 21:29     ` Working example for correspondence Jorge Manuel de Almeida Magalhães
  2006-09-23  8:41       ` r.ermers
@ 2006-09-24 14:13       ` batela
  2006-09-24 14:56         ` blackrule Peter Rolf
  1 sibling, 1 reply; 15+ messages in thread
From: batela @ 2006-09-24 14:13 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 368 bytes --]

Dear Sirs,

I want to prepare a forma for handwriting filling. With this propose e 
use \blackrule  command for trace some lines inside paragraphs. For 
example,

I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good...

In the pdf document appears: I, !max___________________ , promise 
maintain a good...

Are there a good reason for that?

Thanks

Jorge

[-- Attachment #1.2: Type: text/enriched, Size: 441 bytes --]

Dear Sirs,


I want to prepare a forma for handwriting filling. With this propose e
use \blackrule  command for trace some lines inside paragraphs. For
example, 


I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good... 


In the pdf document appears: I,
<bold><fontfamily><param>Helvetica Neue</param>!max</fontfamily></bold>___________________
, promise maintain a good... 


Are there a good reason for that?


Thanks


Jorge

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: blackrule
  2006-09-24 14:13       ` blackrule batela
@ 2006-09-24 14:56         ` Peter Rolf
  2006-09-24 19:12           ` blackrule Hans Hagen
  0 siblings, 1 reply; 15+ messages in thread
From: Peter Rolf @ 2006-09-24 14:56 UTC (permalink / raw)


Hi Jorge,

batela wrote:
> Dear Sirs,
> 
> I want to prepare a forma for handwriting filling. With this propose e
> use \blackrule command for trace some lines inside paragraphs. For example,
> 
> I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good...
> 
> In the pdf document appears: I, *!max*___________________ , promise
> maintain a good...
> 
> Are there a good reason for that?
>

Which beta version do you use (texexec --version)? If it's not the
latest one (17.09.) simply update to that version. This bug (typo) was
fixed some beta versions ago.

Greetings, Peter

> Thanks
> 
> Jorge
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: blackrule
  2006-09-24 14:56         ` blackrule Peter Rolf
@ 2006-09-24 19:12           ` Hans Hagen
  2006-09-24 20:07             ` blackrule Peter Rolf
  0 siblings, 1 reply; 15+ messages in thread
From: Hans Hagen @ 2006-09-24 19:12 UTC (permalink / raw)


Peter Rolf wrote:
> Hi Jorge,
>
> batela wrote:
>   
>> Dear Sirs,
>>
>> I want to prepare a forma for handwriting filling. With this propose e
>> use \blackrule command for trace some lines inside paragraphs. For example,
>>
>> I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good...
>>
>> In the pdf document appears: I, *!max*___________________ , promise
>> maintain a good...
>>
>> Are there a good reason for that?
>>
>>     
>
> Which beta version do you use (texexec --version)? If it's not the
> latest one (17.09.) simply update to that version. This bug (typo) was
> fixed some beta versions ago.
>
>   
normally this !xxx kind of errors point to a missing \protect

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

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

* Re: blackrule
  2006-09-24 19:12           ` blackrule Hans Hagen
@ 2006-09-24 20:07             ` Peter Rolf
  2006-09-24 20:41               ` blackrule batela
  0 siblings, 1 reply; 15+ messages in thread
From: Peter Rolf @ 2006-09-24 20:07 UTC (permalink / raw)


Hans Hagen wrote:
> Peter Rolf wrote:
>> Hi Jorge,
>>
>> batela wrote:
>>   
>>> Dear Sirs,
>>>
>>> I want to prepare a forma for handwriting filling. With this propose e
>>> use \blackrule command for trace some lines inside paragraphs. For example,
>>>
>>> I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good...
>>>
>>> In the pdf document appears: I, *!max*___________________ , promise
>>> maintain a good...
>>>
>>> Are there a good reason for that?
>>>
>>>     
>> Which beta version do you use (texexec --version)? If it's not the
>> latest one (17.09.) simply update to that version. This bug (typo) was
>> fixed some beta versions ago.
>>
>>   
> normally this !xxx kind of errors point to a missing \protect
>
But in this case I had the same error in a prior beta. And if I remember
it right, \blackrule works in the current stable version (and older ones).

This is from a mail I sent you on 31.08.

[..]

\def\doblackrule[#1]%
  {\hbox\bgroup
   \getparameters[\??bj][#1]%
   \setstrut
   \doif\@@bjwidth\ v!max{\def\@@bjwidth {1em}}%
                  ^^^^
I had the text "!max" in one of my gfx  :)

[..]

The typo was corrected in the following beta version. This is the reason
why I think Jorge uses an older beta.

Peter

> Hans
> 
> 

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

* Re: blackrule
  2006-09-24 20:07             ` blackrule Peter Rolf
@ 2006-09-24 20:41               ` batela
  0 siblings, 0 replies; 15+ messages in thread
From: batela @ 2006-09-24 20:41 UTC (permalink / raw)


Dear Sirs,

I had updated my context version and now all works fine.

Thanks to all

Jorge


Em 24/09/2006, às 9:07, Peter Rolf escreveu:

> Hans Hagen wrote:
>> Peter Rolf wrote:
>>> Hi Jorge,
>>>
>>> batela wrote:
>>>
>>>> Dear Sirs,
>>>>
>>>> I want to prepare a forma for handwriting filling. With this 
>>>> propose e
>>>> use \blackrule command for trace some lines inside paragraphs. For 
>>>> example,
>>>>
>>>> I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good...
>>>>
>>>> In the pdf document appears: I, *!max*___________________ , promise
>>>> maintain a good...
>>>>
>>>> Are there a good reason for that?
>>>>
>>>>
>>> Which beta version do you use (texexec --version)? If it's not the
>>> latest one (17.09.) simply update to that version. This bug (typo) 
>>> was
>>> fixed some beta versions ago.
>>>
>>>
>> normally this !xxx kind of errors point to a missing \protect
>>
> But in this case I had the same error in a prior beta. And if I 
> remember
> it right, \blackrule works in the current stable version (and older 
> ones).
>
> This is from a mail I sent you on 31.08.
>
> [..]
>
> \def\doblackrule[#1]%
>   {\hbox\bgroup
>    \getparameters[\??bj][#1]%
>    \setstrut
>    \doif\@@bjwidth\ v!max{\def\@@bjwidth {1em}}%
>                   ^^^^
> I had the text "!max" in one of my gfx  :)
>
> [..]
>
> The typo was corrected in the following beta version. This is the 
> reason
> why I think Jorge uses an older beta.
>
> Peter
>
>> Hans
>>
>>
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
Um Abraço,

Jorge Magalhães

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

end of thread, other threads:[~2006-09-24 20:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-20  5:15 displayed formula confuses parshape around figure Sanjoy Mahajan
2006-09-20 11:05 ` Wolfgang Schuster
2006-09-20 13:36   ` Sanjoy Mahajan
2006-09-21  7:32     ` Wolfgang Schuster
2006-09-21 19:57       ` Sanjoy Mahajan
2006-09-22 21:29     ` Working example for correspondence Jorge Manuel de Almeida Magalhães
2006-09-23  8:41       ` r.ermers
2006-09-23  9:53         ` Jorge Manuel de Almeida Magalhães
2006-09-23 13:09           ` Wolfgang Schuster
2006-09-24 11:43         ` appendices in letters batela
2006-09-24 14:13       ` blackrule batela
2006-09-24 14:56         ` blackrule Peter Rolf
2006-09-24 19:12           ` blackrule Hans Hagen
2006-09-24 20:07             ` blackrule Peter Rolf
2006-09-24 20:41               ` blackrule batela

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