[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-users
Subject:    Re: ERT is not working
From:       Guenter Milde <milde () users ! sf ! net>
Date:       2016-01-12 6:45:38
Message-ID: n727ei$nq$1 () ger ! gmane ! org
[Download RAW message or body]

On 2016-01-11, Sajjad wrote:

Hej Sajjad,

> I have managed to import a custom .cls file into the lyx .layout file and
> things have been working fine so far. I have been inserting the necessary
> parameter through class options of the lyx interface and ERT code. Now I am
> stuck with the following issue. I am trying to generate a page for notation
> of abbreviation. The custom class has an example for this and if I directly
> copy it into my structure it works file.  The example as follows:

...

Without the time to go into detail about your example, a couple of things to
try:

* if you have a LaTeX file that works and a LyX file that does not, export
  the LyX file to LaTeX (make sure not to overwrite your working example)
  and watch for differences.
  
  Alternatively, open the source panel (View>Source), set "complete
  document" and compare this with the working LaTeX example.
  
* Adapting LaTeX code tips or examples to LyX, remember that some LaTeX
  code belongs to the document preamble (before \begin{document}).  
  In LyX this must go to the user preamble (Document>Settings>LaTeX
  preamble).
  
* Some options can be given to LyX loaded packages via the various
  Document>Settings, however, there are cases where a construct cannot be
  reproduced in a LyX document (sometimes this can be solved via a special
  layout).

Günter

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic