Re: Need Help Using LyX

2014-08-07 Thread Philipp Gröne
Hi!

Jacob and Richard, thank you very much for you answers!
I just found the time to experiment a bit with LyX. I will try to
answer each of you in this mail.

@Jacob:

> Also, if you send a minimal example, it  will make it easier to help you.

I have tried to do that.

>> 2) The font of all entries in the table of contents should be
>> identical. At the moment, the chapter- and the section titles have
>> different font families in the table of content, and changing it
>> manually only changes the chapter-titles in the ToC, not the
>> section-titles.
>>
> This can be done by redefining the chapter headings, and specifying the font
> in the redefinitions. To start figuring out how to do that, open your
> document template and search for where these are given. Then, start changing
> things until you get what you want :)

I do not find anything about this in the template I use. I guess they
are defined in the book.class?

>> 3) The font of te chapter numbers should also be identical, i.e. 12p
>> and non-fat.
>
>
> Use the same method as 2).

Same as above.

>
> That is because the thesis template is based on book, which has three parts,
> frontmatter, mainmatter, and endmatter. By default, I think frontmatter uses
> lowercase roman numbering. You can suppress the page number with (in ERT)
> \thispagestyle{empty} For more on numbering, see the wiki:
> http://wiki.lyx.org/FAQ/Numbering

The ERT also supresses also that the ToC is shown at all. I guess
there's a reason why it is called evil.


> Reasonably easy if you have invested enough time in understanding things,
> but not nearly as easy as I (and likely many others) wish it were. Someday,
> I hope we will have a nice graphical editor that we can use to create new
> document templates (as soon as somebody decides to write one...not
> necessarily part of LyX), but right now the process of creating or modifying
> one has a bit of a learning curve.

That would be very nice. For a newby like me, it would be nice if it
would be a bit easier to distinguish between LaTeX- and LyX - issues.

@Richard:

> These are all LaTeX issues. All of these things are set by the document
> class and are not really designed to be customizable. You can change them,
> but it means learning some LaTeX and doing some work in the preamble.

Thanks for the clarification. I have no clue about LaTeX as I have
started using LyX. From my perspective it is indistinguishable if I
have a LaTeX-issue or an LyX-issue.

> For what it's worth, I'd suggest you use the basic book class. It's more
> easily customizable. What follows is for that.

Thanks for the suggestion, I've tried just that. The only issue is
that this does not give me a PDF-bookmarked ToC, but I will figure out
how to do that later.

>> 1) The table of contents should not have a title (i.e. "Table of
>> contents")
>
>
> \renewcommand\contents{}
This does not work. I have experimented a bit. The command given above
yields a "LaTeX Error: \contents undefinded" if I try to compile the
document.
I'm unable to overcome that issue. Even using
"renewcommand\tableofcontens" does not work, this yields just an empty
site instead of a ToC.

Conclusion: I do now not enough about LaTeX to mess around with this.
>
>> 2)
>
> \newcommand*\l@chapter[2]{%
>   \ifnum \c@tocdepth >\m@ne
> \addpenalty{-\@highpenalty}%
> \vskip 1.0em \@plus\p@
> \setlength\@tempdima{1.5em}%
> \begingroup
>   \parindent \z@ \rightskip \@pnumwidth
>   \parfillskip -\@pnumwidth
>   \leavevmode \bfseries
>   \advance\leftskip\@tempdima
>   \hskip -\leftskip
>   #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
>   \penalty\@highpenalty
> \endgroup
>   \fi}
>
> If you want to change them, you can copy them to your premable, change it to
> "\renewcommand", and do whatever you wish.

I've tried that. I'm not able to figure out what all these commands
mean. Is there a list somewhere? Or some sort of introduction?


> I assume you mean the page (seite) with the TOC. In any event, I'm not sure
> what to do about this. Maybe someone else would know.

Sorry, yes, I meant page. I figure that is part of the
Thesis-template, if I learn enough about LaTeX to change that this
will be a chinch.

>> 5) There shouldnt be any page breaks, neither after the Toc nor before
>> chapters.

> So perhaps something like:
>
> \renewcommand\chapter{\vspace*{2em}
> \global\@topnum\z@
> \@afterindentfalse
> \secdef\@chapter\@schapter}

This has actually worked out-of-the-box. Thank you very much!

I figure I will have to learn a lot about LaTeX. A quick search
revealed this LaTeX-Introduction: tobi.oetiker.ch/lshort/lshort.pdf
I guess there are many more. Any recommendations?

Greetings!
Ph.


Minimal.lyx
Description: application/lyx


Need Help Using LyX

2014-08-01 Thread Philipp Gröne
Hi there!

I need some assistance using LyX.
I want to make a list of pictures. Each of this pictures has either a
chapter number (1) or a section number (1.1).
I chose the thesis-template shiped with LyX to achieve this, mainly
because it provides chapters, sections and a table of contents.
It looks mostly okay, but I still need to change the following things,
listed in no particular order:
1) The table of contents should not have a title (i.e. "Table of contents")
2) The font of all entries in the table of contents should be
identical. At the moment, the chapter- and the section titles have
different font families in the table of content, and changing it
manually only changes the chapter-titles in the ToC, not the
section-titles.
3) The font of te chapter numbers should also be identical, i.e. 12p
and non-fat.
4) The site with the ToC should have no page number. Currently it is
labeled "i".
5) There shouldnt be any page breaks, neither after the Toc nor before chapters.

I guess, everything in this list is fairly easy to achieve.
Unfortunately, I do not even now were I should start reading to learn
how to do this. I would be most gratefull if someone could explain how
to solve my problems, and point me in the right direction of a manual.

Thanks in advance!
Ph.


Re: Change dinbrief.lyx

2014-04-25 Thread Philipp Gröne
Hello again!

Thank you very much for your help!

I was not aware about the switch. This clarified things and solved my problems.

Greetings!
Ph.



2014-04-25 14:43 GMT+02:00 Jürgen Spitzmüller :
> 2014-04-25 13:34 GMT+02:00 "Philipp Gröne":
>
>> Hello!
>>
>> I'm trying to write a letter using the DIN-Brief-template provided with
>> LyX.
>>
>> My system locale is EN, the letter is supposed to be German.
>>
>> The trouble is that the layouts "MyRef" and "YourRef" produce unwanted
>> (or even wrong) outputs, i.e.
>> "Ihre Zeichen, Ihre Nachricht von" and "Unsere Zeichen, unsere Nachricht
>> von".
>>
>> This is plural, while it should be singular, i.e. "Ihr Zeichen, Ihre
>> Nachricht von" and "Mein Zeichen, meine Nachricht von".
>
>
> Reading the dinbrief.cls documentation, I see that there is an old version
> of the norm (dating to 1976), which uses plural, and a new version, which
> uses singular. The class provides a switch \enabledraftstandard to enable
> the new version. The new version also gets automatically enabled if you use
> "writer".
>
>
>>
>> Also, the Layout "Writer" should read "Sachbearbeiter" and not
>> "Bearbeiter".
>>
>> How can I change that?
>
>
> Copy this into the preamble:
>
> \renewcommand*\signmsgnew{Mein Zeichen, meine Nachricht vom}
>
> \renewcommand*\yourmailmsg{Ihr Zeichen, Ihre Nachricht vom}
>
> \renewcommand*\writermsg{,\ Sachbearbeiter}
>
>
>>
>>
>> Is this a bug in the template, or something on my end?
>
>
> This is how these strings are defined in the LaTeX class (dinbrief.cls), LyX
> does not change anything here. So if you think there is something wrong with
> these strings (I do not have the norm here to check myself), you should
> probably contact the LaTeX class maintainer.
>
> Jürgen
>
>>
>>
>> I'm running LyX 2.0.6 on Debian Sid.
>>
>> Thanks in advance!
>> Ph.
>
>


Change dinbrief.lyx

2014-04-25 Thread Philipp Gröne
Hello!

I'm trying to write a letter using the DIN-Brief-template provided with LyX.

My system locale is EN, the letter is supposed to be German.

The trouble is that the layouts "MyRef" and "YourRef" produce unwanted
(or even wrong) outputs, i.e.
"Ihre Zeichen, Ihre Nachricht von" and "Unsere Zeichen, unsere Nachricht von".

This is plural, while it should be singular, i.e. "Ihr Zeichen, Ihre
Nachricht von" and "Mein Zeichen, meine Nachricht von".

Also, the Layout "Writer" should read "Sachbearbeiter" and not "Bearbeiter".

How can I change that?

Is this a bug in the template, or something on my end?

I'm running LyX 2.0.6 on Debian Sid.

Thanks in advance!
Ph.


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Philipp Gröne
Hi there!

Murat Yildizoglu wrote:
> Concerning this point, could we have a preference somewhere for ignoring
> them? I remarked in the previous beta (having tested yet the RC1)  that even
> if the PDF does compiles with these errors, Lyx does not show it. It would
> be nice to preview the PDF nevertheless.
> Concerning this point, could we have a preference somewhere for ignoring
> them?

I just turned in my final thesis, completely written in LyX. I've got
not much to complain - quite the opposite. LyX spared me a lot of
hassle. More robustness against errors would nonetheless further
enhance my enjoyment of LyX.
I second the notion of a "ignore errors and show pdf nonetheless".

Jürgen Spitzmüller wrote:

> I am reluctant to do this. If bibtex reports an error, you should fix it. You 
> could make the same argument wrt LaTeX error. In many cases, a PDF would be 
> produced nonetheless, but a wrong one (the same applies to bibtex errors).

Yes, sometimes the PDF would be "the wrong one".
But imagine this case: My thesis had 4 chapters, and was made up from
6 documents (Master document+Appendix where 5. and 6.).
Out of some reasons, the 4th chapter wouldn't compile alone, but ended
with some or the other error message. If I tried to compile the master
document, everything looked fine.
Probably, with some work, I would've been able to repair the 4th
chapter, so it would've compile alone.

I didn't do that, because the time was pressing, but opened the master
every time I worked at the 4th chapter and compiled that.
It was a hassle.

Yes, it is better to repair bugs instead of glossing them over, but I
don't want to be forced to do that. Give the LyX-users the credit to
know when they have to repair things, and when it's okay to gloss over
them.
(In my case, the error came from some wrongly put labels/cross
references, I think. All I wanted to do was checking of my pictures
looked right. For that, "the wrong pdf" would've been completely
sufficient.)

Greetings!
Ph.


Re: Package babel Error: Unknow option `ngerman'

2013-11-12 Thread Philipp Gröne

Hi!


It looks like the OP is using Debian/unstable or Debian/testing. This is
"work in progress" and there was a re-structuring of the language support
packages. So I would consider the problem one of the "rough edges" of the
unstable branch, not a Debian bug.


The original poster is running a Debian stable/unstable-mix. I guess that  
is the reason for some of the problems.


Wolfgang, is there any reason why you don't want to run pure  
Debian/testing or unstable installation?


Debian/stable is intended for systems like servers (or the laptops on the  
ISS) where absolute stability is crucial. If one wants/has to use  
up-to-date software on Debian/stable, the installation process is very  
prone to errors.


This is the reason I switched from Ubuntu to Debian testing. Ubuntu is  
based on a more or less dated snapshot of Debian/testing. I spent a week  
trying to install a piece of new software which had a very old version in  
the Ubuntu repositories.
In the end it was a choice between gnawing of one of my feet in  
frustration or trying to install Debian/testing. I never had to regret  
that. Debian/unstable is still incredibly stable, and Debian/testing is  
even more so.
You seem to be tech-savy, able to read and follow instructions and not  
afraid to ask questions. This more than qualifies you to run it.  
Additionally, Debian/testing would lead to much less problems.



If I select this for installation, synaptic is going to remove a lot of  
texlive and other stuff, which I hesitate to do.


To the actual problem:
My guess is a version mixup between the Stable/unstable packages.

You can try this:  sudo apt-get -t unstable install texlive-lang-all ,  
telling your Debian it shall install the newer packages specifically.  
There has to be a way to do that in synaptic directly, but I don't know  
it. Also, you can install the needed language packs specifically,  
texlife-lang-all is 850 Mb large.


The texlive you've installed is the newer version, a dependency of Lyx  
2.0.6. Texlive 2012 and 2013 are mutually exclusive packages.


For my own problem:

In this case, manually removing ngerman (or, if the references are part  
of
the document, not included via BibTeX, changing the language to English)  
may

be a last resort.


The text in question is written in English, and I'm not aware of any  
German reference in it. I've sent the text to a friend to read it, and she  
opened it in a German LyX-installation. Maybe the line was added at this  
point, I haven`t exported this particular file to PDF in a while.


Greetings!
Ph.


Re: Package babel Error: Unknow option `ngerman'

2013-11-11 Thread Philipp Gröne

Hi!
more serious:
if I try to export a pdf output from my document, I get
 
! Package babel Error: Unknow option `ngerman'. Either you misspelled it
(babel)or the language definition file ngerman.ldf was not found.
 
 and no output.
 
I use lyx 2.0.6-1+b1 and texlive 2013 under DebianI had the same error while compiling documents, I solved it by manually deleting all lines from the document in question which contained "/ngerman". (By opening them in a text editor and using the search feature) This worked like a charm.This can be due to sheer luck, it is possible that this opens a can of worms in other documents.I advice to make backups before editing the source document manually.(By the way, just commenting it out by adding a # to the beginning of the line in question did not work.)If you want to install more packages instead try either "texlive-lang-german" or "texlive-lang-all".Hope this helped,Ph.

Re: lyx2.0.6

2013-10-27 Thread Philipp Gröne

Hello!I've been not at my computer since Wednesday evening, and read your mails in a time-reversed order. After my first shock I very glad that you managed to fix it, I would have had a quite guilty conscience if I'd managed to break your operating system remotely and then going of for a prolonged absence.As far as I know the gnome-dependencies installed with Lyx stem from the recommended installation of evince, which is the standard-PDF-reader under gnome, therefore using gnome-dependencies.This can be avoided by using the -r suffix to apt-get install.I'm writing this response to the list because I've struggled with that myself - why the rec for evince in the Debian package?I really would prefer no recommendation for a PDF-viewer, assuming that every user who uses Lyx has the PDF-viewer of his choice already installed. (In my case, zathura - evince is lightweight indeed, even considering the gnome-dependencies, but zathura is even more lightweight.)Greetings!Ph.On Wed, 23 Oct 2013 18:05:07 +0200, Wolfgang Engelmann  wrote:
On Wednesday 23 October 2013 15:16:23 Wolfgang Engelmann wrote:
> Hello, bad news
> 
> I tried to update as suggested by Philipp using the synaptic command,
> but got after a long time of retrieving and installing packages many
> errors which I had collected in a reply mail (gnome -but I use kde ...).
> In trying to send it it turned out that the KMail was not working
> (could not find the mail provider). So I restarted the PC with the
> result that it freezes at the login Menu (user, password) and I can
> not move the mouse anymore, ctr alt del does not work. I could try to
> use a knoppix dvd for recovery, but do not know what to do. So may be
> I should ask somebody from the Linux User Group Tuebingen for help.
> I am writing this from my notebook.
> 
> Wolfgang
 
Sorry for this Mail. I have gone into the recovery mode and checked various things. Starting the PC again brought me back to x windows screen. 
Synaptics told me there are defect packages which were repaired. Afterward I was able to install the 2.0.6 lyx.
 
I guess, what happens was that in 
sudo synaptic update 
I might not have waited long enough ...
Anyway it is now working again and I can use now the lyx2.0.6.
Thanks for the help and sorry for the noise.
 
Wolfgang 

Re: lyx2.0.6

2013-10-23 Thread Philipp Gröne

Hi there!Try this deb http://ftp.de.debian.org/debian stable main contrib non-freedeb-src http://ftp.de.debian.org/debian stable main contrib non-freedeb http://ftp.debian.org/debian/ wheezy-updates main contrib non-freedeb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-freedeb http://security.debian.org/ wheezy/updates main contrib non-freedeb-src http://security.debian.org/ wheezy/updates main contrib non-freedeb http://ftp.de.debian.org/debian sid main non-free contribin your /etc/apt/sources.list. This was generated by http://debgen.simplylinux.ch/ , a pretty cool site which will generate you a /etc/apt/sources.list .Are you aware about the Debian release policy?Your are mixing two versions of Debian, stable (i.e. Wheezy) and unstable (i.e. Sid).The Packages in Wheezy won't get any updates except security fixes, while Sid contains packages which are developed continously - this means, more bugs, but also newer version numbers.I don't know how to do this in synaptic, but you need to specify the version APT should get a given package from. Else it will use the default which is wheezy(stable) in your case.So try the following commands:sudo synaptic updatesudo synaptic -t unstable install lyxHope this helped.Greetings!Ph.P.S.: Is there a reason why you use stable? I've found Debian testing (Jessie) stable enough for everything I want to do. (I've never run into a bug). Then you won't have the issue of outdated packages.On Wed, 23 Oct 2013 09:36:14 +0200, Wolfgang Engelmann  wrote:
Hello,
I am still trying to install lyx2.0.6
I am on debian wheezy and use an amd64 PC
 
I am told in
http://packages.debian.org/sid/amd64/lyx/download
 
Download-Seite für lyx_2.0.6-1+b1_amd64.deb für AMD64-Rechner
 
to add in
 
/etc/apt/sources.list
deb http://ftp.de.debian.org/debian sid main 
which I did. 
My /etc/apt/sources.list is
 
deb ftp://ftp.de.debian.org/debian/ wheezy main non-free contrib
deb-src ftp://ftp.de.debian.org/debian/ wheezy main non-free contrib
deb http://security.debian.org/ wheezy/updates main non-free contrib
deb-src ftp://ftp.de.debian.org/debian/ wheezy/updates main non-free contrib
deb http://ftp.de.debian.org/debian sid main
 
Question 1: Is this correct or do I miss something?
Question 2: Why do I get this from synaptic:
Fehlschlag beim Holen von ftp://ftp.de.debian.org/debian/dists/wheezy/updates/main/source/Sources  Datei konnte nicht heruntergeladen werden; Server meldet: »/debian/dists/wheezy/updates/main/source/Sources: No such file or directory 
Question 3: Why does synaptic not show the desired lyx version, but only 2.0.3?
 
Wolfgang
 

Lambda not shown

2013-09-09 Thread Philipp Gröne

Hello!

Lowercase-lambdas are not shown in my Lyx-documents. Uppercase Deltas are  
shown.
The Preset I use is thesis (chapter-1 or chapter-2, does not matter). I  
activated "Non-Tex-Fonts" in the Document-Options. If I don't do that,  
deltas aren't shown, either. I use LuaTex.


A minimal example is attached.

I hope I provided all necessary information. Thanks in advance!
Ph.

Minimalnolambda.pdf
Description: Adobe PDF document


Re: Place float:figure in this subparagraph

2013-06-12 Thread Philipp Gröne

Hello!

Thank you for your answers!

Paul Rubin wrote:

Short of manually inserting page breaks (and adjusting them whenever the
text changes), I do not think it is possible to do what you want and be
certain that you get the desired result.


After reading a bit further and asking friends which are more apt with  
LaTeX than me I realize that.


I had hoped for a fire-and-forget solution for all my graphs, but I will  
have to make adjustments for each.


I was still in the WYSIWYG-workflow, and wanted everything to look  
correctly while still writing.
Instead, I will now concentrate on finishing my text and making it look  
good after I finished.


Andrew wrote:
Have you tried a figure wrap float (Insert > Float > Figure Wrap Float)?  
This allows text to flow around a figure (provided the figure is not too  
big) and is generally attached to a paragraph (although it can float if  
"stressed").


I have tried it, but it didn't do what I had in mind, so I dismissed it as  
incorrect. I will keep it in mind if I typeset my work.


Greetings!
Ph.


Re: Place float:figure in this subparagraph

2013-06-10 Thread Philipp Gröne

Hi!

Thanks for your answer!
I've tried every setting on the subtext menu you write about, to no avail.

"Here definitely" leads to a behavior of my graphics that is very depend  
of linebreaks above it, nearly WYSIWYG-like.


What I really want is a method to make a graphic bound to a certain  
paragraph, favorably with some lines of text above it.

Is this possible? If yes, which manual should I start to read?

Unfortunately I've no experience with LaTeX-code, and it seems a bit  
overwhelming with no outside help.


Greetings and thanks in advance!
Ph.

Am 07.06.2013, 20:06 Uhr, schrieb Paul Rubin :

Are you inserting them with Insert > Float > Figure? If so, right click  
the

"handle" labeled "Float: Figure", choose Settings..., and deselect "Use
default placement" and try "Here definitely" instead.

Paul



Place float:figure in this subparagraph

2013-06-06 Thread Philipp Gröne

Hello there!

I'm new to this list, and more or less new to Lyx. At the moment I'm  
writing my diploma thesis with Lyx.


I hope the question I'm about to ask hasn't been asked dozens of times,  
for I found nothing helpful in the archives.


There are a lot of pictures in my thesis. It is important that they are  
printed in the correct subparagraph. Lyx, however, doesn't place them in  
the subparagraphs but somewhere later in the text. Is there a possibility  
to force "bind to this (sub)paragraph" somewhere I haven't searched?


Thanks in advance!
Ph.