Re: Re: error creating PDF

2016-01-12 Thread Jürgen Spitzmüller
2016-01-12 10:09 GMT+01:00 "Laura Schröder" :

> No, I didn't, I created a new document.
> And it was in the preamble, from the beginning.
>

This probably happened because you accidentally hit "Save as Document
Defaults" "Als Dokument-Voreinstellung speichern") in the document settings
dialog while the User Guide was open.

Do the following:

1. Go to your User Directory ("Benutzerverzeichnis"). About > LyX tells you
where this is.
2. Go to the subfolder "templates"
3. Remove the file "defaults.lyx"

Now check if the problem is still there.

Jürgen


Re: error creating PDF

2016-01-11 Thread Jürgen Spitzmüller
2016-01-10 19:45 GMT+01:00 Stephan Witt:

> the preamble of your document contains these lines
>
> %für deutsche Nomenlatur
> \renewcommand{\eqdeclaration}[1]{, siehe Gleichung\nobreakspace(#1)}
> \renewcommand{\pagedeclaration}[1]{, Seite\nobreakspace{}#1}
> \renewcommand{\nomname}{Nomenklatur}
>

This is from the German User Guide preamble. Laura, did you use the User
Guide ("Benutzerhandbuch") as a template for your document?

(Note to the documentation team: these preamble statements should be
enclosed into \ifpackageloaded conditions.)

Jürgen



>
> Stephan


Re: error creating pdf

2016-01-10 Thread Charlie
On Sun, 10 Jan 2016 09:57:23 +0100
"Laura Schröder"  wrote:

> Hello! I'm a very beginner in lyx. I started to write a document, and
> after some time, I wanted to get the PDF preview, but I got the error
> message: LaTex error: eqdistribution undefined LaTex error:
> pagedeclaration undefined LaTex error: nomname undefined
> (Changing the document class: I can get a HTML file, but anyway no
> PDF) I'm really not a programmer..I've no idea how to find out.
> Please, I need help

Help someone to help you Laura.

Are you using windows or a Linux operating system?

That information would help, and what version of lyx you're trying to
work with maybe?

Stay well,
Charlie

-- 
Registered Linux User:- 329524
***

It is the mark of an educated mind to be able to entertain a
thought without accepting it. .Aristotle

***

Debian GNU/Linux - Magic indeed.

-


RE: error creating pdf

2016-01-10 Thread Christopher Menzel
Sounds like a TeX installation problem. Have you installed MikTeX (Windows) or 
MacTeX (OS X)?
-chris
 Original message From: Laura Schröder 
 Date: 1/10/2016  2:57 AM  (GMT-06:00) To: 
lyx-users@lists.lyx.org Subject: error creating pdf 
Hello! I'm a very beginner in lyx. I started to write a document, and after 
some time, I wanted to get the PDF preview, but I got the error message: LaTex 
error: \eqdistribution undefined

    LaTex error: \pagedeclaration undefined

    LaTex error: \nomname undefined

(Changing the document class: I can get a HTML file, but anyway no PDF)

I'm really not a programmer..I've no idea how to find out.

Please, I need help

Re: error creating pdf

2016-01-10 Thread Charles de Miramon
Laura Schröder wrote:

> Hello! Im a very beginner in lyx. I started to write a
> document, and after some time, I wanted to get the PDF preview, but I got
> the error message: LaTex error: eqdistribution undefined
> 
> 

> LaTex error: pagedeclaration undefined
> 
> 

> LaTex error: nomname undefined
> 
> (Changing the document class: I can get a HTML file, but anyway no
> PDF)
> 
> Im really not a programmer..Ive no idea how to find
> out.
> 
> Please, I need help


You must have an incomplete LaTeX installation. You need to install some 
LaTeX packages like nomenclature.

You can find which LaTeX packages LyX can find on your computer with 

Tools -> LaTeX Information -> LaTeX Styles and then look if you can find 
nomencl.sty

Installing new latex packages depends on the system you are using (Windows, 
Mac or Linux)

Good luck. We were all beginners at some point. The learning curve is at the 
start a little steep but is worthwhile.

Charles



re: error creating pdf

2016-01-10 Thread Laura Schröder
Hello!

It is exactly the same error on Mac (Yosemite) and (I wanted to "test" it on my home computer after failing at work...) Windows (8).

And again after updating yesterday the Lyx on both PC, so in both cases the newest version.

And, before this error happened, I pasted some sentences out of a word document into my lyx file (but this worked before...), may this be the "reason"?

But it also failed in a test file, with just some simple words

Interestingly, I can get the handbook and all of these files as a pdf preview, but none of mine.

Thank you!

 


Re: error creating pdf

2016-01-10 Thread Jürgen Spitzmüller
Am Sonntag, den 10.01.2016, 18:11 +0100 schrieb 
> Hello!
> It is exactly the same error on Mac (Yosemite) and (I wanted to
> "test" it on my home computer after failing at work...) Windows (8).
> And again after updating yesterday the Lyx on both PC, so in both
> cases the newest version.
> And, before this error happened, I pasted some sentences out of a
> word document into my lyx file (but this worked before...), may this
> be the "reason"?
> But it also failed in a test file, with just some simple words
> Interestingly, I can get the handbook and all of these files as a pdf
> preview, but none of mine.

An LyX example file where this error occurs would be most helpful.

Some others seem to have run into the same problem, so it would be of
general interest to resolve it:
http://tex.stackexchange.com/questions/275298/undefined-error-using-lyx
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg89742.html

Thanks
Jürgen

> Thank you!
>  


re: error creating PDF

2016-01-10 Thread Laura Schröder
Hi Christopher!

Miktex on the Windows, Mactex on the Mac...

Thank you


Re: error creating PDF

2016-01-10 Thread Stephan Witt
> Am 10.01.2016 um 19:35 schrieb Laura Schröder :
> 
> Here is an  (nonsense-text) example, but any "new" file can't produce pdf.
> The nomencl.sty is there
> If some other people have this issue, may it be a bug?
> thank you all!
>  
> 

Hi Laura,

the preamble of your document contains these lines

%für deutsche Nomenlatur
\renewcommand{\eqdeclaration}[1]{, siehe Gleichung\nobreakspace(#1)}
\renewcommand{\pagedeclaration}[1]{, Seite\nobreakspace{}#1}
\renewcommand{\nomname}{Nomenklatur}

This is a problem if nomenclature package is not used and should be removed.
If you’ve saved this with „Als Dokument-Voreinstellung speichern“ then you 
should save another version without these lines.

Stephan

Re: error creating PDF

2016-01-10 Thread Laura Schröder
Here is an  (nonsense-text) example, but any "new" file can't produce pdf.

The nomencl.sty is there

If some other people have this issue, may it be a bug?

thank you all!

 

beispiel.lyx
Description: application/lyx