Sat 07 Jun 2014 04:30:12 PM UTC, comment #14:
HTML export of scheme sessions should export them as <pre> or something like that.
Using the syntax highlighter would be awesome, but probably too complicated since it currently is tightly bound to the typesetter (defining a grammar for the packrat parser and using it might also work but it's surely too much work)
|
Tue 17 Dec 2013 09:37:43 AM UTC, comment #13:
HTML export of help-balloon is ok, thanks to Fabien Cazenave which gave me some html snippets and a11y advises. It remains a bit tricky and the bahavior is not garanteed on all browsers.
|
Thu 12 Dec 2013 11:59:27 AM UTC, comment #12:
LaTeX import / export of ornamented sessions is ok.
HTML export of ornaments is ok.
|
Tue 10 Dec 2013 02:43:21 PM UTC, comment #11:
LaTeX import / export of ornaments are ok. I start with ornamented sessions.
|
Thu 05 Dec 2013 01:15:01 PM UTC, comment #10:
LaTeX export of sessions are ok, without ornaments. I start with ornaments.
For html stuff, I have some ideas about how to deal with.
|
Wed 04 Dec 2013 03:17:29 PM UTC, comment #9:
Margin pars and balloons in Html: if this gets too complex, then please drop it for the moment. If you managed to get a tooltip working for balloons (even if it is limited to inline), then please use that (as well as for the margin pars, if this is too hard).
Please get basic support for ornaments working. That is really the most important thing, since we extensively use ornaments now.
|
Wed 04 Dec 2013 03:02:46 PM UTC, comment #8:
> I don't know how to (and I think nothing has been done to allows to) deeply customize enunciations (theorems). If I furnish stuff, it will be mostly incompatible with standard enunciation handling.
In fact, even in a non compatible way, I cope with big difficulties.
I will work on {im,ex}porting sessions with and without ornaments.
|
Wed 04 Dec 2013 02:57:47 PM UTC, comment #7:
> I don't know how to make it for bloc content.
It seems not really possible with css stuff. Webdesigners use JQuery for this purpose.
|
Tue 03 Dec 2013 02:16:31 PM UTC, comment #6:
Here is an example of margin note displayed via css properties. But again, it is limited to inline content. I don't know how to make it for bloc content.
(file #29772)
|
Tue 03 Dec 2013 01:34:57 PM UTC, comment #5:
Here is an example of balloon displayed via css properties. But it is limited to inline content. I don't know how to make it for bloc content.
(file #29768)
|
Tue 03 Dec 2013 10:06:29 AM UTC, comment #4:
> Margipar in Html: you might use a balloon, if you know how to do that in Html, and display a small marker for triggering the balloon.
I will check if it's possible with css. If not, it will be possible in JS.
> Maybe CSS allows you to implement real marginal notes, too.
I am not expert of html but I think that, to do so, we should have a body with a max width.
|
Tue 03 Dec 2013 10:00:33 AM UTC, comment #3:
For ornament into LaTeX, here is a proof of concept (See joint files).
Actually, II know how to make fancy environments into LaTeX, but I don't know how to (and I think nothing has been done to allows to) deeply customize enunciations (theorems). If I furnish stuff, it will be mostly incompatible with standard enunciation handling.
(file #29765, file #29766)
|
Mon 02 Dec 2013 09:58:26 PM UTC, comment #2:
Ornaments: full support is not required, but we should support basic frames with a given color, a given border color, a given border width and padding. In particular, the frames that you see in computer algebra sessions should be exported nicely.
Margipar in Html: you might use a balloon, if you know how to do that in Html, and display a small marker for triggering the balloon. Maybe CSS allows you to implement real marginal notes, too.
|
Mon 02 Dec 2013 11:18:44 AM UTC, comment #1:
For LaTeX:
- Marginpar are natively supported by TeX. This will be easy.
- For baloons, I will check but I think I can do it using hyperref.
- The most complicated is ornaments. I will have to create à framed environment, with color, padding, borders, corners and label options. This is possible. But it will be quite difficult to mix it with enunciations. I will have a look on it.
For HTML:
- For baloons, I can do it <span> and title attribute (title specifies extra information about an element (displayed as a tool tip)).
- For ornaments, I will use div with style properties.
- Marginpar are meaningless in html.How do you think we should render it?
|
Fri 29 Nov 2013 11:01:09 PM UTC, original submission:
A few new primitives have been added to TeXmacs: better ornaments for nicer presentations and CAS sessions, as well as marginal notes, balloons, and possibly more. These new primitives should be imported/exported correctly from/to LaTeX and Html.
Ornaments are in particular used in our new framed CAS sessions, which are extensively used in the Mathemagix documentation. Appropriate conversion of ornaments to both LaTeX and Html is therefore important, at least standard ornaments with specified background colors, padding and border.
|