Re: from mac to windows

2013-02-25 Thread Stephen

Hi Cecile,

I have also had problems with Miktex not installing missing packages 
properly, see my post where I comment on  a solution that fixed it for 
me. ymmv


http://www.mail-archive.com/lyx-users@lists.lyx.org/msg94623.html

Steve

On 25/02/13 09:05, Cecile Danilo wrote:
I downloaded  LyX-2.0.5.1-Bundle-4.exe from 
http://www.lyx.org/Download and I have windows 7.
When I install Lyx, Miktex asks me if I want to install missing 
packages on the fly, of course I click Yes. It doesn t tell me 
anything about amsthm.sty  and later Miktex aks me if i want to update 
it. The first time I said yes.


While searching on the web how to install amsthm, I found that I was 
not the only one to have a problem with the amsthm! 
(http://latex-community.org/home/news/46-news-latex-distributions/469-miktex-amsmath)
I reinstall lyx and this time I refuse the update of Miktex and ... 
now it works!! The only annoying thing is that Miktex keeps asking me 
if I let it modify my computer when I want to create the pdf...


Cecile



-Message d'origine- From: Stephan Witt
Sent: Sunday, February 24, 2013 9:28 PM
To: Cecile Danilo
Cc: lyx-users@lists.lyx.org
Subject: Re: from mac to windows

Am 24.02.2013 um 18:59 schrieb Cecile Danilo cecile_dan...@yahoo.fr:

I downloaded amscls2 and amsmath2 from 
http://www.ams.org/publications/authors/tex/amslatex but since the 
installation seems quite complicated for me I tryed to uninstall 
MikTex which I couldn t because the directory wasn t empty???
My question is : should I remove directly Miktex? will that uninstall 
it?


How did you install LyX (and MikTeX)?

AFAIK the LyX installer for Windows tries hard to assist you to 
install the required packages.


How did you manage to get asked from MikTeX to install the amsthm.sty 
package and later it's missing? I'm not a MikTeX user, but either you 
are a LaTeX package manager like MikTeX or you have to add missing 
packages manually. You should avoid to mix these or you should know 
what you're doing.


You didn't say anything about your Windows version, or did I miss it?

Regards,
Stephan


-Message d'origine- From: Scott Kostyshak
Sent: Sunday, February 24, 2013 1:05 PM
To: Cecile Danilo
Cc: John Kane ; Lyx List
Subject: Re: from mac to windows

On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo 
cecile_dan...@yahoo.fr wrote:

Hello everyone!

Here is (again) a quick description of my problem:


I created my lyx files with a mac, I am now using a windows computer 
and
can't create the pdf of the files created with the mac. I have no 
problem if
I compile files created with windows. I send you one of the files 
that works

with mac but not with windows.
I use LyX-2.0.5.1

and a more complete description of the problem:

When I try to generate a pdflatex file I first have the following 
message:

“Do you autorize the MikTex package manager to modify the computer?”
and then this error message:
“Latex Error: File ‘amsthm.sty’ not found”


Hi,

You have to install the package that has the amsthm.sty file in
MiKTeX. The package is probably called 'amsthm'.

After you do this, open LyX and go to Tools  reconfigure.

Scott 







Re: from mac to windows

2013-02-25 Thread Stephan Witt
Am 24.02.2013 um 23:05 schrieb Cecile Danilo cecile_dan...@yahoo.fr:

 I downloaded  LyX-2.0.5.1-Bundle-4.exe from http://www.lyx.org/Download and I 
 have windows 7.
 When I install Lyx, Miktex asks me if I want to install missing packages on 
 the fly, of course I click Yes. It doesn t tell me anything about 
 amsthm.sty  and later Miktex aks me if i want to update it. The first time I 
 said yes.
 
 While searching on the web how to install amsthm, I found that I was not the 
 only one to have a problem with the amsthm! 
 (http://latex-community.org/home/news/46-news-latex-distributions/469-miktex-amsmath)
 I reinstall lyx and this time I refuse the update of Miktex and ... now it 
 works!! The only annoying thing is that Miktex keeps asking me if I let it 
 modify my computer when I want to create the pdf…

Nice to hear you've solved your problem. This looks like a problem with the 
LaTeX package manager MikTeX. I don't know if this is a problem with the 
version bundled with LyX or a general one. Uwe, are you aware of this problem 
with the bundled MikTeX?

Normally I'd propose to change the preference setting to install missing 
packages automatically, but apparently it doesn't work reliable (as Stephen 
wrote too).

Regards,
Stephan

 -Message d'origine- From: Stephan Witt
 Sent: Sunday, February 24, 2013 9:28 PM
 To: Cecile Danilo
 Cc: lyx-users@lists.lyx.org
 Subject: Re: from mac to windows
 
 Am 24.02.2013 um 18:59 schrieb Cecile Danilo cecile_dan...@yahoo.fr:
 
 I downloaded amscls2 and amsmath2 from 
 http://www.ams.org/publications/authors/tex/amslatex but since the 
 installation seems quite complicated for me I tryed to uninstall MikTex 
 which I couldn t because the directory wasn t empty???
 My question is : should I remove directly Miktex? will that uninstall it?
 
 How did you install LyX (and MikTeX)?
 
 AFAIK the LyX installer for Windows tries hard to assist you to install the 
 required packages.
 
 How did you manage to get asked from MikTeX to install the amsthm.sty package 
 and later it's missing? I'm not a MikTeX user, but either you are a LaTeX 
 package manager like MikTeX or you have to add missing packages manually. You 
 should avoid to mix these or you should know what you're doing.
 
 You didn't say anything about your Windows version, or did I miss it?
 
 Regards,
 Stephan
 
 -Message d'origine- From: Scott Kostyshak
 Sent: Sunday, February 24, 2013 1:05 PM
 To: Cecile Danilo
 Cc: John Kane ; Lyx List
 Subject: Re: from mac to windows
 
 On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo cecile_dan...@yahoo.fr 
 wrote:
 Hello everyone!
 
 Here is (again) a quick description of my problem:
 
 
 I created my lyx files with a mac, I am now using a windows computer and
 can't create the pdf of the files created with the mac. I have no problem if
 I compile files created with windows. I send you one of the files that works
 with mac but not with windows.
 I use LyX-2.0.5.1
 
 and a more complete description of the problem:
 
 When I try to generate a pdflatex file I first have the following message:
 “Do you autorize the MikTex package manager to modify the computer?”
 and then this error message:
 “Latex Error: File ‘amsthm.sty’ not found”
 
 Hi,
 
 You have to install the package that has the amsthm.sty file in
 MiKTeX. The package is probably called 'amsthm'.
 
 After you do this, open LyX and go to Tools  reconfigure.
 
 Scott 
 



Re: letter (KOMA-Script v.2) Space between closing and signature...........

2013-02-25 Thread Jean-Marie Pacquet

Le 25/02/2013 07:48, Charlie a écrit :

   On Sun, 24 Feb 2013 15:39:05 +0100 Jean-Marie mentioned this:
Re: letter (KOMA-Script v.2) Space between closing and
   signature


A picture being worth a thousand words, Figure 6.1 in the
scrguien.pdf is your friend.

   My reply follows:

Hello Jean-Marie,

   I have seen that diagram but again don't know how to work it. The
   different first commands like:

\@addtoplength
or
\@setplength or whatever.

Hi Charlie,

First, as my own copy of the guide is quite old (my figure 6.1 is now 
17.1), I updated it now from the last one dated 2012-05-15 which is here:

http://www.komascript.de/files/scrguien.pdf

So the page numbers I'm using now refer to this last version of the guide.
  


How does one understand these commands? How does one know which to use
where?


Read section 4.2 Pseudo-Lengths (page 135). With my words:
All these pseudo-lengths have a default value. If you want to change 
this default value and make it completly different you use \@setplength. 
If you want to slightly modify it, you use \@addtoplength.




I have attached the diagram you sent and added the commands that you
have helped me with in green and red.

I have also tried to make the signature on my letter template come to
the left of the page with these commands, none of which work:

\@setplength{sigindent}{\raggedleft} without success [...]
And many more, to numerous to mention here, but never the right one.


\@setplength{sigindent}{0mm}
will place the box containing the signature on the left side but this is 
already defined in the DIN.lco


It's probably worthwhile to make your own version of the DIN.lco that 
you are using. Copy it under a new name (myDIN.lco f.ex.) in the 
directory where you have your lyx letters and modify it as you wish:


Instead of using
\@addtoplength{firstheadvpos}{1cm}
after calling the original DIN.lco where this plength is set, you can 
replace inside your new lco the

\@setplength{firstheadvpos}{8mm}
by
\@setplength{firstheadvpos}{18mm}


Don't forget to call your lco file in the preamble:

\LoadLetterOption{myDIN}%



To place the signature inside the closing box on the left you have to 
change in your lco file

 \let\raggedsignature=\centering
to
\let\raggedsignature=\raggedright

HTH
--
Jean-Marie


Re: letter (KOMA-Script v.2) Space between closing and signature...........

2013-02-25 Thread Charlie
 On Mon, 25 Feb 2013 11:58:04 +0100 Jean-Marie Pacquet j...@pacquet.net
 sent this:

Le 25/02/2013 07:48, Charlie a écrit :
On Sun, 24 Feb 2013 15:39:05 +0100 Jean-Marie mentioned this:
  Re: letter (KOMA-Script v.2) Space between closing and
signature

 A picture being worth a thousand words, Figure 6.1 in the
 scrguien.pdf is your friend.
My reply follows:

 Hello Jean-Marie,

I have seen that diagram but again don't know how to work it.
  The different first commands like:

 \@addtoplength
 or
 \@setplength or whatever.
Hi Charlie,

First, as my own copy of the guide is quite old (my figure 6.1 is now 
17.1), I updated it now from the last one dated 2012-05-15 which is
   here: http://www.komascript.de/files/scrguien.pdf

So the page numbers I'm using now refer to this last version of the
   guide.
   

 How does one understand these commands? How does one know which to
  use where?

Read section 4.2 Pseudo-Lengths (page 135). With my words:
All these pseudo-lengths have a default value. If you want to change 
this default value and make it completly different you use
   \@setplength. If you want to slightly modify it, you use
   \@addtoplength.


 I have attached the diagram you sent and added the commands that you
 have helped me with in green and red.

 I have also tried to make the signature on my letter template come to
 the left of the page with these commands, none of which work:

 \@setplength{sigindent}{\raggedleft} without success [...]
 And many more, to numerous to mention here, but never the right one.

\@setplength{sigindent}{0mm}
will place the box containing the signature on the left side but this
   is already defined in the DIN.lco

It's probably worthwhile to make your own version of the DIN.lco that 
you are using. Copy it under a new name (myDIN.lco f.ex.) in the 
directory where you have your lyx letters and modify it as you wish:

Instead of using
\@addtoplength{firstheadvpos}{1cm}
after calling the original DIN.lco where this plength is set, you can 
replace inside your new lco the
\@setplength{firstheadvpos}{8mm}
by
\@setplength{firstheadvpos}{18mm}


Don't forget to call your lco file in the preamble:

\LoadLetterOption{myDIN}%



To place the signature inside the closing box on the left you have to 
change in your lco file
  \let\raggedsignature=\centering
to
\let\raggedsignature=\raggedright

HTH
-- 
Jean-Marie

Your explanation and guidance has been extremely helpful Jean-Marie.

I took your advice and tweaked the DIN.lco file and placed it in my
templates directory and added the absolute path to it in my preamble.

Again, thank you for your time and this enormous assistance.

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

I do not know how to distinguish between our waking life and a
dream. Are we not always living the life that we imagine we
are? .Henry David Thoreau

***

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

-


Re: Share LaTeX

2013-02-25 Thread Rich Shepard

On Sun, 24 Feb 2013, Scott Kostyshak wrote:


Do you just mean compile .lyx files on the cloud? Or do you mean a
complete LyX editor in a web browser? Is the idea that this would be
useful if you don't want to install anything on your computer or if you
want to be able to work from any computer (e.g. at the library)? But for
this one could just ssh with X into a computer that has LyX, no?


Scott,

  I and a collaborator (who is new to LaTeX) could both work on the same
document. I did not propose the LyX version but asked if anyone has
experience with this LaTeX-sharing tool for collabortive writing using
LaTeX. The alternatives are sending the .tex or .lyx file back and forth or
keeping it in a subversion (or git) repository and each checking out the
latest version.

  The 'cloud' is just the latest idea to generate business by those who have
spare room on file servers and untilled bandwidth available. Regardless of
whether a lyx version is attempted I (and perhaps others) would like to
learn of the experiences of those who have used the LaTeX version.

Rich




Re: Share LaTeX

2013-02-25 Thread Steve Litt
On Mon, 25 Feb 2013 05:57:24 -0800 (PST)
Rich Shepard rshep...@appl-ecosys.com wrote:

 On Sun, 24 Feb 2013, Scott Kostyshak wrote:
 
  Do you just mean compile .lyx files on the cloud? Or do you mean a
  complete LyX editor in a web browser? Is the idea that this would be
  useful if you don't want to install anything on your computer or if
  you want to be able to work from any computer (e.g. at the
  library)? But for this one could just ssh with X into a computer
  that has LyX, no?
 
 Scott,
 
I and a collaborator (who is new to LaTeX) could both work on the
 same document. I did not propose the LyX version but asked if anyone
 has experience with this LaTeX-sharing tool for collabortive writing
 using LaTeX. 

FWIW, when I main-authored Samba Unleashed, we simply divvied out the
chapters to the authors. It worked very well, and would fit right in
with LyX's master documents.

There were a few instances when a pair of authors wrote a chapter. In
that case, the publisher left the mechanics of the operation up to
those two authors.

HTH

SteveT


Re: bold matrix and vector. Need customization help.

2013-02-25 Thread Guenter Milde
On 2013-02-24, Paul Johnson wrote:
 I need customization help to change all math usages of a variable x to
 \bm{\mathrm{x}} AND to make it easier to enter those  in the future.

 Why?

 I'm late to the math style party.  Until now, I've not paid attention
 to the conventions of style for variables, matrices, and vectors. It
 was all math to me. I didn't put functions like sin or log as
 plain characters. 

In LyX, you should/could write \sin or \log for mathematical functions.

 I did not notice that d in  dx/dy is upright.
 Lots of complications! The LyX math guide explains a lot of this, I've
 just ignored it until now. But a Microsoft Word user pointed out my
 laziness and now must respond.

 Many people think a vector can't just be a math x, it is supposed to
 be roman, not italics, and bold.  

The standard (ISO 8-2) is bold-italic. This is also the
recommendation by many international science bodies (see below). However,
some non-standard house styles use upright bold.

The details of ISO-conforming mathematical typesetting are in
http://mirrors.ctan.org/macros/latex/contrib/isomath/isomath.html


 Political Analysis, in their style
 page 
 (http://www.oxfordjournals.org/our_journals/polana/for_authors/general.html),
 recommends using package bm for bolding things.

 They have this suggestion for raw LaTeX users, to create a macro \vm:


 I don't know why one would prefer bm over boldsymbol or the other
 things that appear now in the LyX math menus for fonts. Can I make LyX
 aware of \vm?

Add

 \usepackage{bm}

to DocumentSettingsLaTeX preamble.

Write

  \newcommand\vm[1]{\bm{\mathrm{#1}}}
  
in the document (as text). Select it and press Ctrl-M (or whatever your
binding for a math box is). The command should change into a math-macro
definition.

For bold-italic vectors, the definition steps would change to

Add

 \usepackage{isomath}

to DocumentSettingsLaTeX preamble.

Write

  \newcommand\vm[1]{\mathbfit{#1}}}
  
in the document (as text). Select it and press Ctrl-M 




Günter


[typefaces] National Institute of Standards and Technology (NIST),
Typefaces for Symbols in Scientific Manuscripts:
http://physics.nist.gov/cuu/pdf/typefaces.pdf.

[checklist] National Institute of Standards and Technology (NIST), SI
Unit rules and style conventions Check List for Reviewing Manuscripts:
http://physics.nist.gov/cuu/Units/checklist.html.

[fonts_for_symbols] International Union of Pure and Applied Chemistry
(IUPAC), On the use of italic and roman fonts for symbols in scientific
text, (Revised December 1999):
http://old.iupac.org/standing/idcns/fonts_for_symbols.html.

[SI] Bureau international des poids et mesures (BIPM), The International
System of Units (SI): http://www.bipm.org/en/si/si_brochure/.

[Green-Book] International Union of Pure and Applied Chemistry (IUPAC),
Quantities, Units and Symbols in Physical Chemistry, 3rd edition, RSC
Publishing, Cambridge 2007: [ISBN 0 85404 433 7; ISBN-13 978 0 85404 433
7].

[Red-Book] International Union of Pure and Applied Physics (IUPAP),
Symbols, Units, Nomenclature and Fundamental Constants in Physics:
http://metrology.wordpress.com/measurement-process-index/iupap-red-book/index-iupap-red-book/.




issues with tufte-book on LyX

2013-02-25 Thread Alex Vergara Gil

Hello LyXers!!

I´m managing some issues when I use tufte-book on my LyX 2.0.4 in windows 7 
x64 SP1.


1. Section labels doesn´t appear on Contents Table (nor there is an option 
to force this under document-properties-numbering and IG).
2. Cannot add figures as title (I need an icon and a caption in the title, 
it returns an error of some a.cfg and at.cfg files missing, but I have a 
full MikTeX 2.9 installation. Only with the caption works fine but when I 
add an inline figure it crash). I need the figure only in the title in the 
first page, not in the rest, but why not? At the end it is hust the icon of 
my app with 32x32 bits size. (Yeah I'm writing an user manual)
3. Date, address and address_right doesn´t appear in front page, so WTH are 
these? again if I use them with a figure it crash with the same errors 
mentioned above.


For the minimal example you can refer to the tufte-book.lyx that appears in 
the example folder, so I think the issue is in the tufte-book module.


Is this an intended behaviour?? In this case how can I change this? Do I 
need to rewrite the module? I'm not a LaTeX expert so I don't know if all 
these can be achieved in LaTeX.


Best regards

Alex Vergara
MSc. Nuclear Physics
SSDL, CPHR, Cuba
http://www.cphr.edu.cu 



Re: Share LaTeX

2013-02-25 Thread EK

  
  
I was looking yesterday at the newly-release Google "Chromebook
Pixel", which has a gorgeous display and other nice features. 
However, since you cannot install much on it, having a
Lyx-in-the-cloud capability could have converted it from a useless
item to a desirable device (at least for me).

Ehud Kaplan


On 02/25/2013 08:57 AM, Rich Shepard
  wrote:

On Sun, 24 Feb 2013, Scott Kostyshak wrote:
  
  
  Do you just mean compile .lyx files on the
cloud? Or do you mean a

complete LyX editor in a web browser? Is the idea that this
would be

useful if you don't want to install anything on your computer or
if you

want to be able to work from any computer (e.g. at the library)?
But for

this one could just ssh with X into a computer that has LyX, no?

  
  
  Scott,
  
  
   I and a collaborator (who is new to LaTeX) could both work on
  the same
  
  document. I did not propose the LyX version but asked if anyone
  has
  
  experience with this LaTeX-sharing tool for collabortive writing
  using
  
  LaTeX. The alternatives are sending the .tex or .lyx file back and
  forth or
  
  keeping it in a subversion (or git) repository and each checking
  out the
  
  latest version.
  
  
   The 'cloud' is just the latest idea to generate business by
  those who have
  
  spare room on file servers and untilled bandwidth available.
  Regardless of
  
  whether a lyx version is attempted I (and perhaps others) would
  like to
  
  learn of the experiences of those who have used the LaTeX version.
  
  
  Rich
  
  
  


-- 
  
  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 Ichan school of medicine at Mount Sinai
  One Gustave Levy Place, 
  NY, NY, 10029 

  



Sidecap

2013-02-25 Thread EK

  
  
I tried to use the sidecap module, to create a figure with its
caption on the side, rather than below the figure. 
I got an error message about missing \end{sidecap}. I think this
used to work in previous versions-- 
I am currently using Lyx 2.0.5.1 under Lubuntu 12.10 (64 bit).
Any ideas?
Thanks,

-- 
  
  Ehud Kaplan,

  



Re: Share LaTeX

2013-02-25 Thread Scott Kostyshak
Hi Rich,

On Mon, Feb 25, 2013 at 8:57 AM, Rich Shepard rshep...@appl-ecosys.com wrote:
 On Sun, 24 Feb 2013, Scott Kostyshak wrote:

 Do you just mean compile .lyx files on the cloud? Or do you mean a
 complete LyX editor in a web browser? Is the idea that this would be
 useful if you don't want to install anything on your computer or if you
 want to be able to work from any computer (e.g. at the library)? But for
 this one could just ssh with X into a computer that has LyX, no?


 Scott,

   I and a collaborator (who is new to LaTeX) could both work on the same
 document. I did not propose the LyX version but asked if anyone has
 experience with this LaTeX-sharing tool for collabortive writing using
 LaTeX. The alternatives are sending the .tex or .lyx file back and forth or
 keeping it in a subversion (or git) repository and each checking out the
 latest version.

Thanks for the explanation. If your collaborator is new to LaTeX,
he/she might also be new to Git which also has a learning curve so I
can see how this alternative would indeed be easier.

   The 'cloud' is just the latest idea to generate business by those who have
 spare room on file servers and untilled bandwidth available. Regardless of
 whether a lyx version is attempted I (and perhaps others) would like to
 learn of the experiences of those who have used the LaTeX version.

Makes sense. Thanks for sharing.

Scott


Re: Share LaTeX

2013-02-25 Thread Scott Kostyshak
Hi Ehud

On Mon, Feb 25, 2013 at 1:58 PM, EK ehud.kap...@gmail.com wrote:
 I was looking yesterday at the newly-release Google Chromebook Pixel,
 which has a gorgeous display and other nice features.
 However, since you cannot install much on it, having a Lyx-in-the-cloud
 capability could have converted it from a useless item to a desirable device
 (at least for me).

Great example. I agree that this would be nice. It's not impossible.
See, for example:
http://www.phoronix.com/scan.php?page=news_itempx=MTI3NDc
But I doubt that it will ever happen for something like LyX.
I think a more practical alternative in this case would be to use SSH
with X. I guess your point though is that the pixel doesn't even allow
you to use SSH? In this case, I wonder if there are web services that
implement this (through Java?). I know that Amazon has a web SSH
client that allows you to connect to an instance but I don't imagine
it can do X.

As to not being able to install much on it, check this out:
http://liliputing.com/2013/02/the-chromebook-pixel-can-run-ubuntu-linux-mint-other-distros.html

Scott


Re: Share LaTeX

2013-02-25 Thread Rich Shepard

On Mon, 25 Feb 2013, Scott Kostyshak wrote:


Thanks for the explanation. If your collaborator is new to LaTeX, he/she
might also be new to Git which also has a learning curve so I can see how
this alternative would indeed be easier.


  He's a software engineer for ~30 years.

Rich



Re: Share LaTeX

2013-02-25 Thread Nico Williams
Mind you, merging LyX contents via a VCS is not easy...

What I've been doing so far with my colleagues is to pass around a
your turn e-mail, then we each make our edits in turn with change
tracking, and one of us (or the next one to get a turn) merges edits.

It'd be nice to have a LyX diff/merge feature.  (We've had a thread about this.)

Nico
--


Re: pdf content saved as images

2013-02-25 Thread Scott Kostyshak
Hi bcsikos,

On Mon, Feb 25, 2013 at 5:59 AM, Csikos Bela bcsikos...@freemail.hu wrote:
 Hello:

 Is it possible in lyx or latex to save or export a document so that the 
 resulting
 content would be bitmap images? That is, the result would be similar to when
 I scan a text as jpg (or other) and save it as pdf (embed the image in pdf).

Yes, on Ubuntu you can convert with just the following:
convert Intro.pdf temp.png
You could put this into a converter. You have to be careful with
multiple pages though because I don't think most bitmap formats have a
concept of pages.

 And/or is it possible to make a pdf which is not searchable or indexable?

This must be possible but I have no experience with it. A manual way
to do this would be to convert from pdf to png and then convert back
to pdf and then join all of the pdf pages together with pdftk.

Best,

Scott


Re: Figure numbers change tracking

2013-02-25 Thread Scott Kostyshak
On Fri, Feb 8, 2013 at 2:22 PM, Scott Kostyshak skost...@princeton.edu wrote:
 On Fri, Feb 8, 2013 at 11:48 AM, EK ehud.kap...@gmail.com wrote:
 OK-- further research uncovered the culprit for the first issue (the need to
 accept any change made before I could compile).
 In my preamble I had the following:

 \usepackage{enumitem}

 \setlist{leftmargin=0mm, itemindent=3mm, itemsep=0.75mm,nolistsep}

 \usepackage[pdftex,outerbars]{changebar}

 \renewcommand{\lyxadded}[3]{{\cbstart\color{lyxadded}{}#3\cbend}}

 \renewcommand{\lyxdeleted}[3]{{\cbstart\color{lyxdeleted}\sout{#3}\cbend}}


 Commenting these lines out solved the problem.  I have not yet discovered
 the reason for the failure to correctly reference a wrap figure in a box.

 Thanks for keeping us updated. Hopefully we can figure out the second issue

Hi Ehud,

The reason you get Figure D is that the label is outside of the
figure caption. Thus, LaTeX thinks that you want to reference the
section, not the figure. Your sections are lettered. Thus, this must
have been in the 4th section of your LyX document.

To fix this, put the label inside the caption (I think anywhere is
fine) of the graphic. Does that work?

Best,

Scott


Re: from mac to windows

2013-02-25 Thread Stephen

Hi Cecile,

I have also had problems with Miktex not installing missing packages 
properly, see my post where I comment on  a solution that fixed it for 
me. ymmv


http://www.mail-archive.com/lyx-users@lists.lyx.org/msg94623.html

Steve

On 25/02/13 09:05, Cecile Danilo wrote:
I downloaded  LyX-2.0.5.1-Bundle-4.exe from 
http://www.lyx.org/Download and I have windows 7.
When I install Lyx, Miktex asks me if I want to install missing 
packages on the fly, of course I click Yes. It doesn t tell me 
anything about amsthm.sty  and later Miktex aks me if i want to update 
it. The first time I said yes.


While searching on the web how to install amsthm, I found that I was 
not the only one to have a problem with the amsthm! 
(http://latex-community.org/home/news/46-news-latex-distributions/469-miktex-amsmath)
I reinstall lyx and this time I refuse the update of Miktex and ... 
now it works!! The only annoying thing is that Miktex keeps asking me 
if I let it modify my computer when I want to create the pdf...


Cecile



-Message d'origine- From: Stephan Witt
Sent: Sunday, February 24, 2013 9:28 PM
To: Cecile Danilo
Cc: lyx-users@lists.lyx.org
Subject: Re: from mac to windows

Am 24.02.2013 um 18:59 schrieb Cecile Danilo cecile_dan...@yahoo.fr:

I downloaded amscls2 and amsmath2 from 
http://www.ams.org/publications/authors/tex/amslatex but since the 
installation seems quite complicated for me I tryed to uninstall 
MikTex which I couldn t because the directory wasn t empty???
My question is : should I remove directly Miktex? will that uninstall 
it?


How did you install LyX (and MikTeX)?

AFAIK the LyX installer for Windows tries hard to assist you to 
install the required packages.


How did you manage to get asked from MikTeX to install the amsthm.sty 
package and later it's missing? I'm not a MikTeX user, but either you 
are a LaTeX package manager like MikTeX or you have to add missing 
packages manually. You should avoid to mix these or you should know 
what you're doing.


You didn't say anything about your Windows version, or did I miss it?

Regards,
Stephan


-Message d'origine- From: Scott Kostyshak
Sent: Sunday, February 24, 2013 1:05 PM
To: Cecile Danilo
Cc: John Kane ; Lyx List
Subject: Re: from mac to windows

On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo 
cecile_dan...@yahoo.fr wrote:

Hello everyone!

Here is (again) a quick description of my problem:


I created my lyx files with a mac, I am now using a windows computer 
and
can't create the pdf of the files created with the mac. I have no 
problem if
I compile files created with windows. I send you one of the files 
that works

with mac but not with windows.
I use LyX-2.0.5.1

and a more complete description of the problem:

When I try to generate a pdflatex file I first have the following 
message:

“Do you autorize the MikTex package manager to modify the computer?”
and then this error message:
“Latex Error: File ‘amsthm.sty’ not found”


Hi,

You have to install the package that has the amsthm.sty file in
MiKTeX. The package is probably called 'amsthm'.

After you do this, open LyX and go to Tools  reconfigure.

Scott 







Re: from mac to windows

2013-02-25 Thread Stephan Witt
Am 24.02.2013 um 23:05 schrieb Cecile Danilo cecile_dan...@yahoo.fr:

 I downloaded  LyX-2.0.5.1-Bundle-4.exe from http://www.lyx.org/Download and I 
 have windows 7.
 When I install Lyx, Miktex asks me if I want to install missing packages on 
 the fly, of course I click Yes. It doesn t tell me anything about 
 amsthm.sty  and later Miktex aks me if i want to update it. The first time I 
 said yes.
 
 While searching on the web how to install amsthm, I found that I was not the 
 only one to have a problem with the amsthm! 
 (http://latex-community.org/home/news/46-news-latex-distributions/469-miktex-amsmath)
 I reinstall lyx and this time I refuse the update of Miktex and ... now it 
 works!! The only annoying thing is that Miktex keeps asking me if I let it 
 modify my computer when I want to create the pdf…

Nice to hear you've solved your problem. This looks like a problem with the 
LaTeX package manager MikTeX. I don't know if this is a problem with the 
version bundled with LyX or a general one. Uwe, are you aware of this problem 
with the bundled MikTeX?

Normally I'd propose to change the preference setting to install missing 
packages automatically, but apparently it doesn't work reliable (as Stephen 
wrote too).

Regards,
Stephan

 -Message d'origine- From: Stephan Witt
 Sent: Sunday, February 24, 2013 9:28 PM
 To: Cecile Danilo
 Cc: lyx-users@lists.lyx.org
 Subject: Re: from mac to windows
 
 Am 24.02.2013 um 18:59 schrieb Cecile Danilo cecile_dan...@yahoo.fr:
 
 I downloaded amscls2 and amsmath2 from 
 http://www.ams.org/publications/authors/tex/amslatex but since the 
 installation seems quite complicated for me I tryed to uninstall MikTex 
 which I couldn t because the directory wasn t empty???
 My question is : should I remove directly Miktex? will that uninstall it?
 
 How did you install LyX (and MikTeX)?
 
 AFAIK the LyX installer for Windows tries hard to assist you to install the 
 required packages.
 
 How did you manage to get asked from MikTeX to install the amsthm.sty package 
 and later it's missing? I'm not a MikTeX user, but either you are a LaTeX 
 package manager like MikTeX or you have to add missing packages manually. You 
 should avoid to mix these or you should know what you're doing.
 
 You didn't say anything about your Windows version, or did I miss it?
 
 Regards,
 Stephan
 
 -Message d'origine- From: Scott Kostyshak
 Sent: Sunday, February 24, 2013 1:05 PM
 To: Cecile Danilo
 Cc: John Kane ; Lyx List
 Subject: Re: from mac to windows
 
 On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo cecile_dan...@yahoo.fr 
 wrote:
 Hello everyone!
 
 Here is (again) a quick description of my problem:
 
 
 I created my lyx files with a mac, I am now using a windows computer and
 can't create the pdf of the files created with the mac. I have no problem if
 I compile files created with windows. I send you one of the files that works
 with mac but not with windows.
 I use LyX-2.0.5.1
 
 and a more complete description of the problem:
 
 When I try to generate a pdflatex file I first have the following message:
 “Do you autorize the MikTex package manager to modify the computer?”
 and then this error message:
 “Latex Error: File ‘amsthm.sty’ not found”
 
 Hi,
 
 You have to install the package that has the amsthm.sty file in
 MiKTeX. The package is probably called 'amsthm'.
 
 After you do this, open LyX and go to Tools  reconfigure.
 
 Scott 
 



Re: letter (KOMA-Script v.2) Space between closing and signature...........

2013-02-25 Thread Jean-Marie Pacquet

Le 25/02/2013 07:48, Charlie a écrit :

   On Sun, 24 Feb 2013 15:39:05 +0100 Jean-Marie mentioned this:
Re: letter (KOMA-Script v.2) Space between closing and
   signature


A picture being worth a thousand words, Figure 6.1 in the
scrguien.pdf is your friend.

   My reply follows:

Hello Jean-Marie,

   I have seen that diagram but again don't know how to work it. The
   different first commands like:

\@addtoplength
or
\@setplength or whatever.

Hi Charlie,

First, as my own copy of the guide is quite old (my figure 6.1 is now 
17.1), I updated it now from the last one dated 2012-05-15 which is here:

http://www.komascript.de/files/scrguien.pdf

So the page numbers I'm using now refer to this last version of the guide.
  


How does one understand these commands? How does one know which to use
where?


Read section 4.2 Pseudo-Lengths (page 135). With my words:
All these pseudo-lengths have a default value. If you want to change 
this default value and make it completly different you use \@setplength. 
If you want to slightly modify it, you use \@addtoplength.




I have attached the diagram you sent and added the commands that you
have helped me with in green and red.

I have also tried to make the signature on my letter template come to
the left of the page with these commands, none of which work:

\@setplength{sigindent}{\raggedleft} without success [...]
And many more, to numerous to mention here, but never the right one.


\@setplength{sigindent}{0mm}
will place the box containing the signature on the left side but this is 
already defined in the DIN.lco


It's probably worthwhile to make your own version of the DIN.lco that 
you are using. Copy it under a new name (myDIN.lco f.ex.) in the 
directory where you have your lyx letters and modify it as you wish:


Instead of using
\@addtoplength{firstheadvpos}{1cm}
after calling the original DIN.lco where this plength is set, you can 
replace inside your new lco the

\@setplength{firstheadvpos}{8mm}
by
\@setplength{firstheadvpos}{18mm}


Don't forget to call your lco file in the preamble:

\LoadLetterOption{myDIN}%



To place the signature inside the closing box on the left you have to 
change in your lco file

 \let\raggedsignature=\centering
to
\let\raggedsignature=\raggedright

HTH
--
Jean-Marie


pdf content saved as images

2013-02-25 Thread Csikos Bela
Hello:

Is it possible in lyx or latex to save or export a document so that the 
resulting
content would be bitmap images? That is, the result would be similar to when
I scan a text as jpg (or other) and save it as pdf (embed the image in pdf).

And/or is it possible to make a pdf which is not searchable or indexable?

Thanks,

bcsikos



Re: letter (KOMA-Script v.2) Space between closing and signature...........

2013-02-25 Thread Charlie
 On Mon, 25 Feb 2013 11:58:04 +0100 Jean-Marie Pacquet j...@pacquet.net
 sent this:

Le 25/02/2013 07:48, Charlie a écrit :
On Sun, 24 Feb 2013 15:39:05 +0100 Jean-Marie mentioned this:
  Re: letter (KOMA-Script v.2) Space between closing and
signature

 A picture being worth a thousand words, Figure 6.1 in the
 scrguien.pdf is your friend.
My reply follows:

 Hello Jean-Marie,

I have seen that diagram but again don't know how to work it.
  The different first commands like:

 \@addtoplength
 or
 \@setplength or whatever.
Hi Charlie,

First, as my own copy of the guide is quite old (my figure 6.1 is now 
17.1), I updated it now from the last one dated 2012-05-15 which is
   here: http://www.komascript.de/files/scrguien.pdf

So the page numbers I'm using now refer to this last version of the
   guide.
   

 How does one understand these commands? How does one know which to
  use where?

Read section 4.2 Pseudo-Lengths (page 135). With my words:
All these pseudo-lengths have a default value. If you want to change 
this default value and make it completly different you use
   \@setplength. If you want to slightly modify it, you use
   \@addtoplength.


 I have attached the diagram you sent and added the commands that you
 have helped me with in green and red.

 I have also tried to make the signature on my letter template come to
 the left of the page with these commands, none of which work:

 \@setplength{sigindent}{\raggedleft} without success [...]
 And many more, to numerous to mention here, but never the right one.

\@setplength{sigindent}{0mm}
will place the box containing the signature on the left side but this
   is already defined in the DIN.lco

It's probably worthwhile to make your own version of the DIN.lco that 
you are using. Copy it under a new name (myDIN.lco f.ex.) in the 
directory where you have your lyx letters and modify it as you wish:

Instead of using
\@addtoplength{firstheadvpos}{1cm}
after calling the original DIN.lco where this plength is set, you can 
replace inside your new lco the
\@setplength{firstheadvpos}{8mm}
by
\@setplength{firstheadvpos}{18mm}


Don't forget to call your lco file in the preamble:

\LoadLetterOption{myDIN}%



To place the signature inside the closing box on the left you have to 
change in your lco file
  \let\raggedsignature=\centering
to
\let\raggedsignature=\raggedright

HTH
-- 
Jean-Marie

Your explanation and guidance has been extremely helpful Jean-Marie.

I took your advice and tweaked the DIN.lco file and placed it in my
templates directory and added the absolute path to it in my preamble.

Again, thank you for your time and this enormous assistance.

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

I do not know how to distinguish between our waking life and a
dream. Are we not always living the life that we imagine we
are? .Henry David Thoreau

***

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

-


Re: Share LaTeX

2013-02-25 Thread Rich Shepard

On Sun, 24 Feb 2013, Scott Kostyshak wrote:


Do you just mean compile .lyx files on the cloud? Or do you mean a
complete LyX editor in a web browser? Is the idea that this would be
useful if you don't want to install anything on your computer or if you
want to be able to work from any computer (e.g. at the library)? But for
this one could just ssh with X into a computer that has LyX, no?


Scott,

  I and a collaborator (who is new to LaTeX) could both work on the same
document. I did not propose the LyX version but asked if anyone has
experience with this LaTeX-sharing tool for collabortive writing using
LaTeX. The alternatives are sending the .tex or .lyx file back and forth or
keeping it in a subversion (or git) repository and each checking out the
latest version.

  The 'cloud' is just the latest idea to generate business by those who have
spare room on file servers and untilled bandwidth available. Regardless of
whether a lyx version is attempted I (and perhaps others) would like to
learn of the experiences of those who have used the LaTeX version.

Rich




Re: Share LaTeX

2013-02-25 Thread Steve Litt
On Mon, 25 Feb 2013 05:57:24 -0800 (PST)
Rich Shepard rshep...@appl-ecosys.com wrote:

 On Sun, 24 Feb 2013, Scott Kostyshak wrote:
 
  Do you just mean compile .lyx files on the cloud? Or do you mean a
  complete LyX editor in a web browser? Is the idea that this would be
  useful if you don't want to install anything on your computer or if
  you want to be able to work from any computer (e.g. at the
  library)? But for this one could just ssh with X into a computer
  that has LyX, no?
 
 Scott,
 
I and a collaborator (who is new to LaTeX) could both work on the
 same document. I did not propose the LyX version but asked if anyone
 has experience with this LaTeX-sharing tool for collabortive writing
 using LaTeX. 

FWIW, when I main-authored Samba Unleashed, we simply divvied out the
chapters to the authors. It worked very well, and would fit right in
with LyX's master documents.

There were a few instances when a pair of authors wrote a chapter. In
that case, the publisher left the mechanics of the operation up to
those two authors.

HTH

SteveT


Re: bold matrix and vector. Need customization help.

2013-02-25 Thread Guenter Milde
On 2013-02-24, Paul Johnson wrote:
 I need customization help to change all math usages of a variable x to
 \bm{\mathrm{x}} AND to make it easier to enter those  in the future.

 Why?

 I'm late to the math style party.  Until now, I've not paid attention
 to the conventions of style for variables, matrices, and vectors. It
 was all math to me. I didn't put functions like sin or log as
 plain characters. 

In LyX, you should/could write \sin or \log for mathematical functions.

 I did not notice that d in  dx/dy is upright.
 Lots of complications! The LyX math guide explains a lot of this, I've
 just ignored it until now. But a Microsoft Word user pointed out my
 laziness and now must respond.

 Many people think a vector can't just be a math x, it is supposed to
 be roman, not italics, and bold.  

The standard (ISO 8-2) is bold-italic. This is also the
recommendation by many international science bodies (see below). However,
some non-standard house styles use upright bold.

The details of ISO-conforming mathematical typesetting are in
http://mirrors.ctan.org/macros/latex/contrib/isomath/isomath.html


 Political Analysis, in their style
 page 
 (http://www.oxfordjournals.org/our_journals/polana/for_authors/general.html),
 recommends using package bm for bolding things.

 They have this suggestion for raw LaTeX users, to create a macro \vm:


 I don't know why one would prefer bm over boldsymbol or the other
 things that appear now in the LyX math menus for fonts. Can I make LyX
 aware of \vm?

Add

 \usepackage{bm}

to DocumentSettingsLaTeX preamble.

Write

  \newcommand\vm[1]{\bm{\mathrm{#1}}}
  
in the document (as text). Select it and press Ctrl-M (or whatever your
binding for a math box is). The command should change into a math-macro
definition.

For bold-italic vectors, the definition steps would change to

Add

 \usepackage{isomath}

to DocumentSettingsLaTeX preamble.

Write

  \newcommand\vm[1]{\mathbfit{#1}}}
  
in the document (as text). Select it and press Ctrl-M 




Günter


[typefaces] National Institute of Standards and Technology (NIST),
Typefaces for Symbols in Scientific Manuscripts:
http://physics.nist.gov/cuu/pdf/typefaces.pdf.

[checklist] National Institute of Standards and Technology (NIST), SI
Unit rules and style conventions Check List for Reviewing Manuscripts:
http://physics.nist.gov/cuu/Units/checklist.html.

[fonts_for_symbols] International Union of Pure and Applied Chemistry
(IUPAC), On the use of italic and roman fonts for symbols in scientific
text, (Revised December 1999):
http://old.iupac.org/standing/idcns/fonts_for_symbols.html.

[SI] Bureau international des poids et mesures (BIPM), The International
System of Units (SI): http://www.bipm.org/en/si/si_brochure/.

[Green-Book] International Union of Pure and Applied Chemistry (IUPAC),
Quantities, Units and Symbols in Physical Chemistry, 3rd edition, RSC
Publishing, Cambridge 2007: [ISBN 0 85404 433 7; ISBN-13 978 0 85404 433
7].

[Red-Book] International Union of Pure and Applied Physics (IUPAP),
Symbols, Units, Nomenclature and Fundamental Constants in Physics:
http://metrology.wordpress.com/measurement-process-index/iupap-red-book/index-iupap-red-book/.




issues with tufte-book on LyX

2013-02-25 Thread Alex Vergara Gil

Hello LyXers!!

I´m managing some issues when I use tufte-book on my LyX 2.0.4 in windows 7 
x64 SP1.


1. Section labels doesn´t appear on Contents Table (nor there is an option 
to force this under document-properties-numbering and IG).
2. Cannot add figures as title (I need an icon and a caption in the title, 
it returns an error of some a.cfg and at.cfg files missing, but I have a 
full MikTeX 2.9 installation. Only with the caption works fine but when I 
add an inline figure it crash). I need the figure only in the title in the 
first page, not in the rest, but why not? At the end it is hust the icon of 
my app with 32x32 bits size. (Yeah I'm writing an user manual)
3. Date, address and address_right doesn´t appear in front page, so WTH are 
these? again if I use them with a figure it crash with the same errors 
mentioned above.


For the minimal example you can refer to the tufte-book.lyx that appears in 
the example folder, so I think the issue is in the tufte-book module.


Is this an intended behaviour?? In this case how can I change this? Do I 
need to rewrite the module? I'm not a LaTeX expert so I don't know if all 
these can be achieved in LaTeX.


Best regards

Alex Vergara
MSc. Nuclear Physics
SSDL, CPHR, Cuba
http://www.cphr.edu.cu 



Re: Share LaTeX

2013-02-25 Thread EK

  
  
I was looking yesterday at the newly-release Google "Chromebook
Pixel", which has a gorgeous display and other nice features. 
However, since you cannot install much on it, having a
Lyx-in-the-cloud capability could have converted it from a useless
item to a desirable device (at least for me).

Ehud Kaplan


On 02/25/2013 08:57 AM, Rich Shepard
  wrote:

On Sun, 24 Feb 2013, Scott Kostyshak wrote:
  
  
  Do you just mean compile .lyx files on the
cloud? Or do you mean a

complete LyX editor in a web browser? Is the idea that this
would be

useful if you don't want to install anything on your computer or
if you

want to be able to work from any computer (e.g. at the library)?
But for

this one could just ssh with X into a computer that has LyX, no?

  
  
  Scott,
  
  
   I and a collaborator (who is new to LaTeX) could both work on
  the same
  
  document. I did not propose the LyX version but asked if anyone
  has
  
  experience with this LaTeX-sharing tool for collabortive writing
  using
  
  LaTeX. The alternatives are sending the .tex or .lyx file back and
  forth or
  
  keeping it in a subversion (or git) repository and each checking
  out the
  
  latest version.
  
  
   The 'cloud' is just the latest idea to generate business by
  those who have
  
  spare room on file servers and untilled bandwidth available.
  Regardless of
  
  whether a lyx version is attempted I (and perhaps others) would
  like to
  
  learn of the experiences of those who have used the LaTeX version.
  
  
  Rich
  
  
  


-- 
  
  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 Ichan school of medicine at Mount Sinai
  One Gustave Levy Place, 
  NY, NY, 10029 

  



Sidecap

2013-02-25 Thread EK

  
  
I tried to use the sidecap module, to create a figure with its
caption on the side, rather than below the figure. 
I got an error message about missing \end{sidecap}. I think this
used to work in previous versions-- 
I am currently using Lyx 2.0.5.1 under Lubuntu 12.10 (64 bit).
Any ideas?
Thanks,

-- 
  
  Ehud Kaplan,

  



Re: Share LaTeX

2013-02-25 Thread Scott Kostyshak
Hi Rich,

On Mon, Feb 25, 2013 at 8:57 AM, Rich Shepard rshep...@appl-ecosys.com wrote:
 On Sun, 24 Feb 2013, Scott Kostyshak wrote:

 Do you just mean compile .lyx files on the cloud? Or do you mean a
 complete LyX editor in a web browser? Is the idea that this would be
 useful if you don't want to install anything on your computer or if you
 want to be able to work from any computer (e.g. at the library)? But for
 this one could just ssh with X into a computer that has LyX, no?


 Scott,

   I and a collaborator (who is new to LaTeX) could both work on the same
 document. I did not propose the LyX version but asked if anyone has
 experience with this LaTeX-sharing tool for collabortive writing using
 LaTeX. The alternatives are sending the .tex or .lyx file back and forth or
 keeping it in a subversion (or git) repository and each checking out the
 latest version.

Thanks for the explanation. If your collaborator is new to LaTeX,
he/she might also be new to Git which also has a learning curve so I
can see how this alternative would indeed be easier.

   The 'cloud' is just the latest idea to generate business by those who have
 spare room on file servers and untilled bandwidth available. Regardless of
 whether a lyx version is attempted I (and perhaps others) would like to
 learn of the experiences of those who have used the LaTeX version.

Makes sense. Thanks for sharing.

Scott


Re: Share LaTeX

2013-02-25 Thread Scott Kostyshak
Hi Ehud

On Mon, Feb 25, 2013 at 1:58 PM, EK ehud.kap...@gmail.com wrote:
 I was looking yesterday at the newly-release Google Chromebook Pixel,
 which has a gorgeous display and other nice features.
 However, since you cannot install much on it, having a Lyx-in-the-cloud
 capability could have converted it from a useless item to a desirable device
 (at least for me).

Great example. I agree that this would be nice. It's not impossible.
See, for example:
http://www.phoronix.com/scan.php?page=news_itempx=MTI3NDc
But I doubt that it will ever happen for something like LyX.
I think a more practical alternative in this case would be to use SSH
with X. I guess your point though is that the pixel doesn't even allow
you to use SSH? In this case, I wonder if there are web services that
implement this (through Java?). I know that Amazon has a web SSH
client that allows you to connect to an instance but I don't imagine
it can do X.

As to not being able to install much on it, check this out:
http://liliputing.com/2013/02/the-chromebook-pixel-can-run-ubuntu-linux-mint-other-distros.html

Scott


Re: Share LaTeX

2013-02-25 Thread Rich Shepard

On Mon, 25 Feb 2013, Scott Kostyshak wrote:


Thanks for the explanation. If your collaborator is new to LaTeX, he/she
might also be new to Git which also has a learning curve so I can see how
this alternative would indeed be easier.


  He's a software engineer for ~30 years.

Rich



Re: Share LaTeX

2013-02-25 Thread Nico Williams
Mind you, merging LyX contents via a VCS is not easy...

What I've been doing so far with my colleagues is to pass around a
your turn e-mail, then we each make our edits in turn with change
tracking, and one of us (or the next one to get a turn) merges edits.

It'd be nice to have a LyX diff/merge feature.  (We've had a thread about this.)

Nico
--


Re: pdf content saved as images

2013-02-25 Thread Scott Kostyshak
Hi bcsikos,

On Mon, Feb 25, 2013 at 5:59 AM, Csikos Bela bcsikos...@freemail.hu wrote:
 Hello:

 Is it possible in lyx or latex to save or export a document so that the 
 resulting
 content would be bitmap images? That is, the result would be similar to when
 I scan a text as jpg (or other) and save it as pdf (embed the image in pdf).

Yes, on Ubuntu you can convert with just the following:
convert Intro.pdf temp.png
You could put this into a converter. You have to be careful with
multiple pages though because I don't think most bitmap formats have a
concept of pages.

 And/or is it possible to make a pdf which is not searchable or indexable?

This must be possible but I have no experience with it. A manual way
to do this would be to convert from pdf to png and then convert back
to pdf and then join all of the pdf pages together with pdftk.

Best,

Scott


Re: Figure numbers change tracking

2013-02-25 Thread Scott Kostyshak
On Fri, Feb 8, 2013 at 2:22 PM, Scott Kostyshak skost...@princeton.edu wrote:
 On Fri, Feb 8, 2013 at 11:48 AM, EK ehud.kap...@gmail.com wrote:
 OK-- further research uncovered the culprit for the first issue (the need to
 accept any change made before I could compile).
 In my preamble I had the following:

 \usepackage{enumitem}

 \setlist{leftmargin=0mm, itemindent=3mm, itemsep=0.75mm,nolistsep}

 \usepackage[pdftex,outerbars]{changebar}

 \renewcommand{\lyxadded}[3]{{\cbstart\color{lyxadded}{}#3\cbend}}

 \renewcommand{\lyxdeleted}[3]{{\cbstart\color{lyxdeleted}\sout{#3}\cbend}}


 Commenting these lines out solved the problem.  I have not yet discovered
 the reason for the failure to correctly reference a wrap figure in a box.

 Thanks for keeping us updated. Hopefully we can figure out the second issue

Hi Ehud,

The reason you get Figure D is that the label is outside of the
figure caption. Thus, LaTeX thinks that you want to reference the
section, not the figure. Your sections are lettered. Thus, this must
have been in the 4th section of your LyX document.

To fix this, put the label inside the caption (I think anywhere is
fine) of the graphic. Does that work?

Best,

Scott


Re: from mac to windows

2013-02-25 Thread Stephen

Hi Cecile,

I have also had problems with Miktex not installing missing packages 
properly, see my post where I comment on  a solution that fixed it for 
me. ymmv


http://www.mail-archive.com/lyx-users@lists.lyx.org/msg94623.html

Steve

On 25/02/13 09:05, Cecile Danilo wrote:
I downloaded  LyX-2.0.5.1-Bundle-4.exe from 
http://www.lyx.org/Download and I have windows 7.
When I install Lyx, Miktex asks me if I want to install missing 
packages on the fly, of course I click "Yes". It doesn t tell me 
anything about amsthm.sty  and later Miktex aks me if i want to update 
it. The first time I said yes.


While searching on the web how to install amsthm, I found that I was 
not the only one to have a problem with the amsthm! 
(http://latex-community.org/home/news/46-news-latex-distributions/469-miktex-amsmath)
I reinstall lyx and this time I refuse the update of Miktex and ... 
now it works!! The only annoying thing is that Miktex keeps asking me 
if I let it modify my computer when I want to create the pdf...


Cecile



-Message d'origine- From: Stephan Witt
Sent: Sunday, February 24, 2013 9:28 PM
To: Cecile Danilo
Cc: lyx-users@lists.lyx.org
Subject: Re: from mac to windows

Am 24.02.2013 um 18:59 schrieb Cecile Danilo :

I downloaded amscls2 and amsmath2 from 
http://www.ams.org/publications/authors/tex/amslatex but since the 
installation seems quite complicated for me I tryed to uninstall 
MikTex which I couldn t because the directory wasn t empty???
My question is : should I remove directly Miktex? will that uninstall 
it?


How did you install LyX (and MikTeX)?

AFAIK the LyX installer for Windows tries hard to assist you to 
install the required packages.


How did you manage to get asked from MikTeX to install the amsthm.sty 
package and later it's missing? I'm not a MikTeX user, but either you 
are a LaTeX package manager like MikTeX or you have to add missing 
packages manually. You should avoid to mix these or you should know 
what you're doing.


You didn't say anything about your Windows version, or did I miss it?

Regards,
Stephan


-Message d'origine- From: Scott Kostyshak
Sent: Sunday, February 24, 2013 1:05 PM
To: Cecile Danilo
Cc: John Kane ; Lyx List
Subject: Re: from mac to windows

On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo 
 wrote:

Hello everyone!

Here is (again) a quick description of my problem:


I created my lyx files with a mac, I am now using a windows computer 
and
can't create the pdf of the files created with the mac. I have no 
problem if
I compile files created with windows. I send you one of the files 
that works

with mac but not with windows.
I use LyX-2.0.5.1

and a more complete description of the problem:

When I try to generate a pdflatex file I first have the following 
message:

“Do you autorize the MikTex package manager to modify the computer?”
and then this error message:
“Latex Error: File ‘amsthm.sty’ not found”


Hi,

You have to install the package that has the amsthm.sty file in
MiKTeX. The package is probably called 'amsthm'.

After you do this, open LyX and go to Tools > reconfigure.

Scott 







Re: from mac to windows

2013-02-25 Thread Stephan Witt
Am 24.02.2013 um 23:05 schrieb Cecile Danilo :

> I downloaded  LyX-2.0.5.1-Bundle-4.exe from http://www.lyx.org/Download and I 
> have windows 7.
> When I install Lyx, Miktex asks me if I want to install missing packages on 
> the fly, of course I click "Yes". It doesn t tell me anything about 
> amsthm.sty  and later Miktex aks me if i want to update it. The first time I 
> said yes.
> 
> While searching on the web how to install amsthm, I found that I was not the 
> only one to have a problem with the amsthm! 
> (http://latex-community.org/home/news/46-news-latex-distributions/469-miktex-amsmath)
> I reinstall lyx and this time I refuse the update of Miktex and ... now it 
> works!! The only annoying thing is that Miktex keeps asking me if I let it 
> modify my computer when I want to create the pdf…

Nice to hear you've solved your problem. This looks like a problem with the 
LaTeX package manager MikTeX. I don't know if this is a problem with the 
version bundled with LyX or a general one. Uwe, are you aware of this problem 
with the bundled MikTeX?

Normally I'd propose to change the preference setting to install missing 
packages automatically, but apparently it doesn't work reliable (as Stephen 
wrote too).

Regards,
Stephan

> -Message d'origine- From: Stephan Witt
> Sent: Sunday, February 24, 2013 9:28 PM
> To: Cecile Danilo
> Cc: lyx-users@lists.lyx.org
> Subject: Re: from mac to windows
> 
> Am 24.02.2013 um 18:59 schrieb Cecile Danilo :
> 
>> I downloaded amscls2 and amsmath2 from 
>> http://www.ams.org/publications/authors/tex/amslatex but since the 
>> installation seems quite complicated for me I tryed to uninstall MikTex 
>> which I couldn t because the directory wasn t empty???
>> My question is : should I remove directly Miktex? will that uninstall it?
> 
> How did you install LyX (and MikTeX)?
> 
> AFAIK the LyX installer for Windows tries hard to assist you to install the 
> required packages.
> 
> How did you manage to get asked from MikTeX to install the amsthm.sty package 
> and later it's missing? I'm not a MikTeX user, but either you are a LaTeX 
> package manager like MikTeX or you have to add missing packages manually. You 
> should avoid to mix these or you should know what you're doing.
> 
> You didn't say anything about your Windows version, or did I miss it?
> 
> Regards,
> Stephan
> 
>> -Message d'origine- From: Scott Kostyshak
>> Sent: Sunday, February 24, 2013 1:05 PM
>> To: Cecile Danilo
>> Cc: John Kane ; Lyx List
>> Subject: Re: from mac to windows
>> 
>> On Sun, Feb 24, 2013 at 6:48 AM, Cecile Danilo  
>> wrote:
>>> Hello everyone!
>>> 
>>> Here is (again) a quick description of my problem:
>>> 
>>> 
>>> I created my lyx files with a mac, I am now using a windows computer and
>>> can't create the pdf of the files created with the mac. I have no problem if
>>> I compile files created with windows. I send you one of the files that works
>>> with mac but not with windows.
>>> I use LyX-2.0.5.1
>>> 
>>> and a more complete description of the problem:
>>> 
>>> When I try to generate a pdflatex file I first have the following message:
>>> “Do you autorize the MikTex package manager to modify the computer?”
>>> and then this error message:
>>> “Latex Error: File ‘amsthm.sty’ not found”
>> 
>> Hi,
>> 
>> You have to install the package that has the amsthm.sty file in
>> MiKTeX. The package is probably called 'amsthm'.
>> 
>> After you do this, open LyX and go to Tools > reconfigure.
>> 
>> Scott 
> 



Re: letter (KOMA-Script v.2) Space between closing and signature...........

2013-02-25 Thread Jean-Marie Pacquet

Le 25/02/2013 07:48, Charlie a écrit :

   On Sun, 24 Feb 2013 15:39:05 +0100 Jean-Marie mentioned this:
Re: letter (KOMA-Script v.2) Space between closing and
   signature


A picture being worth a thousand words, Figure 6.1 in the
scrguien.pdf is your friend.

   My reply follows:

Hello Jean-Marie,

   I have seen that diagram but again don't know how to work it. The
   different first commands like:

\@addtoplength
or
\@setplength or whatever.

Hi Charlie,

First, as my own copy of the guide is quite old (my figure 6.1 is now 
17.1), I updated it now from the last one dated 2012-05-15 which is here:

http://www.komascript.de/files/scrguien.pdf

So the page numbers I'm using now refer to this last version of the guide.
  


How does one understand these commands? How does one know which to use
where?


Read section 4.2 Pseudo-Lengths (page 135). With my words:
All these pseudo-lengths have a default value. If you want to change 
this default value and make it completly different you use \@setplength. 
If you want to slightly modify it, you use \@addtoplength.




I have attached the diagram you sent and added the commands that you
have helped me with in green and red.

I have also tried to make the signature on my letter template come to
the left of the page with these commands, none of which work:

\@setplength{sigindent}{\raggedleft} without success [...]
And many more, to numerous to mention here, but never the right one.


\@setplength{sigindent}{0mm}
will place the box containing the signature on the left side but this is 
already defined in the DIN.lco


It's probably worthwhile to make your own version of the DIN.lco that 
you are using. Copy it under a new name (myDIN.lco f.ex.) in the 
directory where you have your lyx letters and modify it as you wish:


Instead of using
\@addtoplength{firstheadvpos}{1cm}
after calling the original DIN.lco where this plength is set, you can 
replace inside your new lco the

\@setplength{firstheadvpos}{8mm}
by
\@setplength{firstheadvpos}{18mm}


Don't forget to call your lco file in the preamble:

\LoadLetterOption{myDIN}%



To place the signature inside the closing box on the left you have to 
change in your lco file

 \let\raggedsignature=\centering
to
\let\raggedsignature=\raggedright

HTH
--
Jean-Marie


pdf content saved as images

2013-02-25 Thread Csikos Bela
Hello:

Is it possible in lyx or latex to save or export a document so that the 
resulting
content would be bitmap images? That is, the result would be similar to when
I scan a text as jpg (or other) and save it as pdf (embed the image in pdf).

And/or is it possible to make a pdf which is not searchable or indexable?

Thanks,

bcsikos



Re: letter (KOMA-Script v.2) Space between closing and signature...........

2013-02-25 Thread Charlie
 On Mon, 25 Feb 2013 11:58:04 +0100 "Jean-Marie Pacquet j...@pacquet.net"
 sent this:

>Le 25/02/2013 07:48, Charlie a écrit :
>>On Sun, 24 Feb 2013 15:39:05 +0100 Jean-Marie mentioned this:
>>  Re: letter (KOMA-Script v.2) Space between closing and
>>signature
>>
>>> A picture being worth a thousand words, Figure 6.1 in the
>>> scrguien.pdf is your friend.
>>My reply follows:
>>
>> Hello Jean-Marie,
>>
>>I have seen that diagram but again don't know how to work it.
>>  The different first commands like:
>>
>> \@addtoplength
>> or
>> \@setplength or whatever.
>Hi Charlie,
>
>First, as my own copy of the guide is quite old (my figure 6.1 is now 
>17.1), I updated it now from the last one dated 2012-05-15 which is
>   here: http://www.komascript.de/files/scrguien.pdf
>
>So the page numbers I'm using now refer to this last version of the
>   guide.
>>   
>>
>> How does one understand these commands? How does one know which to
>>  use where?
>
>Read section 4.2 Pseudo-Lengths (page 135). With my words:
>All these pseudo-lengths have a default value. If you want to change 
>this default value and make it completly different you use
>   \@setplength. If you want to slightly modify it, you use
>   \@addtoplength.
>
>>
>> I have attached the diagram you sent and added the commands that you
>> have helped me with in green and red.
>>
>> I have also tried to make the signature on my letter template come to
>> the left of the page with these commands, none of which work:
>>
>> \@setplength{sigindent}{\raggedleft} without success [...]
>> And many more, to numerous to mention here, but never the right one.
>
>\@setplength{sigindent}{0mm}
>will place the box containing the signature on the left side but this
>   is already defined in the DIN.lco
>
>It's probably worthwhile to make your own version of the DIN.lco that 
>you are using. Copy it under a new name (myDIN.lco f.ex.) in the 
>directory where you have your lyx letters and modify it as you wish:
>
>Instead of using
>\@addtoplength{firstheadvpos}{1cm}
>after calling the original DIN.lco where this plength is set, you can 
>replace inside your new lco the
>\@setplength{firstheadvpos}{8mm}
>by
>\@setplength{firstheadvpos}{18mm}
>
>
>Don't forget to call your lco file in the preamble:
>
>\LoadLetterOption{myDIN}%
>
>
>
>To place the signature inside the closing box on the left you have to 
>change in your lco file
>  \let\raggedsignature=\centering
>to
>\let\raggedsignature=\raggedright
>
>HTH
>-- 
>Jean-Marie

Your explanation and guidance has been extremely helpful Jean-Marie.

I took your advice and tweaked the DIN.lco file and placed it in my
templates directory and added the absolute path to it in my preamble.

Again, thank you for your time and this enormous assistance.

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

I do not know how to distinguish between our waking life and a
dream. Are we not always living the life that we imagine we
are? .Henry David Thoreau

***

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

-


Re: Share LaTeX

2013-02-25 Thread Rich Shepard

On Sun, 24 Feb 2013, Scott Kostyshak wrote:


Do you just mean compile .lyx files on the cloud? Or do you mean a
complete LyX editor in a web browser? Is the idea that this would be
useful if you don't want to install anything on your computer or if you
want to be able to work from any computer (e.g. at the library)? But for
this one could just ssh with X into a computer that has LyX, no?


Scott,

  I and a collaborator (who is new to LaTeX) could both work on the same
document. I did not propose the LyX version but asked if anyone has
experience with this LaTeX-sharing tool for collabortive writing using
LaTeX. The alternatives are sending the .tex or .lyx file back and forth or
keeping it in a subversion (or git) repository and each checking out the
latest version.

  The 'cloud' is just the latest idea to generate business by those who have
spare room on file servers and untilled bandwidth available. Regardless of
whether a lyx version is attempted I (and perhaps others) would like to
learn of the experiences of those who have used the LaTeX version.

Rich




Re: Share LaTeX

2013-02-25 Thread Steve Litt
On Mon, 25 Feb 2013 05:57:24 -0800 (PST)
Rich Shepard  wrote:

> On Sun, 24 Feb 2013, Scott Kostyshak wrote:
> 
> > Do you just mean compile .lyx files on the cloud? Or do you mean a
> > complete LyX editor in a web browser? Is the idea that this would be
> > useful if you don't want to install anything on your computer or if
> > you want to be able to work from any computer (e.g. at the
> > library)? But for this one could just ssh with X into a computer
> > that has LyX, no?
> 
> Scott,
> 
>I and a collaborator (who is new to LaTeX) could both work on the
> same document. I did not propose the LyX version but asked if anyone
> has experience with this LaTeX-sharing tool for collabortive writing
> using LaTeX. 

FWIW, when I main-authored "Samba Unleashed", we simply divvied out the
chapters to the authors. It worked very well, and would fit right in
with LyX's master documents.

There were a few instances when a pair of authors wrote a chapter. In
that case, the publisher left the mechanics of the operation up to
those two authors.

HTH

SteveT


Re: bold matrix and vector. Need customization help.

2013-02-25 Thread Guenter Milde
On 2013-02-24, Paul Johnson wrote:
> I need customization help to change all math usages of a variable x to
> \bm{\mathrm{x}} AND to make it easier to enter those  in the future.

> Why?

> I'm late to the math style party.  Until now, I've not paid attention
> to the conventions of style for variables, matrices, and vectors. It
> was all "math" to me. I didn't put functions like "sin" or "log" as
> plain characters. 

In LyX, you should/could write "\sin" or "\log" for mathematical functions.

> I did not notice that d in  "dx/dy" is upright.
> Lots of complications! The LyX math guide explains a lot of this, I've
> just ignored it until now. But a Microsoft Word user pointed out my
> laziness and now must respond.

> Many people think a vector can't just be a math x, it is supposed to
> be roman, not italics, and bold.  

The standard (ISO 8-2) is bold-italic. This is also the
recommendation by many international science bodies (see below). However,
some non-standard house styles use upright bold.

The details of ISO-conforming mathematical typesetting are in
http://mirrors.ctan.org/macros/latex/contrib/isomath/isomath.html


> Political Analysis, in their style
> page 
> (http://www.oxfordjournals.org/our_journals/polana/for_authors/general.html),
> recommends using package bm for bolding things.

> They have this suggestion for raw LaTeX users, to create a macro \vm:


> I don't know why one would prefer bm over boldsymbol or the other
> things that appear now in the LyX math menus for fonts. Can I make LyX
> aware of \vm?

Add

> \usepackage{bm}

to Document>Settings>LaTeX preamble.

Write

  \newcommand\vm[1]{\bm{\mathrm{#1}}}
  
in the document (as text). Select it and press Ctrl-M (or whatever your
binding for a math box is). The command should change into a math-macro
definition.

For bold-italic vectors, the definition steps would change to

Add

> \usepackage{isomath}

to Document>Settings>LaTeX preamble.

Write

  \newcommand\vm[1]{\mathbfit{#1}}}
  
in the document (as text). Select it and press Ctrl-M 




Günter


[typefaces] National Institute of Standards and Technology (NIST),
Typefaces for Symbols in Scientific Manuscripts:
http://physics.nist.gov/cuu/pdf/typefaces.pdf.

[checklist] National Institute of Standards and Technology (NIST), SI
Unit rules and style conventions Check List for Reviewing Manuscripts:
http://physics.nist.gov/cuu/Units/checklist.html.

[fonts_for_symbols] International Union of Pure and Applied Chemistry
(IUPAC), On the use of italic and roman fonts for symbols in scientific
text, (Revised December 1999):
http://old.iupac.org/standing/idcns/fonts_for_symbols.html.

[SI] Bureau international des poids et mesures (BIPM), The International
System of Units (SI): http://www.bipm.org/en/si/si_brochure/.

[Green-Book] International Union of Pure and Applied Chemistry (IUPAC),
Quantities, Units and Symbols in Physical Chemistry, 3rd edition, RSC
Publishing, Cambridge 2007: [ISBN 0 85404 433 7; ISBN-13 978 0 85404 433
7].

[Red-Book] International Union of Pure and Applied Physics (IUPAP),
Symbols, Units, Nomenclature and Fundamental Constants in Physics:
http://metrology.wordpress.com/measurement-process-index/iupap-red-book/index-iupap-red-book/.




issues with tufte-book on LyX

2013-02-25 Thread Alex Vergara Gil

Hello LyXers!!

I´m managing some issues when I use tufte-book on my LyX 2.0.4 in windows 7 
x64 SP1.


1. Section labels doesn´t appear on Contents Table (nor there is an option 
to force this under document->properties->numbering and IG).
2. Cannot add figures as title (I need an icon and a caption in the title, 
it returns an error of some a.cfg and at.cfg files missing, but I have a 
full MikTeX 2.9 installation. Only with the caption works fine but when I 
add an inline figure it crash). I need the figure only in the title in the 
first page, not in the rest, but why not? At the end it is hust the icon of 
my app with 32x32 bits size. (Yeah I'm writing an user manual)
3. Date, address and address_right doesn´t appear in front page, so WTH are 
these? again if I use them with a figure it crash with the same errors 
mentioned above.


For the minimal example you can refer to the tufte-book.lyx that appears in 
the example folder, so I think the issue is in the tufte-book module.


Is this an intended behaviour?? In this case how can I change this? Do I 
need to rewrite the module? I'm not a LaTeX expert so I don't know if all 
these can be achieved in LaTeX.


Best regards

Alex Vergara
MSc. Nuclear Physics
SSDL, CPHR, Cuba
http://www.cphr.edu.cu 



Re: Share LaTeX

2013-02-25 Thread EK

  
  
I was looking yesterday at the newly-release Google "Chromebook
Pixel", which has a gorgeous display and other nice features.  
However, since you cannot install much on it, having a
Lyx-in-the-cloud capability could have converted it from a useless
item to a desirable device (at least for me).

Ehud Kaplan


On 02/25/2013 08:57 AM, Rich Shepard
  wrote:

On Sun, 24 Feb 2013, Scott Kostyshak wrote:
  
  
  Do you just mean compile .lyx files on the
cloud? Or do you mean a

complete LyX editor in a web browser? Is the idea that this
would be

useful if you don't want to install anything on your computer or
if you

want to be able to work from any computer (e.g. at the library)?
But for

this one could just ssh with X into a computer that has LyX, no?

  
  
  Scott,
  
  
    I and a collaborator (who is new to LaTeX) could both work on
  the same
  
  document. I did not propose the LyX version but asked if anyone
  has
  
  experience with this LaTeX-sharing tool for collabortive writing
  using
  
  LaTeX. The alternatives are sending the .tex or .lyx file back and
  forth or
  
  keeping it in a subversion (or git) repository and each checking
  out the
  
  latest version.
  
  
    The 'cloud' is just the latest idea to generate business by
  those who have
  
  spare room on file servers and untilled bandwidth available.
  Regardless of
  
  whether a lyx version is attempted I (and perhaps others) would
  like to
  
  learn of the experiences of those who have used the LaTeX version.
  
  
  Rich
  
  
  


-- 
  
  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 Ichan school of medicine at Mount Sinai
  One Gustave Levy Place, 
  NY, NY, 10029 

  



Sidecap

2013-02-25 Thread EK

  
  
I tried to use the sidecap module, to create a figure with its
caption on the side, rather than below the figure. 
I got an error message about missing \end{sidecap}.  I think this
used to work in previous versions-- 
I am currently using Lyx 2.0.5.1 under Lubuntu 12.10 (64 bit).
Any ideas?
Thanks,

-- 
  
  Ehud Kaplan,

  



Re: Share LaTeX

2013-02-25 Thread Scott Kostyshak
Hi Rich,

On Mon, Feb 25, 2013 at 8:57 AM, Rich Shepard  wrote:
> On Sun, 24 Feb 2013, Scott Kostyshak wrote:
>
>> Do you just mean compile .lyx files on the cloud? Or do you mean a
>> complete LyX editor in a web browser? Is the idea that this would be
>> useful if you don't want to install anything on your computer or if you
>> want to be able to work from any computer (e.g. at the library)? But for
>> this one could just ssh with X into a computer that has LyX, no?
>
>
> Scott,
>
>   I and a collaborator (who is new to LaTeX) could both work on the same
> document. I did not propose the LyX version but asked if anyone has
> experience with this LaTeX-sharing tool for collabortive writing using
> LaTeX. The alternatives are sending the .tex or .lyx file back and forth or
> keeping it in a subversion (or git) repository and each checking out the
> latest version.

Thanks for the explanation. If your collaborator is new to LaTeX,
he/she might also be new to Git which also has a learning curve so I
can see how this alternative would indeed be easier.

>   The 'cloud' is just the latest idea to generate business by those who have
> spare room on file servers and untilled bandwidth available. Regardless of
> whether a lyx version is attempted I (and perhaps others) would like to
> learn of the experiences of those who have used the LaTeX version.

Makes sense. Thanks for sharing.

Scott


Re: Share LaTeX

2013-02-25 Thread Scott Kostyshak
Hi Ehud

On Mon, Feb 25, 2013 at 1:58 PM, EK  wrote:
> I was looking yesterday at the newly-release Google "Chromebook Pixel",
> which has a gorgeous display and other nice features.
> However, since you cannot install much on it, having a Lyx-in-the-cloud
> capability could have converted it from a useless item to a desirable device
> (at least for me).

Great example. I agree that this would be nice. It's not impossible.
See, for example:
http://www.phoronix.com/scan.php?page=news_item=MTI3NDc
But I doubt that it will ever happen for something like LyX.
I think a more practical alternative in this case would be to use SSH
with X. I guess your point though is that the pixel doesn't even allow
you to use SSH? In this case, I wonder if there are web services that
implement this (through Java?). I know that Amazon has a web SSH
client that allows you to connect to an instance but I don't imagine
it can do X.

As to not being able to install much on it, check this out:
http://liliputing.com/2013/02/the-chromebook-pixel-can-run-ubuntu-linux-mint-other-distros.html

Scott


Re: Share LaTeX

2013-02-25 Thread Rich Shepard

On Mon, 25 Feb 2013, Scott Kostyshak wrote:


Thanks for the explanation. If your collaborator is new to LaTeX, he/she
might also be new to Git which also has a learning curve so I can see how
this alternative would indeed be easier.


  He's a software engineer for ~30 years.

Rich



Re: Share LaTeX

2013-02-25 Thread Nico Williams
Mind you, merging LyX contents via a VCS is not easy...

What I've been doing so far with my colleagues is to pass around a
"your turn" e-mail, then we each make our edits in turn with change
tracking, and one of us (or the next one to get a turn) merges edits.

It'd be nice to have a LyX diff/merge feature.  (We've had a thread about this.)

Nico
--


Re: pdf content saved as images

2013-02-25 Thread Scott Kostyshak
Hi bcsikos,

On Mon, Feb 25, 2013 at 5:59 AM, Csikos Bela  wrote:
> Hello:
>
> Is it possible in lyx or latex to save or export a document so that the 
> resulting
> content would be bitmap images? That is, the result would be similar to when
> I scan a text as jpg (or other) and save it as pdf (embed the image in pdf).

Yes, on Ubuntu you can convert with just the following:
"convert Intro.pdf temp.png"
You could put this into a converter. You have to be careful with
multiple pages though because I don't think most bitmap formats have a
concept of "pages".

> And/or is it possible to make a pdf which is not searchable or indexable?

This must be possible but I have no experience with it. A manual way
to do this would be to convert from pdf to png and then convert back
to pdf and then join all of the pdf pages together with pdftk.

Best,

Scott


Re: Figure numbers & change tracking

2013-02-25 Thread Scott Kostyshak
On Fri, Feb 8, 2013 at 2:22 PM, Scott Kostyshak  wrote:
> On Fri, Feb 8, 2013 at 11:48 AM, EK  wrote:
>> OK-- further research uncovered the culprit for the first issue (the need to
>> accept any change made before I could compile).
>> In my preamble I had the following:
>>
>> \usepackage{enumitem}
>>
>> \setlist{leftmargin=0mm, itemindent=3mm, itemsep=0.75mm,nolistsep}
>>
>> \usepackage[pdftex,outerbars]{changebar}
>>
>> \renewcommand{\lyxadded}[3]{{\cbstart\color{lyxadded}{}#3\cbend}}
>>
>> \renewcommand{\lyxdeleted}[3]{{\cbstart\color{lyxdeleted}\sout{#3}\cbend}}
>>
>>
>> Commenting these lines out solved the problem.  I have not yet discovered
>> the reason for the failure to correctly reference a wrap figure in a box.
>
> Thanks for keeping us updated. Hopefully we can figure out the second issue

Hi Ehud,

The reason you get "Figure D" is that the label is outside of the
figure caption. Thus, LaTeX thinks that you want to reference the
section, not the figure. Your sections are lettered. Thus, this must
have been in the 4th section of your LyX document.

To fix this, put the label inside the caption (I think anywhere is
fine) of the graphic. Does that work?

Best,

Scott