Mac-Download 1.6.6.1 broken

2010-06-19 Thread Niko Schwarz
Hi,

the mac download of 1.6.6.1 has been broken since yesterday – the ftp
server can't be reached.

Cheers,

Niko

-- 
http://scg.unibe.ch/staff/Schwarz
twitter.com/nes1983
Tel: +41 076 235 8683


Why doesn't lyx have a real time spellchecker?

2010-11-25 Thread Niko Schwarz
I just saw the question being asked here:
http://www.terminally-incoherent.com/blog/2010/02/04/lyx-easy-latex-without-spell-check/

Also: shouldn't lyx have a twitter account that I can ask such questions?

Niko


Rename "algorithm" to "program listing" – How to get my program listings into my article?

2011-01-26 Thread Niko Schwarz
Hi, I'm using LyX with the springer LNCS article class. In my previous
work, all the program listings I had to write could reasonably well be
called "algorithms," so I used the algorithm class in a float. This
time, they aren't really algorithms, they're just program listings.
So, I'd the surrounding float to be called "program listing," not
"algorithm."

What to do?

Niko


Having trouble importing latex to lyx

2011-01-29 Thread Niko Schwarz
Hi,

I'm using the import function of lyx to import latex to lyx. With some
latex file, this works fine, but one file can't be imported,
reporting: "stammt von einer älteren Lyx-Version, aber das
lyx2lyx-Skript konnte das Dokument nicht konvertieren."

I tried Lyx 1.6.8 and Lyx 2.0 beta 3.

Niko

-- 
http://scg.unibe.ch/staff/Schwarz
twitter.com/nes1983
Tel: +41 078 612 6354


Self-contained lyx documents

2011-04-27 Thread Niko Schwarz
Hi guys,

I managed to write an article in lyx in sig-alternate style. I had to
copy the class into my tex installation, run texhash, install some
layout into ~/Library/Application Support/LyX-2.0/layouts. And that's
fine. And then my coworker wanted to see what I'd done, so I sent him
the directory. And now he had to repeat all of my steps.

Guys, I don't mind some hassle to use non-standard classes in my
document. But it makes a huge difference to me if the hassle occurs
for me only (that's fine), or for every coworker (that isn't!).

Please, can't you encapsulate all of the hassle into lyx modules, and
allow lyx modules that are in the same directory as the lyx file? Or
better yet: inside the lyx file?

Niko


-- 
http://scg.unibe.ch/staff/Schwarz
twitter.com/nes1983
Tel: +41 078 612 6354


Re: Self-contained lyx documents

2011-04-28 Thread Niko Schwarz
Actually, latex is perfectly fine with the class being in the same
directory as the .tex file.  We routinely use this feature when
collaborating. Using a class never requires running sudo texhash.

And this is really crucial for me. My coworkers expect that we share a
directory, and whatever's in there just compiles. No texhash, no
configuring, nothing. That is the way we use regular latex documents.

Niko

On Wed, Apr 27, 2011 at 4:17 PM, Richard Heck  wrote:
> On 04/27/2011 09:33 AM, Jim Oldfield wrote:

 Please, can't you encapsulate all of the hassle into lyx modules,  and
 allow lyx modules that are in the same directory as the lyx file?  Or
 better yet: inside the lyx file?

>>> Yes, we have been  working on this. Hopefully, this will be
>>> implemented in LyX  2.1.
>>>
> And Enrico's solution to this is (will shortly be) available already in 2.0.
> You'll find it under File>Export>LyX Archive. I'm not sure if it includes
> used modules and layouts, though, since those do have to be installed into
> the right place.
>
>> Niko was asking about two different things:
>>
>> 1. He had to install a LaTeX document class before he could use it with
>> LaTeX
>> (which LyX uses).
>>
> As you say, this is not a LyX issue.
>
>> 2. He had to install a LyX module before he could use it in a LyX
>> document.
>>
> If you want to keep your layout "internal", then this is also already
> possible in 2.0. Look under Document>Settings>Local Layout.
>
> Richard
>
>



-- 
http://scg.unibe.ch/staff/Schwarz
twitter.com/nes1983
Tel: +41 078 612 6354


version control under osx, lyx 1.6.0 crashes

2008-11-25 Thread Niko Schwarz
Hello!
So, when I check in, lyx crashes (after checking in), on checkout, it
crashes, too.
I can send my file through PM; it is my unfinished thesis, so i'd like it to
be somewhat confidential.

Best regards,

niko


some more environments

2008-12-02 Thread Niko Schwarz
Hello!
I'd like to define a few more math environments and I have no idea how. I
don't want too many. I use all kinds of extensions to AMS, and it has really
useful environments, but I want one more, and I want to be able to select it
in lyx.

Basically, it should be the same like the "lemma" environment. Only the name
should be different. I want a data reduction environment. How can I create
one?

cheers,

niko


more questions

2008-12-02 Thread Niko Schwarz
i also want to write some numbers in a typewriter font, because they all
have the same length. actually, what i have is input to a computational
problem and i'm still figuring how to typeset it all right.
I have an input pair (S,r). And i want to describe two strings s_1, s_2 \in
S:
s_1 = 1010110011
s_2 = 1011100010

how can i typeset this well?

niko


LaTeX Error: File `prettyref.sty' not found.

2008-12-03 Thread Niko Schwarz
I wrote this lyx file on my mac and it worked fine. then my mac exploded and
now im trying to work with it on my windows box. but the latex compiler
says: "prettyref.sty noot found".
why does it say that? what can i do about it?

cheers,

niko


Does the version management work under windows?

2008-12-03 Thread Niko Schwarz
ok, i think i figured this out. i needed to install more miktex packages. it
runs now.
but the version management does not work at all. i see it complain that some
ci tool is returning an error. there is no ci tool installed at all, so im
not surprised.

it does not appear in the cygwin tree, so im uncertain if i can do a thing
about it.

what do i do?

2008/12/3 Niko Schwarz <[EMAIL PROTECTED]>

> I wrote this lyx file on my mac and it worked fine. then my mac exploded
> and now im trying to work with it on my windows box. but the latex compiler
> says: "prettyref.sty noot found".
> why does it say that? what can i do about it?
>
> cheers,
>
> niko
>


Re: LaTeX Error: File `prettyref.sty' not found.

2008-12-04 Thread Niko Schwarz
thanks! i had setup miktex for automatic package installation. but the ftp
server was offline and miktex silently failed.
so, now i changed the ftp server and it worked.

cheers,

niko

2008/12/3 Jürgen Spitzmüller <[EMAIL PROTECTED]>

> Niko Schwarz wrote:
>
> > why does it say that?
>
> because prettyref.sty is not installed on your computer.
>
> > what can i do about it?
>
> Install it :-)
>
> Grab it here:
> http://ctan.org/tex-archive/macros/latex/contrib/prettyref
>
> or try to get it via your package manager (probably the MikTeX package
> manager).
>
> Jürgen
>
> BTW the problem with prettyref, which is used by LyX for formatted cross
> references, was that it had an unclear license, so many TeX distributions
> excluded it. Recently, the license issue was sorted out, so the package will
> most likely be reincluded in the distros.
>
>
>


version management under windows

2008-12-07 Thread Niko Schwarz
Does the versionmanagement thing work for anyone under windows and lyx 1.6?
i cannot check in anything. it complains that some command line operation
failed that was calling some "ci" function. whatever that is.
cheers,

niko


macros in the middle of the text

2008-12-14 Thread Niko Schwarz
hello, i noticed that math macros exist. i want something similar, but in my
text. i'm writing a text about a cs problem called "minimum KT distance",
which is a noun. and I'm really tired of typing that name and then setting
it to be a noun. isn't there a quicker way?
regards,

niko


Re: And where do I put my new module file?

2008-12-15 Thread Niko Schwarz
Well, ok, I did it. But I don't like it. Until now, I could tell a friend to
just copy the folder, open the .lyx and it would work. Now that's changed
and it's not cool!
It should REALLY be possible to include them like pictures.

And for above reasons, I think I am interested in the undocumented, hacky
solution.

cheers,

niko

2008/12/15 Richard Heck 

> Niko Schwarz wrote:
>
>> Ok, I'm on it now. I created the module file and I tried to put it into my
>> local directory, which I couldn't find.
>>
> Look at Help>About LyX. This will tell you where your user directory is.
> Say it's c:\mydir\lyx\. Then put the module in c:\mydir\lyx\layouts\. Then
> do Tools>Reconfigure, and restart LyX.
>
>  How do I add my custom .module file to my document?
>>
>>  Document>Settings>Modules.
>
>  Actually! My module kind of belongs to this document. Much like the
>> pictures that are attached to it. Isn't it possible to put the module into
>> the same directory and include it like a picture? The directory is
>> synchronized with a bunch of other machines, so I'd love this approach for I
>> wouldn't need to mess with the different latex installations (Miktex vs.
>> mactex)
>>
>>  You can't quite do this. There's a way, but it's undocumented and not
> advised. Yet.
>
> rh
>
>


Re: And where do I put my new module file?

2008-12-15 Thread Niko Schwarz
Richard,
I think there's a point to bundled documents, like Apple does it with their
.pages things.

But for me, it doesn't need to be so bundled. All the stuff in the same
directory is quite enough for me. I have dropbox synchronize the directory
and everything's fine. Only if I have to change things outside my document
directory, like modifying several lyx and latex installations, things become
tricky.

All the best,

niko

2008/12/15 Richard Heck 

> Niko Schwarz wrote:
>
>> Well, ok, I did it. But I don't like it. Until now, I could tell a friend
>> to
>> just copy the folder, open the .lyx and it would work. Now that's changed
>> and it's not cool! It should REALLY be possible to include them like
>> pictures.
>>
>>
>>
> This desire, for a "bundled" version of a document, has been much
> discussed. We hope to do something along these lines for the next version.
> Note, however, that modules only need to be installed once.
>
>  And for above reasons, I think I am interested in the undocumented, hacky
>> solution.
>>
>>
>>
> If you look at the file Customization.lyx---not in LyX itself, open it in a
> text editor---you'll find a section of the document preamble that begins
> "\begin_local_layout" followed by some layout code. You can create such a
> section yourself in your own files, again by opening them in a text editor
> and adding this code manually. But, as I said, this is not documented and is
> for the very brave only.
>
> rh
>
>


Re: Does the version management work under windows?

2009-01-22 Thread Niko Schwarz
I think this argument is a little categorical.
There are many frameworks that would do the version management. But choosing
one for the user and recommending it by making it the default is making life
for users easier.

And well, the binary I downloaded was platform dependent, it was a .exe
file.

But the net benefit would be that enabling version management would be as
easy as clicking into the file menu as opposed to making your way through
the already impressive documentation.

Just my 2 cents.

cheers,

Niko

2009/1/18 Pavel Sanda 

> Paul A. Rubin wrote:
> > Vincent van Ravesteijn wrote:
> >
> >> FYI, since yesterday it is now also possible to use TortoiseSVN with LyX
> >> without the command line client.
> >> see http://article.gmane.org/gmane.editors.lyx.devel/114728
> >
> > Figures ... everything I write seems to be outdated before the virtual
> ink
> > is dry.  :-)
>
> i dont think so.
>
> > Are there (will there be) patches to enable this from the File menu?
>
> its not sensible to add platform dependent things when there is an
> alternative. this way we can ask, why not to add there esvn, kdesvn for
> linux,
> SCPlugin for MAC etc...
>
> pavel
>


Where do Modules go again?

2009-02-12 Thread Niko Schwarz
Ok, I wrote this module file. It's called nikos thesis.module. I have it.
But Lyx won't find it, because I am on another computer now and I don't know
how to do this.
How do I load modules again?

Niko


Literature references end in a question mark some of the time.

2009-02-13 Thread Niko Schwarz
Ok, one strange thing that has happened to me a little bit too often lately
was that when quoting some literature, instead of a reference like [1]
(using natbib), i only get a question mark, like [? ].
This is really strange and I don't know why it happens. Deleting the
reference and recreating it sometimes helps. Other times, it is helpful to
change the quote to quote 2 things at the same time, which then usually
works. I feel more like a computer-mythologist.

I thought that JabRef together with Lyx would make it nearly impossible to
get the quotes wrong. What is happening? What information should I provide
so you will know what is happening?

Niko


Include .fig files using Miktex

2009-03-09 Thread Niko Schwarz
While my Mac can easily include .fig files generated by xfig, my Windows
machine cannot. How can I teach windows  lyx to convert .fig files properly?
Niko


fig script

2009-03-19 Thread Niko Schwarz
Ok, this is interesting. I have 2 mac machines. Apparantly, their  
setup is not entirely identical.


One of them prings the .fig images perfectly, the other one makes them  
pixely and turned 90 °. Turns out that the fig2pdftex.py script fails.


Here's what I see on the command line:

bash-3.2$ python /Applications/LyX.app/Contents/Resources/scripts/ 
fig2pdftex.py combinatorical\ explosion.fig explo.pdft

File "combinatorical" does not exist
Command 'fig2dev -Lpdftex -p1 combinatorical explosion.fig explo.pdf'  
fails.

bash-3.2$

Ok, so I immediately guessed that renaming the file to combi.fig would  
fix the problem and it was true. Just funny that on my other Mac  
machine can handle spaces in file names while the other cannot. Both  
use Lyx 1.6.1.


Niko




my file does not compile to pdf anymore

2009-04-07 Thread Niko Schwarz
Hello!
a moment ago it worked fine. now it ust won't compile. no error message,
nothing. is there a log somewhere? what can i do?

niko


Re: my file does not compile to pdf anymore

2009-04-07 Thread Niko Schwarz
Ok, I exported to .tex and ran pflatex file.tex. here is the result:
Chapter 1

Package natbib Warning: Citation `Kemeny1959' on page 4 undefined on input
line
 112.

[4]

Package natbib Warning: Citation `Dwork2001' on page 5 undefined on input
line
188.


Underfull \vbox (badness 1) has occurred while \output is active [5]

LaTeX Warning: Reference `sec:minimum-KT-distance problem' on page 6
undefined
on input line 289.


LaTeX Warning: Reference `fig:disc translocation' on page 6 undefined on
input
line 304.


LaTeX Warning: Reference `fig:disc translocation' on page 6 undefined on
input
line 304.


Package natbib Warning: Citation `Popov2007' on page 6 undefined on input
line
306.

[6]

Package natbib Warning: Citation `Vazirani2004' on page 7 undefined on input
li
ne 314.


Package natbib Warning: Citation `Downey1997' on page 7 undefined on input
line
 315.


Package natbib Warning: Citation `Niedermeier2006' on page 7 undefined on
input
 line 315.


Package natbib Warning: Citation `Flum2006' on page 7 undefined on input
line 3
15.


LaTeX Warning: Reference `fig:combinatorical explosion restricted' on page 7
un
defined on input line 323.


LaTeX Warning: Reference `fig:combinatorical explosion' on page 7 undefined
on
input line 324.


! LaTeX Error: Unknown graphics extension: .eps.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...

l.326 ...ing"combinatorical explosion\string".eps}


Now what does this mean? The references and graphics inclusions worked just
fine half an hour ago.

niko

On Tue, Apr 7, 2009 at 6:17 PM, Niko Schwarz wrote:

> Hello!
> a moment ago it worked fine. now it ust won't compile. no error message,
> nothing. is there a log somewhere? what can i do?
>
> niko
>


Re: my file does not compile to pdf anymore

2009-04-07 Thread Niko Schwarz
I don't think so. Firstly, I am on OSX and secondly, I haven't changed
anything about the graphics files recently.
 I think it's strange. I dropbox collect recent versions, and even after
going 3 hours back in time, it won't compile, then with another strange
error message: Paragraph ended before \...@setref@link was complete.
Very weird.



On Tue, Apr 7, 2009 at 6:31 PM, Vincent van Ravesteijn - TNW <
v.f.vanraveste...@tudelft.nl> wrote:

>
>
> >! LaTeX Error: Unknown graphics extension: .eps.
> >
> >See the LaTeX manual or LaTeX Companion for explanation.
> >Type  H   for immediate help.
> > ...
> >
> >l.326 ...ing"combinatorical explosion\string".eps}
> >
> >
> >Now what does this mean? The references and graphics inclusions
> >worked just fine half an hour ago.
> >
> >niko
>
> Have a look at this thread (it might be the same problem):
>
> http://thread.gmane.org/gmane.editors.lyx.general/55423
>
> Vincent
>


Re: my file does not compile to pdf anymore

2009-04-07 Thread Niko Schwarz
If I go 7 hours back in time, I get this error: Paragraph ended before
\...@setref@link was complete.
I know that this file used to compile because I have the pdf. Something
outside of my document is causing this failure, I think, however the only 2
things I changed were the bibliography and the document. Removing the
bibliography from the document does not fix the issue.

Also, last time I closed lyx it complained that it could not remove some
temporary directory.

This might all be unrelated, but could it be relevant? What should I be
looking for?

niko

On Tue, Apr 7, 2009 at 6:33 PM, rgheck  wrote:

> Niko Schwarz wrote:
>
>> ! LaTeX Error: Unknown graphics extension: .eps.
>>
>> See the LaTeX manual or LaTeX Companion for explanation.
>> Type  H   for immediate help.
>>  ...
>>
>> l.326 ...ing"combinatorical explosion\string".eps}
>>
>>
>>
> The error is right there, but why you're getting it I don't know. It looks
> as if there's a filename there that is mangled for some reason. Have a look
> at the tex file itself and see if you can figure out what's happened.
>
> rh
>
>


Re: my file does not compile to pdf anymore

2009-04-07 Thread Niko Schwarz
I'm going nuts. If I add the ERT \end{document} right as the first thing all
at the top of the document, it still does not compile, with no error
message. It doesn't even take time. It simply doesn't react.
However, if I cut everything and write "hi" into the document, it compiles.

On Tue, Apr 7, 2009 at 6:50 PM, Niko Schwarz wrote:

> If I go 7 hours back in time, I get this error: Paragraph ended before
> \...@setref@link was complete.
> I know that this file used to compile because I have the pdf. Something
> outside of my document is causing this failure, I think, however the only 2
> things I changed were the bibliography and the document. Removing the
> bibliography from the document does not fix the issue.
>
> Also, last time I closed lyx it complained that it could not remove some
> temporary directory.
>
> This might all be unrelated, but could it be relevant? What should I be
> looking for?
>
> niko
>
> On Tue, Apr 7, 2009 at 6:33 PM, rgheck  wrote:
>
>> Niko Schwarz wrote:
>>
>>> ! LaTeX Error: Unknown graphics extension: .eps.
>>>
>>> See the LaTeX manual or LaTeX Companion for explanation.
>>> Type  H   for immediate help.
>>>  ...
>>>
>>> l.326 ...ing"combinatorical explosion\string".eps}
>>>
>>>
>>>
>> The error is right there, but why you're getting it I don't know. It looks
>> as if there's a filename there that is mangled for some reason. Have a look
>> at the tex file itself and see if you can figure out what's happened.
>>
>> rh
>>
>>
>


Re: my file does not compile to pdf anymore

2009-04-07 Thread Niko Schwarz
Ok, I discovered something. Only the version I sent you is broken. Going one
version back, QUITTING LYX and restarting lyx, then loading the older
version – works fine. Apparantly the last save broke something that takes
lyx with it. It is not just my machine, my other Mac cannot compile the last
version, either.
So, with the reverted version I can keep working. I can simply redo the last
work, it is only like 10 minutes.

If you want to debug what went wrong there, please don't hesitate asking me
for whatever I can offer.

niko

On Tue, Apr 7, 2009 at 7:12 PM, rgheck  wrote:

> Niko Schwarz wrote:
>
>> I'm going nuts. If I add the ERT \end{document} right as the first thing
>> all at the top of the document, it still does not compile, with no error
>> message. It doesn't even take time. It simply doesn't react.
>> However, if I cut everything and write "hi" into the document, it
>> compiles.
>>
>>  Send the file to one of us privately.
>
> rh
>
>


Re: my file does not compile to pdf anymore

2009-04-07 Thread Niko Schwarz
alright, i know what happened. I was adding page numbers to a citation, the
page numbers were "pp.485–488", where the hyphen is some strange uni-code
uber-thing that kills lyx it comes within 3 miles of lyx. once you do that,
you need to delete it and restart lyx.
Do not use fancy characters in citations!

niko

On Tue, Apr 7, 2009 at 7:38 PM, Niko Schwarz wrote:

> Ok, I discovered something. Only the version I sent you is broken. Going
> one version back, QUITTING LYX and restarting lyx, then loading the older
> version – works fine. Apparantly the last save broke something that takes
> lyx with it. It is not just my machine, my other Mac cannot compile the last
> version, either.
> So, with the reverted version I can keep working. I can simply redo the
> last work, it is only like 10 minutes.
>
> If you want to debug what went wrong there, please don't hesitate asking me
> for whatever I can offer.
>
> niko
>
>
> On Tue, Apr 7, 2009 at 7:12 PM, rgheck  wrote:
>
>> Niko Schwarz wrote:
>>
>>> I'm going nuts. If I add the ERT \end{document} right as the first thing
>>> all at the top of the document, it still does not compile, with no error
>>> message. It doesn't even take time. It simply doesn't react.
>>> However, if I cut everything and write "hi" into the document, it
>>> compiles.
>>>
>>>  Send the file to one of us privately.
>>
>> rh
>>
>>
>


where is the reference referenced from?

2009-04-09 Thread Niko Schwarz
I have a mark in a section heading and I'd like to know where it is
reference from – how can i find that out?
niko


list of figures

2009-04-13 Thread Niko Schwarz
Hello!
in my list of figures, the numbers of the figures are standing much too
close to the captions of the figures! what can i do?

niko


Re: [Figure embedding] An easy way to share lyx documents

2009-04-13 Thread Niko Schwarz
to help sharing files, dropbox is excellent.

On Mon, Apr 13, 2009 at 5:13 PM, Etienne lepercq  wrote:

> I am new to LyX, but not as new to LaTeX : I used Kile for quiet a few time
> now.
> I would like to use LyX to work with several people on an article. As LyX
> is
> much more user-friendly than Kile, a pure LaTeX editor, I convinced my
> collaborators to give a try to LyX.
>
> There is te least one thing in LyX (and LaTeX) that is not easy to handle,
> sharing a whole document to make it modifiable by others : one have to
> build
> an archive with all figures and latex source, collaborators have to untar
> it, open LyX, read/modify/etc... and then... rebuild archive, send the
> archive, etc...
>
> This is counter-productive, not easy to use, it is a pain. One simple
> solution I see for this is to give the ability to LyX to open, say .tar
> archives, with a specific tree inside (.yx sources, then
> figures/allFigures.Whatever or something). Such archive could be called
> .lyxZ files ;-)
>
> Does such feature exist already ? I searched over FAQ/Documentation/Asked
> on
> #LyX but did not find anything more than : two implementations were made
> once, but as nobody could say which was the best... none were released !!
>
> This is not _that_ complex to implement, but is there a way to have such
> feature now, or is there a way to at least release one relatively-good
> implementation ?
>
> Thanks a lot.
>
> Etienne Lepercq
> --
> Sincerily
>


Re: list of figures

2009-04-13 Thread Niko Schwarz
hmm. then i get this error message:

@figur...@dottedtocline{1}{1.5em}{2.3em}}

 Your command was ignored.

Type I   to replace it with another command,

or  to continue without it.


niko

On Mon, Apr 13, 2009 at 11:45 PM, Uwe Stöhr  wrote:

> Niko Schwarz schrieb:
>
>  in my list of figures, the numbers of the figures are standing much too
>> close to the captions of the figures! what can i do?
>>
>
> Add this command to your document preamble:
>
> \newcommand...@figure{\@dottedtocline{1}{1.5em}{2.3em}}
>
> (http://texnik.dante.de/cgi-bin/mainFAQ.cgi?file=tocloft/TOC#label)
>
> regards Uwe
>


Re: list of figures

2009-04-13 Thread Niko Schwarz
ohh, i forgot, it also says "LaTeX Error: Command \...@figure already
defined."
niko

On Tue, Apr 14, 2009 at 7:58 AM, Niko Schwarz
wrote:

> hmm. then i get this error message:
>
> @figur...@dottedtocline{1}{1.5em}{2.3em}}
>
>  Your command was ignored.
>
> Type I   to replace it with another command,
>
> or  to continue without it.
>
>
> niko
>
> On Mon, Apr 13, 2009 at 11:45 PM, Uwe Stöhr  wrote:
>
>> Niko Schwarz schrieb:
>>
>>  in my list of figures, the numbers of the figures are standing much too
>>> close to the captions of the figures! what can i do?
>>>
>>
>> Add this command to your document preamble:
>>
>> \newcommand...@figure{\@dottedtocline{1}{1.5em}{2.3em}}
>>
>> (http://texnik.dante.de/cgi-bin/mainFAQ.cgi?file=tocloft/TOC#label)
>>
>> regards Uwe
>>
>
>


Re: list of figures

2009-04-13 Thread Niko Schwarz
solved!
i added this to the pre-amble:

\renewcommand...@figure{\@tocline{0}{3pt plus2pt}{0pt}{2.5em}{}}

On Tue, Apr 14, 2009 at 7:59 AM, Niko Schwarz
wrote:

> ohh, i forgot, it also says "LaTeX Error: Command \...@figure already
> defined."
> niko
>
>
> On Tue, Apr 14, 2009 at 7:58 AM, Niko Schwarz  > wrote:
>
>> hmm. then i get this error message:
>>
>> @figur...@dottedtocline{1}{1.5em}{2.3em}}
>>
>>  Your command was ignored.
>>
>> Type I   to replace it with another command,
>>
>> or  to continue without it.
>>
>>
>> niko
>>
>> On Mon, Apr 13, 2009 at 11:45 PM, Uwe Stöhr  wrote:
>>
>>> Niko Schwarz schrieb:
>>>
>>>  in my list of figures, the numbers of the figures are standing much too
>>>> close to the captions of the figures! what can i do?
>>>>
>>>
>>> Add this command to your document preamble:
>>>
>>> \newcommand...@figure{\@dottedtocline{1}{1.5em}{2.3em}}
>>>
>>> (http://texnik.dante.de/cgi-bin/mainFAQ.cgi?file=tocloft/TOC#label)
>>>
>>> regards Uwe
>>>
>>
>>
>


Re: [Figure embedding] An easy way to share lyx documents

2009-04-16 Thread Niko Schwarz
On Mon, Apr 13, 2009 at 7:32 PM, Etienne lepercq  wrote:

>
> >[self-contained lyx-files]
> I think this feature should be at least re-discussed.


I for one have had large troubles when asking people to cooperate with me,
because I had to give them precise instructions how to set up lyx. The image
relative path thing I could solve by making lyx find the pictures using
relative paths and otherwise sharing the folder using dropbox, so i didn't
need to tar/untar anything. What was REALLY difficult was the .module I had
written for the document. It cannot be accessed by a relative path; it needs
to be inserted directly into the lyx tree. On OSX, I have to redo the module
installation procedure on every update.

I would like to point to how pages treats its documents. Pages documents are
identified with directories, which contain the required images, texts and
properties. No zipping into one archive is done. OSX then makes the
directory look like a file (called a package) in finder.

I think, sharing lyx documents would would be simplified  by providing
self-contained bundles that can be shipped around.

Niko


Re: [Figure embedding] An easy way to share lyx documents

2009-04-17 Thread Niko Schwarz
On Fri, Apr 17, 2009 at 8:53 AM, Rainer M Krug  wrote:
>
> 1) I like the lyx format as it is BECAUSE it is not compressed, so I
> would definitely not change the default format.
>

Ok, maybe I didn't make myself clear: you can have self-contained archives
with no compression at all on OSX. It works like this: you make a directory
and in that directory you dump a special file that tells finder to display
the directory as a package.

But from the command line, it is still a directory. And in finder, you can
look into the package by choosing "Show Package Contents" from the pop up
menu.

Now Pages files for example come as such "packages", you can copy that
directory around, send it through email (yea, email clients handle it
surprisingly well), and it still works.

Now, other operating systems see a directory and not a package. People using
something other than OSX would have to be reminded to copy the directory
around the .lyx file around, which would be managed by lyx.

The file would still be accessible, no performance penalty, but complete
send-aroundability, and while it might feel a little alien on other OS's, on
OSX it's the standard way to do such things, so OSX users will cheer.

cheers,

niko


Re: [Figure embedding] An easy way to share lyx documents

2009-04-18 Thread Niko Schwarz
oh, i didn't know that's possible!
hmm, that would solve the update thing!

niko

On Sat, Apr 18, 2009 at 2:47 PM, BH  wrote:

> On Sat, Apr 18, 2009 at 5:38 AM, Christian Ridderström
>  wrote:
> > On Fri, 17 Apr 2009, Niko Schwarz wrote:
> >
> >> need to tar/untar anything. What was REALLY difficult was the .module I
> >> had written for the document. It cannot be accessed by a relative path;
> it
> >> needs to be inserted directly into the lyx tree. On OSX, I have to redo
> the
> >> module installation procedure on every update.
> >
> > Have you reported this? At the very least it sounds like a feature
> request
> > that you don't want to have to use absolute paths to .module.
>
> Niko -
>
> Are you putting modules in the right place? If you put them in
> ~/Library/Application Support/LyX-1.6/layouts, then you should have no
> problems with updates.
>
> Bennett
>


tables numbered chapter-wise

2009-04-19 Thread Niko Schwarz

Hello,

using ams-book, the tables i use are numbered sequentielly PER  
CHAPTER. the result is that i have three tables all called "Table 1".  
How do I change that?


niko


Re: tables numbered chapter-wise

2009-04-19 Thread Niko Schwarz
the ccaption package says, i should do this:

\makeatletter

\...@removefromreset{table}{chapter}

\renewcommand{\thetable}{\arabic{table}}

\makeatother


however, when i put it into the preamble, latex complains that
Undefined control sequence.

 \...@removefromreset

{table}{chapter}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.


niko

On Sun, Apr 19, 2009 at 3:49 PM, Niko Schwarz
wrote:

> Hello,
>
> using ams-book, the tables i use are numbered sequentielly PER CHAPTER. the
> result is that i have three tables all called "Table 1". How do I change
> that?
>
> niko
>


Re: tables numbered chapter-wise

2009-04-19 Thread Niko Schwarz
i tried it with \usepackage{ccaption}. doesn't change the error message.
i think i need help.

On Sun, Apr 19, 2009 at 4:33 PM, Niko Schwarz
wrote:

> the ccaption package says, i should do this:
>
> \makeatletter
>
> \...@removefromreset{table}{chapter}
>
> \renewcommand{\thetable}{\arabic{table}}
>
> \makeatother
>
>
> however, when i put it into the preamble, latex complains that
> Undefined control sequence.
>
>   \...@removefromreset
>
> {table}{chapter}
>
> The control sequence at the end of the top line
>
> of your error message was never \def'ed. If you have
>
> misspelled it (e.g., `\hobx'), type `I' and the correct
>
> spelling (e.g., `I\hbox'). Otherwise just continue,
>
> and I'll forget about whatever was undefined.
>
>
> niko
>
> On Sun, Apr 19, 2009 at 3:49 PM, Niko Schwarz  > wrote:
>
>> Hello,
>>
>> using ams-book, the tables i use are numbered sequentielly PER CHAPTER.
>> the result is that i have three tables all called "Table 1". How do I change
>> that?
>>
>> niko
>>
>
>


list of algorithms

2009-04-19 Thread Niko Schwarz
 when I have the list of algorithms created,

\listof{algorithm}{List of Algorithms},


then latex says this:


TeX capacity exceeded, sorry [input stack size=5000].


does anyone have an idea? thanks,


niko


Re: tables numbered chapter-wise

2009-04-19 Thread Niko Schwarz
aha! turns out that i am the biggest latex-guru of all times.

\usepackage{remreset}

\usepackage{ccaption}

\...@removefromreset{table}{chapter}

\renewcommand{\thetable}{\arabic{table}}


this does the trick!


niko

On Sun, Apr 19, 2009 at 5:04 PM, Niko Schwarz
wrote:

> i tried it with \usepackage{ccaption}. doesn't change the error message.
> i think i need help.
>
>
> On Sun, Apr 19, 2009 at 4:33 PM, Niko Schwarz  > wrote:
>
>> the ccaption package says, i should do this:
>>
>> \makeatletter
>>
>> \...@removefromreset{table}{chapter}
>>
>> \renewcommand{\thetable}{\arabic{table}}
>>
>> \makeatother
>>
>>
>> however, when i put it into the preamble, latex complains that
>> Undefined control sequence.
>>
>>   \...@removefromreset
>>
>> {table}{chapter}
>>
>> The control sequence at the end of the top line
>>
>> of your error message was never \def'ed. If you have
>>
>> misspelled it (e.g., `\hobx'), type `I' and the correct
>>
>> spelling (e.g., `I\hbox'). Otherwise just continue,
>>
>> and I'll forget about whatever was undefined.
>>
>>
>> niko
>>
>> On Sun, Apr 19, 2009 at 3:49 PM, Niko Schwarz <
>> niko.schw...@googlemail.com> wrote:
>>
>>> Hello,
>>>
>>> using ams-book, the tables i use are numbered sequentielly PER CHAPTER.
>>> the result is that i have three tables all called "Table 1". How do I change
>>> that?
>>>
>>> niko
>>>
>>
>>
>


ams-book double-sided!

2009-04-21 Thread Niko Schwarz
hi!
how do i make my ams-book document double-sided? the page numbers should
appear left and right alternating, and the chapters should only start on
right-side pages.

niko


Re: ams-book double-sided!

2009-04-21 Thread Niko Schwarz
ahh, it's in the menu! found it!

On Tue, Apr 21, 2009 at 5:53 PM, Niko Schwarz
wrote:

> hi!
> how do i make my ams-book document double-sided? the page numbers should
> appear left and right alternating, and the chapters should only start on
> right-side pages.
>
> niko
>


Where do I put modules again so they won't be overwritten each time I update lyx?

2009-07-29 Thread Niko Schwarz
Hi,

Where do I put modules again so they won't be overwritten each time I
update lyx?

Cheers,

Niko


e.g. and other dots that do not end sentences

2009-08-05 Thread Niko Schwarz
Hello!

How do you type things like e.g. in lyx? If you do not take special
care, it is translated to latex merely as "e.g." and therefore creates
a giant space after the abbreviation. How to avoid that?

Cheers,

Niko


Opening the same file twice

2009-08-31 Thread Niko Schwarz
Hi,

when I open the same file twice in lyx, it behaves very strangely. It
crashes when I close the window which was second to be opened.

I would recommend checking upon file opening if the file is open
already and if so, bring it to the foreground.

Cheers,

Niko


Re: Opening the same file twice

2009-08-31 Thread Niko Schwarz
Maybe I should clarify: I'm using 1.6.3 on OSX 10.5

On Mon, Aug 31, 2009 at 6:12 PM, Niko
Schwarz wrote:
> Hi,
>
> when I open the same file twice in lyx, it behaves very strangely. It
> crashes when I close the window which was second to be opened.
>
> I would recommend checking upon file opening if the file is open
> already and if so, bring it to the foreground.
>
> Cheers,
>
> Niko
>


LNCS page numbers

2009-09-03 Thread Niko Schwarz
Hi, how can I turn ON the page numbers using the LLNCS (lecture notes  
on computer science or something) layout?


thanks in advance,

niko


Ninja mode

2010-02-22 Thread Niko Schwarz
Hi y'all,

what helped popularize git in my research group was undoubtably to
ninja into git using git-svn, that is: people like I could switch from
svn to git, and it wouldn't force others to change their workflows.

I find it quite a pity that lyx has no ninja mode. That is: a mode of
lyx that would allow me to change a versioned latex document from
within lyx, which stores its meta information in a separate .lyxextra
file, but exports itself constantly to the shared .tex file, such that
the .tex file and lyx are always in sync.

I know I could import and export manually all the time, and
conceptually, that would (seriously!) be good enough for me. But it's
too much pressing buttons  to be productive. Does anyone do it that
way?

How do you ninja lyx into your research groups?

Cheers,

Niko

-- 
twitter.com/nes1983


Re: Ninja mode

2010-02-25 Thread Niko Schwarz
Well, yea. So what? It doesn't need to work all the time. If the Lyx
compile button doesn't work anymore, but the make script still runs,
that's good enough for me.

By the way, the lyx importer is great. I imported several docuents
which I consider quite complex,  and sometimes after a few
adaptations, often right away, they compile in lyx. Export is great,
too. So what's the problem? :)

Niko

On Thu, Feb 25, 2010 at 1:16 PM, Manveru  wrote:
>
>
> 2010/2/22 Jose Quesada 
>>
>> +1, definitely the most important thing for me is good latex integration.
>> That use case (cols use plain latex, you use lyx) is very common
>>
> But LyX was not designed to "reverse engineer" LaTeX documents, so lot of
> sophisticated solutions are problematic for LyX import.
>
> --
> Manveru
> jabber: manv...@manveru.pl
>     gg: 1624001
>   http://www.manveru.pl
>



-- 
http://scg.unibe.ch/staff/Schwarz
twitter.com/nes1983
Tel: +41 076 235 8683