How to get cropped PDF graphic on the clipboard

2014-04-01 Thread Jerry
Nice to see the ability to export a LyX file as a cropped PDF in version 
2.1.0.x. However, the document is actually exported as a file, whereas it would 
more useful if it were instead or also placed on the clipboard for pasting into 
another document--that would fully allow LyX to be used as a standalone 
equation editor for other applications.

I use OS X and I notice that LyX is now AppleScriptable. Maybe there's a 
solution using AppleScript.

Jerry

Re: Table width

2014-04-01 Thread Guenter Milde
On 2014-03-30, Uwe Stöhr wrote:
 Am 30.03.2014 07:57, schrieb Carsten Jahn:

 I didnt mean long tables but wide ones, and word, as much as I hate to
 admit, is better in that one IMHO, as you could just drag your table till
 it fits,

 That is just the opposite of the WYSIWYM concept of LyX and LaTeX. The
 concept is to let the software decide after professional rules what
 means it fits.

However, automatic table width is a real shortcoming of LaTeX.
Things work fine, as long as all cell entries are short one-liners.
However,

* there is no professional rule for line wrapping in a column unless it
  has a fixed width.
  
* without looking at the output, you cannot know, whether a table fits on
  the page or is too wide!!!
  
* there is no support for manual line-breaks in a column without
  fixed width (unless you use \shortstack in an ERT).
  
* setting a fixed width requires opening a dialogue and inserting values
  (if you want a fixed width for the whole table, this requires complicated
  mathematical calculations as well - in this case the trial and error
  method may even be faster than looking up the documentation on column
  separating space etc...).
  
All this is a clear distraction from concentrating on content and WWAATS
(what we are able to show) is still far from what I mean.


 while you have to manually input the parameters in LyX and compile
 it for every trial and error.

 Note that this is not the way you should go. If you try to fit
 everything as you like it all the time you look a lot of time and when
 you modify your document you will have to do this again and again. So
 better concentrate on writing and do the fine-tuning when the document
 is really ready.

However, this still means I cannot see the whole table unless fine
tuning and I have to fine tune (fixing tables maybe 5 times as wide as
the page) by calculating column widths and inserting the result for every
table at the end of the process.

If it were not for the advantages in other parts of the process, I would
select/recomment an alternative system.

Let's be honest about both, strenghts and weaknesses.

Günter



Re: Table width

2014-04-01 Thread stefano franchi
On Tue, Apr 1, 2014 at 9:21 AM, Guenter Milde mi...@users.sf.net wrote:

 On 2014-03-30, Uwe Stöhr wrote:
  Am 30.03.2014 07:57, schrieb Carsten Jahn:

  I didnt mean long tables but wide ones, and word, as much as I hate to
  admit, is better in that one IMHO, as you could just drag your table
 till
  it fits,

  That is just the opposite of the WYSIWYM concept of LyX and LaTeX. The
  concept is to let the software decide after professional rules what
  means it fits.

 However, automatic table width is a real shortcoming of LaTeX.
 Things work fine, as long as all cell entries are short one-liners.
 However,

 * there is no professional rule for line wrapping in a column unless it
   has a fixed width.

 * without looking at the output, you cannot know, whether a table fits on
   the page or is too wide!!!

 * there is no support for manual line-breaks in a column without
   fixed width (unless you use \shortstack in an ERT).

 * setting a fixed width requires opening a dialogue and inserting values
   (if you want a fixed width for the whole table, this requires complicated
   mathematical calculations as well - in this case the trial and error
   method may even be faster than looking up the documentation on column
   separating space etc...).

 All this is a clear distraction from concentrating on content and WWAATS
 (what we are able to show) is still far from what I mean.


I agree. Table formatting is a real issue in LaTeX (and LyX). However, the
even deeper issue is that table formatting in general is really, really
hard. Until not so many years ago, typesetters would charge extra for books
containing many tables, precisely because they knew that extra labour would
be required (they may still do it, AFAIK).

Word/LibreOffice provide a so-so solution: direct inspection and
adjustement of the table on screen is certainly faster that fiddling with
LaTeX/TeX parameters, but the result is a good enough table that may be
accetable for inter-office communication but it is  also a far cry from a
professionally typeset output. LaTeX solution is more time-intensive and
certainly distracting but the final output is better (although still not
perfect, unless you start fiddling with low-level formatting commands).

In the end, I think we should be honest about both LaTeX's shortcomings and
the difficulty of the problem. A really good looking table would always
require a lot of manual work. It would nice if LaTeX/LyX provided more
direct support for table formatting, but a perfect solution will be out of
reach for a long long time.

Stefano

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

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


Glossary in Lyx

2014-04-01 Thread Tino Langer

Hello,

for my thesis I want to generate two indexes - one for 'abbreviations' 
and one for 'formula symbols'. Currentlty I use the build-in solution 
for nomenclature - so both types of entries are mixed in one index, 
because there no solution exist to generate two different indexes with 
this package.http://www.dict.cc/englisch-deutsch/abbreviations.html


Is it possible to use the glossaries-package with lyx _without_ 
exporting the lyx-file to .tex and to do all the latex-runs manually? 
Each hint helps - many thanks! additionally - I use lyx 2.0.5.1 running 
at Windows 7


Best regards - all the best! - Tino


Re: Proofreading for LyX document

2014-04-01 Thread Scott Kostyshak
On Sun, Mar 30, 2014 at 10:37 PM, Rahayu Prihatin rahayu.p...@gmail.com wrote:
 Hello,

 Anybody knows affordable proofreading services who accept Lyx documents? I
 haveasked some proofreading services but unfortunately most of them only
 accept doc, pdf, and Latex.

 Converting document is the last option for me because it will introduce some
 mess.

Hi Hayu,

I just searched and found this:
http://www.textproof.com/usetex.html
They mention LyX explicitly.
I have no experience with them at all.
If I were you, I would ask them to confirm that they will make changes
with LyX's built-in track changes. I would also ask them what LyX
version they have.

I would be very interested to hear about your experience with them.

Best,

Scott


Re: Lyx installation in Mint16

2014-04-01 Thread Jacob Bishop
On Wed, Mar 26, 2014 at 4:00 PM, James A.R. Koehler jim.koeh...@usask.cawrote:

 I have installed Lyx (several times!) on two Mint16 machines; one a 32-bit
 version and the other 64-bit.  Mint is based on Ubuntu 13. In both cases,
 when installing either from a download from the Lyx site or via the .deb
 repository, it installs without any classes or layouts; i.e., it is not
 very useful.  If I try to read the User Manual, it comes up with an error
 saying it cannot find the appropriate class to display the data.  Catch 22.

 In previous installations on earlier distributions of Linux in other
 years, the installation was seamless and problem free.  Help!

 Jim


Hi Jim,

I don't think I've been able to follow this discussion perfectly, but I may
still be able to help. My main machine (on which I am typing right now) is
running 64-bit Linux Mint Cinnamon 16 (Petra). I am not using any ppa's, so
I believe my version of LyX is from the regular repo's. It's version 2.0.6.
I have no trouble viewing and compiling the user's manual. Unless space is
particularly tight on your machine (or you have slow network access), I
would follow Liviu's suggestion of installing a full version of texlive. I
just checked, by running  $dpkg --list | grep texlive to see what
packages I have installed, and I can say that my installation certainly
isn't minimal (see the attached text file for the output from my machine
using that command), but it works great. After installing any new packages,
you should open LyX, and run Tools-Reconfigure as Pavel suggested. Then,
close LyX, re-open it, and see what you get.

How does that work for you?

Jacob
dpkg --list | grep texlive

ii  texlive-base2013.20130722-1 
all  TeX Live: Essential programs and files
ii  texlive-bibtex-extra2013.20130722-1 
all  TeX Live: BibTeX additional styles
ii  texlive-binaries2013.20130529.30792-1ubuntu1
amd64Binaries for TeX Live
ii  texlive-extra-utils 2013.20130722-1 
all  TeX Live: TeX auxiliary programs
ii  texlive-font-utils  2013.20130722-1 
all  TeX Live: Graphics and font utilities
ii  texlive-fonts-recommended   2013.20130722-1 
all  TeX Live: Recommended fonts
ii  texlive-fonts-recommended-doc   2013.20130722-1 
all  TeX Live: Documentation files for texlive-fonts-recommended
ii  texlive-generic-extra   2013.20130722-1 
all  TeX Live: Generic additional packages
ii  texlive-generic-recommended 2013.20130722-1 
all  TeX Live: Generic recommended packages
ii  texlive-latex-base  2013.20130722-1 
all  TeX Live: LaTeX fundamental packages
ii  texlive-latex-base-doc  2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-base
ii  texlive-latex-extra 2013.20130722-1 
all  TeX Live: LaTeX additional packages
ii  texlive-latex-extra-doc 2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-extra
ii  texlive-latex-recommended   2013.20130722-1 
all  TeX Live: LaTeX recommended packages
ii  texlive-latex-recommended-doc   2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-recommended
ii  texlive-luatex  2013.20130722-1 
all  TeX Live: LuaTeX packages
ii  texlive-pictures2013.20130722-1 
all  TeX Live: Graphics, pictures, diagrams
ii  texlive-pictures-doc2013.20130722-1 
all  TeX Live: Documentation files for texlive-pictures
ii  texlive-pstricks2013.20130722-1 
all  TeX Live: PSTricks
ii  texlive-pstricks-doc2013.20130722-1 
all  TeX Live: Documentation files for texlive-pstricks
ii  texlive-publishers  2013.20130722-1 
all  TeX Live: Publisher styles, theses, etc.
ii  texlive-science 2013.20130722-1 
all  TeX Live: Natural and computer sciences
ii  texlive-science-doc 2013.20130722-1 
all  TeX Live: Documentation files for texlive-science


Re: ANNOUNCE: LyX version 2.1.0 (rc1)

2014-04-01 Thread Wolfgang Keller
 Thanks, I was not aware of that LyTeX is still alive.
 Apparently this version writes something to the registry (this can
 also be done by portable versions). However, I wonder that they
 provided a beta version as portable LyTeX

They don't, at least not for me.

I installed the version they had years ago and since then I have
always only overwritten the LyX subfolder with the installers that I
have downloaded from ftp.lyx.org without using the updater included
in LyTeX. And in parallel I have kept the TeXLive subfolder updated with
the TexLive package manager as well. Has worked perfectly across
releases.

Probably the only thing that's still left from the original LyTeX (must
have been 1.6.x back then) is the folder structure and the startupt
script.

  This error message should only occur if you try to install LyX
  2.1rc1 over LyX 2.1rc1. This is checked by the Windows registry.
 
  There can be nothing in the registry, since I don't have
  authorisation to write to the registry on this computer.
 
 You always have the right to write to the registry section
 HKey_Current_User.

On this computer, all transient entries there should get erased upon
startup.

Yes, they are that sadistic.
 
  Which is a restriction that's just as compulsive and imperious as
  those idiotic installers are. Seems the most important concern of
  certain people is to prevent others from being able to do their
  work.
 
 I don't understand. The LyX installer allows you to install LyX also
 if you only have a guest account on a PC.
 However, if your Admin denies to allow you to install things, he has
 a reason. So better blame him.

He doesn't have a reason. I know - way - more about computer security
than him.

(Which is not difficult, all Windows administrators I have met so far
were hopelessly clueless morons.)

It's just a professional sickness. IT administrators compulsively lock
down the computers beyond uselessness (to the point that ever more
often bring your own is the only way to get anything done any more),
software developers/packagers compulsively require running pointless
installers, and in between, like punchbags are caught those people
who have to get the actual productive work done. 

  Hmm, or did you once installed LyX 2.1beta? If so you must
  uninstall LyX 2.1beta first (these were testing releases (for
  LyX-only not the installer nor LyX's dependencies) so that an easy
  upgrade is not possible).
 
  A dumb installer would simply overwrite the previous installation
 
 As aid, this is in case of beta releases no feature. We are only a
 small group of developers. Providing also full support for beta
 versions would cost us a lot time we don't have. 

I am not asking for that. I keep a backup of the last known working LyX
subfolder I have.

So if anything doesn't work, I'll just sent a corresponding rant to the
list and roll back.

 And don't forget we all have a private life and a job - we develop
 LyX in our spare time!

I don't have a private life. Among others, thanks to the obscene
absurdities of modern office work environments where all kinds of
fat tapeworms wag with us dogs.
 
  Could you please be a bit more polite. You apparently found a bug
  but there is no reason to be abusive!
 
  I guess that implementing the check function is an extra effort to
  make, which is totally pointless imho. I see exactly *zero* added
  value from this function (actually a refusal to provide a
  required function). The installer just shouldn't care for whether
  LyX is already installed or not and overwrite everything, basta.
 
 This can destroy your LyX settings so that it can become unusable.

It won't destroy anything that I can't roll back by simply trashing
the LyX subfolder that's kaputt and by replacing it with the last
known working version.

That is *one* of the *many* advantages of installer-free application
distribution.

No need for installers, no need for uninstallers, backups are trivial
and so are rollbacks.

This principle of application distribution has been known and
perfectly working at least since 1984 (Atari TOS, MacOS, a little later
of Acorn RiscOS, I don't know about AmigaOS).

Unlike installers, which have *never* actually worked reliably.

  Just like installers (resp. software requiring those) are anyway.
  User-friendly software has to be packaged as simple zero-install zip
  archives. And the Windows registry is only good as an open barn
  door for viruses, trojans and other malware.
 
 Oha, I now fully understand your Admin that you are not allowed to
 install programs.

No computer for that I have ever had the personal reponsibility (and
over that I had full authority) has ever contracted a single virus or
other malware in 25 years.

The only occasions when a computer that I had to use got a virus were
the usual, well known barn doors, that were wide opened by the choice
of OS, applications and by the configuration that was locked down by
the administrictator, so that I couldn't even 

Re: Lyx installation in Mint16

2014-04-01 Thread James A.R. Koehler

Thanks Jacob,

I am also using Mint 16 Petra but with MATE.  On my main machine, 
which is the 64-bit version of Mint16, I installed all the texlive 
packages (I have a fairly high-speed link and lots of HD space), I 
opened Lyx, ran Tools  Reconfigure, closed Lyx and reopened it.  I then 
opened a fairly large document I'd created a few years ago using the 
then current version of Lyx and it seemed to open in the editor nicely.  
When I tried to view the document in dvi, I got an error message saying 
Latex error: File 'wrapfig.sty not found.


I notice that all the sub-directories under the .lyx directory my 
home directory are still all empty.  Surely this is not normal?


Jim

On 14-04-01 10:39 AM, Jacob Bishop wrote:




On Wed, Mar 26, 2014 at 4:00 PM, James A.R. Koehler 
jim.koeh...@usask.ca mailto:jim.koeh...@usask.ca wrote:


I have installed Lyx (several times!) on two Mint16 machines; one
a 32-bit version and the other 64-bit.  Mint is based on Ubuntu
13. In both cases, when installing either from a download from the
Lyx site or via the .deb repository, it installs without any
classes or layouts; i.e., it is not very useful.  If I try to read
the User Manual, it comes up with an error saying it cannot find
the appropriate class to display the data.  Catch 22.

In previous installations on earlier distributions of Linux in
other years, the installation was seamless and problem free.  Help!

Jim


Hi Jim,

I don't think I've been able to follow this discussion perfectly, but 
I may still be able to help. My main machine (on which I am typing 
right now) is running 64-bit Linux Mint Cinnamon 16 (Petra). I am not 
using any ppa's, so I believe my version of LyX is from the regular 
repo's. It's version 2.0.6. I have no trouble viewing and compiling 
the user's manual. Unless space is particularly tight on your machine 
(or you have slow network access), I would follow Liviu's suggestion 
of installing a full version of texlive. I just checked, by running  
$dpkg --list | grep texlive to see what packages I have installed, 
and I can say that my installation certainly isn't minimal (see the 
attached text file for the output from my machine using that command), 
but it works great. After installing any new packages, you should open 
LyX, and run Tools-Reconfigure as Pavel suggested. Then, close LyX, 
re-open it, and see what you get.


How does that work for you?

Jacob




Re: Enabling cropped PDF support

2014-04-01 Thread Bert Lloyd
It appears that pdfcrop comes with MikTeX:
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\pdfcrop.exe
(I am not entirely clear on whether there are any differences between
pdfcrop.pl and this pdfcrop.exe.)

However, in the command window:
 pdfcrop --version
pdfcrop: The Perl interpreter could not be found

in CygWin:
$ pdfcrop --version
pdfcrop 2012/11/02 v1.38
but
$ pdfcrop table.pdf table_cropped.pdf
led to an error.

So, after some experimentation, I found that

1) installing
Strawberry Perl (64-bit) 5.18.2.1-64bit
to C:\strawberry\ (default)
and
Ghostscript 9.14 to C:\Program Files\gs\gs9.14 (default)

and

2) adding paths to both in the windows path and the cygwin path, as
well as uninstalling the older version of perl that comes with cygwin
_and_ removing it from the cygwin path

gets it to work.

In CygWin (note you have to specify gscmd since the default is gs):
$ pdfcrop --gscmd gswin64c table.pdf table_cropped.pdf
PDFCROP 1.38, 2012/11/02 - Copyright (c) 2002-2012 by Heiko Oberdiek.
== 1 page written on `table_cropped.pdf'.

and in the command window (note here you do _not_ need to specify gswin64c):
 pdfcrop table.pdf table_cropped_win.pdf
yielded the same outcome.


On Mon, Mar 31, 2014 at 11:57 PM, Liviu Andronic landronim...@gmail.com wrote:
 On Tue, Apr 1, 2014 at 4:10 AM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Is there a for-dummies guide anywhere for installing and using pdfcrop
 on Windows? (If such a thing is possible, that is.) I have a very
 basic familiarity with cygwin, but after struggling with what I found
 at
 http://www.ctan.org/pkg/pdfcrop
 I fear I am overmatched.

 Have you tried installing pdfcrop via MiKTeX? That should work.

 Liviu


 W7-64bit, MikTeX 2.9 (which contains pdfcrop.exe and pdftex.exe, both
 in C:\Program Files\MiKTeX 2.9\miktex\bin\x64)
 Cygwin64 with perl v5.14.4, there does not appear to be an option to
 update perl when running Cygwin's setup-x86_64.exe update tool.

 Many thanks -- and apologies for incompetence -- in advance,

 BL


 On Sat, Mar 29, 2014 at 6:42 AM, Jürgen Spitzmüller sp...@lyx.org wrote:
 2014-03-29 11:34 GMT+01:00 Torquil Macdonald Sørensen torq...@gmail.com:

 If I select File - Export - Export as.., I can select PDF
 (cropped), but using it results in the popup message No information
 for exporting the format PDF (cropped). Is my system missing a
 particular program that is needed for cropped PDF export?


 You need pdfcrop:
 http://www.ctan.org/pkg/pdfcrop

 HTH
 Jürgen



 Best regards
 Torquil Sørensen





 --
 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: Lyx installation in Mint16

2014-04-01 Thread Jacob Bishop
On Tue, Apr 1, 2014 at 12:56 PM, James A.R. Koehler jim.koeh...@usask.cawrote:

  Thanks Jacob,


You're welcome. I'm glad to help.



 I am also using Mint 16 Petra but with MATE.  On my main machine,
 which is the 64-bit version of Mint16, I installed all the texlive packages
 (I have a fairly high-speed link and lots of HD space), I opened Lyx, ran
 Tools  Reconfigure, closed Lyx and reopened it.  I then opened a fairly
 large document I'd created a few years ago using the then current version
 of Lyx and it seemed to open in the editor nicely.  When I tried to view
 the document in dvi, I got an error message saying Latex error: File
 'wrapfig.sty not found.


From time to time, I discover that there's a LaTeX package out there I'd
like to use. Sometimes, I discover it from a suggestion or through a
search, but then I have the problem that I don't know how best to install
it. I could manually download the files from CTAN and put them in the right
place, but that gets cumbersome, and there's usually an easier way. In
fact, there's usually some texlive .deb package already in the repositories
waiting for me to install it. The problem is I don't know which package to
install in order to get the LaTeX packages I want. Fortunately, there's a
debian utility called apt-file. It can be installed the typical way (e.g.,
$sudo apt-get install apt-file). Once installed (after running $sudo
apt-file update), you can run a command like $apt-file search wrapfig.sty

I did just that, and it returned the following:

texlive-latex-extra: /usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty

which tells me that if I want to use wrapfig.sty, I need to have the
package texlive-latex-extra installed. So, what I would suggest is that you
install that package, reconfigure LyX, restart LyX, and then try to compile
your document. I do hope this helps.


 I notice that all the sub-directories under the .lyx directory my home
 directory are still all empty.  Surely this is not normal?


I don't really think that's a problem. Someone may correct me if I'm wrong,
but I believe that directory is only for local customizations to your LyX
install, and it's perfectly fine for it to be empty. Can you now open and
compile the help manuals? Please report back.

Jacob


Re: Lyx installation in Mint16

2014-04-01 Thread James A.R. Koehler

Hi Jacob,

That seems to be the general fix!  It now all appears to be working 
correctly.  I must say that I really do appreciate the help I have 
gotten from you guys.


When I just now tried to create a .pdf file of this large 
document I have been working on, I got another error about a missing 
.sty file so I used the same procedure and successfully also installed 
that missing .sty file.  My .pdf file was then generated correctly.


Thanks again!!

Jim


On 14-04-01 01:10 PM, Jacob Bishop wrote:
On Tue, Apr 1, 2014 at 12:56 PM, James A.R. Koehler 
jim.koeh...@usask.ca mailto:jim.koeh...@usask.ca wrote:


Thanks Jacob,


You're welcome. I'm glad to help.


I am also using Mint 16 Petra but with MATE.  On my main
machine, which is the 64-bit version of Mint16, I installed all
the texlive packages (I have a fairly high-speed link and lots of
HD space), I opened Lyx, ran Tools  Reconfigure, closed Lyx and
reopened it.  I then opened a fairly large document I'd created a
few years ago using the then current version of Lyx and it seemed
to open in the editor nicely.  When I tried to view the document
in dvi, I got an error message saying Latex error: File
'wrapfig.sty not found.


From time to time, I discover that there's a LaTeX package out there 
I'd like to use. Sometimes, I discover it from a suggestion or through 
a search, but then I have the problem that I don't know how best to 
install it. I could manually download the files from CTAN and put them 
in the right place, but that gets cumbersome, and there's usually an 
easier way. In fact, there's usually some texlive .deb package already 
in the repositories waiting for me to install it. The problem is I 
don't know which package to install in order to get the LaTeX packages 
I want. Fortunately, there's a debian utility called apt-file. It can 
be installed the typical way (e.g., $sudo apt-get install apt-file). 
Once installed (after running $sudo apt-file update), you can run a 
command like $apt-file search wrapfig.sty


I did just that, and it returned the following:

texlive-latex-extra: 
/usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty


which tells me that if I want to use wrapfig.sty, I need to have the 
package texlive-latex-extra installed. So, what I would suggest is 
that you install that package, reconfigure LyX, restart LyX, and then 
try to compile your document. I do hope this helps.


I notice that all the sub-directories under the .lyx directory
my home directory are still all empty.  Surely this is not normal?


I don't really think that's a problem. Someone may correct me if I'm 
wrong, but I believe that directory is only for local customizations 
to your LyX install, and it's perfectly fine for it to be empty. Can 
you now open and compile the help manuals? Please report back.

Jacob




Re: Lyx installation in Mint16

2014-04-01 Thread James A.R. Koehler

Oops, forgot to reply to all!

Hi Jacob,

That seems to be the general fix!  It now all appears to be working 
correctly.  I must say that I really do appreciate the help I have 
gotten from you guys.


When I just now tried to create a .pdf file of this large 
document I have been working on, I got another error about a missing 
.sty file so I used the same procedure and successfully also installed 
that missing .sty file.  My .pdf file was then generated correctly.


Thanks again!!

Jim


On 14-04-01 01:10 PM, Jacob Bishop wrote:
On Tue, Apr 1, 2014 at 12:56 PM, James A.R. Koehler 
jim.koeh...@usask.ca mailto:jim.koeh...@usask.ca wrote:


Thanks Jacob,


You're welcome. I'm glad to help.


I am also using Mint 16 Petra but with MATE.  On my main
machine, which is the 64-bit version of Mint16, I installed all
the texlive packages (I have a fairly high-speed link and lots of
HD space), I opened Lyx, ran Tools  Reconfigure, closed Lyx and
reopened it.  I then opened a fairly large document I'd created a
few years ago using the then current version of Lyx and it seemed
to open in the editor nicely.  When I tried to view the document
in dvi, I got an error message saying Latex error: File
'wrapfig.sty not found.


From time to time, I discover that there's a LaTeX package out there 
I'd like to use. Sometimes, I discover it from a suggestion or through 
a search, but then I have the problem that I don't know how best to 
install it. I could manually download the files from CTAN and put them 
in the right place, but that gets cumbersome, and there's usually an 
easier way. In fact, there's usually some texlive .deb package already 
in the repositories waiting for me to install it. The problem is I 
don't know which package to install in order to get the LaTeX packages 
I want. Fortunately, there's a debian utility called apt-file. It can 
be installed the typical way (e.g., $sudo apt-get install apt-file). 
Once installed (after running $sudo apt-file update), you can run a 
command like $apt-file search wrapfig.sty


I did just that, and it returned the following:

texlive-latex-extra: 
/usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty


which tells me that if I want to use wrapfig.sty, I need to have the 
package texlive-latex-extra installed. So, what I would suggest is 
that you install that package, reconfigure LyX, restart LyX, and then 
try to compile your document. I do hope this helps.


I notice that all the sub-directories under the .lyx directory
my home directory are still all empty.  Surely this is not normal?


I don't really think that's a problem. Someone may correct me if I'm 
wrong, but I believe that directory is only for local customizations 
to your LyX install, and it's perfectly fine for it to be empty. Can 
you now open and compile the help manuals? Please report back.

Jacob




Re: Enabling cropped PDF support

2014-04-01 Thread Uwe Stöhr

Am 01.04.2014 04:10, schrieb Bert Lloyd:


Is there a for-dummies guide anywhere for installing and using pdfcrop
on Windows?


The LyX installer of LyX 2.1 prepares everything for yo. Unfortunately there is a bug in the pdfcrop 
version that is part of MiKTeX 64bit. Therefore pdfcrop does not work with 64bit MiKTeX.
I already informed the author of pdfcrop and sent thm a fix but it takes a while until it is 
released and then until it becomes part of MiKTeX.


regards Uwe


tex2lyx -f error

2014-04-01 Thread Okhaide Akhigbe
I am trying to import the springer BioMed Central's TeX template (
http://www.springeropen.com/authors/tex), for use in a journal.

When I import I get this error

[image: Inline image 1]


The following is my configurations:
Windows 8 64bit
LyX 2.0.7
MikeTex 2.9
inline: image.png

How to get cropped PDF graphic on the clipboard

2014-04-01 Thread Jerry
Nice to see the ability to export a LyX file as a cropped PDF in version 
2.1.0.x. However, the document is actually exported as a file, whereas it would 
more useful if it were instead or also placed on the clipboard for pasting into 
another document--that would fully allow LyX to be used as a standalone 
equation editor for other applications.

I use OS X and I notice that LyX is now AppleScriptable. Maybe there's a 
solution using AppleScript.

Jerry

Re: Table width

2014-04-01 Thread Guenter Milde
On 2014-03-30, Uwe Stöhr wrote:
 Am 30.03.2014 07:57, schrieb Carsten Jahn:

 I didnt mean long tables but wide ones, and word, as much as I hate to
 admit, is better in that one IMHO, as you could just drag your table till
 it fits,

 That is just the opposite of the WYSIWYM concept of LyX and LaTeX. The
 concept is to let the software decide after professional rules what
 means it fits.

However, automatic table width is a real shortcoming of LaTeX.
Things work fine, as long as all cell entries are short one-liners.
However,

* there is no professional rule for line wrapping in a column unless it
  has a fixed width.
  
* without looking at the output, you cannot know, whether a table fits on
  the page or is too wide!!!
  
* there is no support for manual line-breaks in a column without
  fixed width (unless you use \shortstack in an ERT).
  
* setting a fixed width requires opening a dialogue and inserting values
  (if you want a fixed width for the whole table, this requires complicated
  mathematical calculations as well - in this case the trial and error
  method may even be faster than looking up the documentation on column
  separating space etc...).
  
All this is a clear distraction from concentrating on content and WWAATS
(what we are able to show) is still far from what I mean.


 while you have to manually input the parameters in LyX and compile
 it for every trial and error.

 Note that this is not the way you should go. If you try to fit
 everything as you like it all the time you look a lot of time and when
 you modify your document you will have to do this again and again. So
 better concentrate on writing and do the fine-tuning when the document
 is really ready.

However, this still means I cannot see the whole table unless fine
tuning and I have to fine tune (fixing tables maybe 5 times as wide as
the page) by calculating column widths and inserting the result for every
table at the end of the process.

If it were not for the advantages in other parts of the process, I would
select/recomment an alternative system.

Let's be honest about both, strenghts and weaknesses.

Günter



Re: Table width

2014-04-01 Thread stefano franchi
On Tue, Apr 1, 2014 at 9:21 AM, Guenter Milde mi...@users.sf.net wrote:

 On 2014-03-30, Uwe Stöhr wrote:
  Am 30.03.2014 07:57, schrieb Carsten Jahn:

  I didnt mean long tables but wide ones, and word, as much as I hate to
  admit, is better in that one IMHO, as you could just drag your table
 till
  it fits,

  That is just the opposite of the WYSIWYM concept of LyX and LaTeX. The
  concept is to let the software decide after professional rules what
  means it fits.

 However, automatic table width is a real shortcoming of LaTeX.
 Things work fine, as long as all cell entries are short one-liners.
 However,

 * there is no professional rule for line wrapping in a column unless it
   has a fixed width.

 * without looking at the output, you cannot know, whether a table fits on
   the page or is too wide!!!

 * there is no support for manual line-breaks in a column without
   fixed width (unless you use \shortstack in an ERT).

 * setting a fixed width requires opening a dialogue and inserting values
   (if you want a fixed width for the whole table, this requires complicated
   mathematical calculations as well - in this case the trial and error
   method may even be faster than looking up the documentation on column
   separating space etc...).

 All this is a clear distraction from concentrating on content and WWAATS
 (what we are able to show) is still far from what I mean.


I agree. Table formatting is a real issue in LaTeX (and LyX). However, the
even deeper issue is that table formatting in general is really, really
hard. Until not so many years ago, typesetters would charge extra for books
containing many tables, precisely because they knew that extra labour would
be required (they may still do it, AFAIK).

Word/LibreOffice provide a so-so solution: direct inspection and
adjustement of the table on screen is certainly faster that fiddling with
LaTeX/TeX parameters, but the result is a good enough table that may be
accetable for inter-office communication but it is  also a far cry from a
professionally typeset output. LaTeX solution is more time-intensive and
certainly distracting but the final output is better (although still not
perfect, unless you start fiddling with low-level formatting commands).

In the end, I think we should be honest about both LaTeX's shortcomings and
the difficulty of the problem. A really good looking table would always
require a lot of manual work. It would nice if LaTeX/LyX provided more
direct support for table formatting, but a perfect solution will be out of
reach for a long long time.

Stefano

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

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


Glossary in Lyx

2014-04-01 Thread Tino Langer

Hello,

for my thesis I want to generate two indexes - one for 'abbreviations' 
and one for 'formula symbols'. Currentlty I use the build-in solution 
for nomenclature - so both types of entries are mixed in one index, 
because there no solution exist to generate two different indexes with 
this package.http://www.dict.cc/englisch-deutsch/abbreviations.html


Is it possible to use the glossaries-package with lyx _without_ 
exporting the lyx-file to .tex and to do all the latex-runs manually? 
Each hint helps - many thanks! additionally - I use lyx 2.0.5.1 running 
at Windows 7


Best regards - all the best! - Tino


Re: Proofreading for LyX document

2014-04-01 Thread Scott Kostyshak
On Sun, Mar 30, 2014 at 10:37 PM, Rahayu Prihatin rahayu.p...@gmail.com wrote:
 Hello,

 Anybody knows affordable proofreading services who accept Lyx documents? I
 haveasked some proofreading services but unfortunately most of them only
 accept doc, pdf, and Latex.

 Converting document is the last option for me because it will introduce some
 mess.

Hi Hayu,

I just searched and found this:
http://www.textproof.com/usetex.html
They mention LyX explicitly.
I have no experience with them at all.
If I were you, I would ask them to confirm that they will make changes
with LyX's built-in track changes. I would also ask them what LyX
version they have.

I would be very interested to hear about your experience with them.

Best,

Scott


Re: Lyx installation in Mint16

2014-04-01 Thread Jacob Bishop
On Wed, Mar 26, 2014 at 4:00 PM, James A.R. Koehler jim.koeh...@usask.cawrote:

 I have installed Lyx (several times!) on two Mint16 machines; one a 32-bit
 version and the other 64-bit.  Mint is based on Ubuntu 13. In both cases,
 when installing either from a download from the Lyx site or via the .deb
 repository, it installs without any classes or layouts; i.e., it is not
 very useful.  If I try to read the User Manual, it comes up with an error
 saying it cannot find the appropriate class to display the data.  Catch 22.

 In previous installations on earlier distributions of Linux in other
 years, the installation was seamless and problem free.  Help!

 Jim


Hi Jim,

I don't think I've been able to follow this discussion perfectly, but I may
still be able to help. My main machine (on which I am typing right now) is
running 64-bit Linux Mint Cinnamon 16 (Petra). I am not using any ppa's, so
I believe my version of LyX is from the regular repo's. It's version 2.0.6.
I have no trouble viewing and compiling the user's manual. Unless space is
particularly tight on your machine (or you have slow network access), I
would follow Liviu's suggestion of installing a full version of texlive. I
just checked, by running  $dpkg --list | grep texlive to see what
packages I have installed, and I can say that my installation certainly
isn't minimal (see the attached text file for the output from my machine
using that command), but it works great. After installing any new packages,
you should open LyX, and run Tools-Reconfigure as Pavel suggested. Then,
close LyX, re-open it, and see what you get.

How does that work for you?

Jacob
dpkg --list | grep texlive

ii  texlive-base2013.20130722-1 
all  TeX Live: Essential programs and files
ii  texlive-bibtex-extra2013.20130722-1 
all  TeX Live: BibTeX additional styles
ii  texlive-binaries2013.20130529.30792-1ubuntu1
amd64Binaries for TeX Live
ii  texlive-extra-utils 2013.20130722-1 
all  TeX Live: TeX auxiliary programs
ii  texlive-font-utils  2013.20130722-1 
all  TeX Live: Graphics and font utilities
ii  texlive-fonts-recommended   2013.20130722-1 
all  TeX Live: Recommended fonts
ii  texlive-fonts-recommended-doc   2013.20130722-1 
all  TeX Live: Documentation files for texlive-fonts-recommended
ii  texlive-generic-extra   2013.20130722-1 
all  TeX Live: Generic additional packages
ii  texlive-generic-recommended 2013.20130722-1 
all  TeX Live: Generic recommended packages
ii  texlive-latex-base  2013.20130722-1 
all  TeX Live: LaTeX fundamental packages
ii  texlive-latex-base-doc  2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-base
ii  texlive-latex-extra 2013.20130722-1 
all  TeX Live: LaTeX additional packages
ii  texlive-latex-extra-doc 2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-extra
ii  texlive-latex-recommended   2013.20130722-1 
all  TeX Live: LaTeX recommended packages
ii  texlive-latex-recommended-doc   2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-recommended
ii  texlive-luatex  2013.20130722-1 
all  TeX Live: LuaTeX packages
ii  texlive-pictures2013.20130722-1 
all  TeX Live: Graphics, pictures, diagrams
ii  texlive-pictures-doc2013.20130722-1 
all  TeX Live: Documentation files for texlive-pictures
ii  texlive-pstricks2013.20130722-1 
all  TeX Live: PSTricks
ii  texlive-pstricks-doc2013.20130722-1 
all  TeX Live: Documentation files for texlive-pstricks
ii  texlive-publishers  2013.20130722-1 
all  TeX Live: Publisher styles, theses, etc.
ii  texlive-science 2013.20130722-1 
all  TeX Live: Natural and computer sciences
ii  texlive-science-doc 2013.20130722-1 
all  TeX Live: Documentation files for texlive-science


Re: ANNOUNCE: LyX version 2.1.0 (rc1)

2014-04-01 Thread Wolfgang Keller
 Thanks, I was not aware of that LyTeX is still alive.
 Apparently this version writes something to the registry (this can
 also be done by portable versions). However, I wonder that they
 provided a beta version as portable LyTeX

They don't, at least not for me.

I installed the version they had years ago and since then I have
always only overwritten the LyX subfolder with the installers that I
have downloaded from ftp.lyx.org without using the updater included
in LyTeX. And in parallel I have kept the TeXLive subfolder updated with
the TexLive package manager as well. Has worked perfectly across
releases.

Probably the only thing that's still left from the original LyTeX (must
have been 1.6.x back then) is the folder structure and the startupt
script.

  This error message should only occur if you try to install LyX
  2.1rc1 over LyX 2.1rc1. This is checked by the Windows registry.
 
  There can be nothing in the registry, since I don't have
  authorisation to write to the registry on this computer.
 
 You always have the right to write to the registry section
 HKey_Current_User.

On this computer, all transient entries there should get erased upon
startup.

Yes, they are that sadistic.
 
  Which is a restriction that's just as compulsive and imperious as
  those idiotic installers are. Seems the most important concern of
  certain people is to prevent others from being able to do their
  work.
 
 I don't understand. The LyX installer allows you to install LyX also
 if you only have a guest account on a PC.
 However, if your Admin denies to allow you to install things, he has
 a reason. So better blame him.

He doesn't have a reason. I know - way - more about computer security
than him.

(Which is not difficult, all Windows administrators I have met so far
were hopelessly clueless morons.)

It's just a professional sickness. IT administrators compulsively lock
down the computers beyond uselessness (to the point that ever more
often bring your own is the only way to get anything done any more),
software developers/packagers compulsively require running pointless
installers, and in between, like punchbags are caught those people
who have to get the actual productive work done. 

  Hmm, or did you once installed LyX 2.1beta? If so you must
  uninstall LyX 2.1beta first (these were testing releases (for
  LyX-only not the installer nor LyX's dependencies) so that an easy
  upgrade is not possible).
 
  A dumb installer would simply overwrite the previous installation
 
 As aid, this is in case of beta releases no feature. We are only a
 small group of developers. Providing also full support for beta
 versions would cost us a lot time we don't have. 

I am not asking for that. I keep a backup of the last known working LyX
subfolder I have.

So if anything doesn't work, I'll just sent a corresponding rant to the
list and roll back.

 And don't forget we all have a private life and a job - we develop
 LyX in our spare time!

I don't have a private life. Among others, thanks to the obscene
absurdities of modern office work environments where all kinds of
fat tapeworms wag with us dogs.
 
  Could you please be a bit more polite. You apparently found a bug
  but there is no reason to be abusive!
 
  I guess that implementing the check function is an extra effort to
  make, which is totally pointless imho. I see exactly *zero* added
  value from this function (actually a refusal to provide a
  required function). The installer just shouldn't care for whether
  LyX is already installed or not and overwrite everything, basta.
 
 This can destroy your LyX settings so that it can become unusable.

It won't destroy anything that I can't roll back by simply trashing
the LyX subfolder that's kaputt and by replacing it with the last
known working version.

That is *one* of the *many* advantages of installer-free application
distribution.

No need for installers, no need for uninstallers, backups are trivial
and so are rollbacks.

This principle of application distribution has been known and
perfectly working at least since 1984 (Atari TOS, MacOS, a little later
of Acorn RiscOS, I don't know about AmigaOS).

Unlike installers, which have *never* actually worked reliably.

  Just like installers (resp. software requiring those) are anyway.
  User-friendly software has to be packaged as simple zero-install zip
  archives. And the Windows registry is only good as an open barn
  door for viruses, trojans and other malware.
 
 Oha, I now fully understand your Admin that you are not allowed to
 install programs.

No computer for that I have ever had the personal reponsibility (and
over that I had full authority) has ever contracted a single virus or
other malware in 25 years.

The only occasions when a computer that I had to use got a virus were
the usual, well known barn doors, that were wide opened by the choice
of OS, applications and by the configuration that was locked down by
the administrictator, so that I couldn't even 

Re: Lyx installation in Mint16

2014-04-01 Thread James A.R. Koehler

Thanks Jacob,

I am also using Mint 16 Petra but with MATE.  On my main machine, 
which is the 64-bit version of Mint16, I installed all the texlive 
packages (I have a fairly high-speed link and lots of HD space), I 
opened Lyx, ran Tools  Reconfigure, closed Lyx and reopened it.  I then 
opened a fairly large document I'd created a few years ago using the 
then current version of Lyx and it seemed to open in the editor nicely.  
When I tried to view the document in dvi, I got an error message saying 
Latex error: File 'wrapfig.sty not found.


I notice that all the sub-directories under the .lyx directory my 
home directory are still all empty.  Surely this is not normal?


Jim

On 14-04-01 10:39 AM, Jacob Bishop wrote:




On Wed, Mar 26, 2014 at 4:00 PM, James A.R. Koehler 
jim.koeh...@usask.ca mailto:jim.koeh...@usask.ca wrote:


I have installed Lyx (several times!) on two Mint16 machines; one
a 32-bit version and the other 64-bit.  Mint is based on Ubuntu
13. In both cases, when installing either from a download from the
Lyx site or via the .deb repository, it installs without any
classes or layouts; i.e., it is not very useful.  If I try to read
the User Manual, it comes up with an error saying it cannot find
the appropriate class to display the data.  Catch 22.

In previous installations on earlier distributions of Linux in
other years, the installation was seamless and problem free.  Help!

Jim


Hi Jim,

I don't think I've been able to follow this discussion perfectly, but 
I may still be able to help. My main machine (on which I am typing 
right now) is running 64-bit Linux Mint Cinnamon 16 (Petra). I am not 
using any ppa's, so I believe my version of LyX is from the regular 
repo's. It's version 2.0.6. I have no trouble viewing and compiling 
the user's manual. Unless space is particularly tight on your machine 
(or you have slow network access), I would follow Liviu's suggestion 
of installing a full version of texlive. I just checked, by running  
$dpkg --list | grep texlive to see what packages I have installed, 
and I can say that my installation certainly isn't minimal (see the 
attached text file for the output from my machine using that command), 
but it works great. After installing any new packages, you should open 
LyX, and run Tools-Reconfigure as Pavel suggested. Then, close LyX, 
re-open it, and see what you get.


How does that work for you?

Jacob




Re: Enabling cropped PDF support

2014-04-01 Thread Bert Lloyd
It appears that pdfcrop comes with MikTeX:
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\pdfcrop.exe
(I am not entirely clear on whether there are any differences between
pdfcrop.pl and this pdfcrop.exe.)

However, in the command window:
 pdfcrop --version
pdfcrop: The Perl interpreter could not be found

in CygWin:
$ pdfcrop --version
pdfcrop 2012/11/02 v1.38
but
$ pdfcrop table.pdf table_cropped.pdf
led to an error.

So, after some experimentation, I found that

1) installing
Strawberry Perl (64-bit) 5.18.2.1-64bit
to C:\strawberry\ (default)
and
Ghostscript 9.14 to C:\Program Files\gs\gs9.14 (default)

and

2) adding paths to both in the windows path and the cygwin path, as
well as uninstalling the older version of perl that comes with cygwin
_and_ removing it from the cygwin path

gets it to work.

In CygWin (note you have to specify gscmd since the default is gs):
$ pdfcrop --gscmd gswin64c table.pdf table_cropped.pdf
PDFCROP 1.38, 2012/11/02 - Copyright (c) 2002-2012 by Heiko Oberdiek.
== 1 page written on `table_cropped.pdf'.

and in the command window (note here you do _not_ need to specify gswin64c):
 pdfcrop table.pdf table_cropped_win.pdf
yielded the same outcome.


On Mon, Mar 31, 2014 at 11:57 PM, Liviu Andronic landronim...@gmail.com wrote:
 On Tue, Apr 1, 2014 at 4:10 AM, Bert Lloyd bert.lloyd...@gmail.com wrote:
 Is there a for-dummies guide anywhere for installing and using pdfcrop
 on Windows? (If such a thing is possible, that is.) I have a very
 basic familiarity with cygwin, but after struggling with what I found
 at
 http://www.ctan.org/pkg/pdfcrop
 I fear I am overmatched.

 Have you tried installing pdfcrop via MiKTeX? That should work.

 Liviu


 W7-64bit, MikTeX 2.9 (which contains pdfcrop.exe and pdftex.exe, both
 in C:\Program Files\MiKTeX 2.9\miktex\bin\x64)
 Cygwin64 with perl v5.14.4, there does not appear to be an option to
 update perl when running Cygwin's setup-x86_64.exe update tool.

 Many thanks -- and apologies for incompetence -- in advance,

 BL


 On Sat, Mar 29, 2014 at 6:42 AM, Jürgen Spitzmüller sp...@lyx.org wrote:
 2014-03-29 11:34 GMT+01:00 Torquil Macdonald Sørensen torq...@gmail.com:

 If I select File - Export - Export as.., I can select PDF
 (cropped), but using it results in the popup message No information
 for exporting the format PDF (cropped). Is my system missing a
 particular program that is needed for cropped PDF export?


 You need pdfcrop:
 http://www.ctan.org/pkg/pdfcrop

 HTH
 Jürgen



 Best regards
 Torquil Sørensen





 --
 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: Lyx installation in Mint16

2014-04-01 Thread Jacob Bishop
On Tue, Apr 1, 2014 at 12:56 PM, James A.R. Koehler jim.koeh...@usask.cawrote:

  Thanks Jacob,


You're welcome. I'm glad to help.



 I am also using Mint 16 Petra but with MATE.  On my main machine,
 which is the 64-bit version of Mint16, I installed all the texlive packages
 (I have a fairly high-speed link and lots of HD space), I opened Lyx, ran
 Tools  Reconfigure, closed Lyx and reopened it.  I then opened a fairly
 large document I'd created a few years ago using the then current version
 of Lyx and it seemed to open in the editor nicely.  When I tried to view
 the document in dvi, I got an error message saying Latex error: File
 'wrapfig.sty not found.


From time to time, I discover that there's a LaTeX package out there I'd
like to use. Sometimes, I discover it from a suggestion or through a
search, but then I have the problem that I don't know how best to install
it. I could manually download the files from CTAN and put them in the right
place, but that gets cumbersome, and there's usually an easier way. In
fact, there's usually some texlive .deb package already in the repositories
waiting for me to install it. The problem is I don't know which package to
install in order to get the LaTeX packages I want. Fortunately, there's a
debian utility called apt-file. It can be installed the typical way (e.g.,
$sudo apt-get install apt-file). Once installed (after running $sudo
apt-file update), you can run a command like $apt-file search wrapfig.sty

I did just that, and it returned the following:

texlive-latex-extra: /usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty

which tells me that if I want to use wrapfig.sty, I need to have the
package texlive-latex-extra installed. So, what I would suggest is that you
install that package, reconfigure LyX, restart LyX, and then try to compile
your document. I do hope this helps.


 I notice that all the sub-directories under the .lyx directory my home
 directory are still all empty.  Surely this is not normal?


I don't really think that's a problem. Someone may correct me if I'm wrong,
but I believe that directory is only for local customizations to your LyX
install, and it's perfectly fine for it to be empty. Can you now open and
compile the help manuals? Please report back.

Jacob


Re: Lyx installation in Mint16

2014-04-01 Thread James A.R. Koehler

Hi Jacob,

That seems to be the general fix!  It now all appears to be working 
correctly.  I must say that I really do appreciate the help I have 
gotten from you guys.


When I just now tried to create a .pdf file of this large 
document I have been working on, I got another error about a missing 
.sty file so I used the same procedure and successfully also installed 
that missing .sty file.  My .pdf file was then generated correctly.


Thanks again!!

Jim


On 14-04-01 01:10 PM, Jacob Bishop wrote:
On Tue, Apr 1, 2014 at 12:56 PM, James A.R. Koehler 
jim.koeh...@usask.ca mailto:jim.koeh...@usask.ca wrote:


Thanks Jacob,


You're welcome. I'm glad to help.


I am also using Mint 16 Petra but with MATE.  On my main
machine, which is the 64-bit version of Mint16, I installed all
the texlive packages (I have a fairly high-speed link and lots of
HD space), I opened Lyx, ran Tools  Reconfigure, closed Lyx and
reopened it.  I then opened a fairly large document I'd created a
few years ago using the then current version of Lyx and it seemed
to open in the editor nicely.  When I tried to view the document
in dvi, I got an error message saying Latex error: File
'wrapfig.sty not found.


From time to time, I discover that there's a LaTeX package out there 
I'd like to use. Sometimes, I discover it from a suggestion or through 
a search, but then I have the problem that I don't know how best to 
install it. I could manually download the files from CTAN and put them 
in the right place, but that gets cumbersome, and there's usually an 
easier way. In fact, there's usually some texlive .deb package already 
in the repositories waiting for me to install it. The problem is I 
don't know which package to install in order to get the LaTeX packages 
I want. Fortunately, there's a debian utility called apt-file. It can 
be installed the typical way (e.g., $sudo apt-get install apt-file). 
Once installed (after running $sudo apt-file update), you can run a 
command like $apt-file search wrapfig.sty


I did just that, and it returned the following:

texlive-latex-extra: 
/usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty


which tells me that if I want to use wrapfig.sty, I need to have the 
package texlive-latex-extra installed. So, what I would suggest is 
that you install that package, reconfigure LyX, restart LyX, and then 
try to compile your document. I do hope this helps.


I notice that all the sub-directories under the .lyx directory
my home directory are still all empty.  Surely this is not normal?


I don't really think that's a problem. Someone may correct me if I'm 
wrong, but I believe that directory is only for local customizations 
to your LyX install, and it's perfectly fine for it to be empty. Can 
you now open and compile the help manuals? Please report back.

Jacob




Re: Lyx installation in Mint16

2014-04-01 Thread James A.R. Koehler

Oops, forgot to reply to all!

Hi Jacob,

That seems to be the general fix!  It now all appears to be working 
correctly.  I must say that I really do appreciate the help I have 
gotten from you guys.


When I just now tried to create a .pdf file of this large 
document I have been working on, I got another error about a missing 
.sty file so I used the same procedure and successfully also installed 
that missing .sty file.  My .pdf file was then generated correctly.


Thanks again!!

Jim


On 14-04-01 01:10 PM, Jacob Bishop wrote:
On Tue, Apr 1, 2014 at 12:56 PM, James A.R. Koehler 
jim.koeh...@usask.ca mailto:jim.koeh...@usask.ca wrote:


Thanks Jacob,


You're welcome. I'm glad to help.


I am also using Mint 16 Petra but with MATE.  On my main
machine, which is the 64-bit version of Mint16, I installed all
the texlive packages (I have a fairly high-speed link and lots of
HD space), I opened Lyx, ran Tools  Reconfigure, closed Lyx and
reopened it.  I then opened a fairly large document I'd created a
few years ago using the then current version of Lyx and it seemed
to open in the editor nicely.  When I tried to view the document
in dvi, I got an error message saying Latex error: File
'wrapfig.sty not found.


From time to time, I discover that there's a LaTeX package out there 
I'd like to use. Sometimes, I discover it from a suggestion or through 
a search, but then I have the problem that I don't know how best to 
install it. I could manually download the files from CTAN and put them 
in the right place, but that gets cumbersome, and there's usually an 
easier way. In fact, there's usually some texlive .deb package already 
in the repositories waiting for me to install it. The problem is I 
don't know which package to install in order to get the LaTeX packages 
I want. Fortunately, there's a debian utility called apt-file. It can 
be installed the typical way (e.g., $sudo apt-get install apt-file). 
Once installed (after running $sudo apt-file update), you can run a 
command like $apt-file search wrapfig.sty


I did just that, and it returned the following:

texlive-latex-extra: 
/usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty


which tells me that if I want to use wrapfig.sty, I need to have the 
package texlive-latex-extra installed. So, what I would suggest is 
that you install that package, reconfigure LyX, restart LyX, and then 
try to compile your document. I do hope this helps.


I notice that all the sub-directories under the .lyx directory
my home directory are still all empty.  Surely this is not normal?


I don't really think that's a problem. Someone may correct me if I'm 
wrong, but I believe that directory is only for local customizations 
to your LyX install, and it's perfectly fine for it to be empty. Can 
you now open and compile the help manuals? Please report back.

Jacob




Re: Enabling cropped PDF support

2014-04-01 Thread Uwe Stöhr

Am 01.04.2014 04:10, schrieb Bert Lloyd:


Is there a for-dummies guide anywhere for installing and using pdfcrop
on Windows?


The LyX installer of LyX 2.1 prepares everything for yo. Unfortunately there is a bug in the pdfcrop 
version that is part of MiKTeX 64bit. Therefore pdfcrop does not work with 64bit MiKTeX.
I already informed the author of pdfcrop and sent thm a fix but it takes a while until it is 
released and then until it becomes part of MiKTeX.


regards Uwe


tex2lyx -f error

2014-04-01 Thread Okhaide Akhigbe
I am trying to import the springer BioMed Central's TeX template (
http://www.springeropen.com/authors/tex), for use in a journal.

When I import I get this error

[image: Inline image 1]


The following is my configurations:
Windows 8 64bit
LyX 2.0.7
MikeTex 2.9
inline: image.png

How to get cropped PDF graphic on the clipboard

2014-04-01 Thread Jerry
Nice to see the ability to export a LyX file as a cropped PDF in version 
2.1.0.x. However, the document is actually exported as a file, whereas it would 
more useful if it were instead or also placed on the clipboard for pasting into 
another document--that would fully allow LyX to be used as a standalone 
equation editor for other applications.

I use OS X and I notice that LyX is now AppleScriptable. Maybe there's a 
solution using AppleScript.

Jerry

Re: Table width

2014-04-01 Thread Guenter Milde
On 2014-03-30, Uwe Stöhr wrote:
> Am 30.03.2014 07:57, schrieb Carsten Jahn:

>> I didnt mean long tables but wide ones, and word, as much as I hate to
>> admit, is better in that one IMHO, as you could just drag your table till
>> it fits,

> That is just the opposite of the WYSIWYM concept of LyX and LaTeX. The
> concept is to let the software decide after professional rules what
> means "it fits".

However, automatic table width is a real shortcoming of LaTeX.
Things work fine, as long as all cell entries are short one-liners.
However,

* there is no "professional rule" for line wrapping in a column unless it
  has a fixed width.
  
* without looking at the output, you cannot know, whether a table fits on
  the page or is too wide!!!
  
* there is no support for manual line-breaks in a column without
  fixed width (unless you use \shortstack in an ERT).
  
* setting a fixed width requires opening a dialogue and inserting values
  (if you want a fixed width for the whole table, this requires complicated
  mathematical calculations as well - in this case the trial and error
  method may even be faster than looking up the documentation on column
  separating space etc...).
  
All this is a clear distraction from concentrating on content and WWAATS
(what we are able to show) is still far from what I mean.


>> while you have to manually input the parameters in LyX and compile
>> it for every trial and error.

> Note that this is not the way you should go. If you try to fit
> everything as you like it all the time you look a lot of time and when
> you modify your document you will have to do this again and again. So
> better concentrate on writing and do the fine-tuning when the document
> is really ready.

However, this still means I cannot see the whole table unless "fine
tuning" and I have to fine tune (fixing tables maybe 5 times as wide as
the page) by calculating column widths and inserting the result for every
table at the end of the process.

If it were not for the advantages in other parts of the process, I would
select/recomment an alternative system.

Let's be honest about both, strenghts and weaknesses.

Günter



Re: Table width

2014-04-01 Thread stefano franchi
On Tue, Apr 1, 2014 at 9:21 AM, Guenter Milde  wrote:

> On 2014-03-30, Uwe Stöhr wrote:
> > Am 30.03.2014 07:57, schrieb Carsten Jahn:
>
> >> I didnt mean long tables but wide ones, and word, as much as I hate to
> >> admit, is better in that one IMHO, as you could just drag your table
> till
> >> it fits,
>
> > That is just the opposite of the WYSIWYM concept of LyX and LaTeX. The
> > concept is to let the software decide after professional rules what
> > means "it fits".
>
> However, automatic table width is a real shortcoming of LaTeX.
> Things work fine, as long as all cell entries are short one-liners.
> However,
>
> * there is no "professional rule" for line wrapping in a column unless it
>   has a fixed width.
>
> * without looking at the output, you cannot know, whether a table fits on
>   the page or is too wide!!!
>
> * there is no support for manual line-breaks in a column without
>   fixed width (unless you use \shortstack in an ERT).
>
> * setting a fixed width requires opening a dialogue and inserting values
>   (if you want a fixed width for the whole table, this requires complicated
>   mathematical calculations as well - in this case the trial and error
>   method may even be faster than looking up the documentation on column
>   separating space etc...).
>
> All this is a clear distraction from concentrating on content and WWAATS
> (what we are able to show) is still far from what I mean.
>
>
I agree. Table formatting is a real issue in LaTeX (and LyX). However, the
even deeper issue is that table formatting in general is really, really
hard. Until not so many years ago, typesetters would charge extra for books
containing many tables, precisely because they knew that extra labour would
be required (they may still do it, AFAIK).

Word/LibreOffice provide a so-so solution: direct inspection and
adjustement of the table on screen is certainly faster that fiddling with
LaTeX/TeX parameters, but the result is a "good enough" table that may be
accetable for inter-office communication but it is  also a far cry from a
professionally typeset output. LaTeX solution is more time-intensive and
certainly distracting but the final output is better (although still not
perfect, unless you start fiddling with low-level formatting commands).

In the end, I think we should be honest about both LaTeX's shortcomings and
the difficulty of the problem. A really good looking table would always
require a lot of manual work. It would nice if LaTeX/LyX provided more
direct support for table formatting, but a perfect solution will be out of
reach for a long long time.

Stefano

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

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


Glossary in Lyx

2014-04-01 Thread Tino Langer

Hello,

for my thesis I want to generate two indexes - one for 'abbreviations' 
and one for 'formula symbols'. Currentlty I use the build-in solution 
for nomenclature - so both types of entries are mixed in one index, 
because there no solution exist to generate two different indexes with 
this package.


Is it possible to use the glossaries-package with lyx _without_ 
exporting the lyx-file to .tex and to do all the latex-runs manually? 
Each hint helps - many thanks! additionally - I use lyx 2.0.5.1 running 
at Windows 7


Best regards - all the best! - Tino


Re: Proofreading for LyX document

2014-04-01 Thread Scott Kostyshak
On Sun, Mar 30, 2014 at 10:37 PM, Rahayu Prihatin  wrote:
> Hello,
>
> Anybody knows affordable proofreading services who accept Lyx documents? I
> haveasked some proofreading services but unfortunately most of them only
> accept doc, pdf, and Latex.
>
> Converting document is the last option for me because it will introduce some
> mess.

Hi Hayu,

I just searched and found this:
http://www.textproof.com/usetex.html
They mention LyX explicitly.
I have no experience with them at all.
If I were you, I would ask them to confirm that they will make changes
with LyX's built-in track changes. I would also ask them what LyX
version they have.

I would be very interested to hear about your experience with them.

Best,

Scott


Re: Lyx installation in Mint16

2014-04-01 Thread Jacob Bishop
On Wed, Mar 26, 2014 at 4:00 PM, James A.R. Koehler wrote:

> I have installed Lyx (several times!) on two Mint16 machines; one a 32-bit
> version and the other 64-bit.  Mint is based on Ubuntu 13. In both cases,
> when installing either from a download from the Lyx site or via the .deb
> repository, it installs without any classes or layouts; i.e., it is not
> very useful.  If I try to read the User Manual, it comes up with an error
> saying it cannot find the appropriate class to display the data.  Catch 22.
>
> In previous installations on earlier distributions of Linux in other
> years, the installation was seamless and problem free.  Help!
>
> Jim


Hi Jim,

I don't think I've been able to follow this discussion perfectly, but I may
still be able to help. My main machine (on which I am typing right now) is
running 64-bit Linux Mint Cinnamon 16 (Petra). I am not using any ppa's, so
I believe my version of LyX is from the regular repo's. It's version 2.0.6.
I have no trouble viewing and compiling the user's manual. Unless space is
particularly tight on your machine (or you have slow network access), I
would follow Liviu's suggestion of installing a full version of texlive. I
just checked, by running  $dpkg --list | grep "texlive" to see what
packages I have installed, and I can say that my installation certainly
isn't minimal (see the attached text file for the output from my machine
using that command), but it works great. After installing any new packages,
you should open LyX, and run Tools->Reconfigure as Pavel suggested. Then,
close LyX, re-open it, and see what you get.

How does that work for you?

Jacob
dpkg --list | grep "texlive"

ii  texlive-base2013.20130722-1 
all  TeX Live: Essential programs and files
ii  texlive-bibtex-extra2013.20130722-1 
all  TeX Live: BibTeX additional styles
ii  texlive-binaries2013.20130529.30792-1ubuntu1
amd64Binaries for TeX Live
ii  texlive-extra-utils 2013.20130722-1 
all  TeX Live: TeX auxiliary programs
ii  texlive-font-utils  2013.20130722-1 
all  TeX Live: Graphics and font utilities
ii  texlive-fonts-recommended   2013.20130722-1 
all  TeX Live: Recommended fonts
ii  texlive-fonts-recommended-doc   2013.20130722-1 
all  TeX Live: Documentation files for texlive-fonts-recommended
ii  texlive-generic-extra   2013.20130722-1 
all  TeX Live: Generic additional packages
ii  texlive-generic-recommended 2013.20130722-1 
all  TeX Live: Generic recommended packages
ii  texlive-latex-base  2013.20130722-1 
all  TeX Live: LaTeX fundamental packages
ii  texlive-latex-base-doc  2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-base
ii  texlive-latex-extra 2013.20130722-1 
all  TeX Live: LaTeX additional packages
ii  texlive-latex-extra-doc 2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-extra
ii  texlive-latex-recommended   2013.20130722-1 
all  TeX Live: LaTeX recommended packages
ii  texlive-latex-recommended-doc   2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-recommended
ii  texlive-luatex  2013.20130722-1 
all  TeX Live: LuaTeX packages
ii  texlive-pictures2013.20130722-1 
all  TeX Live: Graphics, pictures, diagrams
ii  texlive-pictures-doc2013.20130722-1 
all  TeX Live: Documentation files for texlive-pictures
ii  texlive-pstricks2013.20130722-1 
all  TeX Live: PSTricks
ii  texlive-pstricks-doc2013.20130722-1 
all  TeX Live: Documentation files for texlive-pstricks
ii  texlive-publishers  2013.20130722-1 
all  TeX Live: Publisher styles, theses, etc.
ii  texlive-science 2013.20130722-1 
all  TeX Live: Natural and computer sciences
ii  texlive-science-doc 2013.20130722-1 
all  TeX Live: Documentation files for texlive-science


Re: ANNOUNCE: LyX version 2.1.0 (rc1)

2014-04-01 Thread Wolfgang Keller
> Thanks, I was not aware of that LyTeX is still alive.
> Apparently this version writes something to the registry (this can
> also be done by portable versions). However, I wonder that they
> provided a beta version as portable LyTeX

They don't, at least not for me.

I installed the version they had years ago and since then I have
always only overwritten the LyX subfolder with the installers that I
have downloaded from ftp.lyx.org without using the "updater" included
in LyTeX. And in parallel I have kept the TeXLive subfolder updated with
the TexLive package manager as well. Has worked perfectly across
releases.

Probably the only thing that's still left from the original LyTeX (must
have been 1.6.x back then) is the folder structure and the startupt
script.

> >> This error message should only occur if you try to install LyX
> >> 2.1rc1 over LyX 2.1rc1. This is checked by the Windows registry.
> >
> > There can be nothing in the registry, since I don't have
> > authorisation to write to the registry on this computer.
> 
> You always have the right to write to the registry section
> "HKey_Current_User".

On this computer, all "transient" entries there should get erased upon
startup.

Yes, they are that sadistic.
 
> > Which is a restriction that's just as compulsive and imperious as
> > those idiotic installers are. Seems the most important concern of
> > certain people is to prevent others from being able to do their
> > work.
> 
> I don't understand. The LyX installer allows you to install LyX also
> if you only have a guest account on a PC.
> However, if your Admin denies to allow you to install things, he has
> a reason. So better blame him.

He doesn't have a reason. I know - way - more about computer security
than him.

(Which is not difficult, all Windows "administrators" I have met so far
were hopelessly clueless morons.)

It's just a professional sickness. IT "administrators" compulsively lock
down the computers beyond uselessness (to the point that ever more
often "bring your own" is the only way to get anything done any more),
software developers/packagers compulsively require running pointless
"installers", and in between, like punchbags are caught those people
who have to get the actual productive work done. 

> >> Hmm, or did you once installed LyX 2.1beta? If so you must
> >> uninstall LyX 2.1beta first (these were testing releases (for
> >> LyX-only not the installer nor LyX's dependencies) so that an easy
> >> upgrade is not possible).
> >
> > A "dumb" installer would simply overwrite the previous installation
> 
> As aid, this is in case of beta releases no feature. We are only a
> small group of developers. Providing also full support for beta
> versions would cost us a lot time we don't have. 

I am not asking for that. I keep a backup of the last known working LyX
subfolder I have.

So if anything doesn't work, I'll just sent a corresponding rant to the
list and "roll back".

> And don't forget we all have a private life and a job - we develop
> LyX in our spare time!

I don't have a private life. Among others, thanks to the obscene
absurdities of modern office "work" environments where all kinds of
fat tapeworms wag with us dogs.
 
> >> Could you please be a bit more polite. You apparently found a bug
> >> but there is no reason to be abusive!
> >
> > I guess that implementing the "check" function is an extra effort to
> > make, which is totally pointless imho. I see exactly *zero* "added
> > value" from this "function" (actually a refusal to provide a
> > required function). The installer just shouldn't care for whether
> > LyX is already installed or not and overwrite everything, basta.
> 
> This can destroy your LyX settings so that it can become unusable.

It won't destroy anything that I can't roll back by simply trashing
the LyX subfolder that's "kaputt" and by replacing it with the last
known working version.

That is *one* of the *many* advantages of installer-free application
distribution.

No need for installers, no need for uninstallers, backups are trivial
and so are "rollbacks".

This principle of application distribution has been known and
perfectly working at least since 1984 (Atari TOS, MacOS, a little later
of Acorn RiscOS, I don't know about AmigaOS).

Unlike "installers", which have *never* actually worked reliably.

> > Just like "installers" (resp. software requiring those) are anyway.
> > User-friendly software has to be packaged as simple zero-install zip
> > archives. And the Windows "registry" is only good as an open barn
> > door for viruses, trojans and other malware.
> 
> Oha, I now fully understand your Admin that you are not allowed to
> install programs.

No computer for that I have ever had the personal reponsibility (and
over that I had full authority) has ever contracted a single virus or
other "malware" in 25 years.

The only occasions when a computer that I had to use got a virus were
the usual, well known barn doors, that were wide opened by the 

Re: Lyx installation in Mint16

2014-04-01 Thread James A.R. Koehler

Thanks Jacob,

I am also using Mint 16 Petra but with MATE.  On my main machine, 
which is the 64-bit version of Mint16, I installed all the texlive 
packages (I have a fairly high-speed link and lots of HD space), I 
opened Lyx, ran Tools > Reconfigure, closed Lyx and reopened it.  I then 
opened a fairly large document I'd created a few years ago using the 
then current version of Lyx and it seemed to open in the editor nicely.  
When I tried to view the document in dvi, I got an error message saying 
"Latex error: File 'wrapfig.sty not found".


I notice that all the sub-directories under the .lyx directory my 
home directory are still all empty.  Surely this is not normal?


Jim

On 14-04-01 10:39 AM, Jacob Bishop wrote:




On Wed, Mar 26, 2014 at 4:00 PM, James A.R. Koehler 
> wrote:


I have installed Lyx (several times!) on two Mint16 machines; one
a 32-bit version and the other 64-bit.  Mint is based on Ubuntu
13. In both cases, when installing either from a download from the
Lyx site or via the .deb repository, it installs without any
classes or layouts; i.e., it is not very useful.  If I try to read
the User Manual, it comes up with an error saying it cannot find
the appropriate class to display the data.  Catch 22.

In previous installations on earlier distributions of Linux in
other years, the installation was seamless and problem free.  Help!

Jim


Hi Jim,

I don't think I've been able to follow this discussion perfectly, but 
I may still be able to help. My main machine (on which I am typing 
right now) is running 64-bit Linux Mint Cinnamon 16 (Petra). I am not 
using any ppa's, so I believe my version of LyX is from the regular 
repo's. It's version 2.0.6. I have no trouble viewing and compiling 
the user's manual. Unless space is particularly tight on your machine 
(or you have slow network access), I would follow Liviu's suggestion 
of installing a full version of texlive. I just checked, by running  
$dpkg --list | grep "texlive" to see what packages I have installed, 
and I can say that my installation certainly isn't minimal (see the 
attached text file for the output from my machine using that command), 
but it works great. After installing any new packages, you should open 
LyX, and run Tools->Reconfigure as Pavel suggested. Then, close LyX, 
re-open it, and see what you get.


How does that work for you?

Jacob




Re: Enabling cropped PDF support

2014-04-01 Thread Bert Lloyd
It appears that pdfcrop comes with MikTeX:
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\pdfcrop.exe
(I am not entirely clear on whether there are any differences between
pdfcrop.pl and this pdfcrop.exe.)

However, in the command window:
> pdfcrop --version
pdfcrop: The Perl interpreter could not be found

in CygWin:
$ pdfcrop --version
pdfcrop 2012/11/02 v1.38
but
$ pdfcrop table.pdf table_cropped.pdf
led to an error.

So, after some experimentation, I found that

1) installing
Strawberry Perl (64-bit) 5.18.2.1-64bit
to C:\strawberry\ (default)
and
Ghostscript 9.14 to C:\Program Files\gs\gs9.14 (default)

and

2) adding paths to both in the windows path and the cygwin path, as
well as uninstalling the older version of perl that comes with cygwin
_and_ removing it from the cygwin path

gets it to work.

In CygWin (note you have to specify gscmd since the default is gs):
$ pdfcrop --gscmd gswin64c table.pdf table_cropped.pdf
PDFCROP 1.38, 2012/11/02 - Copyright (c) 2002-2012 by Heiko Oberdiek.
==> 1 page written on `table_cropped.pdf'.

and in the command window (note here you do _not_ need to specify gswin64c):
> pdfcrop table.pdf table_cropped_win.pdf
yielded the same outcome.


On Mon, Mar 31, 2014 at 11:57 PM, Liviu Andronic  wrote:
> On Tue, Apr 1, 2014 at 4:10 AM, Bert Lloyd  wrote:
>> Is there a for-dummies guide anywhere for installing and using pdfcrop
>> on Windows? (If such a thing is possible, that is.) I have a very
>> basic familiarity with cygwin, but after struggling with what I found
>> at
>> http://www.ctan.org/pkg/pdfcrop
>> I fear I am overmatched.
>>
> Have you tried installing pdfcrop via MiKTeX? That should work.
>
> Liviu
>
>
>> W7-64bit, MikTeX 2.9 (which contains pdfcrop.exe and pdftex.exe, both
>> in C:\Program Files\MiKTeX 2.9\miktex\bin\x64)
>> Cygwin64 with perl v5.14.4, there does not appear to be an option to
>> update perl when running Cygwin's setup-x86_64.exe update tool.
>>
>> Many thanks -- and apologies for incompetence -- in advance,
>>
>> BL
>>
>>
>> On Sat, Mar 29, 2014 at 6:42 AM, Jürgen Spitzmüller  wrote:
>>> 2014-03-29 11:34 GMT+01:00 Torquil Macdonald Sørensen :
>>>
 If I select "File -> Export -> Export as..", I can select "PDF
 (cropped)", but using it results in the popup message "No information
 for exporting the format PDF (cropped)". Is my system missing a
 particular program that is needed for cropped PDF export?
>>>
>>>
>>> You need "pdfcrop":
>>> http://www.ctan.org/pkg/pdfcrop
>>>
>>> HTH
>>> Jürgen
>>>


 Best regards
 Torquil Sørensen

>>>
>
>
>
> --
> 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: Lyx installation in Mint16

2014-04-01 Thread Jacob Bishop
On Tue, Apr 1, 2014 at 12:56 PM, James A.R. Koehler wrote:

>  Thanks Jacob,
>

You're welcome. I'm glad to help.


>
> I am also using Mint 16 Petra but with MATE.  On my main machine,
> which is the 64-bit version of Mint16, I installed all the texlive packages
> (I have a fairly high-speed link and lots of HD space), I opened Lyx, ran
> Tools > Reconfigure, closed Lyx and reopened it.  I then opened a fairly
> large document I'd created a few years ago using the then current version
> of Lyx and it seemed to open in the editor nicely.  When I tried to view
> the document in dvi, I got an error message saying "Latex error: File
> 'wrapfig.sty not found".
>

>From time to time, I discover that there's a LaTeX package out there I'd
like to use. Sometimes, I discover it from a suggestion or through a
search, but then I have the problem that I don't know how best to install
it. I could manually download the files from CTAN and put them in the right
place, but that gets cumbersome, and there's usually an easier way. In
fact, there's usually some texlive .deb package already in the repositories
waiting for me to install it. The problem is I don't know which package to
install in order to get the LaTeX packages I want. Fortunately, there's a
debian utility called apt-file. It can be installed the typical way (e.g.,
$sudo apt-get install apt-file). Once installed (after running $sudo
apt-file update), you can run a command like $apt-file search wrapfig.sty

I did just that, and it returned the following:

texlive-latex-extra: /usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty

which tells me that if I want to use wrapfig.sty, I need to have the
package texlive-latex-extra installed. So, what I would suggest is that you
install that package, reconfigure LyX, restart LyX, and then try to compile
your document. I do hope this helps.


> I notice that all the sub-directories under the .lyx directory my home
> directory are still all empty.  Surely this is not normal?
>

I don't really think that's a problem. Someone may correct me if I'm wrong,
but I believe that directory is only for local customizations to your LyX
install, and it's perfectly fine for it to be empty. Can you now open and
compile the help manuals? Please report back.

Jacob


Re: Lyx installation in Mint16

2014-04-01 Thread James A.R. Koehler

Hi Jacob,

That seems to be the general fix!  It now all appears to be working 
correctly.  I must say that I really do appreciate the help I have 
gotten from you guys.


When I just now tried to create a .pdf file of this large 
document I have been working on, I got another error about a missing 
.sty file so I used the same procedure and successfully also installed 
that missing .sty file.  My .pdf file was then generated correctly.


Thanks again!!

Jim


On 14-04-01 01:10 PM, Jacob Bishop wrote:
On Tue, Apr 1, 2014 at 12:56 PM, James A.R. Koehler 
> wrote:


Thanks Jacob,


You're welcome. I'm glad to help.


I am also using Mint 16 Petra but with MATE.  On my main
machine, which is the 64-bit version of Mint16, I installed all
the texlive packages (I have a fairly high-speed link and lots of
HD space), I opened Lyx, ran Tools > Reconfigure, closed Lyx and
reopened it.  I then opened a fairly large document I'd created a
few years ago using the then current version of Lyx and it seemed
to open in the editor nicely.  When I tried to view the document
in dvi, I got an error message saying "Latex error: File
'wrapfig.sty not found".


From time to time, I discover that there's a LaTeX package out there 
I'd like to use. Sometimes, I discover it from a suggestion or through 
a search, but then I have the problem that I don't know how best to 
install it. I could manually download the files from CTAN and put them 
in the right place, but that gets cumbersome, and there's usually an 
easier way. In fact, there's usually some texlive .deb package already 
in the repositories waiting for me to install it. The problem is I 
don't know which package to install in order to get the LaTeX packages 
I want. Fortunately, there's a debian utility called apt-file. It can 
be installed the typical way (e.g., $sudo apt-get install apt-file). 
Once installed (after running $sudo apt-file update), you can run a 
command like $apt-file search wrapfig.sty


I did just that, and it returned the following:

texlive-latex-extra: 
/usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty


which tells me that if I want to use wrapfig.sty, I need to have the 
package texlive-latex-extra installed. So, what I would suggest is 
that you install that package, reconfigure LyX, restart LyX, and then 
try to compile your document. I do hope this helps.


I notice that all the sub-directories under the .lyx directory
my home directory are still all empty.  Surely this is not normal?


I don't really think that's a problem. Someone may correct me if I'm 
wrong, but I believe that directory is only for local customizations 
to your LyX install, and it's perfectly fine for it to be empty. Can 
you now open and compile the help manuals? Please report back.

Jacob




Re: Lyx installation in Mint16

2014-04-01 Thread James A.R. Koehler

Oops, forgot to reply to all!

Hi Jacob,

That seems to be the general fix!  It now all appears to be working 
correctly.  I must say that I really do appreciate the help I have 
gotten from you guys.


When I just now tried to create a .pdf file of this large 
document I have been working on, I got another error about a missing 
.sty file so I used the same procedure and successfully also installed 
that missing .sty file.  My .pdf file was then generated correctly.


Thanks again!!

Jim


On 14-04-01 01:10 PM, Jacob Bishop wrote:
On Tue, Apr 1, 2014 at 12:56 PM, James A.R. Koehler 
> wrote:


Thanks Jacob,


You're welcome. I'm glad to help.


I am also using Mint 16 Petra but with MATE.  On my main
machine, which is the 64-bit version of Mint16, I installed all
the texlive packages (I have a fairly high-speed link and lots of
HD space), I opened Lyx, ran Tools > Reconfigure, closed Lyx and
reopened it.  I then opened a fairly large document I'd created a
few years ago using the then current version of Lyx and it seemed
to open in the editor nicely.  When I tried to view the document
in dvi, I got an error message saying "Latex error: File
'wrapfig.sty not found".


From time to time, I discover that there's a LaTeX package out there 
I'd like to use. Sometimes, I discover it from a suggestion or through 
a search, but then I have the problem that I don't know how best to 
install it. I could manually download the files from CTAN and put them 
in the right place, but that gets cumbersome, and there's usually an 
easier way. In fact, there's usually some texlive .deb package already 
in the repositories waiting for me to install it. The problem is I 
don't know which package to install in order to get the LaTeX packages 
I want. Fortunately, there's a debian utility called apt-file. It can 
be installed the typical way (e.g., $sudo apt-get install apt-file). 
Once installed (after running $sudo apt-file update), you can run a 
command like $apt-file search wrapfig.sty


I did just that, and it returned the following:

texlive-latex-extra: 
/usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty


which tells me that if I want to use wrapfig.sty, I need to have the 
package texlive-latex-extra installed. So, what I would suggest is 
that you install that package, reconfigure LyX, restart LyX, and then 
try to compile your document. I do hope this helps.


I notice that all the sub-directories under the .lyx directory
my home directory are still all empty.  Surely this is not normal?


I don't really think that's a problem. Someone may correct me if I'm 
wrong, but I believe that directory is only for local customizations 
to your LyX install, and it's perfectly fine for it to be empty. Can 
you now open and compile the help manuals? Please report back.

Jacob




Re: Enabling cropped PDF support

2014-04-01 Thread Uwe Stöhr

Am 01.04.2014 04:10, schrieb Bert Lloyd:


Is there a for-dummies guide anywhere for installing and using pdfcrop
on Windows?


The LyX installer of LyX 2.1 prepares everything for yo. Unfortunately there is a bug in the pdfcrop 
version that is part of MiKTeX 64bit. Therefore pdfcrop does not work with 64bit MiKTeX.
I already informed the author of pdfcrop and sent thm a fix but it takes a while until it is 
released and then until it becomes part of MiKTeX.


regards Uwe


tex2lyx -f error

2014-04-01 Thread Okhaide Akhigbe
I am trying to import the springer "BioMed Central's TeX template" (
http://www.springeropen.com/authors/tex), for use in a journal.

When I import I get this error

[image: Inline image 1]


The following is my configurations:
Windows 8 64bit
LyX 2.0.7
MikeTex 2.9
<>