Re: LyX 1.6.4.1 and Snow Leopard

2009-09-22 Thread Christian Liesen
>
> I hope you're not holding your breath. We really don't have any LyX
> developers on Mac, and we'd welcome anyone with expertise who could
> help out here. (I'm able to package up the binaries, but that's far
> from being a developer.)
>

What exactly would a LyX developer on Mac need to know? I'm just curious.

-- Christian


[SOLVED] Conversion error message -- no PDF output

2009-09-21 Thread Christian Liesen
Hi,
following Richard's hint -- LaTeX export and then manually running latex --
I was able to see that all links to embedded objects were incomplete. No
idea what caused this, though ...

After a bit of experimenting, I moved my LyX file to the LyX working
directory, along with all source files for embedded objects (PDF, PNG and so
on), double checked they were properly linked and voila, the PDF output was
produced.

I'm still puzzled as to why a working LyX document would all of a sudden
refuse to compile. It was compiling alright three days ago, I only corrected
some typos, and now all the object links were broken. Weird.

Thanks, rh,
-- Christian



###

Hi,

I have a LyX document that compiled just fine three days ago (pdflatex), but
now I keep getting an error message with the description:

basic_filebuf::_M_convert_to_external conversion error

and no PDF output is produced. Only minor changes have been made since the
last printing. I can not locate the problem. I deleted bits of my document,
but no matter how much I remove, I keep getting the same error message. Any
ideas what else I could try?

I'm on LyX 1.6.4.1 on Mac OS X 10.5.8.

Many thanks,
-- Christian


>
>
Does LaTeX export work? I'm guessing maybe not. And if not, it's a LyX
problem, somewhere. If so, then try running latex manually on the
exported file.

rh


Conversion error message -- no PDF output

2009-09-21 Thread Christian Liesen
Hi,

I have a LyX document that compiled just fine three days ago (pdflatex), but
now I keep getting an error message with the description:

basic_filebuf::_M_convert_to_external conversion error
and no PDF output is produced. Only minor changes have been made since the
last printing. I can not locate the problem. I deleted bits of my document,
but no matter how much I remove, I keep getting the same error message. Any
ideas what else I could try?

I'm on LyX 1.6.4.1 on Mac OS X 10.5.8.

Many thanks,
-- Christian


Re: How to install new packages to Lyx?

2009-08-31 Thread Christian Liesen
Hi,

>
> sorry for insisting but i tried searching with google how to enter these
> characters and i came accross hep package again..i don't
> understand..


You will need to install the hep package just as you would with any
additional TeX package on your system, i.e. by downloading it from CTAN,
processing it with latex and putting the results in your texmf-folder. See
http://www.inf.ed.ac.uk/systems/tex/new-packages.html and also
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages for
instructions. It may look intimidating at first, but it's really not that
hard.

Once installed, you need to reconfigure LyX and restart it -- otherwise LyX
will not know that there's a new package around.

You can then call the package in your document's preamble with
\usepackage{hep} or whatever's its name. Then, and only then, you can make
use of ERT to produce the characters you want.


> what is ERT?what exactly do i have to type in math mode in
> order to get the slashed characters??
>

ERT is explained in the LyX wiki (and many other very useful things are as
well), see http://wiki.lyx.org/FAQ/ERT. The basic idea is that you can enter
raw LaTeX-code anywhere in your document, an option that does come in handy
from time to time.

For example, your hep package may allow for something like, say, \coolsymbol
as a raw LaTeX-command in order to produce, well -- some cool symbol in the
PDF output. Simply enter \coolsymbol in ERT in your LyX document where you
want it (as explained by Nikos a couple minutes ago) to get the same result.

Hope this helps,
-- Christian


Re: Formatting all hyperlinks with a TT-font

2009-08-31 Thread Christian Liesen

Works like a charm, many thanks!


Am 31.08.2009 um 15:36 schrieb Uwe Stöhr:


Christian Liesen schrieb:

I would like to make all hyperlinks in my report more  
distinguishable by formatting them in a typewriter font  
(\ttfamily). How do I do that?


See the attached LyX file. Look in its preamble to see how this is  
done this.


regards Uwe





Formatting all hyperlinks with a TT-font

2009-08-31 Thread Christian Liesen

Hi LyX users,

I would like to make all hyperlinks in my report more distinguishable  
by formatting them in a typewriter font (\ttfamily). How do I do that?  
I could't find anything about it in the hyperref-documentation, the  
wiki or this list's archives.


I'm on LyX 1.6.3 for Mac OS X. My document uses the report (KOMA- 
script) class and my preamble reads as follows:


\usepackage{microtype}
\usepackage{ellipsis}
\usepackage{fixltx2e}

\usepackage[pdftex]{hyperref}
\hypersetup{%
a4paper,
colorlinks=true,
citecolor=black,
urlcolor=cyan,
pdftitle={foo},
pdfauthor={foo},
pdfkeywords={foo},
pdfcreator={LyX 1.6.3 with pdfTeX},
pdfdisplaydoctitle=true
}


I would appreciate any help on how to accomplish this.

-- Christian



Re: Sure Fire Way to Create Lyx Layouts

2009-03-13 Thread Christian Liesen
Cool, comes in very handy. Many thanks for sharing this.

-- Christian


Am 11.03.2009 um 11:09 schrieb Steve Litt:

Hi all,

I just created a new web page called "Steve Litt's Sure Fire,
No Fail Way to Create Lyx Layouts". Most people won't need it, but some
people
(like me) have trouble getting layout files to work right away. This
document
gives a standard way to get your layout file recognized instantly by LyX.

http://www.troubleshooters.com/linux/lyx/surefire_layout.htm

Have fun with it.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US


Re: Sure Fire Way to Create Lyx Layouts

2009-03-12 Thread Christian Liesen

Cool, comes in very useful. Many thanks for sharing this.

-- Christian


Am 11.03.2009 um 11:09 schrieb Steve Litt:


Hi all,

I just created a new web page called "Steve Litt's Sure Fire,
No Fail Way to Create Lyx Layouts". Most people won't need it, but  
some people
(like me) have trouble getting layout files to work right away. This  
document
gives a standard way to get your layout file recognized instantly by  
LyX.


http://www.troubleshooters.com/linux/lyx/surefire_layout.htm

Have fun with it.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US





Re: Problems on a Mac

2009-03-01 Thread Christian Liesen
-- Sorry, this message did not appear on the LyX user's list after I  
sent it yesterday, don't know why. Resending it now. --


Hi,

did you check the Path Prefix in LyX --> Preferences? On my MacBook  
Pro with OS X 10.5.6 I once had a problem with an old prefix that did  
not correctly specify the paths to TeX Live 2008 in my /usr folder.


FYI, my path prefix entry reads:

/usr/texbin:/usr/local/texlive/2008/bin/universal-darwin:/sw/bin:/sw/ 
sbin:/opt/local/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/ 
sbin


Your student can check her TeX installation paths by choosing Finder -- 
> Go to --> Go to Folder --> /usr.


-- Christian



Am 01.03.2009 um 16:01 schrieb Guido Milanese:


Dear Experts,
I am not a real LyX User (I prefer LaTeX) but I always suggest LyX to
my students and to everyone wishing to leave the Word-like approach
to writing.
Most of my students use Windows, and it's all right, some Linux, even
better, but a PhD student using a Mac apparently cannot reconfigure
LyX. The LaTeX installation is all right: it produces PDF and DVI
with no problems at all.
Using LyX, even a very simple file, this student cannot produce PDF or
DVI. Checking the configuration boxes it seems to me to be all right;
I made a comparison with LyX on my Ubuntu installation and I cannot
detect any problem, but non even the PDF and DVI icons are shown
(through menu we get an error message saying that there is no
converter). The students is using a Mac Book Air equipped with Mac OS
X version 10.5.6; Lyx version is 1.6.1-Universal. Removing the
programme and installing again was not successful.

Many thanks!
gm

--
Guido Milanese - Professor of Latin Language and Literature
The Catholic University, Milan and Brescia, Italy
http://docenti.unicatt.it/milanese_guido
http://www.arsantiqua.org




Re: Problems on a Mac

2009-03-01 Thread Christian Liesen

Hi,

did you check the Path Prefix in LyX --> Preferences? On my MacBook  
Pro with OS X 10.5.6 I once had a problem with an old prefix that did  
not correctly specify the paths to TeX Live 2008 in my /usr folder.


FYI, my path prefix entry reads:

/usr/texbin:/usr/local/texlive/2008/bin/universal-darwin:/sw/bin:/sw/ 
sbin:/opt/local/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/ 
sbin


Your student can check her TeX installation paths by choosing Finder -- 
> Go to --> Go to Folder --> /usr.


-- Christian



Am 01.03.2009 um 16:01 schrieb Guido Milanese:


Dear Experts,
I am not a real LyX User (I prefer LaTeX) but I always suggest LyX to
my students and to everyone wishing to leave the Word-like approach
to writing.
Most of my students use Windows, and it's all right, some Linux, even
better, but a PhD student using a Mac apparently cannot reconfigure
LyX. The LaTeX installation is all right: it produces PDF and DVI
with no problems at all.
Using LyX, even a very simple file, this student cannot produce PDF or
DVI. Checking the configuration boxes it seems to me to be all right;
I made a comparison with LyX on my Ubuntu installation and I cannot
detect any problem, but non even the PDF and DVI icons are shown
(through menu we get an error message saying that there is no
converter). The students is using a Mac Book Air equipped with Mac OS
X version 10.5.6; Lyx version is 1.6.1-Universal. Removing the
programme and installing again was not successful.

Many thanks!
gm

--
Guido Milanese - Professor of Latin Language and Literature
The Catholic University, Milan and Brescia, Italy
http://docenti.unicatt.it/milanese_guido
http://www.arsantiqua.org




Re: Lyx and R some help appreciated : not Sweave

2009-02-27 Thread Christian Liesen

Graham,

thanks for your reply. I have to admit that I was first sceptical  
about Sweave, too. But it really works fine.


Considerung your problem -- if it isn't solved yet --, have you tried  
to put the R verbatim text into a minipage? You would do Insert -->  
Box (Minipage) and paste your code there. Might be worth a shot.


Best,
Christian


Am 27.02.2009 um 19:36 schrieb Graham Smith:


Christian,

Thanks for the reply.

At the moment I don't really have any method of working with Lyx and  
R.

It just so happens that I have a half written document that I want to
move to Lyx.

I have briefly looked at Sweave in the past and have completely failed
to grasp the concept, so left it as something to come back to later,
which I intend doing

The reason for saying I wasn't interested in Sweave at the moment was
because the document I am working with and all the R code is already  
in

Word.

I shall have a look at the links you have sent and see if it makes  
more

sense to me than it did before.

Graham


Christian Liesen wrote:
> Hi,
>
> I use LyX and R with Sweave and it works fine.
>
> If I get you correctly what you do is produce some output in R, then
> copy it from Word to LyX and convert it to verbatim? So the question
> then would really be how to prevent verbatim text from running of  
the

> page / aligning it.
>
> IMHO, your best option would be to use Sweave. If you're a
> Windows-User, there are excellent instructions provided by Murat
> Yildizoglu at
> http://yildizoglu.blogspot.com/2009/02/lyx-and-sweave-under-windows-xp.htmlIf
> you're on a Mac, the hardest part is to find the directory with
> sweave.sty and copy it to your ~/Library/texmf/tex/latex Folder, add
> some layout files to your Application Support/LyX-xx and then run
> texhash, reconfigure and you should be good to go. This stuff is
> around, as is explained in e.g.
> http://www.r-project.org/doc/Rnews/Rnews_2008-1.pdf, but I think  
I'll

> put it on the wiki.
>
> Okay, okay, you said you're not interested in Sweave at the moment.
> But who knows.
>
> -- Christian
>
>
> Am 27.02.2009 um 16:18 schrieb Graham Smith:
>
>> I am trying to put together some instructions/handouts for R using
>> Lyx 1.6.1, and the output from R is giving some grief.
>>
>> The two key issues are:
>>
>> 1. output running off the right hand edge of the page e.g a list of
>> values for a variable
>> 2. Alignment of output so column headings are aligned with the  
column

>> of values
>>
>> With Word , this can be done with tabs and a hard return.
>>
>> I thought that by highlighting the output in Lyx and then turning  
it
>> into verbatim text by clicking on the TEX icon, I could then  
manually

>> align and break lines of text. But I can't.
>>
>> Do I need to use Latex commands in the TEX box I have just created
>> (which seems fair enough, I just need to find out what they are) or
>> is there a better way of doing this.
>>
>> I don't really want to go down the road of trying to learn Sweave  
at

>> the moment, and indeed at the moment all the R output has been
>> imported from Word.
>>
>> Can anyone give some pointers on best practice for this, or point  
me

>> towards an FAQ.
>>
>> Many thanks,
>>
>> Graham
>>
>> --
>> Graham M Smith
>>
>>
>>
>

--
Graham M Smith
graham.sm...@myotis.co.uk

Station Cottage, Station Road
Binegar, Somerset
BA3 4UQ







Re: Again on interrupted lists

2008-11-30 Thread Christian Liesen

Maybe you will also find the following link helpful: 
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=interruptlist

As Günter said, enumlist is clearly to be recommended for interrupted  
list.


-- Christian



Am 30.11.2008 um 22:34 schrieb Guenter Milde:


On 2008-11-30, stefano franchi wrote:

I am trying really hard to understand how to produce interrupted  
multi-level

lists in LyX/LaTeX,

...
Every once in a while I need to insert text between the steps to  
make a
more general point before resuming the argument. For clarity, I  
need to
have the steps labeled with decimal numbering (i.e.. 1. 1.1, 1.2,  
etc.)



Here is what I tried:



1. using the paralist package



2. Using the mdwlist package


I recommend the enumitem package (if you are using LyX 1.6, you can  
use

the attached enumitem module.

No need to explicitely \interrupt an enumeration. It just takes of the
last one *of the corresponding level* with the [resume] optional  
argument

(or with the Enumerate-Resume Style provided by the module).

Günter

enumitem.module:


#\DeclareLyXModule[enumitem.sty]{Customisable Lists (enumitem)}
#DescriptionBegin
# Control the layout of enumerate, itemize and description
# with an optional argument.
# See http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf
#DescriptionEnd
# Author: Günter Milde <[EMAIL PROTECTED]>

Format 11

# The package enumitem provides user control over the layout of the  
three
# basic list environments: enumerate, itemize and description. It  
supersedes
# both enumerate and mdwlist (providing well-structured replacements  
for all
# their funtionality), and in addition provides functions to compute  
the
# layout of labels, and to ‘clone’ the standard environments, to  
create new

# environments with counters of their own.
#
# - fancy labels and fancy refs,
# - leftmargin, labelsep and labelwidth automatically set,
# - changes applied globally or only in one of the three
#   types or even in a single list (including topsep) by
#   means of a sort of "inheritance",
# - several description styles (which fix some bad
#   spacing, too),
# - starting value and counter resuming,
# - trivlists properly formatted,
# - control on page breaking
#
# Styling the basic lists is possible
#
# a) generally in the LaTeX preamble and
# b) per environment with optional arguments
#
# See enumitem.pdf_ for details and examples.

AddToPreamble
\usepackage{enumitem}
EndPreamble

# ensure the stdlist layouts are present (unmodified)
# (as e.g. the KOMA script classes obsolete lyx-list with labeling)
# TODO: is this secure?

Input stdlists.inc

# Customizable Basic Lists
# 

# With enumitem, the three standard list environments take an optional
# argument. See enumitem.pdf_ for possible values.

Style Itemize
OptionalArgs  1
End

Style Enumerate
OptionalArgs  1
End

Style Description
OptionalArgs  1
End

# List Variants
# -
#
# Styles with pre-defined optional arguments for ease of use

Style Enumerate-Resume
   CopyStyle Enumerate
LatexParam[resume]
#   LatexParam[resume*] # reuse optional arguments
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# (the numbering differs in the output)
LabelFont
  Color   blue
EndFont

End

# Add compact lists here...

# References
# --
#
# .. _enumitem.pdf:
#http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf






Re: Edit Header on 1 page of a Koma book

2008-11-29 Thread Christian Liesen
\cleardoublepage in ERT should do the trick. If not, did you try  
\clearpage{\pagestyle{empty} \cleardoublepage}?


-- Christian


Am 29.11.2008 um 00:52 schrieb Jonathan Kroner:


How can I change a single page's header?

The last page of a chapter is an odd numbered (right) page.
The next page (even number, left) includes a page number and chapter  
title
as a header above the otherwise blank page. The following page is  
the first

page of a new chapter.
How to delete either the chapter title, or the chapter title and the  
page

number from a chapter's  last even-numbered page when it is blank.
I tried various erts from the Koma manual, but nothing happened.

Thank you.

Jonathan Kroner

The document is under Lyx 1.6.0rc3, Koma Book class and miktex  
(windows)

with options:
"intoc,refpage,bibtotoc,idxtotoc,BCOR7mm, scrpage, appendixprefix,
chapterprefix, smallheadings"

The latex preamble includes:
% define page head line

\usepackage{scrpage2}

\pagestyle{scrheadings}

\lehead{\pagemark}

\rehead{\leftmark}

\rohead{\pagemark}

\lohead{\rightmark}

\ifoot{}

\cfoot{}

\ofoot{}

% don't number chapter pages

\renewcommand*{\chapterpagestyle}{empty}




Re: Single Author, Single Year, Multiple Articles

2008-11-23 Thread Christian Liesen

Hi Norbert,

I see. What style are you using? And in the LyX: Citation dialogue,  
can you select a citation style (in the Formatting section)? If not,  
make sure to select Document --> Settings --> Bibliography --> Natbib  
with Natbib style "Author-year".


Best,
-- Christian



Am 24.11.2008 um 00:09 schrieb npierre:


Hi Christian,
  Thank you for responding. I have several authors with multiple  
papers in the same year and I cite each of them. Thanks.


Norbert Pierre  



Hi All,
  I have an author, Wei, who wrote two articles in 2000. In the
citation dialog, the bibtex keys show up as Wei2000a and Wei2000b.  
When
I insert one or the other into the text, it prints as "Wei (2000)."  
How
can I get Lyx to add an "a" or "b" to distinguish between the  
articles,

e.g. "Wei (2000b)"? Thanks.

  Norbert Pierre






Re: Single Author, Single Year, Multiple Articles

2008-11-23 Thread Christian Liesen

Hi,

could you briefly explain why you would want the citation to show up  
as a/b although you seem to include only a single reference in your  
text? After all, a unique letter would be required only if you had two  
or more citations in your article that would otherwise look the same  
when using the author-date style.


In other words, a cite-key is one thing, a formatted citation is  
something else.


Cheers,
Christian


Am 23.11.2008 um 20:30 schrieb npierre:


Hi All,
  I have an author, Wei, who wrote two articles in 2000. In the  
citation dialog, the bibtex keys show up as Wei2000a and Wei2000b.  
When I insert one or the other into the text, it prints as "Wei  
(2000)." How can I get Lyx to add an "a" or "b" to distinguish  
between the articles, e.g. "Wei (2000b)"? Thanks.


  Norbert Pierre





Re: How to change pdf viewer?

2008-10-21 Thread Christian Liesen


Thanks, it works finally. But for someone else who also might want  
to change the pdf viewer I add: it it not sufficient to give in the  
path to the application package but to the application EXECutable  
itself, at least on Mac-OSX, in my case:


/Applications/Skim.app/Contents/MacOS/Skim



Not true. I'm on Mac OS X and have been using "open -a skim" all along  
without problems and through several versions of LyX. It is not  
necessary to call the app's contents.


Cheers,
-- Christian


Re: scaling a "longtable"

2008-06-14 Thread Christian Liesen

Hi,

would it be possible for you to provide an example file? I'm not sure  
what it is you're trying to do with the longtable.


Cheers,
-- Christian




Am 13.06.2008 um 09:20 schrieb Stefan Buchholz:



Hi Guys,
i tried to scale a normal table, and that worked quiet well.
i tried also to scale a long table for my enclosure, which i need  
cause the

table needs to break every couple rows.
But it doesn´t work and a dialog shows up where it says:
Missing \endgroup inserted. (3 times)
and Missing } inserted
also it says Undefined control sequence.
i don´t know what the mistake causes, cause i made the longtable  
wiki-like.

i use lyx 1.5.3 under windows.

Is there anybody who can solve my problem?
--
View this message in context: 
http://www.nabble.com/scaling-a-%22longtable%22-tp17816624p17816624.html
Sent from the LyX - Users mailing list archive at Nabble.com.





Re: watching dvi/pdf under Mac

2008-02-14 Thread Christian Liesen

Hi,


Just another stupid question: how do I call it
from LyX? I tried to change the "Viewer" field in Preferences/File
Formats/pdflatex to "skim" but that doesn't seem to work. Do I need  
to add

any command options?


that is by no means a stupid question, and besides, you're almost  
there: Go to Preferences --> File Formats --> PDF (pdflatex) and enter  
"open -a skim" in the Viewer field (you may replace "skim" with  
whatever application you want to open PDFs with).


You can also do that for, say, DVI, because as you correctly observed:


I just found that Skim itself opens dvi's.


Cheers,
Christian



Re: No Page number on the pages with the titel of a new \part (report KOMA-Script)

2007-12-21 Thread Christian Liesen

Hi,

yes there is: The KOMA-script specific command is

\renewcommand*{\partpagestyle}{empty}

Hope this helps,
-- Christian



Am 21.12.2007 um 19:16 schrieb Tobias Krause:


Hi,

in a document using report (KOMA-Script) I'd like to delete the page  
numbers on the page containing the titel of a new \part.
I tried \thispagestyle{empty} but unfortunately this causes LaTeX  
too loop - the weird thing about is: \part* works:


\part*{Titel\thispagestyle{empty}} (LaTeX preview) works
\part{Titel\thispagestyle{empty}} loops

If I don't put \thispagestyle{empty} in the same line in LyX nothing  
happens at all...


This there any way to get it working?

I'm using LyX 1.5.3, MikTeX 2.6 (with all current updates)

Regards
Toby




Re: Help with bulleted items with in list

2007-10-27 Thread Christian Liesen

Hi,

you need to nest the bulleted list into the LyX List. The M-Return won't 
work, because LyX will then of course change the entire paragraph to 
itemise -- just as you experienced.


Instead, make the sentences that you want to appear bulleted an itemised 
list as usual, then click the "Increase depth" icon or choose Edit --> 
Increase List Depth. That will do the trick.


Attached is your file with this change applied to your first unit of 
sentences.


Hope this helps,
-- Christian



Adrian Peter wrote:

Hi,

I am trying to create a bulleted list within a regular list 
environment.  Every time I try this, my entire list is turned into a 
bulleted rather than just the sentences I want.  I attached an example 
lyx file and indicated in there the sentences I would like bulleted.  
Thank you in advance for your help.


Adrian

_
Get a FREE Web site and more from Microsoft Office Live Small 
Business!  http://clk.atdmt.com/MRT/go/aub0930004958mrt/direct/01/




listTest-1.lyx
Description: application/lyx


Re: New docs on making your own list

2007-10-12 Thread Christian Liesen

Steve Litt wrote:
I just wrote a document on making your own lists in LaTeX. Here 
it is:


http://www.troubleshooters.com/linux/lyx/ownlists.htm
  

Many thanks for sharing this!

-- Christian


Re: Natbib numerical citations with links in PDF

2007-10-11 Thread Christian Liesen

Indeed,

It's enough to put "\usepackage{hyperref}" in the preamble.

and if you wish to add color, for example:

\usepackage{hyperref}
\hypersetup{colorlinks=true,citecolor=blue}

yields nice results.

I've added something about this to the Wiki: 
http://wiki.lyx.org/BibTeX/Tips#toc6



With many thanks to Richard and Bob,
-- Christian


Natbib numerical citations with links in PDF

2007-10-11 Thread Christian Liesen

Hi,

does anyone know how to make citations appear as clickable links in the 
pdf output?


I'm using the Natbib numerical style with pdflatex and want something like

... the moon is made of cheese [1] ...

to appear in the body text with the citation [1] being clickable and 
refering to the bibliography entry, say,


[1] Brie 1989: My visit to the moon. Camembert Press.


I tried to find something about this in in the Wiki and this list's 
archives, but to no avail.


Many thanks,
-- Christian




Re: [Announce] LyX 1.5.2 is released

2007-10-08 Thread Christian Liesen

I'd just like to confirm this for an Intel Mac running OS X 10.4.10.

Zooming does not help on my system. I'm switiching back to 1.5.1 for the 
time being.


By the way, could this have anything to do with localisation? My LyX GUI 
is in German all of a sudden ... I liked it better in English :-).


-- Christian




Bennett Helm wrote:

On Oct 8, 2007, at 10:38 AM, Jean-Marc Lasgouttes wrote:


Bennett Helm <[EMAIL PROTECTED]> writes:


I can confirm this. Moreover, increasing the scale to 200% spaces out
the characters; in each case, the character size itself does not
change, only the spacing. This appears to be a somewhat generalized
version of bug 3697 (),
and I've added a note there.


Does restarting LyX help?


You mean changing the Zoom% setting, and then restarting to see if it 
takes effect: yes, that works -- both in normal text and in math 
text/previews, as well as zooming both bigger and smaller.


Bennett





Re: Difference between \parskip and \parsep ?

2007-10-07 Thread Christian Liesen

Hi Steve,
What I've come up with so far is that \parsep operates only within lists, 
while \parskip operates only outside of lists. 
Yes I think that's exactly it. \parskip refers to the spacing between 
paragraphs, \parsep to the spacing in lists.


Cheers,
-- Christian


Re: Verse margin

2007-10-02 Thread Christian Liesen

Two suggestions:

(1) Try to put the verse in a minipage (Box), then center the box or use 
an Hfill before it.


(2) Only if that fails, try something like

\setlength{\unitlength}{1cm}
\begin{picture}(width, height)
\put(x_coord,y_coord){\makebox(x_dim,y_dim)[position]{My verse.}}
\end{picture}

in ERT and replace the measures with useful numbers. "position" refers 
to the text's position in the box and can be l,r,b and so on. For 
example rb will give you text that is aligned with the right and bottom 
side of the makebox.


I'm not sure if that works with \verse, though.

Cheers,
-- Christian



Donn Ingle wrote:

Hello again,
How could I shift the left edge (margin?) of the verse environment
across to the right? I would like to have it further across the page.

I'm not sure what class is the best for setting verse. Memoir seems to
work, but each poem is oddly staggered left and right.

Ideally, I want:
1. Poems and titles (which appear in toc) centered on page, left
aligned to a set margin.
2. The option to center-align some poems (so they are symetrical) -
but still central to poems above and below it.
3. The option to stagger lines (using hspace maybe) for interesting layouts.

Please give me a hand. I am thinking that OpenOffice might be the way
to go, but I don't want that kind of pain!

\d

  


--
____

Christian Liesen

Universität Zürich
Institut für Sonderpädagogik
Sonderforschungsbereich
Hirschengraben 48
8001 Zürich

University of Zurich
Institute for Special Education
Research Unit
Hirschengraben 48
CH-8001 Zurich

Tel +41 44 634 3130
Fax +41 44 634 4941




Re: Section orphans

2007-10-02 Thread Christian Liesen
Yes it should, but I continue to experience problems with widows and 
orphans, too. I think that in many cases manually fine-tuning the 
document is inevitable.


Tweaking the layout is always the very last thing I do to a document 
once the content is settled. Then -- if at all necessary -- I start 
thinking about type area calculation, page margins, club- and 
widowpenalty and the like.


From what I've read about widows and orphans this is not at all LyX's 
fault but something that many TeX and LaTeX users experience. I have to 
admit that I was disappointed when I started using LyX and found widows 
and orphans in my documents.


But I learned how to get rid of them -- preventing most of them to occur 
and wiping out whatever few remained. Try this with a well-known word 
processor and a 300+ pages book and you're in for a lot of alcohol abuse.


So it's unlovely, but it's no drama. :-)

Cheers,
-- Christian



Donn Ingle wrote:

But maybe I did not even get the problem? You say the poem's title is
orphaned, so I suppose there's other text, too. Then why not simply
insert a page break before the poem's title?



I thought of that, and of course it works, but I wanted Lyx to handle
the odd case of orphaned sections automatically. I go back and forth,
editing this and that and after a while pagebreaks become a problem.

It's a solution, but it's not ideal -- and Lyx *should* be handling
sections properly. No?

\d
  





Re: Section orphans

2007-10-02 Thread Christian Liesen
... well yes, LyX handles these commands well. I was wondering if there 
were optional commands to be called with the verse package that could 
solve your problem.


But maybe I did not even get the problem? You say the poem's title is 
orphaned, so I suppose there's other text, too. Then why not simply 
insert a page break before the poem's title?


-- Christian



Donn Ingle wrote:

On 02/10/2007, Christian Liesen <[EMAIL PROTECTED]> wrote:
  

Does \usepackage{verse} have to be called in the preamble?


Don't know. I would think that if it was expected then there would be
an error. I think memoir is refering it somehow.

Why?
\d
  




Re: Section orphans

2007-10-02 Thread Christian Liesen

Does \usepackage{verse} have to be called in the preamble?

-- Christian



Donn Ingle wrote:

Hi,
(I post with trepidation; having searched the wiki -- I promise.)

I am setting poems with this kind of approach (using memoir class.)

---

\poemtitle{Blah}

\settowidth{\versewidth}{xxx xxx xxx xxx xxx xxx }
\begin{verse}[\versewidth] Line 1 \\
Line 2 \\
Line 3 \\
\hspace{2.5em}Line 4 \end{verse}

--

What's happening is that "Blah" (the title) is being orphaned on the
page and I want it to (automatically) break to the next page.

I have this in the preamble:

--

\newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
\flushbottom
\newcommand{\myrule}{\rule{5cm}{.1pt}}
\raggedbottom
\widowpenalty=1
\clubpenalty=1

-

Which (I think) is the big-stick approach to the problem, but it's not working.

Any ideas?

\d

  




Re: Bibtex problem: Question marks instead of citations [RESOLVED]

2007-09-29 Thread Christian Liesen

... well, well ...

I found it. I had several citations with the ampersand '&' in the 
journal's title. Replacing this with '\&' did the trick: My document 
output is fine now.


Silly me.

-- Christian



Christian Liesen wrote:

Hi,

I'm writing a scrreport with LyX 1.5.1 (Mac) and have a problem with 
Bibtex.


I have a lot of citations, and until yesterday evening, everything 
went smoothly. Then all of a sudden LyX started complaining about a 
"Misplaced alignment tab character &". Bibtex stopped formatting any 
citations in the text -- question marks appear instead --, but it does 
still produce the bibliography at the end of the PDF output.


I exported to LateX and checked the file -- no misplaced & (instead of 
\&) anywhere.


I've spend hours now and cannot get it back to work. Does anyone know 
how to debug this?


Many thanks,
-- Christian





Bibtex problem: Question marks instead of citations

2007-09-29 Thread Christian Liesen

Hi,

I'm writing a scrreport with LyX 1.5.1 (Mac) and have a problem with Bibtex.

I have a lot of citations, and until yesterday evening, everything went 
smoothly. Then all of a sudden LyX started complaining about a 
"Misplaced alignment tab character &". Bibtex stopped formatting any 
citations in the text -- question marks appear instead --, but it does 
still produce the bibliography at the end of the PDF output.


I exported to LateX and checked the file -- no misplaced & (instead of 
\&) anywhere.


I've spend hours now and cannot get it back to work. Does anyone know 
how to debug this?


Many thanks,
-- Christian


Re: Center wide float across the page into both margins

2007-09-28 Thread Christian Liesen

Hi,

if the file is inside a float, you can mark the float or the image and 
then choose Edit --> Paragraph Settings to set the alignment to "Centered".


Alternatively, you might consider to put the file in a \resizebox 
similar to the steps described here: 
http://wiki.lyx.org/LyX/Tables#toc17. This will not cut off the margins 
but scale the image or table according to your specifications.


Hope this helps,
-- Christian



Ken wrote:

Hi.  I have a very simple question (I think).  I have coded up some
tables into a LaTeX include file (i.e. results from Matlab have been
formatted into latex tables).

At the moment, the float starts next to the edge of the left margin
and extends through the right margin and off the page.  Is it possible
to have these floats centered in the middle of the page so that their
extra width would be evenly split between the left and right margins?
What would be the LaTeX commands?

Thanks so much!  I have found this message thread so helpful in the
past.  Thanks in advance to anyone who replies.

Best,
Ken

  




aspell umlaut problems after updating to LyX 1.5 (Mac)

2007-09-24 Thread Christian Liesen

Hi,

sorry to ask again, but I'm STILL experiencing weird behaviour of aspell 
after updating from LyX 1.4.4 to 1.5.1 (Intel Mac).


aspell starts working but highlights all kinds of words it should surely
know, like "möglich", "für", "März" or "Ärmel" in German.

All these words contain Umlauts. Maybe aspell's notifications have to do 
with LyX now using UTF-8 encoding?


I tried this:

(1) I installed aspell and all dictionarys again and reconfigured LyX, 
as described in the Wiki (http://wiki.lyx.org/Mac/MacSpelling), but to 
no avail.


(2) I also tried cocoAspell, but the behaviour is the same.

(3) Moreover, I tried to specify several alternative languages in LyX's 
preferences, since I keep getting the error message that "ngerman" can 
not be found. But swiss, deutsch, german, de_CH.multi or whatever all 
yield the same results.


I never had this problem while still on LyX 1.4.4 (where I had specified 
swiss as alternative language).


Does anyone know how to tackle this? I can't find a solution in the
Wiki or this list's archive.

Many thanks,
-- Christian



aspell problems after updating to LyX 1.5 (Mac)

2007-09-15 Thread Christian Liesen

Hi,

I'm experiencing weird behaviour of aspell after updating from LyX 1.4.4 
to 1.5.1 (Intel Mac).


aspell starts working but points out all kinds of words it should surely 
know, like "das", "ein", "an" or "Kaffee" in Swiss German.


I checked my aspell installation and made sure that the path is correct:

/usr/local/lib/aspell-0.60/swiss in the LyX Preferences --> Language 
Settings --> Spellchecker --> Alternative Language field


Spelling in both document and LyX Preferences is set to German (new 
spelling). This setup worked fine before ...


Does anyone know how to tackle this? I couldn't find a solution in the 
Wiki or this list's archive.


Many thanks,
-- Christian


Re: How can I choose the textfont used for LyX output?

2007-09-08 Thread Christian Liesen

Thanks, Paul, I overlooked that.

I still find it quite challenging to get new fonts to work, and from my 
reading I conclude that font selection is an all time favourite support 
issue with LaTeX (sigh) ... but if I'm successful, I'll post something 
about it.


-- Christian



Paul A. Rubin wrote:

Christian Liesen wrote:

Hi,

sorry if this is a silly question, but how can I use fonts other than 
the newcent, bookman, times etc. that are available from Document --> 
Settings --> Text Layout?


I'm on Mac OS X with LyX 1.4.4. I have a scrbook that uses newcent, 
but I'd like to use the Sabon fontface instead. The KOMA User's Guide 
doesn't say anything about changing the textfont, and I couldn't find 
it in the LyX documentations as well (or I've overlooked it).


I use pdflatex to view the file.

Any help would be highly appreciated.

Many thanks,
-- Christian




A good starting point would be http://wiki.lyx.org/FAQ/Unsorted#toc40.

/Paul






How can I choose the textfont used for LyX output?

2007-09-07 Thread Christian Liesen

Hi,

sorry if this is a silly question, but how can I use fonts other than 
the newcent, bookman, times etc. that are available from Document --> 
Settings --> Text Layout?


I'm on Mac OS X with LyX 1.4.4. I have a scrbook that uses newcent, but 
I'd like to use the Sabon fontface instead. The KOMA User's Guide 
doesn't say anything about changing the textfont, and I couldn't find it 
in the LyX documentations as well (or I've overlooked it).


I use pdflatex to view the file.

Any help would be highly appreciated.

Many thanks,
-- Christian



Re: Problem with PDF output with different pdf reader.

2007-06-17 Thread Christian Liesen
For users of Mac OS X 10.4.x, PDFview is a great application for this 
purpose.


It integrates nicely with LaTeX and LyX, and you can easily configure it 
to automatically update the PDF output.


With LyX, this means that
-- you set PDFview with "open -a pdfview" as your viewer in LyX's 
preferences
-- you click the checkbox in PDFview's preferences to automatically 
reload files that are updated on your harddisk

-- and anytime now you choose View --> Update from your LyX document,
-- you simply switch to PDFview, and the changes are right there. No 
reloading, no closing and opening, no pressing keys.


PDFview is available from SourceForge at 
http://pdfview.sourceforge.net/index.html.


-- Christian



Helge Hafting wrote:

On Fri, Jun 15, 2007 at 06:39:55AM -0500, Les Denham wrote:
  

On Friday 15 June 2007 08:36, Helge Hafting wrote:


Acrobat certainly isn't useless, but have some problems:
  
Precisely why I use Acrobat Reader: I don't want to create a PDF which does 
not work properly with the reader most people use.  I performed the necessary 
convolutions to get it to work on my x86_64 Linux machine, and when using it 
to view Lyx output I just close it each time.




Of course one checks a PDF "for general consumption" with acrobat,
no argument there!

This is not an argument for using acrobat as the main pdf viewer though.
Acrobat is something I use perhaps once before publication, to check that 
the document views ok. (It usually does, it is a long time since

I figured out what fonts to use and what not to use.)

But for everyday use, I use xpdf.  I can then tweak layout
efficiently. (Typically float placement - one of the few things 
latex don't do perfectly all the time. And the breaking of URL's
and code listings.) 


xpdf lets me do view->pdf, look up the float on page 37,
make small tweak, update->pdf, switch to xpdf and hit 'r'
and have the new pdf reloaded, still displaying page 37
so I don't have to _find_ it again.
I then repeat this process until that float is ok,
then I move on to the next trouble float and so on.

The tought of doing this work with 
"perform tweak - close acrobat - view->pdf (wait for 
acrobat to start) - move to page 37 - perform tweak - ..."

is depressing. Especially with the delays involved when
starting a 32-bit acrobat on a 64-bit machine.

Of course, not all documents contains lots of large floats,
acrobat might not be so awful then . . .

Helge Hafting

  


--


Christian Liesen

Universität Zürich
Institut für Sonderpädagogik
Sonderforschungsbereich
Hirschengraben 48
8001 Zürich

University of Zurich
Institute for Special Education
Research Unit
Hirschengraben 48
CH-8001 Zurich

Tel +41 44 634 3130
Fax +41 44 634 4941
E-mail [EMAIL PROTECTED]




Re: Problem with PDF output with different pdf reader.

2007-06-15 Thread Christian Liesen



There are other
reasons for staying away from acrobat though.
Really? What reasons? Just asking because I've been using Acrobat's Pro 
versions for some time now without problems.




Re: \Resizebox in a float table

2007-06-06 Thread Christian Liesen
I¨ve updated the sample file here: http://wiki.lyx.org/LyX/Tables#toc17, 
it shows you how it's done.


Regards,
-- Christian


Valter Filipe Silva wrote:

Hello,


To have a \resizebox command in a flot table is necessary to make the 
implement the \begin{table}, the \end{table}, caption, etc in ERT.

It that correct? Or, i'm doing something wrong?
Thanks in advance
Regards

Valter





Re: Help: Table

2007-06-05 Thread Christian Liesen
... ahem ... simply create a table and put the headings in the first 
column? You can then format the column as desired.


Or what specifically are you looking for?

-- Christian



Valter Filipe Silva wrote:

Hello,



How do i make a table that the first collum have the titles instead of 
the first row??

Or, both have titles, ex:

Bits0   1 2 BitRate  5012  
15  20

100  24  30  40
150  36  45  60
200  48  60   80


Thanks in advance
Best regards


Valter





--


Christian Liesen

Universität Zürich
Institut für Sonderpädagogik
Sonderforschungsbereich
Hirschengraben 48
8001 Zürich

University of Zurich
Institute for Special Education
Research Unit
Hirschengraben 48
CH-8001 Zurich

Tel +41 44 634 3130
Fax +41 44 634 4941
E-mail [EMAIL PROTECTED]




Re: Index entries: Wiki

2007-06-04 Thread Christian Liesen

Looks better indeed :-), and I'll note the markup hints, many thanks!


[EMAIL PROTECTED] wrote:

On Sun, 3 Jun 2007, Christian Liesen wrote:


I've updated the part on formatting index entries with LyX on the Wiki:
http://wiki.lyx.org/Tips/Indexing#toc2


Nice!  You seem to know your way around pmwiki markup unusually well!
I made some very minor twaking of the markup to show some alternative 
methods (nothing wrong with what you did, this is just to enocurage 
you further :-)


* No need for [=..=] around a word such as LyX these days

* Added '||border=0 cellspacing=5px' to get more space aroudn the
  table cells

* Used '\' as a continuation character of long lines

* '->' to create an indented paragraph

* '-->' even more indented paragraph

* %preamble%...%% and %menu%...%% (although the menu style doesn't seem
  defined, strange)

* [EMAIL PROTECTED]@] to get monospace and the effect of [=...=]

Best regards
/Christian (R)



--


Christian Liesen

Universität Zürich
Institut für Sonderpädagogik
Sonderforschungsbereich
Hirschengraben 48
8001 Zürich

University of Zurich
Institute for Special Education
Research Unit
Hirschengraben 48
CH-8001 Zurich

Tel +41 44 634 3130
Fax +41 44 634 4941
E-mail [EMAIL PROTECTED]




Handy list: The LaTeX2e Cheat Sheet

2007-06-03 Thread Christian Liesen

Hi,

Winston Chang has published a handy reference sheet on frequently used 
LaTeX commands. It can be found here: 
http://www.stdout.org/~winston/latex/latexsheet.pdf


I've been using it for some time now and happen to like it a lot as a 
supplement when working with LyX ... I thought it couldn't hurt to put 
it on the list.


-- Christian


P.S.: The sheet has of course nothing at all to do with cheating (how 
could it anyway?), that's purely tongue-in-cheek.


Re: Index entries: Wiki

2007-06-03 Thread Christian Liesen

I've updated the part on formatting index entries with LyX on the Wiki:
http://wiki.lyx.org/Tips/Indexing#toc2

Jürgen pointed me to an easy and elegant way for specifying the font for 
the index entries. Many thanks!


-- Christian



Re: How can I change the font size of index entries?

2007-06-03 Thread Christian Liesen

If you change the document class to scrbook (book KOMA-script), it stops
working.

Must be because articles in most cases don't have indices. So it's
likely that scrarticle comes without index specifications and you can
set it any way you like.

-- Christian


Jürgen Spitzmüller wrote:

Christian Liesen wrote:
  

Thanks for this hint, but it seems that it does not work.



works for me. See attached test file.

Jürgen
  





Re: How can I change the font size of index entries?

2007-06-03 Thread Christian Liesen

Jürgen Spitzmüller wrote:

with KOMA-script:
\setindexpreamble{\small}
  
Thanks for this hint, but it seems that it does not work. The 
\setindexpreamble adds a preamble to the index entries, and the preamble 
can be formatted, but this does not affect the index entries (at least 
not in my document).


So you could write something like

\setindexpreamble{\small{How to use this index: foo}}

and it will appear before the entries, but the entries will be in normal 
font again.


However, the method outlined in the Wiki works fine.

-- Christian




Index entries: Wiki

2007-06-02 Thread Christian Liesen
I've put something on formatting index entries with LyX on the Wiki: 
http://wiki.lyx.org/Tips/Indexing#toc2


Hope it proves useful.

-- Christian


[SOLVED] How can I change the font size of index entries?

2007-06-02 Thread Christian Liesen
The solution for changing the font size of index entries in LyX is 
ridiculously easy: Simply put the desired font size command before one 
index entry in your document.


For example, if you want to index 'foo', you insert the index entry as 
usual, and in the field that LyX opens for specifying the entry you 
write '\large foo'.


That's it, the entire index output will be '\large' now (except for the 
heading 'Index', of course, but that's easy to change).


It doesn't matter where in your document you add the font size command 
to an index entry, any will do.


So much for that.

I've spent the best part of this day only looking for this simple trick. 
Incredible as it may seem, it's not on the web or in any document I've 
read today. I finally got the idea from a short remark in Leslie 
Lamport's MakeIndex Manual.


I'll add something about this to the Wiki and hope that it might help 
other folks as well.


-- Christian


---
Hi,

I am looking for an easy way such as

\renewcommand

to change the font size of index entries (scrbook). Does anyone know how
to do this?

I've read through all kinds of stuff now, including this:
http://www1.ku-eichstaett.de/urz/schriften/makeidx.pdf and the makeindex
and scrbook documentation, but I still don't have a clue.

Many thanks,
-- Christian



How can I change the font size of index entries?

2007-06-02 Thread Christian Liesen

Hi,

I am looking for an easy way such as

\renewcommand

to change the font size of index entries (scrbook). Does anyone know how 
to do this?


I've read through all kinds of stuff now, including this: 
http://www1.ku-eichstaett.de/urz/schriften/makeidx.pdf and the makeindex 
and scrbook documentation, but I still don't have a clue.


Many thanks,
-- Christian


Re: How to scale tables in LyX

2007-05-30 Thread Christian Liesen

Hi,

You can center scaled tables by enclosing them in

\begin{center}
\end{center}

See the included example file.

-- Christian


Robert Orr wrote:

This is very helpful to me.   Thanks for posting this.

One thing I did find strange is that it would only
work when the table was left justified.  If I tried to
center and scale it I received an error during the
latex run.

So, at least for now, I have to settle for keeping the
tables on the left side of the page.

Phil
  


scaling-tables-2.lyx
Description: application/lyx


[SOLVED] Improper \prevdepth

2007-05-30 Thread Christian Liesen
After experiencing tons of weird LaTeX errors, and reading this: 
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=erroradvice, I found that 
the use of scrheadings was responsible for the weird behaviour.


I rewrote the preamble and fine-combed my ERT parts, and finally all 
traces of scrheadings were gone. So I can produce output again now.


What happened is this: scrheadings seems to affect the calculation of 
typearea, and as a result, I had "! Latex error: Float(s) lost".


I don't really understand that, but hey, the problem wasn't related to 
LyX and I solved it, so what the heck.


Hope this is useful for anyone experiencing similar problems.

-- Christian


Improper \prevdepth

2007-05-28 Thread Christian Liesen

Hi,

I am experiencing a weird error message and would be extremely grateful 
for any hints.


I'm writing a book using the scrbook class, and after manually adding 
scrheadings, I suddenly get the error message


> Improper \prevdepth.
> You can't use '\prevdepth' in horizontal mode.

and

> \end{figure}

> You can refer to \spacefactor only in horizontal mode;

> you can refer to \prevdepth only in vertical mode; and
> neither of these is meaningful inside \write. So
> I'm forgetting what you said and using zero instead.

This occurs in the middle of the book directly after a figure float with 
a PDF file. When I remove the float/figure, it occurs at the next 
float/figure in the book, and so on.


I did not touch anything, and before I started playing with scrheadings, 
there was no error message at all. I have no clue as to what \prevdepth 
and \spacefactor are or do.


I deleted all the scrheadings again, but the error message is still 
there. I also read this: 
http://www.math.upenn.edu/tex_docs/help/faq/uktug-faq/FAQ229.html, but 
there is no \@ in any macro name as far as I can tell (I exported my 
file to pdfLaTeX and checked the output with TeXShop).


What's going on here? Any hint would be appreciated.

-- Christian




How to scale tables in LyX

2007-05-28 Thread Christian Liesen

Hi,

until recently, I did not know that it was possible to scale tables in 
LyX with the graphicx package. I've added something on how to do it to 
the Wiki: http://wiki.lyx.org/LyX/Tables#toc17


I got the idea from an excellent article on tables by Lapo Filippo Mori 
in the PracTeX Journal 2007, no. 1, which can be found here: 
http://www.tug.org/pracjourn/2007-1/mori/mori.pdf So the credits are 
his, I only applied it to LyX.


-- Christian


P.S.: Many, many thanks to Jürgen and Uwe for dealing with the booktabs 
stuff! It works perfectly now in LyX 1.4.x.





Booktabs question: how to set the width of the last column and still use \bottomrule

2007-05-27 Thread Christian Liesen

Hi,

I'm stuck again with a booktabs problem:

When I set the width of the last column of a table in the LyX Table 
Settings dialogue, the booktabs command "\\\bottomrule%" produces an error.


Whatever the value, the error message shows up. I've included an example 
file.


I have no idea what to do about this and would be grateful for a 
solution. Neither the booktabs manual nor the LyX manuals seem to 
comment on this.


Many thanks,
-- Christian


booktab.lyx
Description: application/lyx


Re: Booktabs with LyX: how to kill the last line?

2007-05-25 Thread Christian Liesen
I filed the bug and added some hints on the use of booktabs in the Wiki 
at http://wiki.lyx.org/LyX/Tables#toc16. The uploaded example file is 
the file provided by Jürgen.


Many thanks again,
-- Christian



[EMAIL PROTECTED] wrote:

On Fri, 25 May 2007, Christian Liesen wrote:


Many thanks!

The manuals should be corrected. For LyX 1.4.x 
(http://wiki.lyx.org/uploads/LyX/LyXDevelDocumentation/EmbeddedObjects.pdf), 
the manual states on page 25 that the \bottomrule command needs a 
separate, empty row.


The manual for Lyx 1.5.x says nothing on this.

I'll add something about this to the Wiki.


Could you file a bugzilla bug for the problem with the manual?

Best regards,
/Christian





Re: Booktabs with LyX: how to kill the last line?

2007-05-25 Thread Christian Liesen

Many thanks!

The manuals should be corrected. For LyX 1.4.x 
(http://wiki.lyx.org/uploads/LyX/LyXDevelDocumentation/EmbeddedObjects.pdf), 
the manual states on page 25 that the \bottomrule command needs a 
separate, empty row.


The manual for Lyx 1.5.x says nothing on this.

I'll add something about this to the Wiki.

-- Christian


Booktabs with LyX: how to kill the last line?

2007-05-25 Thread Christian Liesen

Hi,

I am using the booktabs package to create booktabs with LyX, as 
described in the Embedded Objects manual and the Booktabs description.


However, the \bottomrule command has to be inserted in the last row of a 
table, and the cells of this last row need to be empty. As a 
consequence, there is always extra space from the "empty" row below the 
table, resulting in an ugly page layout.


How do I get rid of the extra space from the "empty" row?

The requirement to put the \bottomrule command in a last otherwise empty 
row seems to be specific to LyX. In LaTeX markup, no extra line is 
necessary. Thus, I found that to export the table to LaTeX, adjust it, 
and insert it back as ERT works, but is there an easier way to achieve this?


Many thanks,
-- Christian


Re: How do I use "noonelinecaption" in LyX?

2007-05-06 Thread Christian Liesen
... wow, that was fast, works like a charm, many thanks! I can't believe 
I've overlooked that ...



Bob Lounsbury wrote:

Christian Liesen wrote:

Hi,

I'm stuck again and can not find any help in this list's archive or 
the manuals.


I want to have all table captions aligned left. However, I'm using 
the KOMA report class, which means that by default, all captions that 
have only one line are centered. Changing the paragraph settings has 
no effect whatsoever on this.


There is an option "noonelinecaption" which should solve this, but I 
have no idea how to put it into the preamble. It seems it has to be 
called with the documentclass, but if I add


\documentclass[noonelinecaption]

I only get error messages saying I can only call one documentclass. 
So how do I use "noonelinecaption" in LyX?



Many thanks in advance for any hints,
-- Christian

Document->Settings->Document Class->Options add "noonelinecaption" 
without the quotes.


Bob



--


Christian Liesen

Universität Zürich
Institut für Sonderpädagogik
Sonderforschungsbereich
Hirschengraben 48
8001 Zürich

University of Zurich
Institute for Special Education
Research Unit
Hirschengraben 48
CH-8001 Zurich

Tel +41 44 634 3130
Fax +41 44 634 4941
E-mail [EMAIL PROTECTED]




How do I use "noonelinecaption" in LyX?

2007-05-06 Thread Christian Liesen

Hi,

I'm stuck again and can not find any help in this list's archive or the 
manuals.


I want to have all table captions aligned left. However, I'm using the 
KOMA report class, which means that by default, all captions that have 
only one line are centered. Changing the paragraph settings has no 
effect whatsoever on this.


There is an option "noonelinecaption" which should solve this, but I 
have no idea how to put it into the preamble. It seems it has to be 
called with the documentclass, but if I add


\documentclass[noonelinecaption]

I only get error messages saying I can only call one documentclass. So 
how do I use "noonelinecaption" in LyX?



Many thanks in advance for any hints,
-- Christian


Re: Table numbering: subsection arabic and table no. alph

2007-05-06 Thread Christian Liesen

Many thanks!

Putting

\renewcommand{\thetable}{\thesubsection~\alph{table}}

in the preamble worked like a charm. Great if this goes into the manual, 
too.


Best wishes,
-- Christian



Uwe Stöhr wrote:

Christian Liesen schrieb:

sorry for asking, but I could not find any hints on this list or in 
the Embedded Objects-Manual on how to change table numbering to a 
mixed mode of arabic and alph.


I have several tables in a subsection, and I want the caption to look 
like


Table 1.3 a: foo
Table 1.3 b: foo


I'll add a section about this in the manual that refers to section 
4.2.1 "Footnote Numbering".


To get what you want, look at the attached LyX-examplefile.

regards Uwe




Table numbering: subsection arabic and table no. alph

2007-05-05 Thread Christian Liesen

Hi,

sorry for asking, but I could not find any hints on this list or in the 
Embedded Objects-Manual on how to change table numbering to a mixed mode 
of arabic and alph.


I have several tables in a subsection, and I want the caption to look like

Table 1.3 a: foo
Table 1.3 b: foo

and so on, with 1.3 being the subsection and a,b,... as the table numbers.

Any ideas on how to do this or where to look?

Many thanks,
-- Christian


Re: ongoing numbered list?

2007-04-14 Thread Christian Liesen

Hi,

this has been discussed several times on this list. You might simply 
want to look around a bit in te archives, or refer to this site: 
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=interruptlist


Hope this helps :-),
Christian


Stacia Hartleben wrote:

Sorry about the confusing title of this mail but I don't know how to
sum it up better. Say I have a document like this:

1. A b c
2. e f g

some text

1. more text
2. and more text

How could I make it look like this:

1. A b c
2. e f g

some text

3. more text
4. and more text

Where each time the numbers don't reset but keep track of all the
numbers in the document? I vaguely remember something about being able
to manually set the number for each one, and command would be
appreciated, but I'd like something more general in case I decide to
add a few numbers to each one or move them around, so I wouldn't have
to worry about the numbers getting mixed up. Thanks!





Re: Lyx server and Jabref on windows

2007-01-01 Thread Christian Liesen

Hi,

I had the same problem on a Mac.

See http://wiki.lyx.org/Mac/Mac#toc10 for useful hints. They are meant 
for Mac, but might be applicable for Windows, too.


A likely source of error are blanks in the path name. For example, 
"C:\Documents and Settings\..." might not be a good option. Did you try 
a new path with no blanks?


Cheers,
Christian



Graham Smith wrote:

Hello,

I have Lyx 1.4.3-5 (Windows) and Jabref 2.2b.

Trying to push a citation from jabref gives me an error to verify that
Lyx is ruuning and that the lyxpipe is valid C:\Documents and 
Settings\Graham\lyx\

 In lyx I have added the path
 
 C:\Documents and Settings\Graham\lyx\.lyxpipe


 in the  lyx preferences and reconfigured and restarted lyx.

 As I understand the documentation this should create an lyxpipe.in file,
 but no file is created.

 I have tried several different path options, eg creating the full
 file name etc, but cannot get it to work.

 Can anyone suggest what I should be doing.

 Many thanks

 Graham


  




Re: Changing to an Intel Mac lets Lyx forget settings -- any hints?

2006-12-09 Thread Christian Liesen

Thank you Bennett, it worked.

You were right: The Apple transfer program does not transfer any files 
from an existing TeX installation. I had to run the whole process again, 
including the redefinition of some converter's flags and other things I 
had tweaked to suit my needs ... too bad.


Since I am using i-installer, I had to search for any remaining 
ii2-files first to get it to start a Tex installation from scratch 
(because ii2-files /are /transfered by Apple's transfer program since 
they're stored in the "right" places, so i-installer thinks there's 
still a valid installation and refuses to overwrite). -- Just as a hint 
for people who may find themselves in a similar situation.


Also, it was necessary to move /Library/texmf out of the way first.

Finally, I reinstalled Lyx for Intel-Macs and made sure it remembers 
where I store my stuff. Now I'm fully operational again.


--Christian


Bennett Helm wrote:

On Dec 8, 2006, at 7:50 PM, Christian Liesen wrote:


Hi,

I've just got myself a new MacBook Pro, which feautures the Intel 
Core 2 CPUs. I had a PPC Mac before and transfered all data using the 
Apple standard feature, i.e. connecting both machines with a firewire 
cable during setup of the new machine and voila!, everything's there. 
Both machines had OS X 10.4.8 installed.


Now there's something weird about Lyx. I updated to the version for 
Intel-Macs, but Lyx has forgot about all the settings. It doesn't 
find a single viewer, nor a single document class -- they're all 
marked as "unavailable" in the Document Settings dialogue. It does 
remember my documents, though.


I'm a little confused about this and don't know what to do. Do I have 
to reinstall TeX?


Any hints would be highly appreciated.


If you haven't installed TeX on your new computer, you'll need to. As 
far as I know, Apple's transfer program looks at standard Mac 
directories only -- such as /Users and /Applications. Since TeX gets 
installed elsewhere, it gets ignored.


That means you'll probably want to run the LyX installer again on your 
new machine -- after you've installed TeX on it.


Bennett



Changing to an Intel Mac lets Lyx forget settings -- any hints?

2006-12-08 Thread Christian Liesen

Hi,

I've just got myself a new MacBook Pro, which feautures the Intel Core 2 
CPUs. I had a PPC Mac before and transfered all data using the Apple 
standard feature, i.e. connecting both machines with a firewire cable 
during setup of the new machine and voila!, everything's there. Both 
machines had OS X 10.4.8 installed.


Now there's something weird about Lyx. I updated to the version for 
Intel-Macs, but Lyx has forgot about all the settings. It doesn't find a 
single viewer, nor a single document class -- they're all marked as 
"unavailable" in the Document Settings dialogue. It does remember my 
documents, though.


I'm a little confused about this and don't know what to do. Do I have to 
reinstall TeX?


Any hints would be highly appreciated.

Thanks,
Christian


Re: How to remove "Date" in the title page, book format

2006-10-27 Thread Christian Liesen
... well that's easy, simply add \date{} to the preamble in the document 
settings.


Cheers,
Christian


Horacio Emilio Pérez Sánchez wrote:

Hi,

I use lyx 1.3.6 on suse 10.1 and I have a 200 page document in book 
format


When I compile the document there is the "title page" with the 
"Title", "Author", "Date", etc, but I want to remove "Date".


Does somebody how to do this in LyX ?


Thanks.

Horacio.




--


Dr. Christian Liesen
Universität Zürich
Institut für Sonderpädagogik
Sonderforschungsbereich
Hirschengraben 48
CH-8001 Zürich
Tel +41 44 634 31 30
Fax +41 44 634 49 41
eMail [EMAIL PROTECTED]





Re: Problems with figures

2006-10-16 Thread Christian Liesen

Hi,

you can see why the error occurs on page 59 of the Lyx User's Guide. It 
has to do with the figure being in eps format -- I had the same problem 
somtimes, and substituting the eps by a pdf file worked well. If that is 
not possible, try to install ImageMagick and/or follow the hints in the 
User's Guide.


Hope this helps!

Best regards,
Christian



Marco A.C. Kneipp wrote:

Hi,

For many years I'm using Lyx and it is really great! I'm writting 
because this week I instaled in a new computer, windows and all 
softares I use. So I instaled the new version of lyx using the file 
lyx-143-4-bundle.exe, with miktex , etc.
Everything is fine except for the files with figures (including the 
ones which comes with lyx in the help). For exemple in the user guide 
in section 4.3  in the place where should be the first figure it 
appears an retangle and inside appears


mobius.eps
Error converting to loadable format

The same problem happen in all the files I have with figures.
Why I can not see the figures? What could be the problem?

Best regards,
Marco.





Re: Abbreviations ?

2006-08-30 Thread Christian Liesen
... well that's simple. In Lyx, choose Insert --> Special Formatting --> 
Inter-word Space after the abbreviation's full stop.


There is also a keyboard shortcut: On a Mac, it is Ctrl + alt + Cmd + 
Space. Check with your keybindings doc.


Cheers,
Christian



Martin A. Hansen wrote:

I noted a too wide gap after abbriviating Professor -> Prof. John Doe

Apparently LateX thinks that the punctuation in the abbreviation is a 
full

stop and inserts whitespace accordingly - but it looks stupid.

So how does one abbriviate?


Martin





Re: Help installing aspell on Mac OS X

2006-06-10 Thread Christian Liesen

Thank you, Bennett and Tomoharu!

I finally got it to work, as follows:

   * I checked that aspell is installed correctly using Bennett's
 suggestion of searching for files hidden by the Mac GUI. Aspell
 was there all right, as were the dictionary files. There are some
 *.alias files, these are important, see below.
   * I noticed that you have to set the language correctly in Lyx's
 Document --> Settings. I also noticed that you have to place the
 cursor in front of the section you wish to be spellchecked.
   * I then used the Lyx --> Preferences --> Language Settings -->
 Spellchecker to tell Lyx what spellchecker executable to use
 (aspell, obviously). However, this alone still did not work even
 if the language was correctly set in both the document settings
 and the preferences. But I discovered that you can use any
 "alternative language" simply by adding the appropriate alias
 name. For example, I entered "swiss" since I have a "swiss.alias"
 in my aspell folder, and the spellchecking followed along the
 Swiss rules. I entered "deutsch" or "british" and got the
 according results. So everything works fine now.

So there's no need for fink now, but I may give a try next time :-).

Cheers,
Christian



Bennett Helm wrote:

On Jun 10, 2006, at 9:33 AM, Christian Liesen wrote:


Hello,
I'm experiencing a problem with installing aspell on Mac OS X 10.4.6.

I followed these instructions by the book: 
http://wiki.lyx.org/Mac/MacSpelling


What happens is that I end up with two aspell folders on my desktop 
(one with aspell itself labeled "aspell-0.60.4", another one with the 
desired dictionary labeled "aspell6-en-6.0-0"). These folders contain 
files that obviously were generated when running the configure-, 
make- and sudo make installation-processes, since their date is today.


There are no other aspell folders anywhere on my HDD, except for 
these two.


I reconfigured Lyx 1.4.1, but it does not recognize aspell at all. 
Instead it says that "Error: The file 
"/usr/local/lib/aspell-0.60/ngerman" can not be opened for reading. 
There is no file named "ngerman" anywhere on my computer. What's 
going on here? Did I miss something?


Most likely, the files have been installed; it's just that they are 
hidden by the Mac GUI. You can check to see if they're really there by 
going to the Finder and selecting Go > Go to Folder ..., and then 
typing in /usr/local/lib to the dialog that pops up. If you don't find 
an aspell directory there, something went wrong with the installation.


Also, double check to make sure that aspell is selected from within 
LyX's preferences (LyX > Preferences > Spellchecker > Spellchecker 
executable).


Note that in what you've described, you've installed aspell6-en-6.0-0 
-- an English dictionary. LyX is apparently looking for a German 
dictionary, which it reports it cannot find. If you're spellchecking 
German text (i.e., text identified as German within LyX), you'll need 
to install the appropriate dictionary.


Bennett






Help installing aspell on Mac OS X

2006-06-10 Thread Christian Liesen

Hello,
I'm experiencing a problem with installing aspell on Mac OS X 10.4.6.

I followed these instructions by the book: 
http://wiki.lyx.org/Mac/MacSpelling


What happens is that I end up with two aspell folders on my desktop (one 
with aspell itself labeled "aspell-0.60.4", another one with the desired 
dictionary labeled "aspell6-en-6.0-0"). These folders contain files that 
obviously were generated when running the configure-, make- and sudo 
make installation-processes, since their date is today.


There are no other aspell folders anywhere on my HDD, except for these two.

I reconfigured Lyx 1.4.1, but it does not recognize aspell at all. 
Instead it says that "Error: The file 
"/usr/local/lib/aspell-0.60/ngerman" can not be opened for reading. 
There is no file named "ngerman" anywhere on my computer. What's going 
on here? Did I miss something?


Thanks ever so much for your help,
Christian

--


Dr. des. CHRISTIAN LIESEN
Universität Zürich
Institut für Sonderpädagogik
Hirschengraben 48
CH-8001 Zürich
Tel. +41 44 634 31 30
Fax  +41 44 634 49 41
eMail [EMAIL PROTECTED]