Packages required under Linux

2008-05-15 Thread Daniel CLEMENT
Some recent threads raised this question. It's indeed one thing that did
puzzle me under Linux (Ubuntu), especially when compared to a Windows
install.

Only recently I found that under Synaptic, the LyX package being
selected, you could right-click and select recommended/suggested
packages for installing. A fairly large list in the first case, even
larger in the second.

I have not installed all of them. Instead, I compiled my (not-so-long)
own list of useful packages. I could post it here if someone asks, or
maybe it could go to the Wiki page Peleg Michaeli has started.

It's true that some of these packages are almost mandatory...

Regards, 
-- 

Daniel CLEMENT




Re: Packages required under Linux

2008-05-19 Thread Daniel CLEMENT
On Tuesday 15 May 2008 17:06 +0200, [EMAIL PROTECTED]
wrote:

 On Thu, 15 May 2008, Daniel CLEMENT wrote:
 

[...]

  own list of useful packages. I could post it here if someone asks, or 
  maybe it could go to the Wiki page Peleg Michaeli has started.
 
 Please add it to the wiki page, I'd certainly appreciate it!
 

I'll do it ASAP next week, no time so far.

There's one thing I'd like to check, though: it's about the package
qt4-qtconfig. I don't know how I came across this one, but I found it
allowed to customize the LyX GUI menu size/font (default is much too
small to my taste).

The question is: do we really need this package, or can we achieve the
same result without it (possibly by tweaking some configuration file)?

-- 

Daniel CLEMENT




Re: Packages required under Linux

2008-05-19 Thread Daniel CLEMENT
(new posting; the previous one apparently did not reach the list...)

On Tuesday 15 May 2008 17:06 +0200, [EMAIL PROTECTED]
wrote:

 On Thu, 15 May 2008, Daniel CLEMENT wrote:
 

[...]

  own list of useful packages. I could post it here if someone asks,
or 
  maybe it could go to the Wiki page Peleg Michaeli has started.
 
 Please add it to the wiki page, I'd certainly appreciate it!
 

I'll do it ASAP, no time so far.

There's one thing I'd like to check, though: it's about the package
qt4-qtconfig. I don't know how I came across this one, but I found it
allowed to customize the LyX GUI menu size/font (default is much too
small to my taste).

The question is: do we really need this package, or can we achieve the
same result without it (possibly by tweaking some configuration file)?

-- 

Daniel CLEMENT





Re: Packages required under Linux

2008-05-21 Thread Daniel CLEMENT
On Thursday 15 May 2008 17:06 +0200, [EMAIL PROTECTED]
wrote:


  [...] I could post it here if someone asks, or 
  maybe it could go to the Wiki page Peleg Michaeli has started.
 
 Please add it to the wiki page, I'd certainly appreciate it!
[...]

It's done:

http://wiki.lyx.org/LyX/LyXOnUbuntu

I hope it will help some users. Regards,
-- 

Daniel CLEMENT




Re: importing spreadsheet rows and columns

2008-06-01 Thread Daniel Lohmann


A (late) follow-up on this:

I have got some good experience with an open-source Excel-Plugin  
named  Excel2LaTeX. This plugin provides a toolbar button to convert  
the selected parts of an Excel table into LaTeX source code that can  
then either be saved into a file or into the clipboard.


I use this to copy tables from Excel into an empty LaTeX document  
and then import this document into a new LyX document. From there I  
use again copy and paste to copy the LyX table into the final document.


Works like a charm and also preserves much of the formattings (e.g.  
bold font headers).


Daniel


keyboard question

2008-06-24 Thread Daniel CLEMENT
Hello,

I use a US int'l keyboard --though I am French-- for more convenient
access to brackets, parentheses... in scientific software.

I have the dead keys setup, getting accented characters by typing the
accent, then the character.

However, the cedilla-c: ç is obtained by acute accent + c. This is the
case in almost every program. But LyX gives me an accented c!

How could I teach LyX to type the cedilla-c instead? I tried to tweak a
kmap file (details below) but I did not succeed so far.

BTW, OS is Linux Ubuntu.

Thanks,
-- 

Daniel Clément

PS Here is what I tried: in american.kmap I put

\kmod ' acute aeiouAEIOU

# \kmod , cedilla native

\kxmod ' c ç

No luck. What am I doing wrong?




Re: keyboard question

2008-06-24 Thread Daniel CLEMENT
On Tuesday 24 June 2008 15:13 +0200, G. Milde wrote:

 On 24.06.08, Daniel CLEMENT wrote:
  I use a US int'l keyboard I have the dead keys setup, getting
  accented characters by typing the accent, then the character.
 
  However, the cedilla-c: ç is obtained by acute accent + c. This is the
  case in almost every program. But LyX gives me an accented c!
 
 I suppose that it is converted to character 'ć' (263, 0x107)
 0107  LATIN SMALL LETTER C WITH ACUTE
 by the OS and inserted as-is by LyX.


Sure, but why doesn't the OS convert to ç like in most other programs?
LyX must have something to do with it.

  How could I teach LyX to type the cedilla-c instead? I tried to tweak a
  kmap file (details below) but I did not succeed so far.
 
 I suppose you can do without a kmap file and use a bind file to 
 bind ć to ç but I do not know about the required syntax.
 
 Günter

Well, since the ć does not appear in any bind file that I know, I
thought a kmap file was a more appropriate. Anyhow, I tried

\bind 'c ç

and

\bind ç ç

... neither worked (still getting ć). I miss the correct syntax!

-- 

Daniel Clément



Re: keyboard question

2008-06-25 Thread Daniel Clément
[sorry if double post, previous one did not work]
On Tuesday 24 June 2008 18:31 +0200, Abdelrazak Younes wrote:

[...]
 Maybe try this:
 
 \bind 'c  unicode-insert 0x00e7
 
 Abdel.
 
It looked promising, but it did not work (still gives accented c).

I don't know why 

\kxmod ' c ç

in the kmap file does not work. Isn't exactly what sect. 4.4.1 of
Customization says? 

Also, I tried a normal US keyboard setting (without dead keys): it did
not change anything. So the dead keys are not the problem.

It looks like some other setting has precedence over the ones made in
bind or kmap files...
-- 

Daniel Clément




Re: keyboard question

2008-06-25 Thread Daniel Clément
Günter,

On Wednesday 25 june 2008 à 12:19 +0200, G. Milde wrote:

[...]

 Could you find out whether the character inserted via dead-´ + c is
 *one* character (c with accent) or 
 *two* characters (c + combining acute acctent)

Not quite sure how to check this but I'd bet on single character...
 
 Both look similar at screen but are different representations.
 Deleting a two character combination sometimes(?) leaves the accent or
 the letter. The M-x accent-* functions insert two character combinations.

... because this latter behavior you describe is what I get (erase
accented c, accent remains) when I specify american.kmap while trying
to tweak it. 
By default (i.e. no kmap file selected) I can erase the accented c at
once.
(BTW I couldn't paste the character in question from LyX into this
message.)

 
 Maybe LyX does not map it to ç because it does not see the defined char.

Do you mean: in the kmap file, or the bind file? If the latter, it has
to be something like that, because I do have some personal keybindings
that work.

 
 Günter

-- 

Daniel Clément



Re: keyboard question

2008-06-26 Thread Daniel Clément
Günter,

The more I try, the less I understand... Nothing seems to work as it
should! See the reports of my attempts below

On Wednesday 25 June 2008 à 17:56 +0200, G. Milde wrote:
 On 25.06.08, Daniel Clément wrote:
  On Wednesday 25 june 2008 à 12:19 +0200, G. Milde wrote:
 
   Could you find out whether the character inserted via dead-´ + c is
   *one* character (c with accent) or 
   *two* characters (c + combining acute acctent)
 
  Not quite sure how to check this but I'd bet on single character...
 
 OK. Just let's assume this.
 
Maybe it was not the case after all
[...]
 
   Maybe LyX does not map it to ç because it does not see the defined char.
 
  Do you mean: in the kmap file, or the bind file? If the latter, it has
  to be something like that, because I do have some personal keybindings
  that work.
 
 The bind file. It uses a special naming for non-ASCII input. Looking at the
 bind files that ship with LyX helps: 
 
 $LYXDIR/bind/latinkeys.bind contains the definition:
 
 \bind cacuteself-insert
 
 which you should change to unicode-insert ... (as proposed earlier in this
 thread). 

I tried this in my /home/daniel/.lyx/bind/swpperso.bind file. (It's the
modified sciword.bind file that I use; it contains the same shortcuts as
in my former SciWord.)

It did not work.

Then I noticed that this file eventually calls latinkeys.bind. So I
tried to edit it directly, replacing the suggested line with

\bind cacute  unicode-insert 0x00e7

This, to my great disappointment, did not work either (always
acute-accented c).
 
 Hope this helps.
 
 
 BTW: Alternatives that work here are 
 
   1. Combining-Key + Komma followed by c. (in my setup, X11 translates
  this to ç, Combining-Key is the Windows Key)
 
   2. \bind Meta ,   accent-cedilla

I assume \bind M-,? --tried them both however.

  and then Alt-, c.

I tried this too, and it did not act as I wanted: M-, enters math
mode!... There mus be a conflict with another binding, but I was unable
to locate it.

  
 Günter  

I think all this is becoming unreasonably complicated. I wonder if I had
not better wait for LyX 1.6. Possibly the shortcut editor will help me
fix this...
-- 

Daniel Clément



Re: keyboard question

2008-06-26 Thread Daniel Clément
At least something that works!

On Tuesday 26 June 2008 à 09:36 +0200, G. Milde wrote:

[...]
 
 Dear LyX gurus: why does LyX ignore:
 
   \bind cacute  unicode-insert 0x00e7
 
 while e.g. 
 
   \bind M-C-comma unicode-insert 0x00e7  # insert a ç (c with cedilla)
 
 works?

YES it does! Thanks!

[...]

 You can override a keybinding if you give a new definition after the 
 input of a standard file. (Only exception are Shift-independent
 bindings with ~S where the first definition wins over other ~S
 definitions but is overwritten by either S or non-shifted defs.)

Interesting, but that does not account for my previous failed attempts.

  (It's the modified sciword.bind file that I use; it contains the same
  shortcuts as in my former SciWord.)
 
 I recommend loading the default sciword.bind in the custom bind file,

I could have done this, but I had to actually modify some definitions in
sciword.bind. (It appears to match a rather old version o SciWord...)

I have more or less concluded that: once a key is dead in the keyboard
setup (in the OS I mean), it cannot be used effectively in a \bind
sequence.

IMHO the kmap file would have been the most appropriate place to deal
with this, but I was unable to get it working.

However, I'm quite pleased with the workaround that you gave me. Thanks
again.

-- 

Daniel Clément



Re: keyboard question

2008-06-27 Thread Daniel Clément
Hi Hellmut,

On Friday 27 June 2008 00:05 +0200, Hellmut Weber wrote:

[...]

 Under Linux there is a nice little program 'xev' which gives you the key 
 code for all keys.

Interesting. I didn't know this, I'll check this out.

 You could try to define your personal bind file in '$HOME/.lyx/bind/...'
 You'll find info on global and local bind files somewhere in the (more 
 advanced ;-) LyX documentation.
[...]

That's just what I have done, I read the docs too :-)
But as I said in my previous reply to Günter, I doubt that the bind file
can take care of a dead key (the acute accent in my case).

At least, I was  unable to get any \bind 'c sequence working.
Following Günter, I used the Meta key to get a workaround.

Regards, 
-- 

Daniel Clément



Re: keyboard question

2008-06-27 Thread Daniel Clément
On Friday 27 June 2008 17:29 +0200, Pavel Sanda wrote:
  PS Here is what I tried: in american.kmap I put
  
  \kmod ' acute aeiouAEIOU
  
  # \kmod , cedilla native
  
  \kxmod ' c ç
 
 just a wild guess, what happen with this:
 
 \kxmod acute c ç
 
 pavel

This still gives me an accented c... 

However, it does have a strange side effect. In order to test this, I
choose remap keyboard in LyX, then point to the american.kmap edited
as above.

Then, my dead keys seem to be doubly dead (undead?) in the following
sense: I must type _two_ spaces after a dead key so as to get the
corresponding character (normally, one is enough).

Furthermore, I don't get a single quote this way, but an isolated acute
accent. In other words, with such a keyboard remap, it's impossible to
get a single quote in LyX.

And at last, only the accents (acute, grave, circonflex...) exhibit this
behavior. The double quote retains its normal dead key behavior.

All this seems stranger and stranger... Why doesn't LyX react as most other 
apps?...

-- 

Daniel Clément



Re: Converting msword to LyX is ugly!

2008-07-19 Thread Daniel Lohmann

Hi Steve,

Have you already considered importing the Word document into  
OpenOffice Writer and letting one of the OO-LaTeX converters do the  
hard work?
(http://www.hj-gym.dk/~hj/writer2latex/ is one exmple, there might be  
others)


No, I have never tried or used one of those. However, I heard about  
success stories -- might be worth a try.


Daniel



On 18.07.2008, at 21:28, Steve Litt wrote:


Hi all,

I have a 300 page book written in MS Word version 97, and I have to  
convert it

to LyX in order to make the second edition.

I'll accept all condolences now :-)

Believe it or not, the MS Word version was written very much what  
you guys
would call WYSIWYM. I had styles for everything -- almost no  
appearance was
fine tuned. Obviously it's essential that all those styles transfer  
over into

the LyX version.

I'll accept all condolences now :-)

So heres what my plan, unless someone else has a better idea.

First, I'll export to RTF.

I'll accept all condolences now :-)

Then in Vim I'll do this:

:%s/}/}\r/g

Now the rtf file will have lines that are somewhat recognizeable as  
markup.


Next I'll look at the \stylesheet part of the RTF, and make a list  
of all

paragraph and character styles, sort of like this:

\fs20 Normal
\s1 heading 1
\s2 heading 2
\cs10 \additive Default Paragraph Font
\s16 myparagraphstyle
\cs17 mycharstyle
\cs18 mycharstyle2

Then, within Vim I'll run substitions so that the text referred to  
by the
numbers such as \s2 are prepended with my own tags such as phdr2,  
and better
yet that text has a proper ending tag appended. This is not so  
simple for

three reasons:

1) There's always a bunch of gobblety gook between the \s2 and the  
text to

which it refers, and that must eventually be deleted.

2) There's often gobblety gook before the \s2, and that gobblety  
gook must

eventually be deleted.

3) It's MUCH harder to reliably put end tags at the end of the text  
to which
it refers. If I don't put end tags, that means I'll have a much  
harder time

converting it to LyX.

Next, I'll re-import the rtf into MS Word. What should happen is it  
re-imports
the same as it originally was, only now it has my tags. From there I  
should
be able to export it to plain text, and use my tags to create the  
LyX file
with suitable scripts. Or maybe make scripts to directly manipulate  
the RTF.
Of course, for all my custom character and paragraph styles, I'll  
need to
create those styles within LyX, in a blank document, before  
appending the

actual content.

Then comes the cleanup. Stuff like tables and images won't convert  
-- I'll
need to manually do that cleanup and then run at least a rough  
proofread.


The good news is, because the original document used styles for  
almost every

appearance, fine tuning won't be necessary (hooray for styles!).

I'd estimate this to be about a week's job. That's a lot of time,  
but in the
end I'll have converted a 300 page book, style for style, from MS  
Word to

LyX.

If anyone has a better idea for converting a 300 page MS Word  
document to LyX,

style for style and word for word, please let me know.

Thanks

STeveT

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




Re: Converting msword to LyX is ugly!

2008-07-20 Thread Daniel Lohmann


On 20.07.2008, at 05:44, Steve Litt wrote:


On Saturday 19 July 2008 19:57, Typhoon wrote:

SNIP


This is by far the best solution, in my opinion.

Unfortunately for me, my only Windows machine is a 1997 Pentium
II/300 with 128MB of RAM, which would be painfully slow.


Steve,
What happens if you import the RTF file into OO and then follow the
procedures suggested?


I don't know. I don't trust OO Writer as far as I can throw my  
house. OO

Writer's not touching my book.

About 2 years ago, during one of my occasional I'm mad at LyX  
months, I
evaluated OO Writer as book writing software. What I would have lost  
in
typeset quality, I hoped to gain in faster creation of styles.  
However, OO

Writer kept changing styles all by itself. It was one of the most
untrustworthy pieces of software I've ever seen. That gave me an  
incentive to

learn a lot more about LyX style creation.


Steve,

Do not close this door to early. While I can understand very well that  
you actually do not like OO Writer, I think you should give it another  
try -- you do not have to really work with it.


Even if all that Writer2LaTeX stuff does not work, OO Writer might be  
a good transition format:


(1) OO Writer preserves the structure of styles when importing from  
Word (AFAIK).
(2) OO uses an XML-based document format (zips them on disk, but you  
can just use a common unzip tool to get the actual content)


The XLM-based representation is for sure a better source for script- 
based / structure-preserving transformation than RTF.



Daniel 
 


Size of preview image

2008-07-27 Thread Daniel Lohmann

Hi,

Is there any way to change the size LyX uses internally when creating  
the bitmaps for preview images? In many cases, the default size of the  
preview image is to small. I know that I can specify a preview scaling  
factor in the graphics settings, however, that causes the *bitmap* to  
be scaled -- which then becomes rather unreadable.


Ideally, Lyx would create a new preview bitmap when the scale settings  
are changed. A maybe simpler way might be to create the bitmaps  
internally for a 200% scale factor and scale them down on screen.


Daniel


Re: Lyx functions

2008-07-28 Thread Daniel Lohmann


I really like lyx. I just find something a bit hard. Some things  
are easier
to be done via the keyboard (otherwise it's back to MS point and  
click
nightmare). I mean in an equation it is much easier to just do \pi  
for Pi or
\neq for the not equal sign. What about in standard mode when I am  
writing
text? Can I use lyx as a non WYSIWYG editor? I heard some people  
say using
vim and then compiling the document but I really don't have time  
learning
the whole lot of things about TeX/Latex and I would like partial  
WYSIWYG
with options of inputing source directly and the application  
substituting it

with the appropriate symbols. Can Lyx do that?


Note that in LyX equations you actually can type math commands (like  
\pi), Lyx then automagically replaces them by the corresponding symbol  
-- IMHO a really cool features!


 Daniel


Re: Interesting thread on Slashdot

2008-07-31 Thread Daniel Lohmann


On 31.07.2008, at 08:55, Andre Poenitz wrote:


On Wed, Jul 30, 2008 at 04:17:29PM -0500, Denné Reed wrote:

[..]
I've also had problems with journal and book editors, one of which
insisted I convert a book chapter written in LyX into Word format
despite the fact that the publisher  (Elsevier) has a LaTeX document
class available.


Elsevier seems to have a funny way to handle .tex. Even though they
accept .tex and even provide .sty for that, they seem to send the
submissions to India and have them re-typed _manually_ in whatever
system they use for the final typesetting. That's my only explanation
for them being able to remove typos, introduce new ones and messing up
tables ;-} Given that the result looks pretty TeX-ish that's...  
wierd.


That explains a lot...

I also had problems with getting them to accept  my paper as LaTeX  
document. Dozens of e-mails where we literary had to explain the woman  
on the other side (with an elsvier.com e-mail address) that our  
document does not open in Word, that a ZIP-Archive has to unpacked  
before doing some with it, that postscript does also not open in word,  
how to produce a postscript file... I could not believe that we were  
actually interacting with a professional publisher. In the end we did  
send her the postscript file, which obviously got re-typed for the  
journal. The result was horrible.



Daniel

Re: Conflict with Hyperref + Floats?

2008-08-08 Thread Daniel Lohmann


On 08.08.2008, at 08:03, Ryan Cross wrote:


HI,
I posted a message yesterday about a problem I was having with  
algorithm
floats. I did a lot of debugging and finally (after very long line  
by line
debugging) found that the problem seems to be some sort of conflict  
when
using the hyperref package. Can anyone else confirm this? Does  
anyone know

of a work around? Any other advice/help is very welcome!


Do you include hyperref last in your preamble, that is, after all  
other packages that potentially define new float types?


I remember cases where I got very strange errors if new float types  
were defined after hyperref has already been loaded.



Daniel


Re: I'm unable to add a language to the listing package

2008-08-11 Thread Daniel Lohmann


On 10.08.2008, at 18:24, Paul A. Rubin wrote:


Steve Burton wrote:


I tried using ERT. If I got it wrong Lyx crashed.


If that's reproducible, it should probably be entered into bugzilla.


If I got it right it
worked until I closed Lyx. When the document was re-opened Lyx  
spotted

the  listings stuff but didn't understand the language. Return to Go,
go directly to Go, do not collect £200!


When you reopened the doc, did LyX convert your ERT listings stuff  
to a listings inset??  If so, that can probably be worked around.   
You could load the listings package in the preamble and add a new  
environment (say mylistings) that simply begins/ends a listings  
environment with your new language selected.  Then use  
\begin{mylistings}...\end{mylistings} in ERT.  I doubt LyX would  
make any attempt to convert that.


I do not think that this is the problem. I used to use listings in ERT  
all the time and LyX never converted it automagically. I only  
recently switched to the listings inset, so in many of my documents  
ERT-based listings and listing insets now happily co-exist. I also use  
an own language.


A better workaround:

Load (or define) your language in the preamble. In the listings inset  
select No language, go to the Advanced page and directly pass the  
language= parameter to listings.


Daniel

Re: Links to external images in PDF generated by LyX.

2008-08-15 Thread Daniel Lohmann


On 15.08.2008, at 21:12, Rudi Gaelzer wrote:

I'd like to generate a PDF file where the figures/images are not  
incorporated into it, but rather
have links that points to  external image files (jpeg, eps, and  
whatnot).


Doing that, I can restrict the size of each individual size instead  
of generating a large PDF file

with everything in it...

Is it possible to do something like this using LyX/LaTeX?



Hi Rudi,

I am not sure if I understand your question correctly:

(1) Do want to have links in the PDF (like URLs) the user can click  
onto to open the (external) material, which can be an image or  
whatever? Well, this can be achieved with the hyperref LaTeX package  
and LyX's  built-in support for simple URLs  (Insert-URL). More  
sophisticated things are possible with using hyperref commands in ERT.  
Take a look at the LyX manuals and the hyperref package documentation.


(2) Or do you want the figures to be visible in the PDF, but  
nevertheless loaded from external files when the PDF file is opened  
(like an external graphics in Word)?
I have never seen something like this. To my best knowledge,  PDF  
files have to be self-contained. So this is most probably not possible.



Daniel


Re: Koma-script letter error on Windows but not on Mac

2008-08-18 Thread Daniel Lohmann


On 18.08.2008, at 18:27, Graham Smith wrote:


I have a letter set up on a Mac, which works fine, but copying it to
Windows and trying to compile gives me the following error:
--
}

You have used \KOMAoptions to set `',
but KOMA-Script does not know any option named `'.
See the KOMA-Script manual for more informations about options and
their values.
-

Is  there something obviously different between the Mac and Windows  
that

could help me solve this problem.



Mac prefers to store text files in UTF-8, while Windows tends to use   
either 16 bit unicode or ISO with codepages. Another issue are line  
endings. So you often need to convert text files when moving from one  
system to another.


Open the files with a text editor (such as TextWrangler) that can  
translate them  to Windows.


Daniel 


Re: Lyx cross platform compatability - is there a problem?

2008-08-20 Thread Daniel Lohmann


On 19.08.2008, at 21:21, Graham Smith wrote:


On 19 Aug 2008, at 19:57, Christian Ridderström wrote:


On Tue, 19 Aug 2008, Graham Smith wrote:

As you will see, from my other post, the issue was a leading comma  
in the preamble, setting the Komascript options.


It seems that both the Mac and Linux are forgiving of this syntax  
error, but Windows is not.


So it isn't a Windows issue


Hi Graham,

I'm glad you solved the problem.


I want to add a word of encouragement here: In out group we have been  
co-writing papers and documents using LyX on Windows/Linux/OSX for  
years:


- There never, ever has been a problem with LyX itself.
- Only occasionally (2 or 3 times) we had compatibility issues with  
different versions of one of the supporting tools. Usually,  different  
versions of ImageMagik were the cause.


Overall, I can truly recommend LyX as a cross-plattform document  
processor!


Daniel

Re: LyX for MAC: problems in handling file images

2008-08-26 Thread Daniel Lohmann


On 26.08.2008, at 04:15, Bennett Helm wrote:


On Mon, Aug 25, 2008 at 4:18 PM, Pierfranco Minsenti 
[EMAIL PROTECTED] wrote:


I have checked my installation of ImageMagick: 6.3.3.
Most elements are in the .usr/local/lib
Maybe I installed it when I installed the full MacTeX package  
containing

the texlive2007 package.



It *is* installed with MacTeX.

If you can, you might want to wait a week or so (it should be out  
real soon
now) to download MacTeX based on texlive 2008; installing that will  
give
you a new installation of ImageMagick. Alternatively, you could use  
MacTeX

2007 to do it again.

But these are big downloads, and I'm not even sure if this will  
solve the

problem.



Pierfranco,

I have had problems with ImageMagick, too, they disappeared after  
installing the newest version.


I can really recommend MacPorts for this type of software  
installations. There are good chances that you already have installed  
MacPorts on your box. If not, it is anyway a good idea to get it. Most  
OpenSource programs and tools are provided as a MacPorts package for  
OSX; installing and  especially upgrading such software via MacPorts  
is very convenient.


So open a terminal window and type the following commands:

sudo port selfupdate
sudo port install ImageMagick

This may take a while. If sudo moans that port can not be found,  
you have to install MacPorts first. AFAIK you can find it on the  
second DVD that comes with Leopard. Otherwise look at http://www.macports.org



Daniel


Bug in listings inset (Lyx 1.5.6, OS X)

2008-08-27 Thread Daniel Lohmann

Hi,

I just discovered a feature of the listings inset that actually  
should be considered as a bug: Additional options given on the  
advanced page are implicitly sorted alphabetically. However, if using  
listing styles, the order of options is relevant. Consider the  
following example:


In my preamble, I have defined a custom listings style:

  \lstdefinestyle{acstyle}{
...   % many, many  settings
mathescape=true 
  }

Now I want to apply this style, but set mathescape to false. So I type  
in the Advanced settings of the inset:


style=acstyle
mathescape=false

However, when I press Apply, LyX immediately sorts the options  
alphabetically,  which results in:


mathescape=false
style=acstyle

And hence, the mathescape=true  from the style wins :-(


IMHO this problem also shows a more general issue: When combining main  
settings and advanced settings, the order of application remains  
unclear. It seems that the same sorting rules apply here, which might  
as well yield surprising effects.


The best possible solution for this problem I can imagine would be:

  (a) to not sort options, but respect their order; and
  (b) to reflect all main settings on the Advanced page as well.

The idea behind (b) works as follows: When I activate an option in the  
Main Settings, its string representation is automatically added to  
the end of the advanced settings; when I deactivate it, it is removed.  
When I manually add an option in the advanced settings for which a  
checkbox exists in the main settings, the checkbox is activated.


Thereby,  *all* settings become visible and editable on the Advanced  
page, on which they can (because of (a)) be ordered in whatever order  
the user prefers.


However, just implementing (a) would already be a suitable workaround  
for most cases.


Daniel


Re: Bug in listings inset (Lyx 1.5.6, OS X)

2008-08-27 Thread Daniel Lohmann


On 27.08.2008, at 19:59, Georg Baum wrote:


Daniel Lohmann wrote:


Hi,

I just discovered a feature of the listings inset that actually
should be considered as a bug: Additional options given on the
advanced page are implicitly sorted alphabetically. However, if using
listing styles, the order of options is relevant. Consider the
following example:


Yep, this is a known bug, caused by the manner how the parameters are
stored: http://bugzilla.lyx.org/show_bug.cgi?id=4884

Maybe you just add your suggestions there?



Thanks Georg,

Are you sure?

Actually, I had searched  bugzilla and found bug 4884 before asking on  
the list, but to me it does not really describe the problem of  
sorting. Now after re-reading the entry I  see that it is somewhat  
related, but that is not really obvious.


If you prefer I will add my suggestions there, otherwise I would open  
a new bug (with a reference to 4884).


Daniel



Re: Installing pgfplots on the Mac

2008-08-28 Thread Daniel Lohmann


On 28.08.2008, at 21:02, Graham Smith wrote:


OK, this seems to be linked to my newness with the Mac.

I have now managed to find where the the package should go, but I  
don't seem to have permissions to add a folder and copy the the  
package into it.


I shall have a search for Mac help.



Hi Graham,

If you have at least very basic knowledge about how to use a UNIX  
command prompt this shouldn't be that difficult:


Open a Terminal window and type the following:

sudo -i
mkdir /path/to/latex/installation/pgfplot
cp -R /source/of/pgfplot/* /path/to/latex/installation/pgfplot

Depending on your LaTeX-Installation you might have to copy certain  
parts of the pgfplot-source to different target directories.



Hope that helps.

Daniel


Re: Bug in listings inset (Lyx 1.5.6, OS X)

2008-08-29 Thread Daniel Lohmann


On 29.08.2008, at 20:12, Georg Baum wrote:

Both problems would be fixed by a sane parameter handling that would  
not
store all parameters in one string, but one parameter after the  
other in
the .lyx file. Preservation of order would then be easy to implement  
as

well.


If you prefer I will add my suggestions there, otherwise I would open
a new bug (with a reference to 4884).


Do as you like, I don't really care. There are good reasons for both
alternatives.


Thanks Georg,

I have opened a new bug and added crossref comments to 4484 and 5203

http://bugzilla.lyx.org/show_bug.cgi?id=5203

Daniel


Re: old questions: no error message

2008-09-01 Thread Daniel Lohmann


On 01.09.2008, at 14:58, wangyq wrote:


Dear all:
I found it is really boring that the lyx system outputs no error  
message.
I am working a book with lyx. Now I want export it to pdf and  
forward it to others. But I found all export functions in lyx are  
dead, including exporting to dvi, pdf, ps, latex etc.  After I run  
these export functions, they immediately dies without error message.
Someone suggest that I delelte some paragraphs and find errors.  
Of course the method can not work well for a long long book.
Why not let lyx output error messages? The module is very  
important for all programming language.


Wang,
I usually solve this kind of problems by starting LyX in debug mode.
Just start it from the console with:

lyx -dbg feature[,feature]...

Where features can be taken from the following list (printed out by  
just invoking lyx -dbg):


List of supported debug flags:
 0 none  No debugging message
 1 info  General information
 2 init  Program initialisation
 4  key  Keyboard events handling
 8  gui  GUI handling
16   parser  Lyxlex grammar parser
32lyxrc  Configuration files reading
64kbmap  Custom keyboard definition
   128latex  LaTeX generation/execution
   256   mathed  Math editor
   512 font  Font handling
  1024   tclass  Textclass files reading
  2048lyxvc  Version control
  4096lyxserver  External control interface
  8192 roff  Keep *roff temporary files
 16384   action  User commands
 32768   lyxlex  The LyX Lexxer
 65536   depend  Dependency information
131072   insets  LyX Insets
262144files  Files used by LyX
524288 workarea  Workarea events
   1048576insettext  Insettext/tabular messages
   2097152 graphics  Graphics conversion and loading
   4194304  changes  Change tracking
   8388608 external  External template/inset messages
  16777216 painting  RowPainter profiling
2147483648debug  Developers' general debug messages
4294967295  any  All debugging messages



You probably should start with lyx -dbg latex, if that does not help  
try lyx -dbg any. However, in the latter case, LyX will dump tons of  
messages to the console.


 Daniel


Re: references between child documents

2008-09-02 Thread Daniel Lohmann


On 02.09.2008, at 01:22, Joao P Leitao wrote:


Hi,

I'm using Lyx for a few weeks and have a few child documents. I'd  
like to reference a Chapter of child document A in child document  
B.


I've a label in the chapter of child document A the one I want to  
reference.


Just open both documents in the LyX editor. In the Insert reference  
window, you can then choose in a drop-down box the document that  
contains the label you want to refer to.


LyX automatically merges the references from all child documents in  
this window if you also open the master document.


Daniel


Re: lyx 1.60cr2 issues

2008-09-09 Thread Daniel Lohmann


On 09.09.2008, at 11:25, G. Milde wrote:


On  9.09.08, Konrad Hofbauer wrote:

G. Milde wrote:
Besides the bug mentionend in another reply: The default settings  
will

use the extension .lyx15 for the exported file and the file-open
dialogue in LyX-1.5 will not show it, as it expects a .lyx  
extension.



At least here on the Mac LyX-1.5.6 DOES show the .lyx15-files.


Here at Debian Linux; LyX 1.5.6 the file-open dialogue does

* NOT show *.lyx15   with the default filter
 setting LyX files (*.lyx),



IMHO it should be configurable via a preferences setting that a new  
LyX version uses by default the file format of the previous one, still  
named with the extension .lyx.   (MS Word has such an option, which is  
quite useful.)


Of course, using the old file format may imply that some new features  
are not available or do not become permanent in the saved file.  
Nevertheless, it would be of tremendous help to restrict newer LyX  
versions to the older format -- especially during transition times  
(e.g., while trying out release candidates or when not all co-authors  
have already updated to the newest version.)


Daniel 


Re: Generating PDF/A from LyX/LaTeX

2008-09-12 Thread Daniel Lohmann


On 11.09.2008, at 15:55, Ernesto Posse wrote:


PS: I'm not sure how the hyperref package could help, as the document
doesn't have any hyperrefs; even the minimal file I posted earlier
fails...


Besides dealing with hyperlinks, the hyperref package provides an  
interface for many other aspects  of PDF magic (such as  PDF  
metadata, physical page size, etc.). I don't know about hyperref's PDF/ 
A capabilites, but definitely would give it a try.


Daniel


How to add a table column left of the first column?

2008-09-16 Thread Daniel Lohmann

LyX 1.5.6, MacOSX

Hi,

I have a (big and complicated) table which I need to extend by an  
additional column on the left side (the new column is to become the  
first column of the table). As far as I have figured out, the Add  
column button always inserts the new column right of the current one.


I know that I could just add the column on the right side and then use  
copypaste to move the content from the current first column to the  
new one. Unfortunately, multicolumn settings do not survive such  
action in LyX and many cells from the current first column span  
multiple columns. Hence, I would have  to manually restore multicolumn  
settings, cell by cell.


Is there a better trick?

Thanks!

Daniel


Re: List of cross references for a label

2008-09-18 Thread Daniel Lohmann


On 18.09.2008, at 15:13, rgheck wrote:


Martin Görg wrote:

On Thu, 18 Sep 2008 13:27:31 +0200, Abdelrazak Younes wrote:


is it correct that there is no functionality in LyX to show all  
cross

references pointing to a specific label? [...]
I'll file a feature request in case this functionality is really  
missing.



No need to, this feature is coming soon in 1.6.0 :-)



Great, is it already included in the current RC?



Yes.


And will it work across child documents (given that the master is  
loaded, so LyX knows about the relationship)?


Daniel,

who just had to write a sed script to get several labels renamed  
throughout his thesis. 

LyX OS-X AppleScript

2008-09-19 Thread Daniel Lohmann

LyX 1.5.5, Mac OSX 10.5.5

Hi,

I found some nice AppleScripts to move windows around and attached it  
to a Quicksilver trigger to have window movement with the keyboard (a  
feature that unfortunately is totally missing in OS X...).


This works with all applications I have tried, but LyX. The script  
gets executed (I can here the beep), but nothing happens with the  
LyX window.


Any ideas?

Thanks!

Daniel


set cur_app to (path to frontmost application as Unicode text)
beep
tell application cur_app
tell front window
set {x1, y1, x2, y2} to (get bounds)
set y1 to (y1 + 15)
set y2 to (y2 + 15)
set bounds to {x1, y1, x2, y2}
end tell
end tell



Re: Lyx 1.5.4 lof caption length

2008-09-22 Thread Daniel Lohmann


On 22.09.2008, at 16:51, Fil wrote:


Hi,

Please could you advise if you can set the caption length in LOF in  
the TOC?? . I'm using lyx 1.5.4.


I'd prefer to use the float figure caption(box) if possible so  
really I need to know if there is a
command to cut off the text in the figure box so after that point  
the lof does not list it in the
toc (but still under the figure) as I have some long descriptions  
and references listed.


I know \caption [thing to go in tof]{thing to go under figure  
\cite{book}} works, however I prefer
the figure float presentation. Plus I didn't realise this issue  
earlier and if I change I'll have to

edited 60 or so captions now.


Hi Fil,

The following might help you if you put it in the preamble.

It redefines \caption so that everything until the first period (.) is  
taken, without the period,  as short caption.


So:

  \caption{Man on moon. This picture shows Neil Armstrong, the first  
man on the moon.}


effectively becomes:

 \caption[Man on moon]{Man on moon.\\ This picture shows Neil  
Armstrong, the first man on the moon.}


Daniel


%*
%** float captions  
***

% We redefine \caption to support long figure texts. The captions
% are typesetted with indented label in \sffamily\footnotesize. The  
first
% sentence (everything up to the first period) is considered as the  
actual
% caption (typesetted in boldface and used in the toc). The remaining  
part,

% if any, is taken as figure text and typesetted below the caption.
%
% Note that captions now have to end with a period. However, if  
nothing follows

% the period (no figure text) it does not appear in the output.
%
  \let\oldcaption\caption
  \def\takeshort#1.#2\next{\gdef\short{#1}\def\two{#2\relax}%
  \gdef\everything{\if\two\relax {\bfseries #1}\else{\bfseries  
#1.}\\#2\fi}}

  \def\caption#1{\takeshort#1\next\oldcaption[\short]{\everything}}



Re: Lyx 1.5.4 lof caption length

2008-09-23 Thread Daniel Lohmann


On 23.09.2008, at 04:43, Fil wrote:


Hi Daniel,

Thanks for your quick reply. Your suggestion is what I was hoping  
for and i added it to the

preamble, but I get a lot of errors which I otherwise didn't have.

My setup is I have a main file the calls up all my other chapters.  
I'm assuming that the
modifications only need to be done for the main call up file, I did  
try to include it in the other

files just in case but it didn't have any effect.


Yes, it is supposed to be in the master document's preamble.

The errors I get are listed below and checking the latex log it  
looks like a lot of undefined
references are missing }, I have references listed in the figure  
captions to so maybe its not

recognising this properly?


I just tried, references in the captions are no problem here. It may,  
however, have to do with the LaTeX class and how it defines \caption  
and so on. I am using koma-script (srcbook).



About 40 errors, mostly -paragraph ended before \takeshort was  
complete
Latex log say suspect forgotten } ...which may be related to the  
references in caption as a lot of

these are listed.


Are you sure you have a full stop (.) somewhere in the caption? I  
only get the paragraph ended before \takeshort was complete when I  
forgot to add a full stop. Maybe you have to adapt the \takeshort  
macro definition to better reflect your situation.




Also- latex error: not in outer par mode, in latex log says  
\begin{figure}[h] you've lost some text


And -latex error:\begin{figure} on imput line 485 ended by  
\end{document}


If it looks like its going to be a lot more complicated then I may  
just do the longer method

previously mention in my first email.


Well, having to manually change 60 or more captions might well be  
worth the effort to look for a more engineering-like solution :-)


Daniel


Bibtex Problem

2008-10-10 Thread Daniel Herzig

---BeginMessage---
Hi,

I've got a problem inserting bibtex entries into my masterthesis.
I added a new entry into my bibtex database (using kbibtex). Within the 
program it shows up, but in the citation insert dialogue inside lyx it 
won't . It's a standard entry, and i already have a literature list added in 
the end of my document (that lists the other inserted citations 
beautifully) - is there maybe a database limit that lyx can handle?
(my database has about a hundred entries, that shouldn't be too much)

thanks in advance,
daniel
---End Message---


Solved: Bibtex Problem

2008-10-11 Thread Daniel Herzig
Hi,
I just solved my problem regarding the bibtex citations. There seems to be a 
limit of entries, that lyx can read from the database.
I didn't count the number of entries completely (as said the database is about 
a hundred entries). Now I opened a new database, that include the references, 
which lyx didn't see in the insert citation dialogue so far. This one I 
linked with the literature list in the end of the document  - and they are 
listed!

Daniel

PS: if somehow possible, this problem resolved would be a great improvement 
for this really good program (maybe next version - I'm using 1.5.3 linux, 
kbibtex  0.1.5, kubuntu 7.10)
---BeginMessage---
Hi,

I've got a problem inserting bibtex entries into my masterthesis.
I added a new entry into my bibtex database (using kbibtex). Within the 
program it shows up, but in the citation insert dialogue inside lyx it 
won't . It's a standard entry, and i already have a literature list added in 
the end of my document (that lists the other inserted citations 
beautifully) - is there maybe a database limit that lyx can handle?
(my database has about a hundred entries, that shouldn't be too much)

thanks in advance,
daniel
---End Message---


RE: Solved: Bibtex Problem

2008-10-12 Thread Daniel Herzig
Thank you for your quick answers! Tracing the problem I really found a syntax 
error in my database. Somehow confused by diacritic latex commands I used 
\.v{S} instead of \v{S} in one of the new entries, what somehow stopped lyx 
reading this and the following references. I removed it and now happily use 
all the references re-copied from my second database with only one.
works perfectly.

Daniel

---BeginMessage---
Hi,

I've got a problem inserting bibtex entries into my masterthesis.
I added a new entry into my bibtex database (using kbibtex). Within the 
program it shows up, but in the citation insert dialogue inside lyx it 
won't . It's a standard entry, and i already have a literature list added in 
the end of my document (that lists the other inserted citations 
beautifully) - is there maybe a database limit that lyx can handle?
(my database has about a hundred entries, that shouldn't be too much)

thanks in advance,
daniel
---End Message---


RE: Bibtex Problem

2008-10-12 Thread Daniel Herzig
Thank you, the problem was a syntax error... using a diacritic latex command 
not properly!

Daniel



Hi,

I've got a problem inserting bibtex entries into my masterthesis.
I added a new entry into my bibtex database (using kbibtex). Within the 
program it shows up, but in the citation insert dialogue inside lyx it 
won't . It's a standard entry, and i already have a literature list added in 
the end of my document (that lists the other inserted citations 
beautifully) - is there maybe a database limit that lyx can handle?
(my database has about a hundred entries, that shouldn't be too much)

thanks in advance,
daniel
---BeginMessage---
Hi,

I've got a problem inserting bibtex entries into my masterthesis.
I added a new entry into my bibtex database (using kbibtex). Within the 
program it shows up, but in the citation insert dialogue inside lyx it 
won't . It's a standard entry, and i already have a literature list added in 
the end of my document (that lists the other inserted citations 
beautifully) - is there maybe a database limit that lyx can handle?
(my database has about a hundred entries, that shouldn't be too much)

thanks in advance,
daniel
---End Message---


Different page margins in one document

2008-10-15 Thread Daniel Klein
Hi everybody,

I would like to have different page margins in the table section of my
document that in the rest of the documtent.

I added this before the Table section in ERT

\setlength{\evensidemargin}{-1cm}
\setlength{\oddsidemargin}{-1cm}
\addtolength{\textwidth}{2cm}

Unfortunately only everything else but the caption width adjusts. Any
suggestions to make the caption to adjust, too? Thanks in advance

Best
-Daniel
-- 

Daniel Klein
University of Mannheim
L9, 1-2 (Room 507), 68131 Mannheim
Phone: +49-(0)621-181-1974
Fax: +49-(0)621-181-1980


Different page margins in one document

2008-10-17 Thread Daniel Klein
Hi everybody,

I would like to have different page margins in the table section of my
document that in the rest of the documtent.

I added this before the Table section in ERT

\setlength{\evensidemargin}{-1cm}
\setlength{\oddsidemargin}{-1cm}
\addtolength{\textwidth}{2cm}

Unfortunately only everything else but the caption width adjusts. Any
suggestions to make the caption to adjust, too? Thanks in advance

Best
-Daniel
-- 

Daniel Klein
University of Mannheim
L9, 1-2 (Room 507), 68131 Mannheim
Phone: +49-(0)621-181-1974
Fax: +49-(0)621-181-1980



png graphics

2008-10-19 Thread Daniel Herzig
 Hello,

I've got a problem regarding inserting graphics into my thesis.
I already inserted one .png graphic (a scan converted into a 450x443 png), and 
it shows up nicely in my pdf document in a suitable size (some 5x5cm) without 
scaling in lyx. I don't really know how the word is called in English, but 
used the insert freeflowing - object option. as described in the wiki, i 
first inserted the graphics not in the frame, that appears next to 
the object 1:  label, but above it (option insert graphics). then i 
deleted the label with the frame and wrote my own one. (in the wiki I read 
that this is the only way to get the labels customized (position and name).

today i created another one, using gimp, which i saved as .png too (exactly 
the same size). when i tried to insert it right above the header of the next 
chapter (I'm planning to continue writing tomorrow morning), it didn't show 
up at all in the .pdf (whereath visible in lyx; this just resulted in pushing 
my footers of this page into the page number in the .pdf).
when i tried to insert it (the same way as described above) in another place , 
it showed up huge (filling almost the hole page) and transparently placed 
over the text (whereath a gap in the text is visible for a freeflowing 
object). scaling the object in lyx (to 25%) helps a bit, but 1) the page 
mirror is somewhat distorted (resulting in some sentences being shown outside 
the printable part of the page) and 2) the graphic is displayed in an ugly 
way (without the bottom and left side of the frame).

I compared the two graphics and they have exactly the same characteristics 
(.png, 32 bpp, 450x443, compression huffman (deflate), color: RGB/alpha/ 
although it's all greyscale). if i watch them in gimp they also have exactly 
the same size.

Any help is greatly appreciated, because these are the only two, but rather 
important graphics, that I use in my thesis.
I'm using:
lyx 1.5.3 linux 
komaskript-book
latex preamble:
\let\oldquote\quote
\renewcommand\quote{\small\oldquote}
\let\oldquotation\quotation
\renewcommand\quotation{\small\oldquotation}

Daniel


Re: Importing texinfo files

2008-10-20 Thread Daniel Lohmann


On 20.10.2008, at 14:11, Keith Roberts wrote:


On Mon, 20 Oct 2008, Keith Roberts wrote:


To: lyx-users@lists.lyx.org
From: Keith Roberts [EMAIL PROTECTED]
Subject: Importing texinfo files
Is it possible to import a Linux textinfo document and then convert  
it to PDF for viewing and printing out in LyX please?


Woops! It's actually a Linux man page - tree.1.gz

I'm need a way to typeset it for printing out.

I copied and pasted the screen text to a text file and printed that.  
The line length has messed up the output though.


If you just need a nice printed version of the man page:

man -t manpage

dumps a man page in nicely formattted postscript to stdout. You can  
pipe this directly into lpr, gv, pstopdf or whatever.


Daniel


Automagically reduce the spacing between ++ in the word C++

2008-10-22 Thread Daniel Lohmann

Hi,

I am currently in the process of polishing the typesetting of my  
thesis. One of the things I would like to achieve is to reduce the  
spacing between ++ in the words C++ and AspectC++, as this looks  
somewhat strange with the font I am using.


This question is somewhat related to the thread

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg66864.html

where the original poster asked for a way to reduce the space between  
the two slashes in hyperlinks. However, the original solution does not  
work in my case, as C++ and AspectC++ are not typeset by any kind of  
(La)TeX command, but are just ordinary words. Replacing all  
occurrences with some ERT box is not an option, as this would cause  
too much hassle and would not work in external material, such as  
bibliographic entries. I am looking for a more elegant solution.


I think that I remember to have read about so-called  catcodes (or  
whatever?) in TeX, which apparently make it possible to declare  
certain characters as active so that further processing is possible  
whenever the TeX scanner reads such character. I wonder if it is  
possible this way to declare in the preamble that

C followed by +, followed by +
is active and should be inherently substituted with something like  
\mbox{C+\hspace{-.5ex}+}}


Any TeX gurus on this list who might help me?

Thanks!

Daniel




Re: Automagically reduce the spacing between ++ in the word C++

2008-10-22 Thread Daniel Lohmann


On 22.10.2008, at 14:12, Charles de Miramon wrote:


Daniel Lohmann wrote:
[...]

occurrences with some ERT box is not an option, as this would cause
too much hassle and would not work in external material, such as
bibliographic entries. I am looking for a more elegant solution.

The easiest way would be to process your latex and bib files through  
a sed

script to replace C++ to \C++ and define a \C++ macro with the correct
space between C and +


Thanks Charles!

However, I am editing and working in LyX, not LaTeX. Replacing C++ in  
the lyx files by the correct ERT boxes is somewhat more complicated,  
as it requires inserting some extra begin_inset and  end_inset lines.  
Moreover, this would not cover the occurrences of C++ in the  
bibliography.





I think that I remember to have read about so-called  catcodes (or
whatever?) in TeX, which apparently make it possible to declare
certain characters as active so that further processing is possible
whenever the TeX scanner reads such character. I wonder if it is
possible this way to declare in the preamble that
C followed by +, followed by +
is active and should be inherently substituted with something like
\mbox{C+\hspace{-.5ex}+}}


It is possible to redefine in TeX the letter C catcode and then test  
if it

is followed by two +. But it is a lot of work (TeX macros are not very
easy) and maybe it is like using a hammer to kill a fly.


Well, I really do like hammers! :-)

Daniel


Re: Automagically reduce the spacing between ++ in the word C++

2008-10-22 Thread Daniel Lohmann


On 22.10.2008, at 14:07, Konrad Hofbauer wrote:


Daniel Lohmann wrote:

Any TeX gurus on this list who might help me?


If you don't get any answer here, try in the comp.text.tex newsgroup.


Thanks Konrad!

Daniel,

who is hoping nevertheless to find an expert here :-)


Re: Automagically reduce the spacing between ++ in the word C++

2008-10-22 Thread Daniel Lohmann


On 23.10.2008, at 00:00, Andre Poenitz wrote:

Since I started to waste the evening with TeX, the final version:

  \def\plus{+}
  \def\gobble#1{}
  \catcode`\+=\active

  \def\checknextchar{%
\ifx\nextchar+%
   \raisebox{0.6ex}{\tiny\plus\kern-.3ex\plus}%
   \let\next\gobble%
\else%
   \plus%
   \let\next\relax%
\fi%
\next%
  }

  \def+{\futurelet\nextchar\checknextchar}

It starts getting readable, so I better stop now.


Andre', thanks a lot!

*That* is quite impressive -- and actually readable. I think I even  
understand it!


I applied it immediately to my thesis document -- and had to learn  
quickly that my clever-to-be idea wasn't actually that clever.  
Apparently, I use C++ in quite some label texts. Well, that would be  
easy to fix, wouldn't it? However, not so easy to fix would be the  
listings package. You cannot  imagine how many times the string C++  
is used internally when you apply lstlisting to typeset C++ listings...


Turning characters into active characters is a really good way to shot  
oneself into the knee :-)


I nevertheless kept this code as a comment in my preamble, just to  
keep the reference. It really is the most readable application of  
catcodes I have ever seen and I have learned a lot from it!


Daniel



Re: Poll for the default icon theme in LyX 2.0

2011-03-30 Thread Daniel CLEMENT
Wolfgang Engelmann wrote:

 libreoffice

+1

BTW, does default mean that users will be able to change? If so, is it
new in 2.0?

In 1.6.9, I have not found any way to change them (am I wrong?)

Regards,
-- 
Daniel CLEMENT




Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-03-31 Thread Daniel CLEMENT
Dear Pavel and all,

The French translation are mostly OK, but I'm puzzled by these two lines
(especially the first):

List of Tableaux Liste des tableaux (TO)
List of Tables Liste des tableaux

Why not simply tableaux - tableaux / tables - tables, since both are
French names as well?

Also:

Acknowledgement Remerciement

In French, Remerciements is almost always plural, I think.

Just my 2 cents...

Regards - Daniel Clément

Pavel Sanda wrote:
 Dear translators,
 
 one of the new features in the upcoming LyX 2.0 is automatic translation
 of math environments strings (and some floats) to the localized form.
 For example Exercise becomes Aufgabe in the output of the documents
 with language set to german.
 
 In the attached file you find a list of translations which will appear in
 exported documents, not only in the GUI. These translations will be fixed for
 the 2.0.x release cycle, since the contents of documents must not change
 between minor releases. It is still possible to add or change these
 translations in .po files as usual, but these updates will only be used for 
 the
 GUI and not appear in the file lib/layouttranslations, which is used for the
 exported translations.
 
 Please go through all entries in the attached file for your language and 
 ensure that they are correctly translated. Make any needed update in the .po 
 files as usual. The lib/layouttranslations file will be regenerated 
 automatically from the .po files before the final 2.0.0 release.
 
 Similarly, if you are not translator (yet) but interested user, which
 would like to have this feature working in your language, let me know
 the fixes or new translations. Its about 30 items, so nothing which
 expects tons of your time.
 
 Pavel

-- 
Daniel CLEMENT




No ligatures in Palatino?

2011-04-07 Thread Daniel CLEMENT
Dear list members,

I have been using the palatino font for a while. But I only recently
noticed that, in documents using this font, no ligatures appeared (e.g.
in ff, fi, ...).

However, the various dashes (--, ---) do get linked properly. Aren't
these ligatures?

What do you think of this? I searched the WiKi and the list archive, and
I came across this message:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg45849.html

...but it's pretty old, and perhaps no longer relevant.

I hope it's not a FAQ. Once again, thanks for your help.
-- 
Daniel CLEMENT








Re: No ligatures in Palatino?

2011-04-07 Thread Daniel CLEMENT
First, thanks for your reply.

Liviu Andronic wrote:
[...]
  I have been using the palatino font for a while. But I only recently
  noticed that, in documents using this font, no ligatures appeared (e.g.
  in ff, fi, ...).
 
 Not an expert, but they seem to appear when using TeX Gyre Pagella, a
 Palatino clone. See attached (docs created in RC2).

Hum... On the attached .PDF, I do see the ligature between the two
ff (which I usually miss) and the dashes (which I have).

However, I don't see any ligature between f and i, either in fi or
ffi.

(I am under 1.6.9 so I was unable to open the attached .LYX file.)

Could something be wrong/missing with my setup (1.6.9 / Ubuntu Lucid /
Evince)?

 
 Regards
 Liviu
 
 
 [...]
 
Regards,
-- 
Daniel CLEMENT




Re: No ligatures in Palatino?

2011-04-07 Thread Daniel CLEMENT
Thanks, that did the trick.

I had to install the tex-gyre package. Then...

Liviu Andronic wrote:
 On Thu, Apr 7, 2011 at 1:22 PM, Daniel CLEMENT dcleme...@sfr.fr wrote:
  Hum... On the attached .PDF, I do see the ligature between the two
  ff (which I usually miss) and the dashes (which I have).
 
  However, I don't see any ligature between f and i, either in fi or
  ffi.
 
  (I am under 1.6.9 so I was unable to open the attached .LYX file.)
 
 Open in a text file and see the lines in the preamble.

... the \usepackage{tgpagella} allowed me to get nicely linked ff.

Definitely an improvement. Maybe LyX could load _this_ package for
Palatino fonts, if it just supersedes mathpazo?

 
 
  Could something be wrong/missing with my setup (1.6.9 / Ubuntu Lucid /
  Evince)?
 
 On the same set-up I tried with acroread, and there too there's no
 ligature for 'fi'. 

This probably makes sense, since the hook of the f is very short in
Palatino...

 Regards
 Liviu
 
[...]
 
Regards,
-- 
Daniel CLEMENT




Re: Translations issues in French

2011-04-15 Thread Daniel CLEMENT
Hello,

Liviu Andronic wrote:
 Hello
 
 
 [...]
 From my understanding, 'acknowledgement' and 'remerciement' are not
 perfect equivalents. [...]

Actually, given the variety of meanings acknowledgment has, I doubt
any single French word can be a perfect translation in all cases.

But I agree with David L. Johnson's idea, that in the context of book
writing, the remerciement(s) meaning is almost certain to be the
proper one.

 As for the French term, I have a hard time finding a use case in
 singular form. Even if only one person contributed, she would still
 get 'des remerciements'. 'Recevoir un remerciement' just doesn't sound
 French (to my non-French ear). 'Remerciements', on the other hand,
 seems natural. 

I couldn't have said it better. However, out of curiosity, I tried and
opened some (English) books from m y bookshelves. I noticed two things:

1) You couldn't believe how rare acknowledgments have become;
2) However, every one I found was in plural form also in English.

 In any case, try searching for this term on TLF [1]; it
 includes several examples of both singular and plural forms.
 
 [1] http://atilf.atilf.fr/tlf.htm
 

I note that the most relevant meaning on this page (item A3) mentions
generally plural.

 
 Regards
 Liviu
 
Regards,
-- 
Daniel CLEMENT




Re: vertical bar for evaluating indefinate integrals?

2011-04-19 Thread Daniel CLEMENT
Hello,

Paul Elliott wrote:
 In lyx, how does one make the vertical bar or line that indicates evaluation 
 of an indefinite integral at 2 endpoints to calculate a definite integral?
 
 I would think it should be a big op since integration is, but I could not 
 find 
 it on that menu.
 
What about enclosing this integral between delimiters (not matched), the
left one being blank, and the right one a vertical bar?

HTH,
-- 
Daniel CLEMENT




Re: Example is counted as a theorem

2011-04-21 Thread Daniel CLEMENT
Hello,

Jinxi Cheng wrote:
 Hi, I am writing an article [ams] using Lyx. I started a few hours ago
 and I inserted an example. Lyx autoatically named it Example 1. that
 is good. next I inserted a theorem. But it is named Theorem 2 and
 not Theorem 1.  It seems Lyx counted the example as a theorem also.
 How can I fix this in Lyx?

In order to get independent numbering, you need to load the proper
theorems module:

document  parameters  modules

and choose (e.g.) theorems (AMS, numbered by type)

 
 Thank you in advance.
 
HTH,
-- 
Daniel CLEMENT




Re: Auto-reload pdf files on Mac?

2011-05-03 Thread Daniel Lohmann

On 31.01.2011, at 18:17, Murat Yildizoglu wrote:

 I confirm that Skim is able to autoload the pdf and keep the actual view of 
 the file. You have just tell it, the first time you update the PDF, that you 
 want it to auto-load it (I have not found a way to tell it to auto-load 
 without asking this question).

That's easy, there is a hidden preference for this:
   
http://sourceforge.net/apps/mediawiki/skim-app/index.php?title=Hidden_Preferences#Auto_Reload

Basically, all you have to do to get rid of this question is to open a Terminal 
window and enter:
   defaults write -app Skim SKAutoReloadFileUpdate -boolean true

Daniel





smime.p7s
Description: S/MIME cryptographic signature


deb for ubuntu lucid?

2011-08-23 Thread Daniel CLEMENT
Hello,

[sorry if double post--looks like the previous one did not reach the list]

Is there any chance of seeing a .deb file appear for Ubuntu Lucid? So
far I relied on getdeb to get lyx updated, but it looks like getdeb has
somewhat dropped supporting lyx on lucid.

Of course Ubuntu has recent lyx packages but lucid doesn't meet their
dependencies.

OTTH, I'm not so fond at compiling myself, and I see that even on the
lucid-bleed ppa, lyx 2.0.0 failed to build... not very encouraging.

I'm in no hurry to upgrade my Ubuntu. Has anyone successfully compiled
lyx 2 under lucid 64?

TIA for any advice or experience report.
-- 
Daniel CLEMENT


Re: Edit math after preview

2011-09-21 Thread Daniel CLEMENT
langemann wrote:
 Is it possible to edit a math command after an instant-preview has been
 created?
  Say I want to change \int to \iint after the integral sign is previewed.
 There *should* be a possibility for that by, say, pressing F2 or something
 similar.

Don't know how to do it with the keyboard, but with LyX 1.6.9 on Linux
it is enough to click somewhere in the preview, and it becomes editable
again.

HTH, Daniel

  I tried to just turn off instant-preview, but that didn't work either (it
 didn't do anything actually, even when I typed new math commands they got
 previewed...)
  I use LyX 2.0.1 on windows 
 
 PS: I DO NOT want instant-preview turned off (it's one of the best things
 with LyX), I just want to edit math after it has been previewed
  
 thanks for any suggestions 
 
 --
 View this message in context: 
 http://lyx.475766.n2.nabble.com/Edit-math-after-preview-tp6815974p6815974.html
 Sent from the LyX - Users mailing list archive at Nabble.com.

-- 
Daniel CLEMENT


Lyx crash OS X with Dragon Dictate

2011-10-19 Thread Steven Daniel
 hello,
Firstly, thank you for all the work done on Lyx I have been using
 from the beginning a great program.

 I am having continual issues with Lyx  LyX-2.0.1+qt4  crashing. 
This most often occurs when utilizing 
Dragon Dictate to dictate into LYX.
 As I have broken one of my hands, this is become a real issue for me.
 It is also crashed as I was descending through directory structures to find a 
file.

Yesterday, I reinstalled the LYX.  
This fixed the problem for several hours but now I'm having repeated 
problems again. 

 Thanks in advance for any suggestions.  Mac OS X  version 10.7.2  build 11 C 74



Change the default indenation of Labeling environment/lyx-list

2011-12-21 Thread Daniel Ramoeller
Hello,

I am trying to set the standard indentation of the Labeling environment 
(sometimes called lyx-list?).

There is no problem to set the indentation manually, by Paragraph Settings... 
and choosing another value for the default of Longest label which is 
00.00..

However, I could not find a way to set this value for a whole passage of a 
document or even the whole document. Is there a way to change this value 
globally (so that it fits the indentation of other environments)?

Best,

Daniel
-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone


Re: Change the default indenation of Labeling environment/lyx-list

2011-12-22 Thread Daniel Ramoeller
 This is controlled by the Layout for the Labeling environment. So you 
 can put this into your Local Layout:
  Format 36
  Style Labeling
  LabelString 00.00
  End
 This will only affect new ones, though.

Thank you for the reply. However, I am a bit unhappy with the solution.

I always thought that it was one of the important elements of typesetting that 
you can write a document and care later about the style. So this is not the 
case with the Labeling environment? 

Or is there another way to change the indentation?

Best,

Daniel
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


algorithmic environment

2012-03-27 Thread Daniel CLEMENT
Hello,

I'm trying to setup the algorithmic environment (LyX 2.0.3 from the LyX
repo.) I did my best to follow the Wiki page, but there are two things
I'm unable to do:

1. I don't see the algorithmic toolbar (si I must do everything with
cut/paste). I've downloaded algorithmics.module and algo-toolbar.inc to
~/.lyx/layouts, added a line 

Include algo-toolbar.inc

to ~/.lyx/ui/default.ui

but while I see an algorithm toolbar under View - Toolbars - Other
toolbars, nothing happens if I check it. What am I doing wrong?

2. I have managed to translate the Algorithm caption into French (with
\floatname), but how could I do the same for the pseudocode keywords
(e.g. if, then, else...)?

TIA - best regards,
-- 
Daniel CLEMENT


Re: algorithmic environment

2012-03-28 Thread Daniel CLEMENT
Richard Heck wrote:
 On 03/27/2012 12:32 PM, Daniel CLEMENT wrote:
 [...]
  1. I don't see the algorithmic toolbar (si I must do everything with
  cut/paste). I've downloaded algorithmics.module and algo-toolbar.inc to
  ~/.lyx/layouts, added a line
 The toolbar file has to go into the ui/ directory.
 
 Richard
It's there also! (I didn't quite well know where to put it...) So I have
one under ~/.lyx/ui/algo-toolbar.inc. I tried to remove the one
under /layouts, reconfigure, but it didn't help.

Is there something else I should add in the default.ui file, other than
the Include line?
-- 
Daniel CLEMENT


System dialog boxes appearance

2012-05-18 Thread Daniel CLEMENT
Hello,

I am using LyX 2.0.3.

I have just migrated to Linux Mint Debian (XFCE) from Ubuntu (Gnome 2).
I have noticed that the File-Open dialog boxes no longer integrated
nicely with the system settings (as they used to do). The folder and
file icons in both panes don't match the system-wide setting (theme) any
more.

I was wondering if perhaps a tricky LyX setting could help, or adding
some judicious package?

You see how finicky I have to be so as to find something to criticize in
LyX!
-- 
Daniel CLEMENT



Problem with rotated floats

2012-07-16 Thread Daniel Eika
Hello LyX world!

I have an issue I have not been able to find answers to online. I have a
Lyx- document consisting of several separate pieces of Lyx- files. When
creating a pdf of my mother LyX-file, some of the rotated floats (tables
and figures) are placed on the bottom of the page, covering the page
number. Which figures are placed on the bottom of the page, and which
figures are placed on the top seem to change  when I make a pdf of the
individual lyx-files.

How can I solve this?


I thank you for all advice regarding this and for you time,

Best,


-- 
Daniel Smenes Eika

Master of Science, Civil Engineering;
Computational Mechanics, 5th year, NTNU

BEST Trondheim
Trainer - 'Soft Skills', BEST International
Event Responsible Local Engineering Competition-09


Re: Problem with rotated floats

2012-07-16 Thread Daniel Eika
To the problem stated earlier; it seems the problem is with the 'left side'
pages in the document, and not the right ones.

2012/7/16 Daniel Eika e...@stud.ntnu.no

 Hello LyX world!

 I have an issue I have not been able to find answers to online. I have a
 Lyx- document consisting of several separate pieces of Lyx- files. When
 creating a pdf of my mother LyX-file, some of the rotated floats (tables
 and figures) are placed on the bottom of the page, covering the page
 number. Which figures are placed on the bottom of the page, and which
 figures are placed on the top seem to change  when I make a pdf of the
 individual lyx-files.

 How can I solve this?


 I thank you for all advice regarding this and for you time,

 Best,


 --
 Daniel Smenes Eika

 Master of Science, Civil Engineering;
 Computational Mechanics, 5th year, NTNU

 BEST Trondheim
 Trainer - 'Soft Skills', BEST International
 Event Responsible Local Engineering Competition-09




-- 
Daniel Smenes Eika

Master of Science, Civil Engineering;
Computational Mechanics, 5th year, NTNU

BEST Trondheim
Trainer - 'Soft Skills', BEST International
Event Responsible Local Engineering Competition-09


Re: Problem with rotated floats

2012-07-16 Thread Daniel Eika
To the problem stated earlier; it seems the problem is with the 'left side'
pages in the document, and not the right ones.

2012/7/16 Daniel Eika e...@stud.ntnu.no

 Hello LyX world!

 I have an issue I have not been able to find answers to online. I have a
 Lyx- document consisting of several separate pieces of Lyx- files. When
 creating a pdf of my mother LyX-file, some of the rotated floats (tables
 and figures) are placed on the bottom of the page, covering the page
 number. Which figures are placed on the bottom of the page, and which
 figures are placed on the top seem to change  when I make a pdf of the
 individual lyx-files.

 How can I solve this?


 I thank you for all advice regarding this and for you time,

 Best,


 --
 Daniel Smenes Eika

 Master of Science, Civil Engineering;
 Computational Mechanics, 5th year, NTNU

 BEST Trondheim
 Trainer - 'Soft Skills', BEST International
 Event Responsible Local Engineering Competition-09




-- 
Daniel Smenes Eika

Master of Science, Civil Engineering;
Computational Mechanics, 5th year, NTNU

BEST Trondheim
Trainer - 'Soft Skills', BEST International
Event Responsible Local Engineering Competition-09


Re: How to actually use the LyX 1.4 Character Style Feature

2006-10-02 Thread Daniel Lohmann

For 1.5, I'm just working on a patch that lets you hide all labels at once
and
probably also saves the settings (whether the labels are shown or not). The
former might even go into some future version of 1.4 (the latter not,
because
it entails a file format change).


Yeah, however it is not just the label, but the indicator line as well
that makes the different (and unpleasant to read on the screen) line
spacing. How about moving the indicator line a bit further up?


For representation issues, I'm also thinking about adding preview-latex
facility to character styles. That would give you a wysiwyg impression of
how
the output will look like.


That would be cool!
It would be even more cool, if it was optionally possible to represent
the character class *only* via the preview-latex setting and leave out
the indicator line and label. That is, to define something that is
presented on the screen with a similar user experience as the current
text styles (Emphasis, ...) .

Another issue with the current inset-style implementation is that it
always appears on the screen as if there were an extra space at the
boundaries. If one assigns a character class to same chars from the
middle of a word that looks quite odd.


All in all, character styles are still very much in development.


Hence, it is the right time to be a bit picky about details ;-)
(I  really appreciate the effort you guys are putting into Lyx!)

Daniel


Re: pdf metadata

2006-10-08 Thread Daniel Lohmann

2006/10/8, Uwe Stöhr [EMAIL PROTECTED]:


It shouldn't. Assure that hyperref is loaded in your preamble as the
first package if possible.


Some classes (I know this from the Springer LNCS article class) don't
like the hyperref redefinitions for implicit hyperlinks. However, in
such cases hyperref can still be used to tag the PDF metadata, just
pass it an implicit = false as option.

The following is an example snipped from my preamble in such cases (it
wraps the usepackage into an \ifpdf, as hyperref caused problems here
if one does not use pdflatex)

Daniel

%
% PDF related
%
\newif\ifpdf
\ifx\pdfoutput\undefined
 \pdffalse % we are not running PDFLaTeX
\else
 \pdfoutput=1% we are running PDFLaTeX
 \pdftrue
\fi



\ifpdf
\usepackage[pdftex, implicit = false ]{hyperref}
\hypersetup
{
pdftitle = {Lean and Efficient System Software Product Lines: Where
Aspects Beat Objects},
pdfsubject = {to appear in Transactions on Aspect-Oriented Software
Development},
pdfauthor = {Daniel Lohmann, Olaf Spinczyk, Wolfgang Schröder-Preikschat},
pdfkeywords = {AOP, OOP, AspectC++, Embedded Systems, Footprint, Methodology},
pdfcreator = LyX 1.3.3-Win32 :-)
}
\fi


Re: Multi-paragraph description

2006-10-09 Thread Daniel Lohmann

As we are already on the topic...

I have always been wondering how to end a nested environment *without*
starting a new item in the previous level:

1) This is item 1. It contains a list of sub-items, which are in fact
   a) one sub-item
   b) and another one
   However, there are definitely more general things to say about item one.
   This additional explanations have to appear below the list of sub-items.

2) This is item 2.

Seems to be a pretty basic thing to me. Am I missing something obvious?

Thanks :-)

Daniel
2006/10/8, Paul A. Rubin [EMAIL PROTECTED]:

Laurent Duperval wrote:
 Hello,

 Is it possible to create a multi-paragraph description in LyX, the same
 way you can do so in LaTex? Something like this:

 \begin{description}
 \item[Para] This is a shorter item label, and some text that talks about it.
The text is wrapped into a paragraph, with successive lines indented.

This is another paragraph under the Para item.

\begin{description}
\item[Sub-Item] This is a description of an item which is within the
   Para item.

\item[Sub-Item] Another sub-item.
\end{description}
 \item[Short] A short item that's not part of that really long Para item.
 \end{description}


Yes.  Enter the description, start a new paragraph, set the environment
to either Standard (for a paragraph) or Itemize (for a bullet list),
type madly, then increase the depth of the paragraph (Edit-Increase
List Depth, M-S-right or the appropriate tool bar button, which has a
right-pointing arrow).

/Paul




Re: Multi-paragraph description

2006-10-09 Thread Daniel Lohmann

As Paul described below, you need to indent the sub-items *and* the
standard paragraph in between. (See the attached.)

Bennett


Cool - exactly what I was looking for :-)

I never tried to achieve it by intending a standard paragraph - an
approach that seems a bit counter-intuitive at first (IMHO).

Something like that in example #1 in section 3.4.5 of UsersGuide.lyx
would be great. Well, now as I know it I actually noticed that there
is an intended paragraph section in example #4 (Going Bonkers),
however, example 4 is about a lot of weird stuff and this detail is
not really expained there.

An example of how to continue an enumeration later on (after escaping
back to whatever level) would be nice as well. I guess this required
some ERT boxes to fiddle around with LaTeX counters and stuff like
that, hence, is not so smoothly integrated into LyX and can be
considered as advanced. However, it is just something that people
frequently need so an example would be helpful.


Thanks a lot Paul and Bennett!

Daniel


Re: how to add llncs class

2006-10-11 Thread Daniel Lohmann


MikTex, as almost any LaTeX distribution, manages an index file with all 
installed packages. LyX can only find packages that are registered in this 
index file, hence you have to update it before doing the reconfigure.


Open the MiKTeX options dialog, click on the Root tab, select the TEXMF 
database from the list an click Refresh FNDB. Afterwards run LyX reconfigure.


Daniel

Savas Konur schrieb:
Hi all, 

I have just installed the Lyx 1.4.3 and Miktex 2.5 on my Win XP. When I try to 
open a llncs formatted lyx file, I get the well known missing tex class 
llncs error message. I installed the llncs files from Springer's site,and 
manually placed them to the following path: C:\Program Files\Miktex 2.5
\tex\latex\llncs (I created the llncs folder). The files in the llncs folder 
are llncs.cls, llncs.lcd, llncsdoc.sty, llncs.dem, llncs.sty, llncs.doc, 
sprmindx.sty. After putting the files I reconfigured a couple of times; but it 
did not work. If anyone can help me how to properly install the llncs class, I 
will be very grateful. 

Thanks, 


Savas Konur


Re: LyX slow in Windows XP

2006-10-18 Thread Daniel Lohmann



Results for User Mode Process LYX-QT4.EXE (PID = 3344)

User Time   = 15.07% of the Elapsed Time
Kernel Time = 11.18% of the Elapsed Time

  Total  Avg. Rate
Page Faults  , 5692, 95/sec.


This looks highly suspicious and could be the reason why the csrss.exe 
program is taking all the cpu.


I don't think so. Compared to Linux, Windows trims the working sets of 
processes quite aggressively, which can result in a high number of page 
faults. However, the freed ages are not actually removed from RAM, but 
moved into the system cache and restored from there in case of a page 
fault. Hence, a high number of page faults does not automatically imply 
performance problems.


Moreover, this data is from the Lyx process and not from CSRSS where, 
AFAIR, the CPU clocks are actually eaten. The only thing I can see is that 
the process spends most of its time in the QtGui4 module, which in turn 
might well lead to a high number of interactions with CSRSS.


Could you provide the results for the CSRSS.EXE process as well?

As a wild guess I would assume a problem with some QT constructs 
interacting badly with Win32 User/GDI. I have this slight feeling I had 
seen similar problems with other QT applications on Windows, but I am not 
really sure.



Daniel


Re: pdf looks like low quality scan

2006-10-18 Thread Daniel Lohmann

2006/10/18, Helge Hafting [EMAIL PROTECTED]:


 Any ideas what is causing this?
Yes.  Acrobat is a lousy pdf reader - it don't handle bitmap fonts very
well.
Simple solution - use other pdf readers.


Oh,  you can recommend good alternatives for Windows, the only
platform on which this problem appears? I am really looking for one
and so far I am only aware of ghostview - which is even more lousy as
PDF reader...

Newer Acrobat versions for Windows (6 and above) do a much better job
with bitmap fonts, even though it is still not optimal.

Daniel


Re: How ERT are displayed

2006-10-18 Thread Daniel Lohmann

ERTs are rendered in the same font size than the line they are
embedded into. Hence, if you add an ERT to e.g. the title of an
article the font is huge. ERTs in the main text are a lot more
readable.

I would, however, also prefer to have a fixed font size for all ERTs

Daniel

2006/10/18, Timothy Reaves [EMAIL PROTECTED]:

Can I adjust how these entries are displayed?  The font size is huge.




Re: LyX slow in Windows XP

2006-10-19 Thread Daniel Lohmann



Abdelrazak Younes schrieb:

Daniel Lohmann wrote:


Could you provide the results for the CSRSS.EXE process as well?


See below but I don't see much of a difference. I've passed the -j 
option to let it find the .pdb but it can't seem to find the debug 
symbols apparently...


Hm... I do not see a lot in that either :-/
A lot of ntdll calls, which basically means a lot of interaction with the 
non-GUI parts of the kernel.
It is also a bit confusing that the distribution over the different modules 
in the Lyx process is very different from your last shot. If there is 
really a hot spot it should be similar in every take.




I would be nice if you could find out.



Well, maybe it is time to confess that I am neither a Lyx developer nor 
have any experience with kernrate. (I know, however, a lot about Windows 
internals.) Some real LyX developer around who is following this?


I think it would be good to have the debug symbols to zoom into the most 
frequently used modules in both processes to find out which functions they 
are actually executing.


Daniel

D:\program\KrView\KernratesKernrate_i386_XP.exe -w 10 -s 30 -p 416 -pd 
2064 -j D:\devel\lyx\t

runk\development\cmake\bin\debug

=== Found process: csrss.exe, Pid: 416


=== Found process: lyx-qt4.exe, Pid: 2064


PID = 2064: Source=, Time,
Tried Using Kernrate Default Rate of 25000 events/hit, Actual Rate= 
19531 events/hit


PID = 416: Source=, Time,
Tried Using Kernrate Default Rate of 25000 events/hit, Actual Rate= 
19531 events/hit

 /==\
 KERNRATE LOG   
 \==/
Date: 2006/10/18   Time: 11:55:12
Machine Name: YNS-ML
Number of Processors: 1
PROCESSOR_ARCHITECTURE: x86
PROCESSOR_LEVEL: 15
PROCESSOR_REVISION: 0204
Physical Memory: 1024 MB
Pagefile Total: 2462 MB
Virtual Total: 2047 MB
PageFile1: \??\D:\pagefile.sys, 1536MB
OS Version: 5.1 Build 2600 Service-Pack: 2.0
WinDir: C:\WINDOWS

Kernrate User-Specified Command Line:
Kernrate_i386_XP.exe -w 10 -s 30 -p 416 -pd 2064 -j 
D:\devel\lyx\trunk\development\cmake\bin\de

bug


Waiting for 10 seconds before starting to collect profile data
Starting to collect profile data

Will collect profile data for 30 seconds
=== Finished Collecting Data, Starting to Process Results

Overall Summary:--

P0 K 0:00:16.663 (55.5%)  U 0:00:13.339 (44.5%)  I 0:00:00.000 ( 
0.0%)  DPC 0:00:00.020 ( 0

.1%)  Interrupt 0:00:00.270 ( 0.9%)
   Interrupts= 19145, Interrupt Rate= 638/sec.


Total Profile Time = 30003 msec

   BytesStart  BytesStop 
  BytesDiff.
Available Physical Memory   ,   298483712,   296308736, 
-2174976
Available Pagefile(s)   ,  1751339008,  1751523328, 
  184320
Available Virtual   ,  2131570688,  2131570688, 
   0
Available Extended Virtual  ,   0,   0, 
   0


  Total  Avg. Rate
Context Switches ,  1868893, 62290/sec.
System Calls ,  2477539, 82576/sec.
Page Faults  , 2415, 80/sec.
I/O Read Operations  ,  361, 12/sec.
I/O Write Operations ,  116, 4/sec.
I/O Other Operations , 2811, 94/sec.
I/O Read Bytes   , 8950, 25/ I/O
I/O Write Bytes  ,41894, 361/ I/O
I/O Other Bytes  ,   397231, 141/ I/O



Results for User Mode Process LYX-QT4.EXE (PID = 2064)

User Time   = 42.69% of the Elapsed Time
Kernel Time = 20.09% of the Elapsed Time

  Total  Avg. Rate
Page Faults  , 1962, 65/sec.
I/O Read Operations  ,0, 0/sec.
I/O Write Operations ,0, 0/sec.
I/O Other Operations ,0, 0/sec.
I/O Read Bytes   ,0, 0/ I/O
I/O Write Bytes  ,0, 0/ I/O
I/O Other Bytes  ,0, 0/ I/O

   Start-Count   Stop-Count Diff.
Threads ,   2,   2, 
   0
Handles , 103, 103, 
   0
Working Set Bytes   , 8929280,11812864,  
2883584
Virtual Size Bytes  ,88453120,88453120, 
   0
Paged Pool Bytes,   60056,   60056, 
   0
Non Paged Pool Bytes,3720,3720, 
   0
Pagefile Bytes  , 8540160, 8540160, 
   0
Private Pages Bytes , 8540160, 8540160, 
   0

Re: How ERT are displayed

2006-10-19 Thread Daniel Lohmann



Jean-Marc Lasgouttes schrieb:

Daniel == Daniel Lohmann [EMAIL PROTECTED] writes:


Daniel I would, however, also prefer to have a fixed font size for
Daniel all ERTs

Some people who use ERT for short bits would not like to have it be of
the same fixed size. However, I think it could be a bit smaller (like
foot is smaller).


Well, huge ERTs would probably never make any sense. As ERTs are rendered 
in a monospaced font, they always break over several lines. At least if 
using a screen of affordable size :-)


I think a maximum size would be good.

Daniel


Re: pdf looks like low quality scan

2006-10-19 Thread Daniel Lohmann



Curtis Osterhoudt schrieb:

   Simple solution - use other pdf readers.
 
  Oh, you can recommend good alternatives for Windows
  Daniel

   Hi, Daniel,

  I'm quite happy with Foxit's free .pdf viewer 
(www.foxitsoftware.com), though I don't know how well it handles 
bitmapped fonts. They also make (for $$) a .pdf editor which I use when 
I must use Windows.


Cool!

FoxitReader (I have a tendency to write FixItReader :-) ) comes quite close 
to my idea of an ideal PDF reader. It provides even an option to display 
facing pages in full screen mode!!!


The rendering quality is a bit lower as with AdobeReader in low zoom levels 
(especially for graphics). However, FoxitReader is fast, simple and does 
not lock the PDF file.


Thanks a lot, Curtis

Daniel


Re: Update to: [announce] new extended LyX manual available

2006-11-08 Thread Daniel Lohmann

Uwe Stöhr schrieb:

I wrote:

I'm proud to announce the new extended LyX manual about Floats, Notes, 
Tables, Graphics, and Boxes.


The manual can be downloaded from
http://wiki.lyx.org/LyX/DocumentationDevelopment#Extended-Insets


I'm happily surprized that I got so much feedback about this.


Hi Uwe,

Just want to send you a big THANK YOU - this is a wonderful document! 
I especially like your approach of not refraining from falling back to 
ERT boxes, but providing lots of examples to achieve things with just a 
little bit of extra LaTeX code.


For people like me, who have started with LyX without any LaTeX 
background this is just perfect. I really do not mind to have to insert 
LaTeX snippets for certain formattings and other advanced stuff. The 
tedious and frustrating part is, however, to find the right snippets and 
packages and to understand where exactly to insert the ERT boxes and how 
they interact with the LyX code. Your manual provides exactly this kind 
of information.


Just two suggestions:

1) An example, how to define the character style (font, size) to be used 
as default for all cells of a table would be cool.


2) An example, how to modify the in-cell margins (the space between the 
table grid lines and the actual cell data) would be great as well. IMHO, 
the LyX/LaTeX defaults waste way to much space here, however, all my 
attempts to change this have failed so far :-(




Personal side comment: Having tried a couple of times, I still think 
that LaTeX really sucks compared to visual tools like Word or Excel if 
it comes to creating non-trivial tables.  This is especially true, if 
one has to build dense, space-optimized tables which present a huge set 
of information in as little space as possible e.g. because there is some 
page-limit. The manual fiddling with column-widths, in-cell line breaks 
and stuff like that is just painful and the graphical table editor in 
LyX is not really helpful for this task either, as one has to control 
the output anyway. Often the LyX-Representation is even 
contra-intuitive: One has to set very small column width in LyX (which 
makes the cells in the LyX-Editor almost unreadable and uneditable) to 
get the optimal width in the DVI/PDF output.


As a consequence, I often end up in designing my tables with Word or 
Excel and printing them into an EPS file...


There is one exception, though. The LaTeX support for long tables is 
definitely better. However, I barely need long tables. In most cases, I 
just want it to make my table fit on the page.



Daniel


Lyx not printing

2006-12-04 Thread Daniel Culver

Hi,
I've read, looked first and am confused; and I can't print directly  
from Lyx. I am on an Apple G5 10.4.current patch using PPC chip. I  
have Lyx running locally on Apple OS and I also have a Fink / Lyx  
install. Both show same error 'that document... can't print. Check  
your printer for correct settings.'. I can export to texshop and  
print only if there are absolutely no errors in the document. Since I  
am trying to teach my kids to use Lyx in preparation for college and  
error free pages are still rare. I've tried piping to the printer by  
different routes that I have experience with in other programs (Neo  
Office, Inkscape) and I don't think that is the problem.

Thanks for any help.
Daniel Culver
[EMAIL PROTECTED]





Re: formating of hyperref links

2006-12-06 Thread Daniel Lohmann
Rainer M Krug schrieb:
 I have a second question concerning the hyperref package:
 
 I have in the pdflatex output boxes around the hyperlinks, which does
 not look nice at all (see attached screenshot) and I don't seem to be
 able to make sense out of the hyperref manual.
 
 Can anyone point out which options I have to set to get the urls in
 different test colours and e.g. in font type enhanced?
 

Here is an example of my hyperref options (set in the preamble of the
document). Note the citecolor, linkcolor, etc options.

BTW: hyperref comes with excellent documentation :-]

Daniel

\usepackage{color}
\definecolor{darkgrey}{rgb}{.8, 8, 8}
\usepackage[pdftex]{hyperref}
\hypersetup
{
backref = true,
pagebackref  = true,
colorlinks = true,
linkcolor = darkgrey,
anchorcolor = darkgrey,
citecolor = darkgrey,
filecolor = darkgrey,
urlcolor = darkgrey,
pagecolor= darkgrey,
pdftitle = {A Quantitive Analysis of Aspects in the eCos Kernel},
pdfsubject = {D.4.7 [Operating Systems]: Organization and
Design?Realtime systems and embedded systems; D.3.3 [Programming
Languages]: Language Constructs and Features},
pdfauthor = {Daniel Lohmann, Fabian Scheler, Reinhard Tartler, Olaf
Spinczyk, Wolfgang Schröder-Preikschat},
pdfkeywords = {AOP, Aspect-opriented Programming, AspectC++, Footprint,
eCos},
pdfcreator = LyX :-)
}



Re: Replicating a document layout

2006-12-28 Thread Daniel Lohmann



[EMAIL PROTECTED] schrieb:

Siterer Shawn Willden [EMAIL PROTECTED]:
[...]

Each page also needs a footer, containing the file name, page number
(e.g. Page n of m), version number and last revision date.

Would it be difficult to make something like this? Is there something
out there that's close that I could use as a starting point?


I cant see anything impossible in what you have described above.


How would one do the Page n of m thing? We needed it once (quite some 
time ago) and after trying and fiddling around with counters for a couple 
of frustrating hours we eventually ended up with setting the value of m by 
hand...


Daniel




Mysql

2007-01-10 Thread Daniel Culver

Hi,
I am thinking about using Lyx for some documents that need to include  
output from a Mysql database. Does anyone have any advise about the  
best way to proceed.

Daniel Culver
[EMAIL PROTECTED]





Can't make a new document.

2007-01-13 Thread Daniel Janzon

In Ubuntu Linux, Lyx version 1.4.2 (latest version in Ubuntu package
system), the following procedure results in an error:

1. Create a new document
2. Insert - Float - Table
3. Insert - Table
4. View - PDF (pdflatex)

The error message is

Argument of [EMAIL PROTECTED] has an extra }.
Paragraph ended before [EMAIL PROTECTED] was complete.

On a much older version of Lyx (1.2.1 I believe) running on Sun
Solaris, it works fine. Am I doing something wrong?

   / Daniel


Problems with babel configuration

2007-01-16 Thread Daniel Escamilla
Hello list,

I've tried babel package for spanish languague and I always obtain the 
following message, both lyx and latex:

Package babel Error: You haven't defined the language SPANISH yet.
 \end{document}

Checking the log file, I've found the following info:

LaTeX2e 2003/12/01
Babel v3.8d and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/IEEEtran/IEEEtran.cls

So, it says everything is correct, Could anybody give me a hand to fix the 
problem?

Thanx a lot.

-
Daniel Gerardo Escamilla Montoya
Ingeniero Electrónico




tex4ht and LaTeX music applications?

2007-01-29 Thread Daniel Culver
I'm not sure this will help, my son uses Lilypond. While he complains  
about some difficulty, the program typesets in latex very easily, so  
you may be able to use it to include your notation in Lyx. The only  
two other programs he wants cost about $700.00. I installed Lilypond  
for him from Fink (for Mac) and didn't like it, so I googled it and  
downloaded direct and it works well, but I can't remember from where  
off hand.

HTH
Daniel Culver
[EMAIL PROTECTED]


On Jan 28, 2007, at 4:17 PM, Jamie Faunt wrote:

Hi Jens, I just wanted to thank you for all the text4ht into and your  
own very helpful page on same.


These resources are going to be very helpful as I continue to learn  
about TeX, LaTeX, XML and such.


Being an author of music instruction materials as well, my primary  
use and interest in LyX/TeX is not as a mathematician or scientist. I  
love the way LyX let's me concentrate on the content, and avails me  
of a wide-range of symbols as I need them. Unlike many authors of  
music materials, my need for music notation is less critical because  
the type of things I teach (mainly to professional and other aspiring  
musicians). For rhythmic and also standard notation however, I do  
have occasional needs. I would really prefer to use typography rather  
than bitmaps. So I was wondering if you or any other reader on this  
list knew of any music notation packages that use or export to LaTeX  
so that I might be able to use these in conjunction with my LyX docs.


thanks much,

Jamie Faunt
http://musicalskills.com
lyx
Daniel Culver
[EMAIL PROTECTED]




Re: BibTeX and master documents

2007-02-02 Thread Daniel Lohmann


[EMAIL PROTECTED] schrieb:
 To make it easier to insert citatiosn (if you still need to), you can
 insert a bibliography within each child document, but place it inside a
 *comment*. That way LaTeX won't see it, but LyX will know what
 .bib-files to scan for when showing you the available citations.

Hi,

Excellent suggestion. However, it still has the disadvantage that no bib 
references appear if one prints out a single chapter.


I am looking for some way to conditionally embed the bibliography into the 
child documents. If used (printed) stand alone, a child should have a 
complete bibliography section. If embedded into the master, the 
bibliographies of the children should be ignored.


I have been trying to achieve something like that for a couple of hours, 
but failed - probably because of my lacking knowledge of fundamental LaTex 
concepts. Here is the idea:


1) Define a variable \master in the preamble of the master document before 
including the common preamble:


\def\master
\input{preamble.tex}

2) Define a new \ifnomaster in the common preamble that tests for \master 
being defined or not


% common preamble, input'ed into all children and the master
\newif\ifnomaster
\ifx\master\undefined
  \nomastertrue
\else
  \nomasterfalse
\fi

3) Use ERT boxes to conditionally include the bibliography at the end of 
each child:


??ERT[\ifnomaster]
[BibTeX Generated Bibliography]
ERT[\fi]

This fails so far, probably because my \newif and \def are erroneous.
(It is kind of funny: While there are many LaTeX books and online resources 
that explain how to do fancy things using the xyz package, I always 
struggle when I try to find a good documentation of such basic things.)


Please help :-)

Daniel





On Tue, 30 Jan 2007, Georg Baum wrote:


Am Dienstag, 30. Januar 2007 18:09 schrieb John Hughes:

I have just discovered the Insert-File-Child Document option in LyX,

which

is useful for inserting several chapter documents into one master

document.

However, if I use BibTeX references in my chapter documents, they don't
appear correctly in the master output. The best output I have managed so

far

inserts a bibliography at the end of each chapter but the individual
bibliographies include all the references from the entire document (i.e.
from all of the chapters). Is there a way of achieving either 
individual

bibliographies that only include the references cited in their own

chapters

or a single bibliography at the end of the master document?


AFAIK you need some extra packages for the first option, but the 
second one

is easy. Don't include any bibliography in child documents, only include
one in the master.




If you want to enter a new citation in a child you need to open the child
from the master doc, otherwise LyX will not know which .bib file is used.


To make it easier to insert citatiosn (if you still need to), you can 
insert a bibliography within each child document, but place it inside a 
*comment*. That way LaTeX won't see it, but LyX will know what 
.bib-files to scan for when showing you the available citations.


/C



Re: BibTeX and master documents

2007-02-02 Thread Daniel Watkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniel Lohmann wrote:
 I am looking for some way to conditionally embed the bibliography into
 the child documents. If used (printed) stand alone, a child should
 have a complete bibliography section. If embedded into the master, the
 bibliographies of the children should be ignored.
While it's a little hacky, you could just move the bibliographies in and
out of the comments as needs be...

Dan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFw3wb3arasOikFPYRAkE8AJ9mbSGRTTeTLwVA6ubc2ItRVWsFGgCePbnb
+poKmwFJnEKL439oAKvA3Zo=
=IQ7L
-END PGP SIGNATURE-



Re: BibTeX and master documents

2007-02-05 Thread Daniel Lohmann
Thanks Richard,

Works like a charm :-)

Daniel

Richard Heck wrote:
 Use the technique mentioned here:
 http://wiki.lyx.org/Tips/ChildMathMacros. More or less. And see below.
 1) Define a variable \master in the preamble of the master document
 before including the common preamble:
 Define it to mean something.
 \def\master*{whatever}*
 \input{preamble.tex}

 Don't need any of this.
 2) Define a new \ifnomaster in the common preamble that tests for
 \master being defined or not

 % common preamble, input'ed into all children and the master
 \newif\ifnomaster
 \ifx\master\undefined
   \nomastertrue
 \else
   \nomasterfalse
 \fi

 3) Use ERT boxes to conditionally include the bibliography at the end
 of each child:

 ??ERT[*\ifx\master\undefined*]
 [BibTeX Generated Bibliography]
 ERT[\fi]
 Richard
 
 
 



Understanding key bindings

2007-02-07 Thread Daniel Lohmann

Hi Lyx-Folks,

One of the less documened, but very useful features of LyX is to assign 
formattings by key strokes. It is so convenient to press e.g. ALT-P S to 
format a paragraph as Standard


So I looked up the actually defined keystrokes in menus.bind. However, I am 
either not able to interpret some of them or I just fail to press them on a 
German keyboard. Maybe somebody could put some light on this:


# I have no problems with these:
\bind M-p ~S-5  layout Paragraph
\bind M-p ~S-6  layout Subparagraph

# I don't know how to press these
# What is asterisk on a German keyboard?
# Or is it a magic key?
\bind M-p ~S-asterisk ~S-5  layout Paragraph*
\bind M-p ~S-asterisk ~S-6  layout Subparagraph*


In a more general sense: Is there any document that describes the 
definition format of \bind strokes? I am specifically interested in the 
non-obvious details, e.g. the names of special keys and the meaning of 
symbols such as ~ or -



Thanks!

Daniel


Re: Do you like justified or ragged right?

2007-02-07 Thread Daniel Watkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rich Shepard wrote:
   My vote is full justification.
Ditto. LaTeX defaults to that for a reason.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFyhdq3arasOikFPYRAgWcAJ9A1PlPNUr/dzKdYvalpvblR9JNjACfe28J
+XrWGtUFMSGv/8xHqBv97kc=
=Mxro
-END PGP SIGNATURE-



Re: Understanding key bindings

2007-02-08 Thread Daniel Lohmann

Hi Paul,


# I have no problems with these:
\bind M-p ~S-5layout Paragraph
\bind M-p ~S-6layout Subparagraph

# I don't know how to press these
# What is asterisk on a German keyboard?
# Or is it a magic key?
\bind M-p ~S-asterisk ~S-5layout Paragraph*
\bind M-p ~S-asterisk ~S-6layout Subparagraph*


The last character in the layout name (the '*' in 'Paragraph*') is an 
asterisk.  Do German keyboards not have that character?


Of course they have it. It was just my ignorance regarding the meaning of 
asteriks. Now I do understand the principle and everything works like a 
charm :-)


Thanks a lot, Paul!

Daniel



In a more general sense: Is there any document that describes the 
definition format of \bind strokes? I am specifically interested in 
the non-obvious details, e.g. the names of special keys and the 
meaning of symbols such as ~ or -


There's quite a bit of information the wiki at 
http://wiki.lyx.org/Tips/KeyboardShortcuts.
The hyphen (-) is just used to indicate a multiple-key combination.  For 
instance, 'M-p' means strike 'p' while holding down the meta key (Alt 
on many keyboards).  The hyphen does not literally represent a character 
itself.


The tilde (~) basically says don't worry about this key.  So the 
binding for Paragraph* should be read as:  first strike 'p' while 
holding down the meta key, then strike '*' (ignoring the status of the 
shift key), then strike '5' (again ignoring the status of the shift key).


Re: Understanding key bindings

2007-02-08 Thread Daniel Lohmann



Dominik Waßenhoven schrieb:
Of course they have it. It was just my ignorance regarding the meaning 
of asteriks.


Don't confuse it with the small guy from Gaul, then!


:-)

Daniel


How to prevent page break before Part and Chapter

2007-02-12 Thread Daniel Lohmann

Hi LyX-Folks,

This most probably is, as 90% of the messages on this list, more realated 
to LaTeX than to LyX itself:


For my thesis I am using the koma-script book class (scrbook). I would like 
to remove (suppress) the usual page breaks before Part and Chapter headings 
in draft printings,  but print a horizontal line instead.


As there is no option for this in LyX, I guess I have to redefine the \part 
and \chapter commands somehow :-) But how?



Daniel


Re: How to prevent page break before Part and Chapter

2007-02-12 Thread Daniel Lohmann



Jürgen Spitzmüller schrieb:

Daniel Lohmann wrote:

For my thesis I am using the koma-script book class (scrbook). I would like
to remove (suppress) the usual page breaks before Part and Chapter headings
in draft printings,  but print a horizontal line instead.


Then use report, not book.


Thanks Jürgen,

However, this solves only part of the problem: While report does not insert 
 a page break before Chapter, it still does before (and after) Part :-/


Daniel


Re: MS Word to LyX : Losing special characters

2007-02-13 Thread Daniel Watkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John Kane wrote:
 My problem is that I  am getting  a ? for  (curly
 quotes)
LaTeX uses `` and '' for opening and closing quotes, so you should be
able to search and replace, in Word, for that (though there is a Smart
Quote option or somesuch that you have to turn off).

 and for some other things like an em-dash or
 the Greek letter pi.
Again, I presume this is because LaTeX uses something different for
these as well. If you search for these and replace them with another
string of characters, which will not be replicated anywhere else, in
Word then you can then search for that string of characters and replace
it, in LyX, with the correct representation.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF0Yru3arasOikFPYRAuUlAJ94QsVocZdnD01MMm/RHJS9oTRaXgCeIHqn
jFKmbkQ0fqFUomQoG1T8l8o=
=pMs3
-END PGP SIGNATURE-



Re: Beamer and font size

2007-02-13 Thread Daniel Watkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Julio Rojas wrote:
 So, I can't use the images as JPG's???
To check, if you're on GNU/Linux, you can use 'convert image.jpg
image.eps', provided you have ImageMagick installed (which you should
do, as I think LyX pulls it in). I would assume there's an equivalent on
Windows, but I don't know what it would be.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF0Zz83arasOikFPYRAoa2AKCawf1mwR7QR2UcdkTz732PGs3wvgCgwMNn
cX4yArooNwkEMs+8k9ULWeM=
=ZI/s
-END PGP SIGNATURE-



Re: MS Word to LyX : Losing special characters

2007-02-13 Thread Daniel Watkins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John Kane wrote:
 Oh of course.  I cannot turn it off since I didn't
 produce the document but a search and replace is easy
 enough.  
I'm assuming that you're using Word. If you don't disable the Smart
Quote option within Word, it may well just replace anything you change,
because it's being 'smart'.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF0Z3e3arasOikFPYRAh+EAJ949PZEz2yhdnsyRwmCDQUBQTjnqQCfcs3l
GVDGkk7XuSsvMcPXsV+wc1M=
=qYBe
-END PGP SIGNATURE-



<    1   2   3   4   5   6   7   8   9   10   >