On Tuesday 17 March 2009, Carl Witty wrote:
> On Tue, Mar 17, 2009 at 9:59 AM, Martin Albrecht
>
> <m...@informatik.uni-bremen.de> wrote:
> > On Tuesday 17 March 2009, Carl Witty wrote:
> >> My vote would be for `H_d(X, \ZZ)` (for easier typing), combined with
> >> some sort of LaTeX-to-plain-text processing to change \ZZ to Z or ZZ
> >> (I'm not sure which).  (We have some LaTeX-to-plain-text already,
> >> although it could definitely be improved.)
> >
> > Can't we just define a global macro like before?
> >
> > e.g. \newcommands{\ZZ}{\mathbb{ZZ}}
> >
> > ?
>
> I was only talking about the LaTeX-to-plain-text for command-line help
> ('?' help at the sage: prompt).

> For other purposes (the HTML and PDF documentation) we would use a
> global macro, although I'm not sure if there's a place to put global
> macros in the current process; we may need to adjust the build process
> some.

ReST supports replacements/substitutions:

  http://sphinx.pocoo.org/rest.html

So, e.g. we could have:

 `H_d(X, |ZZ|)`

and a global file which contains:

.. |ZZ| \mathbb{ZZ}

I'd say |ZZ| looks good enough?

Cheers,
Martin
-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
_www: http://www.informatik.uni-bremen.de/~malb
_jab: martinralbre...@jabber.ccc.de


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to