Copy and paste from MS Word

2008-04-22 Thread D . Zorig
Hi all,

How can I copy and paste from MS Word file to LYX while preserving paragraph
breaks.  I'm going to copy and paste 308 page MS Word file to LYX 1.5.4 and
put the formatting back in.  When I copy and paste from MS Word to LYX
paragraph breaks gets lost and I have to find paragraph ends and hit enter
in LYX that is too much work it seems.

Thanks in advance.

-- 
Zorigtkhuu Davaanyam


Re: List of Symbol (Nomenclature) AND List of Abbreviations (Glossary)

2008-04-22 Thread Michael Brunneder
Thanks G. Milde for your reply. In the meantime I've solved this issue 
with the package glossaries. It's very powerful but requires to 
generate the final document version with a plain latex export and the 
command line.



G. Milde wrote:

On 19.04.08, Michael Brunneder wrote:
  

Hi!



  
I'm writing a thesis in Lyx and I've the following problem. I need a  
List of Symbols (Nomenclature) and a separate List of Abbreviations. The  
Nomenclature is working fine as described in the Lyx user guide. But now  
I would need more or less a second nomenclature to realize my List of  
Abbreviations. Any easy way to achive this?



# texdoc nomencl

this will open the nomencl documentation (nomencl.pdf) on a texlive system.
Section 5.1 Subgroups will help further.

Unfortunately, you cannot pass options to nomencl with LyX but this should
not stand in the way here...

Guenter

  


Re: Copy and paste from MS Word

2008-04-22 Thread Uwe Stöhr

D.Zorig schrieb:


How can I copy and paste from MS Word file to LYX while preserving paragraph
breaks.  I'm going to copy and paste 308 page MS Word file to LYX 1.5.4 and
put the formatting back in.  When I copy and paste from MS Word to LYX
paragraph breaks gets lost and I have to find paragraph ends and hit enter
in LYX that is too much work it seems.


Save your file as text file. Then Use the menu Insert - File - Plain Text, 
Join Lines
(See sec. 6 of the EmbeddedObjects manual for more the differences of the Plain 
text insertion methods.)

regards Uwe


ams align requires a punctuation character?

2008-04-22 Thread Neal Becker
I tried using ams align (lyx1.6svn), to typeset this:
\begin_layout Standard
\begin_inset Formula \begin{align*}
\renewcommand \minalignsep {2em}s_{i}  :i\text{th systematic bit}\\
p_{i}^{j}  :j\text{th parity bit for }i\text{th input}\\
t_{i}^{j}  :j\text{th tail bit from }i\text{th encoder}\end{align*}

\end_inset


It seemed that unless I put some punctuation, such a '=' or in the above
case ':', I did not get any column space.



Re: Copy and paste from MS Word

2008-04-22 Thread Wilfried
D.Zorig [EMAIL PROTECTED] wrote:

 How can I copy and paste from MS Word file to LYX while preserving paragraph
 breaks.  I'm going to copy and paste 308 page MS Word file to LYX 1.5.4 and
 put the formatting back in.  When I copy and paste from MS Word to LYX
 paragraph breaks gets lost and I have to find paragraph ends and hit enter
 in LYX that is too much work it seems.

Just copy the text in Word, and in LyX use paste special - plaintext
(Ctrl+Shift+V).
As you most probably don't want to paste soft (conditional) hyphens in
LyX, you have to switch off automatic hyphenation and replace all
manually inserted soft hyphens by nothing, in Word, before copying.


--
Wilfried Hennings



Re: english appended to the left side of the running head

2008-04-22 Thread Neal Becker
Richard Heck wrote:

 rhb wrote:
 I'm rather inexperienced with LaTeX and LyX, trying to use the latter to
 write a presentation for a class. I'm using the amsart document class,
 because it makes the handout look the best, but at the top of each page,
 it prints the title as englishTopological Vector Spaces instead of
 Topological Vector Spaces. Is there any way I can fix this, or get rid
 of the header entirely (I don't really need it)?

 Also, is there a way to remove or lessen the empty space above the title
 on the first page of the document? I'm having trouble figuring that out.

   
 I've seen this problem, too. I think it's a LyX bug. Please file a
 report at bugzilla.lyx.org, and I'll have a look at it as soon as I get
 a chance.
 
 rh
Well known bug in babel IIRC, grab latest babel.



For help!

2008-04-22 Thread Ding Ming (QFL PD PI)
Dear LYX

I am a user of LYX. Now I am writing my thesis using LYX. But I come to a 
problem. How can do make a global citation?

A general lyx file of my thesis contains six sub-lyx files. I would like to 
make citations in a sub-file. But I need to generate Bib Tex Generated 
Bibliography for each sub one.  The point is that I don't want Bibliography 
appears in every chapter of my thesis, but  last one. So could you please tell 
me how I can manage it?

Thanks!

Best Regards!

Ming Ding


Re: Copy and paste from MS Word

2008-04-22 Thread rgheck

Wilfried wrote:

D.Zorig [EMAIL PROTECTED] wrote:

  

How can I copy and paste from MS Word file to LYX while preserving paragraph
breaks.  I'm going to copy and paste 308 page MS Word file to LYX 1.5.4 and
put the formatting back in.  When I copy and paste from MS Word to LYX
paragraph breaks gets lost and I have to find paragraph ends and hit enter
in LYX that is too much work it seems.



Just copy the text in Word, and in LyX use paste special - plaintext
(Ctrl+Shift+V).
As you most probably don't want to paste soft (conditional) hyphens in
LyX, you have to switch off automatic hyphenation and replace all
manually inserted soft hyphens by nothing, in Word, before copying.

  
You can also try saving the text from Word as HTML and then importing 
that. You'll get a lot of the formatting right that way.


rh



Re: For help!

2008-04-22 Thread rgheck

Ding Ming (QFL PD PI) wrote:

Dear LYX

I am a user of LYX. Now I am writing my thesis using LYX. But I come to a 
problem. How can do make a global citation?

A general lyx file of my thesis contains six sub-lyx files. I would like to make citations in a 
sub-file. But I need to generate Bib Tex Generated Bibliography for each sub one.  The 
point is that I don't want Bibliography appears in every chapter of my thesis, but  
last one. So could you please tell me how I can manage it?

  

A few possibilities.

One: You may be able to put the bibliography in a comment in the 
subfiles. LyX will see it, but it won't get exported to LaTeX. Downside: 
You can't compile the subfiles on their own.


Two: If LyX knows about the master-child relationship, then it will let 
you insert citations based upon the bibliography in the master document. 
To let LyX know about this, though, you have to open the child documents 
from the master document, using the Edit button in the Include dialog, 
which you get by clicking on the Include inset. This is a bit of a pain, 
but it does work.


Three: Just before the bibliography inset in each child file, put this 
in ERT:

\ifx\MAINBIB\undefined
And then just after it, put this, again in ERT:
\fi
Now, in the master file, put this in ERT:
\newcommand\MAINBIB{biblio}
The \ifx line is checking to see whether \MAINBIB is defined. (NOTE: 
Don't define \undefined!!) It is if we're compiling the master, and then 
the bibliography will be ignored. This trick is the same one I describe 
here: http://wiki.lyx.org/Tips/ChildMathMacros, but put to a different use.


Richard



No indent in LOF, LOT and tables

2008-04-22 Thread NicoWinger
Hello,
 
I'm writing a thesis with scrartcl and want to clear the indent of LOF and
LOT. I already read, that this is possible by setting the option listsleft
of koma-script. But how can I set this option in LyX? 
 
The second Point is: I changed the LOF with following Command
 
%Fügt Abbildung  vor die Nummern in der LOF 

\makeatletter

[EMAIL PROTECTED] }

[EMAIL PROTECTED] 

\par 

\addcontentsline{\csname [EMAIL PROTECTED] 

{\csname [EMAIL PROTECTED] 

\csname the#1\endcsname}{\ignorespaces #2}}% 

\begingroup [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \fi 
\normalsize
[EMAIL PROTECTED] [EMAIL PROTECTED] #3}\par \endgroup}

\makeatother

 

(I know that it would have been easier using the tocloft-package, but
anyway...) so that the LOF looks like:

 

Abbildung 1
Testabbildung..  2

Abbildung 2  asödkfö  öalkdfj aölskdf...
34

 

Does somebody know, how to insert : after the numberation?

 

And last but not least: The tables I inserted do also hab a little indent.
Is it possible to change that?

 

Thanks for help!

 

Nico



text underlined because of language

2008-04-22 Thread NicoWinger
Hello,
 
if I insert text from outside in my lyx-document, it's underlined because of
language. Does s.b. know how to fix that? The problem is that if words of
a table for example are underlined like that, the indent of this row is
different to the other rows... 
 
s.b. an idea why?
 
Nico


Re: Google Docs to LaTeX

2008-04-22 Thread Michael Thompson
Dear Charles, 
It is very cool grasping how to use sed in however a primitive way.  But on
further investigation it seems one needs it for a LyX friendly use of
``writer2latex'' only if the document has tables, math, images ... or French. 
With a fairly wide but unscientifically chosen variety of English documents, I
found that the desiderata of: 
(a) retaining crucial formatting that an English language Word or OpenOffice or
docs.google user would likely employ 
and: 
(b) avoiding a demoralizing film of ERT 
by messing with the preferences in writer2latex.xml.  

The accursed red {}- is what remains, though the obvious expedient of a find and
replace in the latex file before importing into LyX is clearly the way to go if
that's all there is.  I think it has to do with the ucs.sty that is used in
connection with the choice of utf8 among the 'inputencoding' options. But this
is way over my head. 

I don't know how far this depends on how various things are adjusted on the (mac
)computer I was using - doc-odt-latex-lyx involves a lot of adjustments - but
for the heck of it I will list the alterations from the defaults that seemed to
maximize what is preserved subject to the principle of ERT avoidance:

option name=inputencoding value=utf8 /
option name=multilingual value=false /
in place  of 
option name=inputencoding value=ascii /
option name=multilingual value=true /


option name=formatting value=ignore_most /
option name=page_formatting value=ignore_all /
option name=ignore_hard_page_breaks value=true /
option name=ignore_hard_line_breaks value=true /
option name=ignore_empty_paragraphs value=true /
option name=ignore_double_spaces value=true /
in place of
option name=formatting value=convert_basic /
option name=page_formatting value=convert_all /
option name=ignore_hard_page_breaks value=false /
option name=ignore_hard_line_breaks value=false /
option name=ignore_empty_paragraphs value=false /
option name=ignore_double_spaces value=false /

These choices keep the amount of junk in the preamble to a minimum too.  The
more I fiddle with it the sounder writer2latex seems to be; I wouldn't have
thought it was possible.  Again, this is all over my head, though now primitive
text-altering script-composition isn't, to my amazement - so,
or rather, {}- so, 
thanks, 
Michael 



natbib again

2008-04-22 Thread KM, H A Friedl
Hi everybody

I am still a newcomer in using LyX and I am still encountering problems with 
natbib. May I ask for your help once again?

1) When I try to install natbib via MiKTeX, I get a MiKTeX problem report:

FTP: couldn't retrieve (RETR failed) the specified file

I have tried other mirrors without success (when choosing other mirrors I get 
the message: invalid easy handle).

In advance, thank you very much!
Kind regards
Alfred

Re: text underlined because of language

2008-04-22 Thread Uwe Stöhr

NicoWinger schrieb:


if I insert text from outside in my lyx-document, it's underlined because of
language. Does s.b. know how to fix that?


Use the character dialog and reset the language.

regards Uwe


Re: Google Docs to LaTeX

2008-04-22 Thread Luis Rivera
Michael Thompson [EMAIL PROTECTED] writes:

 
 Dear Charles, 
 It is very cool grasping how to use sed in however a primitive way.  But on
 further investigation it seems one needs it for a LyX friendly use of
 ``writer2latex'' only if the document has tables, math, images ... or French. 
 With a fairly wide but unscientifically chosen variety of English documents, I
 found that the desiderata of: 
 (a) retaining crucial formatting that an English language Word or OpenOffice 
 or
 docs.google user would likely employ 
 and: 
 (b) avoiding a demoralizing film of ERT 
 by messing with the preferences in writer2latex.xml.  
 

Indeed, the script is not necessary if you edit the writer2latex.xml file in
your system, as you've done already. All you need to do is to select the
appropriate encoding (latin9 is the most popular, after utf8 for latin writing
systems, as you've found out).

Personally, I prefer to avoid loading a full Office Suite to make the
conversion, so I bypass them by not saving my googledocs papers into word, rtf,
or odf. Try saving your GoogleDocs documents as HTML, and then convert them with
html2tex. Check

http://www.iwriteiam.nl/html2tex.html

All you need is a friendly gcc compiler (or a friend to give it to you), and it
makes the whole work for you with a simple call to the converter.

Perhaps you may have to call html-tidy to cleanup the HTML source a bit, but a
simple bash script (or in windows, a bat file) will work.

Small is beautiful,

Luis.




Copy and paste from MS Word

2008-04-22 Thread D . Zorig
Hi all,

How can I copy and paste from MS Word file to LYX while preserving paragraph
breaks.  I'm going to copy and paste 308 page MS Word file to LYX 1.5.4 and
put the formatting back in.  When I copy and paste from MS Word to LYX
paragraph breaks gets lost and I have to find paragraph ends and hit enter
in LYX that is too much work it seems.

Thanks in advance.

-- 
Zorigtkhuu Davaanyam


Re: List of Symbol (Nomenclature) AND List of Abbreviations (Glossary)

2008-04-22 Thread Michael Brunneder
Thanks G. Milde for your reply. In the meantime I've solved this issue 
with the package glossaries. It's very powerful but requires to 
generate the final document version with a plain latex export and the 
command line.



G. Milde wrote:

On 19.04.08, Michael Brunneder wrote:
  

Hi!



  
I'm writing a thesis in Lyx and I've the following problem. I need a  
List of Symbols (Nomenclature) and a separate List of Abbreviations. The  
Nomenclature is working fine as described in the Lyx user guide. But now  
I would need more or less a second nomenclature to realize my List of  
Abbreviations. Any easy way to achive this?



# texdoc nomencl

this will open the nomencl documentation (nomencl.pdf) on a texlive system.
Section 5.1 Subgroups will help further.

Unfortunately, you cannot pass options to nomencl with LyX but this should
not stand in the way here...

Guenter

  


Re: Copy and paste from MS Word

2008-04-22 Thread Uwe Stöhr

D.Zorig schrieb:


How can I copy and paste from MS Word file to LYX while preserving paragraph
breaks.  I'm going to copy and paste 308 page MS Word file to LYX 1.5.4 and
put the formatting back in.  When I copy and paste from MS Word to LYX
paragraph breaks gets lost and I have to find paragraph ends and hit enter
in LYX that is too much work it seems.


Save your file as text file. Then Use the menu Insert - File - Plain Text, 
Join Lines
(See sec. 6 of the EmbeddedObjects manual for more the differences of the Plain 
text insertion methods.)

regards Uwe


ams align requires a punctuation character?

2008-04-22 Thread Neal Becker
I tried using ams align (lyx1.6svn), to typeset this:
\begin_layout Standard
\begin_inset Formula \begin{align*}
\renewcommand \minalignsep {2em}s_{i}  :i\text{th systematic bit}\\
p_{i}^{j}  :j\text{th parity bit for }i\text{th input}\\
t_{i}^{j}  :j\text{th tail bit from }i\text{th encoder}\end{align*}

\end_inset


It seemed that unless I put some punctuation, such a '=' or in the above
case ':', I did not get any column space.



Re: Copy and paste from MS Word

2008-04-22 Thread Wilfried
D.Zorig [EMAIL PROTECTED] wrote:

 How can I copy and paste from MS Word file to LYX while preserving paragraph
 breaks.  I'm going to copy and paste 308 page MS Word file to LYX 1.5.4 and
 put the formatting back in.  When I copy and paste from MS Word to LYX
 paragraph breaks gets lost and I have to find paragraph ends and hit enter
 in LYX that is too much work it seems.

Just copy the text in Word, and in LyX use paste special - plaintext
(Ctrl+Shift+V).
As you most probably don't want to paste soft (conditional) hyphens in
LyX, you have to switch off automatic hyphenation and replace all
manually inserted soft hyphens by nothing, in Word, before copying.


--
Wilfried Hennings



Re: english appended to the left side of the running head

2008-04-22 Thread Neal Becker
Richard Heck wrote:

 rhb wrote:
 I'm rather inexperienced with LaTeX and LyX, trying to use the latter to
 write a presentation for a class. I'm using the amsart document class,
 because it makes the handout look the best, but at the top of each page,
 it prints the title as englishTopological Vector Spaces instead of
 Topological Vector Spaces. Is there any way I can fix this, or get rid
 of the header entirely (I don't really need it)?

 Also, is there a way to remove or lessen the empty space above the title
 on the first page of the document? I'm having trouble figuring that out.

   
 I've seen this problem, too. I think it's a LyX bug. Please file a
 report at bugzilla.lyx.org, and I'll have a look at it as soon as I get
 a chance.
 
 rh
Well known bug in babel IIRC, grab latest babel.



For help!

2008-04-22 Thread Ding Ming (QFL PD PI)
Dear LYX

I am a user of LYX. Now I am writing my thesis using LYX. But I come to a 
problem. How can do make a global citation?

A general lyx file of my thesis contains six sub-lyx files. I would like to 
make citations in a sub-file. But I need to generate Bib Tex Generated 
Bibliography for each sub one.  The point is that I don't want Bibliography 
appears in every chapter of my thesis, but  last one. So could you please tell 
me how I can manage it?

Thanks!

Best Regards!

Ming Ding


Re: Copy and paste from MS Word

2008-04-22 Thread rgheck

Wilfried wrote:

D.Zorig [EMAIL PROTECTED] wrote:

  

How can I copy and paste from MS Word file to LYX while preserving paragraph
breaks.  I'm going to copy and paste 308 page MS Word file to LYX 1.5.4 and
put the formatting back in.  When I copy and paste from MS Word to LYX
paragraph breaks gets lost and I have to find paragraph ends and hit enter
in LYX that is too much work it seems.



Just copy the text in Word, and in LyX use paste special - plaintext
(Ctrl+Shift+V).
As you most probably don't want to paste soft (conditional) hyphens in
LyX, you have to switch off automatic hyphenation and replace all
manually inserted soft hyphens by nothing, in Word, before copying.

  
You can also try saving the text from Word as HTML and then importing 
that. You'll get a lot of the formatting right that way.


rh



Re: For help!

2008-04-22 Thread rgheck

Ding Ming (QFL PD PI) wrote:

Dear LYX

I am a user of LYX. Now I am writing my thesis using LYX. But I come to a 
problem. How can do make a global citation?

A general lyx file of my thesis contains six sub-lyx files. I would like to make citations in a 
sub-file. But I need to generate Bib Tex Generated Bibliography for each sub one.  The 
point is that I don't want Bibliography appears in every chapter of my thesis, but  
last one. So could you please tell me how I can manage it?

  

A few possibilities.

One: You may be able to put the bibliography in a comment in the 
subfiles. LyX will see it, but it won't get exported to LaTeX. Downside: 
You can't compile the subfiles on their own.


Two: If LyX knows about the master-child relationship, then it will let 
you insert citations based upon the bibliography in the master document. 
To let LyX know about this, though, you have to open the child documents 
from the master document, using the Edit button in the Include dialog, 
which you get by clicking on the Include inset. This is a bit of a pain, 
but it does work.


Three: Just before the bibliography inset in each child file, put this 
in ERT:

\ifx\MAINBIB\undefined
And then just after it, put this, again in ERT:
\fi
Now, in the master file, put this in ERT:
\newcommand\MAINBIB{biblio}
The \ifx line is checking to see whether \MAINBIB is defined. (NOTE: 
Don't define \undefined!!) It is if we're compiling the master, and then 
the bibliography will be ignored. This trick is the same one I describe 
here: http://wiki.lyx.org/Tips/ChildMathMacros, but put to a different use.


Richard



No indent in LOF, LOT and tables

2008-04-22 Thread NicoWinger
Hello,
 
I'm writing a thesis with scrartcl and want to clear the indent of LOF and
LOT. I already read, that this is possible by setting the option listsleft
of koma-script. But how can I set this option in LyX? 
 
The second Point is: I changed the LOF with following Command
 
%Fügt Abbildung  vor die Nummern in der LOF 

\makeatletter

[EMAIL PROTECTED] }

[EMAIL PROTECTED] 

\par 

\addcontentsline{\csname [EMAIL PROTECTED] 

{\csname [EMAIL PROTECTED] 

\csname the#1\endcsname}{\ignorespaces #2}}% 

\begingroup [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \fi 
\normalsize
[EMAIL PROTECTED] [EMAIL PROTECTED] #3}\par \endgroup}

\makeatother

 

(I know that it would have been easier using the tocloft-package, but
anyway...) so that the LOF looks like:

 

Abbildung 1
Testabbildung..  2

Abbildung 2  asödkfö  öalkdfj aölskdf...
34

 

Does somebody know, how to insert : after the numberation?

 

And last but not least: The tables I inserted do also hab a little indent.
Is it possible to change that?

 

Thanks for help!

 

Nico



text underlined because of language

2008-04-22 Thread NicoWinger
Hello,
 
if I insert text from outside in my lyx-document, it's underlined because of
language. Does s.b. know how to fix that? The problem is that if words of
a table for example are underlined like that, the indent of this row is
different to the other rows... 
 
s.b. an idea why?
 
Nico


Re: Google Docs to LaTeX

2008-04-22 Thread Michael Thompson
Dear Charles, 
It is very cool grasping how to use sed in however a primitive way.  But on
further investigation it seems one needs it for a LyX friendly use of
``writer2latex'' only if the document has tables, math, images ... or French. 
With a fairly wide but unscientifically chosen variety of English documents, I
found that the desiderata of: 
(a) retaining crucial formatting that an English language Word or OpenOffice or
docs.google user would likely employ 
and: 
(b) avoiding a demoralizing film of ERT 
by messing with the preferences in writer2latex.xml.  

The accursed red {}- is what remains, though the obvious expedient of a find and
replace in the latex file before importing into LyX is clearly the way to go if
that's all there is.  I think it has to do with the ucs.sty that is used in
connection with the choice of utf8 among the 'inputencoding' options. But this
is way over my head. 

I don't know how far this depends on how various things are adjusted on the (mac
)computer I was using - doc-odt-latex-lyx involves a lot of adjustments - but
for the heck of it I will list the alterations from the defaults that seemed to
maximize what is preserved subject to the principle of ERT avoidance:

option name=inputencoding value=utf8 /
option name=multilingual value=false /
in place  of 
option name=inputencoding value=ascii /
option name=multilingual value=true /


option name=formatting value=ignore_most /
option name=page_formatting value=ignore_all /
option name=ignore_hard_page_breaks value=true /
option name=ignore_hard_line_breaks value=true /
option name=ignore_empty_paragraphs value=true /
option name=ignore_double_spaces value=true /
in place of
option name=formatting value=convert_basic /
option name=page_formatting value=convert_all /
option name=ignore_hard_page_breaks value=false /
option name=ignore_hard_line_breaks value=false /
option name=ignore_empty_paragraphs value=false /
option name=ignore_double_spaces value=false /

These choices keep the amount of junk in the preamble to a minimum too.  The
more I fiddle with it the sounder writer2latex seems to be; I wouldn't have
thought it was possible.  Again, this is all over my head, though now primitive
text-altering script-composition isn't, to my amazement - so,
or rather, {}- so, 
thanks, 
Michael 



natbib again

2008-04-22 Thread KM, H A Friedl
Hi everybody

I am still a newcomer in using LyX and I am still encountering problems with 
natbib. May I ask for your help once again?

1) When I try to install natbib via MiKTeX, I get a MiKTeX problem report:

FTP: couldn't retrieve (RETR failed) the specified file

I have tried other mirrors without success (when choosing other mirrors I get 
the message: invalid easy handle).

In advance, thank you very much!
Kind regards
Alfred

Re: text underlined because of language

2008-04-22 Thread Uwe Stöhr

NicoWinger schrieb:


if I insert text from outside in my lyx-document, it's underlined because of
language. Does s.b. know how to fix that?


Use the character dialog and reset the language.

regards Uwe


Re: Google Docs to LaTeX

2008-04-22 Thread Luis Rivera
Michael Thompson [EMAIL PROTECTED] writes:

 
 Dear Charles, 
 It is very cool grasping how to use sed in however a primitive way.  But on
 further investigation it seems one needs it for a LyX friendly use of
 ``writer2latex'' only if the document has tables, math, images ... or French. 
 With a fairly wide but unscientifically chosen variety of English documents, I
 found that the desiderata of: 
 (a) retaining crucial formatting that an English language Word or OpenOffice 
 or
 docs.google user would likely employ 
 and: 
 (b) avoiding a demoralizing film of ERT 
 by messing with the preferences in writer2latex.xml.  
 

Indeed, the script is not necessary if you edit the writer2latex.xml file in
your system, as you've done already. All you need to do is to select the
appropriate encoding (latin9 is the most popular, after utf8 for latin writing
systems, as you've found out).

Personally, I prefer to avoid loading a full Office Suite to make the
conversion, so I bypass them by not saving my googledocs papers into word, rtf,
or odf. Try saving your GoogleDocs documents as HTML, and then convert them with
html2tex. Check

http://www.iwriteiam.nl/html2tex.html

All you need is a friendly gcc compiler (or a friend to give it to you), and it
makes the whole work for you with a simple call to the converter.

Perhaps you may have to call html-tidy to cleanup the HTML source a bit, but a
simple bash script (or in windows, a bat file) will work.

Small is beautiful,

Luis.




Copy and paste from MS Word

2008-04-22 Thread D . Zorig
Hi all,

How can I copy and paste from MS Word file to LYX while preserving paragraph
breaks.  I'm going to copy and paste 308 page MS Word file to LYX 1.5.4 and
put the formatting back in.  When I copy and paste from MS Word to LYX
paragraph breaks gets lost and I have to find paragraph ends and hit enter
in LYX that is too much work it seems.

Thanks in advance.

-- 
Zorigtkhuu Davaanyam


Re: List of Symbol (Nomenclature) AND List of Abbreviations (Glossary)

2008-04-22 Thread Michael Brunneder
Thanks G. Milde for your reply. In the meantime I've solved this issue 
with the package "glossaries". It's very powerful but requires to 
generate the "final" document version with a plain latex export and the 
command line.



G. Milde wrote:

On 19.04.08, Michael Brunneder wrote:
  

Hi!



  
I'm writing a thesis in Lyx and I've the following problem. I need a  
List of Symbols (Nomenclature) and a separate List of Abbreviations. The  
Nomenclature is working fine as described in the Lyx user guide. But now  
I would need more or less a "second" nomenclature to realize my List of  
Abbreviations. Any easy way to achive this?



#> texdoc nomencl

this will open the nomencl documentation (nomencl.pdf) on a texlive system.
Section 5.1 Subgroups will help further.

Unfortunately, you cannot pass options to nomencl with LyX but this should
not stand in the way here...

Guenter

  


Re: Copy and paste from MS Word

2008-04-22 Thread Uwe Stöhr

D.Zorig schrieb:


How can I copy and paste from MS Word file to LYX while preserving paragraph
breaks.  I'm going to copy and paste 308 page MS Word file to LYX 1.5.4 and
put the formatting back in.  When I copy and paste from MS Word to LYX
paragraph breaks gets lost and I have to find paragraph ends and hit enter
in LYX that is too much work it seems.


Save your file as text file. Then Use the menu Insert -> File -> Plain Text, 
Join Lines
(See sec. 6 of the EmbeddedObjects manual for more the differences of the Plain 
text insertion methods.)

regards Uwe


ams align requires a punctuation character?

2008-04-22 Thread Neal Becker
I tried using ams align (lyx1.6svn), to typeset this:
\begin_layout Standard
\begin_inset Formula \begin{align*}
\renewcommand \minalignsep {2em}s_{i} & :i\text{th systematic bit}\\
p_{i}^{j} & :j\text{th parity bit for }i\text{th input}\\
t_{i}^{j} & :j\text{th tail bit from }i\text{th encoder}\end{align*}

\end_inset


It seemed that unless I put some punctuation, such a '=' or in the above
case ':', I did not get any column space.



Re: Copy and paste from MS Word

2008-04-22 Thread Wilfried
D.Zorig <[EMAIL PROTECTED]> wrote:

> How can I copy and paste from MS Word file to LYX while preserving paragraph
> breaks.  I'm going to copy and paste 308 page MS Word file to LYX 1.5.4 and
> put the formatting back in.  When I copy and paste from MS Word to LYX
> paragraph breaks gets lost and I have to find paragraph ends and hit enter
> in LYX that is too much work it seems.

Just copy the text in Word, and in LyX use "paste special - plaintext
(Ctrl+Shift+V)".
As you most probably don't want to paste soft (conditional) hyphens in
LyX, you have to switch off automatic hyphenation and replace all
manually inserted soft hyphens by nothing, in Word, before copying.


--
Wilfried Hennings



Re: "english" appended to the left side of the running head

2008-04-22 Thread Neal Becker
Richard Heck wrote:

> rhb wrote:
>> I'm rather inexperienced with LaTeX and LyX, trying to use the latter to
>> write a presentation for a class. I'm using the amsart document class,
>> because it makes the handout look the best, but at the top of each page,
>> it prints the title as "englishTopological Vector Spaces" instead of
>> "Topological Vector Spaces". Is there any way I can fix this, or get rid
>> of the header entirely (I don't really need it)?
>>
>> Also, is there a way to remove or lessen the empty space above the title
>> on the first page of the document? I'm having trouble figuring that out.
>>
>>   
> I've seen this problem, too. I think it's a LyX bug. Please file a
> report at bugzilla.lyx.org, and I'll have a look at it as soon as I get
> a chance.
> 
> rh
Well known bug in babel IIRC, grab latest babel.



For help!

2008-04-22 Thread Ding Ming (QFL PD PI)
Dear LYX

I am a user of LYX. Now I am writing my thesis using LYX. But I come to a 
problem. How can do make a global citation?

A general lyx file of my thesis contains six sub-lyx files. I would like to 
make citations in a sub-file. But I need to generate "Bib Tex Generated 
Bibliography" for each sub one.  The point is that I don't want "Bibliography" 
appears in every chapter of my thesis, but  last one. So could you please tell 
me how I can manage it?

Thanks!

Best Regards!

Ming Ding


Re: Copy and paste from MS Word

2008-04-22 Thread rgheck

Wilfried wrote:

D.Zorig <[EMAIL PROTECTED]> wrote:

  

How can I copy and paste from MS Word file to LYX while preserving paragraph
breaks.  I'm going to copy and paste 308 page MS Word file to LYX 1.5.4 and
put the formatting back in.  When I copy and paste from MS Word to LYX
paragraph breaks gets lost and I have to find paragraph ends and hit enter
in LYX that is too much work it seems.



Just copy the text in Word, and in LyX use "paste special - plaintext
(Ctrl+Shift+V)".
As you most probably don't want to paste soft (conditional) hyphens in
LyX, you have to switch off automatic hyphenation and replace all
manually inserted soft hyphens by nothing, in Word, before copying.

  
You can also try saving the text from Word as HTML and then importing 
that. You'll get a lot of the formatting right that way.


rh



Re: For help!

2008-04-22 Thread rgheck

Ding Ming (QFL PD PI) wrote:

Dear LYX

I am a user of LYX. Now I am writing my thesis using LYX. But I come to a 
problem. How can do make a global citation?

A general lyx file of my thesis contains six sub-lyx files. I would like to make citations in a 
sub-file. But I need to generate "Bib Tex Generated Bibliography" for each sub one.  The 
point is that I don't want "Bibliography" appears in every chapter of my thesis, but  
last one. So could you please tell me how I can manage it?

  

A few possibilities.

One: You may be able to put the bibliography in a comment in the 
subfiles. LyX will see it, but it won't get exported to LaTeX. Downside: 
You can't compile the subfiles on their own.


Two: If LyX knows about the master-child relationship, then it will let 
you insert citations based upon the bibliography in the master document. 
To let LyX know about this, though, you have to open the child documents 
from the master document, using the "Edit" button in the Include dialog, 
which you get by clicking on the Include inset. This is a bit of a pain, 
but it does work.


Three: Just before the bibliography inset in each child file, put this 
in ERT:

\ifx\MAINBIB\undefined
And then just after it, put this, again in ERT:
\fi
Now, in the master file, put this in ERT:
\newcommand\MAINBIB{biblio}
The \ifx line is checking to see whether \MAINBIB is defined. (NOTE: 
Don't define \undefined!!) It is if we're compiling the master, and then 
the bibliography will be ignored. This trick is the same one I describe 
here: http://wiki.lyx.org/Tips/ChildMathMacros, but put to a different use.


Richard



No indent in LOF, LOT and tables

2008-04-22 Thread NicoWinger
Hello,
 
I'm writing a thesis with scrartcl and want to clear the indent of LOF and
LOT. I already read, that this is possible by setting the option "listsleft"
of koma-script. But how can I set this option in LyX? 
 
The second Point is: I changed the LOF with following Command
 
%Fügt "Abbildung " vor die Nummern in der LOF 

\makeatletter

[EMAIL PROTECTED] }

[EMAIL PROTECTED] 

\par 

\addcontentsline{\csname [EMAIL PROTECTED] 

{\csname [EMAIL PROTECTED] 

\csname the#1\endcsname}{\ignorespaces #2}}% 

\begingroup [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \fi 
\normalsize
[EMAIL PROTECTED] [EMAIL PROTECTED] #3}\par \endgroup}

\makeatother

 

(I know that it would have been easier using the tocloft-package, but
anyway...) so that the LOF looks like:

 

Abbildung 1
Testabbildung..  2

Abbildung 2  asödkfö  öalkdfj aölskdf...
34

 

Does somebody know, how to insert ":" after the numberation?

 

And last but not least: The tables I inserted do also hab a little indent.
Is it possible to change that?

 

Thanks for help!

 

Nico



text underlined because of "language"

2008-04-22 Thread NicoWinger
Hello,
 
if I insert text from outside in my lyx-document, it's underlined because of
"language". Does s.b. know how to fix that? The problem is that if words of
a table for example are underlined like that, the indent of this row is
different to the other rows... 
 
s.b. an idea why?
 
Nico


Re: Google Docs to LaTeX

2008-04-22 Thread Michael Thompson
Dear Charles, 
It is very cool grasping how to use sed in however a primitive way.  But on
further investigation it seems one needs it for a LyX friendly use of
``writer2latex'' only if the document has tables, math, images ... or French. 
With a fairly wide but unscientifically chosen variety of English documents, I
found that the desiderata of: 
(a) retaining crucial formatting that an English language Word or OpenOffice or
docs.google user would likely employ 
and: 
(b) avoiding a demoralizing film of ERT 
by messing with the preferences in writer2latex.xml.  

The accursed red {}- is what remains, though the obvious expedient of a find and
replace in the latex file before importing into LyX is clearly the way to go if
that's all there is.  I think it has to do with the ucs.sty that is used in
connection with the choice of utf8 among the 'inputencoding' options. But this
is way over my head. 

I don't know how far this depends on how various things are adjusted on the (mac
)computer I was using - doc->odt->latex->lyx involves a lot of adjustments - but
for the heck of it I will list the alterations from the defaults that seemed to
maximize what is preserved subject to the principle of ERT avoidance:



in place  of 










in place of







These choices keep the amount of junk in the preamble to a minimum too.  The
more I fiddle with it the sounder writer2latex seems to be; I wouldn't have
thought it was possible.  Again, this is all over my head, though now primitive
text-altering script-composition isn't, to my amazement - so,
or rather, {}- so, 
thanks, 
Michael 



natbib again

2008-04-22 Thread KM, H & A Friedl
Hi everybody

I am still a newcomer in using LyX and I am still encountering problems with 
natbib. May I ask for your help once again?

1) When I try to install natbib via MiKTeX, I get a MiKTeX problem report:

FTP: couldn't retrieve (RETR failed) the specified file

I have tried other mirrors without success (when choosing other mirrors I get 
the message: "invalid easy handle").

In advance, thank you very much!
Kind regards
Alfred

Re: text underlined because of "language"

2008-04-22 Thread Uwe Stöhr

NicoWinger schrieb:


if I insert text from outside in my lyx-document, it's underlined because of
"language". Does s.b. know how to fix that?


Use the character dialog and reset the language.

regards Uwe


Re: Google Docs to LaTeX

2008-04-22 Thread Luis Rivera
Michael Thompson <[EMAIL PROTECTED]> writes:

> 
> Dear Charles, 
> It is very cool grasping how to use sed in however a primitive way.  But on
> further investigation it seems one needs it for a LyX friendly use of
> ``writer2latex'' only if the document has tables, math, images ... or French. 
> With a fairly wide but unscientifically chosen variety of English documents, I
> found that the desiderata of: 
> (a) retaining crucial formatting that an English language Word or OpenOffice 
> or
> docs.google user would likely employ 
> and: 
> (b) avoiding a demoralizing film of ERT 
> by messing with the preferences in writer2latex.xml.  
> 

Indeed, the script is not necessary if you edit the writer2latex.xml file in
your system, as you've done already. All you need to do is to select the
appropriate encoding (latin9 is the most popular, after utf8 for latin writing
systems, as you've found out).

Personally, I prefer to avoid loading a full Office Suite to make the
conversion, so I bypass them by not saving my googledocs papers into word, rtf,
or odf. Try saving your GoogleDocs documents as HTML, and then convert them with
html2tex. Check

http://www.iwriteiam.nl/html2tex.html

All you need is a friendly gcc compiler (or a friend to give it to you), and it
makes the whole work for you with a simple call to the converter.

Perhaps you may have to call html-tidy to cleanup the HTML source a bit, but a
simple bash script (or in windows, a bat file) will work.

Small is beautiful,

Luis.