On Mar 17, 10:44 am, Robert Bradshaw <rober...@math.washington.edu>
wrote:
> On Mar 17, 2009, at 10:39 AM, Martin Albrecht wrote:
>
>
>
>
>
> > 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?
>
> This is yet another syntax to have to learn, and |ZZ| makes me think  
> of the cardinality of ZZ or something (though in that context I could  
> figure it out) and would be hard to safely strip for the LaTeX-to-
> plain-text command. If it's not to difficult, I think \ZZ is a good  
> option.
>
> - Robert

I think \ZZ is a good option, too.  Does anyone know if the file
$SAGE_ROOT/devel/sage/doc/common/macros.tex has any role, currently?

  John

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