Re: For some reason aspell via lyx doesn't 'understand single quotes'...

2010-04-16 Thread Joe(theWordy)Philbrook

It would appear that on Apr 16, Jürgen Spitzmüller did say:

> Joe(theWordy)Philbrook wrote:
> > Is there a reason why LyX's implementation of aspell chokes on ' characters
> > used as single quotes???
> 
> Because they are no single quotes, but apostrophes. In order to insert single 
> quotes, hit Alt-".

OK, I guess that makes sense. I guess that the reason aspell ignores
"apostrophes" when used for single quotes in a text file is probably
because the Alt-" shortcut doesn't work in most text editors, and
aspell's author or maintainer decided to use some logic to treat them
as single quotes when they were obviously so used? 

Thank you for telling me how to get around this... I think I'm going
to have to re-edit a few files to replace some misused apostrophes...

Though being more familiar with the bash command line than with formal
writing ("rules"?) I'm not surprised that I thought they were single
quotes.

Thanks for setting me straight.

-- 
|^^^   ^^^   Guess I just didn't know.
|Joseph (the Wordy) Philbrook
|^  J(tWdy)P
|   ___ 

   

Re: two columns article-lyx forget an error

2010-04-16 Thread Uwe Stöhr

Am 16.04.2010 18:36, schrieb YURENA MENDOZA:


The error is the following;
I have an article (paper style) but in two column and something wrong is in
my "keywords" section:
" \noindent \textsf{\begin {multicols}{2}}

  I've deleted a group-closing symbol because it seems to be

spurious, as in `$x}$'. But perhaps the } is legitimate and

you forgot something else, as in `\hbox{$x}'. In such cases

the way to recover is to insert both the forgotten and the

deleted material, e.g., by typing `I$}'."

what is wrong with it?** How can I make that lyx forget this mistake and
move on?


Can you send a LyX file to be able to have a closer look? It seems that you haven't used the 
document-wide setting to get a two-column document but inserted some TeX-code by your own. But 
without a LyX file I cannot help you further.


regards Uwe


Re: alpha 2 crash

2010-04-16 Thread Marcelo Acuña
> > > When I make a click in Find and Replace button, I
> have a crash.
 
> > can reproduce here, please file bug report and attach
> backtrace if possible.
> 
> _can't_
> 
> > pavel

 Excuseme, Find and Replace (Advanced).

Marcelo 





Re: two columns article-lyx forget an error

2010-04-16 Thread Paul Rubin
The error probably was introduced above the point where the message occurs. 
Sometimes an error occurs that allows LaTeX to continue with an incorrect
interpretation of what is going on -- the content it sees is wrong, but looks
like valid syntax -- until eventually a point is reached where the syntax is no
longer plausible. Think of omitting a closing parenthesis in a programming
language: depending on the language, the compiler may be able to continue
parsing the code for a while before it becomes clear that the parentheses are
unbalanced.

You may not be able to extract any useful information from the error message
other than that there is a problem in the document somewhere above it.  The
message is not totally extraneous, though; there _is_ an error somewhere in the
document.

/Paul





Re: alpha 2 crash

2010-04-16 Thread Pavel Sanda
Pavel Sanda wrote:
> Marcelo Acu?a wrote:
> > When I make a click in Find and Replace button, I have a crash.
> 
> can reproduce here, please file bug report and attach backtrace if possible.

_can't_

> pavel


Re: alpha 2 crash

2010-04-16 Thread Pavel Sanda
Marcelo Acu?a wrote:
> When I make a click in Find and Replace button, I have a crash.

can reproduce here, please file bug report and attach backtrace if possible.
pavel


Re: Thesaurus in spanish lyx-2.0.0alpha1

2010-04-16 Thread Pavel Sanda
Marcelo Acu?a wrote:
> > > I have installed Spanish ( Spain ) Openoffice's
> > thesauro; I have 
> > > indicated the path  in Preferences, admits me the
> > thesauro with an icon, 
> > > but it does not work.
>  
> > Hm. Looks like the thesaurus is broken currently in trunk.
> > Last time I touched 
> > it, it still worked.
> > 
> > Jürgen
> 

> With alpha 2, like alpha 1, it not work for me too.

bug is filed in trac?
pavel


Re: Python stall loading layout in LyX 1.6.4

2010-04-16 Thread Julien Rioux

On 16/04/2010 3:09 PM, B. Bogart wrote:

Thanks Julien!

I did not realize you could just put the package use in the preamble.
Then the document class chosen is lyx makes no difference to the output?

B. Bogart


It does. Please consult your university guidelines. The document class 
to use would most likely be "report" or "book".


--
Julien



Re: Python stall loading layout in LyX 1.6.4

2010-04-16 Thread B. Bogart
Thanks Julien!

I did not realize you could just put the package use in the preamble.
Then the document class chosen is lyx makes no difference to the output?

B. Bogart


Julien Rioux wrote:
> On 16/04/2010 2:04 PM, B. Bogart wrote:
>>
>> sfuthesis.layout
>>
>>
>> #% Do not delete the line below; configure depends on this
>> #  \DeclareLaTeXClass[csthesis.sty]{Simon Fraser University Thesis}
> 
> First, your csthesis.sty is a LaTeX package, not a document class.
> Therefore it does not require a LyX layout. You can use it by adding
> \usepackage{csthesis} to your document preamble (Document > Settings >
> LaTeX Preamble).
> 
> Secondly, you could, if you really wanted to, use a LyX layout.
> But your layout file is too simplistic. Have a look at Help >
> Customization, specifically the part on Installing new document classes.
> But, given the information available, you do not need a special layout.
> 
> Cheers,
> Julien
> 



Re: Python stall loading layout in LyX 1.6.4

2010-04-16 Thread Julien Rioux

On 16/04/2010 2:04 PM, B. Bogart wrote:


sfuthesis.layout


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[csthesis.sty]{Simon Fraser University Thesis}


First, your csthesis.sty is a LaTeX package, not a document class. 
Therefore it does not require a LyX layout. You can use it by adding 
\usepackage{csthesis} to your document preamble (Document > Settings > 
LaTeX Preamble).


Secondly, you could, if you really wanted to, use a LyX layout.
But your layout file is too simplistic. Have a look at Help > 
Customization, specifically the part on Installing new document classes. 
But, given the information available, you do not need a special layout.


Cheers,
Julien


Python stall loading layout in LyX 1.6.4

2010-04-16 Thread B. Bogart
Hello all,

I wrote my thesis in LyX (an older version) using a layout and the
university supplied style file. I am no longer able to use this layout,
or a simplified version, in LyX 1.6.4.

I've attached the style file and the simplified version of the layout
(The exact same behaviour is seen with my original layout).

I confirm that LyX finds the style:

+checking for document class sfuthesis [csthesis.sty]... yes

But when I select the corresponding layout in document settings, LyX
stalls, python uses up 90% CPU, and continues to do so indefinitely. I
left it overnight.

If I manually kill LyX I get this from python:

^C
Traceback (most recent call last):
  File "/usr/share/lyx/scripts/layout2layout.py", line 530, in 
main(sys.argv)
  File "/usr/share/lyx/scripts/layout2layout.py", line 518, in main
format = convert(lines)
  File "/usr/share/lyx/scripts/layout2layout.py", line 182, in convert
if re_Comment.match(lines[i]) or re_Empty.match(lines[i]):
KeyboardInterrupt

Why does this layout require conversion? Has the layout format changed?
(This is not mentioned on the wiki page:
http://wiki.lyx.org/Layouts/CreatingLayouts)

Considering this layout is so simple, I can't see why python would have
problems with it, not to mention no error or exit condition in this case.

Any hints?

What is the new format so I can bypass the layout2layout script?

Thanks,
B. Bogart
%%
%% This is file `csthesis.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% csthesis.dtx  (with options: `package')
%% 
%% IMPORTANT NOTICE:
%% 
%% For the copyright see the source file.
%% 
%% Any modified versions of this file must be renamed
%% with new filenames distinct from csthesis.sty.
%% 
%% For distribution of the original source see the terms
%% for copying and modification in the file csthesis.dtx.
%% 
%% This generated file may be distributed as long as the
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
%%
%% Comp. Science, SFU thesis style `csthesis', to be used with LaTeX2e
%% Copyright (C) 1998 Petr Pp Kubon
%%
%% History:
%%   1) 1989: Created by Stephen Chan (CSS) from Stanford PhD Thesis style
%%   2) 1996: Modifications and additions by Margaret Sharon (ACS)
%%   3) 1997-8: Further modified by Pepe Kubon to reflect current
%%   regulations
%%   4) 2003: Added "Contents" to the table of contents, Greg Baker
%%   5) 2006: Trivial change to approval page, Greg Baker
%%
\def\fileversion{V1.21}
\def\filedate{2006/03/07}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{csthesis}
\typeout{Package `csthesis' \fileversion\space<\filedate>[Pepe Kubon]}
\oddsidemargin 3.8cm\advance\oddsidemargin by -1in
\evensidemargin 3.8cm\advance\evensidemargin by -1in
\...@twoside
  \advance\evensidemargin by -1.3cm
\fi  % Adjust evensidemargin if twoside option specified **MS**
\textwidth 8.5in\advance\textwidth by -3.8cm\advance\textwidth by -2.5cm
\topmargin 1in\advance\topmargin by -2.5cm
\textheight 11in
\advance\textheight by -5cm % To account for header and TeX's top margin
\advance\textheight by -2.5cm % Bottom margin
\marginparwidth 40pt \marginparsep 10pt

%% space between text, header, footer, and footnotes
\setlength{\headsep}{2\baselineskip}%% 27pt for 11pt size
\setlength{\footskip}{\headsep}
\addtolength{\footskip}{.5\baselineskip}%% 34pt for 11pt
\addtolength{\skip\footins}{1ex}%% push 1st ftn further from text
\settoheight{\footnotesep}{\footnotesize !}%% space between footnotes
\addtolength{\footnotesep}{4pt}%% 10.25pt for 11pt size
\brokenpenalty=1

%%% line spacing - localizing magic numbers (Pp)
\newcommand{\textstretch}{1.3}
\newcommand{\tighttextstretch}{1}
\ifca...@ptsize
  \newcommand{\doublestretch}{1.67}
\or
  \newcommand{\doublestretch}{1.62}
\or
  \newcommand{\doublestretch}{1.66}
\fi
\renewcommand{\baselinestretch}{\textstretch}

\d...@xfloat#1[#2]{\ifhmode \...@bsphack\@floatpenalty -...@mii\else
   \...@floatpenalty-\@miii\fi\d...@captype{#1}\ifinner
  \...@parmoderr\@floatpenalty\z@
\el...@next\@currb...@freelist{\@tempcnta\csname ft...@#1\endcsname
   \multip...@tempcnta\@xxxii\advan...@tempcnta\sixt@@n
   \...@tfor \...@tempa :=#2\do
{\...@tempa h\advan...@tempcnta \...@ne\fi
 \...@tempa t\advan...@tempcnta \...@\fi
 \...@tempa b\advan...@tempcnta 4\relax\fi
 \...@tempa p\advan...@tempcnta 8\relax\fi
 }\global\cou...@currbox\@tempcnt...@fltovf\fi
\global\setb...@currbox
\co...@vbox\normalcolor
\vbox\bgroup
\def\baselinestretch{\tighttextstretc...@normalsize
\boxmaxdepth\z@
\hsize\columnwidth \...@parboxrestore}
\long\d...@footnotetext#1{\insert\footins{%
\def\baselinestretch{\tighttextstretch}\footnotesize
\interlinepenalty\interfootnotelinepenalty
\splittopskip\footnotesep
\splitmaxdepth \dp\strutb

Re: Elseartice on Lyx

2010-04-16 Thread Bruno Cocciaro
but ... shouldn't anyone advice administrators of

ftp.uniRoma2.it

to correct their psnfss package?

Or is it normal that  the any package may be different if dowloaded from 
different link ?

Bruno Cocciaro

--- Li portammo sull'orlo del baratro e ordinammo loro di volare.
--- Resistevano. Volate, dicemmo. Continuavano a opporre resistenza.
--- Li spingemmo oltre il bordo. E volarono. (G. Apollinaire)

Re: Elseartice on Lyx

2010-04-16 Thread Bruno Cocciaro
> shouldn't it be 
> ftp.uni-erlangen.de
> ?
> Wolfgang
yes of course. I mistaped the link.


Bruno Cocciaro

--- Li portammo sull'orlo del baratro e ordinammo loro di volare.
--- Resistevano. Volate, dicemmo. Continuavano a opporre resistenza.
--- Li spingemmo oltre il bordo. E volarono. (G. Apollinaire)

Re: Margins of a particular page

2010-04-16 Thread Steve Litt
On Friday 16 April 2010 11:59:49 YURENA MENDOZA wrote:
> Hi,
> How I could reduce the margins only for a particular page? I have not found
> the option in lyx for one page only. Do I need to enter a latex code?

I don't know how many solutions there are, but LaTeX is certainly a solution:

\enlargethispage{1.50in}~\\[-1.7in]\leftskip -1.83in\rightskip -1.0in

Stuff to go in the changed margins go here.

\leftskip -.5in\rightskip -.5in

The second set of left and right skips are intended to put the margins back to 
normal. The correct way to do this would be to calculate the natural margins 
and save their values, and then use them after the custom margins. The 
\enlargethispage is necessary only if your margins are very close to the edges 
of the paper. In my case I used this to put a full page graphic on the cover 
page.

SteeT

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



two columns article-lyx forget an error

2010-04-16 Thread YURENA MENDOZA
There are some things of Lyx  that I can not understand:
I am working with an article and from time to time Itransferred it to pdf in
order to have a pre-view . Suddenly one of those times that I wanted to
transfer it and I get an error of one part of the article that I have not
"touched "when I want to see the pdf  and up to now Lyx never give me this
error. The error is the following;
I have an article (paper style) but in two column and something wrong is in
my "keywords" section:
" \noindent \textsf{\begin {multicols}{2}}

 I've deleted a group-closing symbol because it seems to be

spurious, as in `$x}$'. But perhaps the } is legitimate and

you forgot something else, as in `\hbox{$x}'. In such cases

the way to recover is to insert both the forgotten and the

deleted material, e.g., by typing `I$}'."

what is wrong with it?** How can I make that lyx forget this mistake and
move on?


THANKS


Margins of a particular page

2010-04-16 Thread YURENA MENDOZA
Hi,
How I could reduce the margins only for a particular page? I have not found
the option in lyx for one page only. Do I need to enter a latex code?

Thanks


Re: Access LyX version number from within a document

2010-04-16 Thread Steve Litt
On Friday 16 April 2010 08:46:35 Pavel Sanda wrote:
> nore...@augrime.net wrote:
> > "This document was produced with LyX 1.6.4.1"
> >
> > Is this currently possible?
> 
> no
> pavel
> 

Not so fast slick!

A simple Perl script could scan the doc, delete any lines starting with 
\mylyxversion=, and then just before the \begin{document} insert 
"\mylyxversion = `lyx --version | head -n1`". Once you have the version in 
\mylyxversion, that variable can be used in headers, footers, title pages, 
whereever.

By the nature of LyX, conversion to PDF is done by a shellscript, whether that 
shellscript is called by the user interface or called from the command line. 
Either way, the shellscript can be changed.

I constantly run specialized shellscripts to do things like personalize eBooks 
and renumbering a list that's just too difficult to renumber in LaTeX. This is 
one of the real powers of LyX -- you can use UNIX commands and computer 
programs to insert things that just aren't known within LaTeX.

SteveT

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



Re: Thesaurus in spanish lyx-2.0.0alpha1

2010-04-16 Thread Marcelo Acuña
> > I have installed Spanish ( Spain ) Openoffice's
> thesauro; I have 
> > indicated the path  in Preferences, admits me the
> thesauro with an icon, 
> > but it does not work.
 
> Hm. Looks like the thesaurus is broken currently in trunk.
> Last time I touched 
> it, it still worked.
> 
> Jürgen

With alpha 2, like alpha 1, it not work for me too.

Marcelo





alpha 2 crash

2010-04-16 Thread Marcelo Acuña
When I make a click in Find and Replace button, I have a crash.
Regards
Marcelo

Marcelo Acuña
 visitá mi sitio web http://www.aleph-uno.com.ar 
==





Re: For some reason aspell via lyx doesn't 'understand single quotes'...

2010-04-16 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote:
> I do not have a LyX build handy, but it used to be the case (maybe still
> in 1.6) that "don't" was not spelled correctly (and it is partly my
> fault).

Works here (with current branch).

Jürgen


Re: For some reason aspell via lyx doesn't 'understand single quotes'...

2010-04-16 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller  writes:

> Joe(theWordy)Philbrook wrote:
>> Is there a reason why LyX's implementation of aspell chokes on ' characters
>> used as single quotes???
>
> Because they are no single quotes, but apostrophes. In order to insert single 
> quotes, hit Alt-".

I do not have a LyX build handy, but it used to be the case (maybe still
in 1.6) that "don't" was not spelled correctly (and it is partly my
fault).

JMarc


Re: Access LyX version number from within a document

2010-04-16 Thread Pavel Sanda
nore...@augrime.net wrote:
> "This document was produced with LyX 1.6.4.1"
>
> Is this currently possible?

no
pavel


Access LyX version number from within a document

2010-04-16 Thread noreply

Hi,

I would like to "stamp" documents with the version number of LyX which  
produces them, i.e. a PDF should contain something like this:


"This document was produced with LyX 1.6.4.1"

Is this currently possible?

Thank you, and best regards,
M. Speiser


Re: For some reason aspell via lyx doesn't 'understand single quotes'...

2010-04-16 Thread Jürgen Spitzmüller
Joe(theWordy)Philbrook wrote:
> Is there a reason why LyX's implementation of aspell chokes on ' characters
> used as single quotes???

Because they are no single quotes, but apostrophes. In order to insert single 
quotes, hit Alt-".

Jürgen


Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-16 Thread Jose Quesada
Ok, I added a ticket with this idea, and pointed to this thread for
clarification.
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


On Thu, Apr 15, 2010 at 9:46 PM, Alan L Tyree  wrote:

> On Thu, 15 Apr 2010 19:28:47 +0200
> Abdelrazak Younes  wrote:
>
> >
> >
> > On 04/15/2010 12:07 PM, Typhoon wrote:
> > >>> If it isn't necessary, I don't think that LyX should lock into one
> > >>> system.
> > >>
> > >> While it is good to support a wide choice of systems for version
> > >> control, for a "portable LyX document" *one* format is the right
> > >> way.
> > >
> > > I see the argument, and you may be right. BUT when I wanted to
> > > collaborate with a colleague, they knew how to use Bazaar, so we
> > > went that way. I think it would have been hard to get them to use
> > > something else.
> >
> > I think you are missing something and it's probably my fault. The
> > idea of a portable document using a git repo is somewhat
> > perpendicular to how many DVCS systems are supported by LyX. The idea
> > behind a "portable LyX document" is that the user doesn't know which
> > SCM he uses as LyX would take care of everything. So having your
> > coauthor fluent in bazar rather than git is irrelevant.
>
> Hi Abdel,
>
> You're right, I was confusing two separate issues. Not, I think, your
> fault at all.
>
> And, whatever is used, the idea of a VC system as the portable format
> seems brilliant.
>
> Thanks for cleaning the fuzz out of my brain :-).
>
> Cheers,
> Alan
>
> >
> > > As I said before, I don't know what the technical problems are in
> > > implementing this in LyX. However, if it is possible to support more
> > > than one DVCS, then I think it should be kept in mind. The
> > > "portable" in "portable LyX document" is a very relative thing. It
> > > depends almost entirely on who you want to "port" it to.
> > >
> > > I suppose that if everything is bundled with LyX, then the choice is
> > > made and it doesn't matter. Is that a sensible solution?
> > >
> > > In the end, I suppose that it may be a technical question/solution
> > > and I am absolutely unqualified to speak to that. But I hope that
> > > people who are qualified will at least consider keeping the options
> > > open.
> >
> > Sure, don't worry :-)
> >
> > Abdel.
> >
> >
>
>
> --
> Alan L Tyreehttp://www2.austlii.edu.au/~alan
> Tel:  04 2748 6206
>
>