fancyhdr

2002-12-16 Thread John Sheahan
Hi

I am using fancyhdr on lyx 1.2.1 (and 1.2.2cvs) to put a 
graphic in the header.

the original graphic is a jpg. I've mapped it to a few 
formats with 'convert'.

I find if I include it as an eps file, I can run view-dvi
as a jpg or png  I can run view - pdf(pdflatex)

But I cannot find a format that works both ways.


eps files in the document body are viewable or exportable either way.

Am I doing something silly here?

john




Re: can lyx print with CUPS?

2002-12-16 Thread Paolo Ariano
Il lun, 2002-12-16 alle 02:13, Peter Christensen ha scritto:
 I'm very new to Lyx (and Debian!), so I hope this question is not too basic 
 for this list.

i use cups and xpp (on Debian), when lyx ask for a printer you could say
xpp and you find all printer configured with cups (localhost:631)

for simplicty you could also make a ln -s between lpr and xpp ;)

hth
paolo
-- 
Paolo Ariano  
Neuroscience PhD Student  
DBAU  INFM Turin (Italy) 

I bagni dovrebbero essere suddivisi in base al prodotto -- Io




Re: defaults of keymap in LyX-1.2.1

2002-12-16 Thread Christian Ridderström
On Sat, 14 Dec 2002, Bo Peng wrote:

 On Thu, Dec 12, 2002 at 06:32:02PM +0100, Nicolas Ferre' wrote:
  Christian Ridderström wrote:
   
 
  I just tried the lyx-bindings script on
  /usr/local/share/lyx/bind/cua.bind and it results in an empty file
  (apart from the two first lines: Bind file:
  /usr/local/share/lyx/bind/cua.bind and Key  Description)
 
  Any idea of what can happening ? I checked the permissions, the
  /usr/local/share/lyx/bind/*.bind are readable.
 
 I used this script once and it gave me the desired output. I have no 
 idea what is wrong in your case. Can you see anything special when you 
 open cua.bind? What will happen if you apply the script to other bind 
 files like sciword.bind? 

We found that problem, and it turns out there's some incompatibility 
between sed for AIX and sed (GNU)... when he installed the GNU version 
at least the script works.


 ... whenever you add one or two bindings; have a look at 
 lyx's output at start time for complains about bad keybindings.
 
Yeah... that sounds like a good idea. I'll add that to the FAQ.

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se






Re: Back referencing equations

2002-12-16 Thread Andre Poenitz
On Mon, Dec 16, 2002 at 11:08:46AM +1030, Paul Medwell wrote:
 Then later, if the equation in Chapter 1 changes, it will automatically 
 change in Chapter 2.

In the equation  Insert-Label.

In the text  Insert-Cross reference.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: defaults of keymap in LyX-1.2.1

2002-12-16 Thread Nicolas Ferre'
Hi, sorry for answering so later, I had some urgent work to finish !
Finally, I succeed: my bindings work, using META instead of the CTRL. It
seems that some CTRL+something (e.g. grave) combinations do not work,
I don't know why !
Bo Peng told me that the accent-xxx functions do not work with lyx1.2.1
however It works for me ! Here is my .bind:

\bind_file /usr/local/share/lyx/bind/cua.bind

# Accents
\bind M-apostropheaccent-acute
\bind M-comma accent-cedilla
\bind M-S-at  accent-circle
\bind M-S-asciicircum accent-circumflex
\bind C-M-period  accent-dot
\bind M-grave accent-grave
\bind M-S-asciitilde  accent-tilde
\bind C-M-apostrophe  accent-umlaut

Thanks for all.

Nicolas

Christian Ridderström wrote:
 
 :-)
 
 Yeah... guess you should get back to the user's list with that one...
 But... does none of the bindings work?
 
 /C
 
 --
 Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
 Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se

-- 

Nicolas FERRE' (PhD)
 phone/fax : +39-0577-234278
Dipartimento di Chimica
Universita` di Siena mailto:[EMAIL PROTECTED]
via Aldo Moro
53100 SIENA (Italia) http://ccmaol1.chim.unisi.it/




fontsize in lyxcode and tables (repost)

2002-12-16 Thread Jochen Wurster

Hi,

i am using book document class with a font size of 12pt and OneHalf line
spacing. For my source code examples in lyxcode paragraph style i want to
change the font size to 10pt and the line spacing to single. Same for
tables. How can i do this?

Bye Joe






copy paste problem with klipper

2002-12-16 Thread Peer Frank
Hi LyXers,

have just installed SuSE 8.1 and KDE 3.0.5.
Any copy and paste action makes Lyx (1.2.1) crash when klipper is running in 
the taskbar. 
This is resolved when klipper is stopped with right klick/quit. (not disabled)
i have no more details for the moment, maybe klipper needs some settings 
tweeking for better cooperation with LyX.

The versions:
LyX: 1.2.1
Qt: 3.0.5
KDE: 3.0.5
Klipper: v0.9.2
Linux: 2.4.19-4GB
SuSE: 8.1

Bye
Peer





Can't use eps files in Lyx 1.2.1

2002-12-16 Thread Oliver Hoer
Hi,

i can't use images in eps format. When press browse there are many other
formats as filter but no eps. I use Lyx 1.2.1 with Suse Linux 8.1. Can
anybody help me ?

thx Olli







Re: Table Appearance

2002-12-16 Thread Jeannette Meyer
I had the same problem last week and I just removed the upper/lower borders of 
the upper two rows (right-click the table, chose row/column).

Jeannette

On Monday 16 December 2002 07:45, Paul Medwell wrote:
 How is it possible to remove the extra space that appears at the top of
 tables?
 (I know that it can be done, because there is a table in the User's
 Guide without it, although there is no mention on how to do it. Even if
 I copy this table as soon as I add a row the space then appears between
 the existing table and the new row.)

 Many thanks,
 Paul





Re: Can't use eps files in Lyx 1.2.1

2002-12-16 Thread Jean-Marc Lasgouttes
 Oliver == Oliver Hoer [EMAIL PROTECTED] writes:

Oliver Hi, i can't use images in eps format. When press browse there
Oliver are many other formats as filter but no eps. I use Lyx 1.2.1
Oliver with Suse Linux 8.1. Can anybody help me ?

And what happens if you type an explicit name with .eps suffix?

JMarc







Re: can lyx print with CUPS?

2002-12-16 Thread Ronald Florence
Peter Christensen wrote:

 Does Lyx work with CUPS?  The printer

tutorial in the customization help file talks about setting up the 
/etc/printcap file, but does not mention CUPS.  I tried googling for help 
on this, but have not found anything.

Although they are intended for Macs, you might find the specifics on LyX 
and CUPS in http://www.18james.com/lyx_on_osx.html and 
http://www.18james.com/osx_printer_sharing.html useful.
--

Ronald Florencewww.18james.com





(kein Betreff)

2002-12-16 Thread Dubravko S. Dolic
subscribe




Re: fontsize in lyxcode and tables (repost)

2002-12-16 Thread Nirmal Govind
 line spacing. For my source code examples in lyxcode paragraph style i
 want to change the font size to 10pt and the line spacing to single.
 Same for tables. How can i do this?

You should be able to select the text (using your mouse or
keyboard/cursor) and then change the font using Layout-Character.
Similarly, Layout-Paragraph will let you change the spacing for the
text that you've selected. 

nirmal





section numbering with new line

2002-12-16 Thread Jochen Wurster
Hi,

my institution requires a special layout for the work i am currently
writing. And there are some requirements which i couldn't fulfill completly
with lyx. At the moment i am using book document class.
 - Section: Section number + new line followed by the section name
 - Chapters without the text 'Chapter' in the title. And no space above the
chapter name. The text 'Chapter' is ommitted by document class book
(koma-script) , but koma-script introduces other problems in my layout e.g.
way too many space between sections or section name followed by 5cm space in
front of the section's text.

Can someone help me?

Bye
Jochen




Problem executing lyx

2002-12-16 Thread lec
Hi,
When I try to run lyx, an error message is displayed:
lyx: error while loading shared libraries: libflimage.so.1: cannot open 
shared object file: No such file or directory

I've checked and the file libflimage.so.1 is in /usr/X11R6/lib

What did I miss?

Thanks,
Thomas.




Re: How to use pdfscreen in LyX?

2002-12-16 Thread Ananda Murthy R S
Nirmal Govind wrote:


You need to select the document class Slides (pdfscreen) from the
Layout-Document-Document (tab) dialog.. then you'll see a new set of
environments in the pull-down menu on the top-left.. you can select
Slide when you want to start a new slide.. the rest is pretty much the
same as a standard Latex/LyX document.. please feel free to ask if you
have any more qns.. I will try to put up some sample docs online in a
few days..

nirmal



 

Hi Nirmal:

Thanks for your mail. But I am not able to locate the layout file for 
pdfscreen package to be used in LyX 1.2.1. Where is it available?

Anand



Re: How to use pdfscreen in LyX?

2002-12-16 Thread Ananda Murthy R S


Dekel Tsur wrote:


On Sun, Dec 15, 2002 at 10:26:24PM +0530, Ananda Murthy R S wrote:
 

Can anybody tell me how to use pdfscreen package in LyX.
   


Get the pdfscreen layout from http://www.math.tau.ac.il/~dekelts/slides/
and install it in ~/.lyx/layouts, and then select Edit-reconfigure in LyX.

 

Hello:

But I could not locate the layout file at the URL given above.

Anand



Re: How to use pdfscreen in LyX?

2002-12-16 Thread Nirmal Govind
 pdfscreen package to be used in LyX 1.2.1. Where is it available?
 

Hello Anand,
I think I'd got it from Allan Rae when he sent me the source for a
presentation he had made with pdfscreen a while back.. I think it was
also available on Dekel's website.. anyways, I've uploaded the
pdfscreen.layout file that I'm using.. it's at:

www.personal.psu.edu/nug107/lyx

nirmal





Lyx and style

2002-12-16 Thread Ingar Pareliussen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all LyXers

I have been a LyX user for some time, and I would have a big wad of money to 
go back to Word and similar programs. I love the fact that you can 
consentrate on the writing process and leave the typsetting to consistentent 
scripting language. But here is also the problem with LyX.

What happen when your Editor wants you to change the the citation, headings 
etc. Usually most of the changes can be solved by going to Herberts help page 
and offer some text to the preamble and the ERT. But often I seem to have at 
least one change that I draw a blank on, and I have to go and search LaTeX 
pages around the world.

So what is the answer to changing styles. One answer from the LaTeX crowd is 
docstrip and packages like custom-bib. Sadly these are difficult to use, and 
time consuming, since they rely on you answering more or less cryptic 
questions and forces you to answer all questions again if you make one 
mistake. 

LyX answer seem to be to add some options in the style menu, but most of these 
are vetoed by the LaTeX .sty file and are far from exhaustive. Another 
problem which I still have problems getting to grips on is the Gordian knot 
that the different .sty files and layout files constitutes. If you make one 
change in a .sty file the change you make could be undone or redone by other 
.sty files that are added later. 

What I would loved was that some people with LaTeX knowledge, programming 
skills and stamina got together and wrote a LyX style utility. I envisage 
this LyX-styler as a separate program, and that LyX still comes with a 
handful of nice usable layouts that would suit most people writing letters, 
and other none complicated texts.  The LyX-styler would be run when people 
needed a special typesetting. It should write LyX preambles, .layout .bst and 
.sty-files. It must have a GUI. 

Is it difficult ? Yes, probably, at least to make a good program. But it 
shouldn't be impossible. It would be impossible to make a GUI that have all 
the option TeX and LaTeX has to offer. However, we only need to offer the 
most common to make it a useful program. In addition it should be built in 
such a matter that the most used options is included and the ones that are 
seldom used are removed, in an evolutionary way. Hopeful it will be built in 
such a manner that it is easy to add and remove options, maybe even on the 
fly. 

I put this questions therefore forward to the user-list to open a discussion: 
Do we need a LyX-styler; is there better ways of dealing with layout issues 
and, perhaps more importantly, is there people interested in working on such 
a program. 

Sincerely Ingar Pareliussen


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9/fPJhZyBOYwwzUcRArbSAJ0Wc5q2AOJNZtc5Sak/Zjsu44cgVgCfcgr2
wDBpETnHfD9rjoIFrcQiV90=
=+Iho
-END PGP SIGNATURE-




Re: Problem executing lyx

2002-12-16 Thread Mark Carroll
On Mon, 16 Dec 2002, lec wrote:
(snip)
 I've checked and the file libflimage.so.1 is in /usr/X11R6/lib

Is /usr/X11R6/lib in your /etc/ld.so.conf ?
Do you need to run ldconfig ? How does ldconfig -p look ?
What does ldd report about your lyx executable ?

I hope that's a helpful starting place - good luck! My pointers might need
to be changed according to which Unix or Linux you run.

-- Mark




Re: Lyx and style

2002-12-16 Thread William Adams
Interesting post / problem, and reminiscent of Pages Corp. Pages program
for NeXTstep.

It's my understanding that some such concepts are being considered (were
considered?) in LaTeX 3.

Peter Wilson's Memoir Class shows that one can have a wonderfully
flexible documentclass w/ a lot of options w/ just LaTeX2e though, so it
should be possible to my mind to just write a documentclass w/ all (or
most) of the desired options, and just access them through a dialogue
box as is done now.

This would be a lot easier than:
What I would loved was that some people with LaTeX knowledge,
programming 
skills and stamina got together and wrote a LyX style utility. I
envisage 
this LyX-styler as a separate program, and that LyX still comes with
a 
handful of nice usable layouts that would suit most people writing
letters, 
and other none complicated texts.  The LyX-styler would be run when
people 
needed a special typesetting. It should write LyX preambles, .layout
.bst and 
.sty-files. It must have a GUI. 

Which would be specific / limited to LyX. Also a huge programming task
'cause TeX is a bit more flexible, hence intractable than say PostScript.

William



Re: Back referencing equations

2002-12-16 Thread Dekel Tsur
On Mon, Dec 16, 2002 at 11:08:46AM +1030, Paul Medwell wrote:
 I have an equation in Chapter 1 that I would like to repeat in Chapter 
 2. How can I get the equation (AND its equation number reference) to 
 appear in the second chapter exactly the same as it appears in chapter 1?

 Example:
 
 Chapter 1
 This is my equation:
 y=2x  (1.1)
 
 Chapter 2
 As was shown in Chapter 1:
 y=2x  (1.1)

To repeat the equation use math macros: define a math macro whose name is
myequation, and its definition is y=2x, and then insert the formula
and type \myequation.
To repeat the numbers, insert a label into the first formula,
and then in the second one write \tag{\ref{the label
You also need to enable AMS math in the document dialog.
See attached file.

#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language american
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single 
\papersize Default
\paperpackage a4wide
\use_geometry 0
\use_amsmath 1
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset FormulaMacro 
\newcommand{\myformula}{y=2x}

\end_inset 


\layout Standard


\begin_inset Formula \begin{equation}
\label{eq:myformula}
\myformula 
\end{equation}

\end_inset 


\layout Standard


\begin_inset Formula \[
\myformula \tag {\ref {eq:myformula}}\]

\end_inset 


\the_end



Re: defaults of keymap in LyX-1.2.1

2002-12-16 Thread Bo Peng
On Mon, Dec 16, 2002 at 11:30:16AM +0100, Nicolas Ferre' wrote:
 Hi, sorry for answering so later, I had some urgent work to finish !
 Finally, I succeed: my bindings work, using META instead of the CTRL. It
 seems that some CTRL+something (e.g. grave) combinations do not work,
 I don't know why !
 Bo Peng told me that the accent-xxx functions do not work with lyx1.2.1
 however It works for me ! Here is my .bind:

Really? I mean, even in math-mode? The accent-xxx functions work fine in 
math-mode and give me some strange characters in math-mode.

-- 
Bo Peng



Re: fancyhdr

2002-12-16 Thread Dekel Tsur
On Mon, Dec 16, 2002 at 07:30:05PM +1100, John Sheahan wrote:
 I am using fancyhdr on lyx 1.2.1 (and 1.2.2cvs) to put a 
 graphic in the header.
 
 the original graphic is a jpg. I've mapped it to a few 
 formats with 'convert'.
 
 I find if I include it as an eps file, I can run view-dvi
 as a jpg or png  I can run view - pdf(pdflatex)
 
 But I cannot find a format that works both ways.

Create both JPG and EPS files
(if you use convert, use 'convert file.jpg eps2:file.eps')
and then write \includegraphics{file}, namely you should omit the suffix.
BTW, why do you want to use pdflatex ? You get similar results with view-pdf



Re: copy paste problem with klipper

2002-12-16 Thread Dekel Tsur
On Mon, Dec 16, 2002 at 11:23:51AM +0100, Peer Frank wrote:
 
 have just installed SuSE 8.1 and KDE 3.0.5.
 Any copy and paste action makes Lyx (1.2.1) crash when klipper is running in 
 the taskbar. 
 This is resolved when klipper is stopped with right klick/quit. (not disabled)
 i have no more details for the moment, maybe klipper needs some settings 
 tweeking for better cooperation with LyX.

This is probably due to having a wrong version of the XForms library
(incompatible with glibc).



Re: fontsize in lyxcode and tables (repost)

2002-12-16 Thread Dekel Tsur
On Mon, Dec 16, 2002 at 11:41:33AM +0100, Jochen Wurster wrote:
 i am using book document class with a font size of 12pt and OneHalf line
 spacing. For my source code examples in lyxcode paragraph style i want to
 change the font size to 10pt and the line spacing to single. Same for
 tables. How can i do this?

Add the following lines to the preamble:

\let\oldlyxcode=\lyxcode
\def\lyxcode{\small\oldlyxcode\singlespace}
\let\oldtabular=\tabular
\def\tabular{\small\singlespace\oldtabular}



Re: Problem executing lyx

2002-12-16 Thread Thomas Schönhoff
lec schrieb:


Hi,
When I try to run lyx, an error message is displayed:
lyx: error while loading shared libraries: libflimage.so.1: cannot 
open shared object file: No such file or directory

I've checked and the file libflimage.so.1 is in /usr/X11R6/lib

What did I miss?

Thanks,
Thomas.


Hello Thomas!

Perhaps you did upgrade your libs before!? If so just try to run 
sbin/ldconfig and see if things cleared up!

If not, there might be versioning problem!

Thomas





include pdf-graphics lead to seg-fault

2002-12-16 Thread Martin Kneppe
Hi there :)

I hope someone can help me with my problem.

I have got some pdf-files i include as graphics.
Mostly this works fine, but some lead to a
segmentation-fault everytime lyx tries to show them on screen.
If i remove the file everything is ok. i
The file were created with
CorelDraw and transformed with pdf2ps inside lyx.

I tried to circumvent the problem by removing the file and moving it
back when i use pdflatex to generate the pdf, but
if lyx recognizes the file is missing it changes the 
filename inside of the exported tex as:

\includegraphics[bb=0 0 200 200,type=eps]{Filename not found!}

which is wrong. 

Is there anything i can do to avoid this problem ?

My System:
lyx 1.2.1
cygwin 1.3.17-1
MS - WinXP :(
gs 7.05


Greetings
Martin Kneppe




Re: can lyx print with CUPS?

2002-12-16 Thread Kenward Vaughan
On Mon, Dec 16, 2002 at 12:19:19AM -0500, Peter Christensen wrote:
 Thanks for the suggestions.  I tried Edit - Preferences - Outputs, 
 setting the name to lp and the spool command to lp.cups.  Nothing happened 
 when I tried to print.  Also tried setting both to lp; and leaving spool 
 command blank.  
 
 When I tried lpr testfile.ps from the console it worked.
 
 /etc/printcap has just one entry:
 
 lp|Generic dot-matrix printer entry:\
 :lp=/dev/lp0:\
...

I would guess this is the problem.  
As root, from within /etc do the following:

mv printcap printcap.bak ; ln -s printcap.cups printcap 

and see if it works.  

My printcap.cups (printcap) file has a single entry in it:

kvaughan:~# head /etc/printcap
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file.  All changes to this file
# will be lost.
LJ1200:

and that's all...


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca




Keyboard question: i with two dots?

2002-12-16 Thread Andreas Busch
Hi,

sorry for the silly question, but perhaps someone knows an easy 
answer. I've been searching the web, but so far to no avail.

How do you call the i with two dots, and how can I enter in into 
LyX?

In LaTeX, it would be \{\i} (in case that helps...) ;-)

Of course, I could use ERT in LyX, but it would be more fun if i 
could convince my XWindows to do it directly via keyboard...

Many thanks,

Andreas
-- 
Dr. Andreas Busch
Department of Politics and  [EMAIL PROTECTED]
International Relations Web: http://users.ox.ac.uk/~busch
University of OxfordTel. (+44)-1865-278 704
3 George Street MewsFax. (+44)-1865-278 725
Oxford OX1 2AA, United Kingdom





Re: Keyboard question: i with two dots?

2002-12-16 Thread Andre Poenitz
On Mon, Dec 16, 2002 at 05:49:22PM +, Andreas Busch wrote:
 In LaTeX, it would be \{\i} (in case that helps...) ;-)
 
 Of course, I could use ERT in LyX, but it would be more fun if i 
 could convince my XWindows to do it directly via keyboard...

Compose-i-  works here.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: Keyboard question: i with two dots?

2002-12-16 Thread Andreas Busch
On Mon, 16 Dec 2002 19:15:37 +0100,  Andre Poenitz [EMAIL PROTECTED]  wrote: 

 On Mon, Dec 16, 2002 at 05:49:22PM +, Andreas Busch wrote:
 In LaTeX, it would be \{\i} (in case that helps...) ;-)
 
 Of course, I could use ERT in LyX, but it would be more fun if i 
 could convince my XWindows to do it directly via keyboard...
 Compose-i-  works here.

 Andre'

Many thanks! I knew there had to be a simple solution...

Andreas
-- 
Dr. Andreas Busch
Department of Politics and  [EMAIL PROTECTED]
International Relations Web: http://users.ox.ac.uk/~busch
University of OxfordTel. (+44)-1865-278 704
3 George Street MewsFax. (+44)-1865-278 725
Oxford OX1 2AA, United Kingdom





Re: Lyx and style

2002-12-16 Thread Mark Carroll
On Mon, 16 Dec 2002, Ingar Pareliussen wrote:
(snip)
 What I would loved was that some people with LaTeX knowledge, programming
 skills and stamina got together and wrote a LyX style utility. I envisage
 this LyX-styler as a separate program, and that LyX still comes with a
 handful of nice usable layouts that would suit most people writing letters,
 and other none complicated texts.  The LyX-styler would be run when people
 needed a special typesetting. It should write LyX preambles, .layout .bst and
 .sty-files. It must have a GUI.
(snip)
 I put this questions therefore forward to the user-list to open a discussion:
 Do we need a LyX-styler; is there better ways of dealing with layout issues
 and, perhaps more importantly, is there people interested in working on such
 a program.

You've certainly been echoing my thoughts. I can get by because, although
I don't know LaTeX, I have enough of a computing background that I'm still
able to search LaTeX archives and figure out solutions - e.g. this
morning's was,

\let\oldmaketitle=\maketitle
\def\maketitle{\oldmaketitle\thispagestyle{fancy}}
\renewcommand{\footrulewidth}{0.4pt}

I'm sure not going to be able to get our regular Word users to switch over
if they can't do that sort of thing more easily by themselves. Then again,
it would be a big effort to produce a GUI layout creator, and I don't have
any reason to think it could be easily designed. Things like Nonpareil
might be better there.

-- Mark




Re: Lyx and style

2002-12-16 Thread Ingar Pareliussen
On Mon, 16 Dec 2002, William Adams wrote:
Interesting post / problem, and reminiscent of Pages Corp. Pages program
 for NeXTStep.

I am not familiar with this program, but I guess proves that it is
impossible to invent anything completely new :).

 It's my understanding that some such concepts are being considered (were
 considered?) in LaTeX 3.

That would be interesting, if such a beast should surface it might be
possible to add on Lyx support.

 Peter Wilson's Memoir Class shows that one can have a wonderfully
 flexible documentclass w/ a lot of options w/ just LaTeX2e though, so it
 should be possible to my mind to just write a documentclass w/ all (or
 most) of the desired options, and just access them through a dialogue
 box as is done now.

This is a possibility, I have never looked at the memoir class before,
I'll look into it. However it would not give the integration of .cls and
bst together. Also I'm in favor of keeping the LyX GUI as simple as
possible.

 Which would be specific / limited to LyX. Also a huge programming task
 'cause TeX is a bit more flexible, hence intractable than say PostScript.

It need not be limited to LyX, if there are people in the LaTeX community
which want to help it should be possible to keep the extra Lyx specific
parts as a extra option.

On the huge-ness of the programming task I would  say that we
should start small and flexible and add modules as we go. I think I have
no illusions about the task, but I also know that larger programming tasks
have been done.

I think it is down to if we can be clever enough to make
it work easily. The GUI would need to be clear and precise. The internals
need to be clever enough to preferably read a clear text file and form
the GUI from the file, and understand when two options is mutual exclusive
and put the right text into the different output files (In the right order).
And just maybe know when LyX needs a reconfigure and LaTeX need a texhash.

Difficult? Yes; sweet? Yes, at least I think so...

Ingar






Re: Lyx and style

2002-12-16 Thread Ingar Pareliussen
 I'm sure not going to be able to get our regular Word users to switch over
 if they can't do that sort of thing more easily by themselves. Then again,
 it would be a big effort to produce a GUI layout creator, and I don't have
 any reason to think it could be easily designed. Things like Nonpareil
 might be better there.

I'm sorry for my ignorance, but what is Nonpareil ?

Ingar




Re: include pdf-graphics lead to seg-fault

2002-12-16 Thread Matej Cepl
On Mon, 16 Dec 2002, Martin Kneppe wrote:
 The file were created with CorelDraw and transformed with
 pdf2ps inside lyx.

Why not you export it from Corel Draw directly to EPS? Moreover,
the better conversion between pdf and eps, can be done by
pstoedit (see http://www.pstoedit.net/pstoedit/).

Matej




Emphasize paragraph with a vertical line in the margin

2002-12-16 Thread kasper
Hello list

Is it possible to emphasize paragraphs with a vertical line in the right
margin, as shown in my example file ...

http://www.kspr.net/attic/161202-01.html


(the table solution in the html file doesn't transfer, as LyX doesn't 
break long lines in tables...)


-- 
Kasper Steensgaard at person dot dk




Re: fancyhdr

2002-12-16 Thread John Sheahan
On Mon, Dec 16, 2002 at 06:16:06PM +0200, Dekel Tsur wrote:
  I find if I include it as an eps file, I can run view-dvi
  as a jpg or png  I can run view - pdf(pdflatex)
  
  But I cannot find a format that works both ways.
 
 Create both JPG and EPS files
 (if you use convert, use 'convert file.jpg eps2:file.eps')
 and then write \includegraphics{file}, namely you should omit the suffix.
 BTW, why do you want to use pdflatex ? You get similar results with view-pdf

Thanks Dekel. No explicit format works fine.

regarding pdflatex - habit. When I last looked I liked the
fonts better than pdf export.  And worked  with xpdf [pre]viewing.
 (pdf export had the same issue as pdflatex file types BTW.)

I guess with better font support in xpdf2.0 that may no longer be an
issue. Must look again.
john




headers problem

2002-12-16 Thread Guido Milanese
I am typesetting a journal in LaTeX and I posted several help messages to no 
success. I have now a very limited question, if possible. I should typeset 
articles at 11pts and articles at 10pts, but the headers should be exactly 
the same size. I am using fancyhdr. How can I obtain this result?

many thanks.
gm

-- 
Guido Milanese
Vocal Ensemble Ars Antiqua, Genova, Italy
Homepage: http://www.arsantiqua.org
GAUDETE IN DOMINO SEMPER





Re: Lyx and style

2002-12-16 Thread Mark Carroll
On Mon, 16 Dec 2002, Ingar Pareliussen wrote:
(snip)
 I'm sorry for my ignorance, but what is Nonpareil ?

Hopefully it will be - http://www.it.usyd.edu.au/~jeff/nonpareil/
(Jeff Kingston's the guy who developed Lout -
http://snark.niif.spb.su/~uwe/lout/)

One of the design goals of Nonpareil is to make WYSIWYG editing easily
feasible, I think.

-- Mark




ALERT - GroupShield ticket number OB95_1040099137_SMS_MAIL_1 was generated

2002-12-16 Thread GroupShield for Exchange (SMS_MAIL)
Action Taken:
The message was replaced with a text informing the recipient of the action
taken.

To:
[EMAIL PROTECTED] [EMAIL PROTECTED]

From:
lyx-users [EMAIL PROTECTED]

Sent:
1495938688,29533572

Subject:
Darling

Attachment Details:-

Attachment Name: N/A
File: Infected.msg
Infected? Yes
Repaired? No
Blocked? No
Deleted? Yes
Virus Name: Exploit-MIME.gen.b







ALERT - GroupShield ticket number OA146_1040099132_SMS_MAIL_1 was generated

2002-12-16 Thread GroupShield for Exchange (SMS_MAIL)
Action Taken:
The attachment was deleted from the message and replaced with a text file
informing the recipient of the action taken.

To:
[EMAIL PROTECTED] [EMAIL PROTECTED]

From:
lyx-users [EMAIL PROTECTED]

Sent:
-1529028608,29533572

Subject:
Darling

Attachment Details:-

Attachment Name: and.bat
File: and.bat
Infected? Yes
Repaired? No
Blocked? No
Deleted? Yes
Virus Name: W32/Klez.h@MM







fancyhdr

2002-12-16 Thread John Sheahan
Hi

I am using fancyhdr on lyx 1.2.1 (and 1.2.2cvs) to put a 
graphic in the header.

the original graphic is a jpg. I've mapped it to a few 
formats with 'convert'.

I find if I include it as an eps file, I can run view-dvi
as a jpg or png  I can run view - pdf(pdflatex)

But I cannot find a format that works both ways.


eps files in the document body are viewable or exportable either way.

Am I doing something silly here?

john




Re: can lyx print with CUPS?

2002-12-16 Thread Paolo Ariano
Il lun, 2002-12-16 alle 02:13, Peter Christensen ha scritto:
 I'm very new to Lyx (and Debian!), so I hope this question is not too basic 
 for this list.

i use cups and xpp (on Debian), when lyx ask for a printer you could say
xpp and you find all printer configured with cups (localhost:631)

for simplicty you could also make a ln -s between lpr and xpp ;)

hth
paolo
-- 
Paolo Ariano  
Neuroscience PhD Student  
DBAU  INFM Turin (Italy) 

I bagni dovrebbero essere suddivisi in base al prodotto -- Io




Re: defaults of keymap in LyX-1.2.1

2002-12-16 Thread Christian Ridderström
On Sat, 14 Dec 2002, Bo Peng wrote:

 On Thu, Dec 12, 2002 at 06:32:02PM +0100, Nicolas Ferre' wrote:
  Christian Ridderström wrote:
   
 
  I just tried the lyx-bindings script on
  /usr/local/share/lyx/bind/cua.bind and it results in an empty file
  (apart from the two first lines: Bind file:
  /usr/local/share/lyx/bind/cua.bind and Key  Description)
 
  Any idea of what can happening ? I checked the permissions, the
  /usr/local/share/lyx/bind/*.bind are readable.
 
 I used this script once and it gave me the desired output. I have no 
 idea what is wrong in your case. Can you see anything special when you 
 open cua.bind? What will happen if you apply the script to other bind 
 files like sciword.bind? 

We found that problem, and it turns out there's some incompatibility 
between sed for AIX and sed (GNU)... when he installed the GNU version 
at least the script works.


 ... whenever you add one or two bindings; have a look at 
 lyx's output at start time for complains about bad keybindings.
 
Yeah... that sounds like a good idea. I'll add that to the FAQ.

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se






Re: Back referencing equations

2002-12-16 Thread Andre Poenitz
On Mon, Dec 16, 2002 at 11:08:46AM +1030, Paul Medwell wrote:
 Then later, if the equation in Chapter 1 changes, it will automatically 
 change in Chapter 2.

In the equation  Insert-Label.

In the text  Insert-Cross reference.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: defaults of keymap in LyX-1.2.1

2002-12-16 Thread Nicolas Ferre'
Hi, sorry for answering so later, I had some urgent work to finish !
Finally, I succeed: my bindings work, using META instead of the CTRL. It
seems that some CTRL+something (e.g. grave) combinations do not work,
I don't know why !
Bo Peng told me that the accent-xxx functions do not work with lyx1.2.1
however It works for me ! Here is my .bind:

\bind_file /usr/local/share/lyx/bind/cua.bind

# Accents
\bind M-apostropheaccent-acute
\bind M-comma accent-cedilla
\bind M-S-at  accent-circle
\bind M-S-asciicircum accent-circumflex
\bind C-M-period  accent-dot
\bind M-grave accent-grave
\bind M-S-asciitilde  accent-tilde
\bind C-M-apostrophe  accent-umlaut

Thanks for all.

Nicolas

Christian Ridderström wrote:
 
 :-)
 
 Yeah... guess you should get back to the user's list with that one...
 But... does none of the bindings work?
 
 /C
 
 --
 Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
 Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se

-- 

Nicolas FERRE' (PhD)
 phone/fax : +39-0577-234278
Dipartimento di Chimica
Universita` di Siena mailto:[EMAIL PROTECTED]
via Aldo Moro
53100 SIENA (Italia) http://ccmaol1.chim.unisi.it/




fontsize in lyxcode and tables (repost)

2002-12-16 Thread Jochen Wurster

Hi,

i am using book document class with a font size of 12pt and OneHalf line
spacing. For my source code examples in lyxcode paragraph style i want to
change the font size to 10pt and the line spacing to single. Same for
tables. How can i do this?

Bye Joe






copy paste problem with klipper

2002-12-16 Thread Peer Frank
Hi LyXers,

have just installed SuSE 8.1 and KDE 3.0.5.
Any copy and paste action makes Lyx (1.2.1) crash when klipper is running in 
the taskbar. 
This is resolved when klipper is stopped with right klick/quit. (not disabled)
i have no more details for the moment, maybe klipper needs some settings 
tweeking for better cooperation with LyX.

The versions:
LyX: 1.2.1
Qt: 3.0.5
KDE: 3.0.5
Klipper: v0.9.2
Linux: 2.4.19-4GB
SuSE: 8.1

Bye
Peer





Can't use eps files in Lyx 1.2.1

2002-12-16 Thread Oliver Hoer
Hi,

i can't use images in eps format. When press browse there are many other
formats as filter but no eps. I use Lyx 1.2.1 with Suse Linux 8.1. Can
anybody help me ?

thx Olli







Re: Table Appearance

2002-12-16 Thread Jeannette Meyer
I had the same problem last week and I just removed the upper/lower borders of 
the upper two rows (right-click the table, chose row/column).

Jeannette

On Monday 16 December 2002 07:45, Paul Medwell wrote:
 How is it possible to remove the extra space that appears at the top of
 tables?
 (I know that it can be done, because there is a table in the User's
 Guide without it, although there is no mention on how to do it. Even if
 I copy this table as soon as I add a row the space then appears between
 the existing table and the new row.)

 Many thanks,
 Paul





Re: Can't use eps files in Lyx 1.2.1

2002-12-16 Thread Jean-Marc Lasgouttes
 Oliver == Oliver Hoer [EMAIL PROTECTED] writes:

Oliver Hi, i can't use images in eps format. When press browse there
Oliver are many other formats as filter but no eps. I use Lyx 1.2.1
Oliver with Suse Linux 8.1. Can anybody help me ?

And what happens if you type an explicit name with .eps suffix?

JMarc







Re: can lyx print with CUPS?

2002-12-16 Thread Ronald Florence
Peter Christensen wrote:

 Does Lyx work with CUPS?  The printer

tutorial in the customization help file talks about setting up the 
/etc/printcap file, but does not mention CUPS.  I tried googling for help 
on this, but have not found anything.

Although they are intended for Macs, you might find the specifics on LyX 
and CUPS in http://www.18james.com/lyx_on_osx.html and 
http://www.18james.com/osx_printer_sharing.html useful.
--

Ronald Florencewww.18james.com





(kein Betreff)

2002-12-16 Thread Dubravko S. Dolic
subscribe




Re: fontsize in lyxcode and tables (repost)

2002-12-16 Thread Nirmal Govind
 line spacing. For my source code examples in lyxcode paragraph style i
 want to change the font size to 10pt and the line spacing to single.
 Same for tables. How can i do this?

You should be able to select the text (using your mouse or
keyboard/cursor) and then change the font using Layout-Character.
Similarly, Layout-Paragraph will let you change the spacing for the
text that you've selected. 

nirmal





section numbering with new line

2002-12-16 Thread Jochen Wurster
Hi,

my institution requires a special layout for the work i am currently
writing. And there are some requirements which i couldn't fulfill completly
with lyx. At the moment i am using book document class.
 - Section: Section number + new line followed by the section name
 - Chapters without the text 'Chapter' in the title. And no space above the
chapter name. The text 'Chapter' is ommitted by document class book
(koma-script) , but koma-script introduces other problems in my layout e.g.
way too many space between sections or section name followed by 5cm space in
front of the section's text.

Can someone help me?

Bye
Jochen




Problem executing lyx

2002-12-16 Thread lec
Hi,
When I try to run lyx, an error message is displayed:
lyx: error while loading shared libraries: libflimage.so.1: cannot open 
shared object file: No such file or directory

I've checked and the file libflimage.so.1 is in /usr/X11R6/lib

What did I miss?

Thanks,
Thomas.




Re: How to use pdfscreen in LyX?

2002-12-16 Thread Ananda Murthy R S
Nirmal Govind wrote:


You need to select the document class Slides (pdfscreen) from the
Layout-Document-Document (tab) dialog.. then you'll see a new set of
environments in the pull-down menu on the top-left.. you can select
Slide when you want to start a new slide.. the rest is pretty much the
same as a standard Latex/LyX document.. please feel free to ask if you
have any more qns.. I will try to put up some sample docs online in a
few days..

nirmal



 

Hi Nirmal:

Thanks for your mail. But I am not able to locate the layout file for 
pdfscreen package to be used in LyX 1.2.1. Where is it available?

Anand



Re: How to use pdfscreen in LyX?

2002-12-16 Thread Ananda Murthy R S


Dekel Tsur wrote:


On Sun, Dec 15, 2002 at 10:26:24PM +0530, Ananda Murthy R S wrote:
 

Can anybody tell me how to use pdfscreen package in LyX.
   


Get the pdfscreen layout from http://www.math.tau.ac.il/~dekelts/slides/
and install it in ~/.lyx/layouts, and then select Edit-reconfigure in LyX.

 

Hello:

But I could not locate the layout file at the URL given above.

Anand



Re: How to use pdfscreen in LyX?

2002-12-16 Thread Nirmal Govind
 pdfscreen package to be used in LyX 1.2.1. Where is it available?
 

Hello Anand,
I think I'd got it from Allan Rae when he sent me the source for a
presentation he had made with pdfscreen a while back.. I think it was
also available on Dekel's website.. anyways, I've uploaded the
pdfscreen.layout file that I'm using.. it's at:

www.personal.psu.edu/nug107/lyx

nirmal





Lyx and style

2002-12-16 Thread Ingar Pareliussen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all LyXers

I have been a LyX user for some time, and I would have a big wad of money to 
go back to Word and similar programs. I love the fact that you can 
consentrate on the writing process and leave the typsetting to consistentent 
scripting language. But here is also the problem with LyX.

What happen when your Editor wants you to change the the citation, headings 
etc. Usually most of the changes can be solved by going to Herberts help page 
and offer some text to the preamble and the ERT. But often I seem to have at 
least one change that I draw a blank on, and I have to go and search LaTeX 
pages around the world.

So what is the answer to changing styles. One answer from the LaTeX crowd is 
docstrip and packages like custom-bib. Sadly these are difficult to use, and 
time consuming, since they rely on you answering more or less cryptic 
questions and forces you to answer all questions again if you make one 
mistake. 

LyX answer seem to be to add some options in the style menu, but most of these 
are vetoed by the LaTeX .sty file and are far from exhaustive. Another 
problem which I still have problems getting to grips on is the Gordian knot 
that the different .sty files and layout files constitutes. If you make one 
change in a .sty file the change you make could be undone or redone by other 
.sty files that are added later. 

What I would loved was that some people with LaTeX knowledge, programming 
skills and stamina got together and wrote a LyX style utility. I envisage 
this LyX-styler as a separate program, and that LyX still comes with a 
handful of nice usable layouts that would suit most people writing letters, 
and other none complicated texts.  The LyX-styler would be run when people 
needed a special typesetting. It should write LyX preambles, .layout .bst and 
.sty-files. It must have a GUI. 

Is it difficult ? Yes, probably, at least to make a good program. But it 
shouldn't be impossible. It would be impossible to make a GUI that have all 
the option TeX and LaTeX has to offer. However, we only need to offer the 
most common to make it a useful program. In addition it should be built in 
such a matter that the most used options is included and the ones that are 
seldom used are removed, in an evolutionary way. Hopeful it will be built in 
such a manner that it is easy to add and remove options, maybe even on the 
fly. 

I put this questions therefore forward to the user-list to open a discussion: 
Do we need a LyX-styler; is there better ways of dealing with layout issues 
and, perhaps more importantly, is there people interested in working on such 
a program. 

Sincerely Ingar Pareliussen


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9/fPJhZyBOYwwzUcRArbSAJ0Wc5q2AOJNZtc5Sak/Zjsu44cgVgCfcgr2
wDBpETnHfD9rjoIFrcQiV90=
=+Iho
-END PGP SIGNATURE-




Re: Problem executing lyx

2002-12-16 Thread Mark Carroll
On Mon, 16 Dec 2002, lec wrote:
(snip)
 I've checked and the file libflimage.so.1 is in /usr/X11R6/lib

Is /usr/X11R6/lib in your /etc/ld.so.conf ?
Do you need to run ldconfig ? How does ldconfig -p look ?
What does ldd report about your lyx executable ?

I hope that's a helpful starting place - good luck! My pointers might need
to be changed according to which Unix or Linux you run.

-- Mark




Re: Lyx and style

2002-12-16 Thread William Adams
Interesting post / problem, and reminiscent of Pages Corp. Pages program
for NeXTstep.

It's my understanding that some such concepts are being considered (were
considered?) in LaTeX 3.

Peter Wilson's Memoir Class shows that one can have a wonderfully
flexible documentclass w/ a lot of options w/ just LaTeX2e though, so it
should be possible to my mind to just write a documentclass w/ all (or
most) of the desired options, and just access them through a dialogue
box as is done now.

This would be a lot easier than:
What I would loved was that some people with LaTeX knowledge,
programming 
skills and stamina got together and wrote a LyX style utility. I
envisage 
this LyX-styler as a separate program, and that LyX still comes with
a 
handful of nice usable layouts that would suit most people writing
letters, 
and other none complicated texts.  The LyX-styler would be run when
people 
needed a special typesetting. It should write LyX preambles, .layout
.bst and 
.sty-files. It must have a GUI. 

Which would be specific / limited to LyX. Also a huge programming task
'cause TeX is a bit more flexible, hence intractable than say PostScript.

William



Re: Back referencing equations

2002-12-16 Thread Dekel Tsur
On Mon, Dec 16, 2002 at 11:08:46AM +1030, Paul Medwell wrote:
 I have an equation in Chapter 1 that I would like to repeat in Chapter 
 2. How can I get the equation (AND its equation number reference) to 
 appear in the second chapter exactly the same as it appears in chapter 1?

 Example:
 
 Chapter 1
 This is my equation:
 y=2x  (1.1)
 
 Chapter 2
 As was shown in Chapter 1:
 y=2x  (1.1)

To repeat the equation use math macros: define a math macro whose name is
myequation, and its definition is y=2x, and then insert the formula
and type \myequation.
To repeat the numbers, insert a label into the first formula,
and then in the second one write \tag{\ref{the label
You also need to enable AMS math in the document dialog.
See attached file.

#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language american
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single 
\papersize Default
\paperpackage a4wide
\use_geometry 0
\use_amsmath 1
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset FormulaMacro 
\newcommand{\myformula}{y=2x}

\end_inset 


\layout Standard


\begin_inset Formula \begin{equation}
\label{eq:myformula}
\myformula 
\end{equation}

\end_inset 


\layout Standard


\begin_inset Formula \[
\myformula \tag {\ref {eq:myformula}}\]

\end_inset 


\the_end



Re: defaults of keymap in LyX-1.2.1

2002-12-16 Thread Bo Peng
On Mon, Dec 16, 2002 at 11:30:16AM +0100, Nicolas Ferre' wrote:
 Hi, sorry for answering so later, I had some urgent work to finish !
 Finally, I succeed: my bindings work, using META instead of the CTRL. It
 seems that some CTRL+something (e.g. grave) combinations do not work,
 I don't know why !
 Bo Peng told me that the accent-xxx functions do not work with lyx1.2.1
 however It works for me ! Here is my .bind:

Really? I mean, even in math-mode? The accent-xxx functions work fine in 
math-mode and give me some strange characters in math-mode.

-- 
Bo Peng



Re: fancyhdr

2002-12-16 Thread Dekel Tsur
On Mon, Dec 16, 2002 at 07:30:05PM +1100, John Sheahan wrote:
 I am using fancyhdr on lyx 1.2.1 (and 1.2.2cvs) to put a 
 graphic in the header.
 
 the original graphic is a jpg. I've mapped it to a few 
 formats with 'convert'.
 
 I find if I include it as an eps file, I can run view-dvi
 as a jpg or png  I can run view - pdf(pdflatex)
 
 But I cannot find a format that works both ways.

Create both JPG and EPS files
(if you use convert, use 'convert file.jpg eps2:file.eps')
and then write \includegraphics{file}, namely you should omit the suffix.
BTW, why do you want to use pdflatex ? You get similar results with view-pdf



Re: copy paste problem with klipper

2002-12-16 Thread Dekel Tsur
On Mon, Dec 16, 2002 at 11:23:51AM +0100, Peer Frank wrote:
 
 have just installed SuSE 8.1 and KDE 3.0.5.
 Any copy and paste action makes Lyx (1.2.1) crash when klipper is running in 
 the taskbar. 
 This is resolved when klipper is stopped with right klick/quit. (not disabled)
 i have no more details for the moment, maybe klipper needs some settings 
 tweeking for better cooperation with LyX.

This is probably due to having a wrong version of the XForms library
(incompatible with glibc).



Re: fontsize in lyxcode and tables (repost)

2002-12-16 Thread Dekel Tsur
On Mon, Dec 16, 2002 at 11:41:33AM +0100, Jochen Wurster wrote:
 i am using book document class with a font size of 12pt and OneHalf line
 spacing. For my source code examples in lyxcode paragraph style i want to
 change the font size to 10pt and the line spacing to single. Same for
 tables. How can i do this?

Add the following lines to the preamble:

\let\oldlyxcode=\lyxcode
\def\lyxcode{\small\oldlyxcode\singlespace}
\let\oldtabular=\tabular
\def\tabular{\small\singlespace\oldtabular}



Re: Problem executing lyx

2002-12-16 Thread Thomas Schönhoff
lec schrieb:


Hi,
When I try to run lyx, an error message is displayed:
lyx: error while loading shared libraries: libflimage.so.1: cannot 
open shared object file: No such file or directory

I've checked and the file libflimage.so.1 is in /usr/X11R6/lib

What did I miss?

Thanks,
Thomas.


Hello Thomas!

Perhaps you did upgrade your libs before!? If so just try to run 
sbin/ldconfig and see if things cleared up!

If not, there might be versioning problem!

Thomas





include pdf-graphics lead to seg-fault

2002-12-16 Thread Martin Kneppe
Hi there :)

I hope someone can help me with my problem.

I have got some pdf-files i include as graphics.
Mostly this works fine, but some lead to a
segmentation-fault everytime lyx tries to show them on screen.
If i remove the file everything is ok. i
The file were created with
CorelDraw and transformed with pdf2ps inside lyx.

I tried to circumvent the problem by removing the file and moving it
back when i use pdflatex to generate the pdf, but
if lyx recognizes the file is missing it changes the 
filename inside of the exported tex as:

\includegraphics[bb=0 0 200 200,type=eps]{Filename not found!}

which is wrong. 

Is there anything i can do to avoid this problem ?

My System:
lyx 1.2.1
cygwin 1.3.17-1
MS - WinXP :(
gs 7.05


Greetings
Martin Kneppe




Re: can lyx print with CUPS?

2002-12-16 Thread Kenward Vaughan
On Mon, Dec 16, 2002 at 12:19:19AM -0500, Peter Christensen wrote:
 Thanks for the suggestions.  I tried Edit - Preferences - Outputs, 
 setting the name to lp and the spool command to lp.cups.  Nothing happened 
 when I tried to print.  Also tried setting both to lp; and leaving spool 
 command blank.  
 
 When I tried lpr testfile.ps from the console it worked.
 
 /etc/printcap has just one entry:
 
 lp|Generic dot-matrix printer entry:\
 :lp=/dev/lp0:\
...

I would guess this is the problem.  
As root, from within /etc do the following:

mv printcap printcap.bak ; ln -s printcap.cups printcap 

and see if it works.  

My printcap.cups (printcap) file has a single entry in it:

kvaughan:~# head /etc/printcap
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file.  All changes to this file
# will be lost.
LJ1200:

and that's all...


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca




Keyboard question: i with two dots?

2002-12-16 Thread Andreas Busch
Hi,

sorry for the silly question, but perhaps someone knows an easy 
answer. I've been searching the web, but so far to no avail.

How do you call the i with two dots, and how can I enter in into 
LyX?

In LaTeX, it would be \{\i} (in case that helps...) ;-)

Of course, I could use ERT in LyX, but it would be more fun if i 
could convince my XWindows to do it directly via keyboard...

Many thanks,

Andreas
-- 
Dr. Andreas Busch
Department of Politics and  [EMAIL PROTECTED]
International Relations Web: http://users.ox.ac.uk/~busch
University of OxfordTel. (+44)-1865-278 704
3 George Street MewsFax. (+44)-1865-278 725
Oxford OX1 2AA, United Kingdom





Re: Keyboard question: i with two dots?

2002-12-16 Thread Andre Poenitz
On Mon, Dec 16, 2002 at 05:49:22PM +, Andreas Busch wrote:
 In LaTeX, it would be \{\i} (in case that helps...) ;-)
 
 Of course, I could use ERT in LyX, but it would be more fun if i 
 could convince my XWindows to do it directly via keyboard...

Compose-i-  works here.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: Keyboard question: i with two dots?

2002-12-16 Thread Andreas Busch
On Mon, 16 Dec 2002 19:15:37 +0100,  Andre Poenitz [EMAIL PROTECTED]  wrote: 

 On Mon, Dec 16, 2002 at 05:49:22PM +, Andreas Busch wrote:
 In LaTeX, it would be \{\i} (in case that helps...) ;-)
 
 Of course, I could use ERT in LyX, but it would be more fun if i 
 could convince my XWindows to do it directly via keyboard...
 Compose-i-  works here.

 Andre'

Many thanks! I knew there had to be a simple solution...

Andreas
-- 
Dr. Andreas Busch
Department of Politics and  [EMAIL PROTECTED]
International Relations Web: http://users.ox.ac.uk/~busch
University of OxfordTel. (+44)-1865-278 704
3 George Street MewsFax. (+44)-1865-278 725
Oxford OX1 2AA, United Kingdom





Re: Lyx and style

2002-12-16 Thread Mark Carroll
On Mon, 16 Dec 2002, Ingar Pareliussen wrote:
(snip)
 What I would loved was that some people with LaTeX knowledge, programming
 skills and stamina got together and wrote a LyX style utility. I envisage
 this LyX-styler as a separate program, and that LyX still comes with a
 handful of nice usable layouts that would suit most people writing letters,
 and other none complicated texts.  The LyX-styler would be run when people
 needed a special typesetting. It should write LyX preambles, .layout .bst and
 .sty-files. It must have a GUI.
(snip)
 I put this questions therefore forward to the user-list to open a discussion:
 Do we need a LyX-styler; is there better ways of dealing with layout issues
 and, perhaps more importantly, is there people interested in working on such
 a program.

You've certainly been echoing my thoughts. I can get by because, although
I don't know LaTeX, I have enough of a computing background that I'm still
able to search LaTeX archives and figure out solutions - e.g. this
morning's was,

\let\oldmaketitle=\maketitle
\def\maketitle{\oldmaketitle\thispagestyle{fancy}}
\renewcommand{\footrulewidth}{0.4pt}

I'm sure not going to be able to get our regular Word users to switch over
if they can't do that sort of thing more easily by themselves. Then again,
it would be a big effort to produce a GUI layout creator, and I don't have
any reason to think it could be easily designed. Things like Nonpareil
might be better there.

-- Mark




Re: Lyx and style

2002-12-16 Thread Ingar Pareliussen
On Mon, 16 Dec 2002, William Adams wrote:
Interesting post / problem, and reminiscent of Pages Corp. Pages program
 for NeXTStep.

I am not familiar with this program, but I guess proves that it is
impossible to invent anything completely new :).

 It's my understanding that some such concepts are being considered (were
 considered?) in LaTeX 3.

That would be interesting, if such a beast should surface it might be
possible to add on Lyx support.

 Peter Wilson's Memoir Class shows that one can have a wonderfully
 flexible documentclass w/ a lot of options w/ just LaTeX2e though, so it
 should be possible to my mind to just write a documentclass w/ all (or
 most) of the desired options, and just access them through a dialogue
 box as is done now.

This is a possibility, I have never looked at the memoir class before,
I'll look into it. However it would not give the integration of .cls and
bst together. Also I'm in favor of keeping the LyX GUI as simple as
possible.

 Which would be specific / limited to LyX. Also a huge programming task
 'cause TeX is a bit more flexible, hence intractable than say PostScript.

It need not be limited to LyX, if there are people in the LaTeX community
which want to help it should be possible to keep the extra Lyx specific
parts as a extra option.

On the huge-ness of the programming task I would  say that we
should start small and flexible and add modules as we go. I think I have
no illusions about the task, but I also know that larger programming tasks
have been done.

I think it is down to if we can be clever enough to make
it work easily. The GUI would need to be clear and precise. The internals
need to be clever enough to preferably read a clear text file and form
the GUI from the file, and understand when two options is mutual exclusive
and put the right text into the different output files (In the right order).
And just maybe know when LyX needs a reconfigure and LaTeX need a texhash.

Difficult? Yes; sweet? Yes, at least I think so...

Ingar






Re: Lyx and style

2002-12-16 Thread Ingar Pareliussen
 I'm sure not going to be able to get our regular Word users to switch over
 if they can't do that sort of thing more easily by themselves. Then again,
 it would be a big effort to produce a GUI layout creator, and I don't have
 any reason to think it could be easily designed. Things like Nonpareil
 might be better there.

I'm sorry for my ignorance, but what is Nonpareil ?

Ingar




Re: include pdf-graphics lead to seg-fault

2002-12-16 Thread Matej Cepl
On Mon, 16 Dec 2002, Martin Kneppe wrote:
 The file were created with CorelDraw and transformed with
 pdf2ps inside lyx.

Why not you export it from Corel Draw directly to EPS? Moreover,
the better conversion between pdf and eps, can be done by
pstoedit (see http://www.pstoedit.net/pstoedit/).

Matej




Emphasize paragraph with a vertical line in the margin

2002-12-16 Thread kasper
Hello list

Is it possible to emphasize paragraphs with a vertical line in the right
margin, as shown in my example file ...

http://www.kspr.net/attic/161202-01.html


(the table solution in the html file doesn't transfer, as LyX doesn't 
break long lines in tables...)


-- 
Kasper Steensgaard at person dot dk




Re: fancyhdr

2002-12-16 Thread John Sheahan
On Mon, Dec 16, 2002 at 06:16:06PM +0200, Dekel Tsur wrote:
  I find if I include it as an eps file, I can run view-dvi
  as a jpg or png  I can run view - pdf(pdflatex)
  
  But I cannot find a format that works both ways.
 
 Create both JPG and EPS files
 (if you use convert, use 'convert file.jpg eps2:file.eps')
 and then write \includegraphics{file}, namely you should omit the suffix.
 BTW, why do you want to use pdflatex ? You get similar results with view-pdf

Thanks Dekel. No explicit format works fine.

regarding pdflatex - habit. When I last looked I liked the
fonts better than pdf export.  And worked  with xpdf [pre]viewing.
 (pdf export had the same issue as pdflatex file types BTW.)

I guess with better font support in xpdf2.0 that may no longer be an
issue. Must look again.
john




headers problem

2002-12-16 Thread Guido Milanese
I am typesetting a journal in LaTeX and I posted several help messages to no 
success. I have now a very limited question, if possible. I should typeset 
articles at 11pts and articles at 10pts, but the headers should be exactly 
the same size. I am using fancyhdr. How can I obtain this result?

many thanks.
gm

-- 
Guido Milanese
Vocal Ensemble Ars Antiqua, Genova, Italy
Homepage: http://www.arsantiqua.org
GAUDETE IN DOMINO SEMPER





Re: Lyx and style

2002-12-16 Thread Mark Carroll
On Mon, 16 Dec 2002, Ingar Pareliussen wrote:
(snip)
 I'm sorry for my ignorance, but what is Nonpareil ?

Hopefully it will be - http://www.it.usyd.edu.au/~jeff/nonpareil/
(Jeff Kingston's the guy who developed Lout -
http://snark.niif.spb.su/~uwe/lout/)

One of the design goals of Nonpareil is to make WYSIWYG editing easily
feasible, I think.

-- Mark




ALERT - GroupShield ticket number OB95_1040099137_SMS_MAIL_1 was generated

2002-12-16 Thread GroupShield for Exchange (SMS_MAIL)
Action Taken:
The message was replaced with a text informing the recipient of the action
taken.

To:
[EMAIL PROTECTED] [EMAIL PROTECTED]

From:
lyx-users [EMAIL PROTECTED]

Sent:
1495938688,29533572

Subject:
Darling

Attachment Details:-

Attachment Name: N/A
File: Infected.msg
Infected? Yes
Repaired? No
Blocked? No
Deleted? Yes
Virus Name: Exploit-MIME.gen.b







ALERT - GroupShield ticket number OA146_1040099132_SMS_MAIL_1 was generated

2002-12-16 Thread GroupShield for Exchange (SMS_MAIL)
Action Taken:
The attachment was deleted from the message and replaced with a text file
informing the recipient of the action taken.

To:
[EMAIL PROTECTED] [EMAIL PROTECTED]

From:
lyx-users [EMAIL PROTECTED]

Sent:
-1529028608,29533572

Subject:
Darling

Attachment Details:-

Attachment Name: and.bat
File: and.bat
Infected? Yes
Repaired? No
Blocked? No
Deleted? Yes
Virus Name: W32/Klez.h@MM







fancyhdr

2002-12-16 Thread John Sheahan
Hi

I am using fancyhdr on lyx 1.2.1 (and 1.2.2cvs) to put a 
graphic in the header.

the original graphic is a jpg. I've mapped it to a few 
formats with 'convert'.

I find if I include it as an eps file, I can run view->dvi
as a jpg or png  I can run view -> pdf(pdflatex)

But I cannot find a format that works both ways.


eps files in the document body are viewable or exportable either way.

Am I doing something silly here?

john




Re: can lyx print with CUPS?

2002-12-16 Thread Paolo Ariano
Il lun, 2002-12-16 alle 02:13, Peter Christensen ha scritto:
> I'm very new to Lyx (and Debian!), so I hope this question is not too basic 
> for this list.

i use cups and xpp (on Debian), when lyx ask for a printer you could say
xpp and you find all printer configured with cups (localhost:631)

for simplicty you could also make a ln -s between lpr and xpp ;)

hth
paolo
-- 
Paolo Ariano  
Neuroscience PhD Student  
DBAU & INFM Turin (Italy) 

I bagni dovrebbero essere suddivisi in base al prodotto -- Io




Re: defaults of keymap in LyX-1.2.1

2002-12-16 Thread Christian Ridderström
On Sat, 14 Dec 2002, Bo Peng wrote:

> On Thu, Dec 12, 2002 at 06:32:02PM +0100, Nicolas Ferre' wrote:
> > Christian Ridderström wrote:
> > > 
> 
> > I just tried the lyx-bindings script on
> > /usr/local/share/lyx/bind/cua.bind and it results in an empty file
> > (apart from the two first lines: "Bind file:
> > /usr/local/share/lyx/bind/cua.bind" and "Key  Description")
> 
> > Any idea of what can happening ? I checked the permissions, the
> > /usr/local/share/lyx/bind/*.bind are readable.
> 
> I used this script once and it gave me the desired output. I have no 
> idea what is wrong in your case. Can you see anything special when you 
> open cua.bind? What will happen if you apply the script to other bind 
> files like sciword.bind? 

We found that problem, and it turns out there's some incompatibility 
between sed for AIX and sed (GNU)... when he installed the GNU version 
at least the script works.


> ... whenever you add one or two bindings; have a look at 
> lyx's output at start time for complains about bad keybindings.
> 
Yeah... that sounds like a good idea. I'll add that to the FAQ.

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se






Re: Back referencing equations

2002-12-16 Thread Andre Poenitz
On Mon, Dec 16, 2002 at 11:08:46AM +1030, Paul Medwell wrote:
> Then later, if the equation in Chapter 1 changes, it will automatically 
> change in Chapter 2.

In the equation  Insert->Label.

In the text  Insert->Cross reference.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: defaults of keymap in LyX-1.2.1

2002-12-16 Thread Nicolas Ferre'
Hi, sorry for answering so later, I had some urgent work to finish !
Finally, I succeed: my bindings work, using META instead of the CTRL. It
seems that some CTRL+"something" (e.g. grave) combinations do not work,
I don't know why !
Bo Peng told me that the accent-xxx functions do not work with lyx1.2.1
however It works for me ! Here is my .bind:

\bind_file /usr/local/share/lyx/bind/cua.bind

# Accents
\bind "M-apostrophe""accent-acute"
\bind "M-comma" "accent-cedilla"
\bind "M-S-at"  "accent-circle"
\bind "M-S-asciicircum" "accent-circumflex"
\bind "C-M-period"  "accent-dot"
\bind "M-grave" "accent-grave"
\bind "M-S-asciitilde"  "accent-tilde"
\bind "C-M-apostrophe"  "accent-umlaut"

Thanks for all.

Nicolas

Christian Ridderström wrote:
> 
> :-)
> 
> Yeah... guess you should get back to the user's list with that one...
> But... does none of the bindings work?
> 
> /C
> 
> --
> Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
> Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se

-- 

Nicolas FERRE' (PhD)
 phone/fax : +39-0577-234278
Dipartimento di Chimica
Universita` di Siena mailto:[EMAIL PROTECTED]
via Aldo Moro
53100 SIENA (Italia) http://ccmaol1.chim.unisi.it/




fontsize in lyxcode and tables (repost)

2002-12-16 Thread Jochen Wurster

Hi,

i am using book document class with a font size of 12pt and OneHalf line
spacing. For my source code examples in lyxcode paragraph style i want to
change the font size to 10pt and the line spacing to single. Same for
tables. How can i do this?

Bye Joe






copy & paste problem with klipper

2002-12-16 Thread Peer Frank
Hi LyXers,

have just installed SuSE 8.1 and KDE 3.0.5.
Any copy and paste action makes Lyx (1.2.1) crash when klipper is running in 
the taskbar. 
This is resolved when klipper is stopped with right klick/quit. (not disabled)
i have no more details for the moment, maybe klipper needs some settings 
tweeking for better cooperation with LyX.

The versions:
LyX: 1.2.1
Qt: 3.0.5
KDE: 3.0.5
Klipper: v0.9.2
Linux: 2.4.19-4GB
SuSE: 8.1

Bye
Peer





Can't use eps files in Lyx 1.2.1

2002-12-16 Thread Oliver Hoer
Hi,

i can't use images in eps format. When press browse there are many other
formats as filter but no eps. I use Lyx 1.2.1 with Suse Linux 8.1. Can
anybody help me ?

thx Olli







Re: Table Appearance

2002-12-16 Thread Jeannette Meyer
I had the same problem last week and I just removed the upper/lower borders of 
the upper two rows (right-click the table, chose row/column).

Jeannette

On Monday 16 December 2002 07:45, Paul Medwell wrote:
> How is it possible to remove the extra space that appears at the top of
> tables?
> (I know that it can be done, because there is a table in the User's
> Guide without it, although there is no mention on how to do it. Even if
> I copy this table as soon as I add a row the space then appears between
> the existing table and the new row.)
>
> Many thanks,
> Paul





Re: Can't use eps files in Lyx 1.2.1

2002-12-16 Thread Jean-Marc Lasgouttes
> "Oliver" == Oliver Hoer <[EMAIL PROTECTED]> writes:

Oliver> Hi, i can't use images in eps format. When press browse there
Oliver> are many other formats as filter but no eps. I use Lyx 1.2.1
Oliver> with Suse Linux 8.1. Can anybody help me ?

And what happens if you type an explicit name with .eps suffix?

JMarc







Re: can lyx print with CUPS?

2002-12-16 Thread Ronald Florence
Peter Christensen wrote:

 Does Lyx work with CUPS?  The printer

tutorial in the customization help file talks about setting up the 
/etc/printcap file, but does not mention CUPS.  I tried "googling" for help 
on this, but have not found anything.

Although they are intended for Macs, you might find the specifics on LyX 
and CUPS in http://www.18james.com/lyx_on_osx.html and 
http://www.18james.com/osx_printer_sharing.html useful.
--

Ronald Florencewww.18james.com





(kein Betreff)

2002-12-16 Thread Dubravko S. Dolic
subscribe




Re: fontsize in lyxcode and tables (repost)

2002-12-16 Thread Nirmal Govind
> line spacing. For my source code examples in lyxcode paragraph style i
> want to change the font size to 10pt and the line spacing to single.
> Same for tables. How can i do this?

You should be able to select the text (using your mouse or
keyboard/cursor) and then change the font using Layout->Character.
Similarly, Layout->Paragraph will let you change the spacing for the
text that you've selected. 

nirmal





section numbering with new line

2002-12-16 Thread Jochen Wurster
Hi,

my institution requires a special layout for the work i am currently
writing. And there are some requirements which i couldn't fulfill completly
with lyx. At the moment i am using book document class.
 - Section: Section number + new line followed by the section name
 - Chapters without the text 'Chapter' in the title. And no space above the
chapter name. The text 'Chapter' is ommitted by document class book
(koma-script) , but koma-script introduces other problems in my layout e.g.
way too many space between sections or section name followed by 5cm space in
front of the section's text.

Can someone help me?

Bye
Jochen




Problem executing lyx

2002-12-16 Thread lec
Hi,
When I try to run lyx, an error message is displayed:
lyx: error while loading shared libraries: libflimage.so.1: cannot open 
shared object file: No such file or directory

I've checked and the file libflimage.so.1 is in /usr/X11R6/lib

What did I miss?

Thanks,
Thomas.




Re: How to use pdfscreen in LyX?

2002-12-16 Thread Ananda Murthy R S
Nirmal Govind wrote:


You need to select the document class Slides (pdfscreen) from the
Layout->Document->Document (tab) dialog.. then you'll see a new set of
environments in the pull-down menu on the top-left.. you can select
"Slide" when you want to start a new slide.. the rest is pretty much the
same as a standard Latex/LyX document.. please feel free to ask if you
have any more qns.. I will try to put up some sample docs online in a
few days..

nirmal



 

Hi Nirmal:

Thanks for your mail. But I am not able to locate the layout file for 
pdfscreen package to be used in LyX 1.2.1. Where is it available?

Anand



  1   2   >