Table style question

2010-09-26 Thread Tóth István Zoltán

 Hello,

I'm quite new to LyX and at the moment I'm trying to find an easy way to 
customize the general table style. I'm going to write a document with a 
number of tables and I would like to change the default settings for 
example the font size and the border lines.


Is there any way to do this or do I have to set the properties for every 
table manually?


Thank you for your help,
Kind regards,
Istvan Zoltan Toth



Re: Error in compiling document: argument of \PU\

2010-09-26 Thread Richard Heck

On 09/26/2010 08:12 AM, vamsi krishna wrote:

hi uwe,

unfortunately I am having almost the same problem of compiling the 
master file.


I have to submit my thesis in 4 days and i am facing compiling 
problems. At my
university everyone use Latex except me(using Latex portable suit LYX 
), and incase
of any technical problems I am completely depending on forums. So any 
help from you guys

is really appreciated

I tried to change the font of all my child documents which I included 
in master file.
All my child document could generate proper pdf document 
individually.  But

when I include them in Masterfile1.lyx it is showing a compilation error

Description :

...SD} Modulator using single bit Dither}{62}

I wasn't able to read the size data for this font,

so I will ignore the font specification.

[Wizards can fix TFM files using TFtoPL/PLtoTF.]

You might try inserting a different font spec;

e.g., type `I\fontsame font id=substitute font name'.


I am attaching a the main file and one of the subfile.


That is a weird error. It looks to me as if you're either lacking some 
font specifications or else they have been corrupted somehow. As Uwe 
was, I am able to compile this document without problems. So, worst case 
scenario: Get one of us to compile it for you.


Try setting all fonts to default and see if that works.

If there are lots of people around your university that use LaTeX, then 
maybe you could export your file to LaTeX and have someone have a look 
at it. The error is there, not in LyX.


Richard



Re: Table style question

2010-09-26 Thread Paul A. Rubin

On 9/26/2010 9:47 AM, Tóth István Zoltán wrote:

Hello,

I'm quite new to LyX and at the moment I'm trying to find an easy way to
customize the general table style. I'm going to write a document with a
number of tables and I would like to change the default settings for
example the font size and the border lines.

Is there any way to do this or do I have to set the properties for every
table manually?



The easiest way may be to create one empty table, customized to your 
standards, and park it at the beginning or end of the document.  Then 
just copy it and paste it anywhere you need a table, and customize 
further (if necessary) from there.  I do that fairly often when I'm 
creating multiple tables with similar dimensions and features.


/Paul



Re: Table style question

2010-09-26 Thread Richard Heck

On 09/26/2010 10:26 AM, Paul A. Rubin wrote:

On 9/26/2010 9:47 AM, Tóth István Zoltán wrote:

Hello,

I'm quite new to LyX and at the moment I'm trying to find an easy way to
customize the general table style. I'm going to write a document with a
number of tables and I would like to change the default settings for
example the font size and the border lines.

Is there any way to do this or do I have to set the properties for every
table manually?



The easiest way may be to create one empty table, customized to your 
standards, and park it at the beginning or end of the document.  Then 
just copy it and paste it anywhere you need a table, and customize 
further (if necessary) from there.  I do that fairly often when I'm 
creating multiple tables with similar dimensions and features.


Surely there must be a good LaTeX way to set these defaults, though. The 
worry about doing it by cut and paste being: What if you change your 
mind later? I never use tables, though (well, hardly ever), so don't 
know about this.


Richard



Re: Table style question

2010-09-26 Thread Paul A. Rubin

 On 9/26/2010 10:44 AM, Richard Heck wrote:

On 09/26/2010 10:26 AM, Paul A. Rubin wrote:

On 9/26/2010 9:47 AM, Tóth István Zoltán wrote:

Hello,

I'm quite new to LyX and at the moment I'm trying to find an easy 
way to

customize the general table style. I'm going to write a document with a
number of tables and I would like to change the default settings for
example the font size and the border lines.

Is there any way to do this or do I have to set the properties for 
every

table manually?



The easiest way may be to create one empty table, customized to your 
standards, and park it at the beginning or end of the document.  Then 
just copy it and paste it anywhere you need a table, and customize 
further (if necessary) from there.  I do that fairly often when I'm 
creating multiple tables with similar dimensions and features.


Surely there must be a good LaTeX way to set these defaults, though. 
The worry about doing it by cut and paste being: What if you change 
your mind later? I never use tables, though (well, hardly ever), so 
don't know about this.


Richard

You can create your own custom LaTeX environment to use in lieu of 
tabular, but then you can't use the table editor in LyX (you'll have to 
do it in ERT), and you'll have to supply the ampersands to separate 
columns etc.  Some of the spacing elements are controlled by LaTeX 
lengths, which you could redefine in the preamble, but I don't think 
there are global settings for horizontal and vertical lines, column 
alignments or fonts within the tables; those are all done on a per-table 
basis.


/Paul



Re: more on collaboration

2010-09-26 Thread Pavel Sanda
Gregory Jefferis wrote:
 We use version control (git) + to write papers in the lab.  It works fine
 but handling merge conflicts is still difficult; the chaps in the lab are

in one project we 'solved' this via locking. the document could be split
into childern (=chapters/sections) so multiple people can still work
simultaneously.

 LyX's track changes plays very poorly with VCS in LyX 1.6.X and this is only
 partly solved in 2.0.

can you be more specific here?

pavel


Re: more on collaboration

2010-09-26 Thread Pavel Sanda
Richard Heck wrote:
 That said, if we're talking *nix, I wonder how hard it would be to use 
 LyX's multiple windows feature to implement some kind of collaborative 
 editing. You only need to get that second window onto your collaborator's 
 screen somehow.

we have talked about this in devel list multiple times. the most elegant way
(from the lyx's point of view) would be just ask qt to use different DISPLAY
where the particular window goes. as reported by Andre qt does not allow this
and it won't happen any time soon.

there are other and more difficult possibilities how to implement, but i would
just repeat the thread...

pavel


Several references with pagenumbers

2010-09-26 Thread Påvel Nicklasson

Hello All!

I hope I don’t ask too many questions...
I have another problem with my references. I want text and references to  
look something like this in the output:


As stated by Nicklasson (Nicklasson 2009 p. 23, Nicklasson 2010 p. 244).

In LyX I have:

As stated by Nicklasson (Nicklasson 2009, Nicklasson 2010 p. 244).

It seems impossible to insert a page number for the first reference in the  
reference field.
I have searched the LyX wiki and the documentation for Natbib, but not  
come up with a solution. Is it possible to do?


I use Natbib, Author-Year setting and sweplanat as style.

Best Regards
Påvel Nicklasson


Lyx without extras?

2010-09-26 Thread s.thomson
Hi.

I just want Lyx without extras; even the small installer installs Aspell,
Ghostscript  Imagemagick, Qt, Python.
All I have use for is the main Lyx executables  the fonts.
How do I obtain a portable version of Lyx with out all these extras?


Re: Error in compiling document: argument of \PU\

2010-09-26 Thread Uwe Stöhr

Am 26.09.2010 14:12, schrieb vamsi krishna:


unfortunately I am having almost the same problem of compiling the master
file.

I have to submit my thesis in 4 days and i am facing compiling problems. At
my
university everyone use Latex except me(using Latex portable suit LYX ),


This might be the problem. It seems that your LaTeX installation uses some 
older package versions.

As it is urgent, I recommend to export your document to latex and then ask LateX colleagues if they 
can help your making it compilable.



I tried to change the font of all my child documents which I included in
master file.
All my child document could generate proper pdf document individually.  But
when I include them in Masterfile1.lyx it is showing a compilation error

Description :

...SD} Modulator using single bit Dither}{62}

  I wasn't able to read the size data for this font,

so I will ignore the font specification.

[Wizards can fix TFM files using TFtoPL/PLtoTF.]


So your LaTeX installation misses the LGR fonts. The strange thing is that this
font are Greek fonts. But this is normally no problem: If you would work on Windows and use MiKTeX 
as LaTeX-distribution, you would open an Internet connection, view your file as PDF and MiKTeX will 
automatically install all packages and fonts used by your document.

As you seem to have a special LaTeX-distribution I cannot help your here.

regards Uwe


Re: Table style question

2010-09-26 Thread Uwe Stöhr

Am 26.09.2010 15:47, schrieb Tóth István Zoltán:


I'm quite new to LyX and at the moment I'm trying to find an easy way to 
customize the general table
style. I'm going to write a document with a number of tables and I would like 
to change the default
settings for example the font size and the border lines.


This is possible by adding some command to the document preamble. This will redefine the layout for 
ALL of the document's tables. The commands to change the border width and separation are explained 
in sec. 2.12.4 Line Thickness of the EmbeddedObjects manual that your find in LyX's Help menu. 
This manual explains in chapter 2 almost all tricks you can do with tables.


regards Uwe


Re: Lyx without extras?

2010-09-26 Thread Guenter Milde
On 2010-09-26, s.thomson wrote:

 I just want Lyx without extras; even the small installer installs Aspell,
 Ghostscript  Imagemagick, Qt, Python.
 All I have use for is the main Lyx executables  the fonts.

What do you want to use it for? All these are required for basic
editing tasks.

Aspell: spell-check 

Ghostscript:  Imagemagick: image coversion (for view and export of
inserted graphics)

Qt: basic toolkit required for LyX to run at all.

Python: configuration, import of older LyX files, ...

 How do I obtain a portable version of Lyx with out all these extras?

Build your own or individual download.

Günter



2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
Dear all
I am trying to configure the LyX 2.0 Sweave module on Windows 7
(64bit) with R 2.11.1 (32bit), but I'm stumped in the config process.

Using RedmondPath [1] I've added
C:\Program Files (x86)\R\R-2.11.1\bin

to the system path. Then I copied
c:\Program Files (x86)\R\R-2.11.1\share\texmf\Sweave.sty

to
c:\Program Files (x86)\MiKTeX 2.8\tex\latex\sweave\

and reconfigured LyX. Now LyX seems to find Sweave.sty, at least no
longer complains of not finding it. However, on a very simple LyX
Sweave file containing, in ERT,
=
2+2
@

I get the following error:
22:45:21:421ms: Previewing ...
22:45:21:433ms: (buffer-view pdf2)
22:45:21:490ms: R CMD Sweave newfile1.Rnw
22:45:21:700ms: 'sh' is not recognized as an internal or external command,
22:45:21:709ms: operable program or batch file.
22:45:22:018ms: Error previewing format: pdf2

I am not sure what to do about this. Any ideas? Perhaps some
documentation that I'm missing?

Thank you
Liviu

[1] http://sites.google.com/site/redmondlab/path


-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
Liviu Andronic wrote:
 22:45:21:490ms: R CMD Sweave newfile1.Rnw
 22:45:21:700ms: 'sh' is not recognized as an internal or external command,

it tries to launch linux shell, which is not going to work on windows. ask 
JMarc...

pavel


Re: Several references with pagenumbers

2010-09-26 Thread Paul Rubin
Påvel Nicklasson pavelnicklasson at bahnhof.se writes:


 
 As stated by Nicklasson (Nicklasson 2009 p. 23, Nicklasson 2010 p. 244).
 
 In LyX I have:
 
 As stated by Nicklasson (Nicklasson 2009, Nicklasson 2010 p. 244).
 
 It seems impossible to insert a page number for the first reference in the  
 reference field.

Supply the parentheses and comma yourself, and enter the two references as
separate citations with page information but without parentheses.

/Paul




Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:19 PM, Pavel Sanda sa...@lyx.org wrote:
 Liviu Andronic wrote:
 22:45:21:490ms: R CMD Sweave newfile1.Rnw
 22:45:21:700ms: 'sh' is not recognized as an internal or external command,

 it tries to launch linux shell, which is not going to work on windows. ask 
 JMarc...

Thanks. Would Cygwin help? Or should I take some other route?
Liviu


Re: Several references with pagenumbers

2010-09-26 Thread Påvel Nicklasson

Thank You!
Such a simple trick! I can't understand how I overlooked it. I have spent  
hours reading manuals and searching the Net...

It takes some time to learn all the simple tricks in LyX!
Best Regards
Påvel


Den 2010-09-26 22:25:50 skrev Paul Rubin ru...@msu.edu:


Påvel Nicklasson pavelnicklasson at bahnhof.se writes:




As stated by Nicklasson (Nicklasson 2009 p. 23, Nicklasson 2010 p. 244).

In LyX I have:

As stated by Nicklasson (Nicklasson 2009, Nicklasson 2010 p. 244).

It seems impossible to insert a page number for the first reference in  
the

reference field.


Supply the parentheses and comma yourself, and enter the two references  
as

separate citations with page information but without parentheses.

/Paul



Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
Liviu Andronic wrote:
  22:45:21:490ms: R CMD Sweave newfile1.Rnw
  22:45:21:700ms: 'sh' is not recognized as an internal or external command,
 
  it tries to launch linux shell, which is not going to work on windows. ask 
  JMarc...
 
 Thanks. Would Cygwin help? Or should I take some other route?

maybe, i know nothing about this stuff. you dont have linux on the second 
partion by chance? :)
also not necessarily lyx issue, because one can see that R is called just step 
before and the message
may come from it...

you can try to run R CMD Sweave newfile1.Rnw at the windows commandline to 
see what happens.

pavel


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:35 PM, Pavel Sanda sa...@lyx.org wrote:
 maybe, i know nothing about this stuff. you dont have linux on the second 
 partion by chance? :)

I do. :) But for my sins I have to use SPSS on Windows, although I'd
like at the same time to prepare some (related) slides using LyX,
Sweave and Beamer (still hoping this combination works). So I'm now
going through the hell of installing and configuring R, LyX, Sweave
and a couple other related packages on Windows. Maybe should consider
virtualization?


 also not necessarily lyx issue, because one can see that R is called just 
 step before and the message
 may come from it...

 you can try to run R CMD Sweave newfile1.Rnw at the windows commandline to 
 see what happens.

I'll first wait if Jean-Marc has something to add. Regards
Liviu


 pavel




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
 On Sun, Sep 26, 2010 at 11:35 PM, Pavel Sanda sa...@lyx.org wrote:
  maybe, i know nothing about this stuff. you dont have linux on the second 
  partion by chance? :)
 
 I do. :) But for my sins I have to use SPSS on Windows, although I'd
 like at the same time to prepare some (related) slides using LyX,
 Sweave and Beamer (still hoping this combination works). So I'm now
 going through the hell of installing and configuring R, LyX, Sweave
 and a couple other related packages on Windows. Maybe should consider
 virtualization?

wouldnt be simpler to run SPSS under wine?
http://appdb.winehq.org/objectManager.php?sClass=applicationiId=1028

pavel


LyX 2.0 timeline?

2010-09-26 Thread David Hewitt
I'm preparing for some system changes in the near future, and LyX
reinstallation will be part of that process. I was hoping to hold out
for LyX 2.0 and put off some writing until it's ready. I know it's
taboo to ask, but does the development team have a sense of the time
remaining until a beta is released?

Thanks, and keep up the great work!
Dave Hewitt


Re: LyX 2.0 timeline?

2010-09-26 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:05 PM, David Hewitt dhewit...@gmail.com wrote:
 I'm preparing for some system changes in the near future, and LyX
 reinstallation will be part of that process. I was hoping to hold out
 for LyX 2.0 and put off some writing until it's ready. I know it's
 taboo to ask, but does the development team have a sense of the time
 remaining until a beta is released?

In my understanding, beta is just around the corner. As an indicator,
already 6 alphas were released; this cannot continue forever. :)

Regards
Liviu


Re: Several references with pagenumbers

2010-09-26 Thread Paul Rubin
Påvel Nicklasson pavelnicklasson at bahnhof.se writes:

 Such a simple trick! I can't understand how I overlooked it. I have spent  
 hours reading manuals and searching the Net...

For what it's worth, it took me a long time to recognize it.  I thought I knew a
technical trick, but it did not work.  Eventually, googling around trying to
figure out why not, I came across the obvious answer.  :-(



Re: LyX 2.0 timeline?

2010-09-26 Thread Pavel Sanda
David Hewitt wrote:
 for LyX 2.0 and put off some writing until it's ready. I know it's
 taboo to ask, but does the development team have a sense of the time
 remaining until a beta is released?

range of few weeks, no warranty of course.
pavel


Re: more on collaboration

2010-09-26 Thread Pavel Sanda
Gregory Jefferis wrote:
  Gregory Jefferis wrote:
  We use version control (git) + to write papers in the lab.  It works fine
  but handling merge conflicts is still difficult; the chaps in the lab are
  
  in one project we 'solved' this via locking. the document could be split
  into childern (=chapters/sections) so multiple people can still work
  simultaneously.
 
 Thanks for the suggestion.  I can see that could work but it does seem a bit
 of a blunt instrument.  We would need to change VCS (git has no locking
 AFAIK).  But I'll keep it in mind.

yes, sorry this suggestion was for subversion.
when working with geeky people this is not much needed, they know ho to resolve
merge conflicts. however for non geeky people svn locking seems to me the only
weapon how to avoid the problems with conflicts, moreover when lyx has builtin
support for locks...

  LyX's track changes plays very poorly with VCS in LyX 1.6.X and this is 
  only
  partly solved in 2.0.
 
 See:
 
 http://www.lyx.org/trac/ticket/6058
 
 And in particular my post (+patch) which tries to explain why what has been
 implemented for Lyx 2.0 is still fragile:
 
 http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg153396.html

yes i remember the thread. you unfortunately took too long hiatus and Vincent
disappeared meanwhile... ;) i will reopen the ticket with the comments above,
so there is still chance to get this into 2.0. i see also you didnt responded
to Andre's comments...

pavel


Re: more on collaboration

2010-09-26 Thread Gregory Jefferis
On 2010-09-25 06:51, Jose Quesada ques...@gmail.com wrote:

 I tried Gobby. it's as simple as notepad, so for serious programming/writing
 it'd feel a bit limited. But the deal breaker is no undo. Yes, you hear that
 right. I think Gobby is actually feature-wise worse than in-browser
 alternatives.

For anyone who wants to do real time latex editing, then I have come across
two possibilities.

1) SubEthaEdit 

as already mentioned, really nice collaborative editing for many users,
simple to setup, fairly simple latex mode, macosx only, commercial

2) Eclipse + Texlipse + Eclipse Communication Framework (ECF) and in
particular the DocShare plugin.

basic collaborative editing, appears to be limited to 2 people, a bit of a
pain to setup, good latex support, cross-platform, open source

ECF provides an example of how building a collaborative editor can be
layered on top of existing work.  See:

http://wiki.eclipse.org/RT_Shared_Editing

I guess if LyX had a round-trip consistent latex export/import these might
even provide an option for online collaborative editing of text from a LyX
document.

Best,

Greg.




Re: more on collaboration

2010-09-26 Thread Kevin Brubeck Unhammer
2010/9/27 Gregory Jefferis jeffe...@gmail.com:
 On 2010-09-25 06:51, Jose Quesada ques...@gmail.com wrote:

 I tried Gobby. it's as simple as notepad, so for serious programming/writing
 it'd feel a bit limited. But the deal breaker is no undo. Yes, you hear that
 right. I think Gobby is actually feature-wise worse than in-browser
 alternatives.

 For anyone who wants to do real time latex editing, then I have come across
 two possibilities.

 1) SubEthaEdit

 as already mentioned, really nice collaborative editing for many users,
 simple to setup, fairly simple latex mode, macosx only, commercial

 2) Eclipse + Texlipse + Eclipse Communication Framework (ECF) and in
 particular the DocShare plugin.

 basic collaborative editing, appears to be limited to 2 people, a bit of a
 pain to setup, good latex support, cross-platform, open source

 ECF provides an example of how building a collaborative editor can be
 layered on top of existing work.  See:

    http://wiki.eclipse.org/RT_Shared_Editing

For completeness,

http://www.emacswiki.org/emacs/CollaborativeEditing describes
collaborative editing possibilities in emacs. I tried Rudel just for
fun, but couldn't get it to work, seems a bit rough around the edges.
I guess multi-tty is the best method, similar to sharing a GNU Screen
session (which would also work for collaboration in VIM or any
terminal-based editor), but I think one would have to be very trusting
of collaborators to do that...



best regards,
Kevin


Table style question

2010-09-26 Thread Tóth István Zoltán

 Hello,

I'm quite new to LyX and at the moment I'm trying to find an easy way to 
customize the general table style. I'm going to write a document with a 
number of tables and I would like to change the default settings for 
example the font size and the border lines.


Is there any way to do this or do I have to set the properties for every 
table manually?


Thank you for your help,
Kind regards,
Istvan Zoltan Toth



Re: Error in compiling document: argument of \PU\

2010-09-26 Thread Richard Heck

On 09/26/2010 08:12 AM, vamsi krishna wrote:

hi uwe,

unfortunately I am having almost the same problem of compiling the 
master file.


I have to submit my thesis in 4 days and i am facing compiling 
problems. At my
university everyone use Latex except me(using Latex portable suit LYX 
), and incase
of any technical problems I am completely depending on forums. So any 
help from you guys

is really appreciated

I tried to change the font of all my child documents which I included 
in master file.
All my child document could generate proper pdf document 
individually.  But

when I include them in Masterfile1.lyx it is showing a compilation error

Description :

...SD} Modulator using single bit Dither}{62}

I wasn't able to read the size data for this font,

so I will ignore the font specification.

[Wizards can fix TFM files using TFtoPL/PLtoTF.]

You might try inserting a different font spec;

e.g., type `I\fontsame font id=substitute font name'.


I am attaching a the main file and one of the subfile.


That is a weird error. It looks to me as if you're either lacking some 
font specifications or else they have been corrupted somehow. As Uwe 
was, I am able to compile this document without problems. So, worst case 
scenario: Get one of us to compile it for you.


Try setting all fonts to default and see if that works.

If there are lots of people around your university that use LaTeX, then 
maybe you could export your file to LaTeX and have someone have a look 
at it. The error is there, not in LyX.


Richard



Re: Table style question

2010-09-26 Thread Paul A. Rubin

On 9/26/2010 9:47 AM, Tóth István Zoltán wrote:

Hello,

I'm quite new to LyX and at the moment I'm trying to find an easy way to
customize the general table style. I'm going to write a document with a
number of tables and I would like to change the default settings for
example the font size and the border lines.

Is there any way to do this or do I have to set the properties for every
table manually?



The easiest way may be to create one empty table, customized to your 
standards, and park it at the beginning or end of the document.  Then 
just copy it and paste it anywhere you need a table, and customize 
further (if necessary) from there.  I do that fairly often when I'm 
creating multiple tables with similar dimensions and features.


/Paul



Re: Table style question

2010-09-26 Thread Richard Heck

On 09/26/2010 10:26 AM, Paul A. Rubin wrote:

On 9/26/2010 9:47 AM, Tóth István Zoltán wrote:

Hello,

I'm quite new to LyX and at the moment I'm trying to find an easy way to
customize the general table style. I'm going to write a document with a
number of tables and I would like to change the default settings for
example the font size and the border lines.

Is there any way to do this or do I have to set the properties for every
table manually?



The easiest way may be to create one empty table, customized to your 
standards, and park it at the beginning or end of the document.  Then 
just copy it and paste it anywhere you need a table, and customize 
further (if necessary) from there.  I do that fairly often when I'm 
creating multiple tables with similar dimensions and features.


Surely there must be a good LaTeX way to set these defaults, though. The 
worry about doing it by cut and paste being: What if you change your 
mind later? I never use tables, though (well, hardly ever), so don't 
know about this.


Richard



Re: Table style question

2010-09-26 Thread Paul A. Rubin

 On 9/26/2010 10:44 AM, Richard Heck wrote:

On 09/26/2010 10:26 AM, Paul A. Rubin wrote:

On 9/26/2010 9:47 AM, Tóth István Zoltán wrote:

Hello,

I'm quite new to LyX and at the moment I'm trying to find an easy 
way to

customize the general table style. I'm going to write a document with a
number of tables and I would like to change the default settings for
example the font size and the border lines.

Is there any way to do this or do I have to set the properties for 
every

table manually?



The easiest way may be to create one empty table, customized to your 
standards, and park it at the beginning or end of the document.  Then 
just copy it and paste it anywhere you need a table, and customize 
further (if necessary) from there.  I do that fairly often when I'm 
creating multiple tables with similar dimensions and features.


Surely there must be a good LaTeX way to set these defaults, though. 
The worry about doing it by cut and paste being: What if you change 
your mind later? I never use tables, though (well, hardly ever), so 
don't know about this.


Richard

You can create your own custom LaTeX environment to use in lieu of 
tabular, but then you can't use the table editor in LyX (you'll have to 
do it in ERT), and you'll have to supply the ampersands to separate 
columns etc.  Some of the spacing elements are controlled by LaTeX 
lengths, which you could redefine in the preamble, but I don't think 
there are global settings for horizontal and vertical lines, column 
alignments or fonts within the tables; those are all done on a per-table 
basis.


/Paul



Re: more on collaboration

2010-09-26 Thread Pavel Sanda
Gregory Jefferis wrote:
 We use version control (git) + to write papers in the lab.  It works fine
 but handling merge conflicts is still difficult; the chaps in the lab are

in one project we 'solved' this via locking. the document could be split
into childern (=chapters/sections) so multiple people can still work
simultaneously.

 LyX's track changes plays very poorly with VCS in LyX 1.6.X and this is only
 partly solved in 2.0.

can you be more specific here?

pavel


Re: more on collaboration

2010-09-26 Thread Pavel Sanda
Richard Heck wrote:
 That said, if we're talking *nix, I wonder how hard it would be to use 
 LyX's multiple windows feature to implement some kind of collaborative 
 editing. You only need to get that second window onto your collaborator's 
 screen somehow.

we have talked about this in devel list multiple times. the most elegant way
(from the lyx's point of view) would be just ask qt to use different DISPLAY
where the particular window goes. as reported by Andre qt does not allow this
and it won't happen any time soon.

there are other and more difficult possibilities how to implement, but i would
just repeat the thread...

pavel


Several references with pagenumbers

2010-09-26 Thread Påvel Nicklasson

Hello All!

I hope I don’t ask too many questions...
I have another problem with my references. I want text and references to  
look something like this in the output:


As stated by Nicklasson (Nicklasson 2009 p. 23, Nicklasson 2010 p. 244).

In LyX I have:

As stated by Nicklasson (Nicklasson 2009, Nicklasson 2010 p. 244).

It seems impossible to insert a page number for the first reference in the  
reference field.
I have searched the LyX wiki and the documentation for Natbib, but not  
come up with a solution. Is it possible to do?


I use Natbib, Author-Year setting and sweplanat as style.

Best Regards
Påvel Nicklasson


Lyx without extras?

2010-09-26 Thread s.thomson
Hi.

I just want Lyx without extras; even the small installer installs Aspell,
Ghostscript  Imagemagick, Qt, Python.
All I have use for is the main Lyx executables  the fonts.
How do I obtain a portable version of Lyx with out all these extras?


Re: Error in compiling document: argument of \PU\

2010-09-26 Thread Uwe Stöhr

Am 26.09.2010 14:12, schrieb vamsi krishna:


unfortunately I am having almost the same problem of compiling the master
file.

I have to submit my thesis in 4 days and i am facing compiling problems. At
my
university everyone use Latex except me(using Latex portable suit LYX ),


This might be the problem. It seems that your LaTeX installation uses some 
older package versions.

As it is urgent, I recommend to export your document to latex and then ask LateX colleagues if they 
can help your making it compilable.



I tried to change the font of all my child documents which I included in
master file.
All my child document could generate proper pdf document individually.  But
when I include them in Masterfile1.lyx it is showing a compilation error

Description :

...SD} Modulator using single bit Dither}{62}

  I wasn't able to read the size data for this font,

so I will ignore the font specification.

[Wizards can fix TFM files using TFtoPL/PLtoTF.]


So your LaTeX installation misses the LGR fonts. The strange thing is that this
font are Greek fonts. But this is normally no problem: If you would work on Windows and use MiKTeX 
as LaTeX-distribution, you would open an Internet connection, view your file as PDF and MiKTeX will 
automatically install all packages and fonts used by your document.

As you seem to have a special LaTeX-distribution I cannot help your here.

regards Uwe


Re: Table style question

2010-09-26 Thread Uwe Stöhr

Am 26.09.2010 15:47, schrieb Tóth István Zoltán:


I'm quite new to LyX and at the moment I'm trying to find an easy way to 
customize the general table
style. I'm going to write a document with a number of tables and I would like 
to change the default
settings for example the font size and the border lines.


This is possible by adding some command to the document preamble. This will redefine the layout for 
ALL of the document's tables. The commands to change the border width and separation are explained 
in sec. 2.12.4 Line Thickness of the EmbeddedObjects manual that your find in LyX's Help menu. 
This manual explains in chapter 2 almost all tricks you can do with tables.


regards Uwe


Re: Lyx without extras?

2010-09-26 Thread Guenter Milde
On 2010-09-26, s.thomson wrote:

 I just want Lyx without extras; even the small installer installs Aspell,
 Ghostscript  Imagemagick, Qt, Python.
 All I have use for is the main Lyx executables  the fonts.

What do you want to use it for? All these are required for basic
editing tasks.

Aspell: spell-check 

Ghostscript:  Imagemagick: image coversion (for view and export of
inserted graphics)

Qt: basic toolkit required for LyX to run at all.

Python: configuration, import of older LyX files, ...

 How do I obtain a portable version of Lyx with out all these extras?

Build your own or individual download.

Günter



2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
Dear all
I am trying to configure the LyX 2.0 Sweave module on Windows 7
(64bit) with R 2.11.1 (32bit), but I'm stumped in the config process.

Using RedmondPath [1] I've added
C:\Program Files (x86)\R\R-2.11.1\bin

to the system path. Then I copied
c:\Program Files (x86)\R\R-2.11.1\share\texmf\Sweave.sty

to
c:\Program Files (x86)\MiKTeX 2.8\tex\latex\sweave\

and reconfigured LyX. Now LyX seems to find Sweave.sty, at least no
longer complains of not finding it. However, on a very simple LyX
Sweave file containing, in ERT,
=
2+2
@

I get the following error:
22:45:21:421ms: Previewing ...
22:45:21:433ms: (buffer-view pdf2)
22:45:21:490ms: R CMD Sweave newfile1.Rnw
22:45:21:700ms: 'sh' is not recognized as an internal or external command,
22:45:21:709ms: operable program or batch file.
22:45:22:018ms: Error previewing format: pdf2

I am not sure what to do about this. Any ideas? Perhaps some
documentation that I'm missing?

Thank you
Liviu

[1] http://sites.google.com/site/redmondlab/path


-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
Liviu Andronic wrote:
 22:45:21:490ms: R CMD Sweave newfile1.Rnw
 22:45:21:700ms: 'sh' is not recognized as an internal or external command,

it tries to launch linux shell, which is not going to work on windows. ask 
JMarc...

pavel


Re: Several references with pagenumbers

2010-09-26 Thread Paul Rubin
Påvel Nicklasson pavelnicklasson at bahnhof.se writes:


 
 As stated by Nicklasson (Nicklasson 2009 p. 23, Nicklasson 2010 p. 244).
 
 In LyX I have:
 
 As stated by Nicklasson (Nicklasson 2009, Nicklasson 2010 p. 244).
 
 It seems impossible to insert a page number for the first reference in the  
 reference field.

Supply the parentheses and comma yourself, and enter the two references as
separate citations with page information but without parentheses.

/Paul




Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:19 PM, Pavel Sanda sa...@lyx.org wrote:
 Liviu Andronic wrote:
 22:45:21:490ms: R CMD Sweave newfile1.Rnw
 22:45:21:700ms: 'sh' is not recognized as an internal or external command,

 it tries to launch linux shell, which is not going to work on windows. ask 
 JMarc...

Thanks. Would Cygwin help? Or should I take some other route?
Liviu


Re: Several references with pagenumbers

2010-09-26 Thread Påvel Nicklasson

Thank You!
Such a simple trick! I can't understand how I overlooked it. I have spent  
hours reading manuals and searching the Net...

It takes some time to learn all the simple tricks in LyX!
Best Regards
Påvel


Den 2010-09-26 22:25:50 skrev Paul Rubin ru...@msu.edu:


Påvel Nicklasson pavelnicklasson at bahnhof.se writes:




As stated by Nicklasson (Nicklasson 2009 p. 23, Nicklasson 2010 p. 244).

In LyX I have:

As stated by Nicklasson (Nicklasson 2009, Nicklasson 2010 p. 244).

It seems impossible to insert a page number for the first reference in  
the

reference field.


Supply the parentheses and comma yourself, and enter the two references  
as

separate citations with page information but without parentheses.

/Paul



Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
Liviu Andronic wrote:
  22:45:21:490ms: R CMD Sweave newfile1.Rnw
  22:45:21:700ms: 'sh' is not recognized as an internal or external command,
 
  it tries to launch linux shell, which is not going to work on windows. ask 
  JMarc...
 
 Thanks. Would Cygwin help? Or should I take some other route?

maybe, i know nothing about this stuff. you dont have linux on the second 
partion by chance? :)
also not necessarily lyx issue, because one can see that R is called just step 
before and the message
may come from it...

you can try to run R CMD Sweave newfile1.Rnw at the windows commandline to 
see what happens.

pavel


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:35 PM, Pavel Sanda sa...@lyx.org wrote:
 maybe, i know nothing about this stuff. you dont have linux on the second 
 partion by chance? :)

I do. :) But for my sins I have to use SPSS on Windows, although I'd
like at the same time to prepare some (related) slides using LyX,
Sweave and Beamer (still hoping this combination works). So I'm now
going through the hell of installing and configuring R, LyX, Sweave
and a couple other related packages on Windows. Maybe should consider
virtualization?


 also not necessarily lyx issue, because one can see that R is called just 
 step before and the message
 may come from it...

 you can try to run R CMD Sweave newfile1.Rnw at the windows commandline to 
 see what happens.

I'll first wait if Jean-Marc has something to add. Regards
Liviu


 pavel




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
 On Sun, Sep 26, 2010 at 11:35 PM, Pavel Sanda sa...@lyx.org wrote:
  maybe, i know nothing about this stuff. you dont have linux on the second 
  partion by chance? :)
 
 I do. :) But for my sins I have to use SPSS on Windows, although I'd
 like at the same time to prepare some (related) slides using LyX,
 Sweave and Beamer (still hoping this combination works). So I'm now
 going through the hell of installing and configuring R, LyX, Sweave
 and a couple other related packages on Windows. Maybe should consider
 virtualization?

wouldnt be simpler to run SPSS under wine?
http://appdb.winehq.org/objectManager.php?sClass=applicationiId=1028

pavel


LyX 2.0 timeline?

2010-09-26 Thread David Hewitt
I'm preparing for some system changes in the near future, and LyX
reinstallation will be part of that process. I was hoping to hold out
for LyX 2.0 and put off some writing until it's ready. I know it's
taboo to ask, but does the development team have a sense of the time
remaining until a beta is released?

Thanks, and keep up the great work!
Dave Hewitt


Re: LyX 2.0 timeline?

2010-09-26 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:05 PM, David Hewitt dhewit...@gmail.com wrote:
 I'm preparing for some system changes in the near future, and LyX
 reinstallation will be part of that process. I was hoping to hold out
 for LyX 2.0 and put off some writing until it's ready. I know it's
 taboo to ask, but does the development team have a sense of the time
 remaining until a beta is released?

In my understanding, beta is just around the corner. As an indicator,
already 6 alphas were released; this cannot continue forever. :)

Regards
Liviu


Re: Several references with pagenumbers

2010-09-26 Thread Paul Rubin
Påvel Nicklasson pavelnicklasson at bahnhof.se writes:

 Such a simple trick! I can't understand how I overlooked it. I have spent  
 hours reading manuals and searching the Net...

For what it's worth, it took me a long time to recognize it.  I thought I knew a
technical trick, but it did not work.  Eventually, googling around trying to
figure out why not, I came across the obvious answer.  :-(



Re: LyX 2.0 timeline?

2010-09-26 Thread Pavel Sanda
David Hewitt wrote:
 for LyX 2.0 and put off some writing until it's ready. I know it's
 taboo to ask, but does the development team have a sense of the time
 remaining until a beta is released?

range of few weeks, no warranty of course.
pavel


Re: more on collaboration

2010-09-26 Thread Pavel Sanda
Gregory Jefferis wrote:
  Gregory Jefferis wrote:
  We use version control (git) + to write papers in the lab.  It works fine
  but handling merge conflicts is still difficult; the chaps in the lab are
  
  in one project we 'solved' this via locking. the document could be split
  into childern (=chapters/sections) so multiple people can still work
  simultaneously.
 
 Thanks for the suggestion.  I can see that could work but it does seem a bit
 of a blunt instrument.  We would need to change VCS (git has no locking
 AFAIK).  But I'll keep it in mind.

yes, sorry this suggestion was for subversion.
when working with geeky people this is not much needed, they know ho to resolve
merge conflicts. however for non geeky people svn locking seems to me the only
weapon how to avoid the problems with conflicts, moreover when lyx has builtin
support for locks...

  LyX's track changes plays very poorly with VCS in LyX 1.6.X and this is 
  only
  partly solved in 2.0.
 
 See:
 
 http://www.lyx.org/trac/ticket/6058
 
 And in particular my post (+patch) which tries to explain why what has been
 implemented for Lyx 2.0 is still fragile:
 
 http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg153396.html

yes i remember the thread. you unfortunately took too long hiatus and Vincent
disappeared meanwhile... ;) i will reopen the ticket with the comments above,
so there is still chance to get this into 2.0. i see also you didnt responded
to Andre's comments...

pavel


Re: more on collaboration

2010-09-26 Thread Gregory Jefferis
On 2010-09-25 06:51, Jose Quesada ques...@gmail.com wrote:

 I tried Gobby. it's as simple as notepad, so for serious programming/writing
 it'd feel a bit limited. But the deal breaker is no undo. Yes, you hear that
 right. I think Gobby is actually feature-wise worse than in-browser
 alternatives.

For anyone who wants to do real time latex editing, then I have come across
two possibilities.

1) SubEthaEdit 

as already mentioned, really nice collaborative editing for many users,
simple to setup, fairly simple latex mode, macosx only, commercial

2) Eclipse + Texlipse + Eclipse Communication Framework (ECF) and in
particular the DocShare plugin.

basic collaborative editing, appears to be limited to 2 people, a bit of a
pain to setup, good latex support, cross-platform, open source

ECF provides an example of how building a collaborative editor can be
layered on top of existing work.  See:

http://wiki.eclipse.org/RT_Shared_Editing

I guess if LyX had a round-trip consistent latex export/import these might
even provide an option for online collaborative editing of text from a LyX
document.

Best,

Greg.




Re: more on collaboration

2010-09-26 Thread Kevin Brubeck Unhammer
2010/9/27 Gregory Jefferis jeffe...@gmail.com:
 On 2010-09-25 06:51, Jose Quesada ques...@gmail.com wrote:

 I tried Gobby. it's as simple as notepad, so for serious programming/writing
 it'd feel a bit limited. But the deal breaker is no undo. Yes, you hear that
 right. I think Gobby is actually feature-wise worse than in-browser
 alternatives.

 For anyone who wants to do real time latex editing, then I have come across
 two possibilities.

 1) SubEthaEdit

 as already mentioned, really nice collaborative editing for many users,
 simple to setup, fairly simple latex mode, macosx only, commercial

 2) Eclipse + Texlipse + Eclipse Communication Framework (ECF) and in
 particular the DocShare plugin.

 basic collaborative editing, appears to be limited to 2 people, a bit of a
 pain to setup, good latex support, cross-platform, open source

 ECF provides an example of how building a collaborative editor can be
 layered on top of existing work.  See:

    http://wiki.eclipse.org/RT_Shared_Editing

For completeness,

http://www.emacswiki.org/emacs/CollaborativeEditing describes
collaborative editing possibilities in emacs. I tried Rudel just for
fun, but couldn't get it to work, seems a bit rough around the edges.
I guess multi-tty is the best method, similar to sharing a GNU Screen
session (which would also work for collaboration in VIM or any
terminal-based editor), but I think one would have to be very trusting
of collaborators to do that...



best regards,
Kevin


Table style question

2010-09-26 Thread Tóth István Zoltán

 Hello,

I'm quite new to LyX and at the moment I'm trying to find an easy way to 
customize the general table style. I'm going to write a document with a 
number of tables and I would like to change the default settings for 
example the font size and the border lines.


Is there any way to do this or do I have to set the properties for every 
table manually?


Thank you for your help,
Kind regards,
Istvan Zoltan Toth



Re: Error in compiling document: argument of \PU\

2010-09-26 Thread Richard Heck

On 09/26/2010 08:12 AM, vamsi krishna wrote:

hi uwe,

unfortunately I am having almost the same problem of compiling the 
master file.


I have to submit my thesis in 4 days and i am facing compiling 
problems. At my
university everyone use Latex except me(using Latex portable suit LYX 
), and incase
of any technical problems I am completely depending on forums. So any 
help from you guys

is really appreciated

I tried to change the font of all my child documents which I included 
in master file.
All my child document could generate proper pdf document 
individually.  But

when I include them in Masterfile1.lyx it is showing a compilation error

Description :

...SD} Modulator using single bit Dither}{62}

I wasn't able to read the size data for this font,

so I will ignore the font specification.

[Wizards can fix TFM files using TFtoPL/PLtoTF.]

You might try inserting a different font spec;

e.g., type `I\font='.


I am attaching a the main file and one of the subfile.


That is a weird error. It looks to me as if you're either lacking some 
font specifications or else they have been corrupted somehow. As Uwe 
was, I am able to compile this document without problems. So, worst case 
scenario: Get one of us to compile it for you.


Try setting all fonts to default and see if that works.

If there are lots of people around your university that use LaTeX, then 
maybe you could export your file to LaTeX and have someone have a look 
at it. The error is there, not in LyX.


Richard



Re: Table style question

2010-09-26 Thread Paul A. Rubin

On 9/26/2010 9:47 AM, Tóth István Zoltán wrote:

Hello,

I'm quite new to LyX and at the moment I'm trying to find an easy way to
customize the general table style. I'm going to write a document with a
number of tables and I would like to change the default settings for
example the font size and the border lines.

Is there any way to do this or do I have to set the properties for every
table manually?



The easiest way may be to create one empty table, customized to your 
standards, and park it at the beginning or end of the document.  Then 
just copy it and paste it anywhere you need a table, and customize 
further (if necessary) from there.  I do that fairly often when I'm 
creating multiple tables with similar dimensions and features.


/Paul



Re: Table style question

2010-09-26 Thread Richard Heck

On 09/26/2010 10:26 AM, Paul A. Rubin wrote:

On 9/26/2010 9:47 AM, Tóth István Zoltán wrote:

Hello,

I'm quite new to LyX and at the moment I'm trying to find an easy way to
customize the general table style. I'm going to write a document with a
number of tables and I would like to change the default settings for
example the font size and the border lines.

Is there any way to do this or do I have to set the properties for every
table manually?



The easiest way may be to create one empty table, customized to your 
standards, and park it at the beginning or end of the document.  Then 
just copy it and paste it anywhere you need a table, and customize 
further (if necessary) from there.  I do that fairly often when I'm 
creating multiple tables with similar dimensions and features.


Surely there must be a good LaTeX way to set these defaults, though. The 
worry about doing it by cut and paste being: What if you change your 
mind later? I never use tables, though (well, hardly ever), so don't 
know about this.


Richard



Re: Table style question

2010-09-26 Thread Paul A. Rubin

 On 9/26/2010 10:44 AM, Richard Heck wrote:

On 09/26/2010 10:26 AM, Paul A. Rubin wrote:

On 9/26/2010 9:47 AM, Tóth István Zoltán wrote:

Hello,

I'm quite new to LyX and at the moment I'm trying to find an easy 
way to

customize the general table style. I'm going to write a document with a
number of tables and I would like to change the default settings for
example the font size and the border lines.

Is there any way to do this or do I have to set the properties for 
every

table manually?



The easiest way may be to create one empty table, customized to your 
standards, and park it at the beginning or end of the document.  Then 
just copy it and paste it anywhere you need a table, and customize 
further (if necessary) from there.  I do that fairly often when I'm 
creating multiple tables with similar dimensions and features.


Surely there must be a good LaTeX way to set these defaults, though. 
The worry about doing it by cut and paste being: What if you change 
your mind later? I never use tables, though (well, hardly ever), so 
don't know about this.


Richard

You can create your own custom LaTeX environment to use in lieu of 
tabular, but then you can't use the table editor in LyX (you'll have to 
do it in ERT), and you'll have to supply the ampersands to separate 
columns etc.  Some of the spacing elements are controlled by LaTeX 
"lengths", which you could redefine in the preamble, but I don't think 
there are global settings for horizontal and vertical lines, column 
alignments or fonts within the tables; those are all done on a per-table 
basis.


/Paul



Re: more on collaboration

2010-09-26 Thread Pavel Sanda
Gregory Jefferis wrote:
> We use version control (git) + to write papers in the lab.  It works fine
> but handling merge conflicts is still difficult; the chaps in the lab are

in one project we 'solved' this via locking. the document could be split
into childern (=chapters/sections) so multiple people can still work
simultaneously.

> LyX's track changes plays very poorly with VCS in LyX 1.6.X and this is only
> partly solved in 2.0.

can you be more specific here?

pavel


Re: more on collaboration

2010-09-26 Thread Pavel Sanda
Richard Heck wrote:
> That said, if we're talking *nix, I wonder how hard it would be to use 
> LyX's multiple windows feature to implement some kind of collaborative 
> editing. You only need to get that second window onto your collaborator's 
> screen somehow.

we have talked about this in devel list multiple times. the most elegant way
(from the lyx's point of view) would be just ask qt to use different DISPLAY
where the particular window goes. as reported by Andre qt does not allow this
and it won't happen any time soon.

there are other and more difficult possibilities how to implement, but i would
just repeat the thread...

pavel


Several references with pagenumbers

2010-09-26 Thread Påvel Nicklasson

Hello All!

I hope I don’t ask too many questions...
I have another problem with my references. I want text and references to  
look something like this in the output:


As stated by Nicklasson (Nicklasson 2009 p. 23, Nicklasson 2010 p. 244).

In LyX I have:

As stated by Nicklasson (Nicklasson 2009, Nicklasson 2010 p. 244).

It seems impossible to insert a page number for the first reference in the  
reference field.
I have searched the LyX wiki and the documentation for Natbib, but not  
come up with a solution. Is it possible to do?


I use Natbib, Author-Year setting and sweplanat as style.

Best Regards
Påvel Nicklasson


Lyx without extras?

2010-09-26 Thread s.thomson
Hi.

I just want Lyx without extras; even the "small" installer installs Aspell,
Ghostscript & Imagemagick, Qt, Python.
All I have use for is the main Lyx executables & the fonts.
How do I obtain a "portable" version of Lyx with out all these extras?


Re: Error in compiling document: argument of \PU\

2010-09-26 Thread Uwe Stöhr

Am 26.09.2010 14:12, schrieb vamsi krishna:


unfortunately I am having almost the same problem of compiling the master
file.

I have to submit my thesis in 4 days and i am facing compiling problems. At
my
university everyone use Latex except me(using Latex portable suit LYX ),


This might be the problem. It seems that your LaTeX installation uses some 
older package versions.

As it is urgent, I recommend to export your document to latex and then ask LateX colleagues if they 
can help your making it compilable.



I tried to change the font of all my child documents which I included in
master file.
All my child document could generate proper pdf document individually.  But
when I include them in Masterfile1.lyx it is showing a compilation error

Description :

...SD} Modulator using single bit Dither}{62}

  I wasn't able to read the size data for this font,

so I will ignore the font specification.

[Wizards can fix TFM files using TFtoPL/PLtoTF.]


So your LaTeX installation misses the LGR fonts. The strange thing is that this
font are Greek fonts. But this is normally no problem: If you would work on Windows and use MiKTeX 
as LaTeX-distribution, you would open an Internet connection, view your file as PDF and MiKTeX will 
automatically install all packages and fonts used by your document.

As you seem to have a special LaTeX-distribution I cannot help your here.

regards Uwe


Re: Table style question

2010-09-26 Thread Uwe Stöhr

Am 26.09.2010 15:47, schrieb Tóth István Zoltán:


I'm quite new to LyX and at the moment I'm trying to find an easy way to 
customize the general table
style. I'm going to write a document with a number of tables and I would like 
to change the default
settings for example the font size and the border lines.


This is possible by adding some command to the document preamble. This will redefine the layout for 
ALL of the document's tables. The commands to change the border width and separation are explained 
in sec. 2.12.4 "Line Thickness" of the EmbeddedObjects manual that your find in LyX's Help menu. 
This manual explains in chapter 2 almost all tricks you can do with tables.


regards Uwe


Re: Lyx without extras?

2010-09-26 Thread Guenter Milde
On 2010-09-26, s.thomson wrote:

> I just want Lyx without extras; even the "small" installer installs Aspell,
> Ghostscript & Imagemagick, Qt, Python.
> All I have use for is the main Lyx executables & the fonts.

What do you want to use it for? All these are required for basic
editing tasks.

Aspell: spell-check 

Ghostscript: & Imagemagick: image coversion (for view and export of
inserted graphics)

Qt: basic toolkit required for LyX to run at all.

Python: configuration, import of older LyX files, ...

> How do I obtain a "portable" version of Lyx with out all these extras?

Build your own or individual download.

Günter



2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
Dear all
I am trying to configure the LyX 2.0 Sweave module on Windows 7
(64bit) with R 2.11.1 (32bit), but I'm stumped in the config process.

Using RedmondPath [1] I've added
C:\Program Files (x86)\R\R-2.11.1\bin

to the system path. Then I copied
c:\Program Files (x86)\R\R-2.11.1\share\texmf\Sweave.sty

to
c:\Program Files (x86)\MiKTeX 2.8\tex\latex\sweave\

and reconfigured LyX. Now LyX seems to find Sweave.sty, at least no
longer complains of not finding it. However, on a very simple LyX
Sweave file containing, in ERT,
<<>>=
2+2
@

I get the following error:
22:45:21:421ms: Previewing ...
22:45:21:433ms: (buffer-view pdf2)
22:45:21:490ms: R CMD Sweave "newfile1.Rnw"
22:45:21:700ms: 'sh' is not recognized as an internal or external command,
22:45:21:709ms: operable program or batch file.
22:45:22:018ms: Error previewing format: pdf2

I am not sure what to do about this. Any ideas? Perhaps some
documentation that I'm missing?

Thank you
Liviu

[1] http://sites.google.com/site/redmondlab/path


-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
Liviu Andronic wrote:
> 22:45:21:490ms: R CMD Sweave "newfile1.Rnw"
> 22:45:21:700ms: 'sh' is not recognized as an internal or external command,

it tries to launch linux shell, which is not going to work on windows. ask 
JMarc...

pavel


Re: Several references with pagenumbers

2010-09-26 Thread Paul Rubin
Påvel Nicklasson  bahnhof.se> writes:


> 
> As stated by Nicklasson (Nicklasson 2009 p. 23, Nicklasson 2010 p. 244).
> 
> In LyX I have:
> 
> As stated by Nicklasson (Nicklasson 2009, Nicklasson 2010 p. 244).
> 
> It seems impossible to insert a page number for the first reference in the  
> reference field.

Supply the parentheses and comma yourself, and enter the two references as
separate citations with page information but without parentheses.

/Paul




Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:19 PM, Pavel Sanda  wrote:
> Liviu Andronic wrote:
>> 22:45:21:490ms: R CMD Sweave "newfile1.Rnw"
>> 22:45:21:700ms: 'sh' is not recognized as an internal or external command,
>
> it tries to launch linux shell, which is not going to work on windows. ask 
> JMarc...
>
Thanks. Would Cygwin help? Or should I take some other route?
Liviu


Re: Several references with pagenumbers

2010-09-26 Thread Påvel Nicklasson

Thank You!
Such a simple trick! I can't understand how I overlooked it. I have spent  
hours reading manuals and searching the Net...

It takes some time to learn all the simple tricks in LyX!
Best Regards
Påvel


Den 2010-09-26 22:25:50 skrev Paul Rubin :


Påvel Nicklasson  bahnhof.se> writes:




As stated by Nicklasson (Nicklasson 2009 p. 23, Nicklasson 2010 p. 244).

In LyX I have:

As stated by Nicklasson (Nicklasson 2009, Nicklasson 2010 p. 244).

It seems impossible to insert a page number for the first reference in  
the

reference field.


Supply the parentheses and comma yourself, and enter the two references  
as

separate citations with page information but without parentheses.

/Paul



Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
Liviu Andronic wrote:
> >> 22:45:21:490ms: R CMD Sweave "newfile1.Rnw"
> >> 22:45:21:700ms: 'sh' is not recognized as an internal or external command,
> >
> > it tries to launch linux shell, which is not going to work on windows. ask 
> > JMarc...
> >
> Thanks. Would Cygwin help? Or should I take some other route?

maybe, i know nothing about this stuff. you dont have linux on the second 
partion by chance? :)
also not necessarily lyx issue, because one can see that R is called just step 
before and the message
may come from it...

you can try to run R CMD Sweave "newfile1.Rnw" at the windows commandline to 
see what happens.

pavel


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:35 PM, Pavel Sanda  wrote:
> maybe, i know nothing about this stuff. you dont have linux on the second 
> partion by chance? :)
>
I do. :) But for my sins I have to use SPSS on Windows, although I'd
like at the same time to prepare some (related) slides using LyX,
Sweave and Beamer (still hoping this combination works). So I'm now
going through the hell of installing and configuring R, LyX, Sweave
and a couple other related packages on Windows. Maybe should consider
virtualization?


> also not necessarily lyx issue, because one can see that R is called just 
> step before and the message
> may come from it...
>
> you can try to run R CMD Sweave "newfile1.Rnw" at the windows commandline to 
> see what happens.
>
I'll first wait if Jean-Marc has something to add. Regards
Liviu


> pavel
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
> On Sun, Sep 26, 2010 at 11:35 PM, Pavel Sanda  wrote:
> > maybe, i know nothing about this stuff. you dont have linux on the second 
> > partion by chance? :)
> >
> I do. :) But for my sins I have to use SPSS on Windows, although I'd
> like at the same time to prepare some (related) slides using LyX,
> Sweave and Beamer (still hoping this combination works). So I'm now
> going through the hell of installing and configuring R, LyX, Sweave
> and a couple other related packages on Windows. Maybe should consider
> virtualization?

wouldnt be simpler to run SPSS under wine?
http://appdb.winehq.org/objectManager.php?sClass=application=1028

pavel


LyX 2.0 timeline?

2010-09-26 Thread David Hewitt
I'm preparing for some system changes in the near future, and LyX
reinstallation will be part of that process. I was hoping to hold out
for LyX 2.0 and put off some writing until it's ready. I know it's
taboo to ask, but does the development team have a sense of the time
remaining until a beta is released?

Thanks, and keep up the great work!
Dave Hewitt


Re: LyX 2.0 timeline?

2010-09-26 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:05 PM, David Hewitt  wrote:
> I'm preparing for some system changes in the near future, and LyX
> reinstallation will be part of that process. I was hoping to hold out
> for LyX 2.0 and put off some writing until it's ready. I know it's
> taboo to ask, but does the development team have a sense of the time
> remaining until a beta is released?
>
In my understanding, beta is just around the corner. As an indicator,
already 6 alphas were released; this cannot continue forever. :)

Regards
Liviu


Re: Several references with pagenumbers

2010-09-26 Thread Paul Rubin
Påvel Nicklasson  bahnhof.se> writes:

> Such a simple trick! I can't understand how I overlooked it. I have spent  
> hours reading manuals and searching the Net...

For what it's worth, it took me a long time to recognize it.  I thought I knew a
technical trick, but it did not work.  Eventually, googling around trying to
figure out why not, I came across the obvious answer.  :-(



Re: LyX 2.0 timeline?

2010-09-26 Thread Pavel Sanda
David Hewitt wrote:
> for LyX 2.0 and put off some writing until it's ready. I know it's
> taboo to ask, but does the development team have a sense of the time
> remaining until a beta is released?

range of few weeks, no warranty of course.
pavel


Re: more on collaboration

2010-09-26 Thread Pavel Sanda
Gregory Jefferis wrote:
> > Gregory Jefferis wrote:
> >> We use version control (git) + to write papers in the lab.  It works fine
> >> but handling merge conflicts is still difficult; the chaps in the lab are
> > 
> > in one project we 'solved' this via locking. the document could be split
> > into childern (=chapters/sections) so multiple people can still work
> > simultaneously.
> 
> Thanks for the suggestion.  I can see that could work but it does seem a bit
> of a blunt instrument.  We would need to change VCS (git has no locking
> AFAIK).  But I'll keep it in mind.

yes, sorry this suggestion was for subversion.
when working with geeky people this is not much needed, they know ho to resolve
merge conflicts. however for non geeky people svn locking seems to me the only
weapon how to avoid the problems with conflicts, moreover when lyx has builtin
support for locks...

> >> LyX's track changes plays very poorly with VCS in LyX 1.6.X and this is 
> >> only
> >> partly solved in 2.0.
> 
> See:
> 
> http://www.lyx.org/trac/ticket/6058
> 
> And in particular my post (+patch) which tries to explain why what has been
> implemented for Lyx 2.0 is still fragile:
> 
> http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg153396.html

yes i remember the thread. you unfortunately took too long hiatus and Vincent
disappeared meanwhile... ;) i will reopen the ticket with the comments above,
so there is still chance to get this into 2.0. i see also you didnt responded
to Andre's comments...

pavel


Re: more on collaboration

2010-09-26 Thread Gregory Jefferis
On 2010-09-25 06:51, "Jose Quesada"  wrote:

> I tried Gobby. it's as simple as notepad, so for serious programming/writing
> it'd feel a bit limited. But the deal breaker is no undo. Yes, you hear that
> right. I think Gobby is actually feature-wise worse than in-browser
> alternatives.

For anyone who wants to do real time latex editing, then I have come across
two possibilities.

1) SubEthaEdit 

as already mentioned, really nice collaborative editing for many users,
simple to setup, fairly simple latex mode, macosx only, commercial

2) Eclipse + Texlipse + Eclipse Communication Framework (ECF) and in
particular the DocShare plugin.

basic collaborative editing, appears to be limited to 2 people, a bit of a
pain to setup, good latex support, cross-platform, open source

ECF provides an example of how building a collaborative editor can be
layered on top of existing work.  See:

http://wiki.eclipse.org/RT_Shared_Editing

I guess if LyX had a round-trip consistent latex export/import these might
even provide an option for online collaborative editing of text from a LyX
document.

Best,

Greg.




Re: more on collaboration

2010-09-26 Thread Kevin Brubeck Unhammer
2010/9/27 Gregory Jefferis :
> On 2010-09-25 06:51, "Jose Quesada"  wrote:
>
>> I tried Gobby. it's as simple as notepad, so for serious programming/writing
>> it'd feel a bit limited. But the deal breaker is no undo. Yes, you hear that
>> right. I think Gobby is actually feature-wise worse than in-browser
>> alternatives.
>
> For anyone who wants to do real time latex editing, then I have come across
> two possibilities.
>
> 1) SubEthaEdit
>
> as already mentioned, really nice collaborative editing for many users,
> simple to setup, fairly simple latex mode, macosx only, commercial
>
> 2) Eclipse + Texlipse + Eclipse Communication Framework (ECF) and in
> particular the DocShare plugin.
>
> basic collaborative editing, appears to be limited to 2 people, a bit of a
> pain to setup, good latex support, cross-platform, open source
>
> ECF provides an example of how building a collaborative editor can be
> layered on top of existing work.  See:
>
>    http://wiki.eclipse.org/RT_Shared_Editing

For completeness,

http://www.emacswiki.org/emacs/CollaborativeEditing describes
collaborative editing possibilities in emacs. I tried Rudel just for
fun, but couldn't get it to work, seems a bit rough around the edges.
I guess multi-tty is the best method, similar to sharing a GNU Screen
session (which would also work for collaboration in VIM or any
terminal-based editor), but I think one would have to be very trusting
of collaborators to do that...



best regards,
Kevin