Re: Appendix issue
On Fri, Dec 7, 2012, at 09:21 AM, Uwe Stöhr wrote: > Am 06.12.2012 11:26, schrieb Tim Opie: > > > Any thoughts as to what is going on? > > You can only have one "Begin Appendix here" per document. So if you have > child documents, add the > appendix to the main document and then include the child within the > Appendix region in the master > > Also check that you childs don't set a further begin appendix here. > > regards Uwe There is only one "Begin Appendix here", and it is in the parent document with the child documents all included within that region parent appendix region. The child docs do not contain any appendix information - it should all be set by the parent. The thing is that LyX treats it correctly, and within LyX everything looks perfect. The child documents all say Appendix, and have the correct Appendix value, the TOC is all correctly labelled with the appropriate appendices. It is only the resulting PDF that is incorrect. The PDF that is generated by LyX says chapter instead of Appendix, and the TOC of the PDF is labelled incorrectly. I am using MacTEX 2012, so I assume that should all run properly
Re: about the .lyx formt
On Thu, Dec 6, 2012 at 4:29 AM, Oleg Parashchenko wrote: > Some time ago I experimented with LyX<->XML roundtrip. In my idea, XML > was not one-to-one mapping of .lyx structure, but an XML format > > * which convenient for processing and generation, and > * with enough hints to restore one-to-one correspondence. > > Unfortunately, I had to switch to other projects, and left the work > abandoned. Only a part of functionality was implemented: > > * http://wiki.lyx.org/Devel/LyXFileFormatReverse > * https://github.com/olpa/tex/tree/master/lyxml > > Use "lyxml.py" for testing. In any case, "lyxparser.py" is a good > callback-style Python parser of .lyx files. Interesting. I may give it a try, but I was hoping that XML->LyX might be a matter of applying an XSLT that outputs text. Also, the schema matters, and since LyX has LyXHTML (XHTML), and since I'm using that, I was hoping I could find an importer from XHTML in particular. I'd still have to write an XSL for translating from the schema I use, so it's not like I was looking for a turn-key solution :) but still, I'm glad someone's done something in this space! Thanks, Nico --
Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Am 06.12.2012 16:38, schrieb Roey Angel: Why the hell is it documented wrongly under http://wiki.lyx.org/FAQ/Unsorted?!? This is because first with LyX 2.0.5 we don't load the package babel if your document language is English. Note that if your document contains another language, and if that#s only a quote from a French philosopher, you again will have to use \addtocaptionsenglish. regards Uwe
Re: Appendix issue
Am 06.12.2012 11:26, schrieb Tim Opie: Any thoughts as to what is going on? You can only have one "Begin Appendix here" per document. So if you have child documents, add the appendix to the main document and then include the child within the Appendix region in the master Also check that you childs don't set a further begin appendix here. regards Uwe
Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
On Thursday 06 of December 2012 13:30:38 Roey Angel wrote: > Hi, Hi! > I'm trying to change the section name 'Abstract' to 'Summary' in an article > class document with babel enabled and language set to English (UK). > So far I tried to place in the preamble: > > \AtBeginDocument{% > \addto\captions\captionsenglish{% > \renewcommand{\abstractname}{Summary}% > }} > or > > \AtBeginDocument{% > \addto\captionsenglish{% > \def\abstractname{Summary}% > }} > > or in the document, an ERT with > \renewcommand\abstractname{Summary} Did you try the above in the Preamble, i.e. \renewcommand\abstractname{Summary} without the "\AtBeginDocument" stuff? .. Cheers, Nikos
Why can't I select any CJK-Fonts and how do I solve this problem?
Dear List Members, I'm new to LyX and have of course checked all available manuals but can't find a solution to this problem: I use LyX 2.0.5. with MacTeX on Mac OS X 10.6.8. I've already figured out how to use CJK-Fonts by processing files through XeTeX, however, I'd actually like to use the normal built-in CJK Features. There's only one problem: the field for CJK-Fonts in my document settings is empty, there's no font to select. If I enter text in (in my case) Japanese and try to preview it, I get the error message "!pdfTeX error: pdflatex (file cyberb30): Font cyberb30 at 720 not found." I also tried entering the name of a Japanese font I know I have in my system, but if I do so, I get several errors ("Undefined control sequence." and "TeX capacity exceeded"). Is there any solution to my problem? Am I missing out something, is there some special package I need to install to get it to work? I should probably add that though I have used LaTeX before, I've never tried using CJK with LaTeX until I got LyX. It'd be really nice if somebody could help me.
Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Fixed Thanks again
Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
It's a wiki. Now that you know better, can you fix it, please? On 12/06/2012 09:38 AM, Roey Angel wrote: Works great! Why the hell is it documented wrongly under http://wiki.lyx.org/FAQ/Unsorted?!? Thanks
Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Works great! Why the hell is it documented wrongly under http://wiki.lyx.org/FAQ/Unsorted?!? Thanks
Re: Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Did you try \AtBeginDocument{% \renewcommand{\abstractname}{Summary}% } that works for me in default language. regards, waluyo On 6 December 2012 21:30, Roey Angel wrote: > Hi, > I'm trying to change the section name 'Abstract' to 'Summary' in an article > class document with babel enabled and language set to English (UK). > So far I tried to place in the preamble: > > \AtBeginDocument{% > \addto\captions\captionsenglish{% > \renewcommand{\abstractname}{Summary}% > }} > or > > \AtBeginDocument{% > \addto\captionsenglish{% > \def\abstractname{Summary}% > }} > > or in the document, an ERT with > \renewcommand\abstractname{Summary} > > but nothing worked > > I also tried replacing \captionsenglish with \captionsbritish or > \captionsUKenglish, but both didn't work. > > Any suggestions? > > Roey > >
Change 'Abstract' to 'Summary' in article class when working with babel and English (UK)
Hi, I'm trying to change the section name 'Abstract' to 'Summary' in an article class document with babel enabled and language set to English (UK). So far I tried to place in the preamble: \AtBeginDocument{% \addto\captions\captionsenglish{% \renewcommand{\abstractname}{Summary}% }} or \AtBeginDocument{% \addto\captionsenglish{% \def\abstractname{Summary}% }} or in the document, an ERT with \renewcommand\abstractname{Summary} but nothing worked I also tried replacing \captionsenglish with \captionsbritish or \captionsUKenglish, but both didn't work. Any suggestions? Roey
Re: about the .lyx formt
Hello all, On Wed, 5 Dec 2012 14:11:40 -0600 Nico Williams wrote: > ... If there was a > loss-free, bi-directional conversion between LyX and some XML schema > (XHTML, say), then that'd be good enough for now. There is an export > to XHTML function, but I don't think there's an import from XHTML Some time ago I experimented with LyX<->XML roundtrip. In my idea, XML was not one-to-one mapping of .lyx structure, but an XML format * which convenient for processing and generation, and * with enough hints to restore one-to-one correspondence. Unfortunately, I had to switch to other projects, and left the work abandoned. Only a part of functionality was implemented: * http://wiki.lyx.org/Devel/LyXFileFormatReverse * https://github.com/olpa/tex/tree/master/lyxml Use "lyxml.py" for testing. In any case, "lyxparser.py" is a good callback-style Python parser of .lyx files. > > Nico > -- > -- Oleg Parashchenko olpa@ http://uucode.com/ http://uucode.com/blog/ XML, TeX, Python, Mac, Chess
Appendix issue
Hi, I am working on my PhD thesis using LyX 2.0.5 on OS X 10.8.2, and the weirdest thing is happening with my appendix. I have set up the appendix region (using start appendix here) and included the appendix files in my parent document. The TOC outline and the Navigator see them perfectly, and title them correctly as Appendix A Appendix B Appendix C etc. - wonderful However when I render the document as a PDF, they all get renamed to Chapter, all except the first appendix - which still retains the title Appendix A. Even if I put multiple appendices in just one lyx file, it still keeps the name Appendix A for the first appendix but changes every later one to chapter. Any thoughts as to what is going on?
Re: No references in pdf output after change to texlive2012
Am Mittwoch, 5. Dezember 2012, 23:53:51 schrieb stefano franchi: Thanks, Stefano: > On Wed, Dec 5, 2012 at 7:53 AM, Wolfgang Engelmann < > > engelm...@uni-tuebingen.de> wrote: > > Am Samstag, 1. Dezember 2012, 18:37:00 schrieb stefano franchi: > > > > after a few days of abstinence from the PC I started again today and, > > surprise, the citations and references are all rendering ok in the pdf > > output. > > Glad to hear that. The computing gods may have decided to smile on > you... I am sure it was just the reboot > > > As to your question: I somehow managed to get this version via svn to > > work and hesitate to change it since I am very good in ending in an > > utter chaos. So unless you can point me to a safe way of installing > > the version of LyX, which you would recommend, I would stick to it. > > I would use the latest stable version (right now, 2.0.5) How to install > it would depend on which Linux distribution you are using. I am on > Arch, and installing (stable) Lyx from the official package works fine. I am on Debian squeeze. Wolfgang
Re: LyX document diff/merge tools for cooperative editing?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/12/12 19:44, Pavel Sanda wrote: > Jean-Marc Lasgouttes wrote: >> Le 04/12/2012 18:10, Nico Williams a écrit : >>> What would the exact command-line invocation be? >> >> Unfortunately, it seems that there is no lfun to do that. The only one is >> vc-compare, which >> compares documents already in version control. > > Not part of the official API (so no guarantee for future) but at this moment > "dialog-show > compare run file1 file2" LFUN should work. > > Apart from the problems how to cram it into commandline, the bug #6889 is in > my experience > quite limiting for real usage of LyX comparison tool. I agree with this comment - I wanted to use the comparison tool for comparing two revisions, and the result was simply unusable. But a compare tool from commandline would be exceedingly useful for VCS. Cheers, Rainer > > Pavel > -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlDAUd8ACgkQoYgNqgF2egrpdACbBB3kBgYRcxDeclBe7ROL8xor U8AAn1oZLLMDoFomJn2kcyfTYey1FcfX =gUr7 -END PGP SIGNATURE-