Re: Unicode in ERT inserts
On 15 February 2014 01:33, Joe Lovick j...@anatexis.com wrote: Hi, So i have run into the issue that it would be good to use a unicode character within an ERT, but this causes a failure, one can type the character just fine in lyx, but it isn't converted during compilation. a minimal example is here http://goo.gl/d1gL6D what method should i be using to get unicode symbols into the ERT? I am using ERT becuase i need to use the Expex linguistics macros... it strikes me that maybe i should create a module that would present the functionality of the ERT code to Lyx, would this solve the issue of entering unicode within these blocks? is their documentation on writing modules in lyx that i can use as a reference? i had a quick look but could find any. This is actually a LaTeX issue. I found myself in a similar situation not too long ago, but I was using pandoc. As you can probably find out for yourself, 'latex unicode' or 'pandoc unicode' (still some relevant info there) will lead you to: http://tex.stackexchange.com/questions/34604/entering-unicode-characters-in-latex http://stackoverflow.com/questions/18178084/pandoc-and-foreign-characters I could not find any alternative to using XeTeX (xelatex). For other times, utf8x has served me well. I only always hope I never get into any unicode trouble. -- GPG/PGP ID: C0711BF1
Re: Unicode in ERT inserts
On 15 February 2014 01:33, Joe Lovick j...@anatexis.com wrote: Hi, So i have run into the issue that it would be good to use a unicode character within an ERT, but this causes a failure, one can type the character just fine in lyx, but it isn't converted during compilation. a minimal example is here http://goo.gl/d1gL6D what method should i be using to get unicode symbols into the ERT? I am using ERT becuase i need to use the Expex linguistics macros... it strikes me that maybe i should create a module that would present the functionality of the ERT code to Lyx, would this solve the issue of entering unicode within these blocks? is their documentation on writing modules in lyx that i can use as a reference? i had a quick look but could find any. This is actually a LaTeX issue. I found myself in a similar situation not too long ago, but I was using pandoc. As you can probably find out for yourself, 'latex unicode' or 'pandoc unicode' (still some relevant info there) will lead you to: http://tex.stackexchange.com/questions/34604/entering-unicode-characters-in-latex http://stackoverflow.com/questions/18178084/pandoc-and-foreign-characters I could not find any alternative to using XeTeX (xelatex). For other times, utf8x has served me well. I only always hope I never get into any unicode trouble. -- GPG/PGP ID: C0711BF1
Re: Unicode in ERT inserts
On 15 February 2014 01:33, Joe Lovickwrote: > > Hi, > >So i have run into the issue that it would be good to use a unicode > character within an ERT, but this causes a failure, one can type the > character just fine in lyx, but it isn't converted during compilation. > >a minimal example is here http://goo.gl/d1gL6D > >what method should i be using to get unicode symbols into the ERT? > >I am using ERT becuase i need to use the Expex linguistics macros... it > strikes me that maybe i should create a module that would present the > functionality of the ERT code to Lyx, would this solve the issue of entering > unicode within these blocks? > >is their documentation on writing modules in lyx that i can use as a > reference? i had a quick look but could find any. This is actually a LaTeX issue. I found myself in a similar situation not too long ago, but I was using pandoc. As you can probably find out for yourself, 'latex unicode' or 'pandoc unicode' (still some relevant info there) will lead you to: http://tex.stackexchange.com/questions/34604/entering-unicode-characters-in-latex http://stackoverflow.com/questions/18178084/pandoc-and-foreign-characters I could not find any alternative to using XeTeX (xelatex). For other times, utf8x has served me well. I only always hope I never get into any unicode trouble. -- GPG/PGP ID: C0711BF1
Re: printing
On 5 December 2013 03:36, Scott Kostyshak skost...@lyx.org wrote: On Wed, Dec 4, 2013 at 1:06 PM, David L. Johnson david.john...@lehigh.edu wrote: On 12/04/2013 12:43 PM, mike wrote: Hi Even though I am an old LaTeX user (but a new LyX user) for my current purposes I would like to be able to print in a format very similar to what I see on the screen in LyX. I do realise that LyX is not intended to be wysiwyg but what I see on the screen (some basic text and mathematics and nested itemised lists) is just about perfect for what I need if I could just figure out how to print it so that the printouts look like what I see on the screen. I guess I don't understand what you mean. On the one hand, if you have that on the screen, isn't it printed out that way? Aside from re-formatting the text to fit the page width, of course. What else about the way it looks on the screen do you not get on the printout? On the other hand, why would you want it to look more like the screen than the usual TeX output? TeX adds in ligatures and other fancy font details, re-sets the page width and justification, and prints what you wrote. Some fonts are different, but usually better than the on-screen appearance. Why would you want it more like the screen? +1 LaTeX is better and prettier for rendering than LyX. More details would be useful. The only reason I can think of is that you don't have LaTeX installed or you are getting LaTeX errors. To answer your question though, I don't think this is possible other than taking screen shots. I could be wrong though. It may not be obvious to him but I think he's looking for the UI font that he sees on the screen. In that case, mimic the exact font and point size (up to a max by default) in the document settings (you will have to use LuaTeX or XeTeX for the TTF support). -- GPG/PGP ID: C0711BF1
Re: printing
On 5 December 2013 03:36, Scott Kostyshak skost...@lyx.org wrote: On Wed, Dec 4, 2013 at 1:06 PM, David L. Johnson david.john...@lehigh.edu wrote: On 12/04/2013 12:43 PM, mike wrote: Hi Even though I am an old LaTeX user (but a new LyX user) for my current purposes I would like to be able to print in a format very similar to what I see on the screen in LyX. I do realise that LyX is not intended to be wysiwyg but what I see on the screen (some basic text and mathematics and nested itemised lists) is just about perfect for what I need if I could just figure out how to print it so that the printouts look like what I see on the screen. I guess I don't understand what you mean. On the one hand, if you have that on the screen, isn't it printed out that way? Aside from re-formatting the text to fit the page width, of course. What else about the way it looks on the screen do you not get on the printout? On the other hand, why would you want it to look more like the screen than the usual TeX output? TeX adds in ligatures and other fancy font details, re-sets the page width and justification, and prints what you wrote. Some fonts are different, but usually better than the on-screen appearance. Why would you want it more like the screen? +1 LaTeX is better and prettier for rendering than LyX. More details would be useful. The only reason I can think of is that you don't have LaTeX installed or you are getting LaTeX errors. To answer your question though, I don't think this is possible other than taking screen shots. I could be wrong though. It may not be obvious to him but I think he's looking for the UI font that he sees on the screen. In that case, mimic the exact font and point size (up to a max by default) in the document settings (you will have to use LuaTeX or XeTeX for the TTF support). -- GPG/PGP ID: C0711BF1
Re: printing
On 5 December 2013 03:36, Scott Kostyshakwrote: > On Wed, Dec 4, 2013 at 1:06 PM, David L. Johnson > wrote: >> On 12/04/2013 12:43 PM, mike wrote: >>> >>> Hi >>> >>> Even though I am an old LaTeX user (but a new LyX user) for my current >>> purposes I would like to be able to print in a format very similar to what I >>> see on the screen in LyX. I do realise that LyX is not intended to be >>> wysiwyg but what I see on the screen (some basic text and mathematics and >>> nested itemised lists) is just about perfect for what I need if I could just >>> figure out how to print it so that the printouts look like what I see on the >>> screen. >> >> I guess I don't understand what you mean. On the one hand, if you have that >> on the screen, isn't it printed out that way? Aside from re-formatting the >> text to fit the page width, of course. What else about the way it looks on >> the screen do you not get on the printout? >> >> On the other hand, why would you want it to look more like the screen than >> the usual TeX output? TeX adds in ligatures and other fancy font details, >> re-sets the page width and justification, and prints what you wrote. Some >> fonts are different, but usually better than the on-screen appearance. Why >> would you want it more like the screen? > > +1 LaTeX is better and prettier for rendering than LyX. > > More details would be useful. The only reason I can think of is that > you don't have LaTeX installed or you are getting LaTeX errors. > > To answer your question though, I don't think this is possible other > than taking screen shots. I could be wrong though. It may not be obvious to him but I think he's looking for the UI font that he sees on the screen. In that case, mimic the exact font and point size (up to a max by default) in the document settings (you will have to use LuaTeX or XeTeX for the TTF support). -- GPG/PGP ID: C0711BF1
Re: Widows and Orphans
On 11 September 2013 03:35, Gordon Cooper hughgord...@gmail.com wrote: I expected that an answer would not be simple About 20 years ago I wrote a module in Pascal that kept a line count for each page and forced a new page if a paragraph break or a new heading came within a selectable distance from the bottom. This partly solved the issue, but not completely. Thanks for the information. This has really bothered me as well, often in large documents where I have to go through every single page after a minor revision to check for widows and orphans -- it really is a PITA. The high penalty settings did not work for me in any of the cases. -- GPG/PGP ID: C0711BF1
Re: Widows and Orphans
On 11 September 2013 03:35, Gordon Cooper hughgord...@gmail.com wrote: I expected that an answer would not be simple About 20 years ago I wrote a module in Pascal that kept a line count for each page and forced a new page if a paragraph break or a new heading came within a selectable distance from the bottom. This partly solved the issue, but not completely. Thanks for the information. This has really bothered me as well, often in large documents where I have to go through every single page after a minor revision to check for widows and orphans -- it really is a PITA. The high penalty settings did not work for me in any of the cases. -- GPG/PGP ID: C0711BF1
Re: Widows and Orphans
On 11 September 2013 03:35, Gordon Cooperwrote: > I expected that an answer would not be simple About 20 years ago > I wrote a module in Pascal that kept a line count for each page > and forced a new page if a paragraph break or a new heading > came within a selectable distance from the bottom. This partly > solved the issue, but not completely. > > Thanks for the information. This has really bothered me as well, often in large documents where I have to go through every single page after a minor revision to check for widows and orphans -- it really is a PITA. The high penalty settings did not work for me in any of the cases. -- GPG/PGP ID: C0711BF1
Re: Disable copy and paste
On 8 August 2013 16:17, Rilke Rainer Michael ri...@wiso.uni-koeln.de wrote: Hi List, I want to export a lyx document to a pdf. However, I want also that once reading the document it is impossible to copy and paste text from this pdf. Do you have any idea, whether there is a workaround for lyx? That is encryption. You have the choice of disabling printing as well. Converting to images, or rasterizing fonts, has the same effect as not allowing copies but greatly increases the file size. However, this is a standalone process, separate from LyX. I use PDFtk on GNU/Linux. [1] [1] http://www.pdflabs.com/docs/pdftk-cli-examples/ -- GPG/PGP ID: C0711BF1
Re: Disable copy and paste
On 8 August 2013 17:51, Rainer M Krug rai...@krugs.de wrote: Just one word of caution: if you can see the text on screen, you can extract it by taking a screenshot and using ocr (optical character recognition) and nothing will stop you. So this just makes it slightly more difficult to get the text. What's more, if I'm not wrong, encryption depends on the reader having support, so you can effectively render encryption useless by using a very old reader and PDF format. Even GhostScript lets you bypass encryption, though not intentionally. It's really all about preventing frequent abuse of documents by lay people. Someone with the intent _will_ get your text somehow or another. There are many tools that person could employ. -- GPG/PGP ID: C0711BF1
Re: Disable copy and paste
On 8 August 2013 16:17, Rilke Rainer Michael ri...@wiso.uni-koeln.de wrote: Hi List, I want to export a lyx document to a pdf. However, I want also that once reading the document it is impossible to copy and paste text from this pdf. Do you have any idea, whether there is a workaround for lyx? That is encryption. You have the choice of disabling printing as well. Converting to images, or rasterizing fonts, has the same effect as not allowing copies but greatly increases the file size. However, this is a standalone process, separate from LyX. I use PDFtk on GNU/Linux. [1] [1] http://www.pdflabs.com/docs/pdftk-cli-examples/ -- GPG/PGP ID: C0711BF1
Re: Disable copy and paste
On 8 August 2013 17:51, Rainer M Krug rai...@krugs.de wrote: Just one word of caution: if you can see the text on screen, you can extract it by taking a screenshot and using ocr (optical character recognition) and nothing will stop you. So this just makes it slightly more difficult to get the text. What's more, if I'm not wrong, encryption depends on the reader having support, so you can effectively render encryption useless by using a very old reader and PDF format. Even GhostScript lets you bypass encryption, though not intentionally. It's really all about preventing frequent abuse of documents by lay people. Someone with the intent _will_ get your text somehow or another. There are many tools that person could employ. -- GPG/PGP ID: C0711BF1
Re: Disable copy and paste
On 8 August 2013 16:17, Rilke Rainer Michaelwrote: > Hi List, > > > > I want to export a lyx document to a pdf. However, I want also that once > reading the document it is impossible to copy and paste text from this pdf. > Do you have any idea, whether there is a workaround for lyx? That is encryption. You have the choice of disabling printing as well. Converting to images, or rasterizing fonts, has the same effect as not allowing copies but greatly increases the file size. However, this is a standalone process, separate from LyX. I use PDFtk on GNU/Linux. [1] [1] http://www.pdflabs.com/docs/pdftk-cli-examples/ -- GPG/PGP ID: C0711BF1
Re: Disable copy and paste
On 8 August 2013 17:51, Rainer M Krugwrote: > Just one word of caution: if you can see the text on screen, you can > extract it by taking a screenshot and using ocr (optical character > recognition) and nothing will stop you. So this just makes it slightly > more difficult to get the text. What's more, if I'm not wrong, encryption depends on the reader having support, so you can effectively render encryption useless by using a very old reader and PDF format. Even GhostScript lets you bypass encryption, though not intentionally. It's really all about preventing frequent abuse of documents by lay people. Someone with the intent _will_ get your text somehow or another. There are many tools that person could employ. -- GPG/PGP ID: C0711BF1
Re: the dreaded docx export - WAS: Anyone know of a best-seller written in LyX
On 12 June 2013 20:45, Rainer M Krug rai...@krugs.de wrote: stefano franchi stefano.fran...@gmail.com writes: On Wed, Jun 12, 2013 at 9:11 AM, Rainer M Krug rai...@krugs.de wrote: stefano franchi stefano.fran...@gmail.com writes: On Wed, Jun 12, 2013 at 2:21 AM, Rainer M Krug rai...@krugs.de wrote: Ray Rashif schivmeis...@gmail.com writes: On 12 June 2013 03:57, stefano franchi stefano.fran...@gmail.com wrote: On Tue, Jun 11, 2013 at 2:09 PM, Ray Rashif schivmeis...@gmail.com wrote: On 11 June 2013 14:15, Rainer M Krug rai...@krugs.de wrote: I wanted to survey the LyX and LaTeX community for some opinions on this, perhaps to get an idea as to the demand for some research into this area. The project would do some empirical comparisons of the workarounds and propose at most two or three solutions that work (integration with Pandoc, or converintg directly to a simpler and well-supported language). The emphasis would be on retaining as much semantic meaning as possible, across different levels of complexity, starting from the very basic. I am not aware of any similar academic or non-academic effort, but this could also be a long blog post. HI Ray, I am not sure about what you're asking, exactly? Perhaps a survey of the different lyx-doc(x) use cases that current lyx users care most about? Or rather a definition of the simplest yet still useful use case we can imagine? If the former, I would suggest starting a page on our wiki, perhaps as a possible GSoC 2014 project, as a repository of useful cases I think to start a wiki page to outline a possible GSoC 2014 project would be a good idea. I created a page here: http://wiki.lyx.org/GSoC/GSoCProjectIdeasFor2014 The first item on the page is Round trip conversion between LyX and .docx formats http://wiki.lyx.org/GSoC/GSoCProjectIdeasFor2014#toc1 I entered a minimal description of what I take is both Rainer's and Ray's wishes. Could you guys expand it? Thanks Stefano. just added my ideas and my understanding[1]. Please add your ideas and suggestions. Thanks Rainer. I added a couple of desired items to your list. To collate the discussion, I added a ticket: http://www.lyx.org/trac/ticket/8745 to record discussions there. Please feel free to close the ticket if this is an wrong usage of a ticket. Thanks guys, that's a good start. At first I wasn't sure how relevant this would be for LyX or a summer program like GSoC, but with what you guys have written the idea can be adapted and defined well. I'll add on if I see anything else missing. -- GPG/PGP ID: C0711BF1
Re: the dreaded docx export - WAS: Anyone know of a best-seller written in LyX
On 12 June 2013 20:45, Rainer M Krug rai...@krugs.de wrote: stefano franchi stefano.fran...@gmail.com writes: On Wed, Jun 12, 2013 at 9:11 AM, Rainer M Krug rai...@krugs.de wrote: stefano franchi stefano.fran...@gmail.com writes: On Wed, Jun 12, 2013 at 2:21 AM, Rainer M Krug rai...@krugs.de wrote: Ray Rashif schivmeis...@gmail.com writes: On 12 June 2013 03:57, stefano franchi stefano.fran...@gmail.com wrote: On Tue, Jun 11, 2013 at 2:09 PM, Ray Rashif schivmeis...@gmail.com wrote: On 11 June 2013 14:15, Rainer M Krug rai...@krugs.de wrote: I wanted to survey the LyX and LaTeX community for some opinions on this, perhaps to get an idea as to the demand for some research into this area. The project would do some empirical comparisons of the workarounds and propose at most two or three solutions that work (integration with Pandoc, or converintg directly to a simpler and well-supported language). The emphasis would be on retaining as much semantic meaning as possible, across different levels of complexity, starting from the very basic. I am not aware of any similar academic or non-academic effort, but this could also be a long blog post. HI Ray, I am not sure about what you're asking, exactly? Perhaps a survey of the different lyx-doc(x) use cases that current lyx users care most about? Or rather a definition of the simplest yet still useful use case we can imagine? If the former, I would suggest starting a page on our wiki, perhaps as a possible GSoC 2014 project, as a repository of useful cases I think to start a wiki page to outline a possible GSoC 2014 project would be a good idea. I created a page here: http://wiki.lyx.org/GSoC/GSoCProjectIdeasFor2014 The first item on the page is Round trip conversion between LyX and .docx formats http://wiki.lyx.org/GSoC/GSoCProjectIdeasFor2014#toc1 I entered a minimal description of what I take is both Rainer's and Ray's wishes. Could you guys expand it? Thanks Stefano. just added my ideas and my understanding[1]. Please add your ideas and suggestions. Thanks Rainer. I added a couple of desired items to your list. To collate the discussion, I added a ticket: http://www.lyx.org/trac/ticket/8745 to record discussions there. Please feel free to close the ticket if this is an wrong usage of a ticket. Thanks guys, that's a good start. At first I wasn't sure how relevant this would be for LyX or a summer program like GSoC, but with what you guys have written the idea can be adapted and defined well. I'll add on if I see anything else missing. -- GPG/PGP ID: C0711BF1
Re: the dreaded docx export - WAS: Anyone know of a best-seller written in LyX
On 12 June 2013 20:45, Rainer M Krug <rai...@krugs.de> wrote: > stefano franchi <stefano.fran...@gmail.com> writes: > > > On Wed, Jun 12, 2013 at 9:11 AM, Rainer M Krug <rai...@krugs.de> wrote: > > > >> stefano franchi <stefano.fran...@gmail.com> writes: > >> > >> > On Wed, Jun 12, 2013 at 2:21 AM, Rainer M Krug <rai...@krugs.de> > wrote: > >> > > >> >> Ray Rashif <schivmeis...@gmail.com> writes: > >> >> > >> >> > On 12 June 2013 03:57, stefano franchi <stefano.fran...@gmail.com> > >> >> wrote: > >> >> > > >> >> >> > >> >> >> > >> >> >> > >> >> >> On Tue, Jun 11, 2013 at 2:09 PM, Ray Rashif < > schivmeis...@gmail.com > >> >> >wrote: > >> >> >> > >> >> >>> On 11 June 2013 14:15, Rainer M Krug <rai...@krugs.de> wrote: > >> >> >>> > >> >> >>> I wanted to survey the LyX and LaTeX community for some opinions > on > >> >> this, > >> >> >>> perhaps to get an idea as to the demand for some research into > this > >> >> area. > >> >> >>> The project would do some empirical comparisons of the > workarounds > >> and > >> >> >>> propose at most two or three solutions that work (integration > with > >> >> Pandoc, > >> >> >>> or converintg directly to a simpler and well-supported language). > >> >> >>> > >> >> >>> The emphasis would be on retaining as much semantic meaning as > >> >> possible, > >> >> >>> across different levels of complexity, starting from the very > >> basic. I > >> >> am > >> >> >>> not aware of any similar academic or non-academic effort, but > this > >> >> could > >> >> >>> also be a long blog post. > >> >> >>> > >> >> >>> > >> >> >> > >> >> >> HI Ray, > >> >> >> > >> >> >> I am not sure about what you're asking, exactly? Perhaps a survey > of > >> the > >> >> >> different lyx-doc(x) use cases that current lyx users care most > >> about? > >> >> Or > >> >> >> rather a definition of the simplest yet still useful use case we > can > >> >> >> imagine? If the former, I would suggest starting a page on our > wiki, > >> >> >> perhaps as a possible GSoC 2014 project, as a repository of useful > >> cases > >> >> > >> >> I think to start a wiki page to outline a possible GSoC 2014 project > >> >> would be a good idea. > >> >> > >> >> > >> > I created a page here: > http://wiki.lyx.org/GSoC/GSoCProjectIdeasFor2014 > >> > The first item on the page is "Round trip conversion between LyX and > >> .docx > >> > formats <http://wiki.lyx.org/GSoC/GSoCProjectIdeasFor2014#toc1>" > >> > I entered a minimal description of what I take is both Rainer's and > Ray's > >> > wishes. > >> > Could you guys expand it? > >> > >> Thanks Stefano. > >> > >> just added my ideas and my understanding[1]. Please add your ideas and > >> suggestions. > >> > >> > > > > Thanks Rainer. I added a couple of desired items to your list. > > To collate the discussion, I added a ticket: > > http://www.lyx.org/trac/ticket/8745 > > to record discussions there. > > Please feel free to close the ticket if this is an wrong usage of a > ticket. Thanks guys, that's a good start. At first I wasn't sure how relevant this would be for LyX or a summer program like GSoC, but with what you guys have written the idea can be adapted and defined well. I'll add on if I see anything else missing. -- GPG/PGP ID: C0711BF1
Re: the dreaded docx export - WAS: Anyone know of a best-seller written in LyX
On 11 June 2013 14:15, Rainer M Krug rai...@krugs.de wrote: These are just ideas from my side, but to try to incorporate pandoc into LyX in the same way as LaTeX is Incorporated, would make LyX even more powerful then it is already now. I agree. In fact, I think this affects me more as an editor, where I have to collaborate with clients often with a format they're comfortable with. Recently I've been using pandoc markdown to write stuff and then outputting to Word, but the back and forth is really becoming annoying as the other way around is not a painless route. For a start, both RTF and DOC formats have some inherent issues. I took some time to briefly benchmark this and came to the conclusion that they're not really worth the effort. Try converting a simple RTF or DOC file with one section and some basic formatting (bold, italic). Abiword, OpenOffice, Ted -- all had problems. However, DOCX is a different story. I believe that if we define the simplest use case we are satisfied with we can come up with a good solution for DOCX, which is a (slightly) documented format (at least, better than RTF or DOC). Rob Oakes did some work on DOC [1] but it still involves a number of loops and caveats. You can also find some programmatic examples for writing DOCX on the web [2] and an HTML converter. [3] I wanted to survey the LyX and LaTeX community for some opinions on this, perhaps to get an idea as to the demand for some research into this area. The project would do some empirical comparisons of the workarounds and propose at most two or three solutions that work (integration with Pandoc, or converintg directly to a simpler and well-supported language). The emphasis would be on retaining as much semantic meaning as possible, across different levels of complexity, starting from the very basic. I am not aware of any similar academic or non-academic effort, but this could also be a long blog post. [1] http://blog.oak-tree.us/index.php/2010/05/14/msword-lyx-import [2] http://www.jackreichert.com/2012/11/09/how-to-convert-docx-to-html/ [3] http://www.textfixer.com/html/convert-word-to-html.php -- GPG/PGP ID: C0711BF1
Re: the dreaded docx export - WAS: Anyone know of a best-seller written in LyX
On 12 June 2013 03:57, stefano franchi stefano.fran...@gmail.com wrote: On Tue, Jun 11, 2013 at 2:09 PM, Ray Rashif schivmeis...@gmail.comwrote: On 11 June 2013 14:15, Rainer M Krug rai...@krugs.de wrote: I wanted to survey the LyX and LaTeX community for some opinions on this, perhaps to get an idea as to the demand for some research into this area. The project would do some empirical comparisons of the workarounds and propose at most two or three solutions that work (integration with Pandoc, or converintg directly to a simpler and well-supported language). The emphasis would be on retaining as much semantic meaning as possible, across different levels of complexity, starting from the very basic. I am not aware of any similar academic or non-academic effort, but this could also be a long blog post. HI Ray, I am not sure about what you're asking, exactly? Perhaps a survey of the different lyx-doc(x) use cases that current lyx users care most about? Or rather a definition of the simplest yet still useful use case we can imagine? If the former, I would suggest starting a page on our wiki, perhaps as a possible GSoC 2014 project, as a repository of useful cases people could refer to. If the latter...well I'd need further info because I'm not really sure what you're aiming for. Hey Stefano Sorry for the lack of clarity there -- probably a mistake of dumping one or two things I had on my mind without context. I was referring to cross-platform document interoperability for collaborative writing and editing, not really LyX-specific but very much related, and not really a new issue. If there are people indeed affected by this, and they would like some documentation, then I'd like to put in some time to review current issues and strategies, and produce working code to convert a non-friendly format into a pluggable one (into LyX, LaTeX, Pandoc) for _only_ the use cases that matter most (according to the target audience; writers, editors, fiction or non-fiction). Often times I have found myself dealing with only a subset of formatting tools during the first phase of a write-up, in most cases a draft, and I would often make the mistake of thinking they're simple enough to not break collaboration. I would assume many of our workflows start with sections, followed by emphasis (boldface and italics), then simple lists (itemized and enumerated), footnotes, and finally citations. Personally I have never needed anything more complex like cross-references, tables and images -- I always schedule them for later phases because they interrupt the workflow, although I do make space for them informally (using characters I can easily search for). At the end of the day, what I have to deal with is a DOC or DOCX file with semantic comments (that are not understood by most other tools), no matter where or how I start. == TL;DR == What I'd like is to solve for the missing input formats in e.g. Pandoc. It does not support RTF, DOC, or DOCX, but supports HTML, which Word does not output cleanly. Either way, it's something I have had in my mind for some time, but too busy to investigate or ask around methodically. Getting an idea of the demand for a solution in this case could force me to invest the time. Inspiration: http://gio.act.gov.au/2013/03/13/document-conversion-markdown/ -- GPG/PGP ID: C0711BF1
Re: the dreaded docx export - WAS: Anyone know of a best-seller written in LyX
On 11 June 2013 14:15, Rainer M Krug rai...@krugs.de wrote: These are just ideas from my side, but to try to incorporate pandoc into LyX in the same way as LaTeX is Incorporated, would make LyX even more powerful then it is already now. I agree. In fact, I think this affects me more as an editor, where I have to collaborate with clients often with a format they're comfortable with. Recently I've been using pandoc markdown to write stuff and then outputting to Word, but the back and forth is really becoming annoying as the other way around is not a painless route. For a start, both RTF and DOC formats have some inherent issues. I took some time to briefly benchmark this and came to the conclusion that they're not really worth the effort. Try converting a simple RTF or DOC file with one section and some basic formatting (bold, italic). Abiword, OpenOffice, Ted -- all had problems. However, DOCX is a different story. I believe that if we define the simplest use case we are satisfied with we can come up with a good solution for DOCX, which is a (slightly) documented format (at least, better than RTF or DOC). Rob Oakes did some work on DOC [1] but it still involves a number of loops and caveats. You can also find some programmatic examples for writing DOCX on the web [2] and an HTML converter. [3] I wanted to survey the LyX and LaTeX community for some opinions on this, perhaps to get an idea as to the demand for some research into this area. The project would do some empirical comparisons of the workarounds and propose at most two or three solutions that work (integration with Pandoc, or converintg directly to a simpler and well-supported language). The emphasis would be on retaining as much semantic meaning as possible, across different levels of complexity, starting from the very basic. I am not aware of any similar academic or non-academic effort, but this could also be a long blog post. [1] http://blog.oak-tree.us/index.php/2010/05/14/msword-lyx-import [2] http://www.jackreichert.com/2012/11/09/how-to-convert-docx-to-html/ [3] http://www.textfixer.com/html/convert-word-to-html.php -- GPG/PGP ID: C0711BF1
Re: the dreaded docx export - WAS: Anyone know of a best-seller written in LyX
On 12 June 2013 03:57, stefano franchi stefano.fran...@gmail.com wrote: On Tue, Jun 11, 2013 at 2:09 PM, Ray Rashif schivmeis...@gmail.comwrote: On 11 June 2013 14:15, Rainer M Krug rai...@krugs.de wrote: I wanted to survey the LyX and LaTeX community for some opinions on this, perhaps to get an idea as to the demand for some research into this area. The project would do some empirical comparisons of the workarounds and propose at most two or three solutions that work (integration with Pandoc, or converintg directly to a simpler and well-supported language). The emphasis would be on retaining as much semantic meaning as possible, across different levels of complexity, starting from the very basic. I am not aware of any similar academic or non-academic effort, but this could also be a long blog post. HI Ray, I am not sure about what you're asking, exactly? Perhaps a survey of the different lyx-doc(x) use cases that current lyx users care most about? Or rather a definition of the simplest yet still useful use case we can imagine? If the former, I would suggest starting a page on our wiki, perhaps as a possible GSoC 2014 project, as a repository of useful cases people could refer to. If the latter...well I'd need further info because I'm not really sure what you're aiming for. Hey Stefano Sorry for the lack of clarity there -- probably a mistake of dumping one or two things I had on my mind without context. I was referring to cross-platform document interoperability for collaborative writing and editing, not really LyX-specific but very much related, and not really a new issue. If there are people indeed affected by this, and they would like some documentation, then I'd like to put in some time to review current issues and strategies, and produce working code to convert a non-friendly format into a pluggable one (into LyX, LaTeX, Pandoc) for _only_ the use cases that matter most (according to the target audience; writers, editors, fiction or non-fiction). Often times I have found myself dealing with only a subset of formatting tools during the first phase of a write-up, in most cases a draft, and I would often make the mistake of thinking they're simple enough to not break collaboration. I would assume many of our workflows start with sections, followed by emphasis (boldface and italics), then simple lists (itemized and enumerated), footnotes, and finally citations. Personally I have never needed anything more complex like cross-references, tables and images -- I always schedule them for later phases because they interrupt the workflow, although I do make space for them informally (using characters I can easily search for). At the end of the day, what I have to deal with is a DOC or DOCX file with semantic comments (that are not understood by most other tools), no matter where or how I start. == TL;DR == What I'd like is to solve for the missing input formats in e.g. Pandoc. It does not support RTF, DOC, or DOCX, but supports HTML, which Word does not output cleanly. Either way, it's something I have had in my mind for some time, but too busy to investigate or ask around methodically. Getting an idea of the demand for a solution in this case could force me to invest the time. Inspiration: http://gio.act.gov.au/2013/03/13/document-conversion-markdown/ -- GPG/PGP ID: C0711BF1
Re: the dreaded docx export - WAS: Anyone know of a best-seller written in LyX
On 11 June 2013 14:15, Rainer M Krugwrote: > These are just ideas from my side, but to try to incorporate pandoc > into LyX in the same way as LaTeX is Incorporated, would make LyX even > more powerful then it is already now. > I agree. In fact, I think this affects me more as an editor, where I have to collaborate with clients often with a format they're comfortable with. Recently I've been using pandoc markdown to write stuff and then outputting to Word, but the back and forth is really becoming annoying as the other way around is not a painless route. For a start, both RTF and DOC formats have some inherent issues. I took some time to briefly benchmark this and came to the conclusion that they're not really worth the effort. Try converting a simple RTF or DOC file with one section and some basic formatting (bold, italic). Abiword, OpenOffice, Ted -- all had problems. However, DOCX is a different story. I believe that if we define the simplest use case we are satisfied with we can come up with a good solution for DOCX, which is a (slightly) documented format (at least, better than RTF or DOC). Rob Oakes did some work on DOC [1] but it still involves a number of loops and caveats. You can also find some programmatic examples for writing DOCX on the web [2] and an HTML converter. [3] I wanted to survey the LyX and LaTeX community for some opinions on this, perhaps to get an idea as to the demand for some research into this area. The project would do some empirical comparisons of the workarounds and propose at most two or three solutions that work (integration with Pandoc, or converintg directly to a simpler and well-supported language). The emphasis would be on retaining as much semantic meaning as possible, across different levels of complexity, starting from the very basic. I am not aware of any similar academic or non-academic effort, but this could also be a long blog post. [1] http://blog.oak-tree.us/index.php/2010/05/14/msword-lyx-import [2] http://www.jackreichert.com/2012/11/09/how-to-convert-docx-to-html/ [3] http://www.textfixer.com/html/convert-word-to-html.php -- GPG/PGP ID: C0711BF1
Re: the dreaded docx export - WAS: Anyone know of a best-seller written in LyX
On 12 June 2013 03:57, stefano franchi <stefano.fran...@gmail.com> wrote: > > > > On Tue, Jun 11, 2013 at 2:09 PM, Ray Rashif <schivmeis...@gmail.com>wrote: > >> On 11 June 2013 14:15, Rainer M Krug <rai...@krugs.de> wrote: >> >> I wanted to survey the LyX and LaTeX community for some opinions on this, >> perhaps to get an idea as to the demand for some research into this area. >> The project would do some empirical comparisons of the workarounds and >> propose at most two or three solutions that work (integration with Pandoc, >> or converintg directly to a simpler and well-supported language). >> >> The emphasis would be on retaining as much semantic meaning as possible, >> across different levels of complexity, starting from the very basic. I am >> not aware of any similar academic or non-academic effort, but this could >> also be a long blog post. >> >> > > HI Ray, > > I am not sure about what you're asking, exactly? Perhaps a survey of the > different lyx-doc(x) use cases that current lyx users care most about? Or > rather a definition of the simplest yet still useful use case we can > imagine? If the former, I would suggest starting a page on our wiki, > perhaps as a possible GSoC 2014 project, as a repository of useful cases > people could refer to. If the latter...well I'd need further info because > I'm not really sure what you're aiming for. > Hey Stefano Sorry for the lack of clarity there -- probably a mistake of dumping one or two things I had on my mind without context. I was referring to cross-platform document interoperability for collaborative writing and editing, not really LyX-specific but very much related, and not really a new issue. If there are people indeed affected by this, and they would like some documentation, then I'd like to put in some time to review current issues and strategies, and produce working code to convert a non-friendly format into a pluggable one (into LyX, LaTeX, Pandoc) for _only_ the use cases that matter most (according to the target audience; writers, editors, fiction or non-fiction). Often times I have found myself dealing with only a subset of formatting tools during the first phase of a write-up, in most cases a draft, and I would often make the mistake of thinking they're simple enough to not break collaboration. I would assume many of our workflows start with sections, followed by emphasis (boldface and italics), then simple lists (itemized and enumerated), footnotes, and finally citations. Personally I have never needed anything more complex like cross-references, tables and images -- I always schedule them for later phases because they interrupt the workflow, although I do make space for them informally (using characters I can easily search for). At the end of the day, what I have to deal with is a DOC or DOCX file with semantic comments (that are not understood by most other tools), no matter where or how I start. == TL;DR == What I'd like is to solve for the missing input formats in e.g. Pandoc. It does not support RTF, DOC, or DOCX, but supports HTML, which Word does not output cleanly. Either way, it's something I have had in my mind for some time, but too busy to investigate or ask around methodically. Getting an idea of the demand for a solution in this case could force me to invest the time. Inspiration: http://gio.act.gov.au/2013/03/13/document-conversion-markdown/ -- GPG/PGP ID: C0711BF1
Re: Anyone know of a best-seller written in LyX
On 9 June 2013 23:32, stefano franchi stefano.fran...@gmail.com wrote: On Sun, Jun 9, 2013 at 9:36 AM, Steve Litt sl...@troubleshooters.comwrote: So, when he comes back and asks that, it would be *wonderful* to give the writer's list one or more best seller books (I think something with an Amazon rank of less than 5000 would do it), to refute his statement, by counterexample. I'm willing to bet you won't find such an example. The reason is simple: more or less by definition a best-seller is book produced by a major commercial publishing house supported by a consistent marketing effort, heavily edited by a professional editor and laid out by a (team of ) typesetters according to a carefully designed house-specific graphic design project. The writer is just one element of the whole operation and she must use tools everyone else uses (or tools that produce output everyone else can use and viceversa). That means the writer must use microsoft word or word-compatible software, because that the format the editor will expect, and the doc format is what the typesetter wants when the text is inputted into InDesign. LyX just does not fit that scenario---unless everyone else moves to LyX and the typesetters switch to LaTeX. It's not going to happen. The exception is scientific publishing (Springer comes to mind), where, until not too long ago, many publishers had embraced Latex typesetting, and therefore made fitting LyX into their process relatively easy. But if by best-sellers you mean the kind of books listed on the NYTimes, then I'm afraid LyX won't have much of a chance. Then again, I'm a pessimist by nature. I'm not much of a pessimist, but I would agree with this. Unless we we survey the tools used by self-published bestsellers [1], we'll lose this debate. Traditional publishing generally means submitting a proposal, a manuscript and then getting an advance -- no where in there do I see an incentive to go out of your way to do anything but write. Now, if there were publishing houses using open-source tools, I wouldn't know, but that would be really cool. [1] http://www.amazon.com/Self-Published-Bestsellers/lm/R2UHB9O6LWN1QI -- GPG/PGP ID: C0711BF1
Re: Anyone know of a best-seller written in LyX
On 9 June 2013 23:32, stefano franchi stefano.fran...@gmail.com wrote: On Sun, Jun 9, 2013 at 9:36 AM, Steve Litt sl...@troubleshooters.comwrote: So, when he comes back and asks that, it would be *wonderful* to give the writer's list one or more best seller books (I think something with an Amazon rank of less than 5000 would do it), to refute his statement, by counterexample. I'm willing to bet you won't find such an example. The reason is simple: more or less by definition a best-seller is book produced by a major commercial publishing house supported by a consistent marketing effort, heavily edited by a professional editor and laid out by a (team of ) typesetters according to a carefully designed house-specific graphic design project. The writer is just one element of the whole operation and she must use tools everyone else uses (or tools that produce output everyone else can use and viceversa). That means the writer must use microsoft word or word-compatible software, because that the format the editor will expect, and the doc format is what the typesetter wants when the text is inputted into InDesign. LyX just does not fit that scenario---unless everyone else moves to LyX and the typesetters switch to LaTeX. It's not going to happen. The exception is scientific publishing (Springer comes to mind), where, until not too long ago, many publishers had embraced Latex typesetting, and therefore made fitting LyX into their process relatively easy. But if by best-sellers you mean the kind of books listed on the NYTimes, then I'm afraid LyX won't have much of a chance. Then again, I'm a pessimist by nature. I'm not much of a pessimist, but I would agree with this. Unless we we survey the tools used by self-published bestsellers [1], we'll lose this debate. Traditional publishing generally means submitting a proposal, a manuscript and then getting an advance -- no where in there do I see an incentive to go out of your way to do anything but write. Now, if there were publishing houses using open-source tools, I wouldn't know, but that would be really cool. [1] http://www.amazon.com/Self-Published-Bestsellers/lm/R2UHB9O6LWN1QI -- GPG/PGP ID: C0711BF1
Re: Anyone know of a best-seller written in LyX
On 9 June 2013 23:32, stefano franchiwrote: > > > > On Sun, Jun 9, 2013 at 9:36 AM, Steve Litt wrote: > > >> So, when he comes back and asks that, it would be *wonderful* to give >> the writer's list one or more best seller books (I think something with >> an Amazon rank of less than 5000 would do it), to refute his statement, >> by counterexample. >> >> > > I'm willing to bet you won't find such an example. The reason is simple: > more or less by definition a best-seller is book produced by a major > commercial publishing house supported by a consistent marketing effort, > heavily edited by a professional editor and laid out by a (team of ) > typesetters according to a carefully designed house-specific graphic design > project. The writer is just one element of the whole operation and she must > use tools everyone else uses (or tools that produce output everyone else > can use and viceversa). That means the writer must use microsoft word or > word-compatible software, because that the format the editor will expect, > and the doc format is what the typesetter wants when the text is inputted > into InDesign. > LyX just does not fit that scenario---unless everyone else moves to LyX > and the typesetters switch to LaTeX. It's not going to happen. > > The exception is scientific publishing (Springer comes to mind), where, > until not too long ago, many publishers had embraced Latex typesetting, and > therefore made fitting LyX into their process relatively easy. > > But if by "best-sellers" you mean the kind of books listed on the NYTimes, > then I'm afraid LyX won't have much of a chance. > > Then again, I'm a pessimist by nature. > I'm not much of a pessimist, but I would agree with this. Unless we we survey the tools used by self-published bestsellers [1], we'll lose this debate. Traditional publishing generally means submitting a proposal, a manuscript and then getting an advance -- no where in there do I see an incentive to go out of your way to do anything but write. Now, if there were publishing houses using open-source tools, I wouldn't know, but that would be really cool. [1] http://www.amazon.com/Self-Published-Bestsellers/lm/R2UHB9O6LWN1QI -- GPG/PGP ID: C0711BF1
Re: Line breaks in URLs
On 7 June 2013 04:35, Tim Wescott t...@wescottdesign.com wrote: I tried putting a really really long URL into Lyx, expecting that it would get line breaks forced as necessary to fit. That didn't happen -- instead, it just gets truncated. Is there a way to force line breaks in a URL, or even (oh be still my heart) to tell Lyx to make it happen? TIA -- Tim Wescott www.wescottdesign.com Control Communications systems, circuit software design. I've had the best luck with Insert URL when I want verbatim links and not hyperlinks behind text. -- GPG/PGP ID: C0711BF1
Re: Line breaks in URLs
On 7 June 2013 04:35, Tim Wescott t...@wescottdesign.com wrote: I tried putting a really really long URL into Lyx, expecting that it would get line breaks forced as necessary to fit. That didn't happen -- instead, it just gets truncated. Is there a way to force line breaks in a URL, or even (oh be still my heart) to tell Lyx to make it happen? TIA -- Tim Wescott www.wescottdesign.com Control Communications systems, circuit software design. I've had the best luck with Insert URL when I want verbatim links and not hyperlinks behind text. -- GPG/PGP ID: C0711BF1
Re: Line breaks in URLs
On 7 June 2013 04:35, Tim Wescottwrote: > I tried putting a really really long URL into Lyx, expecting that it > would get line breaks forced as necessary to fit. > > That didn't happen -- instead, it just gets truncated. > > Is there a way to force line breaks in a URL, or even (oh be still my > heart) to tell Lyx to make it happen? > > TIA > > -- > > Tim Wescott > www.wescottdesign.com > Control & Communications systems, circuit & software design. > > I've had the best luck with Insert > URL when I want verbatim links and not hyperlinks behind text. -- GPG/PGP ID: C0711BF1
Re: Reference list without numbers before the entries
On 1 June 2013 21:45, Uwe Stöhr uwesto...@web.de wrote: Am 01.06.2013 15:41, schrieb Jürgen Spitzmüller: Maybe I got it completely wrong, but don't you just want to use author-year, i.e. harvard style (via Natbib or BibLaTeX), which works with and without BibTeX? See attached for a simple natbib example. I already proposed this but the user wants to have _no_ label in the bibliography list. The reason is that he wants to cite within a footnote. At the end of the document he therefore wants to have only the list of cites used in the document without a label. (Personally I have never see such a citing style and therefore doubt that this follows a common citing rule. OK so it's like this: example Those using LaTeX are more productive than their traditional counterparts.¹ --- ¹ John, 1999 ... References - John, D. (1999). Proceedings of the ... /example If so, I've seen this in quite a few organisational publications, though they use per-chapter bibliography. -- GPG/PGP ID: C0711BF1
Re: Reference list without numbers before the entries
On 1 June 2013 22:02, Jürgen Spitzmüller sp...@lyx.org wrote: Ray Rashif wrote: OK so it's like this: example Those using LaTeX are more productive than their traditional counterparts.¹ --- ¹ John, 1999 ... References - John, D. (1999). Proceedings of the ... /example If so, I've seen this in quite a few organisational publications, though they use per-chapter bibliography. Well, sure, this is completely common in the humanities. This is the usual author-year (harvard) style which you can produce with natbib, jurabib or biblatex. I do not understand what should be so special about it. Jürgen Ahh, then I got it all wrong. But I guess you guys know what he's talking about more or less. I think he just wants to cite in his chosen style and enter bibliography items manually at the end of the document. But I still don't get why the label should be a problem since it's internal to LyX -- he can choose to ignore it since it won't show up in the output. -- GPG/PGP ID: C0711BF1
Re: Reference list without numbers before the entries
On 1 June 2013 22:14, Jürgen Spitzmüller sp...@lyx.org wrote: Uwe Stöhr wrote: I did but maybe I completely misunderstood the task. In your example the bib entry has the key bratmann and the label is Bratmann(1999). In the footnote you referenced it via the label. I understand it so that the user don't want to have a label because I already proposed the author-year style you used. I'll be quiet now. Huh? But this is only the technical ID of the label. In the output, it will be Bratmann (1999) in the citation and it will not ppear at all in the bibliography. You refered to [Bra99] which is not author-year style, but alphanumeric. Maybe the OP should export our example to PDF, then he'll see that this is exactly what he wants. I finally see what could be confusing OP. Using author-year would not work without adding in a label, and a label with the correct formatting: Author(YEAR) Attached two files to demonstrate what OP wants and what he needs (I hope), which is basically what Jürgen posted. -- GPG/PGP ID: C0711BF1 WrongUsage.lyx Description: Binary data CorrectUsage.lyx Description: Binary data
Re: Reference list without numbers before the entries
On 1 June 2013 21:45, Uwe Stöhr uwesto...@web.de wrote: Am 01.06.2013 15:41, schrieb Jürgen Spitzmüller: Maybe I got it completely wrong, but don't you just want to use author-year, i.e. harvard style (via Natbib or BibLaTeX), which works with and without BibTeX? See attached for a simple natbib example. I already proposed this but the user wants to have _no_ label in the bibliography list. The reason is that he wants to cite within a footnote. At the end of the document he therefore wants to have only the list of cites used in the document without a label. (Personally I have never see such a citing style and therefore doubt that this follows a common citing rule. OK so it's like this: example Those using LaTeX are more productive than their traditional counterparts.¹ --- ¹ John, 1999 ... References - John, D. (1999). Proceedings of the ... /example If so, I've seen this in quite a few organisational publications, though they use per-chapter bibliography. -- GPG/PGP ID: C0711BF1
Re: Reference list without numbers before the entries
On 1 June 2013 22:02, Jürgen Spitzmüller sp...@lyx.org wrote: Ray Rashif wrote: OK so it's like this: example Those using LaTeX are more productive than their traditional counterparts.¹ --- ¹ John, 1999 ... References - John, D. (1999). Proceedings of the ... /example If so, I've seen this in quite a few organisational publications, though they use per-chapter bibliography. Well, sure, this is completely common in the humanities. This is the usual author-year (harvard) style which you can produce with natbib, jurabib or biblatex. I do not understand what should be so special about it. Jürgen Ahh, then I got it all wrong. But I guess you guys know what he's talking about more or less. I think he just wants to cite in his chosen style and enter bibliography items manually at the end of the document. But I still don't get why the label should be a problem since it's internal to LyX -- he can choose to ignore it since it won't show up in the output. -- GPG/PGP ID: C0711BF1
Re: Reference list without numbers before the entries
On 1 June 2013 22:14, Jürgen Spitzmüller sp...@lyx.org wrote: Uwe Stöhr wrote: I did but maybe I completely misunderstood the task. In your example the bib entry has the key bratmann and the label is Bratmann(1999). In the footnote you referenced it via the label. I understand it so that the user don't want to have a label because I already proposed the author-year style you used. I'll be quiet now. Huh? But this is only the technical ID of the label. In the output, it will be Bratmann (1999) in the citation and it will not ppear at all in the bibliography. You refered to [Bra99] which is not author-year style, but alphanumeric. Maybe the OP should export our example to PDF, then he'll see that this is exactly what he wants. I finally see what could be confusing OP. Using author-year would not work without adding in a label, and a label with the correct formatting: Author(YEAR) Attached two files to demonstrate what OP wants and what he needs (I hope), which is basically what Jürgen posted. -- GPG/PGP ID: C0711BF1 WrongUsage.lyx Description: Binary data CorrectUsage.lyx Description: Binary data
Re: Reference list without numbers before the entries
On 1 June 2013 21:45, Uwe Stöhrwrote: > Am 01.06.2013 15:41, schrieb Jürgen Spitzmüller: > > > Maybe I got it completely wrong, but don't you just want to use >> author-year, >> i.e. "harvard" style (via Natbib or BibLaTeX), which works with and >> without >> BibTeX? See attached for a simple natbib example. >> > > I already proposed this but the user wants to have _no_ label in the > bibliography list. The reason is that he wants to cite within a footnote. > At the end of the document he therefore wants to have only the list of > cites used in the document without a label. > (Personally I have never see such a citing style and therefore doubt that > this follows a common citing rule. > OK so it's like this: Those using LaTeX are more productive than their traditional counterparts.¹ --- ¹ John, 1999 ... References - John, D. (1999). Proceedings of the ... If so, I've seen this in quite a few organisational publications, though they use per-chapter bibliography. -- GPG/PGP ID: C0711BF1
Re: Reference list without numbers before the entries
On 1 June 2013 22:02, Jürgen Spitzmüller <sp...@lyx.org> wrote: > Ray Rashif wrote: > > OK so it's like this: > > > > > > Those using LaTeX are more productive than their traditional > counterparts.¹ > > > > --- > > ¹ John, 1999 > > > > ... > > > > References > > - > > John, D. (1999). Proceedings of the ... > > > > > > If so, I've seen this in quite a few organisational publications, though > > they use per-chapter bibliography. > > Well, sure, this is completely common in the humanities. This is the usual > author-year ("harvard") style which you can produce with natbib, jurabib or > biblatex. I do not understand what should be so special about it. > > Jürgen > Ahh, then I got it all wrong. But I guess you guys know what he's talking about more or less. I think he just wants to cite in his chosen style and enter bibliography items manually at the end of the document. But I still don't get why the "label" should be a problem since it's internal to LyX -- he can choose to ignore it since it won't show up in the output. -- GPG/PGP ID: C0711BF1
Re: Reference list without numbers before the entries
On 1 June 2013 22:14, Jürgen Spitzmüllerwrote: > Uwe Stöhr wrote: > > I did but maybe I completely misunderstood the task. In your example the > bib > > entry has the key "bratmann" and the label is "Bratmann(1999)". In the > > footnote you referenced it via the label. I understand it so that the > user > > don't want to have a label because I already proposed the author-year > style > > you used. I'll be quiet now. > > Huh? But this is only the technical ID of the label. In the output, it > will be > "Bratmann (1999)" in the citation and it will not ppear at all in the > bibliography. You refered to [Bra99] which is not author-year style, but > alphanumeric. > > Maybe the OP should export our example to PDF, then he'll see that this is > exactly what he wants. > I finally see what could be confusing OP. Using author-year would not work without adding in a label, and a label with the correct formatting: Author(YEAR) Attached two files to demonstrate what OP wants and what he needs (I hope), which is basically what Jürgen posted. -- GPG/PGP ID: C0711BF1 WrongUsage.lyx Description: Binary data CorrectUsage.lyx Description: Binary data
Re: My hyperlinks and urls are not working in Adobe or Okular but do work
On 26 May 2013 02:27, John Kane jrkrid...@yahoo.ca wrote: Follow up on the Okular problem. Apparently I had accidentally turned on the browse tool--whatever that is. Hit n Cntl-1 fixed it. Still not a clue about acrobat I am able to reproduce this. I haven't used Adobe's Linux viewer for a long time, and I was testing a PDF for something when I chanced upon this peculiarity last night. I'm pretty sure it's the Linux version that isn't able to click on these hyperlinks. You can try using the reader on Windows. I don't have any other example file to test (one which is not created by LaTeX) so I can't completely verify this. -- GPG/PGP ID: C0711BF1
Re: My hyperlinks and urls are not working in Adobe or Okular but do work
On 26 May 2013 02:27, John Kane jrkrid...@yahoo.ca wrote: Follow up on the Okular problem. Apparently I had accidentally turned on the browse tool--whatever that is. Hit n Cntl-1 fixed it. Still not a clue about acrobat I am able to reproduce this. I haven't used Adobe's Linux viewer for a long time, and I was testing a PDF for something when I chanced upon this peculiarity last night. I'm pretty sure it's the Linux version that isn't able to click on these hyperlinks. You can try using the reader on Windows. I don't have any other example file to test (one which is not created by LaTeX) so I can't completely verify this. -- GPG/PGP ID: C0711BF1
Re: My hyperlinks and urls are not working in Adobe or Okular but do work
On 26 May 2013 02:27, John Kanewrote: > Follow up on the Okular problem. Apparently I had accidentally turned on the > browse tool--whatever that is. Hit n Cntl-1 fixed it. Still not a clue > about acrobat I am able to reproduce this. I haven't used Adobe's Linux viewer for a long time, and I was testing a PDF for something when I chanced upon this peculiarity last night. I'm pretty sure it's the Linux version that isn't able to click on these hyperlinks. You can try using the reader on Windows. I don't have any other example file to test (one which is not created by LaTeX) so I can't completely verify this. -- GPG/PGP ID: C0711BF1
Re: Preparing and inserting figures into LyX document
On 24 May 2013 05:00, Gordon Watson gordon.wat...@me.com wrote: With LyX working nicely with my text-input, I now need to learn how to prepare and insert figures in that text. 1. Given my system -- MacOSX 10.7.5, LyX 2.0.5.1 -- where best to start drawing for LyX? 2. What search-terms are best for learning how to insert such figures into my document? PS: I recognise that it's mostly my problem, but I have trouble with some of the LyX documentation; also with archive-search. It's therefore very helpful when I'm given some early pointers and advice. When I'm more familiar with the LyX scene, I plan to contribute to the documentation team as a concerned beginner/user. Thank you; Gordon -- MacOSX 10.7.5, LyX 2.0.5.1 If perhaps you're looking for some pointers on creating charts, graphs and other illustrations, the most efficient way I've found is to use whatever third-party tool does the drawing best, and then export to PDF, trim the whitespace with pdfcrop (PDF Cropper on Windows), and import that into the LyX. This allows the illustration to remain a vector image that is very portable, so it can be stretched and squeezed (and edited with other tools) at will. -- GPG/PGP ID: C0711BF1
Re: Preparing and inserting figures into LyX document
On 24 May 2013 05:00, Gordon Watson gordon.wat...@me.com wrote: With LyX working nicely with my text-input, I now need to learn how to prepare and insert figures in that text. 1. Given my system -- MacOSX 10.7.5, LyX 2.0.5.1 -- where best to start drawing for LyX? 2. What search-terms are best for learning how to insert such figures into my document? PS: I recognise that it's mostly my problem, but I have trouble with some of the LyX documentation; also with archive-search. It's therefore very helpful when I'm given some early pointers and advice. When I'm more familiar with the LyX scene, I plan to contribute to the documentation team as a concerned beginner/user. Thank you; Gordon -- MacOSX 10.7.5, LyX 2.0.5.1 If perhaps you're looking for some pointers on creating charts, graphs and other illustrations, the most efficient way I've found is to use whatever third-party tool does the drawing best, and then export to PDF, trim the whitespace with pdfcrop (PDF Cropper on Windows), and import that into the LyX. This allows the illustration to remain a vector image that is very portable, so it can be stretched and squeezed (and edited with other tools) at will. -- GPG/PGP ID: C0711BF1
Re: Preparing and inserting figures into LyX document
On 24 May 2013 05:00, Gordon Watsonwrote: > With LyX working nicely with my text-input, I now need to learn how to > prepare and insert figures in that text. > > 1. Given my system -- MacOSX 10.7.5, LyX 2.0.5.1 -- where best to start > drawing for LyX? > > 2. What search-terms are best for learning how to insert such figures into my > document? > > PS: I recognise that it's mostly my problem, but I have trouble with some of > the LyX documentation; also with archive-search. It's therefore very helpful > when I'm given some early pointers and advice. When I'm more familiar with > the LyX scene, I plan to contribute to the documentation team as a "concerned > beginner/user." > > Thank you; Gordon -- MacOSX 10.7.5, LyX 2.0.5.1 If perhaps you're looking for some pointers on creating charts, graphs and other illustrations, the most efficient way I've found is to use whatever third-party tool does the drawing best, and then export to PDF, trim the whitespace with pdfcrop (PDF Cropper on Windows), and import that into the LyX. This allows the illustration to remain a vector image that is very portable, so it can be stretched and squeezed (and edited with other tools) at will. -- GPG/PGP ID: C0711BF1
Re: bibliography file question: refetching records automatically
On 20 April 2013 15:51, Csikos Bela bcsikos...@freemail.hu wrote: Hello: I have a question regarding bibliography/bibtex databases. Is there a program or script that can use an existing bibliography database (format is not important, can be bibtex, RIS, etc.) and fetch all of its records in a complete form again from Pubmed based on the journal name, volume and pages fields? Possibly into a new file. I have a bibus database with hundreds of records but many of them are incomplete, and don't have DOI, PMID, URL fields. Fetching them again one by one would be tedious. Mendeley Desktop can import BibTeX, and can search online databases (possibly just Google Scholar) by title. It will repopulate every field for which there is information, including DOI and URL if they exist in the remote source. There is a button you can click to initiate this search (right near the title input field), so you may have to do this one by one. -- GPG/PGP ID: C0711BF1
Re: bibliography file question: refetching records automatically
On 20 April 2013 15:51, Csikos Bela bcsikos...@freemail.hu wrote: Hello: I have a question regarding bibliography/bibtex databases. Is there a program or script that can use an existing bibliography database (format is not important, can be bibtex, RIS, etc.) and fetch all of its records in a complete form again from Pubmed based on the journal name, volume and pages fields? Possibly into a new file. I have a bibus database with hundreds of records but many of them are incomplete, and don't have DOI, PMID, URL fields. Fetching them again one by one would be tedious. Mendeley Desktop can import BibTeX, and can search online databases (possibly just Google Scholar) by title. It will repopulate every field for which there is information, including DOI and URL if they exist in the remote source. There is a button you can click to initiate this search (right near the title input field), so you may have to do this one by one. -- GPG/PGP ID: C0711BF1
Re: bibliography file question: refetching records automatically
On 20 April 2013 15:51, Csikos Belawrote: > Hello: > > I have a question regarding bibliography/bibtex databases. > Is there a program or script that can use an existing bibliography database > (format is not important, can be bibtex, RIS, etc.) and fetch all of its > records in a complete form again from Pubmed based on the journal name, > volume and pages fields? Possibly into a new file. I have a bibus database > with hundreds of records but many of them are incomplete, and don't have DOI, > PMID, URL fields. Fetching them again one by one would be tedious. Mendeley Desktop can import BibTeX, and can search online databases (possibly just Google Scholar) by title. It will repopulate every field for which there is information, including DOI and URL if they exist in the remote source. There is a button you can click to initiate this search (right near the title input field), so you may have to do this one by one. -- GPG/PGP ID: C0711BF1
Re: Converting lyx to odt
On 29 April 2013 07:02, Sotiris Hasapis shasa...@gmail.com wrote: I ' m trying to convert lyx to odt file using the methods described here: http://wiki.lyx.org/Tools/LyX2OpenOffice but nothing seems to work. In fact when taking the convert option : Latex(plain) to openoffice nothing happens and responds : Error while exporting format: odtFile 'C:/Documents and Settings/Owner/Local Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex' was not closed properly. Any help please? I'm using windows xp, lyx 2.0. Thank you. Sotiris. From experience this has never proven useful. Interoperability is an issue here with LyX and other word processors. Even if one conversion succeeds (to either a .doc, .docx, .odt or .rtf), you'd likely need to do some clean-up here and there. A fine compromise I have found is to use elyxer¹ as an intermediary tool. Its HTML output is beautiful, and it works with complex parent-child lyx documents including figures. You could also take a look at pandoc (via LaTeX).² ¹ http://elyxer.nongnu.org/ ² http://johnmacfarlane.net/pandoc/ -- GPG/PGP ID: C0711BF1
Re: Converting lyx to odt
On 29 April 2013 07:02, Sotiris Hasapis shasa...@gmail.com wrote: I ' m trying to convert lyx to odt file using the methods described here: http://wiki.lyx.org/Tools/LyX2OpenOffice but nothing seems to work. In fact when taking the convert option : Latex(plain) to openoffice nothing happens and responds : Error while exporting format: odtFile 'C:/Documents and Settings/Owner/Local Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex' was not closed properly. Any help please? I'm using windows xp, lyx 2.0. Thank you. Sotiris. From experience this has never proven useful. Interoperability is an issue here with LyX and other word processors. Even if one conversion succeeds (to either a .doc, .docx, .odt or .rtf), you'd likely need to do some clean-up here and there. A fine compromise I have found is to use elyxer¹ as an intermediary tool. Its HTML output is beautiful, and it works with complex parent-child lyx documents including figures. You could also take a look at pandoc (via LaTeX).² ¹ http://elyxer.nongnu.org/ ² http://johnmacfarlane.net/pandoc/ -- GPG/PGP ID: C0711BF1
Re: Converting lyx to odt
On 29 April 2013 07:02, Sotiris Hasapiswrote: > I ' m trying to convert lyx to odt file using the methods described here: > http://wiki.lyx.org/Tools/LyX2OpenOffice > but nothing seems to work. In fact when taking the convert option : > Latex(plain) to openoffice nothing happens and responds : "Error while > exporting format: odtFile 'C:/Documents and Settings/Owner/Local > Settings/Temp/lyx_tmpdir.Hp4792/lyx_tmpbuf3/Some_aspects_of_group-based_cryptograhpy.tex' > was not closed properly." > Any help please? > > I'm using windows xp, lyx 2.0. > Thank you. > Sotiris. >From experience this has never proven useful. Interoperability is an issue here with LyX and other word processors. Even if one conversion succeeds (to either a .doc, .docx, .odt or .rtf), you'd likely need to do some clean-up here and there. A fine compromise I have found is to use elyxer¹ as an intermediary tool. Its HTML output is beautiful, and it works with complex parent-child lyx documents including figures. You could also take a look at pandoc (via LaTeX).² ¹ http://elyxer.nongnu.org/ ² http://johnmacfarlane.net/pandoc/ -- GPG/PGP ID: C0711BF1
Re: Citations are not working.
On 23 April 2013 19:39, John Kane jrkrid...@yahoo.ca wrote: Sorry to take so long to get back to you. @ Jacob, Many thanks for both your and Ray's help. I read through both and tried yours first and you were right. I had thought that I had I had changed that setting but I had not. For some reason I seem to hit cancel rather than save in LyX settings sometimes. It took two tries just now. @ Ray I am definitely going to save your post for my next emergency but what exactly does the code do? . Some kind of complete reset to default settings for a program? I'm a newcomer to Linux and a lot of commands are not yet intuitive. I'm glad that Jacob actually chimed in to suggest the simplest approach first -- I should've mentioned that alongside as well. Indeed, the moving of the directories completely resets LyX (think of how you will do the same thing on Windows; removing stuff from %APPDATA%). On Linux and other GNU systems, ~/ (as dot files) and ~/.config are common config dumping grounds. It's usually just a quick fix to check whether the program actually runs with default settings (provided its files in the root/admin file system have not changed), but I suggested it on the presumption that it would be followed by a comparison of the original and existing configs. In short, this should be a last resort (which I had thought was the case). -- GPG/PGP ID: C0711BF1
Re: Citations are not working.
On 23 April 2013 19:39, John Kane jrkrid...@yahoo.ca wrote: Sorry to take so long to get back to you. @ Jacob, Many thanks for both your and Ray's help. I read through both and tried yours first and you were right. I had thought that I had I had changed that setting but I had not. For some reason I seem to hit cancel rather than save in LyX settings sometimes. It took two tries just now. @ Ray I am definitely going to save your post for my next emergency but what exactly does the code do? . Some kind of complete reset to default settings for a program? I'm a newcomer to Linux and a lot of commands are not yet intuitive. I'm glad that Jacob actually chimed in to suggest the simplest approach first -- I should've mentioned that alongside as well. Indeed, the moving of the directories completely resets LyX (think of how you will do the same thing on Windows; removing stuff from %APPDATA%). On Linux and other GNU systems, ~/ (as dot files) and ~/.config are common config dumping grounds. It's usually just a quick fix to check whether the program actually runs with default settings (provided its files in the root/admin file system have not changed), but I suggested it on the presumption that it would be followed by a comparison of the original and existing configs. In short, this should be a last resort (which I had thought was the case). -- GPG/PGP ID: C0711BF1
Re: Citations are not working.
On 23 April 2013 19:39, John Kanewrote: > Sorry to take so long to get back to you. > > @ Jacob, > Many thanks for both your and Ray's help. I read through both and tried > yours first and you were right. I had thought that I had I had changed that > setting but I had not. For some reason I seem to hit cancel rather than > save in LyX settings sometimes. It took two tries just now. > > @ Ray > I am definitely going to save your post for my next emergency but what > exactly does the code do? . Some kind of complete reset to default settings > for a program? > > I'm a newcomer to Linux and a lot of commands are not yet intuitive. I'm glad that Jacob actually chimed in to suggest the simplest approach first -- I should've mentioned that alongside as well. Indeed, the moving of the directories completely resets LyX (think of how you will do the same thing on Windows; removing stuff from %APPDATA%). On Linux and other GNU systems, ~/ (as dot files) and ~/.config are common config dumping grounds. It's usually just a "quick fix" to check whether the program actually runs with default settings (provided its files in the root/admin file system have not changed), but I suggested it on the presumption that it would be followed by a comparison of the original and existing configs. In short, this should be a last resort (which I had thought was the case). -- GPG/PGP ID: C0711BF1
Re: Installing Lyx with no internet connection
+On 21 April 2013 22:41, adi dide...@yahoo.com wrote: Hi! Im using windows XP and would like to install Lyx for the first time on this computer. Is it possible to make this work with no internet connection during the actual installation? (I have another computer connected to the internet) Absolutely. I do this all the time. What you need is proTeXt¹ for the LaTeX installation (1.3 GB), and a standalone LyX installer without MikTeX (35 MB).² So, you do need a fast (or patient) connection for the initial download. The ProTeXt distribution of MiKTeX (TeX for Windows) contains almost every package that you may ever need. This is the only distribution of TeX that can be called an offline, standalone or full TeX installer, IMHO. ¹ http://www.tug.org/protext/ ² http://www.lyx.org/Download -- GPG/PGP ID: C0711BF1
Re: Citations are not working.
On 21 April 2013 21:28, John Kane jrkrid...@yahoo.ca wrote: I seem to be rapidly losing any ability to work with LyX. In the attached example I cannot get citations to work. I originally added the citations using the Lyz plug-in for Zotero but a quick and non-expert look at the bib file suggests it's okay and JabRef seems happy with it. I obviously am doing something stupid but what? Or, have I really managed to muck up some settings on my system since my less than sucessful attempt to switch to biblatex? I am not able to reproduce any problem (you do not describe any). Citations do appear and the (list of) references are there. To start LyX afresh, here are the Linux-specific steps: mv ~/.lyx ~/.lyx.bak mv ~/.config/LyX ~/.config/LyX.bak See if your citations are not working after that. -- GPG/PGP ID: C0711BF1
Re: Installing Lyx with no internet connection
+On 21 April 2013 22:41, adi dide...@yahoo.com wrote: Hi! Im using windows XP and would like to install Lyx for the first time on this computer. Is it possible to make this work with no internet connection during the actual installation? (I have another computer connected to the internet) Absolutely. I do this all the time. What you need is proTeXt¹ for the LaTeX installation (1.3 GB), and a standalone LyX installer without MikTeX (35 MB).² So, you do need a fast (or patient) connection for the initial download. The ProTeXt distribution of MiKTeX (TeX for Windows) contains almost every package that you may ever need. This is the only distribution of TeX that can be called an offline, standalone or full TeX installer, IMHO. ¹ http://www.tug.org/protext/ ² http://www.lyx.org/Download -- GPG/PGP ID: C0711BF1
Re: Citations are not working.
On 21 April 2013 21:28, John Kane jrkrid...@yahoo.ca wrote: I seem to be rapidly losing any ability to work with LyX. In the attached example I cannot get citations to work. I originally added the citations using the Lyz plug-in for Zotero but a quick and non-expert look at the bib file suggests it's okay and JabRef seems happy with it. I obviously am doing something stupid but what? Or, have I really managed to muck up some settings on my system since my less than sucessful attempt to switch to biblatex? I am not able to reproduce any problem (you do not describe any). Citations do appear and the (list of) references are there. To start LyX afresh, here are the Linux-specific steps: mv ~/.lyx ~/.lyx.bak mv ~/.config/LyX ~/.config/LyX.bak See if your citations are not working after that. -- GPG/PGP ID: C0711BF1
Re: Installing Lyx with no internet connection
+On 21 April 2013 22:41, adiwrote: > Hi! > Im using windows XP and would like to install Lyx for the first time on this > computer. Is it possible to make this work with no internet connection > during the actual installation? (I have another computer connected to the > internet) Absolutely. I do this all the time. What you need is proTeXt¹ for the LaTeX installation (1.3 GB), and a standalone LyX installer without MikTeX (35 MB).² So, you do need a fast (or patient) connection for the initial download. The ProTeXt distribution of MiKTeX (TeX for Windows) contains almost every package that you may ever need. This is the only distribution of TeX that can be called an "offline", "standalone" or "full" TeX installer, IMHO. ¹ http://www.tug.org/protext/ ² http://www.lyx.org/Download -- GPG/PGP ID: C0711BF1
Re: Citations are not working.
On 21 April 2013 21:28, John Kanewrote: > I seem to be rapidly losing any ability to work with LyX. In the attached > example I cannot get citations to work. I originally added the citations > using the Lyz plug-in for Zotero but a quick and non-expert look at the bib > file suggests it's okay and JabRef seems happy with it. > > I obviously am doing something stupid but what? > > Or, have I really managed to muck up some settings on my system since my > less than sucessful attempt to switch to biblatex? I am not able to reproduce any "problem" (you do not describe any). Citations do appear and the (list of) references are there. To start LyX afresh, here are the Linux-specific steps: mv ~/.lyx ~/.lyx.bak mv ~/.config/LyX ~/.config/LyX.bak See if your citations are not working after that. -- GPG/PGP ID: C0711BF1
Re: feature request: ribbon menus
On 4 April 2013 07:11, Richard Heck rgh...@lyx.org wrote: On 04/03/2013 04:41 PM, Alex Vergara Gil wrote: Alex Vergara Gil wrote: I don´t know if thi request can be made inside Qt (I think there should be some package for this in the nokia library!). Pavel Sanda wrote: No it isn't. Mr Google suggest that Qt team at one point stopped developing the control due to Microsoft licensing. This sounds funny given the fact that tabbed toolbar was already around in 90s and I remember it from Borland's Delphi UI. Pavel Yes indeed, this sounds like we should not be able to build frames at all because they look like Microsoft´s Windows and these are licensed by Microsoft ;) so what kind of things are legal or not? This point puts even more fuzzy to my logic! I thougth graphic design as long as it is not equal are not the same and we can make the ribbon as different as we want, just keeping the idea and even better, instead of putting it in the top we can put then at the left so we can avoid the vertical space eating that Jacob mentioned. Though one can put it this way: Nokia decided they did not wish to spend a gazillion dollars fighting a patent case, even if they might win it in the end, and even if Microsoft's patent makes about as much sense as the old joke that they would eventually patent 0 and 1. Remember: Apple got a design patent for a rectangle with rounded corners, and they won a patent infringement suit against Samsung. Really. That's the sad state of US patent law. Hi guys this might be an interesting example of something like those ribbon menus on Linux (with Qt): http://www.omgubuntu.co.uk/2013/03/wps-office-for-linux-looks-like-microsoft-office-but-isnt The Qt suite apes the interface of Microsoft’s ‘Ribbon’ interface, and whilst I can’t tell you whether it’s 100% accurate in its replication (I haven’t used Microsoft Office long enough to tell), it’s certainly authentic looking. Just thought I'd share this -- not that I particularly love this kind of UI (I don't dislike it either). I work extensively cross-platform and sometimes with very old hardware/software as well so I tend to adapt wherever needed without much trouble, so to say. -- GPG/PGP ID: C0711BF1
Re: feature request: ribbon menus
On 4 April 2013 07:11, Richard Heck rgh...@lyx.org wrote: On 04/03/2013 04:41 PM, Alex Vergara Gil wrote: Alex Vergara Gil wrote: I don´t know if thi request can be made inside Qt (I think there should be some package for this in the nokia library!). Pavel Sanda wrote: No it isn't. Mr Google suggest that Qt team at one point stopped developing the control due to Microsoft licensing. This sounds funny given the fact that tabbed toolbar was already around in 90s and I remember it from Borland's Delphi UI. Pavel Yes indeed, this sounds like we should not be able to build frames at all because they look like Microsoft´s Windows and these are licensed by Microsoft ;) so what kind of things are legal or not? This point puts even more fuzzy to my logic! I thougth graphic design as long as it is not equal are not the same and we can make the ribbon as different as we want, just keeping the idea and even better, instead of putting it in the top we can put then at the left so we can avoid the vertical space eating that Jacob mentioned. Though one can put it this way: Nokia decided they did not wish to spend a gazillion dollars fighting a patent case, even if they might win it in the end, and even if Microsoft's patent makes about as much sense as the old joke that they would eventually patent 0 and 1. Remember: Apple got a design patent for a rectangle with rounded corners, and they won a patent infringement suit against Samsung. Really. That's the sad state of US patent law. Hi guys this might be an interesting example of something like those ribbon menus on Linux (with Qt): http://www.omgubuntu.co.uk/2013/03/wps-office-for-linux-looks-like-microsoft-office-but-isnt The Qt suite apes the interface of Microsoft’s ‘Ribbon’ interface, and whilst I can’t tell you whether it’s 100% accurate in its replication (I haven’t used Microsoft Office long enough to tell), it’s certainly authentic looking. Just thought I'd share this -- not that I particularly love this kind of UI (I don't dislike it either). I work extensively cross-platform and sometimes with very old hardware/software as well so I tend to adapt wherever needed without much trouble, so to say. -- GPG/PGP ID: C0711BF1
Re: feature request: ribbon menus
On 4 April 2013 07:11, Richard Heckwrote: > On 04/03/2013 04:41 PM, Alex Vergara Gil wrote: >> >> >>> Alex Vergara Gil wrote: I don´t know if thi request can be made inside Qt (I think there should be some package for this in the nokia library!). >>> >>> Pavel Sanda wrote: >>> No it isn't. Mr Google suggest that "Qt team at one point stopped >>> developing >>> the control due to Microsoft licensing." >>> This sounds funny given the fact that tabbed toolbar was already around >>> in 90s >>> and I remember it from Borland's Delphi UI. >>> >>> Pavel >>> >> >> >> Yes indeed, this sounds like we should not be able to build frames at all >> because they look like Microsoft´s Windows and these are licensed by >> Microsoft ;) so what kind of things are legal or not? This point puts even >> more fuzzy to my logic! I thougth graphic design as long as it is not equal >> are not the same and we can make the ribbon as different as we want, just >> keeping the idea and even better, instead of putting it in the top we can >> put then at the left so we can avoid the vertical space eating that Jacob >> mentioned. > > > Though one can put it this way: Nokia decided they did not wish to spend a > gazillion dollars fighting a patent case, even if they might win it in the > end, and even if Microsoft's patent makes about as much sense as the old > joke that they would eventually patent 0 and 1. > > Remember: Apple got a design patent for a rectangle with rounded corners, > and they won a patent infringement suit against Samsung. Really. > > That's the sad state of US patent law. Hi guys this might be an interesting example of something like those ribbon menus on Linux (with Qt): http://www.omgubuntu.co.uk/2013/03/wps-office-for-linux-looks-like-microsoft-office-but-isnt "The Qt suite apes the interface of Microsoft’s ‘Ribbon’ interface, and whilst I can’t tell you whether it’s 100% accurate in its replication (I haven’t used Microsoft Office long enough to tell), it’s certainly authentic looking." Just thought I'd share this -- not that I particularly love this kind of UI (I don't dislike it either). I work extensively cross-platform and sometimes with very old hardware/software as well so I tend to adapt wherever needed without much trouble, so to say. -- GPG/PGP ID: C0711BF1
Re: Insert 2 empty pages at the very beginning of book(KOMA-Script)
On 27 March 2013 01:06, Hans-Peter Wolf h-p.w...@web.de wrote: Dear experts, I use Lyx Version 2.0.5.1,Windows 7,64 Bit. I use the book(KOMA-Script)-document. My probleme: How can I add 2 aditional, empty pages ( in German the so called “Schmutztitel”) at the very beginning of the book-document? Which code is to add and on which place(präampel ore text body)? I am a beginner with Lyx and LaTex, and I would be glad, if you could help me! Could you try, before any calls to \maketitle (most cases, in preamble): \newpage \thispagestyle{empty} \mbox{} \cleardoublepage \newpage \thispagestyle{empty} \mbox{} \cleardoublepage I have a two-sided document where I insert a single blank page following this method, but that's way after \maketitle (after frontmatter, before chapter 1). -- GPG/PGP ID: C0711BF1
Re: Insert 2 empty pages at the very beginning of book(KOMA-Script)
On 27 March 2013 01:06, Hans-Peter Wolf h-p.w...@web.de wrote: Dear experts, I use Lyx Version 2.0.5.1,Windows 7,64 Bit. I use the book(KOMA-Script)-document. My probleme: How can I add 2 aditional, empty pages ( in German the so called “Schmutztitel”) at the very beginning of the book-document? Which code is to add and on which place(präampel ore text body)? I am a beginner with Lyx and LaTex, and I would be glad, if you could help me! Could you try, before any calls to \maketitle (most cases, in preamble): \newpage \thispagestyle{empty} \mbox{} \cleardoublepage \newpage \thispagestyle{empty} \mbox{} \cleardoublepage I have a two-sided document where I insert a single blank page following this method, but that's way after \maketitle (after frontmatter, before chapter 1). -- GPG/PGP ID: C0711BF1
Re: Insert 2 empty pages at the very beginning of book(KOMA-Script)
On 27 March 2013 01:06, Hans-Peter Wolfwrote: > Dear experts, > > I use Lyx Version 2.0.5.1,Windows 7,64 Bit. > > I use the book(KOMA-Script)-document. > > My probleme: How can I add 2 aditional, empty pages ( in German the so > called “Schmutztitel”) at the very beginning of the book-document? > > Which code is to add and on which place(präampel ore text body)? > > I am a beginner with Lyx and LaTex, and I would be glad, if you could help > me! Could you try, before any calls to \maketitle (most cases, in preamble): \newpage \thispagestyle{empty} \mbox{} \cleardoublepage \newpage \thispagestyle{empty} \mbox{} \cleardoublepage I have a two-sided document where I insert a single blank page following this method, but that's way after \maketitle (after frontmatter, before chapter 1). -- GPG/PGP ID: C0711BF1
Re: Turning hyperref off in table of contents
On 25 March 2013 05:20, Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا fredericknoro...@gmail.com wrote: Dear all: I'm getting the hyperref links ON in the table-of-contents, when I don't want it. Could you pls guide on how to remove the clickable blue marks around the chapter titles in TOC? Thanks, FN Why not keep the links but remove the colour? \begingroup \hypersetup{linkcolor=black} TOCHERE (or anything else you don't want coloured) \endgroup You also want No frames around links, which is in the document settings (PDF properties hyperlinks). -- GPG/PGP ID: C0711BF1
Re: Turning hyperref off in table of contents
On 25 March 2013 05:20, Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا fredericknoro...@gmail.com wrote: Dear all: I'm getting the hyperref links ON in the table-of-contents, when I don't want it. Could you pls guide on how to remove the clickable blue marks around the chapter titles in TOC? Thanks, FN Why not keep the links but remove the colour? \begingroup \hypersetup{linkcolor=black} TOCHERE (or anything else you don't want coloured) \endgroup You also want No frames around links, which is in the document settings (PDF properties hyperlinks). -- GPG/PGP ID: C0711BF1
Re: Turning hyperref off in table of contents
On 25 March 2013 05:20, Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونياwrote: > Dear all: I'm getting the hyperref links ON in the table-of-contents, when I > don't want it. Could you pls guide on how to remove the clickable blue marks > around the chapter titles in TOC? Thanks, FN Why not keep the links but remove the colour? \begingroup \hypersetup{linkcolor=black} TOCHERE (or anything else you don't want coloured) \endgroup You also want "No frames around links", which is in the document settings (PDF properties > hyperlinks). -- GPG/PGP ID: C0711BF1
Re: eLyXer 1.2.4 released
On 17 March 2013 19:12, Alex Fernandez ely...@gmail.com wrote: Hi Ray, On Sun, Mar 17, 2013 at 1:35 AM, Ray Rashif schivmeis...@gmail.com wrote: On 17 March 2013 07:12, Alex Fernandez ely...@gmail.com wrote: As Liviu discovered, just to let you all know that I had to release 1.2.5 because of problems with the 1.2.4 release (the binary lacked a couple of patches; otherwise the source code was fine). Alex, when I first heard of eLyXer -- amidst mounting frustrations resulting from several failed attempts at converting a 350-page document to any other usable format -- I thought it was just another deceptive solution and gave it a miss entirely. How wrong I was, how deceptively brilliant this is! I was expecting I would have to at least input child documents, but it worked its magic on the master document itself. Believe me, nothing else ever worked, and this is a complex document with LaTeX hacks here and there. Sure, there were some issues, like not recognising some (or all) LaTeX commands, external inset, and ignoring some BibTeX entries, but I now have a usable single-file HTML verbatim copy of the main contents, complete with (cross-)references and images. The software had been lying dormant as a package in my (GNU/Linux) distribution's unofficial buildscripts repository [1] with no love at all, but I'll be promoting it directly to a supported binary repository as soon as I get some time -- no-one should miss this. [1] https://aur.archlinux.org/packages/elyxer/ Glad you are doing this. I will add you to the list of maintainers if you want, and send you any announcements directly. Sure, it is now available officially via the [community] repository. And after typing all that I forgot to mention the one thing that was most important -- thank you for eLyXer :) -- GPG/PGP ID: C0711BF1
Re: eLyXer 1.2.4 released
On 17 March 2013 19:12, Alex Fernandez ely...@gmail.com wrote: Hi Ray, On Sun, Mar 17, 2013 at 1:35 AM, Ray Rashif schivmeis...@gmail.com wrote: On 17 March 2013 07:12, Alex Fernandez ely...@gmail.com wrote: As Liviu discovered, just to let you all know that I had to release 1.2.5 because of problems with the 1.2.4 release (the binary lacked a couple of patches; otherwise the source code was fine). Alex, when I first heard of eLyXer -- amidst mounting frustrations resulting from several failed attempts at converting a 350-page document to any other usable format -- I thought it was just another deceptive solution and gave it a miss entirely. How wrong I was, how deceptively brilliant this is! I was expecting I would have to at least input child documents, but it worked its magic on the master document itself. Believe me, nothing else ever worked, and this is a complex document with LaTeX hacks here and there. Sure, there were some issues, like not recognising some (or all) LaTeX commands, external inset, and ignoring some BibTeX entries, but I now have a usable single-file HTML verbatim copy of the main contents, complete with (cross-)references and images. The software had been lying dormant as a package in my (GNU/Linux) distribution's unofficial buildscripts repository [1] with no love at all, but I'll be promoting it directly to a supported binary repository as soon as I get some time -- no-one should miss this. [1] https://aur.archlinux.org/packages/elyxer/ Glad you are doing this. I will add you to the list of maintainers if you want, and send you any announcements directly. Sure, it is now available officially via the [community] repository. And after typing all that I forgot to mention the one thing that was most important -- thank you for eLyXer :) -- GPG/PGP ID: C0711BF1
Re: eLyXer 1.2.4 released
On 17 March 2013 19:12, Alex Fernandez <ely...@gmail.com> wrote: > Hi Ray, > > On Sun, Mar 17, 2013 at 1:35 AM, Ray Rashif <schivmeis...@gmail.com> wrote: >> >> On 17 March 2013 07:12, Alex Fernandez <ely...@gmail.com> wrote: >> > As Liviu discovered, just to let you all know that I had to release >> > 1.2.5 >> > because of problems with the 1.2.4 release (the binary lacked a couple >> > of >> > patches; otherwise the source code was fine). >> >> Alex, when I first heard of eLyXer -- amidst mounting frustrations >> resulting from several failed attempts at converting a 350-page >> document to any other usable format -- I thought it was just another >> deceptive solution and gave it a miss entirely. >> >> How wrong I was, how deceptively brilliant this is! I was expecting I >> would have to at least input child documents, but it worked its magic >> on the master document itself. Believe me, nothing else ever worked, >> and this is a complex document with LaTeX hacks here and there. >> >> Sure, there were some issues, like not recognising some (or all) LaTeX >> commands, external inset, and ignoring some BibTeX entries, but I now >> have a usable single-file HTML verbatim copy of the main contents, >> complete with (cross-)references and images. >> >> The software had been lying dormant as a package in my (GNU/Linux) >> distribution's unofficial buildscripts repository [1] with no love at >> all, but I'll be promoting it directly to a supported binary >> repository as soon as I get some time -- no-one should miss this. >> >> >> >> [1] https://aur.archlinux.org/packages/elyxer/ > > > Glad you are doing this. I will add you to the list of maintainers if you > want, and send you any announcements directly. Sure, it is now available officially via the [community] repository. And after typing all that I forgot to mention the one thing that was most important -- thank you for eLyXer :) -- GPG/PGP ID: C0711BF1
Re: eLyXer 1.2.4 released
On 17 March 2013 07:12, Alex Fernandez ely...@gmail.com wrote: As Liviu discovered, just to let you all know that I had to release 1.2.5 because of problems with the 1.2.4 release (the binary lacked a couple of patches; otherwise the source code was fine). Alex, when I first heard of eLyXer -- amidst mounting frustrations resulting from several failed attempts at converting a 350-page document to any other usable format -- I thought it was just another deceptive solution and gave it a miss entirely. How wrong I was, how deceptively brilliant this is! I was expecting I would have to at least input child documents, but it worked its magic on the master document itself. Believe me, nothing else ever worked, and this is a complex document with LaTeX hacks here and there. Sure, there were some issues, like not recognising some (or all) LaTeX commands, external inset, and ignoring some BibTeX entries, but I now have a usable single-file HTML verbatim copy of the main contents, complete with (cross-)references and images. The software had been lying dormant as a package in my (GNU/Linux) distribution's unofficial buildscripts repository [1] with no love at all, but I'll be promoting it directly to a supported binary repository as soon as I get some time -- no-one should miss this. [1] https://aur.archlinux.org/packages/elyxer/ -- GPG/PGP ID: C0711BF1
Re: eLyXer 1.2.4 released
On 17 March 2013 07:12, Alex Fernandez ely...@gmail.com wrote: As Liviu discovered, just to let you all know that I had to release 1.2.5 because of problems with the 1.2.4 release (the binary lacked a couple of patches; otherwise the source code was fine). Alex, when I first heard of eLyXer -- amidst mounting frustrations resulting from several failed attempts at converting a 350-page document to any other usable format -- I thought it was just another deceptive solution and gave it a miss entirely. How wrong I was, how deceptively brilliant this is! I was expecting I would have to at least input child documents, but it worked its magic on the master document itself. Believe me, nothing else ever worked, and this is a complex document with LaTeX hacks here and there. Sure, there were some issues, like not recognising some (or all) LaTeX commands, external inset, and ignoring some BibTeX entries, but I now have a usable single-file HTML verbatim copy of the main contents, complete with (cross-)references and images. The software had been lying dormant as a package in my (GNU/Linux) distribution's unofficial buildscripts repository [1] with no love at all, but I'll be promoting it directly to a supported binary repository as soon as I get some time -- no-one should miss this. [1] https://aur.archlinux.org/packages/elyxer/ -- GPG/PGP ID: C0711BF1
Re: eLyXer 1.2.4 released
On 17 March 2013 07:12, Alex Fernandezwrote: > As Liviu discovered, just to let you all know that I had to release 1.2.5 > because of problems with the 1.2.4 release (the binary lacked a couple of > patches; otherwise the source code was fine). Alex, when I first heard of eLyXer -- amidst mounting frustrations resulting from several failed attempts at converting a 350-page document to any other usable format -- I thought it was just another deceptive solution and gave it a miss entirely. How wrong I was, how deceptively brilliant this is! I was expecting I would have to at least input child documents, but it worked its magic on the master document itself. Believe me, nothing else ever worked, and this is a complex document with LaTeX hacks here and there. Sure, there were some issues, like not recognising some (or all) LaTeX commands, external inset, and ignoring some BibTeX entries, but I now have a usable single-file HTML verbatim copy of the main contents, complete with (cross-)references and images. The software had been lying dormant as a package in my (GNU/Linux) distribution's unofficial buildscripts repository [1] with no love at all, but I'll be promoting it directly to a supported binary repository as soon as I get some time -- no-one should miss this. [1] https://aur.archlinux.org/packages/elyxer/ -- GPG/PGP ID: C0711BF1
Re: pdf content saved as images
On 25 February 2013 18:59, Csikos Bela bcsikos...@freemail.hu wrote: And/or is it possible to make a pdf which is not searchable or indexable? There may be a couple of ways or more to go about this. For starters, you may convert the text to outlines. For software that allow you to predefine some security options for exported documents, you may select to disable printing and/or disable copying of content. There should be a way to achieve one of these ways with ghostscript, if not (pdf)latex. Converting to and from image formats may appear to work but they may be indexable (for indexers that do OCR), while not searchable. I know there must definitely be a way to lock out the text like this, because unfortunately, I've had the bad luck of dealing with such files. It becomes a real PITA when you're spending hours reading tens of books for relevant data and information. In such unfortunate cases copying the text leaves you with garbled characters. -- GPG/PGP ID: C0711BF1
Re: pdf content saved as images
On 25 February 2013 18:59, Csikos Bela bcsikos...@freemail.hu wrote: And/or is it possible to make a pdf which is not searchable or indexable? There may be a couple of ways or more to go about this. For starters, you may convert the text to outlines. For software that allow you to predefine some security options for exported documents, you may select to disable printing and/or disable copying of content. There should be a way to achieve one of these ways with ghostscript, if not (pdf)latex. Converting to and from image formats may appear to work but they may be indexable (for indexers that do OCR), while not searchable. I know there must definitely be a way to lock out the text like this, because unfortunately, I've had the bad luck of dealing with such files. It becomes a real PITA when you're spending hours reading tens of books for relevant data and information. In such unfortunate cases copying the text leaves you with garbled characters. -- GPG/PGP ID: C0711BF1
Re: pdf content saved as images
On 25 February 2013 18:59, Csikos Belawrote: > And/or is it possible to make a pdf which is not searchable or indexable? > There may be a couple of ways or more to go about this. For starters, you may convert the text to outlines. For software that allow you to predefine some security options for exported documents, you may select to disable printing and/or disable copying of content. There should be a way to achieve one of these ways with ghostscript, if not (pdf)latex. Converting to and from image formats may appear to work but they may be indexable (for indexers that do OCR), while not searchable. I know there must definitely be a way to lock out the text like this, because unfortunately, I've had the bad luck of dealing with such files. It becomes a real PITA when you're spending hours reading tens of books for relevant data and information. In such unfortunate cases copying the text leaves you with garbled characters. -- GPG/PGP ID: C0711BF1
Re: URL appearing in reference list with apa6
On 19 February 2013 02:39, John Kane jrkrid...@yahoo.ca wrote: I seem to have gotten LyX back in action for the moment with apa6. However am having a minor problem with a bibliography item. For some reason it is including a URL which I don't want. The URL is correct, in that I did download the reference from someplace, but I don't want it in a journal entry since it is not a website, etc and the download time and date are not relevant. I am handling my references with Zotero and it is creating a nice little bib file as I play around but why am I getting the URL in the reference. Or perhaps more correctly --how do I turn it off? I can easily edit the bibtex entry but I suspect a lot of my references in real life willl have this and it might mean a lot of hand editing. Zotero and OpenOffice.org handle the reference correctly, BTW. Examples attached Thanks (and to paraphrase S. Pepys so to a late lunch. This is dictated by your BibTeX style. The .bst file has all the logic to deal with your .bib file - including what to parse and what not to parse, and what to show when. I have yet to find a BibTeX editor that offers a little bit of intuitive style handling as well. If you're familiar with sed, you can manipulate your .bib file to your liking (remove the url keys so they do not get parsed by your style, or use a different style). -- GPG/PGP ID: C0711BF1
Re: URL appearing in reference list with apa6
On 19 February 2013 02:39, John Kane jrkrid...@yahoo.ca wrote: I seem to have gotten LyX back in action for the moment with apa6. However am having a minor problem with a bibliography item. For some reason it is including a URL which I don't want. The URL is correct, in that I did download the reference from someplace, but I don't want it in a journal entry since it is not a website, etc and the download time and date are not relevant. I am handling my references with Zotero and it is creating a nice little bib file as I play around but why am I getting the URL in the reference. Or perhaps more correctly --how do I turn it off? I can easily edit the bibtex entry but I suspect a lot of my references in real life willl have this and it might mean a lot of hand editing. Zotero and OpenOffice.org handle the reference correctly, BTW. Examples attached Thanks (and to paraphrase S. Pepys so to a late lunch. This is dictated by your BibTeX style. The .bst file has all the logic to deal with your .bib file - including what to parse and what not to parse, and what to show when. I have yet to find a BibTeX editor that offers a little bit of intuitive style handling as well. If you're familiar with sed, you can manipulate your .bib file to your liking (remove the url keys so they do not get parsed by your style, or use a different style). -- GPG/PGP ID: C0711BF1
Re: URL appearing in reference list with apa6
On 19 February 2013 02:39, John Kanewrote: > I seem to have gotten LyX back in action for the moment with apa6. > However am having a minor problem with a bibliography item. For some > reason it is including a URL which I don't want. > > The URL is correct, in that I did download the reference from someplace, > but I don't want it in a journal entry since it is not a website, etc and > the download time and date are not relevant. > > I am handling my references with Zotero and it is creating a nice little > bib file as I play around but why am I getting the URL in the reference. Or > perhaps more correctly --how do I turn it off? I can easily edit the > bibtex entry but I suspect a lot of my references in real life willl have > this and it might mean a lot of hand editing. > > Zotero and OpenOffice.org handle the reference correctly, BTW. > > Examples attached > > Thanks > (and to paraphrase S. Pepys "so to a late lunch". > > This is dictated by your BibTeX style. The .bst file has all the logic to deal with your .bib file - including what to parse and what not to parse, and what to show when. I have yet to find a BibTeX editor that offers a little bit of intuitive style handling as well. If you're familiar with sed, you can manipulate your .bib file to your liking (remove the url keys so they do not get parsed by your style, or use a different style). -- GPG/PGP ID: C0711BF1
Re: searching in the references
On 15 February 2013 17:10, Frédéric Parrenin parre...@ujf-grenoble.frwrote: Dear all, I often encounter compilation problems linked with the bibliography. For example, lyx tell me that there is a syntax problem in a given reference. Then I need to search where I have inserted the reference in the lyx document. How to do that? The current search tool does not seem to parse the references. Best regards, Frédéric Parrenin You probably want Document Outline and select 'List of Citations'. You can then type in the filter box (this will only match keys and not any other information about the reference). -- GPG/PGP ID: C0711BF1
Re: searching in the references
On 15 February 2013 17:10, Frédéric Parrenin parre...@ujf-grenoble.frwrote: Dear all, I often encounter compilation problems linked with the bibliography. For example, lyx tell me that there is a syntax problem in a given reference. Then I need to search where I have inserted the reference in the lyx document. How to do that? The current search tool does not seem to parse the references. Best regards, Frédéric Parrenin You probably want Document Outline and select 'List of Citations'. You can then type in the filter box (this will only match keys and not any other information about the reference). -- GPG/PGP ID: C0711BF1
Re: searching in the references
On 15 February 2013 17:10, Frédéric Parreninwrote: > Dear all, > > I often encounter compilation problems linked with the bibliography. > For example, lyx tell me that there is a syntax problem in a given > reference. > Then I need to search where I have inserted the reference in the lyx > document. > > How to do that? > The current search tool does not seem to parse the references. > > Best regards, > > Frédéric Parrenin > You probably want Document > Outline and select 'List of Citations'. You can then type in the filter box (this will only match keys and not any other information about the reference). -- GPG/PGP ID: C0711BF1
Re: Get number of unique references cited
On 10 February 2013 01:33, stefano franchi stefano.fran...@gmail.comwrote: One way to go about it is to use bibtool to extract all the references your article/book uses from your aux file and dump them in a new .bib file. Then you can use grep on the @ character to count them. Not foolproof but should get you fairly close. Or you can open the new bib file in a bibtex editor (JabRef, Bibdesk, etc) and let it count them for you. So, you'd export the file to latex (with fileexport), then run latex on the exported file (new-file.tex, let's say) in a terminal window, and then run bibtool on the .aux file it produced: bibtool -x my-file.aux -o new-bibliography.bib Then run grep on the the new bib file: grep --count @ new-bibliography.bib Look at this thread on tex.stackexchange for other ideas: http://tex.stackexchange.com/questions/32032/extract-all-citations-from-tex-file Cheers, Stefano -- __ Stefano Franchi Associate Research Professor Department of Hispanic StudiesPh: +1 (979) 845-2125 Texas AM University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org Thanks guys, so it seems there are several ways to go about it. Wolfgang, you are correct; I think that's the simplest approach (so simple that I wonder why I didn't think of it). In the meantime I cooked up a script based on a one-liner that appeared to work, given some constraints. Attached is the shell script (requires dos2unix if you work with Windows-saved files) which takes files as arguments (so it can report per-file citation count), e.g. lyxcitecount *.lyx. I'll see if I can somehow integrate such a count into the LyX statistics dialog. I think that'll be pretty neat, especially since it'll work for selections as well. The problem in this case, I suppose, would be that different bib engines use different cite commands. -- GPG/PGP ID: C0711BF1 lyxcitecount.sh Description: Bourne shell script
Re: Get number of unique references cited
On 10 February 2013 01:33, stefano franchi stefano.fran...@gmail.comwrote: One way to go about it is to use bibtool to extract all the references your article/book uses from your aux file and dump them in a new .bib file. Then you can use grep on the @ character to count them. Not foolproof but should get you fairly close. Or you can open the new bib file in a bibtex editor (JabRef, Bibdesk, etc) and let it count them for you. So, you'd export the file to latex (with fileexport), then run latex on the exported file (new-file.tex, let's say) in a terminal window, and then run bibtool on the .aux file it produced: bibtool -x my-file.aux -o new-bibliography.bib Then run grep on the the new bib file: grep --count @ new-bibliography.bib Look at this thread on tex.stackexchange for other ideas: http://tex.stackexchange.com/questions/32032/extract-all-citations-from-tex-file Cheers, Stefano -- __ Stefano Franchi Associate Research Professor Department of Hispanic StudiesPh: +1 (979) 845-2125 Texas AM University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org Thanks guys, so it seems there are several ways to go about it. Wolfgang, you are correct; I think that's the simplest approach (so simple that I wonder why I didn't think of it). In the meantime I cooked up a script based on a one-liner that appeared to work, given some constraints. Attached is the shell script (requires dos2unix if you work with Windows-saved files) which takes files as arguments (so it can report per-file citation count), e.g. lyxcitecount *.lyx. I'll see if I can somehow integrate such a count into the LyX statistics dialog. I think that'll be pretty neat, especially since it'll work for selections as well. The problem in this case, I suppose, would be that different bib engines use different cite commands. -- GPG/PGP ID: C0711BF1 lyxcitecount.sh Description: Bourne shell script
Re: Get number of unique references cited
On 10 February 2013 01:33, stefano franchiwrote: > One way to go about it is to use bibtool to extract all the references > your article/book uses from your aux file and dump them in a new .bib file. > Then you can use grep on the @ character to count them. Not foolproof but > should get you fairly close. Or you can open the new bib file in a bibtex > editor (JabRef, Bibdesk, etc) and let it count them for you. > > So, you'd export the file to latex (with file>>export), then run latex on > the exported file (new-file.tex, let's say) in a terminal window, and then > run bibtool on the .aux file it produced: > > bibtool -x my-file.aux -o new-bibliography.bib > > > Then run grep on the the new bib file: > > grep --count @ new-bibliography.bib > > Look at this thread on tex.stackexchange for other ideas: > > > http://tex.stackexchange.com/questions/32032/extract-all-citations-from-tex-file > > Cheers, > > Stefano > > > > -- > __ > Stefano Franchi > Associate Research Professor > Department of Hispanic StudiesPh: +1 (979) 845-2125 > Texas A University Fax: +1 (979) 845-6421 > College Station, Texas, USA > > stef...@tamu.edu > http://stefano.cleinias.org > Thanks guys, so it seems there are several ways to go about it. Wolfgang, you are correct; I think that's the simplest approach (so simple that I wonder why I didn't think of it). In the meantime I cooked up a script based on a one-liner that appeared to work, given some constraints. Attached is the shell script (requires dos2unix if you work with Windows-saved files) which takes files as arguments (so it can report per-file citation count), e.g. "lyxcitecount *.lyx". I'll see if I can somehow integrate such a count into the LyX statistics dialog. I think that'll be pretty neat, especially since it'll work for selections as well. The problem in this case, I suppose, would be that different bib engines use different cite commands. -- GPG/PGP ID: C0711BF1 lyxcitecount.sh Description: Bourne shell script
Re: Lyx: citation
On 31 January 2013 04:04, Jörg Kühne joerg.kue...@gmx.net wrote: Dear Lyx user list In Lyx appears the citation in form of (vgl. Scheer, 2002, S. 4) but in the PDF the citation appears in the form of [vgl. 1, S. 4]. What can I do to change the PDF citation view to (vgl. Scheer, 2002, S. 4)? Best regards Joerg Could this be because your citation style uses the natbib option 'square' by default? Try adding 'round' to Document Settings Document Class Class options, in the 'custom:' field. -- GPG/PGP ID: C0711BF1
Re: Lyx: citation
On 31 January 2013 04:04, Jörg Kühne joerg.kue...@gmx.net wrote: Dear Lyx user list In Lyx appears the citation in form of (vgl. Scheer, 2002, S. 4) but in the PDF the citation appears in the form of [vgl. 1, S. 4]. What can I do to change the PDF citation view to (vgl. Scheer, 2002, S. 4)? Best regards Joerg Could this be because your citation style uses the natbib option 'square' by default? Try adding 'round' to Document Settings Document Class Class options, in the 'custom:' field. -- GPG/PGP ID: C0711BF1
Re: Lyx: citation
On 31 January 2013 04:04, "Jörg Kühne"wrote: > Dear Lyx user list > > In Lyx appears the citation in form of (vgl. Scheer, 2002, S. 4) but in > the PDF the citation appears in the form of [vgl. 1, S. 4]. What can I do > to change the PDF citation view to (vgl. Scheer, 2002, S. 4)? > > Best regards > > Joerg > Could this be because your citation style uses the natbib option 'square' by default? Try adding 'round' to Document > Settings > Document Class > Class options, in the 'custom:' field. -- GPG/PGP ID: C0711BF1
Re: non-English character in bibtex
On 30 December 2012 12:02, Degang Wu samuelan...@gmail.com wrote: Hi, I am trying to use the bibtex function in lyx to generate the reference list, and the bibtex library is generated and managed by Zotero. Now the author names of an entry contain accented a and \beta (both characters are in plain text), and lyx complained ! Package inputenc Error: Keyboard character used is undefined. What can I do to solve this problem? Regards, Wu Degang I tend to have a lot of accented characters in my bibtex files, and they have not been too troublesome so far. I use Mendeley, but I also import the exported bib file into KBibTeX and then save it. Most of the foreign chars get automatically converted to LaTeX format, and a couple that do not are easily fixed with a bit of sed [1] magic. [1] http://en.wikipedia.org/wiki/Sed -- GPG/PGP ID: C0711BF1
Re: non-English character in bibtex
On 30 December 2012 12:02, Degang Wu samuelan...@gmail.com wrote: Hi, I am trying to use the bibtex function in lyx to generate the reference list, and the bibtex library is generated and managed by Zotero. Now the author names of an entry contain accented a and \beta (both characters are in plain text), and lyx complained ! Package inputenc Error: Keyboard character used is undefined. What can I do to solve this problem? Regards, Wu Degang I tend to have a lot of accented characters in my bibtex files, and they have not been too troublesome so far. I use Mendeley, but I also import the exported bib file into KBibTeX and then save it. Most of the foreign chars get automatically converted to LaTeX format, and a couple that do not are easily fixed with a bit of sed [1] magic. [1] http://en.wikipedia.org/wiki/Sed -- GPG/PGP ID: C0711BF1
Re: non-English character in bibtex
On 30 December 2012 12:02, Degang Wuwrote: > Hi, > > I am trying to use the bibtex function in lyx to generate the reference > list, and the bibtex library is generated and managed by Zotero. Now the > author names of an entry contain accented a and \beta (both characters are > in plain text), and lyx complained "! Package inputenc Error: Keyboard > character used is undefined". What can I do to solve this problem? > > Regards, > Wu Degang I tend to have a lot of accented characters in my bibtex files, and they have not been too troublesome so far. I use Mendeley, but I also import the exported bib file into KBibTeX and then save it. Most of the foreign chars get automatically converted to LaTeX format, and a couple that do not are easily fixed with a bit of sed [1] magic. [1] http://en.wikipedia.org/wiki/Sed -- GPG/PGP ID: C0711BF1
Re: APA6 class with LyX?
On 11 December 2012 01:21, Jacob Bishop bishop.ja...@gmail.com wrote: have found very few people in the social sciences who are even aware of LaTeX. Not closed minded, just unaware. They use MS Word and Endnote because they don't know that there are good/better (free) alternatives. And this stems from the fact that social science has negligible need for (typesetting) equations, because that's what really sets LaTeX apart. With MS Word you can configure references, cite them and arrange your document based on styles. For qualitative/descriptive papers, that is enough. As such, few people find any need to go out of their way to look for something better. -- GPG/PGP ID: C0711BF1
Re: APA6 class with LyX?
On 11 December 2012 03:01, stefano franchi stefano.fran...@gmail.com wrote: rant Not true. LyX/Latex's benefits are not limited to typesetting equations (although it does a much better job that its competition in that area). A Latex-typeset document looks better in many other respects---from paragraph-division and typesetting (in spite of recent improvements in Word's algorithms), to consistent application of style, down to small but crucial things such as determining font sizes/leading[1]. The reason why Social sciences/Humanities are happy with Word/Endnote is (historically speaking) different: authors used to submit Word files (or, earlier, Wordstar) and the publisher would import and typeset with real typesetting software. Such programs (and still are) were usually very bad at typesetting complex mathematical formulas unless each single formula was tweaked by hand, a very painful and expensive proposition. That was prompted D Knuth to invent TeX---the poor quality of professional typesetting software for math, not the similar but irrelevant problem in word processing program. The lack of equations in the Humanities/Social Sciences made the traditional process working smooth and insured that the typographical quality of publications in the fields was high, or at least acceptable. Authors used primitive (typographically speaking) software, publishers used real typesetters and everyone was happy. Except...that desktop publishing happened and publishers started to cut down on costs by using word as a typesetting program. Even worse, when they started asking for pdf, camera-ready they would provide typographical specs as series of Word instructions, since they do not know any better (all the typesetters having long gone). The result is that the vast majority of Humanities/Social Sciences journal and and increasing number of Humanities *books* are now typographically ugly and often barely readable The same radical cost-cutting measures took place in the Natural sciences/Engineering, of course. But since *they* were already using Latex/TeX, the quality of their journal and books was only minimally affected (although it was: it takes a truly capable typesetter to achieve high results in Latex--relying on standard classes is only the starting point. And most authors not named Knuth are not great typesetters). That's why we in the Humanities are stuck with Word as a publishing tool---because it used to work well as a drafting tool when the industry worked differently, not because we do not use equations. /rant Thank you Stefano - that was exactly the background story I was hoping someone would fill in. My brief statement on equations was just a layman's generalisation on why faculty would go through the trouble to suggest LaTeX to students (surely, STEM lecturers would have _more_ reason). TeX/LaTeX/LyX is definitely not _only_ about equations. I recently edited and typeset (like you said, no one better than Knuth, especially not someone who only played with his father's relic typewriter as a toddler) a social science dissertation completely in LyX with some LaTeX fiddling. -- GPG/PGP ID: C0711BF1
Re: APA6 class with LyX?
On 11 December 2012 01:21, Jacob Bishop bishop.ja...@gmail.com wrote: have found very few people in the social sciences who are even aware of LaTeX. Not closed minded, just unaware. They use MS Word and Endnote because they don't know that there are good/better (free) alternatives. And this stems from the fact that social science has negligible need for (typesetting) equations, because that's what really sets LaTeX apart. With MS Word you can configure references, cite them and arrange your document based on styles. For qualitative/descriptive papers, that is enough. As such, few people find any need to go out of their way to look for something better. -- GPG/PGP ID: C0711BF1
Re: APA6 class with LyX?
On 11 December 2012 03:01, stefano franchi stefano.fran...@gmail.com wrote: rant Not true. LyX/Latex's benefits are not limited to typesetting equations (although it does a much better job that its competition in that area). A Latex-typeset document looks better in many other respects---from paragraph-division and typesetting (in spite of recent improvements in Word's algorithms), to consistent application of style, down to small but crucial things such as determining font sizes/leading[1]. The reason why Social sciences/Humanities are happy with Word/Endnote is (historically speaking) different: authors used to submit Word files (or, earlier, Wordstar) and the publisher would import and typeset with real typesetting software. Such programs (and still are) were usually very bad at typesetting complex mathematical formulas unless each single formula was tweaked by hand, a very painful and expensive proposition. That was prompted D Knuth to invent TeX---the poor quality of professional typesetting software for math, not the similar but irrelevant problem in word processing program. The lack of equations in the Humanities/Social Sciences made the traditional process working smooth and insured that the typographical quality of publications in the fields was high, or at least acceptable. Authors used primitive (typographically speaking) software, publishers used real typesetters and everyone was happy. Except...that desktop publishing happened and publishers started to cut down on costs by using word as a typesetting program. Even worse, when they started asking for pdf, camera-ready they would provide typographical specs as series of Word instructions, since they do not know any better (all the typesetters having long gone). The result is that the vast majority of Humanities/Social Sciences journal and and increasing number of Humanities *books* are now typographically ugly and often barely readable The same radical cost-cutting measures took place in the Natural sciences/Engineering, of course. But since *they* were already using Latex/TeX, the quality of their journal and books was only minimally affected (although it was: it takes a truly capable typesetter to achieve high results in Latex--relying on standard classes is only the starting point. And most authors not named Knuth are not great typesetters). That's why we in the Humanities are stuck with Word as a publishing tool---because it used to work well as a drafting tool when the industry worked differently, not because we do not use equations. /rant Thank you Stefano - that was exactly the background story I was hoping someone would fill in. My brief statement on equations was just a layman's generalisation on why faculty would go through the trouble to suggest LaTeX to students (surely, STEM lecturers would have _more_ reason). TeX/LaTeX/LyX is definitely not _only_ about equations. I recently edited and typeset (like you said, no one better than Knuth, especially not someone who only played with his father's relic typewriter as a toddler) a social science dissertation completely in LyX with some LaTeX fiddling. -- GPG/PGP ID: C0711BF1
Re: APA6 class with LyX?
On 11 December 2012 01:21, Jacob Bishopwrote: > have found very few people in the social sciences who are even aware of > LaTeX. Not closed minded, just unaware. They use MS Word and Endnote because > they don't know that there are good/better (free) alternatives. And this stems from the fact that social science has negligible need for (typesetting) equations, because that's what really sets LaTeX apart. With MS Word you can configure references, cite them and arrange your document based on styles. For qualitative/descriptive papers, that is enough. As such, few people find any need to go out of their way to look for something better. -- GPG/PGP ID: C0711BF1
Re: APA6 class with LyX?
On 11 December 2012 03:01, stefano franchiwrote: > > Not true. LyX/Latex's benefits are not limited to typesetting equations > (although it does a much better job that its competition in that area). A > Latex-typeset document looks better in many other respects---from > paragraph-division and typesetting (in spite of recent improvements in > Word's algorithms), to consistent application of style, down to small but > crucial things such as determining font sizes/leading[1]. > > The reason why Social sciences/Humanities are happy with Word/Endnote is > (historically speaking) different: authors used to submit Word files (or, > earlier, Wordstar) and the publisher would import and typeset with real > typesetting software. Such programs (and still are) were usually very bad at > typesetting complex mathematical formulas unless each single formula was > tweaked by hand, a very painful and expensive proposition. That was prompted > D Knuth to invent TeX---the poor quality of professional typesetting > software for math, not the similar but irrelevant problem in word processing > program. The lack of equations in the Humanities/Social Sciences made the > traditional process working smooth and insured that the typographical > quality of publications in the fields was high, or at least acceptable. > Authors used primitive (typographically speaking) software, publishers used > real typesetters and everyone was happy. > > Except...that desktop publishing happened and publishers started to cut down > on costs by using word as a typesetting program. Even worse, when they > started asking for pdf, camera-ready they would provide typographical > specs as series of Word instructions, since they do not know any better (all > the typesetters having long gone). The result is that the vast majority of > Humanities/Social Sciences journal and and increasing number of Humanities > *books* are now typographically ugly and often barely readable > > The same radical cost-cutting measures took place in the Natural > sciences/Engineering, of course. But since *they* were already using > Latex/TeX, the quality of their journal and books was only minimally > affected (although it was: it takes a truly capable typesetter to achieve > high results in Latex--relying on standard classes is only the starting > point. And most authors not named Knuth are not great typesetters). > > That's why we in the Humanities are stuck with Word as a publishing > tool---because it used to work well as a drafting tool when the industry > worked differently, not because we do not use equations. > > Thank you Stefano - that was exactly the background story I was hoping someone would fill in. My brief statement on equations was just a layman's generalisation on why faculty would go through the trouble to suggest LaTeX to students (surely, STEM lecturers would have _more_ reason). TeX/LaTeX/LyX is definitely not _only_ about equations. I recently edited and "typeset" (like you said, no one better than Knuth, especially not someone who only played with his father's relic typewriter as a toddler) a social science dissertation completely in LyX with some LaTeX fiddling. -- GPG/PGP ID: C0711BF1
Re: APA6 class with LyX?
On 9 December 2012 00:45, Scott Kostyshak skost...@lyx.org wrote: On Sat, Dec 8, 2012 at 10:30 AM, John Kane jrkrid...@inbox.com wrote: Hi John, Would anyone know of any work being done on this? No work is currently being done. See the last comment here for the reason why: http://www.lyx.org/trac/ticket/8187 And see this ticket for the main request: http://www.lyx.org/trac/ticket/8391 Best, Scott I came across this recently as I was searching for some answers but this is only LaTeX-specific: mirror.hmc.edu/ctan/macros/latex/contrib/apa6/apa6.pdf May help to understand the situation at least. -- GPG/PGP ID: C0711BF1