[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-08-08 Thread Rob Beezer
Thanks for all the discussion and hints about working with the left 
sidebar.  I like Dima's suggestion of a 2-up mode.

You'll notice we did not center the fixed-width text in the browser 
window.  We are reserving the real-estate on the right for some generally 
useful purpose, though we have not decided yet what that will be.

We will revisit all this once we get some support again for some serious 
CSS/Javascript development.

On Thursday, August 6, 2015 at 1:56:55 AM UTC-7, Dima Pasechnik wrote:

 besides being a distraction, the sidebar is a waste of screen space. On a 
 13 laptop screen I could comfortably view two pages of this side by side.
 (this might be another suggestion for the design - make such a layout 
 possible.)

 On Wednesday, 5 August 2015 16:39:36 UTC+1, kcrisman wrote:



 You could zoom in (control plus) the browser window, which should be 
 equivalent for testing purposes. 



 That's what we ended up telling my students. 



-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-08-08 Thread Bill Hart
I particularly like the menu on the left hand side (more than the amount 
that I particularly like the website).

That's not to say I disagree with Dima. The menu could slide in and out on 
mouseover.

One general comment I have about the site is that on first impression it 
looks slightly square and blocky. A couple of rounded corners somewhere 
could improve the look a bit.

On Saturday, 8 August 2015 19:33:25 UTC+2, Rob Beezer wrote:

 Thanks for all the discussion and hints about working with the left 
 sidebar.  I like Dima's suggestion of a 2-up mode.

 You'll notice we did not center the fixed-width text in the browser 
 window.  We are reserving the real-estate on the right for some generally 
 useful purpose, though we have not decided yet what that will be.


Advertising mathematics books that might be of use to students, for 
example. 

But you could offer two page mode as an option, which when selected makes 
ads (or whatever other useful purpose you put the real estate to) go away.

Something I read recently is that studies have shown that text that is 
easiest to read is 10-12 words across a line. One problem with this is that 
equations frequently want to be longer than this. I've been experimenting 
with split page mode in my own notes to see how far I can get without more 
space than that for equations.

Bill.

 


 We will revisit all this once we get some support again for some serious 
 CSS/Javascript development.

 On Thursday, August 6, 2015 at 1:56:55 AM UTC-7, Dima Pasechnik wrote:

 besides being a distraction, the sidebar is a waste of screen space. On a 
 13 laptop screen I could comfortably view two pages of this side by side.
 (this might be another suggestion for the design - make such a layout 
 possible.)

 On Wednesday, 5 August 2015 16:39:36 UTC+1, kcrisman wrote:



 You could zoom in (control plus) the browser window, which should be 
 equivalent for testing purposes. 



 That's what we ended up telling my students. 



-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-08-06 Thread Dima Pasechnik
besides being a distraction, the sidebar is a waste of screen space. On a 
13 laptop screen I could comfortably view two pages of this side by side.
(this might be another suggestion for the design - make such a layout 
possible.)

On Wednesday, 5 August 2015 16:39:36 UTC+1, kcrisman wrote:



 You could zoom in (control plus) the browser window, which should be 
 equivalent for testing purposes. 



 That's what we ended up telling my students. 


-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-08-05 Thread dimpase


On Wednesday, 5 August 2015 00:20:02 UTC+1, Rob Beezer wrote:


 On Sunday, August 2, 2015 at 1:12:29 AM UTC-7, Dima Pasechnik wrote:

 One thing I didn't like was the inability to hide the contents frame(?) 
 on the left-hand side. It just sits there for no good reason, and is a 
 distraction. 
  IMHO it should automatically hide itself...


 Yes, we discussed that one a lot.  Try slowly making your browser window 
 skinny and eventually the interface will go into small-device-mode.  Now 
 the button at the bottom-left should slide the contents sidebar in and out 
 nicely.


I use a tiling window manager on my laptops and desktops, and making 
windows skinny isn't really something I can do easily...
  

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-08-05 Thread William Stein
On Wed, Aug 5, 2015 at 3:00 AM, dimpase dimp...@gmail.com wrote:


 On Wednesday, 5 August 2015 00:20:02 UTC+1, Rob Beezer wrote:


 On Sunday, August 2, 2015 at 1:12:29 AM UTC-7, Dima Pasechnik wrote:

 One thing I didn't like was the inability to hide the contents frame(?)
 on the left-hand side. It just sits there for no good reason, and is a
 distraction.
  IMHO it should automatically hide itself...


 Yes, we discussed that one a lot.  Try slowly making your browser window
 skinny and eventually the interface will go into small-device-mode.  Now the
 button at the bottom-left should slide the contents sidebar in and out
 nicely.


 I use a tiling window manager on my laptops and desktops, and making
 windows skinny isn't really something I can do easily...

You could zoom in (control plus) the browser window, which should be
equivalent for testing purposes.



 --
 You received this message because you are subscribed to the Google Groups
 sage-edu group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to sage-edu+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-...@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-edu.
 For more options, visit https://groups.google.com/d/optout.



-- 
William (http://wstein.org)

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-08-05 Thread kcrisman


 One thing I didn't like was the inability to hide the contents frame(?) on 
 the left-hand side. It just sits there for no good reason, and is a 
 distraction. 
  IMHO it should automatically hide itself...


 Yes, we discussed that one a lot.  Try slowly making your browser window 
 skinny and eventually the interface will go into small-device-mode.  Now 
 the button at the bottom-left should slide the contents sidebar in and out 
 nicely.


Yes, one of my biggest annoyances is the same as Dima's; it should be 
clickable to small-device mode, but Rob and I have already had that 
discussion. 

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-08-05 Thread kcrisman


You could zoom in (control plus) the browser window, which should be 
 equivalent for testing purposes. 



That's what we ended up telling my students. 

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-08-04 Thread Rob Beezer

On Sunday, August 2, 2015 at 1:12:29 AM UTC-7, Dima Pasechnik wrote:

 One thing I didn't like was the inability to hide the contents frame(?) on 
 the left-hand side. It just sits there for no good reason, and is a 
 distraction. 
  IMHO it should automatically hide itself...


Yes, we discussed that one a lot.  Try slowly making your browser window 
skinny and eventually the interface will go into small-device-mode.  Now 
the button at the bottom-left should slide the contents sidebar in and out 
nicely.

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-08-02 Thread Dima Pasechnik


On Saturday, 1 August 2015 21:23:44 UTC+1, Rob Beezer wrote:



 On Saturday, August 1, 2015 at 2:05:07 AM UTC-7, Dima Pasechnik wrote:

 Perhaps they should rather generate your XML? (beezertex filename ;-))
 No, seriously...


 Yes, seriously.  ;-)  I hope that something like this will be in place 
 eventually.
  

 Please note that I actually rather like the way the e-book in question 
 looks like, it's great in this way.  And, by the way, looks good on an 
 Android tablet too...


 Thanks for the testing, and I'm glad you like the end-product.  All the 
 CSS/Javascript is by a student of mine, Michael DuBois, who was supported 
 at the tail end of the last NSF education grant (UTMOST).  The small-screen 
 interface never would have happened without him.


One thing I didn't like was the inability to hide the contents frame(?) on 
the left-hand side. It just sits there for no good reason, and is a 
distraction. 
 IMHO it should automatically hide itself...

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-08-01 Thread Rob Beezer


On Saturday, August 1, 2015 at 2:05:07 AM UTC-7, Dima Pasechnik wrote:

 Perhaps they should rather generate your XML? (beezertex filename ;-))
 No, seriously...


Yes, seriously.  ;-)  I hope that something like this will be in place 
eventually.
 

 Please note that I actually rather like the way the e-book in question 
 looks like, it's great in this way.  And, by the way, looks good on an 
 Android tablet too...


Thanks for the testing, and I'm glad you like the end-product.  All the 
CSS/Javascript is by a student of mine, Michael DuBois, who was supported 
at the tail end of the last NSF education grant (UTMOST).  The small-screen 
interface never would have happened without him.

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-08-01 Thread Rob Beezer


On Saturday, August 1, 2015 at 2:45:16 AM UTC-7, Volker Braun wrote:

 It would be nice if Sage cells would know about which cells they depend 
 on; Right now evaluating a cell in the middle is very likely to cough up an 
 error message about something not being defined.


Yes, Sage Cells are linked with all the others on a page, but you 
typically want to execute them in order, so starting in the middle can be a 
disaster.  MathBook XML is very flexible about chunking - so you can 
decide whether a section is a whole web page, or if a subsection is a 
webpage, or ...  So you have some control about how many cells are enclosed 
as a unit.  (And you should make this decision early while writing Sage 
cells!)

There is also the inverse problem of defining some complicated object in a 
Sage Cell on some previous page and wanting to reuse it.  This is solved 
partially by being able to use a cross-reference from the second page back 
to the cell on the previous page.  The code still needs to re-run, but the 
author does not need to create and maintain the second version.

IMHO we should think about moving non-technical Sage docs to mathbook.


 Of course, I'd stand ready to help with technical advice and additions to 
MathBook XML to support this.  The underlying HTML is meant to be very 
semantic/structural/skinnable (without being too impractical), so ideally 
it would be possible to retain all the navigation, but also give a 
Sage-blue look and branding.

An example with lots of Sage, which has a feel similar to the thematic 
tutorials, is at:

http://linear.ups.edu/eagts/

With Sage 6.7, nineteen (out of 417) doctests are failing since the last 
update was Sage 5.12, so it needs just a bit of clean-up.  Mostly 
deprecations, and rearrangments of output format.

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-08-01 Thread Rob Beezer
On Saturday, August 1, 2015 at 3:12:38 AM UTC-7, Dima Pasechnik wrote:

 IMHO we should think about moving non-technical Sage docs to mathbook.

 write an automatic converted, why not...
  


Sage-flavored ReST/Sphinx might be structured/predictable enough to be very 
amenable to this. 

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-08-01 Thread Michael Orlitzky
On 07/31/2015 07:06 PM, Dima Pasechnik wrote:
 
 You don't need a closing tag that can be inserted by software, 
 as certainly is the case for \section or \item..
 (unless you spent a large part of your life writing HTML or XML by hand, 
 of course :-))
 

The parser can insert them for you, but there are a lot of cases where
it's not at all clear *where* the closing tag should go. Often, the
presence of the opening tag is the bug -- not the absence of the closing
tag. In that case adding the closing tags just makes things worse.

Compare e.g. an XHTML 1.1 parser with an HTML5 parser. In XHTML, closing
tags are required, but in HTML they're not. Writing an XHTML parser is
simple -- any small XML parser will do -- but an HTML parser requires
lots of ugly logic.

I put parser in scare-quotes because you can't really parse HTML; you
have to tag soup it. Most of the additional crud in an HTML parser is
devoted to on-the-fly error handling (the user started a list item
within a table within a paragraph and didn't close anything?). If you
want to leave off your closing tags, in theory it's no problem -- once
you know the error handling rules, you know where the closing tag will
be added, and that's where it will go. But no one understands all of the
error-handling rules, so no one really knows what's going to happen when
they leave off a closing tag. It's very easy to trick people with short
examples.

So ultimately, it's just easier to spend some extra milliseconds putting
the closing tag where you know you want it. Otherwise, the first time
you have to debug a display issue twenty levels deep in some parser's
error-handling routine, you're going to find yourself in the red.

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-08-01 Thread Dima Pasechnik


On Saturday, 1 August 2015 03:14:33 UTC+1, Rob Beezer wrote:

 On 07/31/2015 05:25 PM, Dima Pasechnik wrote: 
  And if it is so easy to convert LaTeX into HTML, why hasn't anybody 
 done it 
  successfully?  tex4ht  is the only one I know that comes close, and 
 only 
  because it is the only one that uses the tex executable. 
  
  sure, why is this bad to use the tex executable? Because it has to be 
 done on 
  the fly in your browser? Well, I cannot care less -- perhaps someone 
 should 
  develop a NaCL implementation of (La)TeX to be runnable in the browser? 

 Not bad to use the tex executable.  That is the key design decision in 
 tex4ht 
 that makes it as good as it is.  Seems only tex can understand TeX.  ;-) 


Perhaps they should rather generate your XML? (beezertex filename ;-))
No, seriously...

Please note that I actually rather like the way the e-book in question 
looks like, it's great in this way.  And, by the way, looks good on an 
Android tablet too...

 

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-08-01 Thread Volker Braun
On Saturday, August 1, 2015 at 4:14:33 AM UTC+2, Rob Beezer wrote:

 Seems only tex can understand TeX.  ;-) 


Tex it a Turing-complete language, XML is not. Hence only TeX can 
understand TeX, but for XML there are various 100% compliant parsers and 
converters. IMHO your decision to use XML is spot-on, its the right tool 
for the job.

It would be nice if Sage cells would know about which cells they depend on; 
Right now evaluating a cell in the middle is very likely to cough up an 
error message about something not being defined.

IMHO we should think about moving non-technical Sage docs to mathbook.

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-08-01 Thread Dima Pasechnik


On Saturday, 1 August 2015 10:45:16 UTC+1, Volker Braun wrote:

 On Saturday, August 1, 2015 at 4:14:33 AM UTC+2, Rob Beezer wrote:

 Seems only tex can understand TeX.  ;-) 


 Tex it a Turing-complete language, XML is not. Hence only TeX can 
 understand TeX,

 
 Rather, Wahr sind nur die Gedanken, die sich selber nicht verstehen
 

 but for XML there are various 100% compliant parsers and converters. IMHO 
 your decision to use XML is spot-on, its the right tool for the job.


Yeah, let us forbid Turing-complete languages, they are just too dangerous. 
Volker, have you secretly started on rewriting Sage a straight-line program?


 IMHO we should think about moving non-technical Sage docs to mathbook.

write an automatic converted, why not...
 

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread Dima Pasechnik


On Saturday, 1 August 2015 01:03:25 UTC+1, Rob Beezer wrote:



 On Friday, July 31, 2015 at 4:06:01 PM UTC-7, Dima Pasechnik wrote:

 You don't need a closing tag that can be inserted by software, 
 as certainly is the case for \section or \item..
 (unless you spent a large part of your life writing HTML or XML by hand, 
 of course :-))



 So where does a LaTeX subparagraph end?  When the next line is a \begin 
 for another subparagraph, or a paragraph, or a subsubsection, or a 
 subsection, or a section, or a chapter, or a part, or the \end{document}.

 LaTeX is not an ideal system either, it's over-bloated monster. And 
subparagraph is one of its severely deformed and brain-damaged at birth 
heads. But XML is a step back in my view. Lately I find myself using plain 
TeX and markdown more...

By the way, some years ago I tried to participate in an effort to write a 
book in texmacs (www.texmacs.org). Time and time again one needed to edit 
plain XML (or something XML-like, IIRC), to make it do the right thing...  
 

 And if it is so easy to convert LaTeX into HTML, why hasn't anybody done 
 it successfully?  tex4ht  is the only one I know that comes close, and only 
 because it is the only one that uses the tex executable.

 
sure, why is this bad to use the tex executable? Because it has to be done 
on the fly in your browser? Well, I cannot care less -- perhaps someone 
should develop a NaCL implementation of (La)TeX to be runnable in the 
browser?

 

   But try to extend it to convert LaTeX into a Sage Notebook worksheet, 
 like I did for several years.Current project is borne of many such 
 experiences.
  


 


  

 I wish Knuth did review (X)HTML format proposals for sanity...


 Me too. ;-) 


-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread Rob Beezer


On Friday, July 31, 2015 at 4:06:01 PM UTC-7, Dima Pasechnik wrote:

 You don't need a closing tag that can be inserted by software, 
 as certainly is the case for \section or \item..
 (unless you spent a large part of your life writing HTML or XML by hand, 
 of course :-))



So where does a LaTeX subparagraph end?  When the next line is a \begin 
for another subparagraph, or a paragraph, or a subsubsection, or a 
subsection, or a section, or a chapter, or a part, or the \end{document}.

And if it is so easy to convert LaTeX into HTML, why hasn't anybody done it 
successfully?  tex4ht  is the only one I know that comes close, and only 
because it is the only one that uses the tex executable.  But try to extend 
it to convert LaTeX into a Sage Notebook worksheet, like I did for several 
years.Current project is borne of many such experiences.
 


  

I wish Knuth did review (X)HTML format proposals for sanity...


Me too. ;-) 

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread Rob Beezer

On Friday, July 31, 2015 at 4:06:01 PM UTC-7, Dima Pasechnik wrote:

 I wish Knuth did review (X)HTML format proposals for sanity...


I should add that MathBook XML adds no new syntax for mathematics proper.  
In other words, symbols, equations, displays are not written in something 
like MathML (that would be painful for a human).  Instead, all the symbols 
and constructions you already know can be used.  LaTeX is great between the 
dollar signs. ;-) 

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread Rob Beezer

On 07/31/2015 05:25 PM, Dima Pasechnik wrote:

And if it is so easy to convert LaTeX into HTML, why hasn't anybody done it
successfully?  tex4ht  is the only one I know that comes close, and only
because it is the only one that uses the tex executable.

sure, why is this bad to use the tex executable? Because it has to be done on
the fly in your browser? Well, I cannot care less -- perhaps someone should
develop a NaCL implementation of (La)TeX to be runnable in the browser?


Not bad to use the tex executable.  That is the key design decision in tex4ht 
that makes it as good as it is.  Seems only tex can understand TeX.  ;-)


--
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread David Farmer


In most cases,  MathBook XML is not more cumbersome than
LaTeX, particularly if you are using an editor which
automatically inserts closing tags.  For example, in LaTeX
\section{...} starts a section, and you do not have to
explicitly indicate where the section ends.  In MBX, you have
to supply the /section.

MBX was designed to be written by human authors.  Take a look
at the source of Judson's book!

On Fri, 31 Jul 2015, Dima Pasechnik wrote:




On Friday, 31 July 2015 02:17:27 UTC+1, Rob Beezer wrote:
  On Thursday, July 30, 2015 at 12:59:54 PM UTC-7, parisse wrote:
I had a quick look, but I'm still a little bit confused
how the source are written. Do you write your source
files in xml or have you some kind of converter from a
latex source file?


MathBook XML is the XML application I am designing.  It is a collection
of XML tags meant to be usable for an author: chapter, section,
theorem, example, exercise, etc.  I have written converters to LaTeX (for
PDF, print) and to HTML.  Other conversions are possible and planned. 
It's main purpose is for authors creating new content.

XML? I wish pandoc (http://pandoc.org/) could handle conversions to and from
your format...
Do people really want to write XML by hand? I tried it once (GAP docs can be
prepared using XML) and was not amused.
 
Just wondering,
Dima


--
You received this message because you are subscribed to the Google Groups
sage-edu group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-edu+unsubscr...@googlegroups.com.
To post to this group, send email to sage-...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-edu.
For more options, visit https://groups.google.com/d/optout.



[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread Dima Pasechnik
On Friday, 31 July 2015 15:27:19 UTC+1, David Farmer wrote:


 In most cases,  MathBook XML is not more cumbersome than 
 LaTeX, particularly if you are using an editor which 
 automatically inserts closing tags.  

You don't need a closing tag that can be inserted by software, 
as certainly is the case for \section or \item..
(unless you spent a large part of your life writing HTML or XML by hand, 
of course :-))

I wish Knuth did review (X)HTML format proposals for sanity...



 

 For example, in LaTeX 
 \section{...} starts a section, and you do not have to 
 explicitly indicate where the section ends.  In MBX, you have 
 to supply the /section. 

 MBX was designed to be written by human authors.  Take a look 
 at the source of Judson's book! 

 On Fri, 31 Jul 2015, Dima Pasechnik wrote: 

  
  
  On Friday, 31 July 2015 02:17:27 UTC+1, Rob Beezer wrote: 
On Thursday, July 30, 2015 at 12:59:54 PM UTC-7, parisse wrote: 
  I had a quick look, but I'm still a little bit confused 
  how the source are written. Do you write your source 
  files in xml or have you some kind of converter from a 
  latex source file? 
  
  
  MathBook XML is the XML application I am designing.  It is a 
 collection 
  of XML tags meant to be usable for an author: chapter, section, 
  theorem, example, exercise, etc.  I have written converters to LaTeX 
 (for 
  PDF, print) and to HTML.  Other conversions are possible and planned.  
  It's main purpose is for authors creating new content. 
  
  XML? I wish pandoc (http://pandoc.org/) could handle conversions to and 
 from 
  your format... 
  Do people really want to write XML by hand? I tried it once (GAP docs 
 can be 
  prepared using XML) and was not amused. 

  Just wondering, 
  Dima 
  
  
  -- 
  You received this message because you are subscribed to the Google 
 Groups 
  sage-edu group. 
  To unsubscribe from this group and stop receiving emails from it, send 
 an email 
  to sage-edu+u...@googlegroups.com javascript:. 
  To post to this group, send email to sage...@googlegroups.com 
 javascript:. 
  Visit this group at http://groups.google.com/group/sage-edu. 
  For more options, visit https://groups.google.com/d/optout. 
  
 

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.