Carriage return in ERT inset

2016-02-21 Thread Jürgen Lange
Hello, Code with carriage returns a a a a inserted in ERT inset in Lyx appears as a a a a Is it possible to keep the carriage returns? (This is important in cases with huge parts of code, example: gnuplot scripts) Regards Jürgen

Re: Smart/curly quotes vs straight quotes

2016-02-21 Thread dajare
The global search/replace can be done in OpenOffice using the instructions contained in this Q on the AskLibO site: https://ask.libreoffice.org/en/question/2612/how-do-i-convert-straight-quotes-to-typographic-quotes/?answer=7010#post-id-7010 The regex works pretty well in my experience, and it

Re: ulem and amsmath

2016-02-21 Thread Michael Berger
Dear Philip, Respect! I am truly very grateful to you for resolving this problem! I will revert to you after implementing your advice! I think I am going to add the respective piece of code to Local Layout of the main document as I am reluctant to change something in classicthesis-config.tex.

Re: anybody using classicthesis-LyX-v4.1 out there ?

2016-02-21 Thread Michael Berger
Michael Berger online.de> writes: > > Hi Philip, > > >This issue was solved by Philip and has thus become obsolete Michael Berger

Re: ulem and amsmath

2016-02-21 Thread Michael Berger
On 02/20/2016 11:42 PM, PhilipPirrip wrote: Hi Michael, It took me a while to isolate the problem: it's displayed math in Chapter03 that causes it. This turned out to be a bug in the package ulem: http://tex.stackexchange.com/questions/125980/problem-with-amsmathfontspeculem

Re: Carriage return in ERT inset

2016-02-21 Thread David Rörich
Hello Jürgen, no, not directly. As a single line break is ignored in Latex, Lyx seems to remove these single line breaks automatically to make the editor layout consistent with the output. I think you have two options here: 1) Use double line breaks in the text you paste into the ERT. Lyx will

Re: ulem and amsmath

2016-02-21 Thread PhilipPirrip
On 02/21/2016 09:06 AM, Michael Berger wrote: a) slanted text of the document appeared now upright but underlined However, this could easily be reformatted with 'slanted' What made the text slanted in the first place? b) there is quite a number of long URLs in my Bibliography that

lyxtype and Format version

2016-02-21 Thread subaochen
hi all, I have a very simple character style module as below: Format 7 InsetLayout CharStyle:Function LyxType charstyle LabelString function LatexType command LatexName function Font FamilySans EndFont Preamble \newcommand*{\function}[1]{{\texttt #1}}

Re: ulem and amsmath

2016-02-21 Thread Michael Berger
On 02/21/2016 04:42 PM, PhilipPirrip wrote: On 02/21/2016 09:06 AM, Michael Berger wrote: a) slanted text of the document appeared now upright but underlined However, this could easily be reformatted with 'slanted' What made the text slanted in the first place? b) there is quite a

Re: lyxtype and Format version

2016-02-21 Thread PhilipPirrip
On 02/21/2016 11:05 AM, subaochen wrote: InsetLayout CharStyle:Function This should be InsetLayout Flex:Function You can read about these in Help>Customization (I must say that's not the clearest part of LyX documentation, though... it's actually very confusing!) Also, if you're

Re: Carriage return in ERT inset

2016-02-21 Thread Scott Kostyshak
On Sun, Feb 21, 2016 at 03:15:49PM +0100, David Rörich wrote: > Hello Jürgen, > > no, not directly. As a single line break is ignored in Latex, Lyx seems to > remove these single line breaks automatically to make the editor layout > consistent with the output. I think you have two options here: >

Compiling a preview ("teaser") document

2016-02-21 Thread James
Is there a way to compile a document that has particular pages selectively devoid of legible content? e.g. blurred and turned into a raster image or simply blanked out with nothing visible and no way to recover the missing content (i.e. not simply using white text). Something equivalent to a

Re: Compiling a preview ("teaser") document

2016-02-21 Thread PhilipPirrip
On 02/21/2016 05:22 PM, James wrote: Maybe a question best suited to the developer list? I'd first ask at http://tex.stackexchange.com/. There are a few guys there who can make everything possible. Once you have the proper set of commands and environments in LaTeX, implementing them in LyX

Re: Carriage return in ERT inset

2016-02-21 Thread Jürgen Lange
I want to give feedback (tested with a minimal gnuplot script). 1) double line breaks in ERT: works 2) program listing: fails, because gnuplot script is printed and not interpreted 3) paste special > plain text in ERT: works (my preferred method) Thanks!

Re:Re: lyxtype and Format version

2016-02-21 Thread subaochen
Thanks PhilipPirrip! Your method just works like a charm:-) PS,Local Layout is really a good design! A real good start to develop lyx module! At 2016-02-22 00:41:25, "PhilipPirrip" wrote: >On 02/21/2016 11:05 AM, subaochen wrote: >> InsetLayout CharStyle:Function > >This