Re: Include file

2010-03-30 Thread Sajjad
On Wed, Mar 31, 2010 at 7:34 AM, Sajjad  wrote:

>
>
> On Tue, Mar 30, 2010 at 11:04 PM, rgheck  wrote:
>
>> On 03/30/2010 02:59 PM, Sajjad wrote:
>>
>>>
>>> I tried this by inserting MS Office y going to  the Insert->File
>>>
>>> But there is no option for MS Office file.
>>>
>>>  The suggestion was: Use MS Word to create the title page and first page;
>> print these, by themselves, as a PDF file; print your thesis as a PDF file,
>> too, from inside LyX. Now get ahold of a PDF editor, such as pdftk or
>> pdfedit, and use it to join the two files together.
>>
>> If you can't manage this last step, then send them to me and I'll do it.
>>
>
> I have downloaded the PDFedit and merge the pages along with  the main
> report(using the command "Insert pages from other document") but when i save
> it, it seems that the merge operation is never done.
>
>
> How to effect  the join operation ?
>

After save the new revision the changes were affected, but now  the margin
of the main report has changed. You can se the differences in the following
link. One with  the merged pages at front and the second is the main report.

http://www.student.itn.liu.se/~sajis997/snow.pdf

http://www.student.itn.liu.se/~sajis997/SnowRemoval.pdf

The difference will be visible if compare the two documents and will see
that in the first one the content moves a bit upwards and it looks odd now.

Please take a look and give me some hints how get it right.

>
>
> //Sajjad
>
>
>>
>> rh
>>
>>
>


Re: Importing doc documents

2010-03-30 Thread Murat Yildizoglu
My best experience was with a commercial converter: Tex2Word. It
imports many elements, including math and the results is customizable
(you can choose to drop paragraph formatting for example). It is not
free but the education price is not expensive (it was not when I have
bought it years ago).

Murat
-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: Include file

2010-03-30 Thread Steve Litt
On Tuesday 30 March 2010 21:21:24 Steve Litt wrote:

> There are several excellent LaTeX books, all fairly expensive. The seminal
>  TeX document on the web is this:
> 
> http://www.nytimes.com/2010/02/21/opinion/21shulman.html

Oops! I was doing some research for a post to GoLUG, and somehow that got 
pasted in instead of the real TeX article:

http://www.ctan.org/tex-archive/info/impatient/

I'm sorry, and this is very embarrassing. But it's not the most embarrassing 
error ever made on the LyX list. Does anyone remember the photo accidentally 
included in a Christmas message on LyX list? :-)

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



64bit Lyx 1.6.4 cannot view postscript

2010-03-30 Thread george legge
Hello to you all  --  This is my first message to the list.

I have the 64bit version of Lyx 1.6.4 running on 64bit SUSE 11.1 together
with Texlive.

Lyx would not convert to pdf until I installed kdegraphics3-pdf and
kdegraphics3-postscript.

Without those packages, it seems the 64bit installation does not have a
version of kpdf (information off the web).



 Fine, I can now view as pdf and print that. I can also view as dvi; but
that's as far as it goes.

I cannot view as postscript. I get a window with an error message:

An error occurred whilst running dvips -t a4 -o 'newfile1.ps'
'newfile1.dvi'.



 In the terminal window, I get the same error message followed by:

This is dvips(k) 5.98 Copyright 2009 Radical Eye Software (
www.radicaleye.com)

dvips: ! Couldn't find header file tex.pro

Note that an absolute path or a relative path with .. are denied in -R2
mode.

Error: Cannot convert file.



 I searched for tex.pro and found it (and also texps.pro) in

/usr/share/texmf/dvips/base/ and also in /usr/lib/texmf/divips/base/

These files belong to root and I wondered if permissions were a problem, but
I get the same response if I run Lyx as root.



 I don't know whether there is something missing in the 64bit version of Lyx
1.6.4 or what.

I am not familiar with Lyx.

Can anyone help please?

George L


Re: Include file

2010-03-30 Thread Steve Litt
On Tuesday 30 March 2010 15:15:14 Sajjad wrote:
> On Tue, Mar 30, 2010 at 9:04 PM, Steve Litt 
wrote:
> > The way I do this type of thing is to  construct the frontmatter,
> > including the cover, in LyX using ERT and custom environments. That's a
> > few hours of LaTeX ERT work to get it looking just how you want it to,
> > but I think it's worth it.
> 
> Hello Steve,
> 
> Any link or reference so  that i can get started about ERT?
 
 
Hi Sajjad,

ERT stands for Evil Red Text, and is a way to incorporate raw LaTeX or raw TeX 
inline into your LyX document, as a single code. The reason it's called "Evil" 
is it can be badly abused, and LaTeX is much trickier than run of the mill 
environment-hosted LyX (you know, the LyX app you work with).

ERT is either LaTeX code or TeX code. The former is more capable, the latter 
is simpler. In practice, you're going to need some LaTeX no matter what, in 
your ERT.

There are several excellent LaTeX books, all fairly expensive. The seminal TeX 
document on the web is this:

http://www.nytimes.com/2010/02/21/opinion/21shulman.html

I've put together some TeX and LaTeX documentation, all of which can be 
accessed from here:

http://www.troubleshooters.com/linux/lyx/

HTH

StevET

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Importing doc documents

2010-03-30 Thread Alex Fernandez
Hi Stefano,

On Tue, Mar 30, 2010 at 10:18 PM, stefano franchi
 wrote:
> In my, very recent, experience, there are several converters Lyx->Word, but
> no *robust* one.
> Problems I encountered yesterday trying to convert a relatively simple
> 15-pages lyx  file that compiled perfectly to pdf into word:

Please send your document to me, or to the eLyXer user list. You can
lorem-ipsumize it (using the loremipsumize.py script included with
eLyXer) if needed. I will do my best to make eLyXer output acceptable
HTML code.

> I tried everything I could find: the lyx html(word) export, html export, and
> oolatex (all variations of htlatex, I seem to remember), hevea, tth,
> latex2rtf, elixer
> I eventually managed to produce something barely acceptable, but it was a
> nightmare.

Did you get better results with eLyXer, or was it just the same as the
others? Just curious.

Alex.


Re: Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)

2010-03-30 Thread Typhoon


I have tidied up the instructions (including a nice suggestion from
Wolfgang) and posted the tutorial on the Wiki under the Tips/Compiling
section:

http://wiki.lyx.org/Tips/Compiling#sTips.Compiling_9

It would be nice if someone could include a yum/whatever equivalent for
the Debian

apt-get build-dep lyx

command.

I also included a brief separate section on the virtues of using GNU
Stow to install the compiled software.

Cheers,
Alan

-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: MLA style for bibliography in Lyx

2010-03-30 Thread stefano franchi
Yes, it can be done, and there is more than one way to do so. You can:

1. usestandard  bibtex with the mla style. I no longer use this method, as
it was not very reliable

2. use biblatex (a replacement for bibtex that is still in beta version but
widely used) with the biblatex-mla style availaible here:
http://konx.net/biblatex-mla/
(see the disclaimer about the latest version of the MLA handbook not
being supported, though)

3. just use biblatex and tweak one of the standard styles or the excellent
biblatex-dw style by Dominik Weisshoven (a style explicitly designed for the
humanities, but with a decidedly European flavor):
http://biblatex.dominik-wassenhoven.de/biblatex-dw.shtml?en

I currently use method 3, but I have heard good reports about method 2.
Method 1 is, in my opinion, obsolete.

Notice that, in the vast majority of cases, publishers requesting
manuscripts formatted with MLA style will also request the manuscript in
microsoft word format. This means that the lyx/latex file will have to be
converted into Word format. It can be done, but it is not completely
painless. On the plus side, once the manuscript is converted, you can fix
any minor bibliographic problem by hand.


Cheers,

Stefano


On Tue, Mar 30, 2010 at 5:24 PM, Frederick Noronha <
fredericknoro...@gmail.com> wrote:

> Dear all, A friend would like to know if it's possible to use the MLA
> style for a bibliography in Lyx. I quote: "The MLA style has first
> line of every entry on left margin  and second line of the entry
> indented five spaces." Thanks in advance for any help you might be
> able to offer. FN
> --
> Frederick Noronha
> Books from Goa ::  http://goa1556.goa-india.org
>



-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas A&M University Fax: (1) 979 845-0458
College Station, Texas, USA


MLA style for bibliography in Lyx

2010-03-30 Thread Frederick Noronha
Dear all, A friend would like to know if it's possible to use the MLA
style for a bibliography in Lyx. I quote: "The MLA style has first
line of every entry on left margin  and second line of the entry
indented five spaces." Thanks in advance for any help you might be
able to offer. FN
--
Frederick Noronha
Books from Goa ::  http://goa1556.goa-india.org


Re: Include file

2010-03-30 Thread Steve Litt
Hi Rob,

I hope you're putting this technique in your new book!

Also, I hope you put it in your book in such a way that the reader can put 
everything together as a single PDF. I would think that Scribus would be a 
MUCH better way to construct the cover, title page and copyright page than 
LyX. /* Litt ducks and runs */

SteveT

On Tuesday 30 March 2010 15:23:17 Rob Oakes wrote:
> I'm a big fan of putting title pages together in Scribus.  It allows you
> to be anally particular about where things go, what fonts you want to
> use, etc.  I also find that it's easier to use for layout work than
> OpenOffice.  When you're done, you can export your masterpiece as a PDF
> and then include it in your frontmatter.
> 
> For very finicky layouts (that only need to be done once), I much prefer
> to use a dedicated layout program over ERT.  The downside, is,
> unfortunately that you won't get the automatic headers and footers
> unless you add the appropriate macros in your document preamble:
> 
> \author{}
> \title{}
> ...
> 
> On Tue, 2010-03-30 at 15:04 -0400, Steve Litt wrote:
> > The way I do this type of thing is to  construct the frontmatter,
> > including the cover, in LyX using ERT and custom environments. That's a
> > few hours of LaTeX ERT work to get it looking just how you want it to,
> > but I think it's worth it.
> >
> > A second way you can do it is to use pdftk to tack the Word-sourced front
> > pages onto the LyX sourced rest of the document, and of course set page
> > numbering in both so everything matches up.
> >
> > SteveT
> >
> > On Tuesday 30 March 2010 12:58:09 Sajjad wrote:
> > > Hello,
> > >
> > > It has to be merged as a single pdf file and front front pages are in
> > > the Miicrosoft Office Word format.
> > >
> > > So after merging all  the front and title pages to the main report , it
> > >  must be compiled as a single pdf file.
> > >
> > > Regards
> > > Sajjad
> > >
> > > On Tue, Mar 30, 2010 at 6:50 PM, rgheck  wrote:
> > > > On 03/30/2010 11:53 AM, Sajjad wrote:
> > > >> Hello forum,
> > > >>
> > > >> I have written the thesis in a single .lyx file.
> > > >>
> > > >>
> > > >> Now to comply with  the university standard i have to include front
> > > >> page, the title page and then the main report that i have written.
> > > >>
> > > >>
> > > >> Any hint how to do  that from LyX interface ?
> > > >
> > > > What format do you have those pages in? Or is the question how to
> > > > create them?
> > > >
> > > > One option is to create them in OpenOffice or something, as these
> > > > often are supposed to have a very particular format. Then print them
> > > > and put them on the front. If you have to adjust page numbers in the
> > > > LyX file, that is fairly easy to do.
> > > >
> > > > rh
> 



Need Wiki password for upload

2010-03-30 Thread David Hewitt
I'd like to upload a PDF document that explains some of the nuts and
bolts of how to get LyX to work with R through Sweave.

Dave Hewitt
Research Fishery Biologist
USGS Western Fisheries Research Center
Klamath Falls Field Station, Oregon
http://profile.usgs.gov/dhewitt


Re: Is this a bug?? \underbar{\alpha} crashes...

2010-03-30 Thread Paul Rubin
Jacob  writes:

> 
> I have been experiencing the same problem. It seems to me that this IS a bug,
> and while what has been proposed (use \underline instead of \underbar) works,
> and is valuable input/information, it is a workaround to the bug, not a fix. 
> The bug still exists. At least, this is how I am reading the problem.
> 
> Any news on someone actually addressing the bug?

It's not exactly a bug in LyX, more like a quirk of LaTeX not (yet) addressed
by LyX.  See, for instance,
http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2009-11/msg00659.html.

That post led me to a LyX math-macro that defines a new command (I used 
\ubar but the name is arbitrary) that does the trick:

\begin_layout Standard
\begin_inset FormulaMacro
\renewcommand{\ubar}[1]{\underbar{\ensuremath{#1}}}
\end_inset

With this macro defined in the document body, you just type \ubar rather 
than \underbar in a math inset.  It seems to work with a variety of math
symbols, not just Greek letters.

I don't know any way to provide this in a module, though.  You can put the 
code in the preamble, but then LyX won't recognize it as a math macro.  So 
AFAIK your options are:

1.  insert the LaTeX code

\global\long\def\ubar#1{\underbar{\ensuremath{#1}}}

in the preamble (this can be done with a module), and in math insets type

\ubar\{

(which will generate an inset surrounded by braces), type your stuff in the
inset, and live with the fact that LyX does not display the underbar (but 
LaTeX will);

2.  create a document containing the macro definition in the body and save
it as a LyX template; or

3.  create a child document with the macro in it, and include the child in 
any document where you're going to feel an urge to use underbars.

This is bug #4565; I've amended the ticket to suggest the ensuremath fix.  
We'll see what happens.

/Paul





Re: Importing doc documents

2010-03-30 Thread stefano franchi
On Tue, Mar 30, 2010 at 2:36 PM, Alex Fernandez wrote:

> Hi Rob,
>
> There is already a registered converter for MS Word. It uses HTML
> formatting, which Word can import without too much trouble.
> Unfortunately eLyXer (using the --html option) is not used for this
> task, even though IMHO it produces better output in most cases.
>
> In my, very recent, experience, there are several converters Lyx->Word, but
no *robust* one.
Problems I encountered yesterday trying to convert a relatively simple
15-pages lyx  file that compiled perfectly to pdf into word:

-- all character sequences including ligatures (ff, ffi, etc) disappearing,
silently, from the output

--- all accented characters being converted into the wrong glyphs

--- tables mangled beyond recognition, or simply (again, silently)
suppressed from the output

--- images missing, or distorted, or resized to full page, etcetera

-- many other problems that I now (happily) forget


I tried everything I could find: the lyx html(word) export, html export, and
oolatex (all variations of htlatex, I seem to remember), hevea, tth,
latex2rtf, elixer
I eventually managed to produce something barely acceptable, but it was a
nightmare.


S.







> Of course you are never going to get good Math with an HTML
> intermediate step, but text and some formatting is readily imported
> into Word. Same for OpenOffice.org Writer. This is enough for many
> people. If you have any further suggestions please let me know.
>
> Thanks,
>
> Alex.
>



-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas A&M University Fax: (1) 979 845-0458
College Station, Texas, USA


Re: Importing doc documents

2010-03-30 Thread stefano franchi
On Mon, Mar 29, 2010 at 10:12 AM, Rob Oakes  wrote:


> With that said, I had a thought.  It seems that I surrounded by happy and
> singing students that are applying for Google code fellowships and
> otherwise
> having hysterics over summer plans.  While it is too late for LyX to submit
> proposals this year, I wonder if trying to get Summer of Code students to
> work on MS Word/LyX converters might make for a good project next year?
>
>
That sounds like an excellent idea, although it's too late for this year.
Having spent the better part of a day fighting with lyx-->word conversions,
I can only dream of a bare bone converter.
I cannot be a mentor either, but i'd be more than happy to help out any way
I can (testing, etc.)

Stefano




> LyX already imports/exports to nearly every other format under the sun
> (through the use of external tools, I know), it seems like an oversight to
> leave out the Word processor used by most people.  If you really wanted to
> get fancy, you could try and convert tracked changes and comments from the
> LyX system into MS Word, or vice-versa.  A more robust path for document
> interchange with Word users would go a *long* way to helping LyX adoption.
> I have several colleagues who would love to use it, but need a better way
> of
> working with MS Word users.
>
> I'm not sure what LyX's history with Google's Summer of Code is, but if
> there is any interest, I'd be happy to help with filing applications and
> such.  I'm not sure that I'm qualified to be a mentor, but I could be a
> ruthlessly competent coordinator.
>
> Cheers,
>
> Rob Oakes
>
>


-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas A&M University Fax: (1) 979 845-0458
College Station, Texas, USA


Re: Is this a bug?? \underbar{\alpha} crashes...

2010-03-30 Thread Jacob
Paul A. Rubin  writes:

> Erez Yerushalmi wrote:

* Snip *
> > I wonder if this is a bug??
* Snip *
> > Am I missing something
> > 
> 
> http://www.mail-archive.com/lyx-users-UqbJ+GOpo4+hPH1hqNUYSQ 
public.gmane.org/msg59654.html
> 
> /Paul

Sorry if this is not the appropriate place for this. It has been a little while.

I have been experiencing the same problem. It seems to me that this IS a bug,
and while what has been proposed (use \underline instead of \underbar) works,
and is valuable input/information, it is a workaround to the bug, not a fix. The
bug still exists. At least, this is how I am reading the problem.

Any news on someone actually addressing the bug?

Jacob
(using lyx 1.6.5)



Re: Importing doc documents

2010-03-30 Thread Alex Fernandez
Hi Rob,

On Mon, Mar 29, 2010 at 4:12 PM, Rob Oakes  wrote:
> LyX already imports/exports to nearly every other format under the sun
> (through the use of external tools, I know), it seems like an oversight to
> leave out the Word processor used by most people.  If you really wanted to
> get fancy, you could try and convert tracked changes and comments from the
> LyX system into MS Word, or vice-versa.  A more robust path for document
> interchange with Word users would go a *long* way to helping LyX adoption.
> I have several colleagues who would love to use it, but need a better way of
> working with MS Word users.

There is already a registered converter for MS Word. It uses HTML
formatting, which Word can import without too much trouble.
Unfortunately eLyXer (using the --html option) is not used for this
task, even though IMHO it produces better output in most cases.

Of course you are never going to get good Math with an HTML
intermediate step, but text and some formatting is readily imported
into Word. Same for OpenOffice.org Writer. This is enough for many
people. If you have any further suggestions please let me know.

Thanks,

Alex.


Re: Include file

2010-03-30 Thread Rob Oakes
Sajjad,

While you're at it, also take a look at Scribus.  It's a good way to
create title pages and other layout intensive documents.  ERT is a good
way to go if you are going to use the document template many times
(e.g., you are putting together a handout or something).  If it's
something you'll only do once, it's often easier to use a layout tool
and add it to your document:

Insert->File->External Material

Choose the File (as a PDF) and PDF pages from the template diagram.

Then click Ok.

If you have any questions, feel free to shoot me an email.

Cheers,

Rob Oakes

On Tue, 2010-03-30 at 21:15 +0200, Sajjad wrote:
> On Tue, Mar 30, 2010 at 9:04 PM, Steve Litt wrote:
> 
> > The way I do this type of thing is to  construct the frontmatter, including
> > the cover, in LyX using ERT and custom environments. That's a few hours of
> > LaTeX ERT work to get it looking just how you want it to, but I think it's
> > worth it.
> >
> 
> Hello Steve,
> 
> Any link or reference so  that i can get started about ERT?
> 
> 
> Sajjad
> 
> >
> > A second way you can do it is to use pdftk to tack the Word-sourced front
> > pages onto the LyX sourced rest of the document, and of course set page
> > numbering in both so everything matches up.
> >
> > SteveT
> >
> > On Tuesday 30 March 2010 12:58:09 Sajjad wrote:
> > > Hello,
> > >
> > > It has to be merged as a single pdf file and front front pages are in the
> > > Miicrosoft Office Word format.
> > >
> > > So after merging all  the front and title pages to the main report , it
> > >  must be compiled as a single pdf file.
> > >
> > > Regards
> > > Sajjad
> > >
> > > On Tue, Mar 30, 2010 at 6:50 PM, rgheck  wrote:
> > > > On 03/30/2010 11:53 AM, Sajjad wrote:
> > > >> Hello forum,
> > > >>
> > > >> I have written the thesis in a single .lyx file.
> > > >>
> > > >>
> > > >> Now to comply with  the university standard i have to include front
> > > >> page, the title page and then the main report that i have written.
> > > >>
> > > >>
> > > >> Any hint how to do  that from LyX interface ?
> > > >
> > > > What format do you have those pages in? Or is the question how to
> > create
> > > > them?
> > > >
> > > > One option is to create them in OpenOffice or something, as these often
> > > > are supposed to have a very particular format. Then print them and put
> > > > them on the front. If you have to adjust page numbers in the LyX file,
> > > > that is fairly easy to do.
> > > >
> > > > rh
> > >
> >
> >




Re: Chemical Symbols within formula LYX

2010-03-30 Thread Paul Sutton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

yurena.me...@gmail.com wrote:
> Hello again,
> 
> Can I use the mhchem package for chemical symbols within a formula or
> equation Lyx. I tried to do and I can not enter code tex within the
> formula or equation.
> 
> Thanks
> 
if you want to do something like H2O where the 2 is a subscript then you
can simply use the math function.

have a look at the following from my dropbox storage area thingy

http://dl.dropbox.com/u/3356122/chemicals.pdf

hope this helps

Paul


When i reply to messages on this list i am used to hitting reply and in
most other forums it replies to the list, on here it replies to the
sender, directly.  I guess i need to hit reply all.

anyway my reply is above (again) Sorry for any problems caused

Paul

- --
Paul Sutton
www.zleap.net

Ubuntu 10.04 is out soon : Visit www.ubuntu.com for details
DCGLUG MEETINGS - Details on www.dcglug.org.uk/ - please click on Group
meetings link on right hand side
Aged 11 - 19 then dfey may be for you,  please goto http://www.dfey.org
for more details
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuyT9MACgkQaggq1k2FJq12YwCfbPuYr7rVFTC+yiUIGOitUi4y
GSAAn3rCLAY+8jkPmeCd7K6LoYj1pKAW
=Zg0R
-END PGP SIGNATURE-


Re: Include file

2010-03-30 Thread Rob Oakes
I'm a big fan of putting title pages together in Scribus.  It allows you
to be anally particular about where things go, what fonts you want to
use, etc.  I also find that it's easier to use for layout work than
OpenOffice.  When you're done, you can export your masterpiece as a PDF
and then include it in your frontmatter.

For very finicky layouts (that only need to be done once), I much prefer
to use a dedicated layout program over ERT.  The downside, is,
unfortunately that you won't get the automatic headers and footers
unless you add the appropriate macros in your document preamble:

\author{}
\title{}
...


On Tue, 2010-03-30 at 15:04 -0400, Steve Litt wrote:
> The way I do this type of thing is to  construct the frontmatter, including 
> the cover, in LyX using ERT and custom environments. That's a few hours of 
> LaTeX ERT work to get it looking just how you want it to, but I think it's 
> worth it.
> 
> A second way you can do it is to use pdftk to tack the Word-sourced front 
> pages onto the LyX sourced rest of the document, and of course set page 
> numbering in both so everything matches up.
> 
> SteveT
> 
> On Tuesday 30 March 2010 12:58:09 Sajjad wrote:
> > Hello,
> > 
> > It has to be merged as a single pdf file and front front pages are in the
> > Miicrosoft Office Word format.
> > 
> > So after merging all  the front and title pages to the main report , it
> >  must be compiled as a single pdf file.
> > 
> > Regards
> > Sajjad
> > 
> > On Tue, Mar 30, 2010 at 6:50 PM, rgheck  wrote:
> > > On 03/30/2010 11:53 AM, Sajjad wrote:
> > >> Hello forum,
> > >>
> > >> I have written the thesis in a single .lyx file.
> > >>
> > >>
> > >> Now to comply with  the university standard i have to include front
> > >> page, the title page and then the main report that i have written.
> > >>
> > >>
> > >> Any hint how to do  that from LyX interface ?
> > >
> > > What format do you have those pages in? Or is the question how to create
> > > them?
> > >
> > > One option is to create them in OpenOffice or something, as these often
> > > are supposed to have a very particular format. Then print them and put
> > > them on the front. If you have to adjust page numbers in the LyX file,
> > > that is fairly easy to do.
> > >
> > > rh
> > 
> 




Re: Include file

2010-03-30 Thread Sajjad
On Tue, Mar 30, 2010 at 9:04 PM, Steve Litt wrote:

> The way I do this type of thing is to  construct the frontmatter, including
> the cover, in LyX using ERT and custom environments. That's a few hours of
> LaTeX ERT work to get it looking just how you want it to, but I think it's
> worth it.
>

Hello Steve,

Any link or reference so  that i can get started about ERT?


Sajjad

>
> A second way you can do it is to use pdftk to tack the Word-sourced front
> pages onto the LyX sourced rest of the document, and of course set page
> numbering in both so everything matches up.
>
> SteveT
>
> On Tuesday 30 March 2010 12:58:09 Sajjad wrote:
> > Hello,
> >
> > It has to be merged as a single pdf file and front front pages are in the
> > Miicrosoft Office Word format.
> >
> > So after merging all  the front and title pages to the main report , it
> >  must be compiled as a single pdf file.
> >
> > Regards
> > Sajjad
> >
> > On Tue, Mar 30, 2010 at 6:50 PM, rgheck  wrote:
> > > On 03/30/2010 11:53 AM, Sajjad wrote:
> > >> Hello forum,
> > >>
> > >> I have written the thesis in a single .lyx file.
> > >>
> > >>
> > >> Now to comply with  the university standard i have to include front
> > >> page, the title page and then the main report that i have written.
> > >>
> > >>
> > >> Any hint how to do  that from LyX interface ?
> > >
> > > What format do you have those pages in? Or is the question how to
> create
> > > them?
> > >
> > > One option is to create them in OpenOffice or something, as these often
> > > are supposed to have a very particular format. Then print them and put
> > > them on the front. If you have to adjust page numbers in the LyX file,
> > > that is fairly easy to do.
> > >
> > > rh
> >
>
>


Re: Include file

2010-03-30 Thread Steve Litt
The way I do this type of thing is to  construct the frontmatter, including 
the cover, in LyX using ERT and custom environments. That's a few hours of 
LaTeX ERT work to get it looking just how you want it to, but I think it's 
worth it.

A second way you can do it is to use pdftk to tack the Word-sourced front 
pages onto the LyX sourced rest of the document, and of course set page 
numbering in both so everything matches up.

SteveT

On Tuesday 30 March 2010 12:58:09 Sajjad wrote:
> Hello,
> 
> It has to be merged as a single pdf file and front front pages are in the
> Miicrosoft Office Word format.
> 
> So after merging all  the front and title pages to the main report , it
>  must be compiled as a single pdf file.
> 
> Regards
> Sajjad
> 
> On Tue, Mar 30, 2010 at 6:50 PM, rgheck  wrote:
> > On 03/30/2010 11:53 AM, Sajjad wrote:
> >> Hello forum,
> >>
> >> I have written the thesis in a single .lyx file.
> >>
> >>
> >> Now to comply with  the university standard i have to include front
> >> page, the title page and then the main report that i have written.
> >>
> >>
> >> Any hint how to do  that from LyX interface ?
> >
> > What format do you have those pages in? Or is the question how to create
> > them?
> >
> > One option is to create them in OpenOffice or something, as these often
> > are supposed to have a very particular format. Then print them and put
> > them on the front. If you have to adjust page numbers in the LyX file,
> > that is fairly easy to do.
> >
> > rh
> 



Re: Chemical Symbols within formula LYX

2010-03-30 Thread Uwe Stöhr

yurena.me...@gmail.com schrieb:

Can I use the mhchem package for chemical symbols within a formula or 
equation Lyx.


Yes, see sec. 20 of the LyX math manual.

I tried to do and I can not enter code tex within the 
formula or equation.


What TeX-commands or TeX-construct is not working for you?

regards Uwe


Re: Include file

2010-03-30 Thread rgheck

On 03/30/2010 12:58 PM, Sajjad wrote:

Hello,

It has to be merged as a single pdf file and front front pages are in the
Miicrosoft Office Word format.

So after merging all  the front and title pages to the main report , it must
be compiled as a single pdf file.

   

Then this option


One option is to create them in OpenOffice or something, as these often are
supposed to have a very particular format. Then print them and put them on
the front. If you have to adjust page numbers in the LyX file, that is
fairly easy to do.

 

will work. Just substitute Word for OpenOffice.

rh



Re: Include file

2010-03-30 Thread Sajjad
Hello,

It has to be merged as a single pdf file and front front pages are in the
Miicrosoft Office Word format.

So after merging all  the front and title pages to the main report , it must
be compiled as a single pdf file.

Regards
Sajjad

On Tue, Mar 30, 2010 at 6:50 PM, rgheck  wrote:

> On 03/30/2010 11:53 AM, Sajjad wrote:
>
>> Hello forum,
>>
>> I have written the thesis in a single .lyx file.
>>
>>
>> Now to comply with  the university standard i have to include front page,
>> the title page and then the main report that i have written.
>>
>>
>> Any hint how to do  that from LyX interface ?
>>
>>
>>
> What format do you have those pages in? Or is the question how to create
> them?
>
> One option is to create them in OpenOffice or something, as these often are
> supposed to have a very particular format. Then print them and put them on
> the front. If you have to adjust page numbers in the LyX file, that is
> fairly easy to do.
>
> rh
>
>


Re: Include file

2010-03-30 Thread rgheck

On 03/30/2010 11:53 AM, Sajjad wrote:

Hello forum,

I have written the thesis in a single .lyx file.


Now to comply with  the university standard i have to include front page,
the title page and then the main report that i have written.


Any hint how to do  that from LyX interface ?

   
What format do you have those pages in? Or is the question how to create 
them?


One option is to create them in OpenOffice or something, as these often 
are supposed to have a very particular format. Then print them and put 
them on the front. If you have to adjust page numbers in the LyX file, 
that is fairly easy to do.


rh



Include file

2010-03-30 Thread Sajjad
Hello forum,

I have written the thesis in a single .lyx file.


Now to comply with  the university standard i have to include front page,
the title page and then the main report that i have written.


Any hint how to do  that from LyX interface ?



Regards
Sajjad


Chemical Symbols within formula LYX

2010-03-30 Thread YURENA . ME . LE

Hello again,

Can I use the mhchem package for chemical symbols within a formula or  
equation Lyx. I tried to do and I can not enter code tex within the formula  
or equation.


Thanks


Re: X Error: BadGC

2010-03-30 Thread Pavel Sanda
Wolfgang Engelmann wrote:
> Is it useful to collect more data? And were do I report it?

add it to that bug in case you have something interesting.

> Let me know whether I should watch this more carefully and to what I should 
> pay attention to. 

two things are interesting in particular:
1. backtrace of the freeze
2. recipy how to reproduce the problem
(add version of distro, Qt, Kde, X11)

pavel



Re: X Error: BadGC

2010-03-30 Thread Wolfgang Engelmann
Am Tuesday 30 March 2010 14:12:32 schrieb Pavel Sanda:
> Wolfgang Engelmann wrote:
> > Is this type of error known and cured in the new Lyx version?
>
> might be related to http://www.lyx.org/trac/ticket/5501
>
> pavel

Hi, Pavel,

yes, I think I have the same problem as described there. Is it useful to 
collect more data? And were do I report it?

For instance, I am using Debian lenny under KDE, 
used a GA-8SGXL motherboard in a Fujitsu-Simens Scaleo 600 on which the error 
occurred.
I had to replace this motherboard (now Gigabyte EX58UD3R) recently, but have 
the same problems. It is thus not likely that it is hardware caused.

I am working on a book with about 180 pages and about 100 figures using a 
German and an English version for switching between both. If I keep the 
terminal from which I started lyx & visible behind the lyx window, I can 
usually tell that it will soon freeze. If I stop my lyx and start again, it 
works again. 

Let me know whether I should watch this more carefully and to what I should 
pay attention to. 

Wolfgang


Re: Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)

2010-03-30 Thread rgheck

On 03/30/2010 03:50 AM, Wolfgang Engelmann wrote:

I followed your instructions and got at point 4 an error, which I posted
there. What went wrong?

Wolfgang
   

Wei-Dong Lian  wrote:
 

Hi everyone,

I would like to know if there is a solution to install lyx 1.64 or
even higher version under ubuntu 8.04.
   



 

ECN
Weidong
   

Hello Weidong,
Here is a short Howto that I wrote for compiling LyX and using GNU Stow
to keep it out of the way of your existing LyX installation.

-

===
  Compiling LyX on Ubuntu or Debian
===


  And using GNU Stow


Getting the tools
=

1. y...@yourmachine:~$ sudo apt-get build-dep lyx
2. y...@yourmachine:~$ sudo apt-get install stow
3. y...@yourmachine:~$ sudo apt-get install automake
4. y...@yourmachine:~$ sudo atp-get install autoconf


This should get most or all of what you need. There may be a
substantial download if you have no building tools already installed.

Getting LyX
===

You want the "source code".

Download the source tarball from  http://www.lyx.org/Download. The
downloaded file will be named lyx-1.6.5.tar.gz.

Local directory
===

1. y...@yourmachine:~$ mkdir local
2. y...@yourmachine:~$ mv lyx-1.6.5.tar.gz ./local
(Note: the tarball may be downloaded to some special directory,
usually either Desktop or Downloads. You may need to adjust the
above command line accordingly)
3. y...@yourmachine:~$ cd local
4. y...@yourmachine:~$ tar xovzf lyx-1.6.5.tar.gz
This will create a new sub-directory under ~/local and will unpack
the source files for lyx.
4. y...@yourmachine:~$ cd lyx-1.6.5

Compiling
=

1. y...@yourmachine:~$ ./autogen.sh
Check the output - if it says something is missing, then use
apt-get to install it.
2. y...@yourmachine:~$ ./configure --with-version-suffix=165
We give it a different suffix so that it doesn't conflict with your
existing LyX installation. You can use both the new version and the
previously installed version.

Check the output - if it says something is missing, then install
using apt-get. Repeat items 1 and 2.
3. y...@yourmachine:~$ make
Depending on your machine, this may take some time. If there is an
error, then read the output. You probably need to use apt-get to
install some new piece of software.
4. y...@yourmachine:~$ sudo make install prefix=/usr/local/stow/lyx165
 


wolfgang:/home/wolfgang# make install prefix=/usr/local/stow/lyx165
make: *** Keine Regel, um »install« zu erstellen.  Schluss.
(no rule to produce 'install'. end)

ps: I used su instead of sudo.

   
Unless you are compiling from your home directory, which isn't really a 
good idea, then you need to get into the directory where the sources 
live, which in these instructions would be ~/local/lyx165.


rh



Re: X Error: BadGC

2010-03-30 Thread Pavel Sanda
Wolfgang Engelmann wrote:
> Is this type of error known and cured in the new Lyx version?

might be related to http://www.lyx.org/trac/ticket/5501

pavel


Re: Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)

2010-03-30 Thread Wei-Dong Lian
Hi Alan,
Thanks lot, I am really grateful to inform you that the way you mentioned
below really worked well. It worked in my computer ubuntu 8.04 LTS, except a
problem of Latex style and layout problem. I think it is a slight one, I
could install it.
Thanks again for your detailed instructions.
Weidong LIAN

On Tue, Mar 30, 2010 at 2:38 AM, Typhoon  wrote:

> On Mon, 29 Mar 2010 20:17:25 +0200
> Wei-Dong Lian  wrote:
>
> > Hi everyone,
> >
> > I would like to know if there is a solution to install lyx 1.64 or
> > even higher version under ubuntu 8.04.
> 
> > ECN
> > Weidong
>
> Hello Weidong,
> Here is a short Howto that I wrote for compiling LyX and using GNU Stow
> to keep it out of the way of your existing LyX installation.
>
> -
>
> ===
>  Compiling LyX on Ubuntu or Debian
> ===
>
> 
>  And using GNU Stow
> 
>
> Getting the tools
> =
>
> 1. y...@yourmachine:~$ sudo apt-get build-dep lyx
> 2. y...@yourmachine:~$ sudo apt-get install stow
> 3. y...@yourmachine:~$ sudo apt-get install automake
> 4. y...@yourmachine:~$ sudo atp-get install autoconf
>
>
> This should get most or all of what you need. There may be a
> substantial download if you have no building tools already installed.
>
> Getting LyX
> ===
>
> You want the "source code".
>
> Download the source tarball from  http://www.lyx.org/Download. The
> downloaded file will be named lyx-1.6.5.tar.gz.
>
> Local directory
> ===
>
> 1. y...@yourmachine:~$ mkdir local
> 2. y...@yourmachine:~$ mv lyx-1.6.5.tar.gz ./local
>   (Note: the tarball may be downloaded to some special directory,
>   usually either Desktop or Downloads. You may need to adjust the
>   above command line accordingly)
> 3. y...@yourmachine:~$ cd local
> 4. y...@yourmachine:~$ tar xovzf lyx-1.6.5.tar.gz
>   This will create a new sub-directory under ~/local and will unpack
>   the source files for lyx.
> 4. y...@yourmachine:~$ cd lyx-1.6.5
>
> Compiling
> =
>
> 1. y...@yourmachine:~$ ./autogen.sh
>   Check the output - if it says something is missing, then use
>   apt-get to install it.
> 2. y...@yourmachine:~$ ./configure --with-version-suffix=165
>   We give it a different suffix so that it doesn't conflict with your
>   existing LyX installation. You can use both the new version and the
>   previously installed version.
>
>   Check the output - if it says something is missing, then install
>   using apt-get. Repeat items 1 and 2.
> 3. y...@yourmachine:~$ make
>   Depending on your machine, this may take some time. If there is an
>   error, then read the output. You probably need to use apt-get to
>   install some new piece of software.
> 4. y...@yourmachine:~$ sudo make install prefix=/usr/local/stow/lyx165
> 5. y...@yourmachine:~$ cd /usr/local/stow
> 6. y...@yourmachine:~$ sudo stow lyx165
>
> Running the new version
> ===
>
> y...@yourmachine:~$ lyx165
>
> You can also make a "launcher" for the new version by right clicking
> on the panel. The command should be /usr/local/bin/lyx165.
>
> You can also run your old LyX version using the simple command:
>
> y...@yourmachine:~$ lyx
>
> In a launcher, the command /usr/local/bin/lyx will run the old version.
>
>
>
> Please let me know if there is any problem with any of the steps here.
> Cheers,
> Alan
>
>
>
>
> --
> Alan L Tyreehttp://www2.austlii.edu.au/~alan
> Tel:  04 2748 6206
>
>


Re: Compiling LyX on Ubuntu/Debian (was Badly needly for lyx 1.6.4 under ubuntu 8.04)

2010-03-30 Thread Wolfgang Engelmann

I followed your instructions and got at point 4 an error, which I posted 
there. What went wrong?

Wolfgang
>
> Wei-Dong Lian  wrote:
> > Hi everyone,
> >
> > I would like to know if there is a solution to install lyx 1.64 or
> > even higher version under ubuntu 8.04.
>
> 
>
> > ECN
> > Weidong
>
> Hello Weidong,
> Here is a short Howto that I wrote for compiling LyX and using GNU Stow
> to keep it out of the way of your existing LyX installation.
>
> -
>
> ===
>  Compiling LyX on Ubuntu or Debian
> ===
>
> 
>  And using GNU Stow
> 
>
> Getting the tools
> =
>
> 1. y...@yourmachine:~$ sudo apt-get build-dep lyx
> 2. y...@yourmachine:~$ sudo apt-get install stow
> 3. y...@yourmachine:~$ sudo apt-get install automake
> 4. y...@yourmachine:~$ sudo atp-get install autoconf
>
>
> This should get most or all of what you need. There may be a
> substantial download if you have no building tools already installed.
>
> Getting LyX
> ===
>
> You want the "source code".
>
> Download the source tarball from  http://www.lyx.org/Download. The
> downloaded file will be named lyx-1.6.5.tar.gz.
>
> Local directory
> ===
>
> 1. y...@yourmachine:~$ mkdir local
> 2. y...@yourmachine:~$ mv lyx-1.6.5.tar.gz ./local
>(Note: the tarball may be downloaded to some special directory,
>usually either Desktop or Downloads. You may need to adjust the
>above command line accordingly)
> 3. y...@yourmachine:~$ cd local
> 4. y...@yourmachine:~$ tar xovzf lyx-1.6.5.tar.gz
>This will create a new sub-directory under ~/local and will unpack
>the source files for lyx.
> 4. y...@yourmachine:~$ cd lyx-1.6.5
>
> Compiling
> =
>
> 1. y...@yourmachine:~$ ./autogen.sh
>Check the output - if it says something is missing, then use
>apt-get to install it.
> 2. y...@yourmachine:~$ ./configure --with-version-suffix=165
>We give it a different suffix so that it doesn't conflict with your
>existing LyX installation. You can use both the new version and the
>previously installed version.
>
>Check the output - if it says something is missing, then install
>using apt-get. Repeat items 1 and 2.
> 3. y...@yourmachine:~$ make
>Depending on your machine, this may take some time. If there is an
>error, then read the output. You probably need to use apt-get to
>install some new piece of software.
> 4. y...@yourmachine:~$ sudo make install prefix=/usr/local/stow/lyx165


wolfgang:/home/wolfgang# make install prefix=/usr/local/stow/lyx165
make: *** Keine Regel, um »install« zu erstellen.  Schluss.
(no rule to produce 'install'. end)

ps: I used su instead of sudo.


> 5. y...@yourmachine:~$ cd /usr/local/stow
> 6. y...@yourmachine:~$ sudo stow lyx165
>
> Running the new version
> ===
>
> y...@yourmachine:~$ lyx165
>
> You can also make a "launcher" for the new version by right clicking
> on the panel. The command should be /usr/local/bin/lyx165.
>
> You can also run your old LyX version using the simple command:
>
> y...@yourmachine:~$ lyx
>
> In a launcher, the command /usr/local/bin/lyx will run the old version.
>
>
>
> Please let me know if there is any problem with any of the steps here.
> Cheers,
> Alan



thanks Allan