Re: Will LyX produce a LaTeX2E or TeX file?

2012-04-17 Thread Wolfgang Engelmann
Am Mittwoch, 18. April 2012, 01:01:15 schrieb stefano franchi:

.

> Note that Springer usually requires that your .bib file contains only
> the references you use in your manuscript. If you have a  bib file
> with other references (as most people do), you should save it as a new
> file and then eliminate all the extra references (how to do that
> depends on which software you use to manage your references).
> 

If you use Jabref as a bib manager, you can create a bib file, with the used 
references only, on the command line:

jabref -a filename[.aux],newBibfile[.bib]

I find this useful, especially if you are using several bib files and many 
references.

Wolfgang


Re: Will LyX produce a LaTeX2E or TeX file?

2012-04-17 Thread Guenter Milde
On 2012-04-17, Richard Heck wrote:

> [-- Type: text/plain, Encoding: 7bit --]

> On 04/17/2012 05:24 PM, William Hanson wrote:
>> The solution Richard Heck proposes is one I'd like to follow.  But 
>> when I go to Export I'm asked to choose between four different 
>> versions of LaTeX.  Which one should I use?

> plain, probably, unless you've been using XeTeX or LuaTeX features.

I'd rather go for pdflatex (unless you use some package that does not work
with it, like pstricks).

Günter



Copy/Paste problems with Lyx 2.0.x

2012-04-17 Thread Reimar Pfeil
Hi all,

I'm using  Lyx 2.0.3 on a Windows 7 Pro 64 system and i have some serious
problems with copy/paste: I often can't copy/paste floating objects (Lyx
refuses to paste the object if i press ctrl+v), cross references,  labels
or formulae (lyx inserts them as plain text) within the _same_ document. I
recently updated Lyx from 2.0.1 to 2.0.3, but the problem still exists.
Sometimes it helps to close lyx or even restart the pc, then copy/paste
works properly again.
So far i found nothing about this in the archives and only some postings
in other forums:
http://www.latex-community.org/forum/viewtopic.php?f=19&t=19635
http://tex.stackexchange.com/questions/43149/copy-and-paste-disabled-in-lyx-2-0
In the latter, it is claimed that it might be an issue with the 64bit
Windows. Is this true? Is there chance that this bug is resolved soon?

Cheers,
Reimar





Re: footer on all pages

2012-04-17 Thread Charlie
 On Thu, 5 Apr 2012 23:08:05 +0200 (CEST) "Marco Beishuizen
 mb...@xs4all.nl" suggested this:

>Hi,
>
>How do I create a footer on every page of my document? I'm using the 
>"book" document class and have a "\rfoot{xxx}" in my preamble, but the 
>footer is only displayed on the first page.
>
>Regards,
>
>Marco

I've been watching this thread, hoping that someone might come up with
something that works.

I doubt this will help. But I use this format in letter
(KOMA-Script v.2)

\firstfoot{the stuff I want in it}

This will place the footer at the bottom of the first page where logos
and headings and such are, but not on any pages after that.

Just thought it might help. As well as the above I also tried adding:

\rfoot{the stuff I want in it}

But with both those footer commands in the letter environment preamble
coughs up errors.

In fact \cfoot{the stuff I want in it} won't work at all in the letter
environment preamble, I have to use: \firstfoot

But it might work for you?

Be well,
Charlie
-- 
**  **  **  **  **  **  **  **  **  **
Registered Linux User:- 329524
***

He who knows others is wise; He who know himself is enlightened.
---Lao-tzu

***
Debian GNU/Linux - just the best way to create magic
___


Re: Will LyX produce a LaTeX2E or TeX file?

2012-04-17 Thread stefano franchi
On Tue, Apr 17, 2012 at 8:55 PM, William Hanson  wrote:
> Thanks Stefano,
>
> I now seem to be tantalizingly close to creating a zip folder (or zip
> archive?) to send to Philosophical Studies.  I've created a .bib file that
> contains only the references I use in my paper, but this file is inside the
> Mendeley Desktop. And I cannot move it to any other location.  So in
> particular I can't get it into the folder that contains the .tex file of my
> manuscript.  If only I could do that, I think I would be able to apply
> WinZip to create the zipped entity (file?, folder?, archive?) I need, which
> I could then send to Philosophical Studies.

I have never used Mendeley, but would this link help?

http://libguides.mit.edu/content.php?pid=241351&sid=1992274#3


If not, I will have to defer to Mendeley users on the list.

>
> I'm in philosophy at the University of Minnesota in Minneapolis, by the
> way.  I've met Chris only once or twice, but we've corresponded.  I admire
> his work.
>

I like Chris's work, too, even though I am in a rather different
sub-discipline (you may say I am a Continental philosopher, admitting
such a label makes any sense.)



Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Will LyX produce a LaTeX2E or TeX file?

2012-04-17 Thread William Hanson
Thanks Stefano,

I now seem to be tantalizingly close to creating a zip folder (or zip
archive?) to send to Philosophical Studies.  I've created a .bib file that
contains only the references I use in my paper, but this file is inside the
Mendeley Desktop. And I *cannot* move it to any other location.  So in
particular I can't get it into the folder that contains the .tex file of my
manuscript.  If only I could do that, I think I would be able to apply
WinZip to create the zipped entity (file?, folder?, archive?) I need, which
I could then send to Philosophical Studies.

I'm in philosophy at the University of Minnesota in Minneapolis, by the
way.  I've met Chris only once or twice, but we've corresponded.  I admire
his work.

Bill

On Tue, Apr 17, 2012 at 6:01 PM, stefano franchi
wrote:

> On Tue, Apr 17, 2012 at 2:23 PM, William Hanson  wrote:
> > Stefano,
> >
> > I don't know what you mean when you say I should "run latex and then
> bibtex
> > on your
> > file".  I've already exported my original LyX file using your
> > "File>>Export>>Latex(plain)" instruction.  So I now have both a .lyx and
> a
> > .tex version of my file.  I am using bibtex, by the way.
> >
>
> I meant you need to run the latex program on the .tex file you
> exported from Lyx. How to do that depends (slightly) on which platform
> you work on.
> But forget about that: I just checked the Springer instructions for
> Philosophical studies,  and, as I suspected, they accept multi-file
> manuscript zipped into a single archive. So my suggestion is to avoid
> the complications of extracting the references and instead pack both
> your lyx-exported .tex file and your bibliography (in a bib file) into
> a single archive and then upload that.
> How to do that, again, depends on your platform. If you are on Windows
> there are many utilities that allow you to create zip archives. I
> don't use Windows, so I can't be precise, but I vaguely remember a
> program called  WinZip that did just that. Windows users on this list
> may provide more specific advice.
> On lInux, you'd just use the zip command from the command line. Open a
> terminal window, move to the directory where your tex and bib files
> are:
>
> $cd /my/working/directory
>
> and then issue the zip command:
>
> $zip my_manuscript_archive my_file.tex my_references.bib
>
> that will produce a file called  my_manuscript_archive.zip, which you
> can then upload to the Springer site
>
> On the Mac, you can do the same thing, I believe. Mac users may want
> to provide more specific advice.
>
> Note that Springer usually requires that your .bib file contains only
> the references you use in your manuscript. If you have a  bib file
> with other references (as most people do), you should save it as a new
> file and then eliminate all the extra references (how to do that
> depends on which software you use to manage your references).
>
>
> > Since you're a philosopher and at Texas A&M, you must know Chris Menzel.
>
> I certainly do. We were even in the same dept for a few years.
>
>
> Cheers,
>
> Stefano
>
>
> --
> __
> Stefano Franchi
> Associate Research Professor
> Department of Hispanic StudiesPh:   +1 (979) 845-2125
> Texas A&M University  Fax:  +1 (979) 845-6421
> College Station, Texas, USA
>
> stef...@tamu.edu
> http://stefano.cleinias.org
>


Re: Will LyX produce a LaTeX2E or TeX file?

2012-04-17 Thread stefano franchi
On Tue, Apr 17, 2012 at 2:23 PM, William Hanson  wrote:
> Stefano,
>
> I don't know what you mean when you say I should "run latex and then bibtex
> on your
> file".  I've already exported my original LyX file using your
> "File>>Export>>Latex(plain)" instruction.  So I now have both a .lyx and a
> .tex version of my file.  I am using bibtex, by the way.
>

I meant you need to run the latex program on the .tex file you
exported from Lyx. How to do that depends (slightly) on which platform
you work on.
But forget about that: I just checked the Springer instructions for
Philosophical studies,  and, as I suspected, they accept multi-file
manuscript zipped into a single archive. So my suggestion is to avoid
the complications of extracting the references and instead pack both
your lyx-exported .tex file and your bibliography (in a bib file) into
a single archive and then upload that.
How to do that, again, depends on your platform. If you are on Windows
there are many utilities that allow you to create zip archives. I
don't use Windows, so I can't be precise, but I vaguely remember a
program called  WinZip that did just that. Windows users on this list
may provide more specific advice.
On lInux, you'd just use the zip command from the command line. Open a
terminal window, move to the directory where your tex and bib files
are:

$cd /my/working/directory

and then issue the zip command:

$zip my_manuscript_archive my_file.tex my_references.bib

that will produce a file called  my_manuscript_archive.zip, which you
can then upload to the Springer site

On the Mac, you can do the same thing, I believe. Mac users may want
to provide more specific advice.

Note that Springer usually requires that your .bib file contains only
the references you use in your manuscript. If you have a  bib file
with other references (as most people do), you should save it as a new
file and then eliminate all the extra references (how to do that
depends on which software you use to manage your references).


> Since you're a philosopher and at Texas A&M, you must know Chris Menzel.

I certainly do. We were even in the same dept for a few years.


Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: footer on all pages

2012-04-17 Thread Paul A . Rubin
Marco Beishuizen  xs4all.nl> writes:

> Yes the headings style is fancy and I put \rfoot{} in the preamble. But I 
> discovered that the footer is not shown on pages with the chapter headers. 

LaTeX classes that include a chapter environment usually format the first page
of each chapter differently from the others.  Try adding this to the document
preamble:

\fancypagestyle{plain}{%
  \rfoot{whatever}
}

Paul



Re: Will LyX produce a LaTeX2E or TeX file?

2012-04-17 Thread Richard Heck

On 04/17/2012 05:24 PM, William Hanson wrote:
The solution Richard Heck proposes is one I'd like to follow.  But 
when I go to Export I'm asked to choose between four different 
versions of LaTeX.  Which one should I use?



plain, probably, unless you've been using XeTeX or LuaTeX features.

Richard


Bill Hanson

On Tue, Apr 17, 2012 at 3:59 PM, Liviu Andronic 
mailto:landronim...@gmail.com>> wrote:


On Tue, Apr 17, 2012 at 10:42 PM, UD mailto:ehud.kap...@gmail.com>> wrote:
> The problem that Hanson ran into is a common one, which I have
commented on
> here
> in the past.  It would be really nice if there was a simple way
to automate
> the solution so that new users will
> not need to come  to this list again (some users do not know
that it exists)
> to find out
> how to solve this problem (of generating a Latex file that is
acceptable to
> journals, with all
> the references included in the .tex file).
>
Best would be to document it on the wiki, and use appropriate keywords
to make it easily searchable/findeable, and/or point people to it when
they inquire on the list. Unless there is a smart script that could
handle this, I don't think that LyX could adapt itself to the quirks
of all the journals out there.

Cheers
Liviu






Re: Will LyX produce a LaTeX2E or TeX file?

2012-04-17 Thread William Hanson
The solution Richard Heck proposes is one I'd like to follow.  But when I
go to Export I'm asked to choose between four different versions of LaTeX.
Which one should I use?

Bill Hanson

On Tue, Apr 17, 2012 at 3:59 PM, Liviu Andronic wrote:

> On Tue, Apr 17, 2012 at 10:42 PM, UD  wrote:
> > The problem that Hanson ran into is a common one, which I have commented
> on
> > here
> > in the past.  It would be really nice if there was a simple way to
> automate
> > the solution so that new users will
> > not need to come  to this list again (some users do not know that it
> exists)
> > to find out
> > how to solve this problem (of generating a Latex file that is acceptable
> to
> > journals, with all
> > the references included in the .tex file).
> >
> Best would be to document it on the wiki, and use appropriate keywords
> to make it easily searchable/findeable, and/or point people to it when
> they inquire on the list. Unless there is a smart script that could
> handle this, I don't think that LyX could adapt itself to the quirks
> of all the journals out there.
>
> Cheers
> Liviu
>


Re: Will LyX produce a LaTeX2E or TeX file?

2012-04-17 Thread Liviu Andronic
On Tue, Apr 17, 2012 at 10:42 PM, UD  wrote:
> The problem that Hanson ran into is a common one, which I have commented on
> here
> in the past.  It would be really nice if there was a simple way to automate
> the solution so that new users will
> not need to come  to this list again (some users do not know that it exists)
> to find out
> how to solve this problem (of generating a Latex file that is acceptable to
> journals, with all
> the references included in the .tex file).
>
Best would be to document it on the wiki, and use appropriate keywords
to make it easily searchable/findeable, and/or point people to it when
they inquire on the list. Unless there is a smart script that could
handle this, I don't think that LyX could adapt itself to the quirks
of all the journals out there.

Cheers
Liviu


Re: Will LyX produce a LaTeX2E or TeX file?

2012-04-17 Thread Richard Heck

On 04/17/2012 04:42 PM, UD wrote:
The problem that Hanson ran into is a common one, which I have 
commented on here
in the past.  It would be really nice if there was a simple way to 
automate the solution so that new users will
not need to come  to this list again (some users do not know that it 
exists) to find out
how to solve this problem (of generating a Latex file that is 
acceptable to journals, with all

the references included in the .tex file).

There's a Python script included with LyX that will do this for you. 
There are some remarks here:

http://www.lyx.org/trac/ticket/4624
about how to set it up as a converter, and also an explanation of why we 
do not set it up by default. We should probably put something in the 
docs about it.


Richard


Ehud Kaplan

On 04/17/2012 01:10 PM, stefano franchi wrote:

On Tue, Apr 17, 2012 at 11:53 AM, William Hanson  wrote:

Thanks Stefano,

It worked, but I now have another problem.  The Springer web site has
accepted the .tex file that you helped me create, but when I look at the
contents of that file on their web site (in order to give it my "Final
Approval") the references do not show up.  (There's no list of references at
the end of my paper, and all the little reference items in the text or the
paper appear as [?], rather than as [7], etc.) I suppose this is because the
references are in a "BibTeX Generated Bibliography", as it says at the end
of my .lyx file.  How do I get that to Springer so that the two files will
work together to make the references to appear as they should?

Ahh, that's trickier. You need to run latex and then bibtex on your
file (assuming you're using bibtex, instead of its later replacements
like biblatex and stuff). After you've done that, you'll find a file
with extension .bbl.
Append the content of that file to your tex file and you're in
business. You can even do insert everything into you lyx file as
explained here:http://wiki.lyx.org/Examples/AcmSigplan  (look at the
"Including bibliography entries in LyX file" section).

Notice, however, that Springer usually accepts submissions as .tex +
.bib files. I am not familiar with Philosophical Studies (in spite of
being a philosopher), but Springer's instructions are usually very
clear. Perhaps they want you to to combine the .tex and .bib file into
a zipped archive?

Cheers,

Stefano





--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual & Computational Neuroscience
*Director*, Center for Excellence in Computational & Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place,
NY, NY, 10029




Re: Will LyX produce a LaTeX2E or TeX file?

2012-04-17 Thread UD
The problem that Hanson ran into is a common one, which I have commented 
on here
in the past.  It would be really nice if there was a simple way to 
automate the solution so that new users will
not need to come  to this list again (some users do not know that it 
exists) to find out
how to solve this problem (of generating a Latex file that is acceptable 
to journals, with all

the references included in the .tex file).

Ehud Kaplan

On 04/17/2012 01:10 PM, stefano franchi wrote:

On Tue, Apr 17, 2012 at 11:53 AM, William Hanson  wrote:

Thanks Stefano,

It worked, but I now have another problem.  The Springer web site has
accepted the .tex file that you helped me create, but when I look at the
contents of that file on their web site (in order to give it my "Final
Approval") the references do not show up.  (There's no list of references at
the end of my paper, and all the little reference items in the text or the
paper appear as [?], rather than as [7], etc.) I suppose this is because the
references are in a "BibTeX Generated Bibliography", as it says at the end
of my .lyx file.  How do I get that to Springer so that the two files will
work together to make the references to appear as they should?

Ahh, that's trickier. You need to run latex and then bibtex on your
file (assuming you're using bibtex, instead of its later replacements
like biblatex and stuff). After you've done that, you'll find a file
with extension .bbl.
Append the content of that file to your tex file and you're in
business. You can even do insert everything into you lyx file as
explained here: http://wiki.lyx.org/Examples/AcmSigplan (look at the
"Including bibliography entries in LyX file" section).

Notice, however, that Springer usually accepts submissions as .tex +
.bib files. I am not familiar with Philosophical Studies (in spite of
being a philosopher), but Springer's instructions are usually very
clear. Perhaps they want you to to combine the .tex and .bib file into
a zipped archive?

Cheers,

Stefano





--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual & Computational Neuroscience
*Director*, Center for Excellence in Computational & Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place,
NY, NY, 10029


Re: Will LyX produce a LaTeX2E or TeX file?

2012-04-17 Thread stefano franchi
On Tue, Apr 17, 2012 at 11:53 AM, William Hanson  wrote:
> Thanks Stefano,
>
> It worked, but I now have another problem.  The Springer web site has
> accepted the .tex file that you helped me create, but when I look at the
> contents of that file on their web site (in order to give it my "Final
> Approval") the references do not show up.  (There's no list of references at
> the end of my paper, and all the little reference items in the text or the
> paper appear as [?], rather than as [7], etc.) I suppose this is because the
> references are in a "BibTeX Generated Bibliography", as it says at the end
> of my .lyx file.  How do I get that to Springer so that the two files will
> work together to make the references to appear as they should?

Ahh, that's trickier. You need to run latex and then bibtex on your
file (assuming you're using bibtex, instead of its later replacements
like biblatex and stuff). After you've done that, you'll find a file
with extension .bbl.
Append the content of that file to your tex file and you're in
business. You can even do insert everything into you lyx file as
explained here: http://wiki.lyx.org/Examples/AcmSigplan (look at the
"Including bibliography entries in LyX file" section).

Notice, however, that Springer usually accepts submissions as .tex +
.bib files. I am not familiar with Philosophical Studies (in spite of
being a philosopher), but Springer's instructions are usually very
clear. Perhaps they want you to to combine the .tex and .bib file into
a zipped archive?

Cheers,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Will LyX produce a LaTeX2E or TeX file?

2012-04-17 Thread William Hanson
Thanks Stefano,

It worked, but I now have another problem.  The Springer web site has
accepted the .tex file that you helped me create, but when I look at the
contents of that file on their web site (in order to give it my "Final
Approval") the references do not show up.  (There's no list of references
at the end of my paper, and all the little reference items in the text or
the paper appear as [?], rather than as [7], etc.) I suppose this is
because the references are in a "BibTeX Generated Bibliography", as it says
at the end of my .lyx file.  How do I get that to Springer so that the two
files will work together to make the references to appear as they
should?

Bill


On Tue, Apr 17, 2012 at 11:00 AM, stefano franchi  wrote:

> On Tue, Apr 17, 2012 at 10:50 AM, William Hanson  wrote:
> > I'm trying to submit a manuscript via the Springer web site to one of
> their
> > journals (Philosophical Studies).  Although the web site says they accept
> > many formats, including LaTeX2E and TeX, it won't accept the file that
> LyX
> > has produced.  Any ideas?  (I've contacted Springer too but so far have
> > received no response.)
>
> Lyx will produce a LaTeX2e file IF you export the file as such:
>
> File>>Export>>Latex(plain)
>
> It will produce a will with extension .tex in the same directory as
> the original Lyx file.
> Notice that the .lyx file that you open in Lyx is not latex and will
> most likely not be accepted by Springer.
>
>
> Cheers,
>
> Stefano
>
>
>
> --
> __
> Stefano Franchi
> Associate Research Professor
> Department of Hispanic StudiesPh:   +1 (979) 845-2125
> Texas A&M University  Fax:  +1 (979) 845-6421
> College Station, Texas, USA
>
> stef...@tamu.edu
> http://stefano.cleinias.org
>


Re: spell checker problem

2012-04-17 Thread Stephan Witt
Am 17.04.2012 um 16:34 schrieb Andres Ordonez:

> Hi, I'm not able to use the spell checker for Spanish. 
> 
> I'm using LyX 2.0.0 on Ubuntu 11.10. I installed the Spanish language
> through Ubuntu's Language Support and changed the language to Spanish in
> the document-settings in LyX. The Spanish entry in the drop-down menu
> appears checked but when I select it it immediately changes back to
> English.

You cannot change the document language? 
Do you refer to the drop-down menu triggered by right-button mouse click?
This should change the language of the text part you've currently selected.

> I also have German language support and I don't have this
> problem with it.

> Spell checking works fine in LibreOffice Writer.

This is not related.

Regards,
Stephan


Re: Will LyX produce a LaTeX2E or TeX file?

2012-04-17 Thread stefano franchi
On Tue, Apr 17, 2012 at 10:50 AM, William Hanson  wrote:
> I'm trying to submit a manuscript via the Springer web site to one of their
> journals (Philosophical Studies).  Although the web site says they accept
> many formats, including LaTeX2E and TeX, it won't accept the file that LyX
> has produced.  Any ideas?  (I've contacted Springer too but so far have
> received no response.)

Lyx will produce a LaTeX2e file IF you export the file as such:

File>>Export>>Latex(plain)

It will produce a will with extension .tex in the same directory as
the original Lyx file.
Notice that the .lyx file that you open in Lyx is not latex and will
most likely not be accepted by Springer.


Cheers,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Will LyX produce a LaTeX2E or TeX file?

2012-04-17 Thread William Hanson
I'm trying to submit a manuscript via the Springer web site to one of their
journals (Philosophical Studies).  Although the web site says they accept
many formats, including LaTeX2E and TeX, it won't accept the file that LyX
has produced.  Any ideas?  (I've contacted Springer too but so far have
received no response.)

Bill Hanson


Re: numbering paragraphs (lyx newbie)

2012-04-17 Thread stefano franchi
On Mon, Apr 16, 2012 at 10:22 PM, Yamandu Ploskonka  wrote:
> parnum is flush with left margin, indent is just enough to allow for parnum
> and a little bit. Some examples I have seen do have some space between
> paragraphs, but it is not explicitly requested.
>
> the numbering is running, from 0001 to , last parnum of the document.
> Only section headings would not be numbered, and that is easy to hack in
> many ways.  I'll try the attach,
>
> Thank you!
You're welcome. Glad I could be of help. Both issues you mention above
(interpagraph spacing, no numbering of sections) could easily be
achieved by changing the parameters to the Titlesec commands.

Cheers,

Stefano


>
>
> On 04/16/2012 10:07 PM, stefano franchi wrote:
>>
>> On Mon, Apr 16, 2012 at 9:34 PM, Yamandu Ploskonka
>>  wrote:
>>>
>>> The parnum format is square bracket, four digits, square bracket
>>>
>>> As to the text formatting, it's supposed to be plain - no bolds,
>>> different
>>> sizes, anything - section titles are supposed to be like the rest, merely
>>> in
>>> upper case [1] . Interestingly, the one sample provided /does/ show
>>> horizontal lines above and below the section titles... (been looking for
>>> the
>>> last 20 minutes and cannot find that one, sorry...)
>>>
>>> Thus no problem as to Class, pretty much anything plain page would do.
>>>
>>> Maybe Memoir will be the "fix". I've tried  Koma, all sorts of plain and
>>> some other assorted (my code was hacked out of hollywood...), but never
>>> Memoir.  I'll get into it right now.
>>
>> You can also do it with standard classes and the titlesec package
>> (which is not really compatible with memoir). See attached example. If
>> you have section headings, however, paragraphs numbers will not be
>> reset for every section. Is that what you need?  Resetting counters
>> can  be managed, I think, but off the top of my head I don't remember
>> how to do it automatically.
>> BTW, in the attached example, the spacing between the para label and
>> the main text (which is set in the preamble), should probably be
>> tweaked to get a natural looking feel. See titlesec's manual for
>> details.
>> Your specs are also not very clear about the parindent. Is the number
>> indented as well or just the paragraph text? At any rate, either
>> behavior is easy to do with memoir or the titlesec package.
>>
>>> BTW, I see you're Aggie, Stefano, I am located in Austin myself.
>>
>> Then we're neighbor. I live in Austin too.
>>
>> Cheers,
>>
>> Stefano
>>
>>
>



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Conversion to doc via pandoc

2012-04-17 Thread Pavel Sanda
Rainer M Krug wrote:
> Well - LibreOffice gives an error when trying to open the xhtml file, and I 
> can't open it in my
> browser either (seems to be corrupt for this document?). Another document, 
> produces an empty
> output when opening the xhml in LibreOffice.

>From what I know and tried on OpenOffice xhtml import never really worked and 
>it seems no better with OpenOffice:
https://bugs.freedesktop.org/show_bug.cgi?id=36977

Interesting comparison would be between pandoc and http://xhtml2odt.org/ if 
someone wants to take the step.

> > There's no reason we couldn't add this as a converter. File a bug to remind 
> > me if you like.
> > 
> 
> I t'll add it top #6042 as Liviu pointed out.
> 
> Would be great if pandoc converter could be added, as it seems to be quite 
> robust in handling even
> corrupt xhtml files.o

We already produced patch, but nobody wanted to test them (hint hint).

Pavel


spell checker problem

2012-04-17 Thread Andres Ordonez
Hi, I'm not able to use the spell checker for Spanish. 

I'm using LyX 2.0.0 on Ubuntu 11.10. I installed the Spanish language
through Ubuntu's Language Support and changed the language to Spanish in
the document-settings in LyX. The Spanish entry in the drop-down menu
appears checked but when I select it it immediately changes back to
English. I also have German language support and I don't have this
problem with it.Spell checking works fine in LibreOffice Writer.

Thanks in advance.



Re: Regenerating Lilypond files

2012-04-17 Thread John McKay
Yeah, I actually tried things like this.  It doesn't seem to work.  Even if you 
actually modify the file and then change it back, LyX still "knows" that the 
file hasn't "changed."

So, I don't think whatever decision LyX is making is based on the modification 
timestamp.  That would seem to be the easiest way to implement something like 
this, but LyX seems to use other criteria... anyone know what those criteria 
are?

Or, better yet, a way to just tell LyX to re-run Lilypond for all inset files?

--- On Mon, 4/16/12, Thomas Coffee  wrote:
On GNU/Linux, an easy way to solve it would be to run

touch *.ly

in the directory(ies) containing the Lilypond files to make them appear 
modified. Perhaps someone else knows how to do it the "right" way.



- Thomas


On Sun, Apr 15, 2012 at 4:24 PM, John McKay  wrote:


I am working on a large project involving hundreds of musical examples typeset 
in Lilypond.  So far, LyX has been great in handling them.



I have run into one issue.  LyX seems to "know" if a Lilypond file hasn't 
changed since the last output PDF was generated.  If the Lilypond file hasn't 
changed, it doesn't run Lilypond again.



In most circumstances, I can see how this is desirable.



However, I need to know how to get LyX to regenerate ALL Lilypond files if I 
want to, even if the file LyX actually sees hasn't changed.



Basically, since the structure of my musical examples is so complex, I have 
taken to separating some general formatting instructions and the actual musical 
data into separate files.  These are loaded in the header of the Lilypond file 
that LyX actually sees, which is mostly a dummy file that sets up the score for 
the actual LyX example.





So, if I make changes to the actual notes of my file or to the general 
formatting header file for my examples, the file LyX sees usually doesn't 
change.  Yet, I still need LyX to re-run Lilypond sometimes.



I don't need this to happen all the time, but is there a command or a way to 
just tell LyX to re-run Lilypond for all external material insets if I want a 
complete wipe?



(I've noticed various ways of hacking this, like deleting an external material 
insertion and reinstating it in LyX, or adding an unnecessary blank comment 
line to my dummy files so LyX detects a "change," but these sorts of things are 
obviously annoying when dealing with hundreds of Lilypond files.)





Thanks for any suggestions!






Re: Using LyX to edit & organise bibliographies

2012-04-17 Thread Alex Vergara Gil


El 17/04/2012 03:39 a.m., Andrew Parsloe escribió:

On 17/04/2012 8:43 p.m., PhilipPirrip wrote:

Excuse me for not trying what you've done, but I have to ask first: why
do you think this is better than using Mendeley, for instance, or some
other bibliography management software?

Tha answer to this is easy, because LyX can actually do it, is just a 
matter of correct implementation. Secondly, why should I move out of LyX 
to edit my Bib files?  Is not LyX a full text editor? Right now it 
isn't, because of some deficiencies like this that can be solved.


I don't (not that I've ever tried any bibliography manager) but it is 
better than editing a bibliography in a text editor, which is what I 
used before. So why don't I get Mendeley (or whatever)? There are many 
answers to that: life is short and there are lots of things I want to 
learn other than new software; I already know how to use LyX, I don't 
know how to use Mendeley; my needs in this area are likely to be 
sporadic at most --  plenty of time between uses to forget how to use 
unfamiliar software.

I'm fully agree with you


The same kind of issue arose last year in relation to spreadsheet 
capabilities for LyX. I've spent considerable effort getting the LaTeX 
spreadtab package to work harmoniously with LyX. It means now that on 
those sporadic occasions when I have columns of figures to add up (for 
the accountant for instance), I can stay with familiar software -- LyX 
-- to do something that simply doesn't require the heavy machinery of 
Gnumeric, and trying to remember how to use it. (The struggle -- even 
anguish? -- of the LyX developers getting to grips with git has been 
fascinating to observe.)


Once one has moved out of the professional or academic environment, 
the need for professional software in many secondary fields 
evaporates. All one needs is something with which one is familiar and 
that will do an adequate job on those sporadic occasions when it is 
called for.
And this is the reason why most scientist, authors and redactors want 
something like LyX, because it allows you to focus in content and not in 
the edition. The same applies for most softwares.


A bit of a rant, I know, but it touches a sensitive spot with me (but 
thanks for the question).


Andrew




Re: Using LyX to edit & organise bibliographies

2012-04-17 Thread Alex Vergara Gil


El 16/04/2012 04:49 p.m., Andrew Parsloe escribió:


On 17/04/2012 7:21 a.m., Alex Vergara Gil wrote:
> I want to personally congratulate Mr Andrew Parsloe for this piece of
> art. It's outstanding and is what I'm looking for a few days ago, there
> are off course some issues I want to discuss:
>
> 1. when you import from BibTeX the coding as \textsc{} or \'{} are
> imported as text, I know this is a first approximation but it will be
> desirable that all the coding are imported as their meaning (to
> acomplish LyX phylosophy) and then exported again as coding. I mean 
when
> you have an accronym ABCD then the exported line should be 
\textsc{ABCD}

> and when you have accents like ó then the exported character should be
> \'{o}, and so on.

Thanks for the kind comments. I did wonder about importing the bib 
files as LaTeX files so that commands like \textsc{blahblah} meant 
blahblah was displayed as small caps in LyX, and correspondingly, 
exporting as LaTeX so that the reverse happened, but it seemed *much* 
more complicated: some formatting, like the small caps, to be 
translated into LaTeX,  some formatting, like the list environments 
used for the overall display of the records, not to be translated into 
LaTeX. A few thoughts of this kind convinced me that converting to and 
from *text* rather than LaTeX was the way to go (i.e. was within my 
technical competence).

Ok, but is still posible to do, perhaps in the future someone can.


> 2. It will be desirable to have the standard sections of a bibliography
> in the definitions, so when you add a new reference you must just only
> fill the sections such as author, journal, title, and so on.
>
If you mean having a blank record available like

@book{,
author = {},
title = {},
...

Yes this is what I meant


then you could create one in a yellow note (or a deactivated branch) 
and simply copy and paste as required. In biblatex there are so many 
possible fields that having a blank record containing all 
possibilities would be a hindrance rather than a help. I found it 
helpful to associate a shortcut key (Ctrl+=) with
Yes, there are many posibilities but there are also some of them that 
are mandatory (author, title, year, for articles journal, for books 
editor, and so on). I will try on yellow notes and I tell you later what 
I get.


command-sequence self-insert  = {},; char-left; char-left;

which inserts ={}, and puts the cursor between the braces, waiting for 
stuff to be typed.


Andrew

> my best regards
> ~-o--{}--o-~
> Alex Vergara Gil




Re: Conversion to doc via pandoc

2012-04-17 Thread Richard Heck

On 04/17/2012 03:04 AM, Rainer M Krug wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 16/04/12 22:42, Richard Heck wrote:

On 04/16/2012 09:07 AM, Rainer M Krug wrote:

-BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Hi

I just discovered pandoc, and I use it to convert to odt format (and then in 
OpenOffice to
doc).

The conversion goes LyX ->   LyXHTML ->   odt

I defined the following format:

\format "odt lo" "odt" "Libreoffice writer" "" "libreoffice" "libreoffice"
"document,menu=export"

and the following converter:

\converter "xhtml" "odt lo" "pandoc -o $$o $$i" ""


How much better is this than simply exporting LyXHTML and then opening the 
resulting file in
LibreOffice?

Well - LibreOffice gives an error when trying to open the xhtml file, and I 
can't open it in my browser either (seems to be corrupt for this document?). 
Another document, produces an empty output when opening the xhml in LibreOffice.

There are definitely still bugs in the exporter, especially with more 
complicated documents. I think longer term maybe HTML5 would be a better 
target, as it's more robust.


Richard



Re: Using LyX to edit & organise bibliographies

2012-04-17 Thread Andrew Parsloe

On 17/04/2012 8:43 p.m., PhilipPirrip wrote:

Excuse me for not trying what you've done, but I have to ask first: why
do you think this is better than using Mendeley, for instance, or some
other bibliography management software?



I don't (not that I've ever tried any bibliography manager) but it is 
better than editing a bibliography in a text editor, which is what I 
used before. So why don't I get Mendeley (or whatever)? There are many 
answers to that: life is short and there are lots of things I want to 
learn other than new software; I already know how to use LyX, I don't 
know how to use Mendeley; my needs in this area are likely to be 
sporadic at most --  plenty of time between uses to forget how to use 
unfamiliar software.


The same kind of issue arose last year in relation to spreadsheet 
capabilities for LyX. I've spent considerable effort getting the LaTeX 
spreadtab package to work harmoniously with LyX. It means now that on 
those sporadic occasions when I have columns of figures to add up (for 
the accountant for instance), I can stay with familiar software -- LyX 
-- to do something that simply doesn't require the heavy machinery of 
Gnumeric, and trying to remember how to use it. (The struggle -- even 
anguish? -- of the LyX developers getting to grips with git has been 
fascinating to observe.)


Once one has moved out of the professional or academic environment, the 
need for professional software in many secondary fields evaporates. All 
one needs is something with which one is familiar and that will do an 
adequate job on those sporadic occasions when it is called for.


A bit of a rant, I know, but it touches a sensitive spot with me (but 
thanks for the question).


Andrew


Re: Using LyX to edit & organise bibliographies

2012-04-17 Thread PhilipPirrip
Excuse me for not trying what you've done, but I have to ask first: why 
do you think this is better than using Mendeley, for instance, or some 
other bibliography management software?





Re: Conversion to doc via pandoc

2012-04-17 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 16/04/12 22:53, Liviu Andronic wrote:
> On Mon, Apr 16, 2012 at 10:42 PM, Richard Heck  wrote:
>> There's no reason we couldn't add this as a converter. File a bug to remind 
>> me if you like.
>> 
> I guess #6042 [1] serves for this purpose.
> 
> Liviu
> 
> [1] http://www.lyx.org/trac/ticket/6042

Thanks - aded to the ticket.

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+NGJYACgkQoYgNqgF2egqlTgCfQDkVbdIo4B0QoINjaD+gjRTK
YM4AnjdM4gGmJYMnyAD/TwBsDhblBHBN
=6ufA
-END PGP SIGNATURE-


Re: Conversion to doc via pandoc

2012-04-17 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 16/04/12 22:42, Richard Heck wrote:
> On 04/16/2012 09:07 AM, Rainer M Krug wrote:
>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
>> 
>> Hi
>> 
>> I just discovered pandoc, and I use it to convert to odt format (and then in 
>> OpenOffice to 
>> doc).
>> 
>> The conversion goes LyX ->  LyXHTML ->  odt
>> 
>> I defined the following format:
>> 
>> \format "odt lo" "odt" "Libreoffice writer" "" "libreoffice" "libreoffice" 
>> "document,menu=export"
>> 
>> and the following converter:
>> 
>> \converter "xhtml" "odt lo" "pandoc -o $$o $$i" ""
>> 
> How much better is this than simply exporting LyXHTML and then opening the 
> resulting file in 
> LibreOffice?

Well - LibreOffice gives an error when trying to open the xhtml file, and I 
can't open it in my
browser either (seems to be corrupt for this document?). Another document, 
produces an empty
output when opening the xhml in LibreOffice.

> 
> There's no reason we couldn't add this as a converter. File a bug to remind 
> me if you like.
> 

I t'll add it top #6042 as Liviu pointed out.

Would be great if pandoc converter could be added, as it seems to be quite 
robust in handling even
corrupt xhtml files.

Cheers,

Rainer

> Richard
> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+NFhoACgkQoYgNqgF2egqObQCcCsJmRnC8Udzc02mPbbZneODq
zGIAn0cbjUXODB9r4DXgLTkdLNndMGgf
=f0y3
-END PGP SIGNATURE-