Re: multiplatform vector drawing program to use

2008-04-07 Thread G. Milde
On  7.04.08, Steve Litt wrote:
> On Monday 07 April 2008 10:54, Oscar Lopez wrote:

> > ... My colleague uses the windows
> > version of lyx and I use the linux version. 
... 
> > Now we are concerned with the use of a common vector drawing program
> > that can be used at both platforms. 

> Try inkscape. I don't know if it works on Windows, but I like it.

Openoffice Draw should work on both platforms, but draws heavily on
the ressources.

Ipe  is a Qt based vector drawing app that
uses LaTeX for text. Ipe for win is at
http://luaforge.net/frs/download.php/2730/ipe-6.0pre30-win.zip
and Ipe for Linux might be part of your distribution.

> > The main feature that we require is that the vector drawing program
> > can annotate drawings with latex math formulae. 

You might consider using the psfrag LaTeX package for this. It can
replace alphanumeric labels in eps files with LaTeX constructs
defined in the including document. (Drawback: it does not work with
pdflatex.)

Guenter


Re: Lyx crashing on custom template

2008-04-07 Thread Andre Poenitz
On Tue, Apr 08, 2008 at 01:41:14PM +1000, hectic styler wrote:
> The template can be found here
> 
> http://www.threewordslong.com/blog/entry/63/A_LyX_Thesis_Layout_for_UNSW_T
> 
> wes
> 
> On Tue, Apr 8, 2008 at 1:36 PM, hectic styler <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> >  Upon installing Lyx 1.5.4 (+ MiKTex) on MS Vista, I can open up my
> >  custom template fine, but trying to view the main.lyx as pdf generates
> >  an error "Undefined control error" - viewing the chapter alone
> >  generates the same error but I can view the pdf. Installing Lyx 1.5.3
> >  allows me to view as pdf fine - is this a known regression and has it
> >  been fixed in subversion?

I can't reproduce your problem with a very simple example text using
your layout.

If you send me your thesis preferably cut down to the minimal amount
that still exhibits the problem I'll have a look.

Andre'


Re: Lyx crashing on custom template

2008-04-07 Thread hectic styler
The template can be found here

http://www.threewordslong.com/blog/entry/63/A_LyX_Thesis_Layout_for_UNSW_T

wes

On Tue, Apr 8, 2008 at 1:36 PM, hectic styler <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  Upon installing Lyx 1.5.4 (+ MiKTex) on MS Vista, I can open up my
>  custom template fine, but trying to view the main.lyx as pdf generates
>  an error "Undefined control error" - viewing the chapter alone
>  generates the same error but I can view the pdf. Installing Lyx 1.5.3
>  allows me to view as pdf fine - is this a known regression and has it
>  been fixed in subversion?
>
>  thanks,
>
>  wes
>


Lyx crashing on custom template

2008-04-07 Thread hectic styler
Hi,

Upon installing Lyx 1.5.4 (+ MiKTex) on MS Vista, I can open up my
custom template fine, but trying to view the main.lyx as pdf generates
an error "Undefined control error" - viewing the chapter alone
generates the same error but I can view the pdf. Installing Lyx 1.5.3
allows me to view as pdf fine - is this a known regression and has it
been fixed in subversion?

thanks,

wes


Re: Chapter counter position in layout.

2008-04-07 Thread Jinghua Zhong
GM,

Thanks for pointing that out. That was actually the first thing I
tried. I figured its LabelType must have been defined as
Top_Environment somewhere but I couldn't find it. It's defined as
Counter in numarticle.inc, so it should not be display on top at all.
I tried defining it again as Counter or other labeltypes in my own
layout. Nothing works. LyX always shows the label on top and not to
the left. Maybe I've found a bug?

Jinghua
===
G. Milde wrote:

Its "LabelType", e.g.

LabelType Top_Environment
vs.


See the Help>Customization Guide for the right LabelType and add to
your layout file

Style Chapter
   LabelType
End

(after including the stdandard layouts).

GM


Re: Strange segfault of dvipost when compiling lyx file

2008-04-07 Thread Pavel Sanda
>> can anybody confirm on some other tex install that attached dvi fails too?
>> i dont have any idea what went wrong.
>
> Try dvipost-1.1.patch in development\Win32\patches.

i had dvipost 1.0 and just upgrading to 1.1 was enough.

pavel


Creating LaTeX File Programmatically: The Solution

2008-04-07 Thread Rich Shepard

  Well, I've learned a lot of LaTeX -- and how it needs to be written in a
Python program -- with re-writing this report. And now it's done. Looks
great; works like a charm.

  If anyone wants to see the results, ask off the list and I send you the
file. I use pdflatex to compile it, and it certainly looks much nicer than
did the ReportLab version.

  I don't mind contributing this to the Wiki if Christian (or anyone else)
thinks there might be future interest in this, but I did not try it with LyX
because I knew there would be a lot of adjustments to get the positioning
just right.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: break long URL lines with LyX

2008-04-07 Thread Rich Shepard

On Mon, 7 Apr 2008, Enrique J. Madrid M. wrote:


   How to break long URL lines with LyX?. I am using \url{}.


  Use the \href{} package instead.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


break long URL lines with LyX

2008-04-07 Thread Enrique J. Madrid M.
Hi, 

How to break long URL lines with LyX?. I am using \url{}.
 
 
enrique j. madrid m.
Tecnología y Desarrollo.
 
Soluciones Info Móviles S.A.C
Avda. javier prado oeste 203 piso 13, lima 27 
 Telfs: + 51 (1) 211-0608,  RPM #620193 




Re: Missing the Obvious? -- FIXED!

2008-04-07 Thread Rich Shepard

On Mon, 7 Apr 2008, Rich Shepard wrote:


 No matter how often I look at the code, I don't see what's pushing the
table to the next page. Probably fresh eyeballs will spot it right away.


  Hey! It worked again! As soon as I sent off the message and looked again
at the code, I saw that the \textheight{} was too small. D'oh!

  I now return you to your regularly scheduled mail list.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Missing the Obvious?

2008-04-07 Thread Rich Shepard

  I'd greatly appreciate having eyeballs other than mine looking at the
attached code. It compiles file both as a python program and using pdflatex
to produce the output. But, ... it prints the table on the second page,
despite there being plenty of room for it on the first page.

  No matter how often I look at the code, I don't see what's pushing the
table to the next page. Probably fresh eyeballs will spot it right away.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863#!/usr/bin/env python

import os, sys, config

preamb = """
  \\documentclass[oneside,english]{article}
  \\usepackage{palatino}
  \\usepackage[T1]{fontenc}
  \\usepackage[latin1]{inputenc}
  \\usepackage[dvips] {geometry}
  
\\geometry{verbose,letterpaper,tmargin=1cm,bmargin=0cm,lmargin=1.5cm,rmargin=9.0cm}
  \\pagestyle{empty}

  \\makeatletter

  \\date{}
  \\setlength\\headsep{0.4cm}
  \\setlength{\\textheight}{20.5cm}
  \\setlength{\\textwidth}{12.0cm}

  \\usepackage{babel}
  \\makeatother
  
  \\begin{document}
  
  """

ending = """\\end{document}"""
  
def econPairs():
  pairData = [("Jobs","Tax base"),
  ("Jobs","Infrastructure"),
  ("Jobs","Schools"),
  ("Jobs","Housing"),
  ("Jobs","Medical care"),
  ("Jobs","Sustainability"),
  ("Jobs","Traffic volume"),
  ("Tax base","Infrastructure"),
  ("Tax base","Schools"),
  ("Tax base","Housing"),
  ("Tax base","Medical care"),
  ("Tax base","Sustainability"),
  ("Tax base","Traffic volume"),
  ("Infrastructure","Schools"),
  ("Infrastructure","Housing"),
  ("Infrastructure","Medical care"),
  ("Infrastructure","Sustainability"),
  ("Infrastructure","Traffic volume"),
  ("Schools","Housing"),
  ("Schools","Medical care"),
  ("Schools","Sustainability"),
  ("Schools","Traffic volume"),
  ("Housing","Medical care"),
  ("Housing","Sustainability"),
  ("Housing","Traffic volume"),
  ("Medical care","Sustainability"),
  ("Medical care","Traffic volume"),
  ("Sustainability","Traffic volume")]


  ratingTab = """\\begin{tabular}{cl} \\hline
 Importance Value & Definition   
 \\hline
 1 & Equal importance 
 3 & Weak importance of one over the other 
 5 & Strong importance of one over the other 
 7 & Demonstrated importance of one over the other 
 9 & Absolute importance of one over the other 
 2, 4, 6, 8 & Intermediate values between the two adjacent 
definitions 
\\hline
\\end{tabular}
"""

  instructPara = """Using the table below, determine your preference for either 
the first
item of the pair (on the left), or the second (on the 
right). Use the
rating table to determine the strength of your preference, 
then fully
fill in the rectangle for that preference strength on the 
same line as
the component pairs. If you prefer the second more than the 
first,
also completely fill in the last box on the right."""

  title = "Economic Components"

  out = open(r"./reports/omrPairs.tex", 'w')
  out.write(preamb)
  
  out.write('\\hspace{60mm}')
  out.write('\\begin{Large}\\bfseries ')
  out.write(title)
  out.write('\\end{Large}')
  #out.write('\\textnormal{')
  out.write('\n''\n')
  out.write('\\vspace{1cm}')   # space below title to line up first line with 
OMR form
  out.write('\n''\n')
  out.write('\\hspace{43mm}')
  out.write('Fill in the box under \'Economic\' on this line -->')
  out.write('\n''\n')
  out.write('\\vspace{0.5cm}')
  out.write('\n''\n')
  out.write('\\hspace{47mm}')
  out.write('Record your position on the project here -->')
  out.write('\n''\n')
  out.write('\\vspace{1cm}')
  out.write('\n''\n')
  
  for left,right in pairData:
out.write('\\hspace{45.6mm}')
out.write(left)
out.write('\\hspace{\\fill}')
out.write(right)
out.write('\n''\n')


  out.write('\\vspace{10mm}')
  out.write(instructPara)
  out.write('\n' '\n')
  #out.write('\\vspace{5mm}')
  out.write(ratingTab)

  out.write(ending)
  out.close()

if __name__ == "__main__":
  econPairs()


Re: multiplatform vector drawing program to use

2008-04-07 Thread Steve Litt
On Monday 07 April 2008 10:54, Oscar Lopez wrote:
> Dear lyxers
>
> I am starting a document project with a colleague using lyx. The goal is to
> obtain a big document of a technical course. My colleague uses the windows
> version of lyx and I use the linux version. At this initial stage we can
> easily share simple documents.  Now we are concerned with the use of a
> common vector drawing program that can be used at both platforms. The main
> feature that we require is that the vector drawing program can annotate
> drawings with latex math formulae. I am quite satisfied with the current
> support of xfig at lyx using external material. However, as far as I know,
> xfig only runs at linux machines therefore we are looking for an
> alternative program. Could anybody care to give us some recommendation? Any
> advice related to other aspects of such a project are also welcome.
>
> Thank you very much for all your help
> Best regards

Try inkscape. I don't know if it works on Windows, but I like it.

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: multiplatform vector drawing program to use

2008-04-07 Thread Rich Shepard

On Mon, 7 Apr 2008, Daniel Lohmann wrote:


I would recommend OpenOffice Draw. It is one of the few programs that are
multi-platform and that provide excellent export to the UNIX world
(saying: EPS) as well as to the Windows world (saying: WMF). We have been
using it for cross Windows/Linux projects with LyX and some other programs
for years.


Daniel,

  Well, OK. I'll put in my opinion. If you want total control over your
vector figures and plots, take a look at PyX (http://pyx.sourceforge.net/).
It's a python wrapper over LaTeX and PostScript. Truly multiplatform. Does
it all. Of course, it's not drag-'n'-drool, but you can do whatever you want
with it. The default outputs are .eps and .pdf; pick one or both.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: ERT to inline by command

2008-04-07 Thread Andre Poenitz
On Mon, Apr 07, 2008 at 11:25:45PM +0200, Daniel Lohmann wrote:
>
> On 07.04.2008, at 16:01, Ethan Metsger wrote:
>> On Mon, 07 Apr 2008 09:04:16 -0400, Daniel Lohmann 
>> <[EMAIL PROTECTED]> wrote:
>>
>>> AFAIK there is, unfortunately, no LFUN for this
>>> I too would really appreciate a keyboard shortcut.
>>
>> I was under the impression that using CTRL-I would do the job.  I just 
>> tested it on 1.5.2/Ubuntu and it seems to work just fine.
>
> Hm... Not on my system. Could you figure out the LFUN that is bound o 
> CTRL+I?

It used to be  inset-toggle  but nowaday it seems to be
next-inset-toggle.

Andre'


Re: multiplatform vector drawing program to use

2008-04-07 Thread Daniel Lohmann


On 07.04.2008, at 18:51, Walter H. van Holst wrote:



Of course, there are also other vector drawing programs (besides
Xfig), so
what is outlined here is not the only option you have.


If only Linux and Windows are required, I'd recommend Inkscape. It is
much more polished and user friendly than Xfig whose UI is a bit
daunting.



I would recommend OpenOffice Draw. It is one of the few programs that  
are multi-platform and that provide excellent export to the UNIX world  
(saying: EPS) as well as to the Windows world (saying: WMF). We have  
been using it for cross Windows/Linux projects with LyX and some other  
programs for years.


Daniel


Re: ERT to inline by command

2008-04-07 Thread Daniel Lohmann


On 07.04.2008, at 16:01, Ethan Metsger wrote:
On Mon, 07 Apr 2008 09:04:16 -0400, Daniel Lohmann <[EMAIL PROTECTED] 
> wrote:



AFAIK there is, unfortunately, no LFUN for this
I too would really appreciate a keyboard shortcut.


I was under the impression that using CTRL-I would do the job.  I  
just tested it on 1.5.2/Ubuntu and it seems to work just fine.


Hm... Not on my system. Could you figure out the LFUN that is bound o  
CTRL+I?


Daniel


Re: No accents when mastering a document (Spanish) ??

2008-04-07 Thread Filippo Zangheri
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Miguel Daniel Rodríguez Magarzo ha scritto:
> Hi again,
> ...
> In the master, Document > Settings > Language > Spanish, and encoding
> "LaTeX default"
> but into each child document, I have set Language Spanish too, but
> encoding "utf8", with good results. 
> If I switch to "utf8" in the master settings, the xdvi preview gives me
> a lot of warnings about this fact, obviously. 

It is really important that you check twice and make sure that all
child documents are encoded in "utf8", because just one miss can
cause that complaint. Here, with LyX 1.5.4 on Linux and Italian
language, I can not reproduce the behaviour you are describing.


> So I don't know what to do, if I should abandon the idea of building a
> master document,since I don't see clearly which advantages it really
> provides. Anyone could point me any? Besides, the master document has

Until now (LyX 1.5.4), I think that having a master document has the
only advantage of allowing you to build a single pdf/ps/whatever
output file, out of all the child documents, without the need for
merging them with 3rd party applications.

Another advantage is that you can write child documents without
thinking much about little inter-chapter LaTeX adjustments; then you
can put all the ERT adjustments in the master file. I hope you
understand my pseudo-English. ;)

It is likely that further versions will permit you to perform better
and deeper management of child documents from within the master.


> not built-in the sets of child documents, has it? Consequently, the

If I understand right, you are asking if master document contains
the list of its child documents. The answer to this question is
obviously yes :) but I'm not sure that this is what you mean..


Best regards.

- --
Filippo Zangheri

GPG key ID: 0xE1D879FA
Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA
Key server: pgp.mit.edu

- -BEGIN GEEK CODE BLOCK-
Version: 3.12
GE d- s+:- a-- C++ UL+++ P+ L+++ E-- W+ N* o-- K- w--- O-- M--
V- PS++ PE+ Y+ PGP++ t 5-- X++ R* tv b+ DI-- D G-- e++ h--
r++ z*
- --END GEEK CODE BLOCK--
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH+oBi6l+nKuHYefoRAt0SAJ0QMCFZjZyOCZX8bopfWDT0UAF2WwCgmueD
ssyFvd3ehGdxunoc1dNiCCI=
=P1V+
-END PGP SIGNATURE-



Re: No accents when mastering a document (Spanish) ??

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo

El lun, 07-04-2008 a las 19:11 +, Luis Rivera escribió:
> Miguel Daniel Rodríguez Magarzo <[EMAIL PROTECTED]> writes:
> 
> > 
> > In the master, Document > Settings > Language > Spanish, and encoding
> > "LaTeX default"
> > but into each child document, I have set Language Spanish too, but
> > encoding "utf8", with good results. 
> > If I switch to "utf8" in the master settings, the xdvi preview gives me
> > a lot of warnings about this fact, obviously. 
> > 
> 
> Excuse me, but I don't quite follow: you wrote, encoded, and typeset all 
> child 
> documents in UTF8; and when coming to a parent document, you are trying to 
> write, encode and typeset the whole thing again in UTF8, right? You mean, the 
> language settings for all documents are exactly the same, and the LyX process 
> breaks?
> 

 Yes, I meant that. 

> If that's the case you may have stumbled upon a bug in LyX. Otherwise please 
> recheck and state your case better.
> 
> You may also help to diagnose the bug trying another encoding. Make two 
> copies 
> and try "language default" or "Latin1" in all documents on each copy and see 
> what happens.
> 
> Sorry, you have to try. I do child documents with the default encoding 
> (Latin1 
> IIRC) all the time, without a problem. 
> 
> Good luck,
> 
> Luis.
> 

I'd say that I was quite sure until you encourage me to re-check
things. 
Well, I checked one by one all the documents and... there was not a bug,
but a slip from me: there were one between the set of documents where
the encoding was "latex-default"; Changing it to "utf8" as were the
remaining (then saving, updating dvi, etc..), and clicking at the xdvi
preview ... was (magically) perfect (again :-) 

Sorry for this waste of time at this point, and thank you.

Daniel





Re: Conceptual doubt about graphics in LyX

2008-04-07 Thread Rich Shepard

On Mon, 7 Apr 2008, Miguel Daniel Rodríguez Magarzo wrote:


Images are usual, a great many in my texts, since they are necessary
needed by the text. They are sketch, diagrams, graphics, draws, etc...
made with The Gimp most of the times, also some formed images caught
over there or even scanned, whatever...


Daniel,

  The GIMP creates bit-mapped images; LyX/TeX work with vector images.


First, I saved everything in the .png format, and after resizing, etc...
properly with The Gimp and the image was really ready, just went to Lyx
Insert image.


  A better converter is ImageMagick's 'convert.' Read 'man convert' for
details.


Then, I don't know if I read something here or wherever..., about saving
in .eps format. I thought it would make sense (because of postscript,
TeX, etc...), so I tried (with The Gimp too), was OK and then all images
were converted to .eps, but going to LyX > Insert Image (as before).


  I've used .png and .jpg bit-mapped images in LyX documents with no
problems.


This way needs the permanent existence of a folder with the set of images
for each document, right. On the other hand, I read in the CTAN,
documentation, ... that there is a package to INCLUDE the own image (eps)
inside the document, that is, as a built-in of the document. Am I right?


  I don't understand the above. Normally, one would keep graphic image files
in the same directory as the text files. You can, however, create a
subdirectory below the one with the text files and keep your images there.


If the above is right, my question: What's the difference? Is there a
difference in terms of quality, an advantage, ...or just is a question
about "comfort"?


  Vector images scale; bit-mapped images don't. The lines on vector images
are cleaner and sharper than those of bit-mapped images. The format depends
on the content of the image. You can use either with a LyX/LaTeX/TeX
document.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863

Conceptual doubt about graphics in LyX

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo
Hi again, 

Sorry for so many bursts in the list, I think this is the last question
I'm dropping here for now. 
This is not an issue to solve, but a doubt I had in mind since several
weeks ago. 

Images are usual, a great many in my texts, since they are necessary
needed by the text. They are sketch, diagrams, graphics, draws, etc...
made with The Gimp most of the times, also some formed images caught
over there or even scanned, whatever...

First, I saved everything in the .png format, and after resizing, etc...
properly with The Gimp and the image was really ready, just went to Lyx
> Insert image. 

Then, I don't know if I read something here or wherever..., about saving
in .eps format. I thought it would make sense (because of postscript,
TeX, etc...), so I tried (with The Gimp too), was OK and then all images
were converted to .eps, but going to LyX > Insert Image (as before). 

This way needs the permanent existence of a folder with the set of
images for each document, right. 
On the other hand, I read in the CTAN, documentation, ... that there is
a package to INCLUDE the own image (eps) inside the document, that is,
as a built-in of the document. Am I right?

If the above is right, my question: What's the difference? Is there a
difference in terms of quality, an advantage, ...or just is a question
about "comfort"?

Regards,

Daniel



Re: Numbering of floats in appendices

2008-04-07 Thread Bob Lounsbury
On Mon, Apr 7, 2008 at 1:29 PM, David Hewitt <[EMAIL PROTECTED]> wrote:
>
>  How do you change the numbering of table and figure floats to include the
>  appendix letter. E.g.,
>
>  In Appendix A, I would like Table A1 rather than a continuous numbering
>  system from the main text. I looked around at the appendix package and in
>  the LyX Docs and came up empty.
>
>  -
>  David Hewitt
>  Research Fishery Biologist, USGS Klamath Falls Field Station (Oregon, USA)
>  -and-
>  Student, Virginia Institute of Marine Science
>  http://www.vims.edu/fish/students/dhewitt/
>  --
>  View this message in context: 
> http://www.nabble.com/Numbering-of-floats-in-appendices-tp16539105p16539105.html
>  Sent from the LyX - Users mailing list archive at Nabble.com.
>
>

If you enable the AMS math option in the document settings and then put:

\numberwithin{figure}{section}

in your appendix it puts the figures in an A.# format, but it doesn't
restart the numbering. If you put this in the preamble it would number
all figures per section but I'm assuming this is not what you're
looking for. Maybe someone else knows how to reset the numbering of
figures.

Cheers,
/Bob


Just the name of the chapter right in the header, unable of getting it. How how how...

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo
Hi again,

Honestly, I hope to get to explain good enough. The issue is very
simple. 

What I've done until now in order to sorting this out has been just
taping in the preamble, inside "\rhead{}", the string I wanted to be
appeared there (using the fancyhdr). But how to do if I want the same
result using code? 

I've tried several combinations, but without results. Actually, I never
knew much what I  was really doing, since I know nothing about LaTeX,
but the "try and error" method didn't gave me a only chance either.

In a pdf document ("Page layout in LaTeX", Piet van Oostrum, Utrecht
University, 2004), page 10, it shows several examples of this, more...
what I wanted was there... !!!, __just__ the third from the end, very
simple:

\renewcommand{\chaptermark}[1]{%
 \markboth{#1}{}}

which belongs to a string without the word "Chapter" (or whatever),
without the number of the chapter, _with_ lower case letters. 

It doesn't work for me, and for sure that I'm doing something wrong
here...

I'd just like it placed in the right header corner. 
If I could get it, I could think into the idea of build a
"book" (forgetting the master/child documents), and then directly
printing it, since the rest of settings (margins, etc.) are always the
same for all "child" documents.

This is what I usually have into the preamble of each LyX document
(child, that is, a chapter):

--
\AtBeginDocument{%
\addto\captionsspanish{%
\renewcommand{\chaptername}{Tema }%
}}

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{I put here the name of the subject/course, THIS BY HAND since is
always the same} 
\rhead{This changes _by taping_ into each document, I put here the name
of the chapter, and this is just what I'd like to avoid it}
\chead{}
\lfoot{}
\rfoot{}
\cfoot{\thepage}
--

Regards and thanks again,

Daniel



Re: Why does Windows LyX 1.5.3 care about Xetex?

2008-04-07 Thread David Hewitt
> > Why in the world does a Windows installation of MikTeX and LyX care about 
> > Xetex -- a Mac TeX system??
>
>  XeTeX is not a MAC system. It is a Unicode variant of LaTeX and the new
> thing in MiKTeX 2.7. So perhaps one of the LaTeX-packages you load in your
> preamble use now XeTeX when it is available. As it is now available in
> MiKTeX, it is tried to use it.

Of course Uwe is right... thanks for setting me straight.


Numbering of floats in appendices

2008-04-07 Thread David Hewitt

How do you change the numbering of table and figure floats to include the
appendix letter. E.g.,

In Appendix A, I would like Table A1 rather than a continuous numbering
system from the main text. I looked around at the appendix package and in
the LyX Docs and came up empty.

-
David Hewitt
Research Fishery Biologist, USGS Klamath Falls Field Station (Oregon, USA)
-and-
Student, Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Numbering-of-floats-in-appendices-tp16539105p16539105.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: bibtex/makebst: address not shown in bibliography

2008-04-07 Thread cmiramon
Berthold Metz (PH-Freiburg) wrote:
> as document-class i use book (koma script), when i change to book the
> problem persists (was this your question?)
> 
No, I was asking what happens if you cite a book like
\cite{SachsHombach:2003c}

> Are you using crossref or not ?
> 
> yes, and the address exists in the referenced entry, but is not printed
> in the bibliography, example:

Crossref are rather fragile in BibTeX, try to remove in the @incollection
the publisher and isbn fields.

> 
> @incollection{SachsHombach:2003,
>   crossref = {{S}achs{H}ombach:2003c},
>   author = {{S}achs--{H}ombach, {K}laus},
>   title = {{G}ibt es ein {B}ildalphabet?},
>   pages = {57--66},
>   publisher = {{H}alem},
>   isbn = {3931606783},
>   editor = {{S}achs--{H}ombach, {K}laus and {R}ehk{\"a}mper, {K}laus},
>   booktitle = {{B}ildgrammatik: {I}nterdisziplin{\"a}re {F}orschungen
> zur {S}yntax bildlicher {D}arstellungsformen},
>   year = {2003}
> }
> @book{SachsHombach:2003c,
>   year = {2003},
>   title = {{B}ildgrammatik:  {I}nterdisziplin{\"a}re {F}orschungen zur
> {S}yntax bildlicher {D}arstellungsformen},
>   address = {{K}{\"o}ln},
>   publisher = {{H}alem},
>   isbn = {3931606783},
>   editor = {{S}achs--{H}ombach, {K}laus and {R}ehk{\"a}mper, {K}laus}
> }
> 

Cheers,
Charles



Re: No accents when mastering a document (Spanish) ??

2008-04-07 Thread Luis Rivera
Miguel Daniel Rodríguez Magarzo <[EMAIL PROTECTED]> writes:

> 
> In the master, Document > Settings > Language > Spanish, and encoding
> "LaTeX default"
> but into each child document, I have set Language Spanish too, but
> encoding "utf8", with good results. 
> If I switch to "utf8" in the master settings, the xdvi preview gives me
> a lot of warnings about this fact, obviously. 
> 

Excuse me, but I don't quite follow: you wrote, encoded, and typeset all child 
documents in UTF8; and when coming to a parent document, you are trying to 
write, encode and typeset the whole thing again in UTF8, right? You mean, the 
language settings for all documents are exactly the same, and the LyX process 
breaks?

If that's the case you may have stumbled upon a bug in LyX. Otherwise please 
recheck and state your case better.

You may also help to diagnose the bug trying another encoding. Make two copies 
and try "language default" or "Latin1" in all documents on each copy and see 
what happens.

Sorry, you have to try. I do child documents with the default encoding (Latin1 
IIRC) all the time, without a problem. 

Good luck,

Luis.




Re: WRB - Summary of Experience with LyX

2008-04-07 Thread Andre Poenitz
On Mon, Apr 07, 2008 at 11:15:13AM -0700, William R. Buckley wrote:

Hi Francis.

> First, I vote for LICK.

Usually the right of naming a child belongs to the parents, so I really
wonder why _this_ discussion pops up every second year or so...

Andre'

PS: I surely forgot one or two of those again: :-) :-) :-) 




No accents when mastering a document (Spanish) ??

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo
Hi again,

These days I've got the (longed-for) moment where much of the work was
definitively done. Result of this is a set of different LyX documents
(book-style), each one is a chapter. 
I've tried that called master/child document, but the resulting preview
is absolutely unacceptable, 'cause it doesn't get to treat accents
properly, so it puts other characters just where there should be an
accent. My mother tongue, Spanish, is a language full of accents
everywhere so, after mastering the set, the "crashing" aspect of each
page is really awful. Besides, this adds more characters per page, which
alters the desired position of most of the sections/subsections,... 

In the master, Document > Settings > Language > Spanish, and encoding
"LaTeX default"
but into each child document, I have set Language Spanish too, but
encoding "utf8", with good results. 
If I switch to "utf8" in the master settings, the xdvi preview gives me
a lot of warnings about this fact, obviously. 

So I don't know what to do, if I should abandon the idea of building a
master document,since I don't see clearly which advantages it really
provides. Anyone could point me any? Besides, the master document has
not built-in the sets of child documents, has it? Consequently, the
whole set of child docs should be there forever, if I've understood it
rightly.

Regards,
Daniel






WRB - Summary of Experience with LyX

2008-04-07 Thread William R. Buckley
First, I vote for LICK.

If the goal is to be a TeX product, then extend the language, and
avoid the sound of plurality,

Second, I think LyX has a wonderful potential, and a magnificently
executed actual.

I have learned from where most of the text formatting is controlled,
and it is surprisingly easy.  Don't understand why I can't there also
find *strikeout* among the forms.  Also, why not add ability to
select the font, when also selecting weight (bold, medium) and
other features (normal, italic, slant)?  Yet, these are minor points,
and surely there are other mechanisms to which a LyX user should
turn.

Some of my experience is akin to that of one who transitions
between editors, like those of use who use Borland Turbo Pascal
for a number of years, and then moved to BRIEF.  Ventura Publisher
has its mechanisms, and LyX has a different sent.  Sometimes, 
the mechanisms are homomorphic, sometimes not.

In learning to use the mathematics interface took a little time,
mostly because of not reading the manual I should think but,
it is quite natural now.  The integration of the mechanism with
the corresponding keystroke is wonderful  For example, when I
need a variable that is subscripted, such as a label in a figure
to which a text reference is needed, I simply select the proper
font, which opens a box in the text, and there, I type, for instance,
A_i, and the subscript box automatically opens, ready to receive
the i.  Behavior like this is quite natural, and smoothly implemented.

Third, the political sensibilities of some participants hinders the
collective goal.  The generally friendly manner of postings does
much to attract the interest of others; attacking those who show
interest is a contrary force.

I frankly have no preference for operating systems, nor for the
systems which others provide.  Complaining to me about the
political struggle between Microsoft and Sun, or Microsoft and
the free-software movement, is like preaching to an atheist.

I don't care about such things.  In their stead, I accept that the
marketplace of ideas will win the struggle for truth, and that will
bring minds.  All good things to those who wait.

I do care about helping the occasional activity, such as that
which is LyX, and offer therefore those observations which may
be useful.  If they get used, fine; if they get ignored, fine.  It is
all the same to me.

Fourth, I got some very good assistance from the developers
and senior users, for which I am quite grateful.  Even in those
cases where replies were less patient, I got valuable replies
that allowed me to greatly reduce the time to both acquire
knowledge of the tool and produce a timely submittal of paper
to conference.

Now, with more leisure, I may turn to the online documentation,
and gain more thorough familiarity with LyX.

I am comfortable with LyX, and know a smidge of TeX.  So, I
am reasonably confident of being able to master the tool, even
if it does now seem as if I am aboard a row-boat, in the middle
of the Pacific.

wrb



Re: Strange segfault of dvipost when compiling lyx file

2008-04-07 Thread Joost Verburg

Pavel Sanda wrote:

can anybody confirm on some other tex install that attached dvi fails too?
i dont have any idea what went wrong.


Try dvipost-1.1.patch in development\Win32\patches.

Joost



Re: Howto for footnoting from a table

2008-04-07 Thread Uwe Stöhr

Miguel Daniel Rodríguez Magarzo schrieb:


One of the doubts is how to do a footnote from a table element, if
possible. Lyx behaves as it had been done, but it hadn't, according with
the xdvi preview.


See sec. 4.2 and 5.4 of the EmbeddedObjects manual.

> I'm working with LyX 1.5.1, and here I can find a work

regards Uwe


Re: Hyphenation problem with two languages

2008-04-07 Thread Mark Reglewski

G. Milde wrote:

On  7.04.08, Liviu Andronic wrote:

On Mon, Apr 7, 2008 at 10:01 AM, G. Milde <[EMAIL PROTECTED]> wrote:

On  6.04.08, snvv wrote:
 > I have a problem with hyphenation when I use two or more character sets
 > in the same document.



 Did you check "Use Babel" in the Document>Settings>Languages tab?


In LyX 1.5.4 I could not find the "Use babel" option. 


Sorry, it is a General setting (don't know why) under

  Tools>Preferences>Language Settings>Language


Not here on LyX 1.5.4 running on Mac OS X.

You can't get to this setting from the Tools or Document menus. Here 
it's actually:


LyX > Preferences > Language

"Use babel" seems to be a default: that's what I have here and I haven't 
ever played with this setting manually.


Just curious, are the LyX menus different on other supported operating 
systems? (Giving menu-clicking recipes on this help list would be a pain 
if it's so.)


Cordially,
Mark Reglewski


Re: AMS article

2008-04-07 Thread Richard Heck

Julio Rojas wrote:

Hostility and cynicism. A very nice way of answering a totally naive
question. Good for you Mr. Heck.

  
Sorry, that wasn't meant to be hostile or cynical. Maybe a smiley would 
have helped


rh


On Sun, Apr 6, 2008 at 9:35 PM, rgheck <[EMAIL PROTECTED]> wrote:

  

Julio Rojas wrote:



Ouch... Is there any way to change this? I'm tired of working with the
Koma
article class.



  

Yes. You can re-write the class file. That's just how the AMS article is
designed.

There are lots of article classes.

rh


 On Sun, Apr 6, 2008 at 7:09 PM, Paul A. Rubin <[EMAIL PROTECTED]> wrote:



  

Julio Rojas wrote:





I'm having problems while working with an AMS article. The address
and
email
are printed after the references section, not in the first page. Why
does
this happen?




  

That's where the class is designed to put them (see page 5, second
full
paragraph, of instr-l.dvi, which comes with the class).

/Paul








  




  




Howto for footnoting from a table

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo
Hi list, 

Again, I'd like to get some help from here about some issues where I'm
stuck at the moment. I usually try CTAN documentation firstly, but also
vainly most of the times... I thing I do not get to catch most of the
substance. As I've already said in previous occasions in the list, I
have no idea about LaTeX, but I work using LyX in order to produce my
own work documentation. 

One of the doubts is how to do a footnote from a table element, if
possible. Lyx behaves as it had been done, but it hadn't, according with
the xdvi preview. I'm working with LyX 1.5.1, and here I can find a work
around easily, e.g. using the x^n math function, but... it's not the
same and I'd like to know..

I've not found anything about that in the documentation that LyX comes
in.

Thanks in advance, even for reading..

Daniel



Re: multiplatform vector drawing program to use

2008-04-07 Thread Walter H. van Holst

> Of course, there are also other vector drawing programs (besides
> Xfig), so
> what is outlined here is not the only option you have.

If only Linux and Windows are required, I'd recommend Inkscape. It is
much more polished and user friendly than Xfig whose UI is a bit
daunting.

Regards,

 Walter



Re: Setting align as the default environment for multiline formulas

2008-04-07 Thread Uwe Stöhr

Guy Rutenberg schrieb:


I'm looking for a way to set the align environment as the default one in LyX for
multiline formulas. E.g. when in display mode and I press Ctrl+Enter I want the
formula to use the align environment instead of the eqnarray one.


This can be done by redefining the eqnarray environment to be the align environment, you should find 
 how this is done in the archive of this list.


regards Uwe


Re: multiplatform vector drawing program to use

2008-04-07 Thread David A. Case
On Mon, Apr 07, 2008, Oscar Lopez wrote:
> 
> My colleague uses the windows version of lyx and I use the linux
> version.  I am quite satisfied with the current support of xfig at lyx
> using external material. However, as far as I know, xfig only runs at linux
> machines...

Xfig runs fine under cygwin (as, in fact, does LyX itself).  Cygwin provides
excellent tools for making windows appear like linux; this may or may not
be what your colleague wants.  And there is a learning curve here.  But one
possibility is to install Xfig and LyX in cygwin, with no need for MikTex.

For information, see http://wiki.lyx.org/LyX/LyXOnCygwin.  There are pre-built
cygwin binaries for LyX-1.5.x available.

Of course, there are also other vector drawing programs (besides Xfig), so
what is outlined here is not the only option you have.

...dave case



Re: Why does Windows LyX 1.5.3 care about Xetex?

2008-04-07 Thread Uwe Stöhr

David Hewitt schrieb:


So, I went and updated my MikTeX packages (the only ones that needed
updating were authordate, floatflt, pdfpages, cm, caption, and babel) and
also installed the ifxetex package, and the problem went away. I don't think
any of the packages but ifxetex have anything to do with pdflscape. Why in
the world does a Windows installation of MikTeX and LyX care about Xetex --
a Mac TeX system??


XeTeX is not a MAC system. It is a Unicode variant of LaTeX and the new thing in MiKTeX 2.7. So 
perhaps one of the LaTeX-packages you load in your preamble use now XeTeX when it is available. As 
it is now available in MiKTeX, it is tried to use it.


regards Uwe


Re: Hyphenation problem with two languages

2008-04-07 Thread snvv
On Monday 07 April 2008 11:31:36 Liviu Andronic wrote:
> Hello,
>
> On Mon, Apr 7, 2008 at 10:01 AM, G. Milde <[EMAIL PROTECTED]> wrote:
> > On  6.04.08, snvv wrote:
> >  > I have a problem with hyphenation when I use two or more character
> >  > sets in the same document.
>
> Try \usepackage[greek, english]{babel} in the Preamble. It might solve
> the issue.
>
> >  Did you check "Use Babel" in the Document>Settings>Languages tab?
>
> In LyX 1.5.4 I could not find the "Use babel" option. What version are
> you using?
>
> Liviu

Hello

I use 1.5.4 too. I had tried \usepackage[greek, english]{babel} with the same 
results.

SN 


Re: lyx2lyx fails to import .tex document created by openoffice

2008-04-07 Thread José Matos
On Monday 07 April 2008 16:39:25 José Matos wrote:
> This problem happens both for lyx 1.5.5svn and 1.6.0svn.
>
> > best,
> > rené toth

In order not to forget this bug I filled this in bugzilla:

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

-- 
José Abílio


Re: Hyphenation problem with two languages

2008-04-07 Thread snvv
On Monday 07 April 2008 11:01:28 G. Milde wrote:
> On  6.04.08, snvv wrote:
> > I have a problem with hyphenation when I use two or more character sets
> > in the same document.
>
> Did you check "Use Babel" in the Document>Settings>Languages tab?
>
> GM

Hello

I can't see any option about babel in Document>Settings>Languages.
However I think the default is babel and any way I have tried  
\usepackage[greek, english]{babel} in preable with no luck.

SN


Re: lyx2lyx fails to import .tex document created by openoffice

2008-04-07 Thread José Matos
On Monday 07 April 2008 15:21:07 René Toth wrote:
> hello,
>
> it seems that i've got a problem with lyx2lyx, when i try to import .tex
> documents which i've created with openoffice.
> lyx always reports an error to me, that the conversion-script failed,
> because the created .lyx file comes from a different
> lyx-version and the lyx2lyx script couldn't convert the document.
>
> my os is windows xp sp2, i use openoffice 2.4 and lyx 1.5.4.
>
> i'm not sure if this is a bug of lyx2lyx or the import of .tex documents
> created by openoffice doesn't work at all.
>
> in  the attachment you can find the .tex document i created with
> openoffice and which lyx2lyx fails to convert in a working
> .lyx document.
>
> maybe you can help me with this problem. thanks in advance.

Change the \inputencoding line from ascii to auto.

The problem is in the convertion from tex to lyx where tex2lyx sets the wrong 
inputencoding. The problem is that tex2lyx reads the following line of 
test.tex and assumes (correctly) the encoding:
\usepackage[ascii]{inputenc}

The problem, as far as I understand, is that later tex2lyx converts the ascii 
symbols to latin-1 (ngerman encoding) but keeps the inputencoding as ascii. 
So I think that line 308 of preamble.cpp wants to set encoding and not 
inputencoding. The fix should not be difficult after this diagnose. :-)

This problem happens both for lyx 1.5.5svn and 1.6.0svn.

> best,
> rené toth

-- 
José Abílio


Re: multiplatform vector drawing program to use

2008-04-07 Thread Bob Lounsbury
On Mon, Apr 7, 2008 at 8:54 AM, Oscar Lopez <[EMAIL PROTECTED]> wrote:
> Dear lyxers
>
>  I am starting a document project with a colleague using lyx. The goal is to
>  obtain a big document of a technical course. My colleague uses the windows
>  version of lyx and I use the linux version. At this initial stage we can 
> easily
>  share simple documents.  Now we are concerned with the use of a common vector
>  drawing program that can be used at both platforms. The main feature that we
>  require is that the vector drawing program can annotate drawings with latex 
> math
>  formulae. I am quite satisfied with the current support of xfig at lyx using
>  external material. However, as far as I know, xfig only runs at linux 
> machines
>  therefore we are looking for an alternative program. Could anybody care to 
> give
>  us some recommendation? Any advice related to other aspects of such a project
>  are also welcome.
>
>  Thank you very much for all your help
>  Best regards

It seems xfig can be installed under cygwin:

http://www.cs.usask.ca/~wew036/latex/xfig.html

I also thought Inkscape was a popular vector graphics program that
runs on linux, mac, and windows (from what I've read it supports latex
math but I haven't used the program):

http://www.inkscape.org/index.php?lang=en

Cheers,
/Bob


multiplatform vector drawing program to use

2008-04-07 Thread Oscar Lopez
Dear lyxers

I am starting a document project with a colleague using lyx. The goal is to
obtain a big document of a technical course. My colleague uses the windows
version of lyx and I use the linux version. At this initial stage we can easily
share simple documents.  Now we are concerned with the use of a common vector
drawing program that can be used at both platforms. The main feature that we
require is that the vector drawing program can annotate drawings with latex math
formulae. I am quite satisfied with the current support of xfig at lyx using
external material. However, as far as I know, xfig only runs at linux machines
therefore we are looking for an alternative program. Could anybody care to give
us some recommendation? Any advice related to other aspects of such a project
are also welcome.

Thank you very much for all your help
Best regards



Re: bibtex/makebst: address not shown in bibliography

2008-04-07 Thread Berthold Metz (PH-Freiburg)

hi,
thanks for the fast reply. but ...


so i want: Smith, J. (1980): Title. In Mayer (ed): Title1, pp. 135-146.
London: Publishing-Company.
but i get: Smith, J. (1980): Title. In Mayer (ed): Title1, pp. 135-146.
Publishing-Company.

...

Does it work with a normal book ?


as document-class i use book (koma script), when i change to book the 
problem persists (was this your question?)


Are you using crossref or not ?

yes, and the address exists in the referenced entry, but is not printed 
in the bibliography, example:


@incollection{SachsHombach:2003,
 crossref = {{S}achs{H}ombach:2003c},
 author = {{S}achs--{H}ombach, {K}laus},
 title = {{G}ibt es ein {B}ildalphabet?},
 pages = {57--66},
 publisher = {{H}alem},
 isbn = {3931606783},
 editor = {{S}achs--{H}ombach, {K}laus and {R}ehk{\"a}mper, {K}laus},
 booktitle = {{B}ildgrammatik: {I}nterdisziplin{\"a}re {F}orschungen 
zur {S}yntax bildlicher {D}arstellungsformen},

 year = {2003}
}
@book{SachsHombach:2003c,
 year = {2003},
 title = {{B}ildgrammatik:  {I}nterdisziplin{\"a}re {F}orschungen zur 
{S}yntax bildlicher {D}arstellungsformen},

 address = {{K}{\"o}ln},
 publisher = {{H}alem},
 isbn = {3931606783},
 editor = {{S}achs--{H}ombach, {K}laus and {R}ehk{\"a}mper, {K}laus}
}

is shown as Sachs-Hombach, K. (2003). Gibt es ein Bildalphabet? In K. 
Sachs-Hombach & ..., S.57-66. Halem.


i already tried to copy the @book to the top of the .bib-document, that 
doesn't change anything ...




the editor is shown (wrong) as "Sachs Hombach", but the publisher
(correct) as "Dt. Univ.-Verl."



You should protect the editor name {{S}achs--{H]ombach}


this worked using {S}achs{-}{H}ombach - thanks!

regards
bert




--
Berthold Metz, PH Freiburg
FuN-Kolleg "Lernen für die Wissensgesellschaft"
Kartäuserstr. 61b, Raum 218 (2. Stock), 79106 Freiburg
Telefon: +49 761 682-919, Fax: +49 761 682-922


lyx2lyx fails to import .tex document created by openoffice

2008-04-07 Thread René Toth

hello,

it seems that i've got a problem with lyx2lyx, when i try to import .tex 
documents which i've created with openoffice.
lyx always reports an error to me, that the conversion-script failed, 
because the created .lyx file comes from a different

lyx-version and the lyx2lyx script couldn't convert the document.

my os is windows xp sp2, i use openoffice 2.4 and lyx 1.5.4.

i'm not sure if this is a bug of lyx2lyx or the import of .tex documents 
created by openoffice doesn't work at all.


in  the attachment you can find the .tex document i created with 
openoffice and which lyx2lyx fails to convert in a working

.lyx document.

maybe you can help me with this problem. thanks in advance.

best,
rené toth
% This file was converted to LaTeX by Writer2LaTeX ver. 0.5
% see http://www.hj-gym.dk/~hj/writer2latex for more info
\documentclass{article}
\usepackage[ascii]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{amsmath,amssymb,amsfonts,textcomp}
\usepackage{color}
\usepackage{array}
\usepackage{hhline}
\usepackage{hyperref}
\hypersetup{pdftex, colorlinks=true, linkcolor=blue, citecolor=blue, 
filecolor=blue, pagecolor=blue, urlcolor=blue, pdftitle=, pdfauthor=Ren\'e 
Toth, pdfsubject=, pdfkeywords=}
% Page layout (geometry)
\setlength\paperwidth{20.999cm}
\setlength\paperheight{29.699cm}
\setlength\voffset{-1in}
\setlength\hoffset{-1in}
\setlength\topmargin{2cm}
\setlength\oddsidemargin{2cm}
\setlength\textheight{25.699cm}
\setlength\textwidth{16.999cm}
\setlength\footskip{0.0cm}
\setlength\headheight{0cm}
\setlength\headsep{0cm}
% Footnote rule
\setlength{\skip\footins}{0.119cm}
\renewcommand\footnoterule{\vspace*{-0.018cm}\setlength\leftskip{0pt}\setlength\rightskip{0pt
 plus 
1fil}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.018cm}}\vspace*{0.101cm}}
% Pages styles
\makeatletter
[EMAIL PROTECTED]
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
  \renewcommand\thepage{\arabic{page}}
}
\makeatother
\pagestyle{Standard}
\title{}
\begin{document}
Mit Writer k\"onnen sowohl kurze Texte wie Briefe, Memos, Etiketten,
Visitenkarten als auch umfangreiche Schriften wie B\"ucher oder
mehrteilige Dokumente mit Tabellen sowie Inhalts- und
Literaturverzeichnissen geschrieben und gestaltet werden. Die
Textverarbeitung bietet g\"angige Funktionen wie Textbausteine,
Teamfunktionen, Rechtschreibpr\"ufung, Silbentrennung, Thesaurus,
Autokorrektur, mehrstufiges Undo sowie verschiedene Dokumentvorlagen.
Mit Hilfe eines Assistenten werden eigene Dokumentvorlagen, Briefe,
Faxe und Tagesordnungen erstellt. Zur besseren Bearbeitung
umfangreicher Schriften k\"onnen einzelne Textdokumente (.odt)
nachtr\"aglich zu einem gemeinsamen Globaldokument (.odm)
zusammengef\"ugt werden.


\bigskip

Formatvorlagen f\"ur einzelne Zeichen, Abs\"atze, Rahmen und Seiten
k\"onnen mit dem Stylist (ab Version 2.0 Fenster Formatvorlagen)
erstellt und zugewiesen werden. Der Navigator erlaubt es, sich schnell
im Dokument zu bewegen, es in einer Gliederungsansicht zu betrachten
und den \"Uberblick \"uber darin eingef\"ugte Objekte zu behalten.
Innerhalb der Texte k\"onnen verschiedene Verzeichnisse erzeugt und
angepasst werden. \"Uber Live-Hyperlinks und Textmarken kann man direkt
zu Textstellen springen.


\bigskip

Texte k\"onnen mehrspaltig formatiert und mit Textrahmen, Tabellen,
Grafiken und anderen Elementen versehen werden. Mit Hilfe der
Zeichenwerkzeuge werden innerhalb des Dokuments Zeichnungen, Legenden
und andere Zeichenobjekte erstellt, beispielsweise f\"ur Newsletter,
Brosch\"uren oder Einladungen. Grafiken unterschiedlicher Formate
k\"onnen eingebunden werden, z. B. Grafiken in den Formaten GIF oder
PNG. Es lassen sich die g\"angigen Bildformate im
Textverarbeitungsdokument mit dem mitgelieferten
Bildbearbeitungswerkzeugen bearbeiten. Clipartsammlungen, Animationen
und Kl\"ange werden in der Gallery verwaltet und nach Themen geordnet.


\bigskip

Textdokumente verf\"ugen \"uber eine integrierte Rechenfunktion, mit der
Rechenoperationen oder logische Verkn\"upfungen ausgef\"uhrt werden.
Die f\"ur die Berechnung ben\"otigte Tabelle l\"asst sich in einem
Textdokument erstellen. Der HTML-Editor ist ein WYSIWYG-Editor zum
Erstellen von Webseiten. Ein umfassendes Hilfesystem steht zur
Verf\"ugung, das Anweisungen f\"ur einfache und komplexe Vorg\"ange
abdeckt.


\bigskip

Calc [Bearbeiten]

OpenOffice.org 2.3.0 Calc mit Diagramm-Assistent

OpenOffice.org 2.3.0 Calc mit Diagramm-Assistent


\bigskip

In Calc werden Daten in Tabellen bearbeitet, analysiert, verwaltet und
verdeutlicht. Daten k\"onnen angeordnet, gespeichert und gefiltert
werden. Die Tabellenkalkulation bietet \"uber 450 Berechnungsfunktionen
z. B. aus den Bereichen Finanzen, Statistik, Mathematik, Matrix, Datum
und Zeit. Es steht ein Funktions-Assistent zum Erstellen von Formeln
und komplexen Berechnungen zur Verf\"ugung. Teil- oder Gesamtergebnisse
k\"onnen berechnet werden.


\bigskip

Mit Calc ist es m\"og

Re: ERT to inline by command

2008-04-07 Thread Ethan Metsger
On Mon, 07 Apr 2008 09:04:16 -0400, Daniel Lohmann  
<[EMAIL PROTECTED]> wrote:



AFAIK there is, unfortunately, no LFUN for this
I too would really appreciate a keyboard shortcut.


I was under the impression that using CTRL-I would do the job.  I just  
tested it on 1.5.2/Ubuntu and it seems to work just fine.



Best,

Ethan (http://uppertank.net/ethanm)


Why does Windows LyX 1.5.3 care about Xetex?

2008-04-07 Thread David Hewitt

In a document that uses the pdflscape package to render landscape pages, I
recently got an error that I had not encountered before. When I tried to
compile the PDF (pdflatex), I got a LaTeX error that said something like
"ifxetex.sty not found" with details that made it clear that pdflscape was
the problem. I can't recall exactly what it said.

My first attempts were to track down and update lscape and pdflscape. lscape
comes in the graphics package and that was up to date (this is a recent
install of LyX and MikTeX). After some fruitless searching for how to get
pdflscape in MikTeX, I found that it was included in the oberdiek package,
and that was also up to date.

So, I went and updated my MikTeX packages (the only ones that needed
updating were authordate, floatflt, pdfpages, cm, caption, and babel) and
also installed the ifxetex package, and the problem went away. I don't think
any of the packages but ifxetex have anything to do with pdflscape. Why in
the world does a Windows installation of MikTeX and LyX care about Xetex --
a Mac TeX system?? Is this a new addition to the pdflscape package?

-
David Hewitt
Research Fishery Biologist, USGS Klamath Falls Field Station (Oregon, USA)
-and-
Student, Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Why-does-Windows-LyX-1.5.3-care-about-Xetex--tp16537437p16537437.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Strange segfault of dvipost when compiling lyx file

2008-04-07 Thread Bob Lounsbury
On Mon, Apr 7, 2008 at 3:29 AM, Pavel Sanda <[EMAIL PROTECTED]> wrote:
> > Here's my output from lyx while generating a .dvi of your example:
>
>  i guess you must generate postscript.
>
>  what happens if you run: dvipost a.dvi ?

Sorry, I mis-read your post. I don't have dvipost installed and I
tried installing but it failed to build.

>  > lyx
>  > dvipng warning: at (-1,-1) ignored header \special{!userdict
>  > begin/bop-hook{/isls false def/vsize 792 def/hsize 612 def}def end}.
>
>  you have installed elsevier class, right? (without it the problem won't 
> appear)
>  pavel

Yes, I have elsevier.

Bob


Re: ERT to inline by command

2008-04-07 Thread Daniel Lohmann


On 07.04.2008, at 12:44, Salát Máté wrote:

Hi!

What command makes the "Display" option of the active ERT to  
"Inline"? I want to create a key binding to this function.


AFAIK there is, unfortunately, no LFUN for this
I too would really appreciate a keyboard shortcut.


Daniel

Re: okay, can't resist one more bit of "feedback"

2008-04-07 Thread Uwe Stöhr

Manveru schrieb:


I've installed Lyx a few times... and once... s* happend to MikTeX, which
causes LyX to not work. I took my one evening resolving problem... and then
I read next day that MikTeX repositories are broken so updated MikTeX could
not work with LyX.


This was the first time for over 2 years that this happened. Normally MiKTeX 
makes no problems.

regards Uwe


Re: okay, can't resist one more bit of "feedback"

2008-04-07 Thread Manveru
I've installed Lyx a few times... and once... s* happend to MikTeX, which
causes LyX to not work. I took my one evening resolving problem... and then
I read next day that MikTeX repositories are broken so updated MikTeX could
not work with LyX.

LyX is great. MikTeX sometime makes problems. This fact shoulde be marked
somewhere in LyX reconfiguration procedure, maybe.

Regards,
M

2008/3/22, Louis Brazeau <[EMAIL PROTECTED]>:
>
> On Fri, Mar 21, 2008 at 1:42 PM, Bill King <[EMAIL PROTECTED]> wrote:
>   > Yes, it's me again, the same guy who couldn't get lyx to work in
> Ubuntu
>   > 7.10.  Just downloaded and installed what is supposed to be a COMPLETE
>   > operative LyX/LaTeX/Tex system in windows (from your download
> page--vers.
>   > 1.5.4).  It also DOESN'T WORK!
>   >
>   > After the installation, I clicked the desktop shortcut.  Nothing
> happened
>   > for such a long time I was beginning to think nothing would ever
> happen and
>   > that the program was just broken.  It took 50 sec. to start, with no
>   > indication in the meantime that anything was happening.
>   >
>   > It's running now.  Apparently it eats up so much of the system
> resources (in
>   > WinXP, 2.8 GHz Intel Pentium 4, 1 GB of RAM) that my system has been
> dragged
>   > down to almost a complete halt!  I've never seen things move this
> slowly
>   > before, EVEN IN WINDOWS!
>   >
>   > Finally, just as was the case in Linux, it WILL NOT EVEN PRINT ITS OWN
>   > DOCUMENTATION!  That is just flat out RETARDED.  I spent a good bit of
> last
>   > night installing every Latex doodad I could get my hands on in Linux.
>   > Nothing helped.  Hence, my trial in Windows this afternoon.  Got
> exactly the
>   > same error message.  (Attached)
>   >
>   > I don't buy the blame-it-on-the-OS mentality that a lot of of software
>   > programmers seem to have these days (e.g., broken GIMP on Mac OS X
> 10.5).
>   > If the software doesn't work, it just DOESN'T WORK!  (Btw, the Latex
>   > Configuration item under Help wouldn't open at all, so couldn't check
> that
>   > either to see what might be broken.)
>   >
>   > Thank you for your time.  I'm wiping this crap off both my HDs now!
>   >
>
>
> I just installed that same version in Windows XP and it works great.
>   Installation was very easy (I just accepted the default). The
>   installation process automatically installed MiKTeX, ImageMagic,
>   ghostscript and aspel.
>
>   First start does take a long time (several minutes here) but after
>   that, it's much quicker (6 seconds). And my system (AMD Athlon 3000+,
>   2.15 GHz, 1 GB RAM) was as responsive as ever during the 1st start.
>
>   As a test I tried printing the documentation and, again, no problem.
>
>   I have never used Ubuntu, so I can't talk about that. But, I've been
>   running LyX under ArchLinux for a couple of weeks with no problem.
>
>   Weird
>
>   --
>
> Louis Brazeau
>   Informaticien
>



-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


Re: math-macros in included file

2008-04-07 Thread Stefan Schimanski


Am 07.04.2008 um 11:44 schrieb G. Milde:

Dear LyX users,

for my thesis, I define a set of about 20 math-macros that reside in a
well commented file math-macros.lyx that is included by the document
file(s).

When I open the document file before opening the math-macro.lyx  
file, all
macros will be shown as ERT. Unfortunately, they remain in ERT even  
after

opening math-macro.lyx later on (either via File>Recent Files or
automatically as a result of View>Postscript).

I experimented with cut-and-paste of the macro definitions in a LyX- 
Note

at the beginning of the document. However, this bloats the file and
keeping it in sync is a pain.

Does anyone else experiment this kind of problem?
Are there proposed workarounds?


Yes, wait for 1.6. It will come with a completely rewritten macro  
system, see here:


  http://wiki.lyx.org/LyX/NewInLyX16#toc12

You are very welcome to try out the development version and report  
problems with the macros. I use them extensively for my own thesis,  
but some more testing would be very welcome. The alpha2 should be out  
soon if you don't want to compile from source yourself.


Stefan


Setting align as the default environment for multiline formulas

2008-04-07 Thread Guy Rutenberg
Hi,

I'm looking for a way to set the align environment as the default one in LyX for
multiline formulas. E.g. when in display mode and I press Ctrl+Enter I want the
formula to use the align environment instead of the eqnarray one.

Is it possible? If so, how can I do it?

Thanks,

Guy



ERT to inline by command

2008-04-07 Thread Salát Máté
Hi!

What command makes the "Display" option of the active ERT to "Inline"? I want 
to create a key binding to this function.

Cheers,
Máté

left-align paragraphs in GUI

2008-04-07 Thread G. Milde
Dear LyX-Users,
Attach: /home/milde/.lyx/layouts/leftalign.inc

As LyX's linebreaking algorithm does not include hyphenation of longer
words, some very large inter-word spaces frequently occure (especially in
languages with many long words as e.g. German).

Readability can be improved by setting the paragraph alignment 
in the LyX window to "left".

# Style Standard
#   Align Left
# End

This does not influence the appearance of the printout.

Drawbacks: 

* the Edit>Paragraph Settings dialog will display "default (left)"
  even if the default alignment of the class is "block".

* Paragraph indentation is supressed


Is there a way to retain paragraph indentation
(with Document>Settings>Text format>"Paragraph Separation by indent")?

I'll attach my leftalign.inc layout file.


Guenter



math-macros in included file

2008-04-07 Thread G. Milde
Dear LyX users,

for my thesis, I define a set of about 20 math-macros that reside in a
well commented file math-macros.lyx that is included by the document
file(s).

When I open the document file before opening the math-macro.lyx file, all
macros will be shown as ERT. Unfortunately, they remain in ERT even after
opening math-macro.lyx later on (either via File>Recent Files or
automatically as a result of View>Postscript).

I experimented with cut-and-paste of the macro definitions in a LyX-Note
at the beginning of the document. However, this bloats the file and
keeping it in sync is a pain.

Does anyone else experiment this kind of problem? 
Are there proposed workarounds?

Thanks

Guenter


Re: Strange segfault of dvipost when compiling lyx file

2008-04-07 Thread Pavel Sanda
> Here's my output from lyx while generating a .dvi of your example:

i guess you must generate postscript.

what happens if you run: dvipost a.dvi ?

> lyx
> dvipng warning: at (-1,-1) ignored header \special{!userdict
> begin/bop-hook{/isls false def/vsize 792 def/hsize 612 def}def end}.

you have installed elsevier class, right? (without it the problem won't appear)
pavel


Re: Hyphenation problem with two languages

2008-04-07 Thread G. Milde
On  7.04.08, Liviu Andronic wrote:
> On Mon, Apr 7, 2008 at 10:01 AM, G. Milde <[EMAIL PROTECTED]> wrote:
> > On  6.04.08, snvv wrote:
> >  > I have a problem with hyphenation when I use two or more character sets
> >  > in the same document.

> >  Did you check "Use Babel" in the Document>Settings>Languages tab?

> In LyX 1.5.4 I could not find the "Use babel" option. 

Sorry, it is a General setting (don't know why) under

  Tools>Preferences>Language Settings>Language

> What version are you using?

1.5.4 as well.


Guenter  
  


Re: tex2lyx converts comments to ERT

2008-04-07 Thread G. Milde
On  4.04.08, Uwe Stöhr wrote:
> G. Milde schrieb:

>> trying to convert the sciposter.tex example to a lyx file (after creating a
>> basic layout), I realized that all comments were translated to raw latex
>> (ERT). I would prefer it to go to a 'Comment' box.

> I think there is alredy a bug report, when not create, please create
> one in bugzilla.

done.

4715 unicode support for tex2lyx
4716 comments as ERT.

> I volunteer to support as many new features in tex2lyx, 

Thanks in advance.

> but am technically not good enough to teach tex2lyx to understand
> Unicode.

Nor am I :-(

Guenter


Re: Hyphenation problem with two languages

2008-04-07 Thread Liviu Andronic
Hello,

On Mon, Apr 7, 2008 at 10:01 AM, G. Milde <[EMAIL PROTECTED]> wrote:
> On  6.04.08, snvv wrote:
>  > I have a problem with hyphenation when I use two or more character sets
>  > in the same document.

Try \usepackage[greek, english]{babel} in the Preamble. It might solve
the issue.

>
>  Did you check "Use Babel" in the Document>Settings>Languages tab?

In LyX 1.5.4 I could not find the "Use babel" option. What version are
you using?

Liviu


Re: www.lyx.org/test temporarily down (renamed..)

2008-04-07 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] writes:

> Jean-Marc, could you modify
>
>   /etc/httpd/virtual.d/www.lyx.org.conf

I did it.

JMarc


Re: Chapter counter position in layout.

2008-04-07 Thread G. Milde
On  6.04.08, Jinghua Zhong wrote:

> The label for Chapter is displayed differently from those of Part,
> Section, Subsection, etc. The label (e.g., "Chapter 1") appears above
> the text, but the label for everything else appears to the left.
> However, I couldn't find anything in the layout files that defines the
> chapter label position (above or in the same line) differently from
> the rest of the sections labels. 

Its "LabelType", e.g.

LabelType Top_Environment
vs.


> Can someone tell me how to move the label for chapter to the left?

See the Help>Customization Guide for the right LabelType and add to
your layout file

Style Chapter
   LabelType
End

(after including the stdandard layouts).

GM


Re: Hyphenation problem with two languages

2008-04-07 Thread G. Milde
On  6.04.08, snvv wrote:
> I have a problem with hyphenation when I use two or more character sets
> in the same document.

Did you check "Use Babel" in the Document>Settings>Languages tab?

GM