Re: HTML Footnotes as Endnotes

2011-12-11 Thread Rob Oakes
On 12/10/2011 1:42 PM, Guenter Milde wrote: However, we should also think about graceful degradation, i.e. the document should be rendered sensibly in a browser that does not understand the newest standards. http://www.cs.tut.fi/~jkorpela/html/augm.html Günter I agree, most users shouldn't

Re: HTML Footnotes as Endnotes

2011-12-11 Thread Rob Oakes
On 12/10/2011 1:42 PM, Guenter Milde wrote: > However, we should also think about "graceful degradation", i.e. the > document should be rendered "sensibly" in a browser that does not > understand the newest standards. > http://www.cs.tut.fi/~jkorpela/html/augm.html Günter I agree, most users

Re: HTML Footnotes as Endnotes

2011-12-10 Thread Guenter Milde
On 2011-12-09, Rob Oakes wrote: On Dec 8, 2011, at 10:06 AM, Richard Heck wrote: LyX already provides for two and three. With some tweaking, the XHTML that comes out can be very clean and the LyXHTML can be customized via the document or Internal layout file. Let me know where things need

Re: HTML Footnotes as Endnotes

2011-12-10 Thread Guenter Milde
On 2011-12-09, Rob Oakes wrote: > On Dec 8, 2011, at 10:06 AM, Richard Heck wrote: >>> LyX already provides for two and three. With some tweaking, the XHTML >>> that comes out can be very clean and the LyXHTML can be customized >>> via the document or Internal layout file. >> Let me know where

Re: HTML Footnotes as Endnotes

2011-12-09 Thread Guenter Milde
On 2011-12-08, Richard Heck wrote: On 12/08/2011 11:26 AM, Rob Oakes wrote: On Dec 7, 2011, at 1:14 AM, Guenter Milde wrote: IMV, we should make the placement of footnotes in HTML configurable. Sensible options include a) inline (as tooltip via CSS :mouseover:) b) in the footer for

Re: HTML Footnotes as Endnotes

2011-12-09 Thread Rob Oakes
On Dec 9, 2011, at 8:03 AM, rgheck wrote: I've been thinking a fair bit about this and about the split by chapter issue. I'm pretty sure now that what I'll need to do for labels, etc, to get cross-file links working, is about the same as what I'd need to do for footnotes to get them to

Re: HTML Footnotes as Endnotes

2011-12-09 Thread Richard Heck
On 12/09/2011 10:51 AM, Rob Oakes wrote: On Dec 9, 2011, at 8:03 AM, rgheck wrote: I've been thinking a fair bit about this and about the split by chapter issue. I'm pretty sure now that what I'll need to do for labels, etc, to get cross-file links working, is about the same as what I'd

Re: HTML Footnotes as Endnotes

2011-12-09 Thread Rob Oakes
On Dec 8, 2011, at 10:06 AM, Richard Heck wrote: LyX already provides for two and three. With some tweaking, the XHTML that comes out can be very clean and the LyXHTML can be customized via the document or Internal layout file. Let me know where things need improving re (1) ... For 2.1,

Re: HTML Footnotes as Endnotes

2011-12-09 Thread Guenter Milde
On 2011-12-08, Richard Heck wrote: > On 12/08/2011 11:26 AM, Rob Oakes wrote: >> On Dec 7, 2011, at 1:14 AM, Guenter Milde wrote: >>> IMV, we should make the placement of footnotes in HTML configurable. >>> Sensible options include >>> a) inline (as "tooltip" via CSS :mouseover:) >>> b) in the

Re: HTML Footnotes as Endnotes

2011-12-09 Thread Rob Oakes
On Dec 9, 2011, at 8:03 AM, rgheck wrote: > > I've been thinking a fair bit about this and about the "split by chapter" > issue. I'm pretty sure now that what I'll need to do for labels, etc, to get > cross-file links working, is about the same as what I'd need to do for > footnotes to get

Re: HTML Footnotes as Endnotes

2011-12-09 Thread Richard Heck
On 12/09/2011 10:51 AM, Rob Oakes wrote: > On Dec 9, 2011, at 8:03 AM, rgheck wrote: > >> I've been thinking a fair bit about this and about the "split by chapter" >> issue. I'm pretty sure now that what I'll need to do for labels, etc, to get >> cross-file links working, is about the same as

Re: HTML Footnotes as Endnotes

2011-12-09 Thread Rob Oakes
On Dec 8, 2011, at 10:06 AM, Richard Heck wrote: >> LyX already provides for two and three. With some tweaking, the XHTML that >> comes out can be very clean and the LyXHTML can be customized via the >> document or Internal layout file. >> > Let me know where things need improving re (1) ...

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Rob Oakes
Hi Guenter, On Dec 7, 2011, at 1:14 AM, Guenter Milde wrote: IMV, we should make the placement of footnotes in HTML configurable. Sensible options include a) inline (as tooltip via CSS :mouseover:) b) in the footer for page-based output (e.g. print from HTML or ePub) c) endnotes

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Richard Heck
On 12/08/2011 11:26 AM, Rob Oakes wrote: Hi Guenter, On Dec 7, 2011, at 1:14 AM, Guenter Milde wrote: IMV, we should make the placement of footnotes in HTML configurable. Sensible options include a) inline (as tooltip via CSS :mouseover:) b) in the footer for page-based output (e.g.

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Richard Heck
On 12/08/2011 12:06 PM, Richard Heck wrote: On 12/08/2011 11:26 AM, Rob Oakes wrote: 6.) Create a specialized inset which is able to insert audio and video using the audio/video tags (unknown) This ought to be do-able via InsetExternal, though at the moment there is no HTML support for

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Rob Oakes
Hi Richard, Just trying to implement the gathering of footnotes via std::list. I placed the structure in the LatexFeatures header, however, I didn't see any way to access LatexFeatures via OutputParams (e.g. op.features ...). Am I missing something obvious? Cheers, Rob

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Richard Heck
On 12/08/2011 03:42 PM, Rob Oakes wrote: Hi Richard, Just trying to implement the gathering of footnotes via std::list. I placed the structure in the LatexFeatures header, however, I didn't see any way to access LatexFeatures via OutputParams (e.g. op.features ...). Am I missing

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Jean-Marc Lasgouttes
I would gather stuff in InsetFoot::validate method. This is the place for two pass handling of output. JMarc -- Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté. Richard Heck rgh...@comcast.net a écrit : On 12/08/2011 03:42 PM, Rob Oakes wrote: Hi Richard, Just trying

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Rob Oakes
Hi Jean-Marc, Could you point me at an example of how this might be done or provide a few lines of code? I'm trying to add a std::list object to OutputParams and getting a wide variety of strange errors. Apparently, including it doesn't like it when I include InsetFoot.h. I was able to create

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Richard Heck
On 12/08/2011 04:58 PM, Jean-Marc Lasgouttes wrote: I would gather stuff in InsetFoot::validate method. This is the place for two pass handling of output. I see the overall point, but I was thinking of gathering it during output for reasons connected with how I'm imagining doing the chapter

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Rob Oakes
Okay, so I've got the compilation error taken sorted out. (It was due to modifications that I had made to the class.) I've added a list object to the output parameters class. I'm now trying to figure out how to successfully collect the footnotes into the list. Using: In InsetFoot::xhtml():

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Rob Oakes
Hi Guenter, On Dec 7, 2011, at 1:14 AM, Guenter Milde wrote: > IMV, we should make the placement of footnotes in HTML configurable. > > Sensible options include > > a) inline (as "tooltip" via CSS :mouseover:) > b) in the footer for page-based output (e.g. print from HTML or ePub) > c)

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Richard Heck
On 12/08/2011 11:26 AM, Rob Oakes wrote: > Hi Guenter, > > On Dec 7, 2011, at 1:14 AM, Guenter Milde wrote: > >> IMV, we should make the placement of footnotes in HTML configurable. >> >> Sensible options include >> >> a) inline (as "tooltip" via CSS :mouseover:) >> b) in the footer for

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Richard Heck
On 12/08/2011 12:06 PM, Richard Heck wrote: > On 12/08/2011 11:26 AM, Rob Oakes wrote: > >> 6.) Create a specialized inset which is able to insert audio and video using >> the audio/video tags (unknown) >> > This ought to be do-able via InsetExternal, though at the moment there > is no HTML

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Rob Oakes
Hi Richard, Just trying to implement the gathering of footnotes via std::list. I placed the structure in the LatexFeatures header, however, I didn't see any way to access LatexFeatures via OutputParams (e.g. op.features ...). Am I missing something obvious? Cheers, Rob

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Richard Heck
On 12/08/2011 03:42 PM, Rob Oakes wrote: > Hi Richard, > > Just trying to implement the gathering of footnotes via std::list. I placed > the structure in the LatexFeatures header, however, I didn't see any way to > access LatexFeatures via OutputParams (e.g. op.features ...). Am I missing >

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Jean-Marc Lasgouttes
I would gather stuff in InsetFoot::validate method. This is the place for two pass handling of output. JMarc -- Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté. Richard Heck a écrit : On 12/08/2011 03:42 PM, Rob Oakes wrote: > Hi Richard, > > Just

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Rob Oakes
Hi Jean-Marc, Could you point me at an example of how this might be done or provide a few lines of code? I'm trying to add a std::list object to OutputParams and getting a wide variety of strange errors. Apparently, including it doesn't like it when I include "InsetFoot.h". I was able to

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Richard Heck
On 12/08/2011 04:58 PM, Jean-Marc Lasgouttes wrote: > I would gather stuff in InsetFoot::validate method. This is the place > for two pass handling of output. > I see the overall point, but I was thinking of gathering it during output for reasons connected with how I'm imagining doing the "chapter

Re: HTML Footnotes as Endnotes

2011-12-08 Thread Rob Oakes
Okay, so I've got the compilation error taken sorted out. (It was due to modifications that I had made to the class.) I've added a list object to the output parameters class. I'm now trying to figure out how to successfully collect the footnotes into the list. Using: In InsetFoot::xhtml():

HTML Footnotes as Endnotes

2011-12-06 Thread Rob Oakes
Dear LyX Developers, I've continued working on some of the challenges to getting clean ePub from LyX and have finished an inset that tentatively allows you to move footnotes to endnotes when exporting to HTML. Attached is a patch implementing the change (or the logic of it, at least). I'd

Re: HTML Footnotes as Endnotes

2011-12-06 Thread Richard Heck
On 12/06/2011 03:55 PM, Rob Oakes wrote: Dear LyX Developers, I've continued working on some of the challenges to getting clean ePub from LyX and have finished an inset that tentatively allows you to move footnotes to endnotes when exporting to HTML. Attached is a patch implementing the

Re: HTML Footnotes as Endnotes

2011-12-06 Thread Rob Oakes
Hi Richard, Thanks for the feedback, I really appreciate it. On Dec 6, 2011, at 4:39 PM, Richard Heck wrote: I wonder if we'd be better just outputting footnotes as endnotes all the time. The inline version we now use is cool, but maybe it's too cool for it's own good. I actually think that

HTML Footnotes as Endnotes

2011-12-06 Thread Rob Oakes
Dear LyX Developers, I've continued working on some of the challenges to getting clean ePub from LyX and have finished an inset that tentatively allows you to move footnotes to endnotes when exporting to HTML. Attached is a patch implementing the change (or the logic of it, at least). I'd

Re: HTML Footnotes as Endnotes

2011-12-06 Thread Richard Heck
On 12/06/2011 03:55 PM, Rob Oakes wrote: > Dear LyX Developers, > > I've continued working on some of the challenges to getting clean ePub from > LyX and have finished an inset that tentatively allows you to move footnotes > to endnotes when exporting to HTML. Attached is a patch implementing

Re: HTML Footnotes as Endnotes

2011-12-06 Thread Rob Oakes
Hi Richard, Thanks for the feedback, I really appreciate it. On Dec 6, 2011, at 4:39 PM, Richard Heck wrote: > I wonder if we'd be better just outputting footnotes as endnotes > all the time. The inline version we now use is cool, but maybe it's too > cool for it's own good. I actually think