Re: LyXHTML Visual Appearance
On Tue, 08 May 2012 18:59:05 -0400 Richard Heck rgh...@comcast.net wrote: This is probably doable with a LyX module. If you send me the JS code you need, I can probably come up with one fairly quickly. This again is a nice aspect of the modularity of the code and the way LyX's internal converter re-uses existing LyX constructs. I've found the following: http://stackoverflow.com/questions/605888/whats-the-search-engine-used-in-the-new-python-documentation and the answer points to the following JS code, among other things: http://sphinx.pocoo.org/_static/searchtools.js No idea, however, how it can fit into LyX... Sincerely, Gour -- Even a man of knowledge acts according to his own nature, for everyone follows the nature he has acquired from the three modes. What can repression accomplish? http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 -- As a lamp in a windless place does not waver, so the transcendentalist, whose mind is controlled, remains always steady in his meditation on the transcendent self. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On Tue, 08 May 2012 18:59:05 -0400 Richard Heck rgh...@comcast.net wrote: This is probably doable with a LyX module. If you send me the JS code you need, I can probably come up with one fairly quickly. This again is a nice aspect of the modularity of the code and the way LyX's internal converter re-uses existing LyX constructs. I've found the following: http://stackoverflow.com/questions/605888/whats-the-search-engine-used-in-the-new-python-documentation and the answer points to the following JS code, among other things: http://sphinx.pocoo.org/_static/searchtools.js No idea, however, how it can fit into LyX... Sincerely, Gour -- Even a man of knowledge acts according to his own nature, for everyone follows the nature he has acquired from the three modes. What can repression accomplish? http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 -- As a lamp in a windless place does not waver, so the transcendentalist, whose mind is controlled, remains always steady in his meditation on the transcendent self. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On Tue, 08 May 2012 18:59:05 -0400 Richard Heckwrote: > This is probably doable with a LyX module. If you send me the JS code > you need, I can probably come up with one fairly quickly. This again > is a nice aspect of the modularity of the code and the way LyX's > internal converter re-uses existing LyX constructs. I've found the following: http://stackoverflow.com/questions/605888/whats-the-search-engine-used-in-the-new-python-documentation and the answer points to the following JS code, among other things: http://sphinx.pocoo.org/_static/searchtools.js No idea, however, how it can fit into LyX... Sincerely, Gour -- Even a man of knowledge acts according to his own nature, for everyone follows the nature he has acquired from the three modes. What can repression accomplish? http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 -- As a lamp in a windless place does not waver, so the transcendentalist, whose mind is controlled, remains always steady in his meditation on the transcendent self. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On Mon, 07 May 2012 15:17:50 -0400 Richard Heck rgh...@comcast.net wrote: Yes. But it's all very modular, as the rest of the code is, so it's fairly easy to mess with different parts. At the moment I'm trying to learn D...did C(++) long ago, but C++ evolved quite a bit since then, so I'm not sure how would I orient myself with the code. Otoh, do you maybe consider adding some Javascript code to the generated output in order to get Search facility similar to the one available in Sphinx? Sincerely, Gour -- What is night for all beings is the time of awakening for the self-controlled; and the time of awakening for all beings is night for the introspective sage. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 -- In this endeavor there is no loss or diminution, and a little advancement on this path can protect one from the most dangerous type of fear. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On 05/08/2012 03:57 AM, Gour wrote: On Mon, 07 May 2012 15:17:50 -0400 Richard Heckrgh...@comcast.net wrote: Yes. But it's all very modular, as the rest of the code is, so it's fairly easy to mess with different parts. At the moment I'm trying to learn D...did C(++) long ago, but C++ evolved quite a bit since then, so I'm not sure how would I orient myself with the code. Otoh, do you maybe consider adding some Javascript code to the generated output in order to get Search facility similar to the one available in Sphinx? This is probably doable with a LyX module. If you send me the JS code you need, I can probably come up with one fairly quickly. This again is a nice aspect of the modularity of the code and the way LyX's internal converter re-uses existing LyX constructs. Richard
Re: LyXHTML Visual Appearance
On Mon, 07 May 2012 15:17:50 -0400 Richard Heck rgh...@comcast.net wrote: Yes. But it's all very modular, as the rest of the code is, so it's fairly easy to mess with different parts. At the moment I'm trying to learn D...did C(++) long ago, but C++ evolved quite a bit since then, so I'm not sure how would I orient myself with the code. Otoh, do you maybe consider adding some Javascript code to the generated output in order to get Search facility similar to the one available in Sphinx? Sincerely, Gour -- What is night for all beings is the time of awakening for the self-controlled; and the time of awakening for all beings is night for the introspective sage. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 -- In this endeavor there is no loss or diminution, and a little advancement on this path can protect one from the most dangerous type of fear. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On 05/08/2012 03:57 AM, Gour wrote: On Mon, 07 May 2012 15:17:50 -0400 Richard Heckrgh...@comcast.net wrote: Yes. But it's all very modular, as the rest of the code is, so it's fairly easy to mess with different parts. At the moment I'm trying to learn D...did C(++) long ago, but C++ evolved quite a bit since then, so I'm not sure how would I orient myself with the code. Otoh, do you maybe consider adding some Javascript code to the generated output in order to get Search facility similar to the one available in Sphinx? This is probably doable with a LyX module. If you send me the JS code you need, I can probably come up with one fairly quickly. This again is a nice aspect of the modularity of the code and the way LyX's internal converter re-uses existing LyX constructs. Richard
Re: LyXHTML Visual Appearance
On Mon, 07 May 2012 15:17:50 -0400 Richard Heckwrote: > Yes. But it's all very modular, as the rest of the code is, so it's > fairly easy to mess with different parts. At the moment I'm trying to learn D...did C(++) long ago, but C++ evolved quite a bit since then, so I'm not sure how would I orient myself with the code. Otoh, do you maybe consider adding some Javascript code to the generated output in order to get Search facility similar to the one available in Sphinx? Sincerely, Gour -- What is night for all beings is the time of awakening for the self-controlled; and the time of awakening for all beings is night for the introspective sage. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 -- In this endeavor there is no loss or diminution, and a little advancement on this path can protect one from the most dangerous type of fear. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On 05/08/2012 03:57 AM, Gour wrote: On Mon, 07 May 2012 15:17:50 -0400 Richard Heckwrote: Yes. But it's all very modular, as the rest of the code is, so it's fairly easy to mess with different parts. At the moment I'm trying to learn D...did C(++) long ago, but C++ evolved quite a bit since then, so I'm not sure how would I orient myself with the code. Otoh, do you maybe consider adding some Javascript code to the generated output in order to get Search facility similar to the one available in Sphinx? This is probably doable with a LyX module. If you send me the JS code you need, I can probably come up with one fairly quickly. This again is a nice aspect of the modularity of the code and the way LyX's internal converter re-uses existing LyX constructs. Richard
Re: LyXHTML Visual Appearance
On Sun, 06 May 2012 16:26:17 -0400 Richard Heck rgh...@comcast.net wrote: The output is mostly driven by layout files, which is what LyX uses also in the case of LaTeX output to know what to do with a section heading. I see... Some of this concerns appearance in LyX itself; some concerns the LaTeX output; the last bit is XHTML info. Of course, the appearance of the h2 tag itself can be customized via CSS. That information can also be put into the layout file, if you wish. See e.g. stdstruct.inc. Thank you. This is on the To-Do list. I'm hoping to get to it early in the summer. It won't be hard, but it'll take a bit of time to get right. OK. I'm also curios if there is plan for LyXHTML/eLyXer to add some JS-based search like it's done in Sphinx (http://sphinx.pocoo.org/index.html) Sincerely, Gour -- Those who are on this path are resolute in purpose, and their aim is one. O beloved child of the Kurus, the intelligence of those who are irresolute is many-branched. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 -- Before giving up this present body, if one is able to tolerate the urges of the material senses and check the force of desire and anger, he is well situated and is happy in this world. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On Mon, May 7, 2012 at 11:27 AM, Gour g...@atmarama.net wrote: I'm also curios if there is plan for LyXHTML/eLyXer to add some JS-based search like it's done in Sphinx (http://sphinx.pocoo.org/index.html) Definitely not for eLyXer, at least at the moment. Alex.
Re: LyXHTML Visual Appearance
Gour wrote: On Sun, 6 May 2012 20:31:52 +0200 Alex Fernandez ely...@gmail.com wrote: If it works for you, then it is not obsolete! :) Sure...just wonder what is the objective of 'internal' converter if not just duplicating the feature(s) ? The objective was to do the convertor 'internally' right and more longlived (i.e. independent on fileformat) than 3rd party convertors which at certain point die out of resources and stop working after some years due to eternally changing format of .lyx files. There was time when we discussed inclusion of eLyXer into LyX, but we were not able to agree with Alex (father of eLyXer) what should be the right (TM:) technical approach. So the new one, LyXHTML maintained by the LyX team, was born and as a result there are now two convertors, each of them different flavour and philosophy behind. Pavel
Re: LyXHTML Visual Appearance
On 05/06/2012 04:56 PM, Alex Fernandez wrote: On Sun, May 6, 2012 at 10:24 PM, Gour g...@atmarama.net mailto:g...@atmarama.net wrote: Sure...just wonder what is the objective of 'internal' converter if not just duplicating the feature(s) ? The internal converter has several advantages, in principle, over elyxer. The basic one is that it knows everything that LyX knows about the document being exported. For example, it has access to what LyX knows about i18n, so it will happily output, e.g., Kapitel 1 in a German document, and so forth. It also knows all about layout files, so if you define some custom character style, LyX will be able to export it using whatever information you provided about how it is to be displayed in LyX itself, even if you do not provide custom CSS (which you can also do): We create default CSS based on the display information. That's the basic reason, as Pavel said, that the LyX team decided the internal approach was the right one. There are other reasons, too, but we needn't get into them. Richard
Re: LyXHTML Visual Appearance
On Mon, 07 May 2012 09:36:06 -0400 Richard Heck rgh...@comcast.net wrote: The internal converter has several advantages, in principle, over elyxer. The basic one is that it knows everything that LyX knows about the document being exported. For example, it has access to what LyX knows about i18n, so it will happily output, e.g., Kapitel 1 in a German document, and so forth. It also knows all about layout files, so if you define some custom character style, LyX will be able to export it using whatever information you provided about how it is to be displayed in LyX itself, even if you do not provide custom CSS (which you can also do): We create default CSS based on the display information. It sounds very good. By having strong LyX -- (X)HTML converter, my need to (re)consider using some markup (AsciiDoc/reST ) language is diminishing rapidly. :-) That's the basic reason, as Pavel said, that the LyX team decided the internal approach was the right one. I assume it's written in C++ as the rest of the code, right? Sincerely, Gour -- A person is said to be established in self-realization and is called a yogī [or mystic] when he is fully satisfied by virtue of acquired knowledge and realization. Such a person is situated in transcendence and is self-controlled. He sees everything — whether it be pebbles, stones or gold — as the same. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On 05/07/2012 09:49 AM, Gour wrote: On Mon, 07 May 2012 09:36:06 -0400 Richard Heckrgh...@comcast.net wrote: The internal converter has several advantages, in principle, over elyxer. The basic one is that it knows everything that LyX knows about the document being exported. For example, it has access to what LyX knows about i18n, so it will happily output, e.g., Kapitel 1 in a German document, and so forth. It also knows all about layout files, so if you define some custom character style, LyX will be able to export it using whatever information you provided about how it is to be displayed in LyX itself, even if you do not provide custom CSS (which you can also do): We create default CSS based on the display information. It sounds very good. By having strong LyX -- (X)HTML converter, my need to (re)consider using some markup (AsciiDoc/reST ) language is diminishing rapidly. :-) That's the basic reason, as Pavel said, that the LyX team decided the internal approach was the right one. I assume it's written in C++ as the rest of the code, right? Yes. But it's all very modular, as the rest of the code is, so it's fairly easy to mess with different parts. Richard
Re: LyXHTML Visual Appearance
On Sun, 06 May 2012 16:26:17 -0400 Richard Heck rgh...@comcast.net wrote: The output is mostly driven by layout files, which is what LyX uses also in the case of LaTeX output to know what to do with a section heading. I see... Some of this concerns appearance in LyX itself; some concerns the LaTeX output; the last bit is XHTML info. Of course, the appearance of the h2 tag itself can be customized via CSS. That information can also be put into the layout file, if you wish. See e.g. stdstruct.inc. Thank you. This is on the To-Do list. I'm hoping to get to it early in the summer. It won't be hard, but it'll take a bit of time to get right. OK. I'm also curios if there is plan for LyXHTML/eLyXer to add some JS-based search like it's done in Sphinx (http://sphinx.pocoo.org/index.html) Sincerely, Gour -- Those who are on this path are resolute in purpose, and their aim is one. O beloved child of the Kurus, the intelligence of those who are irresolute is many-branched. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 -- Before giving up this present body, if one is able to tolerate the urges of the material senses and check the force of desire and anger, he is well situated and is happy in this world. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On Mon, May 7, 2012 at 11:27 AM, Gour g...@atmarama.net wrote: I'm also curios if there is plan for LyXHTML/eLyXer to add some JS-based search like it's done in Sphinx (http://sphinx.pocoo.org/index.html) Definitely not for eLyXer, at least at the moment. Alex.
Re: LyXHTML Visual Appearance
Gour wrote: On Sun, 6 May 2012 20:31:52 +0200 Alex Fernandez ely...@gmail.com wrote: If it works for you, then it is not obsolete! :) Sure...just wonder what is the objective of 'internal' converter if not just duplicating the feature(s) ? The objective was to do the convertor 'internally' right and more longlived (i.e. independent on fileformat) than 3rd party convertors which at certain point die out of resources and stop working after some years due to eternally changing format of .lyx files. There was time when we discussed inclusion of eLyXer into LyX, but we were not able to agree with Alex (father of eLyXer) what should be the right (TM:) technical approach. So the new one, LyXHTML maintained by the LyX team, was born and as a result there are now two convertors, each of them different flavour and philosophy behind. Pavel
Re: LyXHTML Visual Appearance
On 05/06/2012 04:56 PM, Alex Fernandez wrote: On Sun, May 6, 2012 at 10:24 PM, Gour g...@atmarama.net mailto:g...@atmarama.net wrote: Sure...just wonder what is the objective of 'internal' converter if not just duplicating the feature(s) ? The internal converter has several advantages, in principle, over elyxer. The basic one is that it knows everything that LyX knows about the document being exported. For example, it has access to what LyX knows about i18n, so it will happily output, e.g., Kapitel 1 in a German document, and so forth. It also knows all about layout files, so if you define some custom character style, LyX will be able to export it using whatever information you provided about how it is to be displayed in LyX itself, even if you do not provide custom CSS (which you can also do): We create default CSS based on the display information. That's the basic reason, as Pavel said, that the LyX team decided the internal approach was the right one. There are other reasons, too, but we needn't get into them. Richard
Re: LyXHTML Visual Appearance
On Mon, 07 May 2012 09:36:06 -0400 Richard Heck rgh...@comcast.net wrote: The internal converter has several advantages, in principle, over elyxer. The basic one is that it knows everything that LyX knows about the document being exported. For example, it has access to what LyX knows about i18n, so it will happily output, e.g., Kapitel 1 in a German document, and so forth. It also knows all about layout files, so if you define some custom character style, LyX will be able to export it using whatever information you provided about how it is to be displayed in LyX itself, even if you do not provide custom CSS (which you can also do): We create default CSS based on the display information. It sounds very good. By having strong LyX -- (X)HTML converter, my need to (re)consider using some markup (AsciiDoc/reST ) language is diminishing rapidly. :-) That's the basic reason, as Pavel said, that the LyX team decided the internal approach was the right one. I assume it's written in C++ as the rest of the code, right? Sincerely, Gour -- A person is said to be established in self-realization and is called a yogī [or mystic] when he is fully satisfied by virtue of acquired knowledge and realization. Such a person is situated in transcendence and is self-controlled. He sees everything — whether it be pebbles, stones or gold — as the same. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On 05/07/2012 09:49 AM, Gour wrote: On Mon, 07 May 2012 09:36:06 -0400 Richard Heckrgh...@comcast.net wrote: The internal converter has several advantages, in principle, over elyxer. The basic one is that it knows everything that LyX knows about the document being exported. For example, it has access to what LyX knows about i18n, so it will happily output, e.g., Kapitel 1 in a German document, and so forth. It also knows all about layout files, so if you define some custom character style, LyX will be able to export it using whatever information you provided about how it is to be displayed in LyX itself, even if you do not provide custom CSS (which you can also do): We create default CSS based on the display information. It sounds very good. By having strong LyX -- (X)HTML converter, my need to (re)consider using some markup (AsciiDoc/reST ) language is diminishing rapidly. :-) That's the basic reason, as Pavel said, that the LyX team decided the internal approach was the right one. I assume it's written in C++ as the rest of the code, right? Yes. But it's all very modular, as the rest of the code is, so it's fairly easy to mess with different parts. Richard
Re: LyXHTML Visual Appearance
On Sun, 06 May 2012 16:26:17 -0400 Richard Heckwrote: > The output is mostly driven by layout files, which is what LyX uses > also in the case of LaTeX output to know what to do with a section > heading. I see... > Some of this concerns appearance in LyX itself; some concerns the > LaTeX output; the last bit is XHTML info. Of course, the appearance of > the h2 tag itself can be customized via CSS. That information can also > be put into the layout file, if you wish. See e.g. stdstruct.inc. Thank you. > This is on the To-Do list. I'm hoping to get to it early in the > summer. It won't be hard, but it'll take a bit of time to get right. OK. I'm also curios if there is plan for LyXHTML/eLyXer to add some JS-based search like it's done in Sphinx (http://sphinx.pocoo.org/index.html) Sincerely, Gour -- Those who are on this path are resolute in purpose, and their aim is one. O beloved child of the Kurus, the intelligence of those who are irresolute is many-branched. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 -- Before giving up this present body, if one is able to tolerate the urges of the material senses and check the force of desire and anger, he is well situated and is happy in this world. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On Mon, May 7, 2012 at 11:27 AM, Gourwrote: > I'm also curios if there is plan for LyXHTML/eLyXer to add some JS-based > search like it's done in Sphinx (http://sphinx.pocoo.org/index.html) > Definitely not for eLyXer, at least at the moment. Alex.
Re: LyXHTML Visual Appearance
Gour wrote: > On Sun, 6 May 2012 20:31:52 +0200 > Alex Fernandezwrote: > > > If it works for you, then it is not obsolete! :) > > Sure...just wonder what is the objective of 'internal' converter if not > just duplicating the feature(s) ? The objective was to do the convertor 'internally' right and more longlived (i.e. independent on fileformat) than 3rd party convertors which at certain point die out of resources and stop working after some years due to eternally changing format of .lyx files. There was time when we discussed inclusion of eLyXer into LyX, but we were not able to agree with Alex (father of eLyXer) what should be the right (TM:) technical approach. So the new one, LyXHTML maintained by the LyX team, was born and as a result there are now two convertors, each of them different flavour and philosophy behind. Pavel
Re: LyXHTML Visual Appearance
On 05/06/2012 04:56 PM, Alex Fernandez wrote: On Sun, May 6, 2012 at 10:24 PM, Gour> wrote: Sure...just wonder what is the objective of 'internal' converter if not just duplicating the feature(s) ? The internal converter has several advantages, in principle, over elyxer. The basic one is that it knows everything that LyX knows about the document being exported. For example, it has access to what LyX knows about i18n, so it will happily output, e.g., "Kapitel 1" in a German document, and so forth. It also knows all about layout files, so if you define some custom character style, LyX will be able to export it using whatever information you provided about how it is to be displayed in LyX itself, even if you do not provide custom CSS (which you can also do): We create default CSS based on the display information. That's the basic reason, as Pavel said, that the LyX team decided the "internal" approach was the right one. There are other reasons, too, but we needn't get into them. Richard
Re: LyXHTML Visual Appearance
On Mon, 07 May 2012 09:36:06 -0400 Richard Heckwrote: > The internal converter has several advantages, in principle, over > elyxer. The basic one is that it knows everything that LyX knows about > the document being exported. For example, it has access to what LyX > knows about i18n, so it will happily output, e.g., "Kapitel 1" in a > German document, and so forth. It also knows all about layout files, > so if you define some custom character style, LyX will be able to > export it using whatever information you provided about how it is to > be displayed in LyX itself, even if you do not provide custom CSS > (which you can also do): We create default CSS based on the display > information. It sounds very good. By having strong LyX --> (X)HTML converter, my need to (re)consider using some markup (AsciiDoc/reST ) language is diminishing rapidly. :-) > That's the basic reason, as Pavel said, that the LyX team decided the > "internal" approach was the right one. I assume it's written in C++ as the rest of the code, right? Sincerely, Gour -- A person is said to be established in self-realization and is called a yogī [or mystic] when he is fully satisfied by virtue of acquired knowledge and realization. Such a person is situated in transcendence and is self-controlled. He sees everything — whether it be pebbles, stones or gold — as the same. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On 05/07/2012 09:49 AM, Gour wrote: On Mon, 07 May 2012 09:36:06 -0400 Richard Heckwrote: The internal converter has several advantages, in principle, over elyxer. The basic one is that it knows everything that LyX knows about the document being exported. For example, it has access to what LyX knows about i18n, so it will happily output, e.g., "Kapitel 1" in a German document, and so forth. It also knows all about layout files, so if you define some custom character style, LyX will be able to export it using whatever information you provided about how it is to be displayed in LyX itself, even if you do not provide custom CSS (which you can also do): We create default CSS based on the display information. It sounds very good. By having strong LyX --> (X)HTML converter, my need to (re)consider using some markup (AsciiDoc/reST ) language is diminishing rapidly. :-) That's the basic reason, as Pavel said, that the LyX team decided the "internal" approach was the right one. I assume it's written in C++ as the rest of the code, right? Yes. But it's all very modular, as the rest of the code is, so it's fairly easy to mess with different parts. Richard
Re: LyXHTML Visual Appearance
On Fri, 27 Apr 2012 09:43:38 -0400 Richard Heck rgh...@comcast.net wrote: Hello, excuse me for jumping a bit late into this thread...but we are seriously considering to use LyX as our 'markup tool of the choise instead of AsciiDoc or resT/Sphinx. Few days ago we hit a problem whne wanting to produce floating image (wrap text around lef/right-aligned image) and it seems that it's not possible to do it using neither FOP nor bblatex AsciiDoc backends. In the reST/Sphinx arena, we came to know that rst2pdf cannot do it as well (due to limit in Reportlab), which leaves as only with reST/Sphinx. Otoh, we're able to quickly produce desired effect in LyX which makes us thing to give up on both AsciiDoc and reST/Sphinx and simply use LyX. Regarding the visual appearance, then, I should say that LyX's own HTML output and elyxer *both* pretty exclusively use CSS to style the document. So one can in fact change the appearance quite easily, either by editing the CSS manually, once the file's been exported, or else by using the usual customization methods within LyX: layout files, modules, local layout, and so forth. So it's worth distinguishing these two issues. I do not want to say that LyXHTML output is ugly, but we wonder where to find more info how to customize output to come close to the output generated by bith AsciiDoc as well as Sphinx? Moreover, we're curios if LyXHTML can be configured to produce chunked XHTML output with navigation links? Sincerely, Gour -- But for one who takes pleasure in the self, whose human life is one of self-realization, and who is satisfied in the self only, fully satiated — for him there is no duty. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
Hi Gour, On Sun, May 6, 2012 at 3:06 PM, Gour g...@atmarama.net wrote: Moreover, we're curios if LyXHTML can be configured to produce chunked XHTML output with navigation links? You can try eLyXer, which does output paged content with navigation links. http://elyxer.nongnu.org/userguide.html You can download it from the front page: http://elyxer.nongnu.org/index.html Thanks, Alex.
Re: LyXHTML Visual Appearance
On Sun, 6 May 2012 15:49:41 +0200 Alex Fernandez ely...@gmail.com wrote: You can try eLyXer, which does output paged content with navigation links. http://elyxer.nongnu.org/userguide.html Thank you. It works OK. I knew about it, but considered that it is (maybe) obsolete considering that LyX now ships with its own LyXHTML converter. Sincerely, Gour -- He who is regulated in his habits of eating, sleeping, recreation and work can mitigate all material pains by practicing the yoga system. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On Sun, May 6, 2012 at 5:07 PM, Gour g...@atmarama.net wrote: On Sun, 6 May 2012 15:49:41 +0200 Alex Fernandez ely...@gmail.com wrote: You can try eLyXer, which does output paged content with navigation links. http://elyxer.nongnu.org/userguide.html Thank you. It works OK. I knew about it, but considered that it is (maybe) obsolete considering that LyX now ships with its own LyXHTML converter. If it works for you, then it is not obsolete! :) Alex.
Re: LyXHTML Visual Appearance
On Sun, 6 May 2012 20:31:52 +0200 Alex Fernandez ely...@gmail.com wrote: If it works for you, then it is not obsolete! :) Sure...just wonder what is the objective of 'internal' converter if not just duplicating the feature(s) ? Sincerely, Gour -- -- signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On 05/06/2012 09:06 AM, Gour wrote: On Fri, 27 Apr 2012 09:43:38 -0400 Richard Heckrgh...@comcast.net wrote: Regarding the visual appearance, then, I should say that LyX's own HTML output and elyxer *both* pretty exclusively use CSS to style the document. So one can in fact change the appearance quite easily, either by editing the CSS manually, once the file's been exported, or else by using the usual customization methods within LyX: layout files, modules, local layout, and so forth. So it's worth distinguishing these two issues. I do not want to say that LyXHTML output is ugly, but we wonder where to find more info how to customize output to come close to the output generated by bith AsciiDoc as well as Sphinx? The output is mostly driven by layout files, which is what LyX uses also in the case of LaTeX output to know what to do with a section heading. So we have e.g. in stdsections.inc: Style Section Category Section MarginDynamic LabelType Counter LabelCounter section TocLevel 1 LatexType Command LatexName section HTMLTag h2 End Some of this concerns appearance in LyX itself; some concerns the LaTeX output; the last bit is XHTML info. Of course, the appearance of the h2 tag itself can be customized via CSS. That information can also be put into the layout file, if you wish. See e.g. stdstruct.inc. Moreover, we're curios if LyXHTML can be configured to produce chunked XHTML output with navigation links? This is on the To-Do list. I'm hoping to get to it early in the summer. It won't be hard, but it'll take a bit of time to get right. Richard
Re: LyXHTML Visual Appearance
On Sun, May 6, 2012 at 10:24 PM, Gour g...@atmarama.net wrote: On Sun, 6 May 2012 20:31:52 +0200 Alex Fernandez ely...@gmail.com wrote: If it works for you, then it is not obsolete! :) Sure...just wonder what is the objective of 'internal' converter if not just duplicating the feature(s) ? Hard for me to say since I am not involved with the internal converter, but I gather it is not there yet in many respects. Alex.
Re: LyXHTML Visual Appearance
On Fri, 27 Apr 2012 09:43:38 -0400 Richard Heck rgh...@comcast.net wrote: Hello, excuse me for jumping a bit late into this thread...but we are seriously considering to use LyX as our 'markup tool of the choise instead of AsciiDoc or resT/Sphinx. Few days ago we hit a problem whne wanting to produce floating image (wrap text around lef/right-aligned image) and it seems that it's not possible to do it using neither FOP nor bblatex AsciiDoc backends. In the reST/Sphinx arena, we came to know that rst2pdf cannot do it as well (due to limit in Reportlab), which leaves as only with reST/Sphinx. Otoh, we're able to quickly produce desired effect in LyX which makes us thing to give up on both AsciiDoc and reST/Sphinx and simply use LyX. Regarding the visual appearance, then, I should say that LyX's own HTML output and elyxer *both* pretty exclusively use CSS to style the document. So one can in fact change the appearance quite easily, either by editing the CSS manually, once the file's been exported, or else by using the usual customization methods within LyX: layout files, modules, local layout, and so forth. So it's worth distinguishing these two issues. I do not want to say that LyXHTML output is ugly, but we wonder where to find more info how to customize output to come close to the output generated by bith AsciiDoc as well as Sphinx? Moreover, we're curios if LyXHTML can be configured to produce chunked XHTML output with navigation links? Sincerely, Gour -- But for one who takes pleasure in the self, whose human life is one of self-realization, and who is satisfied in the self only, fully satiated — for him there is no duty. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
Hi Gour, On Sun, May 6, 2012 at 3:06 PM, Gour g...@atmarama.net wrote: Moreover, we're curios if LyXHTML can be configured to produce chunked XHTML output with navigation links? You can try eLyXer, which does output paged content with navigation links. http://elyxer.nongnu.org/userguide.html You can download it from the front page: http://elyxer.nongnu.org/index.html Thanks, Alex.
Re: LyXHTML Visual Appearance
On Sun, 6 May 2012 15:49:41 +0200 Alex Fernandez ely...@gmail.com wrote: You can try eLyXer, which does output paged content with navigation links. http://elyxer.nongnu.org/userguide.html Thank you. It works OK. I knew about it, but considered that it is (maybe) obsolete considering that LyX now ships with its own LyXHTML converter. Sincerely, Gour -- He who is regulated in his habits of eating, sleeping, recreation and work can mitigate all material pains by practicing the yoga system. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On Sun, May 6, 2012 at 5:07 PM, Gour g...@atmarama.net wrote: On Sun, 6 May 2012 15:49:41 +0200 Alex Fernandez ely...@gmail.com wrote: You can try eLyXer, which does output paged content with navigation links. http://elyxer.nongnu.org/userguide.html Thank you. It works OK. I knew about it, but considered that it is (maybe) obsolete considering that LyX now ships with its own LyXHTML converter. If it works for you, then it is not obsolete! :) Alex.
Re: LyXHTML Visual Appearance
On Sun, 6 May 2012 20:31:52 +0200 Alex Fernandez ely...@gmail.com wrote: If it works for you, then it is not obsolete! :) Sure...just wonder what is the objective of 'internal' converter if not just duplicating the feature(s) ? Sincerely, Gour -- -- signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On 05/06/2012 09:06 AM, Gour wrote: On Fri, 27 Apr 2012 09:43:38 -0400 Richard Heckrgh...@comcast.net wrote: Regarding the visual appearance, then, I should say that LyX's own HTML output and elyxer *both* pretty exclusively use CSS to style the document. So one can in fact change the appearance quite easily, either by editing the CSS manually, once the file's been exported, or else by using the usual customization methods within LyX: layout files, modules, local layout, and so forth. So it's worth distinguishing these two issues. I do not want to say that LyXHTML output is ugly, but we wonder where to find more info how to customize output to come close to the output generated by bith AsciiDoc as well as Sphinx? The output is mostly driven by layout files, which is what LyX uses also in the case of LaTeX output to know what to do with a section heading. So we have e.g. in stdsections.inc: Style Section Category Section MarginDynamic LabelType Counter LabelCounter section TocLevel 1 LatexType Command LatexName section HTMLTag h2 End Some of this concerns appearance in LyX itself; some concerns the LaTeX output; the last bit is XHTML info. Of course, the appearance of the h2 tag itself can be customized via CSS. That information can also be put into the layout file, if you wish. See e.g. stdstruct.inc. Moreover, we're curios if LyXHTML can be configured to produce chunked XHTML output with navigation links? This is on the To-Do list. I'm hoping to get to it early in the summer. It won't be hard, but it'll take a bit of time to get right. Richard
Re: LyXHTML Visual Appearance
On Sun, May 6, 2012 at 10:24 PM, Gour g...@atmarama.net wrote: On Sun, 6 May 2012 20:31:52 +0200 Alex Fernandez ely...@gmail.com wrote: If it works for you, then it is not obsolete! :) Sure...just wonder what is the objective of 'internal' converter if not just duplicating the feature(s) ? Hard for me to say since I am not involved with the internal converter, but I gather it is not there yet in many respects. Alex.
Re: LyXHTML Visual Appearance
On Fri, 27 Apr 2012 09:43:38 -0400 Richard Heckwrote: Hello, excuse me for jumping a bit late into this thread...but we are seriously considering to use LyX as our 'markup tool of the choise" instead of AsciiDoc or resT/Sphinx. Few days ago we hit a problem whne wanting to produce floating image (wrap text around lef/right-aligned image) and it seems that it's not possible to do it using neither FOP nor bblatex AsciiDoc backends. In the reST/Sphinx arena, we came to know that rst2pdf cannot do it as well (due to limit in Reportlab), which leaves as only with reST/Sphinx. Otoh, we're able to quickly produce desired effect in LyX which makes us thing to give up on both AsciiDoc and reST/Sphinx and simply use LyX. > Regarding the visual appearance, then, I should say that LyX's own > HTML output and elyxer *both* pretty exclusively use CSS to style the > document. So one can in fact change the appearance quite easily, > either by editing the CSS manually, once the file's been exported, or > else by using the usual customization methods within LyX: layout > files, modules, local layout, and so forth. So it's worth > distinguishing these two issues. I do not want to say that LyXHTML output is ugly, but we wonder where to find more info how to customize output to come close to the output generated by bith AsciiDoc as well as Sphinx? Moreover, we're curios if LyXHTML can be configured to produce chunked XHTML output with navigation links? Sincerely, Gour -- But for one who takes pleasure in the self, whose human life is one of self-realization, and who is satisfied in the self only, fully satiated — for him there is no duty. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
Hi Gour, On Sun, May 6, 2012 at 3:06 PM, Gourwrote: > Moreover, we're curios if LyXHTML can be configured to produce chunked > XHTML output with navigation links? > You can try eLyXer, which does output paged content with navigation links. http://elyxer.nongnu.org/userguide.html You can download it from the front page: http://elyxer.nongnu.org/index.html Thanks, Alex.
Re: LyXHTML Visual Appearance
On Sun, 6 May 2012 15:49:41 +0200 Alex Fernandezwrote: > You can try eLyXer, which does output paged content with navigation > links. http://elyxer.nongnu.org/userguide.html Thank you. It works OK. I knew about it, but considered that it is (maybe) obsolete considering that LyX now ships with its own LyXHTML converter. Sincerely, Gour -- He who is regulated in his habits of eating, sleeping, recreation and work can mitigate all material pains by practicing the yoga system. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On Sun, May 6, 2012 at 5:07 PM, Gourwrote: > On Sun, 6 May 2012 15:49:41 +0200 > Alex Fernandez wrote: > > > You can try eLyXer, which does output paged content with navigation > > links. http://elyxer.nongnu.org/userguide.html > > Thank you. It works OK. I knew about it, but considered that it is > (maybe) obsolete considering that LyX now ships with its own LyXHTML > converter. > If it works for you, then it is not obsolete! :) Alex.
Re: LyXHTML Visual Appearance
On Sun, 6 May 2012 20:31:52 +0200 Alex Fernandezwrote: > If it works for you, then it is not obsolete! :) Sure...just wonder what is the objective of 'internal' converter if not just duplicating the feature(s) ? Sincerely, Gour -- -- signature.asc Description: PGP signature
Re: LyXHTML Visual Appearance
On 05/06/2012 09:06 AM, Gour wrote: On Fri, 27 Apr 2012 09:43:38 -0400 Richard Heckwrote: Regarding the visual appearance, then, I should say that LyX's own HTML output and elyxer *both* pretty exclusively use CSS to style the document. So one can in fact change the appearance quite easily, either by editing the CSS manually, once the file's been exported, or else by using the usual customization methods within LyX: layout files, modules, local layout, and so forth. So it's worth distinguishing these two issues. I do not want to say that LyXHTML output is ugly, but we wonder where to find more info how to customize output to come close to the output generated by bith AsciiDoc as well as Sphinx? The output is mostly driven by layout files, which is what LyX uses also in the case of LaTeX output to know what to do with a section heading. So we have e.g. in stdsections.inc: Style Section Category Section MarginDynamic LabelType Counter LabelCounter section TocLevel 1 LatexType Command LatexName section HTMLTag h2 End Some of this concerns appearance in LyX itself; some concerns the LaTeX output; the last bit is XHTML info. Of course, the appearance of the h2 tag itself can be customized via CSS. That information can also be put into the layout file, if you wish. See e.g. stdstruct.inc. Moreover, we're curios if LyXHTML can be configured to produce chunked XHTML output with navigation links? This is on the To-Do list. I'm hoping to get to it early in the summer. It won't be hard, but it'll take a bit of time to get right. Richard
Re: LyXHTML Visual Appearance
On Sun, May 6, 2012 at 10:24 PM, Gourwrote: > On Sun, 6 May 2012 20:31:52 +0200 > Alex Fernandez wrote: > > > If it works for you, then it is not obsolete! :) > > Sure...just wonder what is the objective of 'internal' converter if not > just duplicating the feature(s) ? > Hard for me to say since I am not involved with the internal converter, but I gather it is not there yet in many respects. Alex.
LyXHTML Visual Appearance
On 04/26/2012 11:30 PM, Raymond Lillard wrote: On 04/26/2012 04:48 PM, Richard Heck wrote: On 04/26/2012 06:27 PM, Raymond Lillard wrote: Sorry, but LyXHTML is too ugly for my taste. How so? Do you mean the visual output or the file structure, or? Richard, I'm not experienced enough at HTML to have an opinion on file structure. When I set the document default output to HTML (filtered through elyxer) the viewed document is more visually appealing than when set to LyXHTML. Perhaps ugly is too strong a word here, but I think most people would agree it looks dated. I didn't mean to give offense and please don't take my comment that way. No offense at all. It was a serious question, and people are going to have different opinions. Indeed, the question still stands: LyX is always in progress, and always subject to improvement. Regarding the visual appearance, then, I should say that LyX's own HTML output and elyxer *both* pretty exclusively use CSS to style the document. So one can in fact change the appearance quite easily, either by editing the CSS manually, once the file's been exported, or else by using the usual customization methods within LyX: layout files, modules, local layout, and so forth. So it's worth distinguishing these two issues. If there are specific things you think could be improved, please do let us know. It's not hard. Richard
LyXHTML Visual Appearance
On 04/26/2012 11:30 PM, Raymond Lillard wrote: On 04/26/2012 04:48 PM, Richard Heck wrote: On 04/26/2012 06:27 PM, Raymond Lillard wrote: Sorry, but LyXHTML is too ugly for my taste. How so? Do you mean the visual output or the file structure, or? Richard, I'm not experienced enough at HTML to have an opinion on file structure. When I set the document default output to HTML (filtered through elyxer) the viewed document is more visually appealing than when set to LyXHTML. Perhaps ugly is too strong a word here, but I think most people would agree it looks dated. I didn't mean to give offense and please don't take my comment that way. No offense at all. It was a serious question, and people are going to have different opinions. Indeed, the question still stands: LyX is always in progress, and always subject to improvement. Regarding the visual appearance, then, I should say that LyX's own HTML output and elyxer *both* pretty exclusively use CSS to style the document. So one can in fact change the appearance quite easily, either by editing the CSS manually, once the file's been exported, or else by using the usual customization methods within LyX: layout files, modules, local layout, and so forth. So it's worth distinguishing these two issues. If there are specific things you think could be improved, please do let us know. It's not hard. Richard
LyXHTML Visual Appearance
On 04/26/2012 11:30 PM, Raymond Lillard wrote: On 04/26/2012 04:48 PM, Richard Heck wrote: On 04/26/2012 06:27 PM, Raymond Lillard wrote: Sorry, but LyXHTML is too ugly for my taste. How so? Do you mean the visual output or the file structure, or? Richard, I'm not experienced enough at HTML to have an opinion on file structure. When I set the document default output to HTML (filtered through elyxer) the viewed document is more visually appealing than when set to LyXHTML. Perhaps ugly is too strong a word here, but I think most people would agree it looks dated. I didn't mean to give offense and please don't take my comment that way. No offense at all. It was a serious question, and people are going to have different opinions. Indeed, the question still stands: LyX is always in progress, and always subject to improvement. Regarding the visual appearance, then, I should say that LyX's own HTML output and elyxer *both* pretty exclusively use CSS to style the document. So one can in fact change the appearance quite easily, either by editing the CSS manually, once the file's been exported, or else by using the usual customization methods within LyX: layout files, modules, local layout, and so forth. So it's worth distinguishing these two issues. If there are specific things you think could be improved, please do let us know. It's not hard. Richard