Re: Importing lyx files into a lyx file with a command line
On Sun, Jan 31, 2016 at 09:31:00PM +, Paul Smith wrote: > On Sun, Jan 31, 2016 at 7:50 PM, Scott Kostyshakwrote: > >> >> >> > >> >> >> I am trying to import the file y.lyx (attached) into the file x.lyx > >> >> >> (also attached) with the following command: > >> >> >> > >> >> >> lyx x.lyx -batch -i lyx y.lyx > >> >> >> > >> >> >> Unfortunately, y.lyx is not imported into x.lyx. Any ideas? > >> >> > > >> >> > Dear Paul, > >> >> > > >> >> > I believe that the command-line import is the analogy of the GUI File > >> >> > > > >> >> > Import. Further, I think that if you import a document, I think it > >> >> > becomes its own .lyx file. What is the GUI equivalent of what you want > >> >> > to do? Perhaps Insert > File > LyX Document? > >> >> > > >> >> > After we figure out the GUI equivalent, perhaps someone will have an > >> >> > idea for how to do it on the command line. > >> >> > >> >> Thanks, Scott, for your reply. > >> >> > >> >> Indeed, I would like to do with a command what one gets with > >> >> > >> >> GUI -> Insert -> File -> LyX Document. > >> > > >> > OK. And where in your document would you like that command to be issued? > >> > >> I would like to have y.lyx inserted at the end of document x.lyx. Thanks, > >> Scott. > > > > As a start, it would be good to figure out which underlying LyX LFUNs > > replicate this GUI behavior. Are you familiar with how to do that? > > No, Scott, I am not familiar at all with LyX LFUNs. OK, the first step then is to be familiar with LFUNs. Then we can try to automate things. LFUNs are how LyX performs actions. Usually they are behind the scenes, but you can also use LyX's "scripting language" to replicate behavior. See here for a general description (and follow the links in there): https://wiki.lyx.org/LyX/Mini-buffer See also Help > LyX functions Finally, to figure out which LFUNs the GUI is running, see here: http://tex.stackexchange.com/questions/208510/lyx-commands-to-insert-wysiwyg-horizontal-line-for-keyboard-shortcut/208531#208531 Let us know once you are able to figure out the command-sequence to put the cursor at the end of the document and insert the LyX file. Can you get it to work how you want in the minibuffer? Once you figure that out, then you can try it on the command line. See lyx --help, in particular the -x option. If you get lost at any of the above steps, please feel free to ask us for help. Be clear with what you have tried so far and where exactly you get stuck Scott signature.asc Description: PGP signature
Re: Export to TeX Needs Article-Specific .bib File [RESOLVED]
On Mon, 25 Jan 2016, Rich Shepard wrote: A pointer to what I should read to learn how to do this will be much appreciated. I need to close this thread by explaining that the elsarticle.cls must be used to create the document. Changing the document type to that does not pick up all the formatting and other aspect required. Rich
Unexplained file corruption makes it uneditable
I'm using 2.1.4 on OpenBSD. While editing a large file (book) I've twice had it suddenly corrupted which made it impossible to edit. Doing anything, such as inserting a space or deleting a letter, causes the whole para to be struck through (horizontal lines through the text) and the text changes colour. There is also a vertical line on the right. Oddly I can still make PDFs when this happens but it is no longer possible to change anything in the file. I don't know what I did preceding the change but it's happened twice. I spent many hours trying to fix it but in the end gave up and replaced the file with a slightly older one from offline backup. So far this is OK. Any ideas about what could cause this? I tried reinstalling lyx but the problem didn't go away. -- Anthony Campbellhttp://www.acampbell.uk
Re: Unexplained file corruption makes it uneditable
On Mon, Feb 1, 2016 at 5:33 PM, Anthony Campbellwrote: > I'm using 2.1.4 on OpenBSD. > > While editing a large file (book) I've twice had it suddenly corrupted > which made it impossible to edit. Doing anything, such as inserting a > space or deleting a letter, causes the whole para to be struck through > (horizontal lines through the text) and the text changes colour. There is > also a vertical line on the right. > > Oddly I can still make PDFs when this happens but it is no longer > possible to change anything in the file. I don't know what I did > preceding the change but it's happened twice. I spent many hours trying > to fix it but in the end gave up and replaced the file with a slightly > older one from offline backup. So far this is OK. > Sounds like Change Tracking... Did you enable this? Liviu > Any ideas about what could cause this? I tried reinstalling lyx but the > problem didn't go away. > > > -- > Anthony Campbellhttp://www.acampbell.uk -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library
Re: Math Instant Preview Failing due to Fontspec
Le 31/01/2016 17:34, Robert Susmilch a écrit : Are we talking within the instant preview settings section? I have an older 2.2.0 dev version, and did not see it in there (though I switched back to stable 2.1.4 on Fedora 22.) We are talking of Document settings > Output > Output format.
My posts don't arrive
I receive the posts to this list but when I post myself it doesn't appear, nor do I get a bounce. Is there still a problem with the list? -- Anthony Campbellhttp://www.acampbell.uk