Re: Installing biblatex-dw-style (Wassenhoven) on OSX

2009-02-13 Thread jezZiFeR

Hello Dominik, hello listmembers

I do still have the problem, that I can´t use biblatex-dw. That´s why  
I add a minimal lyx-file and I hope, someone could help. In the  
preamble I activated you biblatex-dw, so that now compiling does not  
work. but I also left the other biblatex-line, so that you could also  
use this one for comparing reasings. Here that one works fine.


If there is any problem with my files or so, please let me know


thank you for your help.



Minimal.lyx
Description: Binary data


testbib.bib
Description: Binary data




Best*
Jess





Am 06.02.2009 um 16:15 schrieb Dominik Waßenhoven:


jezZiFeR wrote:


Could this be a problem?


As it worked before, as you said, this should not be a problem. Could
you provide a minimal lyx file showing the problem and send it to the
list (or to me with private mail)?

Regards,
Dominik.-





Re: tables go out of the page

2009-02-13 Thread James C. Sutherland


On Feb 13, 2009, at 12:58 AM, Sindhu Sundar wrote:


Hi!

Am doing by final year project, we are required to submit erd  
diagrams and
stuff. In lyx when I create tables, some of the go out of the  
page...please

see http://dl.getdropbox.com/u/394046/Narration.pdf

how do i make the tables come within the page margin? please help.  
thanks :)


-Sindhu S


Two possible solutions that come to mind:
  1. Set column widths.  This will force line-wrapping in a cell.
  2. Rotate the table to landscape.
I would probably favor option 1 for most of your tables.


elsevier natbib author-year problem

2009-02-13 Thread Roberto Carluccio
Hello lyx-users,

  I'm trying to use the elsevier-harv bibtex style for the preparation
  of in a elsevier journal article.
  
  The problem:
  I cannot have a reference style compliant to what requested by the journal
  
  IN THE TEXT instead of having citations like (author, year), I get things 
like (author, [number]), 
  (no way to have authors together with years changing citation styles !!!)
  
  IN REFERENCES I cannot get rid of numbers [n] before references...
  

On the Elsevier site 
(http://www.elsevier.com/wps/find/authorsview.authors/elsart)
  they write that the class specifications are:
  

  BibTeX style files
  
  We have developed two BibTeX style files for journal articles:
  
  * BibTeX style file elsart-harv.bst for articles with Harvard style 
(author-year) references. 
When you use this style file, you should also use the natbib package.
  
  * BibTeX style file elsart-num.bst for articles with numbered references.
  
  * BibTeX style file elsart-num-sort.bst for articles with numbered 
alphabetically sorted references.
  
  * BibTeX style file elsart-num-names.bst for articles with numbered 
references with a name-year label.

  
For the Journal I'm interested in the first style (elsart-harv) should be used.

I'm using Lyx 1.6 with MikTex2.7.
I have used:

Document  Settings  Document Class set to article (Elsevier)
Document  Settings  Bibliography   set to NatBib with Natbib style: 
Author-year

In the document (Insert  List - TOC  Bibtex Bibliography): 

i pointed to a .bib file generated with JabRef 2.4.2 that begins:


% This file was created with JabRef 2.4.2.
% Encoding: Cp1252

@BOOK{Blakely(1995),
  title = {Potential theory in gravity and magnetic applications},
  publisher = {Cambridge Univ. Press, New York},
  year = {1995},
  author = {Blakely, R.J.},
  owner = {Roberto},
  timestamp = {2009.02.06}
}

@ARTICLE{Chakravarthi(2002),
  author = {V. Chakravarthi and H.M. Raghuram and S.B. Singh},
  title = {3-D forward gravity modeling above which the density contrast varies
continuously with depth},
  journal = {Computers \ Geosciences},
  year = {2002},
  volume = {22},
  pages = {53-57},
  owner = {Roberto},
  timestamp = {2009.02.06}
}
...


and so on (authors and year are specified for each record)

in the text (Insert  Citation...):
I tried all of the styles with no luck.

It seems to me that there is no problem in the .bib file because I got the 
right citation style using a different class (apa)
with natbib author-style and apa, apacite reference styles.


I'm new to Lyx and maybe something is wrong with my installation, 
i noticed  a lot of unavailable classes in document settings class.

What I'm doing wrong? Please Help


Thanks in advance
Best regards,

Roberto



page numbering

2009-02-13 Thread Sengottuvelavan t.p.
Hi all,

I am preparing project report ...i want to number abstract and
acknowledgment, acronyms, etc... in roman and normal numbers (arabic) for
chapters ...How to do that

From other threads i came to know abt   \frontmatter \mainmatter \backmatter
.. but i am not using koma-script..normal report document class

Kindly help me

Regards
Velavan


Re: Installing biblatex-dw-style (Wassenhoven) on OSX

2009-02-13 Thread Dominik Waßenhoven
jezZiFeR wrote:

 Hello Dominik, hello listmembers
 
 I do still have the problem, that I can´t use biblatex-dw. That´s why  
 I add a minimal lyx-file and I hope, someone could help. In the  
 preamble I activated you biblatex-dw, so that now compiling does not  
 work. but I also left the other biblatex-line, so that you could also  
 use this one for comparing reasings. Here that one works fine.
 
 If there is any problem with my files or so, please let me know

Okay, now I found the problem. You use the biblatex.module which does
nothing else than activating the cite commands which can be used with
natbib. Biblatex must know if you use the natbib commands (like \citet
etc.) rather than the biblatex commands (like \textcite etc.). This is
done by the package option 'natbib=true'. Now let's compare your two
lines loading biblatex:

 %\usepackage[natbib=true,bibstyle=authortitle,citestyle=verbose-ibid]{biblatex}
 \usepackage[style=authortitle-dw]{biblatex}

natbib=true is missing in the second line. 

Regards,
Dominik.-



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-13 Thread Helge Hafting

A B wrote:


What is needed is the ability to let LyX users interact with other
people. With good  converters that enable LyX users to take a X-file,
open, edit, and send back a X-file, (where X = word or html or rtf or
openoffice or xml or even MP3 (with lillypond?) ) you can work with
LyX in any  environment. Then others can see how powerful it is and
then show them the pricetag...


There are two big problems here:

1) To define a conversion between word and lyx.
2) To implement, which will be lots of work.


1) is probably worst, because lyx and word has so different feature 
sets. And the expectations will be different too. Some users will want 
to see the same line and page breaks in LyX and word. And they want to 
keep everything else the same too - an identical conversion.
They will be disappointed to learn that this is useless and just won't 
happen. (In theory, latex _can_ place each letter individually on the 
page, in order to mimic a word document. I am not sure an identical 
conversion the other way is possible at all.)


Some will want word-lyx to have LyX lay out the document as nicely as 
possible. That is one of LyX strong points, after all. They will be 
disappointed when their finger-painted headings in several levels 
aren't recognized as such by lyx. They will wonder why the conversion 
won't take their long rows of spaces and actually preserve the sort-of 
alignment they achieved that way.


Some will be be pissed off when Lyx-word conversion exposes word 
weaknesses. The word document might end up with a heading on the last 
line of a page, and similiar. They'll end up blaming it on the 
conversion. But what to do? LyX documents aren't divided into pages 
until printing time, and then such things are handled automatically and 
nicely by latex. LyX doesn't implement page breaking itself.


Word has some tricky features too. Support for lots of fonts, for example.

2) Even if all problems with (1) is resolved somehow, the job will be
huge and therefore it will be hard to find a volunteer for the job. Word 
users don't know lyx enough to do it. LyX experts tend to not consider 
word a serious piece of software, and will normally spend their time 
improving Lyx itself instead.


Helge Hafting



Centring printing

2009-02-13 Thread Doug Laidlaw
Hi.  I am putting together a family history.  My publisher and I both like B5 
size pages, but B5 paper is not available in small quantities to practise on.

I find that if I write at system default (A4) then reduce it to B5 or A5, only 
the printing is reduced.  I have a small printed area on A4 paper, near the 
top left corner.  Even exporting to Postscript does the same thing.

I think that what is happening is that the printing is in the corner of the 
sheet, the way it would be put on a photocopier, while my printer centres the 
smaller sheet, so the printing is displaced relative to the media.

The above reads as clear as mud, but I am sure that this issue has arisen 
before.  What is the way around it?

TIA,

Doug.


appendix tables with endfloat

2009-02-13 Thread Thomas DiPrete
Hi, I'm writing a paper that requires tables be placed at the end,  
and I do that using the endfloat package.  My problem is that I also  
want to include a couple of tables labeled as Table A.1 and Table A. 
2.  I've tried creating an appendix at the end of the paper with   
\appendix followed by a \setcounter command, but this causes all my  
tables to be labelled as A.1, A.2, A.3 etc.   Is there a way to keep  
the numbering of the text tables as 1,2,3 etc  followed by A.1, A.2?











Re: How to implement batch convertion on equations style.

2009-02-13 Thread Richard Heck

Laser Yuan wrote:

I have attached the sample file bellow. I have put many equations in arrays
since I want to get multiline equation with single label and align them to
the left. But it turned out that elements in the array are not in display
style. Finally, I found using aligned AMS environment is what I desired. I
just need to put all of them to the second column to get them align left.
But situation now is that I have so many equations need to perform this
conversion. Could anybody give a  suggest on what I shall do to minimize the
workload. Thanks in advance!

Laser

  
Am I missing something, or isn't it just a matter of replacing 
\begin{array}{1} with \begin{aligned} ? If so, then you just do it 
in any text editor. For more complex stuff, you can use sed, or perl, or 
awk, or whatever. I tend to use perl, because you can just do this:


#!/usr/bin/perl
while () {
   # operate on $_
   print $_;
}

and get a useful filter quite quickly, which you can then run via:
perl myfilter.pl infile.lyx
and get the output on the console, where you can examine it.

rh


#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
\usepackage{lmodern}
\newcommand{\1}{\mbox{1\hspace{-1mm}I}}
\numberwithin{equation}{section}

%control the line space in multiline equations
\usepackage{calc}
\setlength{\jot}{3mm+3pt}
\end_preamble
\use_default_options true
\begin_modules
theorems-ams
\end_modules
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize 11
\spacing double
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 3
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize a4paper
\use_geometry true
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 1.5cm
\topmargin 3cm
\rightmargin 1.5cm
\bottommargin 1.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle plain
\tracking_changes false
\output_changes false
\author 
\author 
\end_header

\begin_body

\begin_layout Standard
I have inputed so many equations like this ( faractions, exponentials are
 not in display style, equations aligned to the left, with only one lable):
\begin_inset Formula \begin{equation}
\begin{array}{l}
v^{-}\left(x;a,b\right)=-\left(c^{+}+c^{-}\right)\frac{\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\\
+\frac{\left(h-rc^{+}\right)\exp-\left(\rho_{1}+\rho_{2}\right)b}{r\left(\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)\right)}\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\\
+\frac{\left(p+h\right)\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\left(\rho_{2}\exp-\rho_{2}b-\rho_{1}\exp-\rho_{1}b\right)}{r\left(\rho_{1}-\rho_{2}\right)\left(\exp\rho_{1}\left(a-b\right)-\exp\rho_{2}\left(a-b\right)\right)}\\
+\frac{p+rc^{-}}{r}\frac{\left(\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)-\exp\rho_{1}\left(a-b\right)+\exp\rho_{2}\left(a-b\right)\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\end{array}\label{eq:with
one lable}\end{equation}

\end_inset


\end_layout

\begin_layout Standard
What's the quickest way to convert all those equations into this style (all
 items are in display style )
\begin_inset Formula \begin{equation}
\begin{aligned} 
v^{-}\left(x;a,b\right)=-\left(c^{+}+c^{-}\right)\frac{\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\\
 
+\frac{\left(h-rc^{+}\right)\exp-\left(\rho_{1}+\rho_{2}\right)b}{r\left(\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)\right)}\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\\
 
+\frac{\left(p+h\right)\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\left(\rho_{2}\exp-\rho_{2}b-\rho_{1}\exp-\rho_{1}b\right)}{r\left(\rho_{1}-\rho_{2}\right)\left(\exp\rho_{1}\left(a-b\right)-\exp\rho_{2}\left(a-b\right)\right)}\\
 
+\frac{p+rc^{-}}{r}\frac{\left(\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)-\exp\rho_{1}\left(a-b\right)+\exp\rho_{2}\left(a-b\right)\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\end{aligned}
\label{eq:still one lable}\end{equation}

\end_inset


\end_layout

\end_body
\end_document

  




Re: Centring printing

2009-02-13 Thread Paul A. Rubin

Doug Laidlaw wrote:
Hi.  I am putting together a family history.  My publisher and I both like B5 
size pages, but B5 paper is not available in small quantities to practise on.


I find that if I write at system default (A4) then reduce it to B5 or A5, only 
the printing is reduced.  I have a small printed area on A4 paper, near the 
top left corner.  Even exporting to Postscript does the same thing.


I think that what is happening is that the printing is in the corner of the 
sheet, the way it would be put on a photocopier, while my printer centres the 
smaller sheet, so the printing is displaced relative to the media.


The above reads as clear as mud, but I am sure that this issue has arisen 
before.  What is the way around it?




Why not set the paper to A4 and then set the margins to produce the same 
text area (centered on the A4 paper) that you would have with B5? 
(Assuming I'm understanding this correctly.)


/Paul



Re: Centring printing

2009-02-13 Thread Konrad Hofbauer

Paul A. Rubin wrote:
Why not set the paper to A4 and then set the margins to produce the same 
text area (centered on the A4 paper) that you would have with B5? 
(Assuming I'm understanding this correctly.)


Or set up your toolchain to create the final B5 format (which might not 
be trivial - use pdflatex), and then set in Acrobat 'auto-rotate and 
centre' (but no rescaling) to print on A4.


HTH,
Konrad

P.S. But it is (at least to me) a bit unclear what your problem is (what 
works, and what not).




exporting equations to openoffice/word?

2009-02-13 Thread Micha Feigin
I tried using export to open document today to try and convert a document to a
format that I can produce a powerpoint presentation from it and it went mostly
ok (formatting wasn't really good but I need the wording, not the formatting).
The problem is that equations came out terrible and that is the main part
(words I can copy from the pdf). I think that lyx uses tex4ht for that. Is
there a better way to do this?

I usually use beamer but for this project I need to work for someone using a
given powerpoint template so regrettably it's not an option.

thanks


Re: tables go out of the page

2009-02-13 Thread Yago

To reduce the font size is another solution
- Original Message - 
From: James C. Sutherland james.sutherl...@utah.edu

To: LyX User lyx-users@lists.lyx.org
Sent: Friday, February 13, 2009 3:15 PM
Subject: Re: tables go out of the page




On Feb 13, 2009, at 12:58 AM, Sindhu Sundar wrote:


Hi!

Am doing by final year project, we are required to submit erd  diagrams 
and
stuff. In lyx when I create tables, some of the go out of the 
page...please

see http://dl.getdropbox.com/u/394046/Narration.pdf

how do i make the tables come within the page margin? please help. 
thanks :)


-Sindhu S


Two possible solutions that come to mind:
  1. Set column widths.  This will force line-wrapping in a cell.
  2. Rotate the table to landscape.
I would probably favor option 1 for most of your tables.

__ Information from ESET NOD32 Antivirus, version of virus 
signature database 3836 (20090207) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com





table_example_1.lyx
Description: application/lyx


table_example_1.tex
Description: Binary data


Re: Centring printing

2009-02-13 Thread Stefano Franchi
On Friday 13 February 2009 09:45:55 Doug Laidlaw wrote:
 Hi.  I am putting together a family history.  My publisher and I both like
 B5 size pages, but B5 paper is not available in small quantities to
 practise on.

 I find that if I write at system default (A4) then reduce it to B5 or A5,
 only the printing is reduced.  I have a small printed area on A4 paper,
 near the top left corner.  Even exporting to Postscript does the same
 thing.

 I think that what is happening is that the printing is in the corner of the
 sheet, the way it would be put on a photocopier, while my printer centres
 the smaller sheet, so the printing is displaced relative to the media.

 The above reads as clear as mud, but I am sure that this issue has arisen
 before.  What is the way around it?

 TIA,

 Doug.

Are you concerned about final output, or about producing draft versions similar 
enough to the final output to allow visual inspection of the pages?

If about final output: what is the publisher requesting? Camera-ready copies 
(in Pdf format, I would suppose)? In that case, I would set up the page you 
want with the geometry package, and add cropmarks to indicate the real 
margins.

Or is the publisher going to reset the manuscript in a DTP package, and you 
are only worried about your draft versions? In taht case just changing the 
margins , as it has been suggested, could be enough.


S.


  

__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: exporting equations to openoffice/word?

2009-02-13 Thread Konrad Hofbauer

Micha Feigin wrote:

The problem is that equations came out terrible and that is the main part
(words I can copy from the pdf). I think that lyx uses tex4ht for that. Is
there a better way to do this?



Can you insert the equations as graphics?

At least on Mac, you can select an area in the PDF, and copypaste into 
PowerPoint (as graphic).


If you zoom into the PDF quite a bit before copying, it looks ok (i.e., 
good enough for a presentation).


If this does not work on your platform, you could take a detour via some 
other image format (export from Acrobat to whatever, put that into the 
presentation, and crop).


All not very elegant, but sufficient (assuming it is a one-time job).

HTH,
/Konrad

P.S. There is also LaTeXIt (on Mac).




discussion in lyx, or lyx for wikis

2009-02-13 Thread David Romano
I'm teaching a math class where the students use lyx to write down their 
ideas and proofs, and it would be nice to have a way to use lyx to post to 
a discussion or write in a wiki.  Has anybody had any success in doing 
something along these lines?  Do people have suggestions about 
discussion-oriented software that integrates well with lyx?


Thanks,
David Romano


Re: page numbering

2009-02-13 Thread Dave Hewitt
 I am preparing project report ...i want to number abstract and
 acknowledgment, acronyms, etc... in roman and normal numbers (arabic) for
 chapters ...How to do that
 
 From other threads i came to know abt   \frontmatter \mainmatter \backmatter
 .. but i am not using koma-script..normal report document class

\Xmatter definitions are not specific to Koma-script, but are restricted to 
books

You don't need that, though. Just add

\pagenumbering{roman}

in ERT where you want pages to start roman and

\pagenumbering{arabic}

to reset counter and go to arabic



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

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

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

Niko


Search and replace in equations

2009-02-13 Thread Anders Host-Madsen
Is there any way to search and replace in equations in LyX?
Say I want to replace x with y in all my equations. Or
\mathbf with \mathsf. If not,
is there any plans to implement this?

One of the advantages of using Latex is that it's plain text,
so it's possible to search and replace in equations.
Is it a bad idea to export LyX to Latex,
then search and replace, and re-import in LyX?



Re: page numbering

2009-02-13 Thread Uwe Stöhr

Sengottuvelavan t.p. schrieb:


I am preparing project report ...i want to number abstract and
acknowledgment, acronyms, etc... in roman and normal numbers (arabic) for
chapters ...How to do that

From other threads i came to know abt   \frontmatter \mainmatter \backmatter
.. but i am not using koma-script..normal report document class


Then you have to redefine the page numbering using the command
\pagenumbering{type}
in TeX code at the beginning of your acknowledgment..

So when you want to have the page numbers in big Roman numbers, then use
\pagenumbering{Roman}
The other types are
roman
Alph
alph
arabic

regards Uwe


Re: tables go out of the page

2009-02-13 Thread Uwe Stöhr

Sindhu Sundar schrieb:


how do i make the tables come within the page margin? please help. thanks :)


Another user already replied. In case you want to have more infos about line breaking in tables or 
about rotating things, have a look at teh EmbeddedObjects manual that you find in LyX's Help menu.


regards Uwe


Re: discussion in lyx, or lyx for wikis

2009-02-13 Thread Uwe Stöhr

David Romano schrieb:

I'm teaching a math class where the students use lyx to write down their 
ideas and proofs, and it would be nice to have a way to use lyx to post 
to a discussion or write in a wiki.


This will be hard, because every Wiki has its own syntax. But for MediaWiki, the engine that is used 
by the Wikipedia and other Wikis, you can highlight formula part in LyX and copy/paste them to the 
Wiki. This is possible, because MediaWiki uses LaTeX for typesetting formulas.
For more special applications, I would have a look of you find some solution where you can use 
LaTeX. Then you can simply copy/paste things from LyX's LateX output.


regards Uwe


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

2009-02-13 Thread Uwe Stöhr

Niko Schwarz schrieb:


Ok, one strange thing that has happened to me a little bit too often lately
was that when quoting some literature, instead of a reference like [1]
(using natbib), i only get a question mark, like [? ].


This happens when BibTeX is not able to load the citation from your BibTeX file.
This is the case when you have loaded the wrong BibTeX file in your LyX document or more probable, 
when the code in the BibTeX file is wrong.


To check the latter, have a look in LyX's menu Document- LaTeX Log after you compiled your 
document. There you'll then see error messages about missing or wrong BibTeX entries.
The classic error in this field is that you used a Unicode-only character in your BibTeX file like a 
long — instead of a -. The reason is that BibTeX was developed before Unicode and that 
everything you write in your BibTeX file must be valid LaTeX.


When you still don't find the problem, then you can send me a _small_ example 
LyX and BibTeX file.

regards Uwe


Re: discussion in lyx, or lyx for wikis

2009-02-13 Thread Nikos Alexandris
On Sat, 2009-02-14 at 00:20 +0100, Uwe Stöhr wrote:
 David Romano schrieb:
 
  I'm teaching a math class where the students use lyx to write down their 
  ideas and proofs, and it would be nice to have a way to use lyx to post 
  to a discussion or write in a wiki.
 
 This will be hard, because every Wiki has its own syntax. But for MediaWiki, 
 the engine that is used 
 by the Wikipedia and other Wikis, you can highlight formula part in LyX and 
 copy/paste them to the 
 Wiki. This is possible, because MediaWiki uses LaTeX for typesetting formulas.
 For more special applications, I would have a look of you find some solution 
 where you can use 
 LaTeX. Then you can simply copy/paste things from LyX's LateX output.
 
 regards Uwe

Apologies for my ignorance and sort of off-topic question: is there any
way to use LyX's documents (after some export) with the Plone CMS [1]?
Any other CMS that uses LaTeX?

Thanks, Nikos

[1] http://plone.org/



Re: Search and replace in equations

2009-02-13 Thread Uwe Stöhr

Anders Host-Madsen schrieb:


Is there any way to search and replace in equations in LyX?
Say I want to replace x with y in all my equations. Or
\mathbf with \mathsf.


This is currently only possible by opening a LyX file with a text editor and 
then use find and replace.


If not, is there any plans to implement this?


This feature has been implemented for the next major LyX release LyX 2.0.0, see
http://wiki.lyx.org/LyX/NewInLyX20

regards Uwe


Re: discussion in lyx, or lyx for wikis

2009-02-13 Thread Uwe Stöhr

Nikos Alexandris schrieb:


Apologies for my ignorance and sort of off-topic question: is there any
way to use LyX's documents (after some export) with the Plone CMS [1]?


It seems not:
http://plone.org/documentation/phc_search?SearchableText=LaTeXSearch=Search


Any other CMS that uses LaTeX?


I don't know, googling helps to find it out ;-)

regards Uwe


Re: discussion in lyx, or lyx for wikis

2009-02-13 Thread Nikos Alexandris
On Sat, 2009-02-14 at 00:42 +0100, Uwe Stöhr wrote:
 Nikos Alexandris schrieb:
 
  Apologies for my ignorance and sort of off-topic question: is there any
  way to use LyX's documents (after some export) with the Plone CMS [1]?
 
 It seems not:
 http://plone.org/documentation/phc_search?SearchableText=LaTeXSearch=Search
 
  Any other CMS that uses LaTeX?
 
 I don't know, googling helps to find it out ;-)
 
 regards Uwe

Thanks, Nikos



Re: discussion in lyx, or lyx for wikis

2009-02-13 Thread Typhoon
On Sat, 14 Feb 2009 00:52:07 +0100
Nikos Alexandris nikos.alexand...@felis.uni-freiburg.de wrote:

 On Sat, 2009-02-14 at 00:42 +0100, Uwe Stöhr wrote:
  Nikos Alexandris schrieb:
  
   Apologies for my ignorance and sort of off-topic question: is
   there any way to use LyX's documents (after some export) with the
   Plone CMS [1]?
  
  It seems not:
  http://plone.org/documentation/phc_search?SearchableText=LaTeXSearch=Search
  
   Any other CMS that uses LaTeX?
  
  I don't know, googling helps to find it out ;-)
  
  regards Uwe
 
 Thanks, Nikos

There seems to be some work done on a LaTeX to reStructuredText
converter. It appears to be early days, but...

http://groups.google.com/group/python-dev2/browse_thread/thread/e12c2a2cdbe09efe


Alan
 
 


Re: Search and replace in equations

2009-02-13 Thread Anders Host-Madsen
Uwe Stöhr uwesto...@... writes:

 This is currently only possible by opening a LyX file with a 
 text editor and then use find and replace.
Thanks, I didn't think about the fact that
LyX files are text files. That seems a better solution
than exporting to Latex and then re-importing to LyX.
It appears that equations in the LyX files
are standard Latex.

 This feature has been implemented for the next major LyX release LyX 2.0.0, 
 see
 http://wiki.lyx.org/LyX/NewInLyX20

Excellent! LyX is really a great program.







Re: elsevier natbib author-year problem

2009-02-13 Thread Anders Host-Madsen
Did you specify the elsart-harv.bst in the bibtex insert
(as style file)?
Otherwise, that would seem an obvious problem.



Re: Installing biblatex-dw-style (Wassenhoven) on OSX

2009-02-13 Thread jezZiFeR

Hello Dominik, hello listmembers

I do still have the problem, that I can´t use biblatex-dw. That´s why  
I add a minimal lyx-file and I hope, someone could help. In the  
preamble I activated you biblatex-dw, so that now compiling does not  
work. but I also left the other biblatex-line, so that you could also  
use this one for comparing reasings. Here that one works fine.


If there is any problem with my files or so, please let me know


thank you for your help.



Minimal.lyx
Description: Binary data


testbib.bib
Description: Binary data




Best*
Jess





Am 06.02.2009 um 16:15 schrieb Dominik Waßenhoven:


jezZiFeR wrote:


Could this be a problem?


As it worked before, as you said, this should not be a problem. Could
you provide a minimal lyx file showing the problem and send it to the
list (or to me with private mail)?

Regards,
Dominik.-





Re: tables go out of the page

2009-02-13 Thread James C. Sutherland


On Feb 13, 2009, at 12:58 AM, Sindhu Sundar wrote:


Hi!

Am doing by final year project, we are required to submit erd  
diagrams and
stuff. In lyx when I create tables, some of the go out of the  
page...please

see http://dl.getdropbox.com/u/394046/Narration.pdf

how do i make the tables come within the page margin? please help.  
thanks :)


-Sindhu S


Two possible solutions that come to mind:
  1. Set column widths.  This will force line-wrapping in a cell.
  2. Rotate the table to landscape.
I would probably favor option 1 for most of your tables.


elsevier natbib author-year problem

2009-02-13 Thread Roberto Carluccio
Hello lyx-users,

  I'm trying to use the elsevier-harv bibtex style for the preparation
  of in a elsevier journal article.
  
  The problem:
  I cannot have a reference style compliant to what requested by the journal
  
  IN THE TEXT instead of having citations like (author, year), I get things 
like (author, [number]), 
  (no way to have authors together with years changing citation styles !!!)
  
  IN REFERENCES I cannot get rid of numbers [n] before references...
  

On the Elsevier site 
(http://www.elsevier.com/wps/find/authorsview.authors/elsart)
  they write that the class specifications are:
  

  BibTeX style files
  
  We have developed two BibTeX style files for journal articles:
  
  * BibTeX style file elsart-harv.bst for articles with Harvard style 
(author-year) references. 
When you use this style file, you should also use the natbib package.
  
  * BibTeX style file elsart-num.bst for articles with numbered references.
  
  * BibTeX style file elsart-num-sort.bst for articles with numbered 
alphabetically sorted references.
  
  * BibTeX style file elsart-num-names.bst for articles with numbered 
references with a name-year label.

  
For the Journal I'm interested in the first style (elsart-harv) should be used.

I'm using Lyx 1.6 with MikTex2.7.
I have used:

Document  Settings  Document Class set to article (Elsevier)
Document  Settings  Bibliography   set to NatBib with Natbib style: 
Author-year

In the document (Insert  List - TOC  Bibtex Bibliography): 

i pointed to a .bib file generated with JabRef 2.4.2 that begins:


% This file was created with JabRef 2.4.2.
% Encoding: Cp1252

@BOOK{Blakely(1995),
  title = {Potential theory in gravity and magnetic applications},
  publisher = {Cambridge Univ. Press, New York},
  year = {1995},
  author = {Blakely, R.J.},
  owner = {Roberto},
  timestamp = {2009.02.06}
}

@ARTICLE{Chakravarthi(2002),
  author = {V. Chakravarthi and H.M. Raghuram and S.B. Singh},
  title = {3-D forward gravity modeling above which the density contrast varies
continuously with depth},
  journal = {Computers \ Geosciences},
  year = {2002},
  volume = {22},
  pages = {53-57},
  owner = {Roberto},
  timestamp = {2009.02.06}
}
...


and so on (authors and year are specified for each record)

in the text (Insert  Citation...):
I tried all of the styles with no luck.

It seems to me that there is no problem in the .bib file because I got the 
right citation style using a different class (apa)
with natbib author-style and apa, apacite reference styles.


I'm new to Lyx and maybe something is wrong with my installation, 
i noticed  a lot of unavailable classes in document settings class.

What I'm doing wrong? Please Help


Thanks in advance
Best regards,

Roberto



page numbering

2009-02-13 Thread Sengottuvelavan t.p.
Hi all,

I am preparing project report ...i want to number abstract and
acknowledgment, acronyms, etc... in roman and normal numbers (arabic) for
chapters ...How to do that

From other threads i came to know abt   \frontmatter \mainmatter \backmatter
.. but i am not using koma-script..normal report document class

Kindly help me

Regards
Velavan


Re: Installing biblatex-dw-style (Wassenhoven) on OSX

2009-02-13 Thread Dominik Waßenhoven
jezZiFeR wrote:

 Hello Dominik, hello listmembers
 
 I do still have the problem, that I can´t use biblatex-dw. That´s why  
 I add a minimal lyx-file and I hope, someone could help. In the  
 preamble I activated you biblatex-dw, so that now compiling does not  
 work. but I also left the other biblatex-line, so that you could also  
 use this one for comparing reasings. Here that one works fine.
 
 If there is any problem with my files or so, please let me know

Okay, now I found the problem. You use the biblatex.module which does
nothing else than activating the cite commands which can be used with
natbib. Biblatex must know if you use the natbib commands (like \citet
etc.) rather than the biblatex commands (like \textcite etc.). This is
done by the package option 'natbib=true'. Now let's compare your two
lines loading biblatex:

 %\usepackage[natbib=true,bibstyle=authortitle,citestyle=verbose-ibid]{biblatex}
 \usepackage[style=authortitle-dw]{biblatex}

natbib=true is missing in the second line. 

Regards,
Dominik.-



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-13 Thread Helge Hafting

A B wrote:


What is needed is the ability to let LyX users interact with other
people. With good  converters that enable LyX users to take a X-file,
open, edit, and send back a X-file, (where X = word or html or rtf or
openoffice or xml or even MP3 (with lillypond?) ) you can work with
LyX in any  environment. Then others can see how powerful it is and
then show them the pricetag...


There are two big problems here:

1) To define a conversion between word and lyx.
2) To implement, which will be lots of work.


1) is probably worst, because lyx and word has so different feature 
sets. And the expectations will be different too. Some users will want 
to see the same line and page breaks in LyX and word. And they want to 
keep everything else the same too - an identical conversion.
They will be disappointed to learn that this is useless and just won't 
happen. (In theory, latex _can_ place each letter individually on the 
page, in order to mimic a word document. I am not sure an identical 
conversion the other way is possible at all.)


Some will want word-lyx to have LyX lay out the document as nicely as 
possible. That is one of LyX strong points, after all. They will be 
disappointed when their finger-painted headings in several levels 
aren't recognized as such by lyx. They will wonder why the conversion 
won't take their long rows of spaces and actually preserve the sort-of 
alignment they achieved that way.


Some will be be pissed off when Lyx-word conversion exposes word 
weaknesses. The word document might end up with a heading on the last 
line of a page, and similiar. They'll end up blaming it on the 
conversion. But what to do? LyX documents aren't divided into pages 
until printing time, and then such things are handled automatically and 
nicely by latex. LyX doesn't implement page breaking itself.


Word has some tricky features too. Support for lots of fonts, for example.

2) Even if all problems with (1) is resolved somehow, the job will be
huge and therefore it will be hard to find a volunteer for the job. Word 
users don't know lyx enough to do it. LyX experts tend to not consider 
word a serious piece of software, and will normally spend their time 
improving Lyx itself instead.


Helge Hafting



Centring printing

2009-02-13 Thread Doug Laidlaw
Hi.  I am putting together a family history.  My publisher and I both like B5 
size pages, but B5 paper is not available in small quantities to practise on.

I find that if I write at system default (A4) then reduce it to B5 or A5, only 
the printing is reduced.  I have a small printed area on A4 paper, near the 
top left corner.  Even exporting to Postscript does the same thing.

I think that what is happening is that the printing is in the corner of the 
sheet, the way it would be put on a photocopier, while my printer centres the 
smaller sheet, so the printing is displaced relative to the media.

The above reads as clear as mud, but I am sure that this issue has arisen 
before.  What is the way around it?

TIA,

Doug.


appendix tables with endfloat

2009-02-13 Thread Thomas DiPrete
Hi, I'm writing a paper that requires tables be placed at the end,  
and I do that using the endfloat package.  My problem is that I also  
want to include a couple of tables labeled as Table A.1 and Table A. 
2.  I've tried creating an appendix at the end of the paper with   
\appendix followed by a \setcounter command, but this causes all my  
tables to be labelled as A.1, A.2, A.3 etc.   Is there a way to keep  
the numbering of the text tables as 1,2,3 etc  followed by A.1, A.2?











Re: How to implement batch convertion on equations style.

2009-02-13 Thread Richard Heck

Laser Yuan wrote:

I have attached the sample file bellow. I have put many equations in arrays
since I want to get multiline equation with single label and align them to
the left. But it turned out that elements in the array are not in display
style. Finally, I found using aligned AMS environment is what I desired. I
just need to put all of them to the second column to get them align left.
But situation now is that I have so many equations need to perform this
conversion. Could anybody give a  suggest on what I shall do to minimize the
workload. Thanks in advance!

Laser

  
Am I missing something, or isn't it just a matter of replacing 
\begin{array}{1} with \begin{aligned} ? If so, then you just do it 
in any text editor. For more complex stuff, you can use sed, or perl, or 
awk, or whatever. I tend to use perl, because you can just do this:


#!/usr/bin/perl
while () {
   # operate on $_
   print $_;
}

and get a useful filter quite quickly, which you can then run via:
perl myfilter.pl infile.lyx
and get the output on the console, where you can examine it.

rh


#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
\usepackage{lmodern}
\newcommand{\1}{\mbox{1\hspace{-1mm}I}}
\numberwithin{equation}{section}

%control the line space in multiline equations
\usepackage{calc}
\setlength{\jot}{3mm+3pt}
\end_preamble
\use_default_options true
\begin_modules
theorems-ams
\end_modules
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize 11
\spacing double
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 3
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize a4paper
\use_geometry true
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 1.5cm
\topmargin 3cm
\rightmargin 1.5cm
\bottommargin 1.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle plain
\tracking_changes false
\output_changes false
\author 
\author 
\end_header

\begin_body

\begin_layout Standard
I have inputed so many equations like this ( faractions, exponentials are
 not in display style, equations aligned to the left, with only one lable):
\begin_inset Formula \begin{equation}
\begin{array}{l}
v^{-}\left(x;a,b\right)=-\left(c^{+}+c^{-}\right)\frac{\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\\
+\frac{\left(h-rc^{+}\right)\exp-\left(\rho_{1}+\rho_{2}\right)b}{r\left(\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)\right)}\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\\
+\frac{\left(p+h\right)\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\left(\rho_{2}\exp-\rho_{2}b-\rho_{1}\exp-\rho_{1}b\right)}{r\left(\rho_{1}-\rho_{2}\right)\left(\exp\rho_{1}\left(a-b\right)-\exp\rho_{2}\left(a-b\right)\right)}\\
+\frac{p+rc^{-}}{r}\frac{\left(\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)-\exp\rho_{1}\left(a-b\right)+\exp\rho_{2}\left(a-b\right)\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\end{array}\label{eq:with
one lable}\end{equation}

\end_inset


\end_layout

\begin_layout Standard
What's the quickest way to convert all those equations into this style (all
 items are in display style )
\begin_inset Formula \begin{equation}
\begin{aligned} 
v^{-}\left(x;a,b\right)=-\left(c^{+}+c^{-}\right)\frac{\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\\
 
+\frac{\left(h-rc^{+}\right)\exp-\left(\rho_{1}+\rho_{2}\right)b}{r\left(\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)\right)}\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\\
 
+\frac{\left(p+h\right)\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\left(\rho_{2}\exp-\rho_{2}b-\rho_{1}\exp-\rho_{1}b\right)}{r\left(\rho_{1}-\rho_{2}\right)\left(\exp\rho_{1}\left(a-b\right)-\exp\rho_{2}\left(a-b\right)\right)}\\
 
+\frac{p+rc^{-}}{r}\frac{\left(\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)-\exp\rho_{1}\left(a-b\right)+\exp\rho_{2}\left(a-b\right)\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\end{aligned}
\label{eq:still one lable}\end{equation}

\end_inset


\end_layout

\end_body
\end_document

  




Re: Centring printing

2009-02-13 Thread Paul A. Rubin

Doug Laidlaw wrote:
Hi.  I am putting together a family history.  My publisher and I both like B5 
size pages, but B5 paper is not available in small quantities to practise on.


I find that if I write at system default (A4) then reduce it to B5 or A5, only 
the printing is reduced.  I have a small printed area on A4 paper, near the 
top left corner.  Even exporting to Postscript does the same thing.


I think that what is happening is that the printing is in the corner of the 
sheet, the way it would be put on a photocopier, while my printer centres the 
smaller sheet, so the printing is displaced relative to the media.


The above reads as clear as mud, but I am sure that this issue has arisen 
before.  What is the way around it?




Why not set the paper to A4 and then set the margins to produce the same 
text area (centered on the A4 paper) that you would have with B5? 
(Assuming I'm understanding this correctly.)


/Paul



Re: Centring printing

2009-02-13 Thread Konrad Hofbauer

Paul A. Rubin wrote:
Why not set the paper to A4 and then set the margins to produce the same 
text area (centered on the A4 paper) that you would have with B5? 
(Assuming I'm understanding this correctly.)


Or set up your toolchain to create the final B5 format (which might not 
be trivial - use pdflatex), and then set in Acrobat 'auto-rotate and 
centre' (but no rescaling) to print on A4.


HTH,
Konrad

P.S. But it is (at least to me) a bit unclear what your problem is (what 
works, and what not).




exporting equations to openoffice/word?

2009-02-13 Thread Micha Feigin
I tried using export to open document today to try and convert a document to a
format that I can produce a powerpoint presentation from it and it went mostly
ok (formatting wasn't really good but I need the wording, not the formatting).
The problem is that equations came out terrible and that is the main part
(words I can copy from the pdf). I think that lyx uses tex4ht for that. Is
there a better way to do this?

I usually use beamer but for this project I need to work for someone using a
given powerpoint template so regrettably it's not an option.

thanks


Re: tables go out of the page

2009-02-13 Thread Yago

To reduce the font size is another solution
- Original Message - 
From: James C. Sutherland james.sutherl...@utah.edu

To: LyX User lyx-users@lists.lyx.org
Sent: Friday, February 13, 2009 3:15 PM
Subject: Re: tables go out of the page




On Feb 13, 2009, at 12:58 AM, Sindhu Sundar wrote:


Hi!

Am doing by final year project, we are required to submit erd  diagrams 
and
stuff. In lyx when I create tables, some of the go out of the 
page...please

see http://dl.getdropbox.com/u/394046/Narration.pdf

how do i make the tables come within the page margin? please help. 
thanks :)


-Sindhu S


Two possible solutions that come to mind:
  1. Set column widths.  This will force line-wrapping in a cell.
  2. Rotate the table to landscape.
I would probably favor option 1 for most of your tables.

__ Information from ESET NOD32 Antivirus, version of virus 
signature database 3836 (20090207) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com





table_example_1.lyx
Description: application/lyx


table_example_1.tex
Description: Binary data


Re: Centring printing

2009-02-13 Thread Stefano Franchi
On Friday 13 February 2009 09:45:55 Doug Laidlaw wrote:
 Hi.  I am putting together a family history.  My publisher and I both like
 B5 size pages, but B5 paper is not available in small quantities to
 practise on.

 I find that if I write at system default (A4) then reduce it to B5 or A5,
 only the printing is reduced.  I have a small printed area on A4 paper,
 near the top left corner.  Even exporting to Postscript does the same
 thing.

 I think that what is happening is that the printing is in the corner of the
 sheet, the way it would be put on a photocopier, while my printer centres
 the smaller sheet, so the printing is displaced relative to the media.

 The above reads as clear as mud, but I am sure that this issue has arisen
 before.  What is the way around it?

 TIA,

 Doug.

Are you concerned about final output, or about producing draft versions similar 
enough to the final output to allow visual inspection of the pages?

If about final output: what is the publisher requesting? Camera-ready copies 
(in Pdf format, I would suppose)? In that case, I would set up the page you 
want with the geometry package, and add cropmarks to indicate the real 
margins.

Or is the publisher going to reset the manuscript in a DTP package, and you 
are only worried about your draft versions? In taht case just changing the 
margins , as it has been suggested, could be enough.


S.


  

__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: exporting equations to openoffice/word?

2009-02-13 Thread Konrad Hofbauer

Micha Feigin wrote:

The problem is that equations came out terrible and that is the main part
(words I can copy from the pdf). I think that lyx uses tex4ht for that. Is
there a better way to do this?



Can you insert the equations as graphics?

At least on Mac, you can select an area in the PDF, and copypaste into 
PowerPoint (as graphic).


If you zoom into the PDF quite a bit before copying, it looks ok (i.e., 
good enough for a presentation).


If this does not work on your platform, you could take a detour via some 
other image format (export from Acrobat to whatever, put that into the 
presentation, and crop).


All not very elegant, but sufficient (assuming it is a one-time job).

HTH,
/Konrad

P.S. There is also LaTeXIt (on Mac).




discussion in lyx, or lyx for wikis

2009-02-13 Thread David Romano
I'm teaching a math class where the students use lyx to write down their 
ideas and proofs, and it would be nice to have a way to use lyx to post to 
a discussion or write in a wiki.  Has anybody had any success in doing 
something along these lines?  Do people have suggestions about 
discussion-oriented software that integrates well with lyx?


Thanks,
David Romano


Re: page numbering

2009-02-13 Thread Dave Hewitt
 I am preparing project report ...i want to number abstract and
 acknowledgment, acronyms, etc... in roman and normal numbers (arabic) for
 chapters ...How to do that
 
 From other threads i came to know abt   \frontmatter \mainmatter \backmatter
 .. but i am not using koma-script..normal report document class

\Xmatter definitions are not specific to Koma-script, but are restricted to 
books

You don't need that, though. Just add

\pagenumbering{roman}

in ERT where you want pages to start roman and

\pagenumbering{arabic}

to reset counter and go to arabic



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

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

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

Niko


Search and replace in equations

2009-02-13 Thread Anders Host-Madsen
Is there any way to search and replace in equations in LyX?
Say I want to replace x with y in all my equations. Or
\mathbf with \mathsf. If not,
is there any plans to implement this?

One of the advantages of using Latex is that it's plain text,
so it's possible to search and replace in equations.
Is it a bad idea to export LyX to Latex,
then search and replace, and re-import in LyX?



Re: page numbering

2009-02-13 Thread Uwe Stöhr

Sengottuvelavan t.p. schrieb:


I am preparing project report ...i want to number abstract and
acknowledgment, acronyms, etc... in roman and normal numbers (arabic) for
chapters ...How to do that

From other threads i came to know abt   \frontmatter \mainmatter \backmatter
.. but i am not using koma-script..normal report document class


Then you have to redefine the page numbering using the command
\pagenumbering{type}
in TeX code at the beginning of your acknowledgment..

So when you want to have the page numbers in big Roman numbers, then use
\pagenumbering{Roman}
The other types are
roman
Alph
alph
arabic

regards Uwe


Re: tables go out of the page

2009-02-13 Thread Uwe Stöhr

Sindhu Sundar schrieb:


how do i make the tables come within the page margin? please help. thanks :)


Another user already replied. In case you want to have more infos about line breaking in tables or 
about rotating things, have a look at teh EmbeddedObjects manual that you find in LyX's Help menu.


regards Uwe


Re: discussion in lyx, or lyx for wikis

2009-02-13 Thread Uwe Stöhr

David Romano schrieb:

I'm teaching a math class where the students use lyx to write down their 
ideas and proofs, and it would be nice to have a way to use lyx to post 
to a discussion or write in a wiki.


This will be hard, because every Wiki has its own syntax. But for MediaWiki, the engine that is used 
by the Wikipedia and other Wikis, you can highlight formula part in LyX and copy/paste them to the 
Wiki. This is possible, because MediaWiki uses LaTeX for typesetting formulas.
For more special applications, I would have a look of you find some solution where you can use 
LaTeX. Then you can simply copy/paste things from LyX's LateX output.


regards Uwe


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

2009-02-13 Thread Uwe Stöhr

Niko Schwarz schrieb:


Ok, one strange thing that has happened to me a little bit too often lately
was that when quoting some literature, instead of a reference like [1]
(using natbib), i only get a question mark, like [? ].


This happens when BibTeX is not able to load the citation from your BibTeX file.
This is the case when you have loaded the wrong BibTeX file in your LyX document or more probable, 
when the code in the BibTeX file is wrong.


To check the latter, have a look in LyX's menu Document- LaTeX Log after you compiled your 
document. There you'll then see error messages about missing or wrong BibTeX entries.
The classic error in this field is that you used a Unicode-only character in your BibTeX file like a 
long — instead of a -. The reason is that BibTeX was developed before Unicode and that 
everything you write in your BibTeX file must be valid LaTeX.


When you still don't find the problem, then you can send me a _small_ example 
LyX and BibTeX file.

regards Uwe


Re: discussion in lyx, or lyx for wikis

2009-02-13 Thread Nikos Alexandris
On Sat, 2009-02-14 at 00:20 +0100, Uwe Stöhr wrote:
 David Romano schrieb:
 
  I'm teaching a math class where the students use lyx to write down their 
  ideas and proofs, and it would be nice to have a way to use lyx to post 
  to a discussion or write in a wiki.
 
 This will be hard, because every Wiki has its own syntax. But for MediaWiki, 
 the engine that is used 
 by the Wikipedia and other Wikis, you can highlight formula part in LyX and 
 copy/paste them to the 
 Wiki. This is possible, because MediaWiki uses LaTeX for typesetting formulas.
 For more special applications, I would have a look of you find some solution 
 where you can use 
 LaTeX. Then you can simply copy/paste things from LyX's LateX output.
 
 regards Uwe

Apologies for my ignorance and sort of off-topic question: is there any
way to use LyX's documents (after some export) with the Plone CMS [1]?
Any other CMS that uses LaTeX?

Thanks, Nikos

[1] http://plone.org/



Re: Search and replace in equations

2009-02-13 Thread Uwe Stöhr

Anders Host-Madsen schrieb:


Is there any way to search and replace in equations in LyX?
Say I want to replace x with y in all my equations. Or
\mathbf with \mathsf.


This is currently only possible by opening a LyX file with a text editor and 
then use find and replace.


If not, is there any plans to implement this?


This feature has been implemented for the next major LyX release LyX 2.0.0, see
http://wiki.lyx.org/LyX/NewInLyX20

regards Uwe


Re: discussion in lyx, or lyx for wikis

2009-02-13 Thread Uwe Stöhr

Nikos Alexandris schrieb:


Apologies for my ignorance and sort of off-topic question: is there any
way to use LyX's documents (after some export) with the Plone CMS [1]?


It seems not:
http://plone.org/documentation/phc_search?SearchableText=LaTeXSearch=Search


Any other CMS that uses LaTeX?


I don't know, googling helps to find it out ;-)

regards Uwe


Re: discussion in lyx, or lyx for wikis

2009-02-13 Thread Nikos Alexandris
On Sat, 2009-02-14 at 00:42 +0100, Uwe Stöhr wrote:
 Nikos Alexandris schrieb:
 
  Apologies for my ignorance and sort of off-topic question: is there any
  way to use LyX's documents (after some export) with the Plone CMS [1]?
 
 It seems not:
 http://plone.org/documentation/phc_search?SearchableText=LaTeXSearch=Search
 
  Any other CMS that uses LaTeX?
 
 I don't know, googling helps to find it out ;-)
 
 regards Uwe

Thanks, Nikos



Re: discussion in lyx, or lyx for wikis

2009-02-13 Thread Typhoon
On Sat, 14 Feb 2009 00:52:07 +0100
Nikos Alexandris nikos.alexand...@felis.uni-freiburg.de wrote:

 On Sat, 2009-02-14 at 00:42 +0100, Uwe Stöhr wrote:
  Nikos Alexandris schrieb:
  
   Apologies for my ignorance and sort of off-topic question: is
   there any way to use LyX's documents (after some export) with the
   Plone CMS [1]?
  
  It seems not:
  http://plone.org/documentation/phc_search?SearchableText=LaTeXSearch=Search
  
   Any other CMS that uses LaTeX?
  
  I don't know, googling helps to find it out ;-)
  
  regards Uwe
 
 Thanks, Nikos

There seems to be some work done on a LaTeX to reStructuredText
converter. It appears to be early days, but...

http://groups.google.com/group/python-dev2/browse_thread/thread/e12c2a2cdbe09efe


Alan
 
 


Re: Search and replace in equations

2009-02-13 Thread Anders Host-Madsen
Uwe Stöhr uwesto...@... writes:

 This is currently only possible by opening a LyX file with a 
 text editor and then use find and replace.
Thanks, I didn't think about the fact that
LyX files are text files. That seems a better solution
than exporting to Latex and then re-importing to LyX.
It appears that equations in the LyX files
are standard Latex.

 This feature has been implemented for the next major LyX release LyX 2.0.0, 
 see
 http://wiki.lyx.org/LyX/NewInLyX20

Excellent! LyX is really a great program.







Re: elsevier natbib author-year problem

2009-02-13 Thread Anders Host-Madsen
Did you specify the elsart-harv.bst in the bibtex insert
(as style file)?
Otherwise, that would seem an obvious problem.



Re: Installing biblatex-dw-style (Wassenhoven) on OSX

2009-02-13 Thread jezZiFeR

Hello Dominik, hello listmembers

I do still have the problem, that I can´t use biblatex-dw. That´s why  
I add a minimal lyx-file and I hope, someone could help. In the  
preamble I activated you biblatex-dw, so that now compiling does not  
work. but I also left the other biblatex-line, so that you could also  
use this one for comparing reasings. Here that one works fine.


If there is any problem with my files or so, please let me know


thank you for your help.



Minimal.lyx
Description: Binary data


testbib.bib
Description: Binary data




Best*
Jess





Am 06.02.2009 um 16:15 schrieb Dominik Waßenhoven:


jezZiFeR wrote:


Could this be a problem?


As it worked before, as you said, this should not be a problem. Could
you provide a minimal lyx file showing the problem and send it to the
list (or to me with private mail)?

Regards,
Dominik.-





Re: tables go out of the page

2009-02-13 Thread James C. Sutherland


On Feb 13, 2009, at 12:58 AM, Sindhu Sundar wrote:


Hi!

Am doing by final year project, we are required to submit erd  
diagrams and
stuff. In lyx when I create tables, some of the go out of the  
page...please

see http://dl.getdropbox.com/u/394046/Narration.pdf

how do i make the tables come within the page margin? please help.  
thanks :)


-Sindhu S


Two possible solutions that come to mind:
  1. Set column widths.  This will force line-wrapping in a cell.
  2. Rotate the table to landscape.
I would probably favor option 1 for most of your tables.


elsevier natbib author-year problem

2009-02-13 Thread Roberto Carluccio
Hello lyx-users,

  I'm trying to use the elsevier-harv bibtex style for the preparation
  of in a elsevier journal article.
  
  The problem:
  I cannot have a reference style compliant to what requested by the journal
  
  IN THE TEXT instead of having citations like (author, year), I get things 
like (author, [number]), 
  (no way to have authors together with years changing citation styles !!!)
  
  IN REFERENCES I cannot get rid of numbers [n] before references...
  

On the Elsevier site 
(http://www.elsevier.com/wps/find/authorsview.authors/elsart)
  they write that the class specifications are:
  

  BibTeX style files
  
  We have developed two BibTeX style files for journal articles:
  
  * BibTeX style file elsart-harv.bst for articles with Harvard style 
(author-year) references. 
When you use this style file, you should also use the natbib package.
  
  * BibTeX style file elsart-num.bst for articles with numbered references.
  
  * BibTeX style file elsart-num-sort.bst for articles with numbered 
alphabetically sorted references.
  
  * BibTeX style file elsart-num-names.bst for articles with numbered 
references with a name-year label.

  
For the Journal I'm interested in the first style (elsart-harv) should be used.

I'm using Lyx 1.6 with MikTex2.7.
I have used:

Document > Settings > Document Class set to "article (Elsevier)"
Document > Settings > Bibliography   set to "NatBib" with Natbib style: 
Author-year

In the document (Insert > List - TOC > Bibtex Bibliography): 

i pointed to a .bib file generated with JabRef 2.4.2 that begins:


% This file was created with JabRef 2.4.2.
% Encoding: Cp1252

@BOOK{Blakely(1995),
  title = {Potential theory in gravity and magnetic applications},
  publisher = {Cambridge Univ. Press, New York},
  year = {1995},
  author = {Blakely, R.J.},
  owner = {Roberto},
  timestamp = {2009.02.06}
}

@ARTICLE{Chakravarthi(2002),
  author = {V. Chakravarthi and H.M. Raghuram and S.B. Singh},
  title = {3-D forward gravity modeling above which the density contrast varies
continuously with depth},
  journal = {Computers \& Geosciences},
  year = {2002},
  volume = {22},
  pages = {53-57},
  owner = {Roberto},
  timestamp = {2009.02.06}
}
...


and so on (authors and year are specified for each record)

in the text (Insert > Citation...):
I tried all of the styles with no luck.

It seems to me that there is no problem in the .bib file because I got the 
right citation style using a different class (apa)
with natbib author-style and apa, apacite reference styles.


I'm new to Lyx and maybe something is wrong with my installation, 
i noticed  a lot of unavailable classes in document settings class.

What I'm doing wrong? Please Help


Thanks in advance
Best regards,

Roberto



page numbering

2009-02-13 Thread Sengottuvelavan t.p.
Hi all,

I am preparing project report ...i want to number abstract and
acknowledgment, acronyms, etc... in roman and normal numbers (arabic) for
chapters ...How to do that

>From other threads i came to know abt   \frontmatter \mainmatter \backmatter
.. but i am not using koma-script..normal "report" document class

Kindly help me

Regards
Velavan


Re: Installing biblatex-dw-style (Wassenhoven) on OSX

2009-02-13 Thread Dominik Waßenhoven
jezZiFeR wrote:

> Hello Dominik, hello listmembers
> 
> I do still have the problem, that I can´t use biblatex-dw. That´s why  
> I add a minimal lyx-file and I hope, someone could help. In the  
> preamble I activated you biblatex-dw, so that now compiling does not  
> work. but I also left the other biblatex-line, so that you could also  
> use this one for comparing reasings. Here that one works fine.
> 
> If there is any problem with my files or so, please let me know

Okay, now I found the problem. You use the biblatex.module which does
nothing else than activating the cite commands which can be used with
natbib. Biblatex must know if you use the natbib commands (like \citet
etc.) rather than the biblatex commands (like \textcite etc.). This is
done by the package option 'natbib=true'. Now let's compare your two
lines loading biblatex:

> %\usepackage[natbib=true,bibstyle=authortitle,citestyle=verbose-ibid]{biblatex}
> \usepackage[style=authortitle-dw]{biblatex}

natbib=true is missing in the second line. 

Regards,
Dominik.-



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-13 Thread Helge Hafting

A B wrote:


What is needed is the ability to let LyX users interact with other
people. With good  converters that enable LyX users to take a X-file,
open, edit, and send back a X-file, (where X = word or html or rtf or
openoffice or xml or even MP3 (with lillypond?) ) you can work with
LyX in any  environment. Then others can see how powerful it is and
then show them the pricetag...


There are two big problems here:

1) To define a conversion between word and lyx.
2) To implement, which will be lots of work.


1) is probably worst, because lyx and word has so different feature 
sets. And the expectations will be different too. Some users will want 
to see the same line and page breaks in LyX and word. And they want to 
keep everything else the same too - an identical conversion.
They will be disappointed to learn that this is useless and just won't 
happen. (In theory, latex _can_ place each letter individually on the 
page, in order to mimic a word document. I am not sure an identical 
conversion the other way is possible at all.)


Some will want word->lyx to have LyX lay out the document as nicely as 
possible. That is one of LyX strong points, after all. They will be 
disappointed when their "finger-painted" headings in several levels 
aren't recognized as such by lyx. They will wonder why the conversion 
won't take their long rows of spaces and actually preserve the sort-of 
alignment they achieved that way.


Some will be be pissed off when Lyx->word conversion exposes word 
weaknesses. The word document might end up with a heading on the last 
line of a page, and similiar. They'll end up blaming it on the 
conversion. But what to do? LyX documents aren't divided into pages 
until printing time, and then such things are handled automatically and 
nicely by latex. LyX doesn't implement page breaking itself.


Word has some tricky features too. Support for lots of fonts, for example.

2) Even if all problems with (1) is resolved somehow, the job will be
huge and therefore it will be hard to find a volunteer for the job. Word 
users don't know lyx enough to do it. LyX experts tend to not consider 
word a serious piece of software, and will normally spend their time 
improving Lyx itself instead.


Helge Hafting



Centring printing

2009-02-13 Thread Doug Laidlaw
Hi.  I am putting together a family history.  My publisher and I both like B5 
size pages, but B5 paper is not available in small quantities to practise on.

I find that if I write at system default (A4) then reduce it to B5 or A5, only 
the printing is reduced.  I have a small printed area on A4 paper, near the 
top left corner.  Even exporting to Postscript does the same thing.

I think that what is happening is that the printing is in the corner of the 
sheet, the way it would be put on a photocopier, while my printer centres the 
smaller sheet, so the printing is displaced relative to the media.

The above reads "as clear as mud," but I am sure that this issue has arisen 
before.  What is the way around it?

TIA,

Doug.


appendix tables with endfloat

2009-02-13 Thread Thomas DiPrete
Hi, I'm writing a paper that requires tables be placed at the end,  
and I do that using the endfloat package.  My problem is that I also  
want to include a couple of tables labeled as Table A.1 and Table A. 
2.  I've tried creating an appendix at the end of the paper with   
\appendix followed by a \setcounter command, but this causes all my  
tables to be labelled as A.1, A.2, A.3 etc.   Is there a way to keep  
the numbering of the text tables as 1,2,3 etc  followed by A.1, A.2?











Re: How to implement batch convertion on equations style.

2009-02-13 Thread Richard Heck

Laser Yuan wrote:

I have attached the sample file bellow. I have put many equations in arrays
since I want to get multiline equation with single label and align them to
the left. But it turned out that elements in the array are not in display
style. Finally, I found using aligned AMS environment is what I desired. I
just need to put all of them to the second column to get them align left.
But situation now is that I have so many equations need to perform this
conversion. Could anybody give a  suggest on what I shall do to minimize the
workload. Thanks in advance!

Laser

  
Am I missing something, or isn't it just a matter of replacing 
"\begin{array}{1}" with "\begin{aligned} &"? If so, then you just do it 
in any text editor. For more complex stuff, you can use sed, or perl, or 
awk, or whatever. I tend to use perl, because you can just do this:


#!/usr/bin/perl
while (<>) {
   # operate on $_
   print $_;
}

and get a useful filter quite quickly, which you can then run via:
>perl myfilter.pl 
#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
\usepackage{lmodern}
\newcommand{\1}{\mbox{1\hspace{-1mm}I}}
\numberwithin{equation}{section}

%control the line space in multiline equations
\usepackage{calc}
\setlength{\jot}{3mm+3pt}
\end_preamble
\use_default_options true
\begin_modules
theorems-ams
\end_modules
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize 11
\spacing double
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 3
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize a4paper
\use_geometry true
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 1.5cm
\topmargin 3cm
\rightmargin 1.5cm
\bottommargin 1.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle plain
\tracking_changes false
\output_changes false
\author ""
\author ""
\end_header

\begin_body

\begin_layout Standard
I have inputed so many equations like this ( faractions, exponentials are
 not in display style, equations aligned to the left, with only one lable):
\begin_inset Formula \begin{equation}
\begin{array}{l}
v^{-}\left(x;a,b\right)=-\left(c^{+}+c^{-}\right)\frac{\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\\
+\frac{\left(h-rc^{+}\right)\exp-\left(\rho_{1}+\rho_{2}\right)b}{r\left(\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)\right)}\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\\
+\frac{\left(p+h\right)\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\left(\rho_{2}\exp-\rho_{2}b-\rho_{1}\exp-\rho_{1}b\right)}{r\left(\rho_{1}-\rho_{2}\right)\left(\exp\rho_{1}\left(a-b\right)-\exp\rho_{2}\left(a-b\right)\right)}\\
+\frac{p+rc^{-}}{r}\frac{\left(\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)-\exp\rho_{1}\left(a-b\right)+\exp\rho_{2}\left(a-b\right)\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\end{array}\label{eq:with
one lable}\end{equation}

\end_inset


\end_layout

\begin_layout Standard
What's the quickest way to convert all those equations into this style (all
 items are in display style )
\begin_inset Formula \begin{equation}
\begin{aligned} &
v^{-}\left(x;a,b\right)=-\left(c^{+}+c^{-}\right)\frac{\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\\
 &
+\frac{\left(h-rc^{+}\right)\exp-\left(\rho_{1}+\rho_{2}\right)b}{r\left(\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)\right)}\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\\
 &
+\frac{\left(p+h\right)\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\left(\rho_{2}\exp-\rho_{2}b-\rho_{1}\exp-\rho_{1}b\right)}{r\left(\rho_{1}-\rho_{2}\right)\left(\exp\rho_{1}\left(a-b\right)-\exp\rho_{2}\left(a-b\right)\right)}\\
 &
+\frac{p+rc^{-}}{r}\frac{\left(\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)-\exp\rho_{1}\left(a-b\right)+\exp\rho_{2}\left(a-b\right)\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\end{aligned}
\label{eq:still one lable}\end{equation}

\end_inset


\end_layout

\end_body
\end_document

  




Re: Centring printing

2009-02-13 Thread Paul A. Rubin

Doug Laidlaw wrote:
Hi.  I am putting together a family history.  My publisher and I both like B5 
size pages, but B5 paper is not available in small quantities to practise on.


I find that if I write at system default (A4) then reduce it to B5 or A5, only 
the printing is reduced.  I have a small printed area on A4 paper, near the 
top left corner.  Even exporting to Postscript does the same thing.


I think that what is happening is that the printing is in the corner of the 
sheet, the way it would be put on a photocopier, while my printer centres the 
smaller sheet, so the printing is displaced relative to the media.


The above reads "as clear as mud," but I am sure that this issue has arisen 
before.  What is the way around it?




Why not set the paper to A4 and then set the margins to produce the same 
text area (centered on the A4 paper) that you would have with B5? 
(Assuming I'm understanding this correctly.)


/Paul



Re: Centring printing

2009-02-13 Thread Konrad Hofbauer

Paul A. Rubin wrote:
Why not set the paper to A4 and then set the margins to produce the same 
text area (centered on the A4 paper) that you would have with B5? 
(Assuming I'm understanding this correctly.)


Or set up your toolchain to create the final B5 format (which might not 
be trivial - use pdflatex), and then set in Acrobat 'auto-rotate and 
centre' (but no rescaling) to print on A4.


HTH,
Konrad

P.S. But it is (at least to me) a bit unclear what your problem is (what 
works, and what not).




exporting equations to openoffice/word?

2009-02-13 Thread Micha Feigin
I tried using export to open document today to try and convert a document to a
format that I can produce a powerpoint presentation from it and it went mostly
ok (formatting wasn't really good but I need the wording, not the formatting).
The problem is that equations came out terrible and that is the main part
(words I can copy from the pdf). I think that lyx uses tex4ht for that. Is
there a better way to do this?

I usually use beamer but for this project I need to work for someone using a
given powerpoint template so regrettably it's not an option.

thanks


Re: tables go out of the page

2009-02-13 Thread Yago

To reduce the font size is another solution
- Original Message - 
From: "James C. Sutherland" 

To: "LyX User" 
Sent: Friday, February 13, 2009 3:15 PM
Subject: Re: tables go out of the page




On Feb 13, 2009, at 12:58 AM, Sindhu Sundar wrote:


Hi!

Am doing by final year project, we are required to submit erd  diagrams 
and
stuff. In lyx when I create tables, some of the go out of the 
page...please

see http://dl.getdropbox.com/u/394046/Narration.pdf

how do i make the tables come within the page margin? please help. 
thanks :)


-Sindhu S


Two possible solutions that come to mind:
  1. Set column widths.  This will force line-wrapping in a cell.
  2. Rotate the table to landscape.
I would probably favor option 1 for most of your tables.

__ Information from ESET NOD32 Antivirus, version of virus 
signature database 3836 (20090207) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com





table_example_1.lyx
Description: application/lyx


table_example_1.tex
Description: Binary data


Re: Centring printing

2009-02-13 Thread Stefano Franchi
On Friday 13 February 2009 09:45:55 Doug Laidlaw wrote:
> Hi.  I am putting together a family history.  My publisher and I both like
> B5 size pages, but B5 paper is not available in small quantities to
> practise on.
>
> I find that if I write at system default (A4) then reduce it to B5 or A5,
> only the printing is reduced.  I have a small printed area on A4 paper,
> near the top left corner.  Even exporting to Postscript does the same
> thing.
>
> I think that what is happening is that the printing is in the corner of the
> sheet, the way it would be put on a photocopier, while my printer centres
> the smaller sheet, so the printing is displaced relative to the media.
>
> The above reads "as clear as mud," but I am sure that this issue has arisen
> before.  What is the way around it?
>
> TIA,
>
> Doug.

Are you concerned about final output, or about producing draft versions similar 
enough to the final output to allow visual inspection of the pages?

If about final output: what is the publisher requesting? Camera-ready copies 
(in Pdf format, I would suppose)? In that case, I would set up the page you 
want with the geometry package, and add cropmarks to indicate the real 
margins.

Or is the publisher going to reset the manuscript in a DTP package, and you 
are only worried about your draft versions? In taht case just changing the 
margins , as it has been suggested, could be enough.


S.


  

__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: exporting equations to openoffice/word?

2009-02-13 Thread Konrad Hofbauer

Micha Feigin wrote:

The problem is that equations came out terrible and that is the main part
(words I can copy from the pdf). I think that lyx uses tex4ht for that. Is
there a better way to do this?



Can you insert the equations as graphics?

At least on Mac, you can select an area in the PDF, and copy into 
PowerPoint (as graphic).


If you zoom into the PDF quite a bit before copying, it looks ok (i.e., 
good enough for a presentation).


If this does not work on your platform, you could take a detour via some 
other image format (export from Acrobat to whatever, put that into the 
presentation, and crop).


All not very elegant, but sufficient (assuming it is a one-time job).

HTH,
/Konrad

P.S. There is also LaTeXIt (on Mac).




discussion in lyx, or lyx for wikis

2009-02-13 Thread David Romano
I'm teaching a math class where the students use lyx to write down their 
ideas and proofs, and it would be nice to have a way to use lyx to post to 
a discussion or write in a wiki.  Has anybody had any success in doing 
something along these lines?  Do people have suggestions about 
discussion-oriented software that integrates well with lyx?


Thanks,
David Romano


Re: page numbering

2009-02-13 Thread Dave Hewitt
> I am preparing project report ...i want to number abstract and
> acknowledgment, acronyms, etc... in roman and normal numbers (arabic) for
> chapters ...How to do that
> 
> From other threads i came to know abt   \frontmatter \mainmatter \backmatter
> .. but i am not using koma-script..normal "report" document class

\Xmatter definitions are not specific to Koma-script, but are restricted to 
books

You don't need that, though. Just add

\pagenumbering{roman}

in ERT where you want pages to start roman and

\pagenumbering{arabic}

to reset counter and go to arabic



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

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

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

Niko


Search and replace in equations

2009-02-13 Thread Anders Host-Madsen
Is there any way to search and replace in equations in LyX?
Say I want to replace x with y in all my equations. Or
\mathbf with \mathsf. If not,
is there any plans to implement this?

One of the advantages of using Latex is that it's plain text,
so it's possible to search and replace in equations.
Is it a bad idea to export LyX to Latex,
then search and replace, and re-import in LyX?



Re: page numbering

2009-02-13 Thread Uwe Stöhr

Sengottuvelavan t.p. schrieb:


I am preparing project report ...i want to number abstract and
acknowledgment, acronyms, etc... in roman and normal numbers (arabic) for
chapters ...How to do that

From other threads i came to know abt   \frontmatter \mainmatter \backmatter
.. but i am not using koma-script..normal "report" document class


Then you have to redefine the page numbering using the command
\pagenumbering{type}
in TeX code at the beginning of your acknowledgment..

So when you want to have the page numbers in big Roman numbers, then use
\pagenumbering{Roman}
The other types are
roman
Alph
alph
arabic

regards Uwe


Re: tables go out of the page

2009-02-13 Thread Uwe Stöhr

Sindhu Sundar schrieb:


how do i make the tables come within the page margin? please help. thanks :)


Another user already replied. In case you want to have more infos about line breaking in tables or 
about rotating things, have a look at teh EmbeddedObjects manual that you find in LyX's Help menu.


regards Uwe


Re: discussion in lyx, or lyx for wikis

2009-02-13 Thread Uwe Stöhr

David Romano schrieb:

I'm teaching a math class where the students use lyx to write down their 
ideas and proofs, and it would be nice to have a way to use lyx to post 
to a discussion or write in a wiki.


This will be hard, because every Wiki has its own syntax. But for MediaWiki, the engine that is used 
by the Wikipedia and other Wikis, you can highlight formula part in LyX and copy/paste them to the 
Wiki. This is possible, because MediaWiki uses LaTeX for typesetting formulas.
For more special applications, I would have a look of you find some solution where you can use 
LaTeX. Then you can simply copy/paste things from LyX's LateX output.


regards Uwe


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

2009-02-13 Thread Uwe Stöhr

Niko Schwarz schrieb:


Ok, one strange thing that has happened to me a little bit too often lately
was that when quoting some literature, instead of a reference like [1]
(using natbib), i only get a question mark, like [? ].


This happens when BibTeX is not able to load the citation from your BibTeX file.
This is the case when you have loaded the wrong BibTeX file in your LyX document or more probable, 
when the code in the BibTeX file is wrong.


To check the latter, have a look in LyX's menu Document-> LaTeX Log after you compiled your 
document. There you'll then see error messages about missing or wrong BibTeX entries.
The classic error in this field is that you used a Unicode-only character in your BibTeX file like a 
long "—" instead of a "-". The reason is that BibTeX was developed before Unicode and that 
everything you write in your BibTeX file must be valid LaTeX.


When you still don't find the problem, then you can send me a _small_ example 
LyX and BibTeX file.

regards Uwe


Re: discussion in lyx, or lyx for wikis

2009-02-13 Thread Nikos Alexandris
On Sat, 2009-02-14 at 00:20 +0100, Uwe Stöhr wrote:
> David Romano schrieb:
> 
> > I'm teaching a math class where the students use lyx to write down their 
> > ideas and proofs, and it would be nice to have a way to use lyx to post 
> > to a discussion or write in a wiki.
> 
> This will be hard, because every Wiki has its own syntax. But for MediaWiki, 
> the engine that is used 
> by the Wikipedia and other Wikis, you can highlight formula part in LyX and 
> copy/paste them to the 
> Wiki. This is possible, because MediaWiki uses LaTeX for typesetting formulas.
> For more special applications, I would have a look of you find some solution 
> where you can use 
> LaTeX. Then you can simply copy/paste things from LyX's LateX output.
> 
> regards Uwe

Apologies for my ignorance and sort of off-topic question: is there any
way to use LyX's documents (after some export) with the Plone CMS [1]?
Any other CMS that uses LaTeX?

Thanks, Nikos

[1] http://plone.org/



Re: Search and replace in equations

2009-02-13 Thread Uwe Stöhr

Anders Host-Madsen schrieb:


Is there any way to search and replace in equations in LyX?
Say I want to replace x with y in all my equations. Or
\mathbf with \mathsf.


This is currently only possible by opening a LyX file with a text editor and 
then use find and replace.


If not, is there any plans to implement this?


This feature has been implemented for the next major LyX release LyX 2.0.0, see
http://wiki.lyx.org/LyX/NewInLyX20

regards Uwe


Re: discussion in lyx, or lyx for wikis

2009-02-13 Thread Uwe Stöhr

Nikos Alexandris schrieb:


Apologies for my ignorance and sort of off-topic question: is there any
way to use LyX's documents (after some export) with the Plone CMS [1]?


It seems not:
http://plone.org/documentation/phc_search?SearchableText=LaTeX=Search


Any other CMS that uses LaTeX?


I don't know, googling helps to find it out ;-)

regards Uwe


Re: discussion in lyx, or lyx for wikis

2009-02-13 Thread Nikos Alexandris
On Sat, 2009-02-14 at 00:42 +0100, Uwe Stöhr wrote:
> Nikos Alexandris schrieb:
> 
> > Apologies for my ignorance and sort of off-topic question: is there any
> > way to use LyX's documents (after some export) with the Plone CMS [1]?
> 
> It seems not:
> http://plone.org/documentation/phc_search?SearchableText=LaTeX=Search
> 
> > Any other CMS that uses LaTeX?
> 
> I don't know, googling helps to find it out ;-)
> 
> regards Uwe

Thanks, Nikos



Re: discussion in lyx, or lyx for wikis

2009-02-13 Thread Typhoon
On Sat, 14 Feb 2009 00:52:07 +0100
Nikos Alexandris  wrote:

> On Sat, 2009-02-14 at 00:42 +0100, Uwe Stöhr wrote:
> > Nikos Alexandris schrieb:
> > 
> > > Apologies for my ignorance and sort of off-topic question: is
> > > there any way to use LyX's documents (after some export) with the
> > > Plone CMS [1]?
> > 
> > It seems not:
> > http://plone.org/documentation/phc_search?SearchableText=LaTeX=Search
> > 
> > > Any other CMS that uses LaTeX?
> > 
> > I don't know, googling helps to find it out ;-)
> > 
> > regards Uwe
> 
> Thanks, Nikos

There seems to be some work done on a LaTeX to reStructuredText
converter. It appears to be early days, but...

http://groups.google.com/group/python-dev2/browse_thread/thread/e12c2a2cdbe09efe


Alan
> 
> 


Re: Search and replace in equations

2009-02-13 Thread Anders Host-Madsen
Uwe Stöhr  writes:

> This is currently only possible by opening a LyX file with a 
> text editor and then use find and replace.
Thanks, I didn't think about the fact that
LyX files are text files. That seems a better solution
than exporting to Latex and then re-importing to LyX.
It appears that equations in the LyX files
are standard Latex.

> This feature has been implemented for the next major LyX release LyX 2.0.0, 
> see
> http://wiki.lyx.org/LyX/NewInLyX20

Excellent! LyX is really a great program.







Re: elsevier natbib author-year problem

2009-02-13 Thread Anders Host-Madsen
Did you specify the elsart-harv.bst in the bibtex insert
(as style file)?
Otherwise, that would seem an obvious problem.