Re: [NTG-context] difference between TeX behavior and ConTeXt

2008-11-25 Thread Lars Huttar
On 11/25/2008 10:15 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
> Hi,
> 
> On Tue, 25 Nov 2008 14:29:09 -0700, Lars Huttar <[EMAIL PROTECTED]>  
> wrote:
> 
>> P.S. The same TeX reference reports,
> 
> Be careful, PlainTeX is a macropaackage, just as ConTeXt is. One must  
> distinguish PlainTeX commands from the TeX (and pdftex/luaTeX) primitives.  
> Although some PlainTeX commands work similarly to the ConTeXt  
> counterparts, you can rarely assume this. There are lots and lots more  
> examples. Better to just treat them as very distinct macropackages, with a  
> few commonly USED command names in common, but used to MENTION different  
> things.

Ah...
thanks...

Lars

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to overlap two figures?

2008-11-25 Thread Dalyoung Jeong
Thank you for all the suggestions.

I have tried your suggestions and they worked well.

Thank you again.

Best regards,

Dalyoung
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] difference between TeX behavior and ConTeXt

2008-11-25 Thread Lars Huttar
On 11/25/2008 5:37 PM, Rory Molinari wrote:
> Lars Huttar wrote:
> 
>> Thanks for the explanation.
>> I hope that when the manual is finished it will make this clearer.
>> Currently, the draft chapter says
>> "As will be explained later, the command \rm is used to switch to a
>> roman/serif/regular style"
>> which does not seem to be happening.
> 
> I think it is due to a difference in terminology between (plain) TeX and 
> ConTeXt.
> Knuth uses "roman" to mean "with serifs and not slanted"

Interesting.
As a newbie to typesetting, reading the TeXbook, I certainly wondered
which "axes" Knuth meant 'roman' to refer to... he simply describes it
as 'normal "roman"' and gives a visual example. So far, all I'd gathered
was that it meant "not italic."

Now that you brought up serifs, I read further in the chapter where
Knuth introduces \rm (ch. 4). He eventually makes clear that he does not
contrast roman with sans-serif (nor with slanted!), because he mentions
both slanted roman (p. 13) and the approved use of \rm to be temporarily
defined to mean a sans-serif type (p. 15). Apparently the only thing
roman is contrasted with in Knuth's book is "italic" (i.e. the modified
glyph style of an italic font, regardless of the slant).

Out of curiosity, I looked up 'roman' with regard to typography on
wikipedia. On the disambiguation page for Roman it says "Roman type, an
upright typeface style, contrasted to italic". But on the Roman_type
page it lists both "not-italic" and "with-serif" as (separate) senses of
"roman". Thanks for the tip.


Regardless of the terminology used, though, what is objectively clear is
that \rm has different effects on font settings in ConTeXt than in Plain
TeX. The TeXbook makes clear by example, if not by statement, that one
of the effects of '\rm' must be to make text non-italicized (also
non-slanted).

If it's designed not to do that in ConTeXt -- i.e. the ConTeXt designers
decided to change the semantics of one of the basic control sequences in
TeX, rather than merely providing a different one with new semantics --
you would think one would want that to be prominently documented. (Maybe
some flashing orange lights? :-)

Whereas \rm is not found at all in the command reference at
http://texshow.contextgarden.net/


> while ConTeXt
> uses it to mean just "not sans serif".

I wonder if the command sequence \serif was already taken?
That would certainly be less ambiguous and confusing...


> So something like
> 
> aardvark {\it aardvark {\rm aardvark}}
> 
> is really doing something like:
> 
> - Set "aardvark" in the default face (which is probably an unslanted serif)
> - Switch to the italic "flavor" of the default face, which here means a 
> traditional italic
> - While in the italic flavor, switch to a roman "base".  But we already 
> had a roman "base" so this doesn't change anything: we are still slanted 
> because of the enclosing \it.
> 
> "Roman" and "italic" are on different axes and can be changed independently.

It makes sense for "italicness" and "serifity" to be independently
changeable.
What's discouraging to me as a entrant to the whole TeX world (but an
experienced programmer) is the (apparently undocumented) redefinition of
a well-established control sequence that used to mean "non-italic" to
mean something different (maybe "serif" -- I still don't know for sure).

If I were choosing a TeX macro package at this point, I would definitely
 look for one that kept semantics of basic TeX command sequences
consistent with the intent expressed in the TeXbook... to avoid package
lock-in, as well as to make the learning curve easier and to be able to
use the resources of the whole TeX community.

That being said, I appreciate the design goals of ConTeXt, including the
desire to have independent controls for +/- italic, +/- serif, etc. I'm
also amazed at the energy that Hans still devotes to answering questions
on this mailing list, 18 years after ConTeXt was written! That's dedication.

Sorry if the above sounds too negative. After all, the TeXbook itself
does not make the semantics of \rm obvious.
However, once you dig deep enough it becomes clear that \rm does mean
"switch to a non-italic typeface" in Plain TeX.


> 
> However, things are different if we start off in a sans serif face, like
> 
> \ss aardvark {\it aardvark {\rm aardvark}}
> 
> Now the \it still gives slanted text, but since the "base" is sans serif 
> we don't get the traditional "italic" appearance that corresponds to a 
> roman "base".  The nested \rm now does that.
> 
> (Note: my terminology is all wrong.  "Base" and "flavor" aren't the 
> right terms at all, but I cannot remember the correct terms right now. 
> I would be grateful is someone could correct me.)
> 
> Cheers,
> Rory
> 

Lars

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailma

Re: [NTG-context] difference between TeX behavior and ConTeXt

2008-11-25 Thread Idris Samawi Hamid ادريس سماوي ح امد
Hi,

On Tue, 25 Nov 2008 14:29:09 -0700, Lars Huttar <[EMAIL PROTECTED]>  
wrote:

> P.S. The same TeX reference reports,

Be careful, PlainTeX is a macropaackage, just as ConTeXt is. One must  
distinguish PlainTeX commands from the TeX (and pdftex/luaTeX) primitives.  
Although some PlainTeX commands work similarly to the ConTeXt  
counterparts, you can rarely assume this. There are lots and lots more  
examples. Better to just treat them as very distinct macropackages, with a  
few commonly USED command names in common, but used to MENTION different  
things.

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] difference between TeX behavior and ConTeXt

2008-11-25 Thread Rory Molinari
Lars Huttar wrote:

> 
> Thanks for the explanation.
> I hope that when the manual is finished it will make this clearer.
> Currently, the draft chapter says
> "As will be explained later, the command \rm is used to switch to a
> roman/serif/regular style"
> which does not seem to be happening.

I think it is due to a difference in terminology between (plain) TeX and 
ConTeXt.

Knuth uses "roman" to mean "with serifs and not slanted" while ConTeXt 
uses it to mean just "not sans serif".  So something like

aardvark {\it aardvark {\rm aardvark}}

is really doing something like:

- Set "aardvark" in the default face (which is probably an unslanted serif)
- Switch to the italic "flavor" of the default face, which here means a 
traditional italic
- While in the italic flavor, switch to a roman "base".  But we already 
had a roman "base" so this doesn't change anything: we are still slanted 
because of the enclosing \it.

"Roman" and "italic" are on different axes and can be changed independently.


However, things are different if we start off in a sans serif face, like

\ss aardvark {\it aardvark {\rm aardvark}}

Now the \it still gives slanted text, but since the "base" is sans serif 
we don't get the traditional "italic" appearance that corresponds to a 
roman "base".  The nested \rm now does that.

(Note: my terminology is all wrong.  "Base" and "flavor" aren't the 
right terms at all, but I cannot remember the correct terms right now. 
I would be grateful is someone could correct me.)

Cheers,
Rory



> 
> The explanation of \em shows that ConTeXt's \em has different behavior
> from Plain TeX's \it (especially when nesting styles), but doesn't say
> that \it or \rm have changed behavior.
> 
> Lars
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] difference between TeX behavior and ConTeXt

2008-11-25 Thread Lars Huttar
On 11/25/2008 3:27 PM, Aditya Mahajan wrote:
> On Tue, 25 Nov 2008, Lars Huttar wrote:
> 
>> Hello,
>>
>> I've been reading through the TeXbook to solidify the foundations for
>> TeX programming. In an exercise on roman and italic text, ConTeXt seems
>> to behave differently from what the book specifies (Plain TEX) at a
>> fairly fundamental level.
>>
>> I could understand ConTeXt possibly changing the details of \rm's
>> definition, e.g. a change in default font family; but it would really be
>> surprising to find that the logic of \rm's behavior has been changed.
>>
>> Please help me understand if this is a bug or if there is a design
>> principle of ConTeXt that I should be aware of...
> 
> It is a design decision. See the chapter of typography 
> (http://context.aanhet.net/svn/contextman/context-reference/en/co-typography.pdf)
>  
> in the new manual (under preparation).
> 
> Aditya

Thanks for the explanation.
I hope that when the manual is finished it will make this clearer.
Currently, the draft chapter says
"As will be explained later, the command \rm is used to switch to a
roman/serif/regular style"
which does not seem to be happening.

The explanation of \em shows that ConTeXt's \em has different behavior
from Plain TeX's \it (especially when nesting styles), but doesn't say
that \it or \rm have changed behavior.

Lars
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] difference between TeX behavior and ConTeXt

2008-11-25 Thread Lars Huttar
On 11/25/2008 3:21 PM, Lars Huttar wrote:

> When I put \show\rm in the .tex file to display the definition of the
> \rm macro, and run texexec, I get:
>   > \rm=\protected macro:
>   ->\setcurrentfontstyle {rm}.
>   l.7 \show\rm
> By contrast, according to
> http://webpages.charter.net/davidlha/.trm/trmi.html, "Plain TeX defines
> \rm to be `\fam=0 \tenrm'."
> So clearly the definition of the \rm macro is different in ConTeXt than
> it is in Plain TeX.
> 

P.S. The same TeX reference reports,

"This switch plus the assignments made by Plain TeX are what makes
`${\rm text }$' typeset `text' in roman instead of in italics [154]."
where [154] refers to the page number in the TeXbook.

The latter says "The control sequence \rm is an abbreviation for '\fam=0
\tenrm'; thus, \rm causes \fam to become zero, and it makes \tenrm the
"current font." In horizontal mode, the \fam value is irrelevant and the
current font governs the typesetting of letters; ... [stuff about math
mode, which doesn't seem to apply to this situation]."

FWIW.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] difference between TeX behavior and ConTeXt

2008-11-25 Thread Aditya Mahajan
On Tue, 25 Nov 2008, Lars Huttar wrote:

> Hello,
>
> I've been reading through the TeXbook to solidify the foundations for
> TeX programming. In an exercise on roman and italic text, ConTeXt seems
> to behave differently from what the book specifies (Plain TEX) at a
> fairly fundamental level.
>
> I could understand ConTeXt possibly changing the details of \rm's
> definition, e.g. a change in default font family; but it would really be
> surprising to find that the logic of \rm's behavior has been changed.
>
> Please help me understand if this is a bug or if there is a design
> principle of ConTeXt that I should be aware of...

It is a design decision. See the chapter of typography 
(http://context.aanhet.net/svn/contextman/context-reference/en/co-typography.pdf)
 
in the new manual (under preparation).

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] difference between TeX behavior and ConTeXt

2008-11-25 Thread Lars Huttar
Hello,

I've been reading through the TeXbook to solidify the foundations for
TeX programming. In an exercise on roman and italic text, ConTeXt seems
to behave differently from what the book specifies (Plain TEX) at a
fairly fundamental level.

Exercise 4.1 says, "Explain how to typeset a roman word in the midst of
an italicized sentence."
I wrote, and the solution in the appendix says,
{\it Explain how to typeset a\/ {\rm roman} word
 in the midst of an italicized sentence.}

But when I typeset this using texexec, the word "roman" appears in
italic, just like the rest of the sentence.

I tried this on both Windows XP and Ubuntu Linux, with both PDFTex and
Xetex engines. On Windows I'm using ConTeXt minimal, and on Linux I'm
using ConTeXt from the TeXLive 2008 CD. The result is the same in all
cases: all the text is italicized.

Does this difference in behavior represent a known "feature" of ConTeXt?
If so, is it a difference in the defined behavior of \rm?

When I put \show\rm in the .tex file to display the definition of the
\rm macro, and run texexec, I get:
> \rm=\protected macro:
->\setcurrentfontstyle {rm}.
l.7 \show\rm
By contrast, according to
http://webpages.charter.net/davidlha/.trm/trmi.html, "Plain TeX defines
\rm to be `\fam=0 \tenrm'."
So clearly the definition of the \rm macro is different in ConTeXt than
it is in Plain TeX.

I could understand ConTeXt possibly changing the details of \rm's
definition, e.g. a change in default font family; but it would really be
surprising to find that the logic of \rm's behavior has been changed.

Please help me understand if this is a bug or if there is a design
principle of ConTeXt that I should be aware of...

Thanks,
Lars
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] End Notes and Minimals

2008-11-25 Thread Wolfgang Schuster

Am 25.11.2008 um 19:39 schrieb Bart C. Wise:

> Below are four different ways I've tried to get endnotes to work.   
> When I
> compile with "texexec" it work fine --- I get endnotes.  However,  
> when I
> compile with "texexec --lua" the footnotes are placed on the page  
> where they
> are referenced.  I would prefer to have the footnote/placefootnotes  
> work so
> that I can easily change the output.  Any ideas?
>
> *** #1
> \setupfootnotes[location=none]
> \starttext
> \dorecurse{100}{test \footnote{eee}\endgraf}
> \page
> \placefootnotes[location=none]
> \stoptext
>
> *** #2
> \setupfootnotes[location=none]
> \starttext
> \dorecurse{100}{test \footnote{eee}\endgraf}
> \page
> \placefootnotes
> \stoptext
>
> *** #3
> \setupnote[endnote][location=none]
> \starttext
> \dorecurse{100}{test \endnote{eee}\endgraf}
> \page
> \placenotes[endnote]
> \stoptext
>
> *** #4
> \starttext
> \dorecurse{6}{ \input tufte \endnote{\input knuth\relax} }
> \page
> \placenotes[endnote]
> \stoptext

It's a bug in the \expdoifcommonelse macro used in MkIV,
it evaluates always the true value and you get footnotes.

Here is a example for Hans:

\starttext

\doifcommonelse{text,page}{none}
   {true}
   {false}

\expdoifcommonelse{text,page}{none}
   {true}
   {false}

\stoptext

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] End Notes and Minimals

2008-11-25 Thread Bart C. Wise
Below are four different ways I've tried to get endnotes to work.  When I 
compile with "texexec" it work fine --- I get endnotes.  However, when I 
compile with "texexec --lua" the footnotes are placed on the page where they 
are referenced.  I would prefer to have the footnote/placefootnotes work so 
that I can easily change the output.  Any ideas?

*** #1
\setupfootnotes[location=none]
\starttext
\dorecurse{100}{test \footnote{eee}\endgraf}
\page   
\placefootnotes[location=none]  
\stoptext

*** #2
\setupfootnotes[location=none]
\starttext
\dorecurse{100}{test \footnote{eee}\endgraf}
\page
\placefootnotes
\stoptext

*** #3
\setupnote[endnote][location=none]   
\starttext   
\dorecurse{100}{test \endnote{eee}\endgraf}  
\page
\placenotes[endnote] 
\stoptext

*** #4
\starttext
\dorecurse{6}{ \input tufte \endnote{\input knuth\relax} }
\page
\placenotes[endnote]
\stoptext


Help!!
Bart

On Tuesday 25 November 2008 06:57:58 am Bart C. Wise wrote:
> I've tried several things to get end notes working with the Minimals
> distribution (MkIV).  However, nothing seems to work and what worked for
> MkII does not work now.  Is there a new method for getting end notes in
> MkIV?
>
> Thank,
> Bart
> ___
> If your question is of interest to others as well, please add an
> entry to the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context webpage  :
> http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___
>

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] columnset running into footer when using \setupheader[state=high]

2008-11-25 Thread Jelle Huisman
Hi all,

I have a fairly standard setup with the usual code to move the 
pagenumber to the footer on the first page of the chapter. This works 
fine, except when I place the text in a columnset, in which case the 
columnset on page 2 (and all following pages) runs into the footer area. 
I'm fairly certain that \setupheader[state=high] interferes with way 
columnset counts the number of lines it can fit into each column, 
resulting in columns that run into the footer area. This code shows the 
problem:

% columnset running into footer area
\definelayout[1][]
\setupheader[state=high]
\definetext[footerpagenumber][footer][pagenumber]
\setuphead[chapter][page=yes,header=high,footer=footerpagenumber,number=no,align=middle]
\definecolumnset[columnl][n=2]
\showgrid \showframe
\starttext
\chapter{One}
\startcolumnset[column]
\dorecurse{10}{\input knuth}
\stopcolumnset
\stoptext

Looking in the mail archive it looks like this is an old problem (see: 
http://archive.contextgarden.net/message/20060516.092742.d455b795.en.html 
) but I'm wondering about a solution. Any thoughts?

Thanks.

Jelle
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] exported figures from DIA to Metapost including in document

2008-11-25 Thread Aditya Mahajan

On Mon, 24 Nov 2008, Jan-Erik Hägglöf wrote:


\unexpanded\def\cal{\mathortext{\fam\purefamily{calligraphic}}{\symbolicfont{Calligraphic}}}

Can this line above be copied and pasted in to my personal "module"
file?


For the time being, you should add this to your personal configuration.

Aditya___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] modifying URL wrapping rules

2008-11-25 Thread Hans Hagen
Steffen Wolfrum wrote:

> Conclusion please:
> 
> Is \ForMojcaWhoLikesHacks an improvement of \hyphenatedurls
> in terms of being closer to this "Chicago style" sort of standard?

no, a hack just for mojca, not finished, and since inmath mode hardly 
configurable with respect to fonts etc

> [And thus being part of next beta?]

no, onluy as comment

> Or is it a personal hack, fitting Lars' needs?

not even that but if it serves that purpose, fine

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] modifying URL wrapping rules

2008-11-25 Thread Steffen Wolfrum

Am 21.11.2008 um 23:53 schrieb Hans Hagen:

> Mojca Miklavec wrote:
>
>> hack hack hack hack 
>
> I tried solutions with special patterns sveral times but the problem  
> is
> in mixed languages, i.e. english text mixed with url-language; there  
> are
> some limitations (in pdftex for instance the same codes are used fo  
> rthe
> whole par (i.e. mixed languages are possible but with the same lccodes
> etc). Also, one needs to get rid of the -
>
> Anyhow, there is another trick, one that Aditya might love ...
>
> \bgroup
>
> \gdef\lettercolon{:}
>
> \catcode`\:=\active
> \catcode`\^=\active
> \catcode`\/=\active
> \catcode`\~=\active
>
> \gdef\ForMojcaWhoLikesHacks#1%
>   {\dontleavehmode
>\begingroup
>\mathcode`\:="8000
>\mathcode`\^="8000
>\mathcode`\/="8000
>\mathcode`\~="8000
>\def:{\nobreak   \hbox{\lettercolon}\allowbreak}%
>\def^{\allowbreak\hbox{\letterhat  }\nobreak}%
>\def/{\nobreak   \hbox{\letterslash}\allowbreak}%
>\def~{\allowbreak\hbox{\lettertilde}\nobreak}%
>\everymath\emptytoks
>\mathsurround\zeropoint$\tttf#1$%
>\endgroup}
>
> \egroup
>
> \hsize 1mm \ForMojcaWhoLikesHacks{http://www.sil.org/silesr/}



Conclusion please:

Is \ForMojcaWhoLikesHacks an improvement of \hyphenatedurls
in terms of being closer to this "Chicago style" sort of standard?

[And thus being part of next beta?]

Or is it a personal hack, fitting Lars' needs?


Steffen
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] End Notes and Minimals

2008-11-25 Thread Bart C. Wise
I've tried several things to get end notes working with the Minimals 
distribution (MkIV).  However, nothing seems to work and what worked for MkII 
does not work now.  Is there a new method for getting end notes in MkIV?

Thank,
Bart
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Minimals, Linux & OSFONTDIR

2008-11-25 Thread Bart C. Wise
On Tuesday 25 November 2008 06:45:23 am Khaled Hosny wrote:
> On Tue, Nov 25, 2008 at 06:24:51AM -0700, Bart C. Wise wrote:
> > On Tuesday 25 November 2008 03:48:29 am Khaled Hosny wrote:
> > > On Mon, Nov 24, 2008 at 09:56:20PM -0700, Bart C. Wise wrote:
> > > > I have more that two path for my fonts:
> > > > - /usr/local/share/fonts
> > > > -/usr/share/fonts
> > > >
> > > > When I do one path, it works fine; however, if I put two paths as
> > > > follows:
> > > >
> > > > export OSFONTDIR=/usr/local/share/fonts:/usr/share/fonts
> > >
> > > use ";" not ":"
> > > export OSFONTDIR=/usr/local/share/fonts;/usr/share/fonts
> > >
> > > Regards,
> >
> > Unfortunately,  in a bash shell under Linux, the semi-colon (;) is used
> > to separate commands, so this sets the OSFONTDIR to
> > /usr/local/share/fonts and then tries to execute the command
> > "/usr/share/fonts", which of course it cannot do because it's a
> > directory.
>
> I should have escaped it, sorry:
> export OSFONTDIR="/usr/local/share/fonts;/usr/share/fonts"

That works!

Thanks,
Bart
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Minimals, Linux & OSFONTDIR

2008-11-25 Thread Khaled Hosny
On Tue, Nov 25, 2008 at 06:24:51AM -0700, Bart C. Wise wrote:
> On Tuesday 25 November 2008 03:48:29 am Khaled Hosny wrote:
> > On Mon, Nov 24, 2008 at 09:56:20PM -0700, Bart C. Wise wrote:
> > > I have more that two path for my fonts:
> > > - /usr/local/share/fonts
> > > -/usr/share/fonts
> > >
> > > When I do one path, it works fine; however, if I put two paths as
> > > follows:
> > >
> > > export OSFONTDIR=/usr/local/share/fonts:/usr/share/fonts
> >
> > use ";" not ":"
> > export OSFONTDIR=/usr/local/share/fonts;/usr/share/fonts
> >
> > Regards,
> 
> Unfortunately,  in a bash shell under Linux, the semi-colon (;) is used to 
> separate commands, so this sets the OSFONTDIR to /usr/local/share/fonts and 
> then tries to execute the command "/usr/share/fonts", which of course it 
> cannot do because it's a directory.

I should have escaped it, sorry:
export OSFONTDIR="/usr/local/share/fonts;/usr/share/fonts"

-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team


signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Minimals, Linux & OSFONTDIR

2008-11-25 Thread Bart C. Wise
On Tuesday 25 November 2008 03:48:29 am Khaled Hosny wrote:
> On Mon, Nov 24, 2008 at 09:56:20PM -0700, Bart C. Wise wrote:
> > I have more that two path for my fonts:
> > - /usr/local/share/fonts
> > -/usr/share/fonts
> >
> > When I do one path, it works fine; however, if I put two paths as
> > follows:
> >
> > export OSFONTDIR=/usr/local/share/fonts:/usr/share/fonts
>
> use ";" not ":"
> export OSFONTDIR=/usr/local/share/fonts;/usr/share/fonts
>
> Regards,

Unfortunately,  in a bash shell under Linux, the semi-colon (;) is used to 
separate commands, so this sets the OSFONTDIR to /usr/local/share/fonts and 
then tries to execute the command "/usr/share/fonts", which of course it 
cannot do because it's a directory.

Bart
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] line of text after a table

2008-11-25 Thread Steffen Wolfrum
Hallo Albrecht,

hast Du diese (siehe Anhang) beiden Antworten übersehen?

MfG, Steffen.


Anfang der weitergeleiteten E-Mail:

> Von: Taco Hoekwater <[EMAIL PROTECTED]>
> Datum: 24. November 2008 09:20:32 MEZ
> An: mailing list for ConTeXt users 
> Betreff: Re: [NTG-context] line of text after a table
> Antwort an: mailing list for ConTeXt users 
>
> Albrecht Kauffmann wrote:
>> Hi all,
>>
>> would it be able to write a line after a table or figure (e.g.: "Data
>> source: ...") that will be handled as a part of the float object?
>>
>
> Just do
>   \placefigure[]{}{\externalfigure[cow.pdf]\crlf Data source: .. }
>
> Best wishes,
> Taco
>
> ___
> If your question is of interest to others as well, please add an  
> entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___

Anfang der weitergeleiteten E-Mail:

> Von: "Wolfgang Schuster" <[EMAIL PROTECTED]>
> Datum: 24. November 2008 09:32:19 MEZ
> An: "mailing list for ConTeXt users" 
> Betreff: Re: [NTG-context] line of text after a table
> Antwort an: mailing list for ConTeXt users 
>
> On Mon, Nov 24, 2008 at 9:20 AM, Taco Hoekwater <[EMAIL PROTECTED]>  
> wrote:
>> Albrecht Kauffmann wrote:
>>> Hi all,
>>>
>>> would it be able to write a line after a table or figure (e.g.:  
>>> "Data
>>> source: ...") that will be handled as a part of the float object?
>>>
>>
>> Just do
>>  \placefigure[]{}{\externalfigure[cow.pdf]\crlf Data source: .. }
>
> \placefigure[]{}{\placelegend{\externalfigure[cow.pdf]}{Data  
> source: ...}}
>
> Regards,
> Wolfgang
> ___
> If your question is of interest to others as well, please add an  
> entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to overlap two figures?

2008-11-25 Thread Mojca Miklavec
On Tue, Nov 25, 2008 at 9:59 AM, 그래프 수학과 <[EMAIL PROTECTED]> wrote:
> Dear Yue,
>
> Thank you for the reply.
>>
>>
>> why not process the base file figure each time before process each
>> figure.
>>
>
> Yes, That is what I did.
> I am curious if there is a way of shorten the length of code which is
> less important.

Hello,

I do not claim that this is the right way to do it, but if you draw
figures with metafun, you can easily use macros to draw parts of
figures or create snapshots of figures with currentpicture:

\starttext

\startMPcode
picture a;
draw fullcircle scaled 3cm;
a := currentpicture;
\stopMPcode

\startMPcode
draw a;
draw fullsquare scaled 3cm;
\stopMPcode

\stoptext

If you have external figures, then you can work with overlays as Hans
pointed out.

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] line of text after a table

2008-11-25 Thread Albrecht Kauffmann
Dear ConTeXtuals,

a few days ago I asked this question but got not any answer. I think it is
an important issue to couple a comment with a float (e.g. a table or
figure) that has to be moved together with the float, similarly to local
footnotes. Has someone solved this problem already somehow or other?

With many thanks for hints,
Albrecht

On Sat, 22 Nov 2008, Albrecht Kauffmann wrote:

> Hi all,
>
> would it be able to write a line after a table or figure (e.g.: "Data
> source: ...") that will be handled as a part of the float object?
>
> With many thanks for any hint,
> Albrecht
>
>
>
> On Sat, 22 Nov 2008, Mojca Miklavec wrote:
>
> > On Fri, Nov 21, 2008 at 11:53 PM, Hans Hagen <[EMAIL PROTECTED]> wrote:
> > > Mojca Miklavec wrote:
> > >
> > >  > hack hack hack hack 
> > >
> > > I tried solutions with special patterns sveral times but the problem is
> > > in mixed languages, i.e. english text mixed with url-language; there are
> > > some limitations (in pdftex for instance the same codes are used fo rthe
> > > whole par (i.e. mixed languages are possible but with the same lccodes
> > > etc). Also, one needs to get rid of the -
> >
> > Whooops! I didn't know about those limitations (same catcodes in
> > paragraph, no language mixing). It seemed like a clean solution to me,
> > but apparently it's not. (Sorry for the brainwash.)
> >
> > Mojca
> > ___
> > If your question is of interest to others as well, please add an entry to 
> > the Wiki!
> >
> > maillist : ntg-context@ntg.nl / 
> > http://www.ntg.nl/mailman/listinfo/ntg-context
> > webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> > archive  : https://foundry.supelec.fr/projects/contextrev/
> > wiki : http://contextgarden.net
> > ___
> >
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Minimals, Linux & OSFONTDIR

2008-11-25 Thread Khaled Hosny
On Mon, Nov 24, 2008 at 09:56:20PM -0700, Bart C. Wise wrote:
> I have more that two path for my fonts:
> - /usr/local/share/fonts
> -/usr/share/fonts
> 
> When I do one path, it works fine; however, if I put two paths as follows:
> 
> export OSFONTDIR=/usr/local/share/fonts:/usr/share/fonts
use ";" not ":"
export OSFONTDIR=/usr/local/share/fonts;/usr/share/fonts

Regards,

-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team


signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to overlap two figures?

2008-11-25 Thread Yue Wang
2008/11/25 Yue Wang <[EMAIL PROTECTED]>:
> On Tue, Nov 25, 2008 at 8:59 AM, 그래프 수학과 <[EMAIL PROTECTED]> wrote:
>> Dear Yue,
>>
>> Thank you for the reply.
>>>
>>>
>>> why not process the base file figure each time before process each
>>> figure.
>>>
>>
>> Yes, That is what I did.
>> I am curious if there is a way of shorten the length of code which is
>> less important.
>>
>
>
> you dont have to type the same code in each mp figure.
> see sec 3.4 of the metafun manual, you can processMPbuffer.
>
also, \includeMPgraphic discussed in sec 3.7

>
>> Thank you again.
>>
>> Best regards,
>>
>> Dalyoung
>> ___
>> If your question is of interest to others as well, please add an entry to 
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl / 
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
>> archive  : https://foundry.supelec.fr/projects/contextrev/
>> wiki : http://contextgarden.net
>> ___
>>
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to overlap two figures?

2008-11-25 Thread Yue Wang
On Tue, Nov 25, 2008 at 8:59 AM, 그래프 수학과 <[EMAIL PROTECTED]> wrote:
> Dear Yue,
>
> Thank you for the reply.
>>
>>
>> why not process the base file figure each time before process each
>> figure.
>>
>
> Yes, That is what I did.
> I am curious if there is a way of shorten the length of code which is
> less important.
>


you dont have to type the same code in each mp figure.
see sec 3.4 of the metafun manual, you can processMPbuffer.


> Thank you again.
>
> Best regards,
>
> Dalyoung
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to overlap two figures?

2008-11-25 Thread 그래프 수학과
Dear Yue,

Thank you for the reply.
>
>
> why not process the base file figure each time before process each  
> figure.
>

Yes, That is what I did.
I am curious if there is a way of shorten the length of code which is  
less important.

Thank you again.

Best regards,

Dalyoung
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Minimals & \placefootnotes

2008-11-25 Thread Bart C. Wise
Anyone have any thoughts?

On Monday 24 November 2008 01:30:09 pm Bart C. Wise wrote:
> I have loaded the minimals packaging on my system.  In running through some
> code I'm finding that \placefootnotes does not appear to be working (or at
> least it's different than MkII.  With the minimals, the footnotes always
> appear at the bottom of the page, not where the \placefootnotes command is
> placed. Is this a bug, or do I need to make some changes?
>
> \setupfootnotes[location=text]
>
> \starttext
> Here is a footnote.\footnote{Here's the first footnote}  And yet, another.
> \footnote{The second.}
> \placefootnotes
>
> Here is some more text, with another footnote.\footnote{The third
> footnote.} \placefootnotes
> \stoptext
>
>
> Thanks,
> Bart
> ___
> If your question is of interest to others as well, please add an
> entry to the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context webpage  :
> http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___
>

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Minimals, Linux & OSFONTDIR

2008-11-25 Thread Bart C. Wise
Taco,

Thanks for the hint.  It works!

Bart
On Tuesday 25 November 2008 12:20:01 am Taco Hoekwater wrote:
> Bart C. Wise wrote:
> > I have more that two path for my fonts:
> > - /usr/local/share/fonts
> > -/usr/share/fonts
> >
> > When I do one path, it works fine; however, if I put two paths as
> > follows:
> >
> > export OSFONTDIR=/usr/local/share/fonts:/usr/share/fonts
> >
> > it does not pick up the fonts in both directories.  Admitedly, this is my
> > fault, but could someone help out?
>
> You could create a new directory, say:
>
> /home/bart/context-os-fonts
>
> and add (sym)links to /usr/local/share/fonts and /usr/share/fonts in
> that (I myself have added extra symlinks inside /usr/share/fonts).
>
> Best wishes,
> Taco
> ___
> If your question is of interest to others as well, please add an
> entry to the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context webpage  :
> http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___
>

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to overlap two figures?

2008-11-25 Thread Hans Hagen
??? ??? wrote:
> Dear all,
> 
> I'd like to two figures in one place.
> 
> There is a base figure, and
> I'd like to put other figures on the base figure case by case.
> 
> base file + figure 1,
> base file + figure 2,
> 
> 
> The figures are created using metafun.
> 
> Thank you for help.

\startoverlay
   {..}
   {..}
   {..}
\stopoverlay

make sure that they have the same boundingboxes

-
   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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___