Re: [NTG-context] Representing TeX on the web [Off-topic]

2013-03-31 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sat, 30 Mar 2013 23:34:11 -0600, Arthur Reutenauer  
 wrote:

^^
Time travel ;-)


TEX


On Sun, 31 Mar 2013 00:14:52 -0600, Khaled Hosny   
wrote:




 
 span.TEX {letter-spacing: -0.1em;}
 span.TEX span.E {left: -0.04em; position: relative;top: 0.5ex;}
 
 
  TEX
 



On Sun, 31 Mar 2013 04:45:36 -0600, Philipp Gesang  
 wrote:


  Tstyle="vertical-align:-0.5ex;margin-left:-0.1667em;margin-right:-0.125em;">EX

Maybe add font-family: "CMU Serif" to the style.


Thanks to all of you, Arthur, Khaled, and Phillip, for your quick replies;  
it is greatly appreciated!


Best wishes
Idris
--
Professor Idris Samawi Hamid
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Representing TeX on the web [Off-topic]

2013-03-31 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sat, 30 Mar 2013 23:34:11 -0600, Arthur Reutenauer  
 wrote:



Related: Is there any movement to have '\TeX' registered as a
Unicode symbol?

 I really hope not.


Why not?

Best wishes
Idris
--
Professor Idris Samawi Hamid
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Unusual error in Math mode

2013-03-31 Thread Aditya Mahajan

On Sun, 31 Mar 2013, Devendra Ghate wrote:


Hello Everyone,

\starttext
 $ E [ w ] = 1 $
\stoptext

produces

Eaw]=1

using my context (current version: 2013.03.29 01:03).


I can confirm this. The bug does not depend on the font used, so it 
appears to be something wrong with the mappings. But I don't have time to 
debug this right now.


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Unusual error in Math mode

2013-03-31 Thread Devendra Ghate
Hello Everyone,

\starttext
  $ E [ w ] = 1 $
\stoptext

produces

Eaw]=1

using my context (current version: 2013.03.29 01:03). Needless to say that
the MWE works as expected on the Context live @ contextgarden.

I have no clue as to how to go about debugging the problem. So did a fresh
install in a different directory but still get exactly the same result.

I will be grateful for any suggestions on how to identify the problem in my
context installation.

-- 
Cheers,
Devendra
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] setuphead and Table of Content

2013-03-31 Thread Sietse Brouwer
Hi Malte,

On 31 March 2013 11:53, Malte Stien  wrote:
>   \definehead[foosection][section]
>   \setuphead[foosection][number=yes, ownnumber=yes, sectionsegments=section]

> However, I need them to show up in the table of content. What's the trick?

This is the trick:
\definecombinedlist[content][chapter,section,foosection,barsection,...]

The Table of Contents uses ConTeXt's combinedlist mechanism; to alter
the Table of Contents, redefine the list. (You have to redefine it;
\setupcombinedlist[content] alters how the list functions, but not
what goes into it.)

Useful wiki pages:
http://wiki.contextgarden.net/Titles (which is where I found the
\definecombinedlist trick)
http://wiki.contextgarden.net/Command/definecombinedlist (which
actually goes into lists and what they do)

In case you're curious: this is how the TOC is defined in strc-def.mkiv.
\definecombinedlist
[\v!content]
[\v!part,
\v!chapter,
\v!section,
\v!subsection,
\v!subsubsection,
\v!subsubsubsection,
\v!subsubsubsubsection]
[\c!level=\v!subsubsubsubsection,
\c!criterium=\v!local]

Hope this helps!

Cheers,

Sietse
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Representing TeX on the web [Off-topic]

2013-03-31 Thread Philipp Gesang
·

> Dear gang,
> 
> My apologies if the answers to the following are already well-known
> and if I'm being completely clueless:
> 
> What is the standard way of representing the symbol '\TeX' in html
> and the like?

I use margins to emulate kerns:

  TEX

Maybe add font-family: "CMU Serif" to the style.

Regards
Philipp



pgp2ICX8tRR30.pgp
Description: PGP 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] setuphead and Table of Content

2013-03-31 Thread Malte Stien
Hello everyone,

I have defined my own set of heads with \setuphead like so, such that I can 
supply my own numbers:

  \definehead[foosection][section]
  \setuphead[foosection][number=yes, ownnumber=yes, sectionsegments=section] 

However, I need them to show up in the table of content. What's the trick?

Regards,
Malte.

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___