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
Coloring
Hello, I was wondering whether I could use coloring in equations? For example, when using Mathematica or python (in IDE), brackets the like get colored; I've seen a pdf document recently which involved such coloring; is that possible in LyX? Thanks -- Sincerely Yours, -Merhebi, Bob Thunderbird Signature 0x66D60862.asc Description: application/pgp-keys
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: Using LyX for writing Internet RFCs
Nico Williams wrote: - a vi editing mode (I looked at the list archives, I know this has come up before) - a way to export to xml2rfc's XML schema asking for the obvious - have you tried Docbook XML output or xhtml output via LyXHTML? P
Re: Using LyX for writing Internet RFCs
On Mon, May 07, 2012 at 04:54 PM, Nico Williams n...@cryptonector.com wrote: from: Nico Williams n...@cryptonector.com date: Mon, May 07 10:54 AM -05:00 2012 to: lyx-users@lists.lyx.org subject: Using LyX for writing Internet RFCs I love LyX. I want two things it doesn't have/do today: - a vi editing mode (I looked at the list archives, I know this has come up before) As for a vi editing mode, I'm guessing the only way it'd be added to LyX is if someone who wants it goes and does the dev work. Sadly I don't have time to do that. Someday, when I go write a book, I may do it, but not anytime soon :( Nico -- me too! G
Re: Using LyX for writing Internet RFCs
On Mon, May 7, 2012 at 11:04 AM, Pavel Sanda sa...@lyx.org wrote: Nico Williams wrote: - a vi editing mode (I looked at the list archives, I know this has come up before) - a way to export to xml2rfc's XML schema asking for the obvious - have you tried Docbook XML output or xhtml output via LyXHTML? Is there an option for Docbook XML output? I didn't see it. So I export to TeX then convert using TeX4ht. Now, TeX4ht doesn't support more than one author, which is.. lame, but even so LyX doesn't have a way to represent all the author metadata I need. Latexml does a much better job of preserving multiple author information, and has a simpler schema too, but still... One possibility is to store author data in xml2rfc format and emit directives from the XSLT stylesheet to include xml files named after the authors. Nico --
Straghtforward XML export?
The LaTeX-XML tools I've tried leave me... sad. They tend to drop some things. For example: vertical space, which becomes a simple newline in a paragraph's text. It would be better to translate vertical space into vspace/ elements -- that'd be much, much more useful in XSLT than embedded newlines! So I'm wondering: why couldn't LyX export to XML using a native schema that preserves as much LyX markup as possible, indeed, if not all of it? How does LyX represent documents internally? If it does it in an objectified form then it should be fairly straightforward to walk the document tree and emit XML, no? Or, looking at .lyx files, maybe it should be possible to script a simple LyX-XML conversion has anyone tried this before? Nico --
Re: Straghtforward XML export?
Nico Williams wrote: The LaTeX-XML tools I've tried leave me... sad. They tend to drop some things. For example: vertical space, which becomes a simple newline in a paragraph's text. It would be better to translate vertical space into vspace/ elements -- that'd be much, much more useful in XSLT than embedded newlines! So I'm wondering: why couldn't LyX export to XML using a native schema that preserves as much LyX markup as possible, indeed, if not all of it? google says: http://bgu.perso.libertysurf.fr/doc/db4lyx/ http://www.neomantic.com/tutorials/lyx-and-docbookXML/ How does LyX represent documents internally? If it does it in an objectified form then it should be fairly straightforward to walk the document tree and emit XML, no? Or, looking at .lyx files, maybe it should be possible to script a simple LyX-XML conversion has anyone tried this before? we miss someone who knows docbook/sgml/xml rather well and would like to help to bring lyx output more up-to-date or at least clearly state what needs to be done. http://article.gmane.org/gmane.editors.lyx.devel/119220 p
Re: Coloring
Just to clear it out; I meant highlighting by coloring IDLE by IDE. Thanks On Mon 07 May 2012 01:40:09 PM EEST, Merhebi, Bob wrote: Hello, I was wondering whether I could use coloring in equations? For example, when using Mathematica or python (in IDE), brackets the like get colored; I've seen a pdf document recently which involved such coloring; is that possible in LyX? Thanks -- Sincerely Yours, -Merhebi, Bob Thunderbird Signature
Re: Straghtforward XML export?
On Mon, May 7, 2012 at 12:07 PM, Pavel Sanda sa...@lyx.org wrote: Nico Williams wrote: The LaTeX-XML tools I've tried leave me... sad. They tend to drop some things. For example: vertical space, which becomes a simple newline in a paragraph's text. It would be better to translate vertical space into vspace/ elements -- that'd be much, much more useful in XSLT than embedded newlines! So I'm wondering: why couldn't LyX export to XML using a native schema that preserves as much LyX markup as possible, indeed, if not all of it? google says: http://bgu.perso.libertysurf.fr/doc/db4lyx/ I did see that link when I was researching this. It's very out of date. http://www.neomantic.com/tutorials/lyx-and-docbookXML/ This I hadn't seen. One thing to note is that the LyX I'm running (on Ubuntu) has no option to save as or export to SGML or DocBook. I gather from the link you gave me that SGML and Docbook are natively supported export formats, so I guess Ubuntu's build must be lacking that feature. Is that correct? Nico --
Re: Straghtforward XML export?
Nico Williams wrote: This I hadn't seen. One thing to note is that the LyX I'm running (on Ubuntu) has no option to save as or export to SGML or DocBook. I gather from the link you gave me that SGML and Docbook are natively supported export formats, so I guess Ubuntu's build must be lacking that feature. Is that correct? export items depend on software you have installed, in case of docbook sgml-tools are needed. not using it i can't say much more, but it seems that your question are answered in the older link. p
Re: Straghtforward XML export?
On Mon, May 7, 2012 at 12:07 PM, Pavel Sanda sa...@lyx.org wrote: Nico Williams wrote: How does LyX represent documents internally? If it does it in an objectified form then it should be fairly straightforward to walk the document tree and emit XML, no? Or, looking at .lyx files, maybe it should be possible to script a simple LyX-XML conversion has anyone tried this before? we miss someone who knows docbook/sgml/xml rather well and would like to help to bring lyx output more up-to-date or at least clearly state what needs to be done. http://article.gmane.org/gmane.editors.lyx.devel/119220 Lookingat LyX's format, it seems like translating to XML using a LyX-specific schema should be utterly straightforward. For example, something like this: \lyxformat 413 \begin_document \begin_header \textclass article ... \end_header \begin_body \begin_layout Title Some Doc \end_layout \begin_layout Author Joe Sixpack \begin_inset VSpace defskip \end_inset Sixpack Corp. \end_layout \begin_layout Abstract Foo bar baz blah blah. \end_layout \begin_layout Abstract Two paragrap abstract, eh? \end_layout ... should translate into: article titleSome Doc/title authorJoe Sixpackvspace/Sixpack Corp./author abstractFoo bar baz blah blah./abstract abstractTwo paragrap abstract, eh?/abstract ... /article Translating insets and layouts into XML elements and attributes seems relatively straightforward. Translating directives seems straightforward also. Now, note that the two paragraph abstract would be translated into two abstract elements, but an XSLT stylesheet could easily translate that into: abstractp.../pp.../p/abstract A straightforward LyX-XML translation seems like the best approach to LyX-XML translation because translation to any other schemas can then be done via XSLT. Nico --
Re: Straghtforward XML export?
On Mon, May 7, 2012 at 12:41 PM, Pavel Sanda sa...@lyx.org wrote: Nico Williams wrote: This I hadn't seen. One thing to note is that the LyX I'm running (on Ubuntu) has no option to save as or export to SGML or DocBook. I gather from the link you gave me that SGML and Docbook are natively supported export formats, so I guess Ubuntu's build must be lacking that feature. Is that correct? export items depend on software you have installed, in case of docbook sgml-tools are needed. not using it i can't say much more, but it seems that your question are answered in the older link. Ah, that works. Thanks! I'll take a look and see if the native DocBook export works for me.
Re: Straghtforward XML export?
Nico Williams wrote: On Mon, May 7, 2012 at 12:07 PM, Pavel Sanda sa...@lyx.org wrote: Nico Williams wrote: How does LyX represent documents internally? If it does it in an objectified form then it should be fairly straightforward to walk the document tree and emit XML, no? Or, looking at .lyx files, maybe it should be possible to script a simple LyX-XML conversion has anyone tried this before? we miss someone who knows docbook/sgml/xml rather well and would like to help to bring lyx output more up-to-date or at least clearly state what needs to be done. http://article.gmane.org/gmane.editors.lyx.devel/119220 Lookingat LyX's format, it seems like translating to XML using a LyX-specific schema should be utterly straightforward. For example, something like this: heh, you didn't get the point ;) to sumarize: - lyx already produce docbook xml. but in older format. - people spend lot of time to write quite complex web guides how to setup things and fix issues for new docbook format but never share their wisdom with lyx developers. either in contribution to lyx documentation or in stating what needs to be changed in lyx output. - no lyx dev seems to be motivated to study docbook xml so although we think that the upgrade would be simple, until we know what exactly should change, things will stay as they are now :) pavel
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: Straghtforward XML export?
No, i got that. I don't actually care for docbook. I want a straightforward translation to XML that preserves all data and metadata. If I need a specific schema I can always use XSLT to get output in that form. Nico --
Lyx on Windows: ps2eps missing?
Hello! I stumbled into problems previewing PDF graphics inside LyX. It would give me the error Unable to Convert to Loadable Format. That got me some hits on Google, but the hits typically were from 2003, the issue being about EPS files. I investigated the message log, with only Graphics conversion and loading enabled (full file see attachment). I found that the conversion takes a very roundabout way, converting the PDF to PS, than the PS to EPS and then EPS to PNG. On examining the temporary directory, I found several PS files (and some subdirectories unrelated to the image conversion), but no EPS or PNG files. And indeed I found out that my system doesn't have a ps2eps script on any of the PATH prefix folders. It has ps2epsi though in MiKTeX! My solution was to add a custom converter for PDF PNG, simply using LyX's own Image Magick convert.exe: convert -density 96 pdf:$$i png:$$o However, I'm now wondering... 1. Did I just overlook posts describing a solution? 2. Why does the default converter go such a roundabout way, when most file formats work well with convert.exe directly? 3. Would ps2eps be included if I had chosen the combined LyX/MiKTeX installer? CTAN says, that it is not part of MiKTeX ( http://www.ctan.org/pkg/ps2eps ). 3a. If yes, is there anywhere any indication that the combined installer should be preferred? kind regards, Klaus-Dieter Platform Information: - Windows 7 - MiKTeX 2.9, installed separately. Should be the newest version, so not having ps2eps is surprising to me. - Cygwin installed, but only /bin on the windows PATH. 13:54:40.281: (graphics-reload)C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(408): Converting it to format. C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\support\FileName.cpp(945): Recognised Fileformat: pdf C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(378): [CacheItem::Impl::convertToDisplayFormat] Attempting to convert image file: E:/studium/diplomarbeit/labbook/3.Lyx/images/fe-100-s5-100gb-supercellsize-convergence.pdf with displayed filename: E:\studium\diplomarbeit\labbook\3.Lyx\images\fe-100-s5-100gb-supercellsize-convergence.pdf C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\support\FileName.cpp(945): Recognised Fileformat: pdf C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(385): The file contains pdf format data. C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(340): Unable to convert from pdf to bmp C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(340): Unable to convert from pdf to pbm C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(340): Unable to convert from pdf to pgm C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsConverter.cpp(127): Converter c-tor: from_file: E:/studium/diplomarbeit/labbook/3.Lyx/images/fe-100-s5-100gb-supercellsize-convergence.pdf to_file_base: C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/CacheItem.PJ3672 from_format: pdf to_format:png C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsConverter.cpp(264): build_script ... C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsConverter.cpp(376): ready! C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsConverter.cpp(142): Conversion script: -- #!/usr/bin/env python # -*- coding: utf-8 -*- import os, shutil, sys def unlinkNoThrow(file): ''' remove a file, do not throw if an error occurs ''' try: os.unlink(file) except: pass infile = E:/studium/diplomarbeit/labbook/3.Lyx/images/fe-100-s5-100gb-supercellsize-convergence.pdf outfile = C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672.pdf shutil.copy(infile, outfile) os.chdir(C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/) infile = C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672.pdf infile_base = C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672 outfile = C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672.ps outdir = os.path.dirname(outfile) if os.system(r'pdf2ps ' + '' + infile + '' + ' ' + '' + outfile + '' + '') != 0: unlinkNoThrow(outfile) sys.exit(1) if not os.path.isfile(outfile): if os.path.isfile(outfile + '.0'): os.rename(outfile + '.0', outfile) import glob for file in glob.glob(outfile + '.?'): unlinkNoThrow(file) else: sys.exit(1) unlinkNoThrow(infile) infile = C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672.ps infile_base = C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672 outfile =
References appear with et instead of and between authors
Hi all, I'm using BibDesk as my reference package in Lyx. I have set the Lyx options (Documents Settings) to Natbib: Author-year and the citation style to [author1] and [author2] ([year]). Unfortunately, when I produce my PDF file, the reference appears as [Author1] et [Author2] (2000) instead of the desired [Author1] and [Author2] (2000). Any help would be appreciated. Thanks, CP
Re: References appear with et instead of and between authors
El 07/05/2012 01:41 p.m., ChiPro escribió: Hi all, I'm using BibDesk as my reference package in Lyx. I have set the Lyx options (Documents Settings) to Natbib: Author-year and the citation style to [author1] and [author2] ([year]). Unfortunately, when I produce my PDF file, the reference appears as [Author1] et [Author2] (2000) instead of the desired [Author1] and [Author2] (2000). Any help would be appreciated. Thanks, CP You have your document language in French? If is the case change it to English Alex
Re: Straghtforward XML export?
On Mon, May 7, 2012 at 12:56 PM, Nico Williams n...@cryptonector.com wrote: Ah, that works. Thanks! I'll take a look and see if the native DocBook export works for me. Nope, it still doesn't allow more than one author in docbook, though it does merge all the authors listed in the LyX document source.
Re: References appear with
You have your document language in French? If is the case change it to English Alex Do you mean the setting in Documents Settings Language? Mine is set to English.
Re: References appear with
Do you mean the setting in Documents Settings Language? Mine is set to English. Then select the reference section and check the language, the best solution should be to look at the lyx file into a text editor such as notepad++ (win2) or gedit (linux) and search for \language, you must have declared this only once in the entire document otherwise erase every other appearance than the first.
Re: Straghtforward XML export?
Is there canonical documentation of the LyX file format? I can't find it... I did find this: http://wiki.lyx.org/Devel/LyXFileFormat , but that's just a changelog. There's nothing else obvious in http://wiki.lyx.org/Devel/ ... The development/FORMAT file in the source tree is also a changelog. Nico --
Re: aspect ratio in figures
On 05/03/2012 05:44 PM, Paul A. Rubin wrote: Sounds like something funny going on with ImageMagick, but it's hard to say. Is your version of ImageMagick current? It is Version: ImageMagick 6.6.5-10 2011-11-03 Q16
Re: Coloring
On 05/07/2012 01:23 PM, Merhebi, Bob wrote: Just to clear it out; I meant highlighting by coloring IDLE by IDE. Thanks On Mon 07 May 2012 01:40:09 PM EEST, Merhebi, Bob wrote: Hello, I was wondering whether I could use coloring in equations? For example, when using Mathematica or python (in IDE), brackets the like get colored; I've seen a pdf document recently which involved such coloring; is that possible in LyX? Thanks -- Sincerely Yours, -Merhebi, Bob You can select any text in a math inset and change the color via the Text Style dialog (the ab button). I don't know of any way highlight formulas automatically. For highlighting program listings the listings insets do a nice job, and can use colors.
RE: Coloring
Allen Barker [allen.l.bar...@gmail.com] Sent: Tuesday, May 08, 2012 12:30 AM On Mon 07 May 2012 01:40:09 PM EEST, Merhebi, Bob wrote: Hello, I was wondering whether I could use coloring in equations? For example, when using Mathematica or python (in IDE), brackets the like get colored; I've seen a pdf document recently which involved such coloring; is that possible in LyX? You can select any text in a math inset and change the color via the Text Style dialog (the ab button). I don't know of any way highlight formulas automatically. For highlighting program listings the listings insets do a nice job, and can use colors. You can create colored boxes and put equations in those, as explained in help Math Section 9.3 Colored Boxes Scott
Re: Straghtforward XML export?
On 2012-05-07, Nico Williams wrote: [-- Type: text/plain, Encoding: --] No, i got that. I don't actually care for docbook. I want a straightforward translation to XML that preserves all data and metadata. If I need a specific schema I can always use XSLT to get output in that form. So how about XHTML as starting point for your XSLT transformations? Otherwise, you could use the native XHTML formatter as a model for adding native XML output. Another starting point would be the external elyxer tool: a Python package that takes a LyX file and converts it to XHTML. http://elyxer.nongnu.org/ Günter
Re: Straghtforward XML export?
On Tue, May 8, 2012 at 12:40 AM, Guenter Milde mi...@users.sf.net wrote: So how about XHTML as starting point for your XSLT transformations? Otherwise, you could use the native XHTML formatter as a model for adding native XML output. Another starting point would be the external elyxer tool: a Python package that takes a LyX file and converts it to XHTML. http://elyxer.nongnu.org/ Ah, those are good ideas. I'll take a look. Thanks!
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
Coloring
Hello, I was wondering whether I could use coloring in equations? For example, when using Mathematica or python (in IDE), brackets the like get colored; I've seen a pdf document recently which involved such coloring; is that possible in LyX? Thanks -- Sincerely Yours, -Merhebi, Bob Thunderbird Signature 0x66D60862.asc Description: application/pgp-keys
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: Using LyX for writing Internet RFCs
Nico Williams wrote: - a vi editing mode (I looked at the list archives, I know this has come up before) - a way to export to xml2rfc's XML schema asking for the obvious - have you tried Docbook XML output or xhtml output via LyXHTML? P
Re: Using LyX for writing Internet RFCs
On Mon, May 07, 2012 at 04:54 PM, Nico Williams n...@cryptonector.com wrote: from: Nico Williams n...@cryptonector.com date: Mon, May 07 10:54 AM -05:00 2012 to: lyx-users@lists.lyx.org subject: Using LyX for writing Internet RFCs I love LyX. I want two things it doesn't have/do today: - a vi editing mode (I looked at the list archives, I know this has come up before) As for a vi editing mode, I'm guessing the only way it'd be added to LyX is if someone who wants it goes and does the dev work. Sadly I don't have time to do that. Someday, when I go write a book, I may do it, but not anytime soon :( Nico -- me too! G
Re: Using LyX for writing Internet RFCs
On Mon, May 7, 2012 at 11:04 AM, Pavel Sanda sa...@lyx.org wrote: Nico Williams wrote: - a vi editing mode (I looked at the list archives, I know this has come up before) - a way to export to xml2rfc's XML schema asking for the obvious - have you tried Docbook XML output or xhtml output via LyXHTML? Is there an option for Docbook XML output? I didn't see it. So I export to TeX then convert using TeX4ht. Now, TeX4ht doesn't support more than one author, which is.. lame, but even so LyX doesn't have a way to represent all the author metadata I need. Latexml does a much better job of preserving multiple author information, and has a simpler schema too, but still... One possibility is to store author data in xml2rfc format and emit directives from the XSLT stylesheet to include xml files named after the authors. Nico --
Straghtforward XML export?
The LaTeX-XML tools I've tried leave me... sad. They tend to drop some things. For example: vertical space, which becomes a simple newline in a paragraph's text. It would be better to translate vertical space into vspace/ elements -- that'd be much, much more useful in XSLT than embedded newlines! So I'm wondering: why couldn't LyX export to XML using a native schema that preserves as much LyX markup as possible, indeed, if not all of it? How does LyX represent documents internally? If it does it in an objectified form then it should be fairly straightforward to walk the document tree and emit XML, no? Or, looking at .lyx files, maybe it should be possible to script a simple LyX-XML conversion has anyone tried this before? Nico --
Re: Straghtforward XML export?
Nico Williams wrote: The LaTeX-XML tools I've tried leave me... sad. They tend to drop some things. For example: vertical space, which becomes a simple newline in a paragraph's text. It would be better to translate vertical space into vspace/ elements -- that'd be much, much more useful in XSLT than embedded newlines! So I'm wondering: why couldn't LyX export to XML using a native schema that preserves as much LyX markup as possible, indeed, if not all of it? google says: http://bgu.perso.libertysurf.fr/doc/db4lyx/ http://www.neomantic.com/tutorials/lyx-and-docbookXML/ How does LyX represent documents internally? If it does it in an objectified form then it should be fairly straightforward to walk the document tree and emit XML, no? Or, looking at .lyx files, maybe it should be possible to script a simple LyX-XML conversion has anyone tried this before? we miss someone who knows docbook/sgml/xml rather well and would like to help to bring lyx output more up-to-date or at least clearly state what needs to be done. http://article.gmane.org/gmane.editors.lyx.devel/119220 p
Re: Coloring
Just to clear it out; I meant highlighting by coloring IDLE by IDE. Thanks On Mon 07 May 2012 01:40:09 PM EEST, Merhebi, Bob wrote: Hello, I was wondering whether I could use coloring in equations? For example, when using Mathematica or python (in IDE), brackets the like get colored; I've seen a pdf document recently which involved such coloring; is that possible in LyX? Thanks -- Sincerely Yours, -Merhebi, Bob Thunderbird Signature
Re: Straghtforward XML export?
On Mon, May 7, 2012 at 12:07 PM, Pavel Sanda sa...@lyx.org wrote: Nico Williams wrote: The LaTeX-XML tools I've tried leave me... sad. They tend to drop some things. For example: vertical space, which becomes a simple newline in a paragraph's text. It would be better to translate vertical space into vspace/ elements -- that'd be much, much more useful in XSLT than embedded newlines! So I'm wondering: why couldn't LyX export to XML using a native schema that preserves as much LyX markup as possible, indeed, if not all of it? google says: http://bgu.perso.libertysurf.fr/doc/db4lyx/ I did see that link when I was researching this. It's very out of date. http://www.neomantic.com/tutorials/lyx-and-docbookXML/ This I hadn't seen. One thing to note is that the LyX I'm running (on Ubuntu) has no option to save as or export to SGML or DocBook. I gather from the link you gave me that SGML and Docbook are natively supported export formats, so I guess Ubuntu's build must be lacking that feature. Is that correct? Nico --
Re: Straghtforward XML export?
Nico Williams wrote: This I hadn't seen. One thing to note is that the LyX I'm running (on Ubuntu) has no option to save as or export to SGML or DocBook. I gather from the link you gave me that SGML and Docbook are natively supported export formats, so I guess Ubuntu's build must be lacking that feature. Is that correct? export items depend on software you have installed, in case of docbook sgml-tools are needed. not using it i can't say much more, but it seems that your question are answered in the older link. p
Re: Straghtforward XML export?
On Mon, May 7, 2012 at 12:07 PM, Pavel Sanda sa...@lyx.org wrote: Nico Williams wrote: How does LyX represent documents internally? If it does it in an objectified form then it should be fairly straightforward to walk the document tree and emit XML, no? Or, looking at .lyx files, maybe it should be possible to script a simple LyX-XML conversion has anyone tried this before? we miss someone who knows docbook/sgml/xml rather well and would like to help to bring lyx output more up-to-date or at least clearly state what needs to be done. http://article.gmane.org/gmane.editors.lyx.devel/119220 Lookingat LyX's format, it seems like translating to XML using a LyX-specific schema should be utterly straightforward. For example, something like this: \lyxformat 413 \begin_document \begin_header \textclass article ... \end_header \begin_body \begin_layout Title Some Doc \end_layout \begin_layout Author Joe Sixpack \begin_inset VSpace defskip \end_inset Sixpack Corp. \end_layout \begin_layout Abstract Foo bar baz blah blah. \end_layout \begin_layout Abstract Two paragrap abstract, eh? \end_layout ... should translate into: article titleSome Doc/title authorJoe Sixpackvspace/Sixpack Corp./author abstractFoo bar baz blah blah./abstract abstractTwo paragrap abstract, eh?/abstract ... /article Translating insets and layouts into XML elements and attributes seems relatively straightforward. Translating directives seems straightforward also. Now, note that the two paragraph abstract would be translated into two abstract elements, but an XSLT stylesheet could easily translate that into: abstractp.../pp.../p/abstract A straightforward LyX-XML translation seems like the best approach to LyX-XML translation because translation to any other schemas can then be done via XSLT. Nico --
Re: Straghtforward XML export?
On Mon, May 7, 2012 at 12:41 PM, Pavel Sanda sa...@lyx.org wrote: Nico Williams wrote: This I hadn't seen. One thing to note is that the LyX I'm running (on Ubuntu) has no option to save as or export to SGML or DocBook. I gather from the link you gave me that SGML and Docbook are natively supported export formats, so I guess Ubuntu's build must be lacking that feature. Is that correct? export items depend on software you have installed, in case of docbook sgml-tools are needed. not using it i can't say much more, but it seems that your question are answered in the older link. Ah, that works. Thanks! I'll take a look and see if the native DocBook export works for me.
Re: Straghtforward XML export?
Nico Williams wrote: On Mon, May 7, 2012 at 12:07 PM, Pavel Sanda sa...@lyx.org wrote: Nico Williams wrote: How does LyX represent documents internally? If it does it in an objectified form then it should be fairly straightforward to walk the document tree and emit XML, no? Or, looking at .lyx files, maybe it should be possible to script a simple LyX-XML conversion has anyone tried this before? we miss someone who knows docbook/sgml/xml rather well and would like to help to bring lyx output more up-to-date or at least clearly state what needs to be done. http://article.gmane.org/gmane.editors.lyx.devel/119220 Lookingat LyX's format, it seems like translating to XML using a LyX-specific schema should be utterly straightforward. For example, something like this: heh, you didn't get the point ;) to sumarize: - lyx already produce docbook xml. but in older format. - people spend lot of time to write quite complex web guides how to setup things and fix issues for new docbook format but never share their wisdom with lyx developers. either in contribution to lyx documentation or in stating what needs to be changed in lyx output. - no lyx dev seems to be motivated to study docbook xml so although we think that the upgrade would be simple, until we know what exactly should change, things will stay as they are now :) pavel
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: Straghtforward XML export?
No, i got that. I don't actually care for docbook. I want a straightforward translation to XML that preserves all data and metadata. If I need a specific schema I can always use XSLT to get output in that form. Nico --
Lyx on Windows: ps2eps missing?
Hello! I stumbled into problems previewing PDF graphics inside LyX. It would give me the error Unable to Convert to Loadable Format. That got me some hits on Google, but the hits typically were from 2003, the issue being about EPS files. I investigated the message log, with only Graphics conversion and loading enabled (full file see attachment). I found that the conversion takes a very roundabout way, converting the PDF to PS, than the PS to EPS and then EPS to PNG. On examining the temporary directory, I found several PS files (and some subdirectories unrelated to the image conversion), but no EPS or PNG files. And indeed I found out that my system doesn't have a ps2eps script on any of the PATH prefix folders. It has ps2epsi though in MiKTeX! My solution was to add a custom converter for PDF PNG, simply using LyX's own Image Magick convert.exe: convert -density 96 pdf:$$i png:$$o However, I'm now wondering... 1. Did I just overlook posts describing a solution? 2. Why does the default converter go such a roundabout way, when most file formats work well with convert.exe directly? 3. Would ps2eps be included if I had chosen the combined LyX/MiKTeX installer? CTAN says, that it is not part of MiKTeX ( http://www.ctan.org/pkg/ps2eps ). 3a. If yes, is there anywhere any indication that the combined installer should be preferred? kind regards, Klaus-Dieter Platform Information: - Windows 7 - MiKTeX 2.9, installed separately. Should be the newest version, so not having ps2eps is surprising to me. - Cygwin installed, but only /bin on the windows PATH. 13:54:40.281: (graphics-reload)C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(408): Converting it to format. C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\support\FileName.cpp(945): Recognised Fileformat: pdf C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(378): [CacheItem::Impl::convertToDisplayFormat] Attempting to convert image file: E:/studium/diplomarbeit/labbook/3.Lyx/images/fe-100-s5-100gb-supercellsize-convergence.pdf with displayed filename: E:\studium\diplomarbeit\labbook\3.Lyx\images\fe-100-s5-100gb-supercellsize-convergence.pdf C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\support\FileName.cpp(945): Recognised Fileformat: pdf C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(385): The file contains pdf format data. C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(340): Unable to convert from pdf to bmp C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(340): Unable to convert from pdf to pbm C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(340): Unable to convert from pdf to pgm C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsConverter.cpp(127): Converter c-tor: from_file: E:/studium/diplomarbeit/labbook/3.Lyx/images/fe-100-s5-100gb-supercellsize-convergence.pdf to_file_base: C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/CacheItem.PJ3672 from_format: pdf to_format:png C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsConverter.cpp(264): build_script ... C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsConverter.cpp(376): ready! C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsConverter.cpp(142): Conversion script: -- #!/usr/bin/env python # -*- coding: utf-8 -*- import os, shutil, sys def unlinkNoThrow(file): ''' remove a file, do not throw if an error occurs ''' try: os.unlink(file) except: pass infile = E:/studium/diplomarbeit/labbook/3.Lyx/images/fe-100-s5-100gb-supercellsize-convergence.pdf outfile = C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672.pdf shutil.copy(infile, outfile) os.chdir(C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/) infile = C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672.pdf infile_base = C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672 outfile = C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672.ps outdir = os.path.dirname(outfile) if os.system(r'pdf2ps ' + '' + infile + '' + ' ' + '' + outfile + '' + '') != 0: unlinkNoThrow(outfile) sys.exit(1) if not os.path.isfile(outfile): if os.path.isfile(outfile + '.0'): os.rename(outfile + '.0', outfile) import glob for file in glob.glob(outfile + '.?'): unlinkNoThrow(file) else: sys.exit(1) unlinkNoThrow(infile) infile = C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672.ps infile_base = C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672 outfile =
References appear with et instead of and between authors
Hi all, I'm using BibDesk as my reference package in Lyx. I have set the Lyx options (Documents Settings) to Natbib: Author-year and the citation style to [author1] and [author2] ([year]). Unfortunately, when I produce my PDF file, the reference appears as [Author1] et [Author2] (2000) instead of the desired [Author1] and [Author2] (2000). Any help would be appreciated. Thanks, CP
Re: References appear with et instead of and between authors
El 07/05/2012 01:41 p.m., ChiPro escribió: Hi all, I'm using BibDesk as my reference package in Lyx. I have set the Lyx options (Documents Settings) to Natbib: Author-year and the citation style to [author1] and [author2] ([year]). Unfortunately, when I produce my PDF file, the reference appears as [Author1] et [Author2] (2000) instead of the desired [Author1] and [Author2] (2000). Any help would be appreciated. Thanks, CP You have your document language in French? If is the case change it to English Alex
Re: Straghtforward XML export?
On Mon, May 7, 2012 at 12:56 PM, Nico Williams n...@cryptonector.com wrote: Ah, that works. Thanks! I'll take a look and see if the native DocBook export works for me. Nope, it still doesn't allow more than one author in docbook, though it does merge all the authors listed in the LyX document source.
Re: References appear with
You have your document language in French? If is the case change it to English Alex Do you mean the setting in Documents Settings Language? Mine is set to English.
Re: References appear with
Do you mean the setting in Documents Settings Language? Mine is set to English. Then select the reference section and check the language, the best solution should be to look at the lyx file into a text editor such as notepad++ (win2) or gedit (linux) and search for \language, you must have declared this only once in the entire document otherwise erase every other appearance than the first.
Re: Straghtforward XML export?
Is there canonical documentation of the LyX file format? I can't find it... I did find this: http://wiki.lyx.org/Devel/LyXFileFormat , but that's just a changelog. There's nothing else obvious in http://wiki.lyx.org/Devel/ ... The development/FORMAT file in the source tree is also a changelog. Nico --
Re: aspect ratio in figures
On 05/03/2012 05:44 PM, Paul A. Rubin wrote: Sounds like something funny going on with ImageMagick, but it's hard to say. Is your version of ImageMagick current? It is Version: ImageMagick 6.6.5-10 2011-11-03 Q16
Re: Coloring
On 05/07/2012 01:23 PM, Merhebi, Bob wrote: Just to clear it out; I meant highlighting by coloring IDLE by IDE. Thanks On Mon 07 May 2012 01:40:09 PM EEST, Merhebi, Bob wrote: Hello, I was wondering whether I could use coloring in equations? For example, when using Mathematica or python (in IDE), brackets the like get colored; I've seen a pdf document recently which involved such coloring; is that possible in LyX? Thanks -- Sincerely Yours, -Merhebi, Bob You can select any text in a math inset and change the color via the Text Style dialog (the ab button). I don't know of any way highlight formulas automatically. For highlighting program listings the listings insets do a nice job, and can use colors.
RE: Coloring
Allen Barker [allen.l.bar...@gmail.com] Sent: Tuesday, May 08, 2012 12:30 AM On Mon 07 May 2012 01:40:09 PM EEST, Merhebi, Bob wrote: Hello, I was wondering whether I could use coloring in equations? For example, when using Mathematica or python (in IDE), brackets the like get colored; I've seen a pdf document recently which involved such coloring; is that possible in LyX? You can select any text in a math inset and change the color via the Text Style dialog (the ab button). I don't know of any way highlight formulas automatically. For highlighting program listings the listings insets do a nice job, and can use colors. You can create colored boxes and put equations in those, as explained in help Math Section 9.3 Colored Boxes Scott
Re: Straghtforward XML export?
On 2012-05-07, Nico Williams wrote: [-- Type: text/plain, Encoding: --] No, i got that. I don't actually care for docbook. I want a straightforward translation to XML that preserves all data and metadata. If I need a specific schema I can always use XSLT to get output in that form. So how about XHTML as starting point for your XSLT transformations? Otherwise, you could use the native XHTML formatter as a model for adding native XML output. Another starting point would be the external elyxer tool: a Python package that takes a LyX file and converts it to XHTML. http://elyxer.nongnu.org/ Günter
Re: Straghtforward XML export?
On Tue, May 8, 2012 at 12:40 AM, Guenter Milde mi...@users.sf.net wrote: So how about XHTML as starting point for your XSLT transformations? Otherwise, you could use the native XHTML formatter as a model for adding native XML output. Another starting point would be the external elyxer tool: a Python package that takes a LyX file and converts it to XHTML. http://elyxer.nongnu.org/ Ah, those are good ideas. I'll take a look. Thanks!
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
Coloring
Hello, I was wondering whether I could use coloring in equations? For example, when using Mathematica or python (in IDE), brackets & the like get colored; I've seen a pdf document recently which involved such coloring; is that possible in LyX? Thanks -- Sincerely Yours, -Merhebi, Bob Thunderbird Signature 0x66D60862.asc Description: application/pgp-keys
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: Using LyX for writing Internet RFCs
Nico Williams wrote: > - a vi editing mode (I looked at the list archives, I know this has > come up before) > > - a way to export to xml2rfc's XML schema asking for the obvious - have you tried Docbook XML output or xhtml output via LyXHTML? P
Re: Using LyX for writing Internet RFCs
On Mon, May 07, 2012 at 04:54 PM, Nico Williamswrote: > from: Nico Williams > date: Mon, May 07 10:54 AM -05:00 2012 > to: lyx-users@lists.lyx.org > subject: Using LyX for writing Internet RFCs > > I love LyX. I want two things it doesn't have/do today: > > - a vi editing mode (I looked at the list archives, I know this has > come up before) > > As for a vi editing mode, I'm guessing the only way it'd be added to > LyX is if someone who wants it goes and does the dev work. Sadly I > don't have time to do that. Someday, when I go write a book, I may do > it, but not anytime soon :( > > Nico > -- me too! G
Re: Using LyX for writing Internet RFCs
On Mon, May 7, 2012 at 11:04 AM, Pavel Sandawrote: > Nico Williams wrote: >> - a vi editing mode (I looked at the list archives, I know this has >> come up before) >> >> - a way to export to xml2rfc's XML schema > > asking for the obvious - have you tried Docbook XML output or > xhtml output via LyXHTML? Is there an option for Docbook XML output? I didn't see it. So I export to TeX then convert using TeX4ht. Now, TeX4ht doesn't support more than one author, which is.. lame, but even so LyX doesn't have a way to represent all the author metadata I need. Latexml does a much better job of preserving multiple author information, and has a simpler schema too, but still... One possibility is to store author data in xml2rfc format and emit directives from the XSLT stylesheet to include xml files named after the authors. Nico --
Straghtforward XML export?
The LaTeX->XML tools I've tried leave me... sad. They tend to drop some things. For example: vertical space, which becomes a simple newline in a paragraph's text. It would be better to translate vertical space into elements -- that'd be much, much more useful in XSLT than embedded newlines! So I'm wondering: why couldn't LyX export to XML using a native schema that preserves as much LyX markup as possible, indeed, if not all of it? How does LyX represent documents internally? If it does it in an objectified form then it should be fairly straightforward to walk the document tree and emit XML, no? Or, looking at .lyx files, maybe it should be possible to script a simple LyX->XML conversion has anyone tried this before? Nico --
Re: Straghtforward XML export?
Nico Williams wrote: > The LaTeX->XML tools I've tried leave me... sad. They tend to drop > some things. For example: vertical space, which becomes a simple > newline in a paragraph's text. It would be better to translate > vertical space into elements -- that'd be much, much more > useful in XSLT than embedded newlines! > > So I'm wondering: why couldn't LyX export to XML using a native schema > that preserves as much LyX markup as possible, indeed, if not all of > it? google says: http://bgu.perso.libertysurf.fr/doc/db4lyx/ http://www.neomantic.com/tutorials/lyx-and-docbookXML/ > How does LyX represent documents internally? If it does it in an > objectified form then it should be fairly straightforward to walk the > document tree and emit XML, no? Or, looking at .lyx files, maybe it > should be possible to script a simple LyX->XML conversion has > anyone tried this before? we miss someone who knows docbook/sgml/xml rather well and would like to help to bring lyx output more up-to-date or at least clearly state what needs to be done. http://article.gmane.org/gmane.editors.lyx.devel/119220 p
Re: Coloring
Just to clear it out; I meant "highlighting" by coloring & "IDLE" by IDE. Thanks On Mon 07 May 2012 01:40:09 PM EEST, Merhebi, Bob wrote: > Hello, > > I was wondering whether I could use coloring in equations? For example, > when using Mathematica or python (in IDE), brackets & the like get > colored; I've seen a pdf document recently which involved such coloring; > is that possible in LyX? > > Thanks > -- Sincerely Yours, -Merhebi, Bob Thunderbird Signature
Re: Straghtforward XML export?
On Mon, May 7, 2012 at 12:07 PM, Pavel Sandawrote: > Nico Williams wrote: >> The LaTeX->XML tools I've tried leave me... sad. They tend to drop >> some things. For example: vertical space, which becomes a simple >> newline in a paragraph's text. It would be better to translate >> vertical space into elements -- that'd be much, much more >> useful in XSLT than embedded newlines! >> >> So I'm wondering: why couldn't LyX export to XML using a native schema >> that preserves as much LyX markup as possible, indeed, if not all of >> it? > > google says: > http://bgu.perso.libertysurf.fr/doc/db4lyx/ I did see that link when I was researching this. It's very out of date. > http://www.neomantic.com/tutorials/lyx-and-docbookXML/ This I hadn't seen. One thing to note is that the LyX I'm running (on Ubuntu) has no option to save as or export to SGML or DocBook. I gather from the link you gave me that SGML and Docbook are natively supported export formats, so I guess Ubuntu's build must be lacking that feature. Is that correct? Nico --
Re: Straghtforward XML export?
Nico Williams wrote: > This I hadn't seen. One thing to note is that the LyX I'm running (on > Ubuntu) has no option to save as or export to SGML or DocBook. I > gather from the link you gave me that SGML and Docbook are natively > supported export formats, so I guess Ubuntu's build must be lacking > that feature. Is that correct? export items depend on software you have installed, in case of docbook sgml-tools are needed. not using it i can't say much more, but it seems that your question are answered in the older link. p
Re: Straghtforward XML export?
On Mon, May 7, 2012 at 12:07 PM, Pavel Sandawrote: > Nico Williams wrote: >> How does LyX represent documents internally? If it does it in an >> objectified form then it should be fairly straightforward to walk the >> document tree and emit XML, no? Or, looking at .lyx files, maybe it >> should be possible to script a simple LyX->XML conversion has >> anyone tried this before? > > we miss someone who knows docbook/sgml/xml rather well and would like to help > to bring lyx output more up-to-date or at least clearly state what needs to > be done. > http://article.gmane.org/gmane.editors.lyx.devel/119220 Lookingat LyX's format, it seems like translating to XML using a LyX-specific schema should be utterly straightforward. For example, something like this: \lyxformat 413 \begin_document \begin_header \textclass article ... \end_header \begin_body \begin_layout Title Some Doc \end_layout \begin_layout Author Joe Sixpack \begin_inset VSpace defskip \end_inset Sixpack Corp. \end_layout \begin_layout Abstract Foo bar baz blah blah. \end_layout \begin_layout Abstract Two paragrap abstract, eh? \end_layout ... should translate into: Some Doc Joe SixpackSixpack Corp. Foo bar baz blah blah. Two paragrap abstract, eh? ... Translating insets and layouts into XML elements and attributes seems relatively straightforward. Translating directives seems straightforward also. Now, note that the two paragraph abstract would be translated into two elements, but an XSLT stylesheet could easily translate that into: .. A straightforward LyX->XML translation seems like the best approach to LyX->XML translation because translation to any other schemas can then be done via XSLT. Nico --
Re: Straghtforward XML export?
On Mon, May 7, 2012 at 12:41 PM, Pavel Sandawrote: > Nico Williams wrote: >> This I hadn't seen. One thing to note is that the LyX I'm running (on >> Ubuntu) has no option to save as or export to SGML or DocBook. I >> gather from the link you gave me that SGML and Docbook are natively >> supported export formats, so I guess Ubuntu's build must be lacking >> that feature. Is that correct? > > export items depend on software you have installed, in case of docbook > sgml-tools are needed. not using it i can't say much more, but it seems > that your question are answered in the older link. Ah, that works. Thanks! I'll take a look and see if the native DocBook export works for me.
Re: Straghtforward XML export?
Nico Williams wrote: > On Mon, May 7, 2012 at 12:07 PM, Pavel Sandawrote: > > Nico Williams wrote: > >> How does LyX represent documents internally? If it does it in an > >> objectified form then it should be fairly straightforward to walk the > >> document tree and emit XML, no? Or, looking at .lyx files, maybe it > >> should be possible to script a simple LyX->XML conversion has > >> anyone tried this before? > > > > we miss someone who knows docbook/sgml/xml rather well and would like to > > help > > to bring lyx output more up-to-date or at least clearly state what needs to > > be done. > > http://article.gmane.org/gmane.editors.lyx.devel/119220 > > Lookingat LyX's format, it seems like translating to XML using a > LyX-specific schema should be utterly straightforward. For example, > something like this: heh, you didn't get the point ;) to sumarize: - lyx already produce docbook xml. but in older format. - people spend lot of time to write quite complex web guides how to setup things and fix issues for new docbook format but never share their wisdom with lyx developers. either in contribution to lyx documentation or in stating what needs to be changed in lyx output. - no lyx dev seems to be motivated to study docbook xml so although we think that the upgrade would be simple, until we know what exactly should change, things will stay as they are now :) pavel
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: Straghtforward XML export?
No, i got that. I don't actually care for docbook. I want a straightforward translation to XML that preserves all data and metadata. If I need a specific schema I can always use XSLT to get output in that form. Nico --
Lyx on Windows: ps2eps missing?
Hello! I stumbled into problems previewing PDF graphics inside LyX. It would give me the error "Unable to Convert to Loadable Format". That got me some hits on Google, but the hits typically were from 2003, the issue being about EPS files. I investigated the message log, with only "Graphics conversion and loading" enabled (full file see attachment). I found that the conversion takes a very roundabout way, converting the PDF to PS, than the PS to EPS and then EPS to PNG. On examining the temporary directory, I found several PS files (and some subdirectories unrelated to the image conversion), but no EPS or PNG files. And indeed I found out that my system doesn't have a "ps2eps" script on any of the "PATH prefix" folders. It has "ps2epsi" though in MiKTeX! My solution was to add a custom converter for PDF > PNG, simply using LyX's own Image Magick "convert.exe": convert -density 96 pdf:$$i png:$$o However, I'm now wondering... 1. Did I just overlook posts describing a solution? 2. Why does the default converter go such a roundabout way, when most file formats work well with convert.exe directly? 3. Would ps2eps be included if I had chosen the combined LyX/MiKTeX installer? CTAN says, that it is not part of MiKTeX ( http://www.ctan.org/pkg/ps2eps ). 3a. If yes, is there anywhere any indication that the combined installer should be preferred? kind regards, Klaus-Dieter Platform Information: - Windows 7 - MiKTeX 2.9, installed separately. Should be the newest version, so not having ps2eps is surprising to me. - Cygwin installed, but only "/bin" on the windows PATH. 13:54:40.281: (graphics-reload)C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(408): Converting it to format. C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\support\FileName.cpp(945): Recognised Fileformat: pdf C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(378): [CacheItem::Impl::convertToDisplayFormat] Attempting to convert image file: E:/studium/diplomarbeit/labbook/3.Lyx/images/fe-100-s5-100gb-supercellsize-convergence.pdf with displayed filename: E:\studium\diplomarbeit\labbook\3.Lyx\images\fe-100-s5-100gb-supercellsize-convergence.pdf C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\support\FileName.cpp(945): Recognised Fileformat: pdf C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(385): The file contains pdf format data. C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(340): Unable to convert from pdf to bmp C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(340): Unable to convert from pdf to pbm C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsCacheItem.cpp(340): Unable to convert from pdf to pgm C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsConverter.cpp(127): Converter c-tor: from_file: E:/studium/diplomarbeit/labbook/3.Lyx/images/fe-100-s5-100gb-supercellsize-convergence.pdf to_file_base: C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/CacheItem.PJ3672 from_format: pdf to_format:png C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsConverter.cpp(264): build_script ... C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsConverter.cpp(376): ready! C:\Users\Vincent\Documents\LyX\source\lyx-svn-branch\src\graphics\GraphicsConverter.cpp(142): Conversion script: -- #!/usr/bin/env python # -*- coding: utf-8 -*- import os, shutil, sys def unlinkNoThrow(file): ''' remove a file, do not throw if an error occurs ''' try: os.unlink(file) except: pass infile = "E:/studium/diplomarbeit/labbook/3.Lyx/images/fe-100-s5-100gb-supercellsize-convergence.pdf" outfile = "C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672.pdf" shutil.copy(infile, outfile) os.chdir("C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/") infile = "C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672.pdf" infile_base = "C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672" outfile = "C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672.ps" outdir = os.path.dirname(outfile) if os.system(r'pdf2ps ' + '"' + infile + '"' + ' ' + '"' + outfile + '"' + '') != 0: unlinkNoThrow(outfile) sys.exit(1) if not os.path.isfile(outfile): if os.path.isfile(outfile + '.0'): os.rename(outfile + '.0', outfile) import glob for file in glob.glob(outfile + '.?'): unlinkNoThrow(file) else: sys.exit(1) unlinkNoThrow(infile) infile = "C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672.ps" infile_base = "C:/Users/klaus/AppData/Local/Temp/lyx_tmpdir.Hp3672/gconvert6.ER3672" outfile =
References appear with "et" instead of "and" between authors
Hi all, I'm using BibDesk as my reference package in Lyx. I have set the Lyx options (Documents > Settings) to "Natbib: Author-year" and the citation style to "[author1] and [author2] ([year])". Unfortunately, when I produce my PDF file, the reference appears as [Author1] et [Author2] (2000) instead of the desired [Author1] and [Author2] (2000). Any help would be appreciated. Thanks, CP
Re: References appear with "et" instead of "and" between authors
El 07/05/2012 01:41 p.m., ChiPro escribió: Hi all, I'm using BibDesk as my reference package in Lyx. I have set the Lyx options (Documents> Settings) to "Natbib: Author-year" and the citation style to "[author1] and [author2] ([year])". Unfortunately, when I produce my PDF file, the reference appears as [Author1] et [Author2] (2000) instead of the desired [Author1] and [Author2] (2000). Any help would be appreciated. Thanks, CP You have your document language in French? If is the case change it to English Alex
Re: Straghtforward XML export?
On Mon, May 7, 2012 at 12:56 PM, Nico Williamswrote: > Ah, that works. Thanks! I'll take a look and see if the native > DocBook export works for me. Nope, it still doesn't allow more than one author in docbook, though it does merge all the authors listed in the LyX document source.
Re: References appear with
> You have your document language in French? If is the case change it to > English > > Alex Do you mean the setting in Documents > Settings > Language? Mine is set to English.
Re: References appear with
Do you mean the setting in Documents> Settings> Language? Mine is set to English. Then select the reference section and check the language, the best solution should be to look at the lyx file into a text editor such as notepad++ (win2) or gedit (linux) and search for \language, you must have declared this only once in the entire document otherwise erase every other appearance than the first.
Re: Straghtforward XML export?
Is there canonical documentation of the LyX file format? I can't find it... I did find this: http://wiki.lyx.org/Devel/LyXFileFormat , but that's just a changelog. There's nothing else obvious in http://wiki.lyx.org/Devel/ ... The development/FORMAT file in the source tree is also a changelog. Nico --
Re: aspect ratio in figures
On 05/03/2012 05:44 PM, Paul A. Rubin wrote: Sounds like something funny going on with ImageMagick, but it's hard to say. Is your version of ImageMagick current? It is Version: ImageMagick 6.6.5-10 2011-11-03 Q16
Re: Coloring
On 05/07/2012 01:23 PM, Merhebi, Bob wrote: Just to clear it out; I meant "highlighting" by coloring& "IDLE" by IDE. Thanks On Mon 07 May 2012 01:40:09 PM EEST, Merhebi, Bob wrote: Hello, I was wondering whether I could use coloring in equations? For example, when using Mathematica or python (in IDE), brackets& the like get colored; I've seen a pdf document recently which involved such coloring; is that possible in LyX? Thanks -- Sincerely Yours, -Merhebi, Bob You can select any text in a math inset and change the color via the "Text Style" dialog (the "ab" button). I don't know of any way highlight formulas automatically. For highlighting program listings the listings insets do a nice job, and can use colors.
RE: Coloring
Allen Barker [allen.l.bar...@gmail.com] Sent: Tuesday, May 08, 2012 12:30 AM > On Mon 07 May 2012 01:40:09 PM EEST, Merhebi, Bob wrote: >> Hello, >> >> I was wondering whether I could use coloring in equations? For example, >> when using Mathematica or python (in IDE), brackets& the like get >> colored; I've seen a pdf document recently which involved such coloring; >> is that possible in LyX? >You can select any text in a math inset and change the color >via the "Text Style" dialog (the "ab" button). I don't >know of any way highlight formulas automatically. >For highlighting program listings the listings insets do a >nice job, and can use colors. You can create colored boxes and put equations in those, as explained in help > Math > Section 9.3 Colored Boxes Scott
Re: Straghtforward XML export?
On 2012-05-07, Nico Williams wrote: > [-- Type: text/plain, Encoding: --] > No, i got that. I don't actually care for docbook. I want a straightforward > translation to XML that preserves all data and metadata. If I need a > specific schema I can always use XSLT to get output in that form. So how about XHTML as starting point for your XSLT transformations? Otherwise, you could use the native XHTML formatter as a model for adding "native XML" output. Another starting point would be the external "elyxer" tool: a Python package that takes a LyX file and converts it to XHTML. http://elyxer.nongnu.org/ Günter
Re: Straghtforward XML export?
On Tue, May 8, 2012 at 12:40 AM, Guenter Mildewrote: > So how about XHTML as starting point for your XSLT transformations? > > Otherwise, you could use the native XHTML formatter as a model for adding > "native XML" output. > > Another starting point would be the external "elyxer" tool: a Python > package that takes a LyX file and converts it to XHTML. > http://elyxer.nongnu.org/ Ah, those are good ideas. I'll take a look. Thanks!