Re: Help with KOMA-Script book class

2017-12-26 Thread Påvel Nicklasson
It is possible to use fncychap with KOMA-book, even if not recommended. The
warning is caused by fncychap that uses the depreciated command /rm. To
avoid the warning insert these lines after the loading of fncychap in the
Preamble:

\ChTitleVar{\bfseries\Large\rmfamily}\ChNameVar{\bfseries\Large\sffamily}

Depending on style you might need to adjust the size of the font.

The recommended solution is, as Jürgen suggests, to explore the
possibilities of the KOMA-Book.

Påvel


2017-12-26 11:01 GMT+01:00 Jürgen Spitzmüller :

> Am Montag, den 25.12.2017, 16:18 -0800 schrieb Rich Shepard:
> >This is not a LyX issue. However, the KOMA-Script web site is
> > written in
> > German, a language capability I lost several decades ago due to lack
> > of use.
> > What I seek is a resource to answer this question: Is there a way to
> > use the
> > fncychap package with the KOMA-Script book class?
> >
> >When I try to compile the document I see this error:
> > Class scrbook Error: undefined old font command '\rm'.
>
> Class option enabledeprecatedfontcommands
>
> However,
>
> >If there's a way to address this I'd like to learn it. Otherwise,
> > I would
> > like a pointer to resources that show how to implement fancier-than-
> > standard
> > chapter headings in the book class.
>
> The KOMA class itself provides a rich set of means to customize chapter
> headings. See sec. 3 of the KOMA manual.
>
> Jürgen
>
> >
> > Rich
> >


Re: Strange xxx-lyxformat-474.lyx files

2016-08-02 Thread Påvel Nicklasson
Thank you all for clarifications and suggestions! I suspected the files
were connected to the new 2.2 version, It's better to ask before deleting
files and discover doing something stupid too late.

2016-08-02 17:52 GMT+02:00 David L. Johnson :

> On 08/02/2016 10:40 AM, Rich Shepard wrote:
>
> On Tue, 2 Aug 2016, David L. Johnson wrote:
>
> These are being created since the files were edited by the new version of
> LyX you installed, which uses a newer format. LyX then auto-saves them in
> the old format so that you can edit it, if you need to, with an older
> version of LyX. This seems to be a reasonable thing to do at the start of
> a new format, and will not occur when you edit files using LyX-2.2 that
> are already in the new format.
>
>
> David,
>
>   Thanks for the clarification. I don't recall seeing these files when
> previous versions (from 1.0 on) were upgraded.
>
>
> It was certainly not the case with every change of format --- and was
> probably added because someone got caught with a file they could not edit
> after going to a new version of LyX, then backing out of the upgrade for
> some reason.  I am not sure whether this feature had been added earlier ---
> I don't have such backups around except those created by lyx 2.2.
>
>
> --
>
> David L. Johnson
> Department of Mathematics
> Lehigh University
>
>


Strange xxx-lyxformat-474.lyx files

2016-08-02 Thread Påvel Nicklasson
I work on several projects in LyX. Lately I have noticed that in the same
folders as my .lyx files there is a second file called -lyxformat-474.lyx.
For instance, if the regular file is called xxx.lyx. The second is called
xxx-lyxformat-474.lyx. The 474.lyx files seems to be old versions of the
regular files.
I have no idea how och when the 474 files were created, certainly not by
me. The only major tampering I have done lately is upgrading to LyX 2.2. I
am on *Buntu 16.04 with LyX stable ppa added. Does anyone know what he 474
files are, and if it is OK to delete them?


Re: biber

2016-05-11 Thread Påvel Nicklasson
I think it would be better to put it in /usr/local/bin.
Restart and it will work.

2016-05-11 10:50 GMT+02:00 Wolfgang Engelmann :

>
>
> On 11.05.2016 10:46, Wolfgang Engelmann wrote:
>
>> I downloaded the latest biber-linux_x86_64.tar.gz from SourceForge and
>> extracted it in my /home/Downloads/
>> Can it remain there or where should it better be? Is a texhash sufficient
>> to make it available to lyx?
>> Wolfgang
>>
> The old biber is at
> which biber
> /usr/bin/biber
> Could I just replace it with the ne one?
> Wolfgang
>


Re: biber

2016-05-11 Thread Påvel Nicklasson
Of course you must also make biber executable.

2016-05-11 21:56 GMT+02:00 Påvel Nicklasson :

> I think it would be better to put it in /usr/local/bin.
> Restart and it will work.
>
> 2016-05-11 10:50 GMT+02:00 Wolfgang Engelmann 
> :
>
>>
>>
>> On 11.05.2016 10:46, Wolfgang Engelmann wrote:
>>
>>> I downloaded the latest biber-linux_x86_64.tar.gz from SourceForge and
>>> extracted it in my /home/Downloads/
>>> Can it remain there or where should it better be? Is a texhash
>>> sufficient to make it available to lyx?
>>> Wolfgang
>>>
>> The old biber is at
>> which biber
>> /usr/bin/biber
>> Could I just replace it with the ne one?
>> Wolfgang
>>
>
>


Re: Possible error in packages in the LyX Ubuntu ppa

2014-04-21 Thread Påvel Nicklasson
Yes!
Now everything works and I run LyX 2.1.
Thanks to you Liviu for bringing LyX to the rest of us through the ppa and
thanks to all developers for LyX 2.1!
Regards
Påvel


2014-04-21 11:34 GMT+02:00 Liviu Andronic :

> Dear Påvel,
>
> On Mon, Apr 21, 2014 at 10:50 AM, Påvel Nicklasson
>  wrote:
> > I use the LyX devel release ppa
> > (https://launchpad.net/~lyx-devel/+archive/release) in (K)ubuntu 14.04.
> LyX
> > wants to upgrade to LyX 2.1 but I recieve this error message during the
> > installation process:
> >
> There was a packaging issue that I have now fixed. Please try removing
> both 'lyx' and 'lyx-common' if present. Then update synaptic, and then
> install the 'ppa3' version packages. Follow the steps in this order.
>
> Regards,
> Liviu
>
>
>
> > /var/cache/apt/archives/lyx_2.1.0-1~trusty~ppa2_amd64.deb
> > trying to overwrite '/usr/share/applications/lyx.desktop', which is also
> in
> > package lyx-common 2.1.0-1~trusty~ppa2
> >
> > The installation is interrupted and LyX not installed. I have tried to
> clean
> > apt and purge the files before installation but the problem remains. Is
> > there a package error in the new files or am I doing something wrong?
> >
> > I can try to get more information from the terminal and the apt command
> if
> > needed, I just have to teach it speak English first.
>
>
>
> --
> Do you know how to read?
> http://www.alienetworks.com/srtest.cfm
> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
> Do you know how to write?
> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>


Possible error in packages in the LyX Ubuntu ppa

2014-04-21 Thread Påvel Nicklasson
I use the LyX devel release ppa (
https://launchpad.net/~lyx-devel/+archive/release) in (K)ubuntu 14.04. LyX
wants to upgrade to LyX 2.1 but I recieve this error message during the
installation process:

/var/cache/apt/archives/lyx_2.1.0-1~trusty~ppa2_amd64.deb
trying to overwrite '/usr/share/applications/lyx.desktop', which is also in
package lyx-common 2.1.0-1~trusty~ppa2

The installation is interrupted and LyX not installed. I have tried to
clean apt and purge the files before installation but the problem remains.
Is there a package error in the new files or am I doing something wrong?

I can try to get more information from the terminal and the apt command if
needed, I just have to teach it speak English first.


Re: off topic: Is there a lyx user in Lund, Sweden?

2013-09-03 Thread Påvel Nicklasson
I work in Lund and use LyX every day. I can make a try, but I have little
knowledge of Macs (Linux user), so I can't guarantee success. I suppose LyX
will be the same, but the TeX system vill be different to set up.

You or your colleague can mail me so we can discuss if and how I could
help.


2013/9/2 Wolfgang Engelmann 

> **
>
> Hello, Lyx-users,
>
>
>
> I wonder whether there is a lyx user in Lund, Sweden, who could perhaps
> help a colleague at the university there to acquire Lyx for Mac?
>
>
>
> Wolfgang
>


Re: Thank You!

2012-06-23 Thread Påvel Nicklasson
2012/6/22 Pavel Sanda 

> P?vel Nicklasson wrote:
> > How do I place the books on the page?
>
> "Edit" link on top right.
> Pavel
>

Now I have entered my books on the list. I hope that I didn't break
anything, I am not that used to edit homepages, but everything seems to be
alright, at least on my screen. I could not approve the links, I guess that
someone with administrative rights has to do that.
Påvel


Re: Thank You!

2012-06-21 Thread Påvel Nicklasson
2012/6/21 Pavel Sanda 

> P?vel Nicklasson wrote:
> > I want to thank the LyX developers and the users on the list for making a
> > superb program and helping me using it!
>
> You may want to put it here:
> http://wiki.lyx.org/LyX/ProducedPublications
>
> Cheers,
> Pavel
>

Yes, that would be very nice and I hope could give some promotion for LyX.
I have produced another book in LyX before and that one could perhaps go
there as well. LyX and the mailing list are of course mentioned in the
acknowledgements in both books.

The books are (mostly) in Swedish but I can write short introductions in
English.

How do I place the books on the page?

Regards
Påvel


Re: Thank You!

2012-06-21 Thread Påvel Nicklasson
2012/6/21 Rainer M Krug 

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>  >
> > The editorial work was done with free software in Linux Kubuntu.
> >
>
> Very nice - could you possibly elaborate a bit which programs you used for
> what?
>
>
>
>
Of course he usual suspects:
GIMP for image manipulation, LibreOffice for recieving and communicating
with the authors early on, none of them used LaTeX/LyX. In the humanities
it is common to recieve papers written in 20+ year old word processors and
LibO is very good to open and convert such nasty things. I converted all
files to plain text and imported them to LyX. I tested some conversion
tools from LibO to LaTeX, but I think it is faster to use plain .txt. Of
course this depends on the kind of papers, quality of the text, kind of
publication and so on.

PDFMod is a very good program to manipulate and split PDF-files. Very
useful to extract each paper when sending the papers back to authors.

KDE may be somewhat heavy and perhaps not my favourite desktop environment,
but it has several very useful scripts for Dolphin accessible from the
right click menu. The scripts handle manipulating PDF:s, conversion of
images and textfiles. Very useful things when producing a book and as a
scholar in the humanities I am able to remember just a limited number of
terminal commands. These scripts have saved me many hours and I do
recommend KDE for heavy work.

In the end I had to make a Postscript file and this was the only hickup. I
could not produce the ps file in Linux but everything worked perfectly in
Windows. I still don't know what went wrong in Linux, but I'll have another
look on it now when I have no dead line and send a bug report if
applicable.

The ps file was converted to PDF in Adobe Distiller (another Windows
victory) with the settings of the printing house.

The printing house had never heard about LaTeX and is heavily entrenched in
Adobes software. Still they accepted my PDF right off and our cooperation
was very smooth. I think that they were surprised and impressed when I told
them that the book had been made in Linux with free software that doesn't
cost a single krona (Swedish coin).

The cover was made by a specialist in InDesign and thus not produced in
Linux. I think it is hard to replace InDesign for this, since the printing
house expects an open InDesign file for final adjustments.

I have typeset several academic books in InDesign before, but I must say
that the process is simpler and with fewer hurdles in LaTeX and especially
in LyX, despite the fact that I am still learning the program. This was my
second book project in LyX. Nowadays I do all my writing in LyX and only
use LibO Writer when I have to submit papers in word processor format.

My wishlist includes an Adobe Distiller type of program for Linux and that
more printing houses would learn about LaTeX/LyX and offer support and
advice.


Thank You!

2012-06-20 Thread Påvel Nicklasson
Thank You all!


I have just finished an edited volume on the History of Archaeology in
Scandinavia with myself and a colleague as editors. I used LyX for the
layout (and to write my own contribution of course). It was a major project
with some 20 papers and the book has nearly 400 pages.


The editorial work was done with free software in Linux Kubuntu.


I want to thank the LyX developers and the users on the list for making a
superb program and helping me using it!


Best Regards


Påvel Nicklasson


Re: Problem compiling document to Postscript

2012-05-30 Thread Påvel Nicklasson
2012/5/30 Ingar Pareliussen 

>  Just a thought: could it be that your /tmp directory almost full? If lyx
> does not have enough space to copy and convert all the image files in the
> tmp directory strange things may happen.
>
> Ingar
>
>
I thought on that too. I moved the tmp folder in LyX temporarily to my
homefolder with more space, but the result was the same, no postscriptfile,
even if LyX worked noticeable faster.

Påvel


Re: Problem compiling document to Postscript

2012-05-30 Thread Påvel Nicklasson
I managed to get a postscript file once from Kubuntu, but then I tried
again LyX refused. I have converted images to .eps and sometimes back to
jpg when the log states that it stopped at those images and still no luck
converting to postscript.

In Windows I have done the conversion several times without any problems. I
am beginning to suspect that it is a bug in the software handling the
process or in how memory is handled by the different systems. The file is
rather big with many big images so perhaps this is the problem.

I must be content with the postscript file made in Windows and I don't
think that I am able to solve the problem on Kubuntu. As I said it is very
strange since I can convert other very similar big manuscripts that also
contain a lot of jpg images.


Re: Problem compiling document to Postscript

2012-05-29 Thread Påvel Nicklasson
Durign the latest try I just recieved an error message (in Swedish):

 Ett fel uppstod vid körning av:

dvips -t a4 -o "Symposieskrift.ps" "Symposieskrift.dvi"


(An error occurred during operation:

dvips -t a4 -o "Symposieskrift.ps" "Symposieskrift.dvi") or something
similar in English.


There were no log popping up and thus nothing to check.


I retrieved the log from View -> Messages and attach it. I can't see
anything obviously wrong, but the most logical for me is that the last
images in the log should be the problematic ones and shoudl thus be
converted to eps?


log
Description: Binary data


Re: Problem compiling document to Postscript

2012-05-28 Thread Påvel Nicklasson
Thank You for your suggestions!

I don't think that the culprit is ImageMagick, since several very similar
documents with lots of JPG:s compile to ps without any problem. I will
test to reinstall ImageMagick however.

I have removed parts of the documents and managed to get some child
documents to compile by converting images to .eps. Now I am stuck on a part
where I have changed the images to .eps, but LyX still refuses to compile
to ps correctly. The resulting ps-file opens, but is faulty: pages and
images are not showing and images are misplaced.

I have noticed that, my pdf-reader, Okular, uses a lot of power while
showing the ps-file and even seems to freeze. Perhaps there is something
wrong here, but Okular works fine with all other documents and ps-files.

The logs does not say much, just that there may be problems with some image
(even images that transfers well). The logs are surprisingly clean for such
faulty behvaiour. I see if I can catch something useful to post.

Since the manuscript must be delivered real soon I think that I have to do
the final work in Windows and postpone some of the bughunt until after the
deadline. I believe this is very strange and I intend to find out where the
fault is.


Problem compiling document to Postscript

2012-05-28 Thread Påvel Nicklasson
I have a large book-sized document with several child documents. I use LyX
2.0.3 on Kubuntu 12.04.


I need to compile the file to postscript for further conversion ahead of
printing.


The compilation stops with no meaningful error messages (at least for me).
The log may indicate problems with images. I mostly use JPG. I have
converted some images to eps after these messages, but the file wont
compile anyway. Should I substitute all JPG images with eps?


The strange thing is that the file compiles OK to postscript on Windows 7
(LyX 2.0.3). Other very similar documents compiles OK to postscript on
Kubuntu. Other formats such as PDFLaTeX work OK.


I don‘t know even how to begin look for a solution. Any suggestions are
appreciated!


Regards Påvel


Re: Thank You!

2011-09-27 Thread Påvel Nicklasson
2011/9/27 Richard Heck 

> On 09/27/2011 11:38 AM, Liviu Andronic wrote:
> > On Tue, Sep 27, 2011 at 5:17 PM, Richard Heck 
> wrote:
> >> I thought there was somewhere on the wiki that people listed their
> >> LyX-created books and linked to them, but I can't find it now
> >>
> > This page [1], I guess.
> > Liviu
> >
> > [1] http://wiki.lyx.org/LyX/ProducedPublications
> >
> Someone, not necessarily you, should probably re-organize this, dividing
> it (at least) into books versus articles. The number of articles written
> with LyX must be astronomical; the number of books, especially books
> actually printed from LyX-generated PDFs, must be much smaller.
>
> Richard
>
>
>
Actually my biggest problem was that the PDF:s produced by LyX were
impossible to use for the printing. I had to make a postscript file in LyX
and convert it in Adobe Distiller to PDF with the printing house's settings.
I suppose that it should be possible to have the correct settings directly
in LyX, but it was too much trouble and since the printing house never had
heard of LyX or LaTeX they could not assist me. The whole printing industry
uses Adobe's software.

I think that a guide on how to make prepress originals directly in LyX would
be great, but perhaps very hard to write, since all printing houses use
their own prepress settings. The documentation is poor and very advanced
when one scouts EPS2PDF, Ghostscript and other programs used behind the
scene.


Thank You!

2011-09-27 Thread Påvel Nicklasson
I have just published my first book written in LyX and I want to thank the
developers and the members on the list for a fantastic program and help
using it.

I think I have understood that many LyX-users are scientists. I am a lowly
scholar in the humanities, an archaeologist, and LyX is a suberb tool for
writing and designing our kind of books too.

The book is in Swedish with the title: ”Att aldrig vandra vill Johan Haquin
Wallman Sveriges förste arkeolog”. Translated to English: ”Never to wander
astray: Johan Haquin Wallman, Sweden’s first archaeologist”. It‘s a
biography over an archaeologist from the early 19th century.

If my work can be used to promote LyX on the website or other places, I
could provide more information.

Best Regards
Påvel Nicklasson


Re: pdf viewer with ruler for linux

2011-09-24 Thread Påvel Nicklasson
2011/9/23 Csikos Bela 

> Hello:
>
> This is not a lyx specific question but I think this forum
> is the best to ask it.
>
> Is there a pdf viewer for linux which has rulers (horizontal
> and  vertical)?
>
> Would be good to be able to see length units when
> creating pdf documents.
>
> Thanks,
>
> bcsikos
>

Perhaps you could use a screenruler. Search for it in your package manager,
there should be some options.


Re: Slow, lacking scroll and cursor (LyX 2 -- Ubuntu 11.04)

2011-06-08 Thread Påvel Nicklasson

Den 2011-06-08 19:45:14 skrev Rasmus K. Rendsvig :


Dear Stephan,

Thank you for the fast reply.

1):
I run continuous updates in Ubuntu, but the version in the software
center is 2.0.0~rc3-1, but having *just* updated, my version is still
2.0.0rc3 from April 10th, 2011. How can I update to a latter version?
I can't seem to find a download link under Linux binaries. I have nop
reason (that I know of) for not updating.

2, 3 and 4):
When using top and line scrolling, I can see that the process Xorg is
taking up 98-100% and LyX 15-20% when opening a not that long document
with hardly any math not citations, and when cutting the document to
1/3 in length, and using the smallest possible windows size, this
drops to 50% for Xorg, but the same for LyX, both after having
disabled continuous spell checking.

It is still so slow and lacking that I can't scroll through and skim
the document in the meantime.

When using page up/down, both LyX and Xorg stay below 10% for the
small window, and can be pushed to 100% for Xorg and 15% for LyX using
half the screen and the longer document.

Best,
Rasmus


You can update LyX to version 2.0.0 by adding the Getdeb repos and update  
as usual: http://www.getdeb.net/welcome/


Re: LyX cache

2011-05-18 Thread Påvel Nicklasson

Den 2011-05-18 19:53:05 skrev Pavel Sanda :


Richard Heck wrote:

Thank you for the answer!
I guess I have to remember cleaning the cache now and then.


there is lifetime for cache in lyx prefs.
pavel



I found it!
The default setting of 180 days seems a little too generous to me.
Påvel


Re: LyX cache

2011-05-17 Thread Påvel Nicklasson

Den 2011-05-17 20:16:16 skrev Richard Heck :


On 05/17/2011 12:18 PM, Påvel Nicklasson wrote:
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home folder  
I realised that my .lyx folder is very big. Most of the space is taken  
by the subfolder "cache" which is over 5GB big. It mostly contains  
images from my projects in .eps and .png formats. Is it safe to empty  
the cache subfolder? Is there a way to flush it from within LyX? Such a  
big cache building up can be an issue on small systems.


It's safe to remove. I don't think there's any way to do it from within  
LyX. Probably there should be, and a "limit cache to N MB" choice, too.


Richard




Thank you for the answer!
I guess I have to remember cleaning the cache now and then.
Regards
Påvel


LyX cache

2011-05-17 Thread Påvel Nicklasson
I use LyX 2.0 on Ubuntu 11.04. When I did some work in my /home folder I  
realised that my .lyx folder is very big. Most of the space is taken by  
the subfolder "cache" which is over 5GB big. It mostly contains images  
from my projects in .eps and .png formats. Is it safe to empty the cache  
subfolder? Is there a way to flush it from within LyX? Such a big cache  
building up can be an issue on small systems.


Best Regards
Påvel


Re: SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Påvel Nicklasson

Thank you, Liviu and Ingar!

I have tested the chapter* and addcontentsline solution, but it messes up  
the automatic chapter and section numbering since I can't manage to  
transfer the correct chapter/section number to the TOC for the headings  
that need to be changed and the book is rather long (500 pages), and  
manually number all headings is little too much work.


The Context menu > Insert short title solution seems to work very well for  
my purposes. It is strange how easy solutions in LyX are when you discover  
them!


Thank you both!
Best Regards
Påvel

Den 2011-05-16 11:04:25 skrev Ingar Pareliussen  
:



Hi

There are many ways to do this, but I suggest that you use chapter* and  
format the linebreaks (CTRL+ENTER) where you want them and then i ERT  
add just after chapter* add:
\addcontentsline{toc}{chapter}{This a long text with the name of the  
Chapter}


HTH
Ingar


Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Påvel Nicklasson

Sorry for the enigmatic title, English is not my first language.

What I am trying to do is to make some long headings evenly distributed  
over two lines in the text by using \\ in ERT. It works well with one  
exception: In the TOC the headings are cut in the same place as in the  
text. This looks rather ugly.


I use a two column layout (Koma book) so there is less space for headings  
in the text than in the TOC and manually corrected headings looks much  
better than a heading automatically justified by LyX with just a single  
word on the second line.


Is there a way to distribute headings on two lines in the text and on a  
single line in the TOC?


Best Regards
Påvel


Re: ANNOUNCE: LyX version 2.0.0 is released

2011-05-08 Thread Påvel Nicklasson

Thank You All!

Påvel Nicklasson

Den 2011-05-08 11:00:27 skrev Pavel Sanda :


Public release of LyX version 2.0.0
===

We are proud to announce the public release of LyX 2.0.0.

With this release, LyX celebrates 15 years of existence, and we start
a new family of 2.x releases to acknowledge LyX's passing from a child
to an adult. We hope you will celebrate this anniversary with us.

LyX 2.0.0 is the culmination of two and half years of hard work. This
release begins a new series of 2.0.x which will incrementally improve its
stability as the time passes.

An overview of the new features can be found here:
  http://wiki.lyx.org/LyX/NewInLyX20

You can download LyX 2.0.0 from http://www.lyx.org/Download/ .

We hope you will enjoy the result!

The file RELEASE-NOTES lists some known issues and problems compared
to the current stable releases (LyX 1.6.x). We strongly recommend that
packagers of LyX on various platforms and distributions read this file.

As with any major release, this one comes with lot of new features but
also some bugs. If you think you have found a bug in LyX 2.0.0, either  
email
the LyX developers' mailing list (lyx-devel at lists.lyx.org), or open a  
bug

report at http://www.lyx.org/trac/wiki/BugTrackerHome .

If you have trouble using LyX or have a question, consult the
documentation that comes with LyX (under Help) and the LyX wiki, which  
you
will find at http://wiki.lyx.org/ . You can also send email to the LyX  
users'

list (lyx-users at lists.lyx.org).

The LyX team.
http://www.lyx.org


Re: Spellcheck

2011-04-21 Thread Påvel Nicklasson
Den 2011-04-21 14:15:33 skrev Helena Sandström  
:



Hello,

My name is Helena and I have just started using Lyx. When I install it  
the spell check dictionary for swedish and english is missing. How can I  
get around that problem?


Thank you


Helena


Please consider the environment before printing this e-mail.

The contents of this e-mail message (including any attachments) are  
confidential to and are intended to be conveyed for the use of the  
recipient to whom it is addressed only. If you receive this transmission  
in error, please notify the sender of this immediately and delete the  
message from your system. Any distribution, reproduction or use of this  
message by someone other than recipient is not authorized and may be  
unlawful.



Hej Helena!

Nice with another Swede on the list!

I think it will be easier to help you if you tell us what OS and version  
of LyX you have installed. There are some differences how dictionaries are  
managed.


Påvel


Re: Poll for the default icon theme in LyX 2.0

2011-03-30 Thread Påvel Nicklasson

LibreOffice

It is very nice to be able to change icons!

Påvel



Re: Problem with sidecaptions in multi-lingual documents LyX 2

2011-03-18 Thread Påvel Nicklasson

Hello!

Thank You Julian, your new version of the module seems to fix the problem!
I am typesetting conference proceedings with papers in several different  
languages and the problem with sidecaptions was a stopper for me going to  
LyX2 (even if the module is not an official part of LyX it is a very  
useful addition.).


Best Regards
Påvel


Den 2011-03-18 00:15:21 skrev Julien Rioux :


On 17/03/2011 6:41 PM, Pavel Sanda wrote:

P??vel Nicklasson wrote:

I have encountered a problem when trying to convert some files. In
documents with several languages with the sidecaptions module  
activated do
not work in LyX 2RC1. It is a regression from LyX 1.6 there the  
documents

work.


i guess that sidecaptions module is not converted to lyx 2 format or  
something

like this (we do not provide this module officially iirc).

pavel



I'm not sure why but LyX 2 adds a bunch of lines to the preamble that  
look like this one:


\addto\captionsbritish{\renewcommand{\SCfigurename}{Figure (side  
caption)}}


In short, it's trying to redefine the macro \SCfigurename, but this  
macro isn't defined in the first place. I fixed it by defining it in the  
module, with the line


\let\SCfigurename\figurename

Please give it a try.

http://www.physics.utoronto.ca/~jrioux/resources/lyx/#custom


Re: Justify captions in figure floats

2011-02-05 Thread Påvel Nicklasson

The box is a good solution, Thank You!
I came up with a similar, but perhaps not as good solution: activate the  
captions package in the preamble and give an ERT command just before the  
caption: \captionsetup{margin=xcm,xcm} where x is the distance from the  
text margin, left and right. I have to experiment here too. The box  
solution is perhaps better, since it combines image and caption.


Den 2011-02-05 18:40:16 skrev Julien Rioux :


On 05/02/2011 5:09 AM, Påvel Nicklasson wrote:

Is it posible to justify the width of some captions in a book project to
the width of the figure?
The book has two columns. All figures are placed inside floats. Some
figures are wide and span columns, but do not entirely fill the text
width. With the standard settings captions fill the text width, even if
the figure doesn’t. I think it would look better in these cases if the
caption had the same width as the figure.

I have looked on the Floatrow package but is seemed very complicated. If
it is possible to achieve some examples would be appreciated!



Put the image and caption inside a box. Specify a width for the box (you  
will have to experiment to get it right). Leave the box in a float, of  
course.


Justify captions in figure floats

2011-02-05 Thread Påvel Nicklasson
Is it posible to justify the width of some captions in a book project to  
the width of the figure?
The book has two columns. All figures are placed inside floats. Some  
figures are wide and span columns, but do not entirely fill the text  
width. With the standard settings captions fill the text width, even if  
the figure doesn’t. I think it would look better in these cases if the  
caption had the same width as the figure.


I have looked on the Floatrow package but is seemed very complicated. If  
it is possible to achieve some examples would be appreciated!


Re: Sidecaps module in LyX 2

2010-12-25 Thread Påvel Nicklasson

Den 2010-12-25 15:56:33 skrev Liviu Andronic :


2010/12/25 Påvel Nicklasson :
I am testing out some documents made in LyX 1.6.8 in LyX2 beta2 on Win  
7 in

which I use the module Sidecaps.
When I compile the documents to DVI or PDF in LyX2 i get this error  
message:


LaTeX error /SCfigurename undefined

The documents work OK in LyX 1.6.8. Is this a bug, or should I change  
some

settings?


Did you copy the Sidecaps module from, presumably, ~/.lyx/layouts to
~/.lyx-svn/layouts, or similar? Then Tools > Reconfigure?

Liviu



Yes I copied the module and reconfigured. I have also the sidecap.sty  
installed in MikTeX.


Sidecaps module in LyX 2

2010-12-25 Thread Påvel Nicklasson
I am testing out some documents made in LyX 1.6.8 in LyX2 beta2 on Win 7  
in which I use the module Sidecaps.
When I compile the documents to DVI or PDF in LyX2 i get this error  
message:


LaTeX error /SCfigurename undefined

The documents work OK in LyX 1.6.8. Is this a bug, or should I change some  
settings?


Re: Very strange behavior in LyX 1.6.7/Ubuntu 10.10/Evince 2.32

2010-11-16 Thread Påvel Nicklasson
I have had my fair share of printing disasters. I have done several book  
sized projects in InDesign and rather recently swithced to LyX. There are  
always things that go wrong in every project. All in all I am amazed over  
how good LyX is and I think I have found the software I have been looking  
for. I guess that a pdf scare now and then is a reasonable price.

Påvel

Den 2010-11-16 19:37:20 skrev Julien Rioux :


On 16/11/2010 1:14 PM, Påvel Nicklasson wrote:

I have never seen so strange pdf:s.


You would be surprised what sort of things can go wrong when printing.  
In our office we got hit by several bugs including the "shifted by one  
character point" bug and the "mirror image". Of course these will happen  
when you have something urgent to print!


http://routingbyrumor.wordpress.com/2007/12/30/my-adobe-acrobat-pdf-files-are-printing-garbage-text-sometimes/


Re: Very strange behavior in LyX 1.6.7/Ubuntu 10.10/Evince 2.32

2010-11-16 Thread Påvel Nicklasson
In one way it's good to hear that others have the same problem as I. Late  
last night while working on my book I thought I was going crazy. I have  
never seen so strange pdf:s. I also have an updated Ubuntu 10.10  
installation.
I guess this basically means that my LyX files are OK and I could continue  
work on the project. I also suppose that the final pdf output should be  
done in another program than Evince just to be on the safe side.

Regards
Påvel


Den 2010-11-16 15:29:30 skrev Jean-Marc Lasgouttes :


Le 16/11/2010 15:07, Julien Rioux a écrit :

On 16/11/2010 8:53 AM, Jean-Marc Lasgouttes wrote:

I think this is fixed in a recent (2 days?) ubuntu evince update.


Doesn't seem so. I'm up to date on the updates.
Evince version: 2.32.0-0ubuntu1


Sorry, it was on another package actually (don't remember which one, but  
the log mentioned the evince problem explicitly). It might have

been on maverick-proposed, in fact.

JMarc


Re: Several references with pagenumbers

2010-09-26 Thread Påvel Nicklasson

Thank You!
Such a simple trick! I can't understand how I overlooked it. I have spent  
hours reading manuals and searching the Net...

It takes some time to learn all the simple tricks in LyX!
Best Regards
Påvel


Den 2010-09-26 22:25:50 skrev Paul Rubin :


Påvel Nicklasson  bahnhof.se> writes:




As stated by Nicklasson (Nicklasson 2009 p. 23, Nicklasson 2010 p. 244).

In LyX I have:

As stated by Nicklasson (Nicklasson 2009, Nicklasson 2010 p. 244).

It seems impossible to insert a page number for the first reference in  
the

reference field.


Supply the parentheses and comma yourself, and enter the two references  
as

separate citations with page information but without parentheses.

/Paul



Several references with pagenumbers

2010-09-26 Thread Påvel Nicklasson

Hello All!

I hope I don’t ask too many questions...
I have another problem with my references. I want text and references to  
look something like this in the output:


As stated by Nicklasson (Nicklasson 2009 p. 23, Nicklasson 2010 p. 244).

In LyX I have:

As stated by Nicklasson (Nicklasson 2009, Nicklasson 2010 p. 244).

It seems impossible to insert a page number for the first reference in the  
reference field.
I have searched the LyX wiki and the documentation for Natbib, but not  
come up with a solution. Is it possible to do?


I use Natbib, Author-Year setting and sweplanat as style.

Best Regards
Påvel Nicklasson


Re: More problems sorting bibtex/Lyx output

2010-09-22 Thread Påvel Nicklasson

Hello and Thank you for your replies!
I have tested the solutions. I use a Swedish style, sweplnat, that  
(generally) works well. When I try Günther's solution, Shött disappears  
from the Bibliography. It may be that I am not enough familiar with LyX  
and make some basic mistake.
I have looked into Wolfgang's solution, but I must do some checking up on  
how to install/run Biblatex and Biber first.
I will do more tests and perhaps drop Zotero/LyZ and test JabRef. I also  
think I must learn more LyX. It is truly a fantastic program, but is  
sometimes a bit strange for a newcomer!

Thank you very much!
Hej!
Påvel

Den 2010-09-22 09:12:17 skrev Guenter Milde :


On 2010-09-21, Påvel Nicklasson wrote:

Hello again!
I asked earlier about how to handle Swedish letters in lyx/bibtex:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg82909.html. The
solution works fine. Now I have run into a similar problem. I have  
several
authors with different non English characters in their names. How do I  
get

them sorted in correct order in the Lyx bibliography? An example is:



1. Author: Schött
2. Author: Schück



In Sweden ö is the last character in the alphabet and Schött should thus
be sorted after Schück. The output file in Lyx does it the other way
around, like above.
Schött is written: {Harald Sch{"o}tt} in the .bib file
Schück is written: {Henrik Sch{\"{u}}ck} in the .bib file



I have several similar cases. Swedish seems to be a hard language to use
with bibtex.


Indeed. You could try if there is a "swedish ..." style that solves
this for you, or you can help bibtex, e.g. with the suggestion from
btxdoc.pdf:

  in the database (*.bib) file:
 @PREAMBLE{ "\newcommand{\noopsort}[1]{} "
 # "\newcommand{\singleletter}[1]{#1} " }

  author = {{\noopsort{Harald Sch~tt}}Harald Sch{\"o}tt}
  . . .
  author = {Henrik Sch{\"u}ck}

LaTeX will then ignore the \noopsort, but BibTeX will use it for
sorting.

Hej,

Günter


More problems sorting bibtex/Lyx output

2010-09-21 Thread Påvel Nicklasson

Hello again!
I asked earlier about how to handle Swedish letters in lyx/bibtex:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg82909.html. The
solution works fine. Now I have run into a similar problem. I have several
authors with different non English characters in their names. How do I get
them sorted in correct order in the Lyx bibliography? An example is:

1. Author: Schött
2. Author: Schück

In Sweden ö is the last character in the alphabet and Schött should thus
be sorted after Schück. The output file in Lyx does it the other way
around, like above.
Schött is written: {Harald Sch{"o}tt} in the .bib file
Schück is written: {Henrik Sch{\"{u}}ck} in the .bib file

I have several similar cases. Swedish seems to be a hard language to use
with bibtex.
Sorry to bother with Swedish newbie problems!
Best Regards
Påvel Nicklasson


Re: Strange bibliographic error

2010-09-19 Thread Påvel Nicklasson

Den 2010-09-19 16:52:40 skrev Paul A. Rubin :


On 9/19/2010 5:01 AM, Påvel Nicklasson wrote:

Den 2010-09-19 10:48:08 skrev Påvel Nicklasson
:


Hello all!
I am new to Lyx and I want to use it to typeset an academic book.
When I insert a certain book as citation it gets wrongly sorted in the
bibliography. All other titles are sorted on the last namn of the
autor: Doe, John. This particular entry is sorted as: John Doe and
placed out of alphabetical order. I have tested several different
bibliographical styles and imported to and from the Bibtex file
several times but this particular entry is still differently sorted
than every other entry.

Some entries from the pdf-file:

Ortman, Oscar. Se dösen och dö sen gentagelser av
Åke Fredsjö och västsvenskt mesolitikum. GOTARC
Series B Gothenburg Archaeological Theses. Gö-
teborg, 2008.

Åsa Gillberg. En plats i historien: Nils Niklassons liv
och arbete. Nummer 18 i GOTARC. Arkeologiska institutionen Göteborgs
universitet, Göteborg,
2001.

Rydh, Hanna. Oscar Montelius En vägrödjare genom
årtusenden. Åhlén & Söners förlag, Stockholm,
1937.


The incorrect entry is the second. It is sorted on the authours first
name and not placed in any alphabetical order at all.

I use Zotero+Lyz to export to a Bibtex file. I have deleted and
entered the post in Zotero and re-exported it several times, but the
error remains. I have tried to check the bibtex file and the entry
seems to be entered in the same way as everything else.
I do not think the error is due to the fact I write in Swedish. Other
entries with special Swedish characters are sorted correctly
What am I doing wrong?

Best Regards
Pavel


Sorry, there was an error in my first message. The incorrect entry is
the second one from the pdf-list, not the last!



I do not know whether the circumflex on the first character impacts the  
sort order, but the absence of a comma suggests that BibTeX is reading  
the author entry as a single name, rather than first name-last name.  It  
might help if you posted the Gillberg entry from the .bib file.


/Paul


You are correct, Paul!
I had to enter extra { } around the Swedish Å, then the entry sorted OK.
I guess this is the kind of strange problems you encounter as newbie in  
Lyx and Bibtex!

Thanks for the help!
Påvel


Re: Strange bibliographic error

2010-09-19 Thread Påvel Nicklasson
Den 2010-09-19 10:48:08 skrev Påvel Nicklasson  
:



Hello all!
I am new to Lyx and I want to use it to typeset an academic book.
When I insert a certain book as citation it gets wrongly sorted in the  
bibliography. All other titles are sorted on the last namn of the autor:  
Doe, John. This particular entry is sorted as: John Doe and placed out  
of alphabetical order. I have tested several different bibliographical  
styles and imported to and from the Bibtex file several times but this  
particular entry is still differently sorted than every other entry.


Some entries from the pdf-file:

Ortman, Oscar. Se dösen och dö sen gentagelser av
Åke Fredsjö och västsvenskt mesolitikum. GOTARC
Series B Gothenburg Archaeological Theses. Gö-
teborg, 2008.

Åsa Gillberg. En plats i historien: Nils Niklassons liv
och arbete. Nummer 18 i GOTARC. Arkeologiska institutionen Göteborgs  
universitet, Göteborg,

2001.

Rydh, Hanna. Oscar Montelius En vägrödjare genom
årtusenden. Åhlén & Söners förlag, Stockholm,
1937.


The incorrect entry is the second. It is sorted on the authours first  
name and not placed in any alphabetical order at all.


I use Zotero+Lyz to export to a Bibtex file. I have deleted and entered  
the post in Zotero and re-exported it several times, but the error  
remains. I have tried to check the bibtex file and the entry seems to be  
entered in the same way as everything else.
I do not think the error is due to the fact I write in Swedish. Other  
entries with special Swedish characters are sorted correctly

What am I doing wrong?

Best Regards
Pavel


Sorry, there was an error in my first message. The incorrect entry is the  
second one from the pdf-list, not the last!


Strange bibliographic error

2010-09-19 Thread Påvel Nicklasson

Hello all!
I am new to Lyx and I want to use it to typeset an academic book.
When I insert a certain book as citation it gets wrongly sorted in the  
bibliography. All other titles are sorted on the last namn of the autor:  
Doe, John. This particular entry is sorted as: John Doe and placed out of  
alphabetical order. I have tested several different bibliographical styles  
and imported to and from the Bibtex file several times but this particular  
entry is still differently sorted than every other entry.


Some entries from the pdf-file:

Ortman, Oscar. Se dösen och dö sen gentagelser av
Åke Fredsjö och västsvenskt mesolitikum. GOTARC
Series B Gothenburg Archaeological Theses. Gö-
teborg, 2008.

Åsa Gillberg. En plats i historien: Nils Niklassons liv
och arbete. Nummer 18 i GOTARC. Arkeologiska institutionen Göteborgs  
universitet, Göteborg,

2001.

Rydh, Hanna. Oscar Montelius En vägrödjare genom
årtusenden. Åhlén & Söners förlag, Stockholm,
1937.


The incorrect entry is the last. It is sorted on the authours first name  
and not placed in any alphabetical order at all.


I use Zotero+Lyz to export to a Bibtex file. I have deleted and entered  
the post in Zotero and re-exported it several times, but the error  
remains. I have tried to check the bibtex file and the entry seems to be  
entered in the same way as everything else.
I do not think the error is due to the fact I write in Swedish. Other  
entries with special Swedish characters are sorted correctly

What am I doing wrong?

Best Regards
Pavel