Re: lyx 2.3.2

2019-03-25 Thread Alan L Tyree

You can always install multiple versions using GNU Stow.

See https://wiki.lyx.org/Tips/Compiling for details.

Cheers,
Alan

On 26/3/19 3:59 am, John White wrote:


If I recall, I went to synaptic and simply updated lyx to the new version.

John

On Monday, March 25, 2019 4:48:58 PM PDT Wolfgang Engelmann wrote:

> On 25.03.19 15:52, j...@lawquest.com wrote:

> > On Monday, March 25, 2019 10:56:28 AM PDT Wolfgang Engelmann wrote:

> > > On 25.03.19 10:48, Jean-Marc Lasgouttes wrote:

> > > > Le 25/03/2019 à 10:46, Wolfgang Engelmann a écrit :

> > > >> I would like to install the Debian stable backport binary 
2.3.2 on my


> > > >>

> > > >> new notebook. I had installed in stretch version 2.2.2. Do I 
have to


> > > >>

> > > >> de-install this one before doing it?

> > > >

> > > > If both are packaged by debian, I would think you do not need to

> > > >

> > > > uninstall.

> > > >

> > > >

> > > >

> > > > JMarc

> > >

> > > Thanks, JMarc

> > >

> > >

> > >

> > > Wolfgang

> >

> > When I did the same thing (loaded backport 2.3.2 on top of my existing

> > debian stretch lyx)

>

> John, how did you do it in detail?  I downloaded 2.3.2 in my Download

> folder. How do I make sure it is installed at the same place as the old

> lyx? Wolfgang

>

> > I did not first remove lyx. New version just updated and works fine.

> > And I think it solved my extra spacing problem as well.

> >

> > John


--
Alan L Tyreehttp://www2.austlii.edu.au/~alan



Re: Ubuntu: keep lyx 2.2.3 and 2.3.1 in same system

2018-11-03 Thread Alan L Tyree

On 4/11/18 4:35 am, Liviu Andronic wrote:

On 10/13/18, Paul Johnson  wrote:

I have some projects based on LyX 2.2.3 that I want to work on and I
don't want to update to new. However, I also have projects based on
2.3 and I can't edit those with old LyX.

Liviu Andronic worked out a way for this to be possible a few years
ago, but I cannot find documents about it. I wish I could have old and
new lyx installed at same time, to easily run one or the other.
I've tried to do this by installing 2.3.1 from the Ubuntu package and
then compiling 2.2.3 from source and installing off the path, but then
I found the 2 versions should not share a user configuration folder.
After using 2.3.1 and allowing it to revise ~/.lyx, then lyx 2.2.3
cannot start. Error like this:


I didn't continue doing the previous stable release packages as a
separate install (like I did for 1.6 and 2.0) as it didn't seem like
there was enough demand. I may reconsider this going forward.

If you're building from source, it's very easy to achieve this, and
you would only need to use this argument when configuring, e.g.:
--with-version-suffix=2.2

This will take care of most things, like renaming the binary to
'lyx2.2', the share and home folders to 'lyx2.2', etc. It works
surprisingly well. You should even be able to do make install, and in
principle it shouldn't clash with the existing install from the PPA.

Although it's necessarily more complicated, for inspiration you can
always take a look at, e.g., the lyx2.0 packages. Just fetch e.g.:
lyx2.0_2.0.8.1-2~trusty~ppa1.debian.tar.gz

and inspect the 'debian/rules' file. It will list the config options.

Regards,
Liviu



$ ./lyx
Warning: Could not read configuration file

Error while reading the configuration file
preferences.
Please check your installation.

So obviously I need to be more graceful, separate config folders.

I thought about building a new Debian package "lyx223". I'm pretty
sure that's what I think Liviu did.  For me that was a fail because
the deb packaging code for the lyx project has a lot of hard coded
folders like /usr/share/lyx, so it is not too easy to rebuild a
package to use alternate folders.

If you have advice about this, I would be glad to  hear it.

--
Paul E. Johnson   http://pj.freefaculty.org
Director, Center for Research Methods and Data Analysis http://crmda.ku.edu

To write to me directly, please address me at pauljohn at ku.edu.

And consider using GNU Stow. It makes it easy to manage installation and 
removal of compiled packages.


Cheers,

Alan



--
Alan L Tyreehttp://www2.austlii.edu.au/~alan



Re: Lyx, Kindle, epub

2014-08-03 Thread Alan L Tyree

If it works, use it! A few additional note however:

- I would run tidy -m  on the resulting (X)HTML file to get 
rid of any obvious glitches;


- Calibre can also be useful for converting (X)HTML files to epub; 
current versions of Calibre also allow editing the files


- pandoc provides a simpler html -> epub conversion; I have found it to 
be good IF you don't have many cross references in your MS. It fails (in 
the version I have) to make cross references when the html file is split 
by the epub construction process. Calibre does this correctly.


- epubcheck is available as a package for most Linux distributions and, 
I suppose but do not know, for other platforms as well. This allows you 
to do a validation check locally.


Regards,
Alan

On 04/08/14 09:46, Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا 
wrote:

Just to say a big thank you for this, Les, it works very well!

With ebooks gaining in importance now, it would be great if Lyx added 
on more capabilities on this front. To make a great too, better!


Frederick Noronha
Goa, India
Founder and Editor
Goa,1556*

* Published over 70 books so far, nearly all set in LyX! See 
http://goa1556.in



On 14 July 2014 04:30, Les Denham <mailto:lden...@hal-pc.org>> wrote:


On Mon, 14 Jul 2014 01:08:47 +0530
 Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
mailto:fredericknoro...@gmail.com>>
wrote:

> * What is the easiest way to convert a Lyx file (with images) to
epub?
> * How can one ensure this will be consistent with epub standards?
> * Any site to test the resultant epub?
> * Can Lyx developers help to develop some tools that make it easy to
> create epub and other formats of ebooks?

Frederick,

I've done this for several books. From my experience the answer to
your
questions are:

* Conversion
1. Export your file to LyXHTML
2. Using your favorite text editor (I use vi), delete the first
line of
the file (something like ) and
save as type HTML.
3. The file can now be imported into Sigil
 
(http://web.sigil.googlecode.com/git/files/OEBPS/Text/introduction.html),

  which saves files in epub format.

* Epub standards
Sigil includes the FlightCrew validator, and also a link to validate
stylesheets with W3C.

* Testing the epub
I don't know of any site for testing, other than
http://validator.idpf.org/, which as far as I know does exactly the
  same as the Sigil validator. The real problem is that no e-reader
  supports the standards completely and exactly, so you need to test
  your epub on several readers. I use Nook, Calibre and FBreader.

* LyX development
I'll leave this to developers.

Without images, the conversion is straightforward, with the main
problem being how to handle footnotes: as epub is reflowable, the
concept of footnote does not exist, so you will have to decide how to
handle them. Sigil gives you the tools to implement any solution you
decide on, but it may involve a lot of detailed editing.

Images complicate the conversion. Do you want small images in a fixed
location in the text? That is fairly easy. So is putting all the
images
at the end of a chapter (or at the end of the book). But if you want
clickable links to images, and a clickable link to return you to the
page you were on, it can become very complicated, and involve a lot of
hand editing. But again, Sigil has all the tools you need for this.

I hope this helps,

Les




--
FN P +91-832-2409490 M +91-9822122436 http://goa1556.in


--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:typh...@iptel.org



Re: LyX for writing notes about a book

2014-03-02 Thread Alan L Tyree
With Org-mode you can enter special symbols, subscripts and 
superscripts, LaTeX fragments and you can preview the LaTeX fragments 
directly in emacs: 
http://orgmode.org/manual/Embedded-LaTeX.html#Embedded-LaTeX


Special symbols:  \alpha, \beta and \gama

Super/subscripts: The mass of the sun is M_sun = 1.989 x 10^30 kg

Math: Let $a^2=b$

Org-mode is quick to learn for simple things, yet has an amazing depth. 
And, as I mentioned before, it does it all in plain text. It exports to 
HTML, LibreOffice, LaTeX and lots of other things.


Highly recommended (but you do have to use emacs).

Cheers,
Alan


On 03/03/14 13:17, Scott Kostyshak wrote:

Great, thanks for the suggestions. I'll take a look at TreeLine. I'll
also look at Org-mode (I don't use Emacs but I'm always interested in
trying new tools). I should have mentioned that a lot of the books I
read have math in them and I enjoy using LyX to write math-related
notes. I guess I'll have to make some sacrifices either way I decide
to go.

Best,

Scott

On Sun, Mar 2, 2014 at 2:15 PM, Alan Tyree  wrote:

I also agree that a good outliner is the way to go. If you use Emacs, the
have a look at Org-mode: http://orgmode.org/  Brilliant stuff all in plain
text files.


On 3 March 2014 05:53, Rich Shepard  wrote:

On Sun, 2 Mar 2014, Scott Kostyshak wrote:


I take notes while reading books and am looking for a way to improve
my messy organization of them.


   I agress with Steve that LyX is the wrong tool for taking notes. Take a
very close look at TreeLine <http://treeline.bellz.org/>. It's exactly
what
you're looking for.

   I use it to track contacts with prospects and clients and have for
several
years now. It's flexible, adaptable, and will do just what you want as
long
as you read the docs and set up the database(s) for your specific needs.

Rich




--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206    sip:typh...@iptel.org


--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:typh...@iptel.org



Re: We need ePub/Mobi conversion: was: Book Frontmatter

2014-02-02 Thread Alan L Tyree


>> And instead of using the LyX
>> exporters, try tex4ht to make the html file. 
>
> I think I tried lyx->latex->tex4ht once before, and something went
> wrong, though I no longer remember what.
>
>> And process the html file
>> through tidy before using Pandoc.
>
> That's a good idea, although Python's lxml.etree can read well formed
> XML in any form, and has its own pretty print.
>> 
>> I haven't tried this, so please don't waste your time on it if
>> inconvenient. Pandoc seems at its strongest when starting with a
>> Markdown file.
>
> LOL, if it leads to LyX to ePub, it will be anything but a waste of
> time. I'm going to try that tex4ht again and see what happens.
>
Hi Steve,
According to my notes from 2009, I used tex4ht using the following
commands:

   - htlatex file.tex "xhtml,mathml" "-cunihtf" "-cvalidate"
 
   - tidy -m -asxhtml name.html

I was just trying to make presentable XHTML files, so I don't know how
'good' they are for your purposes.

When the htlatex command runs, it will stop once in a while waiting for
input. Again, my notes say to use 'R '. I just ran it on a
reasonable size file and need to use the 'R' command about 3 times.

I should mention that I am on Debian Wheezy.

HTH,
Alan


> Thanks,
>
> SteveT
>
> Steve Litt*  http://www.troubleshooters.com/
> Troubleshooting Training  *  Human Performance


-- 
Alan L Tyree   http://www2.austlii.edu.au/~alan
Tel:  04 2748 6206 sip:172...@iptel.org


Re: We need ePub/Mobi conversion: was: Book Frontmatter

2014-02-01 Thread Alan L Tyree
Well, that's a bit disappointing. Thanks for the full report. I've only
used Pandoc for simple conversions, so haven't looked deeply at the
configuration options that might help with the problems that you
identify below.

One last approach might be interesting to try: What about LyX ->
(X)html, then process through Pandoc. And instead of using the LyX
exporters, try tex4ht to make the html file. And process the html file
through tidy before using Pandoc.

I haven't tried this, so please don't waste your time on it if
inconvenient. Pandoc seems at its strongest when starting with a
Markdown file.

Cheers,
Alan


Steve Litt writes:

> On Sat, 01 Feb 2014 05:25:58 +1100
> Alan L Tyree  wrote:
>
>> Sorry for the top posting, but this is short. My own view is that an
>> ePub exporter for LyX would make it a killer application. 
>> 
>> Thanks for your comments, Steve. Have you looked at Pandoc?
>> 
>> Cheers,
>> Alan
>
> Hi Alan,
>
> I hadn't known about Pandoc. Thanks for the heads-up. I looked up Pandoc
> here:
>
> http://johnmacfarlane.net/pandoc/
>
> For the following ascii art, please switch to monospace font...
>
>.___.   .__.
> LyXformat->|LyX|->LaTeXformat->|Pandoc|->ePubFormat
>`   
>
> The preceding looked simple enough, so I downloaded and installed
> Pandoc, and tried it on one of my simpler books. It indeed produced an
> ePub, and in certain respects a good one. But not nearly good enough to
> sell. No table of contents. No cover. No images: all images referred to
> only by their Alt text. All cross reference labels exposed as text with
> arbitrary subscript formatting in places. The good news is it managed
> to keep footnotes and the like, but that's not good enough. I spoze
> theoretically I could have used other options on my lyx -export
> command, or on my pandoc command, so these things wouldn't happen, or
> perhaps I could have made restrictions on the authoring of my book in
> LyX, but these things would need to be examined later.
>
> Another way to use Pandoc might be this:
>
>.___.   .__.
> LyXformat->|LyX|->LaTeXformat->|Pandoc|->xhtml-.
>`   |
>  .-'
>  |
>  |  ._. ._.
>  `->|xhtml Tweaker|->xhtml->|My xhtml2epub|->ePub
> ``` ```
>
> The preceding would depend on:
>
> A) Pandoc retaining enough info, including semantic styles, to make all
>book elements
> B) Pandoc producing xhtml sane enough that the tweaker is something
>that can actually be written.
>
> So I tried using Pandoc to convert my LaTeX book to (X)html. The result
> had no  (and this might be an advantage), it had all sorts of
> garbage characters (perhaps this could be fixed in the  I would
> insert), but, the kiss of death is this: It took all my semantic styles
> (environments and character styles), kinda-sorta converted them to
> presentation, and discarded the semantic styles, so that in my 
> I can't specify the link between semantic styles and presentation.
> Once those semantic styles are gone, no matter how clever a programmer
> I am, I don't have the necessary input info to govern the look of my
> eBook. This is a showstopper that cannot be recovered from. 
>
> So unless somebody knows of a way to prevent Pandoc from pulling an
> MSWord move and prematurely converting semantic to presentational, my
> opinion is that Pandoc is worthless for this task.
>
> Thanks,
>
> SteveT
>
> Steve Litt*  http://www.troubleshooters.com/
> Troubleshooting Training  *  Human Performance


-- 
Alan L Tyree   http://www2.austlii.edu.au/~alan
Tel:  04 2748 6206 sip:172...@iptel.org


Re: We need ePub/Mobi conversion: was: Book Frontmatter

2014-01-31 Thread Alan L Tyree
Sorry for the top posting, but this is short. My own view is that an
ePub exporter for LyX would make it a killer application. 

Thanks for your comments, Steve. Have you looked at Pandoc?

Cheers,
Alan


Steve Litt writes:

> On Fri, 31 Jan 2014 09:35:46 +
> Anthony Campbell  wrote:
>
>
>> This is for printed books. As regards conversion to ebook format, I've
>> done this for several books on Smashwords, but that is quite a
>> long-winded process because it has to be Word.doc format, which I do
>> in LibreOffice (not much fun). Kindle does accept rtf, which would
>> help, but as I'd already made Word.doc files I just used those.
>> 
>> Anthony
>
> Ladies and gentlemen, if the preceding paragraph doesn't convince us we
> need a good, solid, LyX to ePub and LyX to Mobi conversion (do ePub
> first, you can convert ePub into Mobi), then nothing will. Instead of
> slamming out his book in LyX, Anthony must use an outside service
> (smashwords), meaning a two word modification is, as Joe Biden would
> say, a Big Friggin Deal. Further, to satisfy Smashwords he must write it
> in LibreOffice to simulate MS Word. Or, if he's just doing Kindle, he
> can submit rtf (what could *possibly* go wrong).
>
> You can't base a LyX to ePub converter off either LyX2Xhtml or Alex's
> eLyXer: Those produce great (X)html for stuff like footnotes and
> bibliographies, but they discard semantic tags (h1-h6) for variously
> named divs (yeah, , not even ), as I remember they still use
> outdated  instead of giving an ID to a tag. One or
> both of them does you the "favor" of renaming all graphic files to a
> numerical sequence: I guess this is to prevent identically named
> graphics in different directories from clobbering each other, but there
> are better ways of doing this that don't have the anti-debugging
> baggage of removing all meaning from graphic names.  Current
> LyX exported (X)html files just generally require *huge*
> postprocessing, with zillions of special cases, to get them in
> reasonable shape to make an ePub. If that were not the case, somebody
> would have made a LyX2ePub a long, long time ago, because the demand is
> there, and a lot of people have that itch, and I'm not the only one
> who has tried to do it. 
>
> Shamefully, because I need to be able to have my books available as
> ePubs, after 13 years using LyX to write my books, I'm now using the
> Bluefish editor to write my future books. I've written an Xhtml to ePub
> converter in Python, and I can write an Xhtml to LaTeX converter just
> as easily. But let me ask you something: Have you ever tried to slam
> out 2500 words a day in Bluefish? Bluefish will never have the
> authoring speed of LyX. But then again, as things stand now, a LyX
> authored document will never be convertible to ePub.
>
> The shame is, in theory, LyX to ePub is simple. Every environment
> becomes , every character style becomes
> . Leave  out of it except for every
> special cases. Even lyx-code should become , not
> .
>
> A special one-per-book configuration file (I did mine in YAML) defines
> the assignment of Part, Chapter, Section, Subsection etc to , ,
> ,  etc, and defines which go in the table of contents, and
> which get numbers and what prefix the number gets (Part, Chapter, etc).
> I've already done this: It works. Don't worry about converting LyX
> environment and char style defs to CSS, just list all paragraph and
> char styles, so that the author can make the necessary CSS. CSS is
> *much* easier to define than LaTeX environments and commands. And yes,
> let the author know that this export requires the author use only a
> subset of LyX's capabilities.
>
> I briefly considered writing Yet Another LyX to HTML Exporter, but
> found out that in spite of LyX's native format being Non Human Friendly
> XML, it's not *well formed* XML, so I can't use Python's lxml.etree,
> let alone Python's xml.etree.ElementTree, to parse it. Perhaps if LyX
> offered an export to well-formed XML, hopefully with a DTD, I could
> parse that to produce ePub-friendly Xhtml, but as far as I know that
> doesn't exist either.
>
> Anyway, I would suggest anyone who is working on any portion of a LyX
> to ePub conversion talk with me. I'm pretty knowledgeable about ePub,
> and I've already identified a lot of the dead ends and blind alleys in
> ePub creation, and I know what parts of the LyX document should go into
> the ePub, and which parts would be better re-done as either config or
> CSS. 
>
> My switch to Bluefish isn't cast in concrete: Once LyX contains a
> good, generic, reliable LyX to ePub or even LyX to "ePub friendly" Xhtml
> conversion, I can switch back. If you do it soon enough, I won't even
> have to write an Xhtml to LaTeX converter :-)
>
> Thanks,
>
> SteveT
>
> Steve Litt*  http://www.troubleshooters.com/
> Troubleshooting Training  *  Human Performance


-- 
Alan L Tyree   http://www2.austlii.edu.au/~alan
Tel:  04 2748 6206 sip:172...@iptel.org


Re: Book Frontmatter

2014-01-30 Thread Alan L Tyree

On 31/01/14 05:47, Rich Shepard wrote:

On Fri, 31 Jan 2014, Alan L Tyree wrote:

I would normally defer to Steve on most of these questions, but I do 
think
that a printed book has a more or less standard set of frontmatter 
pages.


Alan,

  As Stafano pointed out to me in an off-list message, the Chicago 
Manual of

Style has (in my copy of the 15th Edition) Appendix A on design and
producion which runs 54 pages. :-) And I'll be working the Gorham 
Publishers
in Centralia, WA (that's Washington state, not Western Australia) who 
will

likely have their standards, too.


I guess the CMS will address 'Brevity' in the second volume :-).

Anyway, I agree with Steve that it is worth the time to set up styles 
for each aspect of the frontmatter.


I've heard of WA. Isn't there some sort of software company there?

Cheers,
Alan


Thanks,

Rich




--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:typh...@iptel.org



Re: Book Frontmatter

2014-01-30 Thread Alan L Tyree

Rich Shepard writes:

> On Thu, 30 Jan 2014, Steve Litt wrote:
>
>> Acknowledgements, dedication, title page, copyright page, about the
>> author, table of contents, and sometimes "how to use this book" or "about
>> this book."
>
>Thanks, Steve.
>
>> One more thing: In the old days I recommended ERT fingerpainting the
>> frontmatter. Due to the advent of flowing text eBook formats like ePub and
>> Mobi,
>
>This will not be an eBook; it will be printed and bound for each student
> in the class. It ain't a mass-market trade book. :-)
>
> Rich
Hi Rich,
I would normally defer to Steve on most of these questions, but I do
think that a printed book has a more or less standard set of frontmatter
pages. 

In my little (and mostly outdated) book 'Self-publishing with LyX', I
discuss the ordinary frontmatter pages and how they might be set up with
the ordinary book class.

http://www.lulu.com/content/1085870

HTH,
Alan


-- 
Alan L Tyree   http://www2.austlii.edu.au/~alan
Tel:  04 2748 6206 sip:172...@iptel.org


Re: Why People Give Up on Groups.

2013-10-24 Thread Alan L Tyree

gordon_cooper writes:

> Hello to all,
> I have been a Lyx user for a year or so and regarded
> this Group as place to find help.  I am saddened to see it descend
> into a slanging session.
>
> I quit,
> Gordon
> New Zealand

Don't let one bad thread drive you away, Gordon. Mostly the list is one
of the friendliest around as well as being one of the most helpful.

Cheers,
Alan


-- 
Alan L Tyree   http://www2.austlii.edu.au/~alan
Tel:  04 2748 6206 sip:172...@iptel.org


Re: Formatting Article for PLoS One

2013-09-03 Thread Alan L Tyree

Jane Shevtsov writes:

> I'm trying to format an article for submission to PLoS One. I'm using their
> BiBTeX style sheet (http://www.plosone.org/static/plos2009.bst) and the
> bibliography works fine but I get "(author?)" errors in the text when
> trying to cite an article as Author [ID]. Apparently, this is because their
> style file isn't a Natbib style, but changing the bibliography style to
> default or Jurabib doesn't work. Is there anything I can do short of typing
> authors' names by hand?
Hi Jane,
I usually get that when LyX can't find the .bib files. Can you check
that out?

Cheers,
Alan

>
> Also, PLoS provides a template for LaTeX users. (
> http://www.plosone.org/static/plos_template.tex) What do I do with that
> thing? I tried just importing the template into LyX and copying my text
> into it, but it's not at all clear what to do with the figure legends and
> tables. Do I edit the ERT directly?
>
> Thanks,
> Jane


-- 
Alan L Tyree   http://www2.austlii.edu.au/~alan
Tel:  04 2748 6206 sip:172...@iptel.org


Re: Question #3: LyX and LaTeX and TeX

2013-09-01 Thread Alan L Tyree

Ken Springer writes:

> On 9/1/13 11:06 AM, Steve Litt wrote:
>> On Sun, 1 Sep 2013 08:29:23 +0200
>> Liviu Andronic  wrote:
>
> 
>
> It sounds as if Lyx/LaTeX has a higher learning curve than I was hoping for.
>
> But it intrigues me.   :-)  I've got some simple help documents I want 
> to create, and I want them to look as best as I can.  So, I think, in 
> about a month when I'm out of work again, I'll download LaTeX and work 
> with it, then get into LyX.
FWIW, I don't agree with this. You can become productive with LyX *very*
quickly without knowing anything about LaTeX. You can produce nice
looking standardised documents. It's magic.

Of course, you will eventually want to customise. THAT is the time to
start looking at LaTeX IMHO.

Cheers,
Alan

>
> Thanks to everyone for all the advice offered.


-- 
Alan L Tyree   http://www2.austlii.edu.au/~alan
Tel:  04 2748 6206 sip:172...@iptel.org


Re: Importing LaTeX file with multiple indexes

2013-08-23 Thread Alan L Tyree

On 23/08/13 23:33, Richard Heck wrote:

On 08/20/2013 08:16 PM, Alan L Tyree wrote:
I'm having trouble with this. I have a LaTeX file with multiple 
indexes (defined in accordance with LyX conventions). I want to 
convert it to LyX.


The relevant part of the preamble looks like this:

\usepackage{splitidx}
\makeindex
\newindex[Index]{idx}
\newindex[Table of Statutes]{tab}
\newindex[Table of Cases]{tab1}

Except for the Index entries, I'm not getting a clean import. Is 
there some trick to this?


You might ask about this on devel. I'm not sure if tex2lyx handles 
multiple indexes.


Richard

Thanks, Richard. After quite a bit of experimentation, I'm pretty sure 
that it doesn't.


Cheers,
Alan

--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:typh...@iptel.org



Re: Question: Using LyX as your daily word processor

2013-08-22 Thread Alan L Tyree

On 23/08/13 10:26, Jerry wrote:

On Aug 21, 2013, at 5:16 AM, Les Denham  wrote:


On Tue, 20 Aug 2013 18:13:23 -0700
Jerry  wrote:


On Aug 18, 2013, at 6:59 PM, Les Denham  wrote:


My general approach to  getting a LyX document into Word format is
to us the LyXHTML export, import the exported file into
LibreOffice, fix the inevitable problems, and save in DOCX format.

How do you import the XHTML from LyXHTML into LibreOffice? When I try
it, I see only raw text; it is not rendered. I let the file dialog
display all files and assumed that the .xhtml file extension would
tell LO what to do but obviously this did not happen.


Jerry,

One of the inevitable problems. Try changing the .xhtml file extension
to .html. I think you can also delve into the advanced settings of
LibreOffice to tell it to treat .xhtml files as HTML.

Les

Les, thanks for that tip, but it didn't change anything--still raw text, either with a 
document with a few equations (and thus MathML in the XHTML file) or just a simple file 
containing only the word "Hello".

FWIW, when I do open the (x)html file, I get a dialog asking for Character set 
(default = UTF-8), Default fonts (default = Times New Roman), Language (default 
= English (US)) and Paragraph break (default = LF). I accepted all the 
defaults. So it looks at that point like something is about to happen, but then 
I see only raw text.

I also looked at Tools -> Options -> Load/Save -> HTML Compatibility but didn't 
see anything relevant.

Jerry
Open the HTML file in a text editor and remove the first line, ie, version="1.0" encoding="UTF-8"?>


It should then open in LibreOffice.

Cheers,
Alan

--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:typh...@iptel.org



Importing LaTeX file with multiple indexes

2013-08-20 Thread Alan L Tyree
I'm having trouble with this. I have a LaTeX file with multiple indexes 
(defined in accordance with LyX conventions). I want to convert it to LyX.


The relevant part of the preamble looks like this:

\usepackage{splitidx}
\makeindex
\newindex[Index]{idx}
\newindex[Table of Statutes]{tab}
\newindex[Table of Cases]{tab1}

Except for the Index entries, I'm not getting a clean import. Is there 
some trick to this?


Thanks for any pointers,
Alan

--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:typh...@iptel.org



Re: Anyone know of a best-seller written in LyX

2013-06-12 Thread Alan L Tyree

Liviu Andronic writes:

> On Wed, Jun 12, 2013 at 11:15 AM, Murat Yildizoglu  wrote:
>> Isn't there already a working corkboard tool for Lyx (but I have never been
>> able to test it), by Rob?
>>
> Yes, but it has never made its way to trunk. To my understanding the
> goal of the GSoC project is to polish the outliner/corkboard code,
> implement the missing bits and when ready merge with current trunk.
>
> Liviu
We might also look at 'tags' for these idea fragments. Ord-mode lets the
user attach tags to headlines. You can then search by tag and organise
views by tags. It's a powerful mechanism when you have a large number of
fragments.

Adding 'non-linear' writing tools to LyX, together with good ePub
support, would make it the killer tool for writers.

Cheers,
Alan

>
>
>>
>> 2013/6/12 Liviu Andronic 
>>>
>>> On Wed, Jun 12, 2013 at 10:09 AM, Jan Ulrich Hasecke
>>>  wrote:
>>> > You can write a bestseller with a pencil or with vim/emacs. LyX could be
>>> > a publishing environment producing high quality pdfs and ePubs ready for
>>> > distribution. Our target group are not authors (have a look at
>>> > Scrivener[1] to see what a program looks like that targets authors) but
>>> > publishers.
>>> >
>>> This is the goal of one of our GSoC projects this year:
>>> http://wiki.lyx.org/GSoC/NonLinearWriting and
>>> http://wiki.lyx.org/Devel/SummerOfCode2013Ideas#toc5 .
>>>
>>> Liviu
>>
>>
>>
>>
>> --
>> Prof. Murat Yildizoglu
>>
>> Université Montesquieu Bordeaux IV
>> GREThA (UMR CNRS 5113)
>> Avenue Léon Duguit
>> 33608 Pessac cedex
>> France
>>
>> Bureau : E-331
>>
>> yildi-at-u-bordeaux4.fr
>>
>> web: yildizoglu.info


-- 
Alan L Tyree   http://www2.austlii.edu.au/~alan
Tel:  04 2748 6206 sip:172...@iptel.org


Re: Anyone know of a best-seller written in LyX

2013-06-09 Thread Alan L Tyree

On 10/06/13 00:36, Steve Litt wrote:

Hi all,

On one of my writers' mailing list, after I said I used LyX, a guy who
really does have what once was a best-seller wrote this:

===
"As for Lyx, you need to know that, with very few exceptions — none of
which immediately come to mind — open source programs have great appeal
for people who want to tinker with computers but almost none for those
who actually want to do something. Such apps tend to have butt ugly
interfaces and stupid names like Lyx and Snort and Gimp and Phlegm.
Last I saw, Lyx wasn't even WYSIWYG, for crying out loud. Forewarned is
forewarned. Or something like that."
===




==
As for word processors, they have great appeal to secretaries and 
businessmen, but little appeal for a writer that actually wants to get 
something done. They have butt ugly interfaces (ribbons!!) and stupid 
names like Word, WordStar, Photoshop (!!). Why a writer would want 
WYSIWYG is incomprehensible. A writer wants tools that facilitate 
writing, the won't lose work every time you turn around, that will open 
files more than a couple of years old. You have been warned.

===

Or something like that :-).

On the other hand, there is a good argument that trolls like this, even 
best-selling trolls, should simply be ignored.


Cheers,
Alan




Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance




--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:172...@iptel.org



Re: Getting rid of "You cannot type two spaces this way" message?

2012-11-26 Thread Alan L Tyree

On 26/11/12 23:14, Julio Rojas wrote:


Alternatively, you might consider sponsoring a LyX developer to
find and
implement a solution that is acceptable to all. (Maybe a "hidden"
switch to
turn off the message that is described in the manual - so that a
user that
has read the manual also know how to avoid the message reappearing...)
The lyx web page will tell how to sponsor a feature.


Here, here Günther. I believe this is the "right" solution. A simple 
"switch", that I think, would appeal to everybody.


On the other hand, and to keep the "soft flaming" going on (we still 
have time to burn!), I refer all of you to this post:

http://www.heracliteanriver.com/?p=324

Regards.

-
Julio Rojas
jcredbe...@gmail.com <mailto:jcredbe...@gmail.com>


You can see examples of this (extra spaces) in old law reports. I don't 
know exactly when these were printed, but it was a long time ago. Here 
is an example:


http://www.commonlii.org/uk/cases/EngR/1765/40.html

(To help burn up some of that excess time!)

Cheers,
Alan




On Mon, Nov 26, 2012 at 10:11 AM, Guenter Milde <mailto:mi...@users.sf.net>> wrote:


On 2012-11-24, Liviu Andronic wrote:
> On Sat, Nov 24, 2012 at 11:17 AM, Trevor Jenkins
mailto:bslwann...@gmail.com>> wrote:

>>> If the message itself is what bothers you, then try not to
look at it.
>>> With time you'll get used to ignoring it completely.

To me (old time LaTeX/LyX user that has, of course, read the
manual) the
message is still "visual noise". It interferes with relevant
information
in the status line.

> Then use fullscreen mode.

Then I won't see the important messages (key-codes, lyxfuns, ...)
in the
status line.


On the other hand, I don't think is is

>> to no good purpose
...

The purpose (preventing spurious bug reports that take up our time) is
good. Maybe the means is not optimal (as it also leads to never-ending
discussions).

...

> But if this issue is such a deal breaker, then feel free to
switch to
> Scientific WorkPlace. It may cost you 1000$ or so, but you'll likely
> be able type two spaces as you wish to. (Disclaimer: Before buying
> that, check with the vendor that it indeed allows that.)

Alternatively, you might consider sponsoring a LyX developer to
find and
implement a solution that is acceptable to all. (Maybe a "hidden"
switch to
turn off the message that is described in the manual - so that a
user that
has read the manual also know how to avoid the message reappearing...)
The lyx web page will tell how to sponsor a feature.

Günter





--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:172...@iptel.org



Re: Getting rid of "You cannot type two spaces this way" message?

2012-11-24 Thread Alan L Tyree

On 25/11/12 13:27, Charlie wrote:

  On Sat, 24 Nov 2012 21:15:32 -0500 "David L. Johnson d...@lehigh.edu"
  suggested this:


That is the way I treat is now, by simply ignoring the message.

   Great, that's settled then.

   There is no effort required to ignore the message. However, as
   explained previously, if there is no message, then there is effort on
   someones behalf required, when the questions roll in asking why
   someone can't type two spaces behind a full stop.

So we have the answer, leave the message as is and ignore it. No effort
expended and you just get on with what you're doing.

Nothing more need be written about the subject. Whatcha reckon.

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

There are thousands hacking at the branches of evil to one who
is striking at the root. .Henry David Thoreau

***

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

-

Charlie, Charlie,
Your sensible suggestion ignores the Parkinson rule about committees. 
You will recall that he observed that committees will pass multi-million 
dollar proposals for, say, a new nuclear plant in seconds. However, a 
resolution concerning tea room costs will be argued for hours if not for 
days.


Here is an issue that everyone can understand. It will NEVER go away!

Cheers,
Alan
(Who learned to put two spaces after a full stop in typing class, but 
likes the warning in LyX).



--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:172...@iptel.org



Re: LyX andTeX Live: How to find and link a new latex version?

2012-09-01 Thread Alan L Tyree

David L. Johnson  writes:

> On 09/01/2012 08:33 PM, Alan L Tyree wrote:
>> Sorry for the noise, John. I should have read the whole thread more
>> carefully.
>>
>> I have a machine where I did a new install of Ubuntu 12.04 just a week
>> ago, so it is pretty clean. I get:
>>
>> alant@windy:~$ which latex
>> /usr/bin/latex
>>
>> Further investication shows that this is a symlink to
>> /usr/bin/pdftex.I'm not sure why you get the full path.
>
> His full path began with /usr/local  -- not somewhere the distro should 
> use.  That is for things the user installs, only, in my book.

I agree with that, but even then you would expect to see the executable
in /usr/local/bin.

>>
>> Looking at the Ubuntu Software Centre shows me only texlive 2009 (rather
>> old), but no other texlive options. I'm not sure where you got the 2011
>> or 2012 packages. Have you added a different repository?
>
> Debian testing is currently using 2012, but it took a long time for them 
> to update from 2009 to 2011 -- and then quickly went to 2012.  I suspect 
> that the version of Ubuntu you are looking at is a stable version, which 
> is always pretty old.

Yes, I have that also in Debian testing. The version of Ubuntu is 12.04
so I suppose that does account for the lag. But that is also the version
that the OP is using, so where did he get the Texlive 2012. He says it
shows up in the package managers, so I am guessing that he added a PPA.




-- 
Alan L Tyree   http://www2.austlii.edu.au/~alan
Tel:  04 2748 6206 sip:172...@iptel.org


Re: LyX andTeX Live: How to find and link a new latex version?

2012-09-01 Thread Alan L Tyree

John Kane  writes:

> 
>  From: Alan L Tyree 
> To: John Kane  
> Cc: David L. Johnson ; "lyx-users@lists.lyx.org" 
>  
> Sent: Saturday, September 1, 2012 4:26:16 PM
> Subject: Re: LyX andTeX Live: How to find and link a new latex version?
>  
>
> John Kane  writes:
>

> Unfortunately that is what I did. I installed Tex Live 2012 using the 
> software centre since synaptics did not seem to have the 2012 version and any 
> manual instructions on how to update were close to jibberish to me.
>
> Now I cannot find it, yet both the software centre and synaptics report that 
> it is installed. I know I have Tex Live 2011 installed in /user etc where one 
> would expect it.
> John@john-K53U:~$ which latex
> /usr/local/texlive/2011/bin/i386-linux/latex
>
> Actually just to check things out I installed abiwork using apt-install a few 
> hours ago with no problem!
>
> I expect that I am missing something really basic but where I have no idea.
>
> What I do find interesting is that synaptics does not seem to see TeX Live 
> 2011 yet it is clearly there and LyX is using it.

Sorry for the noise, John. I should have read the whole thread more
carefully.

I have a machine where I did a new install of Ubuntu 12.04 just a week
ago, so it is pretty clean. I get:

alant@windy:~$ which latex
/usr/bin/latex

Further investication shows that this is a symlink to
/usr/bin/pdftex.I'm not sure why you get the full path.

Looking at the Ubuntu Software Centre shows me only texlive 2009 (rather
old), but no other texlive options. I'm not sure where you got the 2011
or 2012 packages. Have you added a different repository?

Cheers,
Alan



>
>>
>>
>>
>>
>> 
>> From: David L. Johnson 
>> To: lyx-users@lists.lyx.org 
>> Sent: Saturday, September 1, 2012 1:05:48 PM
>> Subject: Re: LyX andTeX Live: How to find and link a new latex version?
>> 
>>
>> On 09/01/2012 11:22 AM, John Kane wrote:
>>
>> Sorry to butt in here, but these outputs seem very strange. This
>>   looks to me like there is something very amiss with your system.
>>   Now, I use debian, not ubuntu, but ubuntu is debian-based, so it
>>   should not be all that different. 
>> --
>>>john@john-K53U:~$ find / -path '/proc' -prune -perm /u=x,g=x,a=x ! -type d 
>>>-name latex 
>>>find: `/tmp/.esd-104': Permission denied 
>>>find: `/tmp/pulse-2L9K88eMlGn7': Permission denied 
>>>find: `/tmp/pulse-PKdhtXMmr18n': Permission denied 
>>>find: `/etc/ppp/peers': Permission denied 
>>>find: `/etc/chatscripts': Permission denied 
>>>find: `/etc/cups/ssl': Permission denied 
>> ...
>>>
>>>---
>>>Which seems to tell me nothing. But what do I know?
>>>
>> That seems to say that you don't have access to much of anything in
>>   the system. How can that be? Maybe a regular user shouldn't be
>>   able to write to some of those directories, but read??
>>
>> I thought that this was a bit funny but I thought that maybe I need to use 
>> sudo to actually write there. As I say, I know virtuallly nothing about how 
>> linux works.
>>
>> So I may have a serious problem. On the other hand I don't seem to have any 
>> obvious problems installing applications. For example I installed gnumeric 
>> from either synaptics or the software centre a few day ago and just as a 
>> quick test sudoapt-get install abiword seems to have worked fine just now.
>>
>> Thanks 
>>
>>
>> -- David L. Johnson Deserves death! I daresay he does. Many that live 
>> deserve death. 
>> And some that die deserve life. Can you give it to them? Then do not
>> be too eager to deal out death in judgement.  -- J. R. R. Tolkein 


-- 
Alan L Tyree   http://www2.austlii.edu.au/~alan
Tel:  04 2748 6206 sip:172...@iptel.org


Re: LyX andTeX Live: How to find and link a new latex version?

2012-09-01 Thread Alan L Tyree

John Kane  writes:

> Please but in. I am a newbie with Ubuntu and tend to blunder around. 
> Basically I have a dual boot Ubutu /Window 7. Some time ago I upgraded from 
> 11.? to 12.04 with apparently no problem.
>
> I have no real idea of what is correct or not-- I lack the partly intuitive 
> feel that I had for Windws after years of battling so I easily miss what is 
> or is not what one would expect and I am still a bit uncomfortable with the 
> terminal interface since the commands are not obvious to me. I have not used 
> a command line os since DOS about 2 decaded ago.
>
Hi John,
I have helped a number of newbies with Ubuntu, and I have found that it
is nearly always a mistake for them to try to install something 'by
hand'. Always use the Ubuntu Software Center or Synaptic and you will
never come to grief.

It is a common problem because of the way that Windows users are
accustomed to installing software.

There are safe ways to do 'by hand' installation of software, but you
seldom need to do that with Ubuntu.

Cheers,
Alan

>
>
>
>
> 
>  From: David L. Johnson 
> To: lyx-users@lists.lyx.org 
> Sent: Saturday, September 1, 2012 1:05:48 PM
> Subject: Re: LyX andTeX Live: How to find and link a new latex version?
>  
>
> On 09/01/2012 11:22 AM, John Kane wrote:
>
> Sorry to butt in here, but these outputs seem very strange. This
> looks to me like there is something very amiss with your system.
> Now, I use debian, not ubuntu, but ubuntu is debian-based, so it
> should not be all that different. 
> --
>>john@john-K53U:~$ find / -path '/proc' -prune -perm /u=x,g=x,a=x ! -type d 
>>-name latex 
>>find: `/tmp/.esd-104': Permission denied 
>>find: `/tmp/pulse-2L9K88eMlGn7': Permission denied 
>>find: `/tmp/pulse-PKdhtXMmr18n': Permission denied 
>>find: `/etc/ppp/peers': Permission denied 
>>find: `/etc/chatscripts': Permission denied 
>>find: `/etc/cups/ssl': Permission denied 
> ...
>>
>>---
>>Which seems to tell me nothing. But what do I know?
>>
> That seems to say that you don't have access to much of anything in
> the system. How can that be? Maybe a regular user shouldn't be
> able to write to some of those directories, but read??
>
> I thought that this was a bit funny but I thought that maybe I need to use 
> sudo to actually write there. As I say, I know virtuallly nothing about how 
> linux works.
>
> So I may have a serious problem. On the other hand I don't seem to have any 
> obvious problems installing applications. For example I installed gnumeric 
> from either synaptics or the software centre a few day ago and just as a 
> quick test sudoapt-get install abiword seems to have worked fine just now.
>
> Thanks 
>
>
> --  David L. Johnson Deserves death!  I daresay he does.  Many that live 
> deserve death.  
> And some that die deserve life.  Can you give it to them?  Then do not
> be too eager to deal out death in judgement.   -- J. R. R. Tolkein 


-- 
Alan L Tyree   http://www2.austlii.edu.au/~alan
Tel:  04 2748 6206 sip:172...@iptel.org


Re: Uninstalling compiled-from-source Lyx

2012-08-26 Thread Alan L Tyree
On 25/08/12 02:09:50, UD wrote:
> I don't think so-- where are they?  However, I SHOULD be able to 
> uninstall a program that bypassed the package manager, but I guess
> that 
> if there is no uninstall script, I shall have to remove the relevant 
> files by hand, something I would like to avoid.

I know this advice is no good to you now, but maybe for the future. 
Using GNU Stow to install compiled packages makes it easy to back out: 
see the short How To at http://wiki.lyx.org/Tips/Compiling.

Cheers,
Alan

> 
> EK
> 
> 
> On 08/24/2012 12:04 PM, Stephan Witt wrote:
> > Am 24.08.2012 um 17:04 schrieb UD:
> >
> >> Since I can't get the spellchecker to work with my
> compiled-from-source
> > Did you install the development versions of the spellchecker
> libraries?
> >
> > Stephan
> >
> >
> >
> >
> 
> -- 
> Ehud Kaplan, Ph.D.
> Jules and Doris Stein /Research to Prevent Blindness/ Professor
> *Director*, The laboratory of Visual & Computational Neuroscience
> *Director*, Center for Excellence in Computational & Systems
> Neuroscience
> /Friedman Brain Institute/
> Departments of Neuroscience, Ophthalmology, Structural & Chemical
> Biology,
> The Mount Sinai School of Medicine
> One Gustave Levy Place,
> NY, NY, 10029
> 



-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:172...@iptel.org



Re: Working in LyX from the get-go---more or less

2012-08-04 Thread Alan L Tyree

Eric Weir  writes:

> On Jul 31, 2012, at 10:31 AM, Richard Heck wrote:
>
>> If you want to export to RTF, then you need to install latex2rtf or some 
>> similar program. But I've had better luck lately exporting to the LyXHTML 
>> format, and then loading that in LibreOffice.
>
> I tried opening the XHTML in OpenOffice. It reads it as a raw text document, 
> i.e., with the HTML code displayed instead of formatted. Would LibreOffice 
> handle it differently? 

Eric,
I haven't used OO for some time, but as I recall the first line of an
XHTML file confuses it. Open the XHTML file with Vim or a read editor
like Emacs (sorry, couln't resist) and delete the first line.

I think you will have better luck with the Lyx -> XHTML > OO > Word
route than with other converters.

Cheers,
Alan

>
> --
> Eric Weir
> Program and Resource Development ~ Evaluation ~ Writing
> Education ~ The Environment ~ Community Development
>  Clairemont Avenue J3 ~ Decatur, GA 30030
> 404-636-6142 ~ eew...@bellsouth.net

-- 
Alan L Tyree   http://www2.austlii.edu.au/~alan
Tel:  04 2748 6206 sip:172...@iptel.org


Re: Pass LyX comments through eLyXer?

2011-12-06 Thread Alan L Tyree
On 07/12/11 09:41:13, Richard Heck wrote:
> On 12/06/2011 04:38 PM, Steve Litt wrote:
> > On Tuesday, December 06, 2011 03:06:37 PM you wrote:
> >> Can I ask again that off-topic threads be moved to an appropriate
> >> mailing list?
> > Unless it's the LyX project's position that LyX's only function is
> to 
> > build PDF and Docbook, then this is very ontopic. 
> >
> Do you think the LyX list is also good for discussion of the details
> of
> the ps2pdf converter? Or for reporting bugs with it?

No, but I don't think it is the same.

If LyX is to develop into a serious e-book editor, then this is a very 
LyX related discussion. Even users such as myself who are in no 
position to contribute directly to the development have an interest in 
how this develops. "Mere" users can eventually have an input into this 
development.

It is not just a discussion about converters or bugs. It relates to how 
LyX will look and behave in the future. I agree with Steve and others 
that LyX could become major tool for writing e-books. As such, the 
discussion doesn't seem to me to be off topic.

Cheers,
Alan

> 
> Richard
> 
> 



-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:172...@iptel.org




Re: LyX as editor -- Was: available templates and their names

2011-11-18 Thread Alan L Tyree
On 18/11/11 04:41:57, Steve Litt wrote:
> On Thursday, November 17, 2011 08:22:49 AM Richard Heck wrote:
> > As Helge sometimes points out, this is
> > important. You can install LyX without LaTeX if you like (say, on
> > a netbook with a 4GB SSD), and it will work just fine for editing.
> > 
> > Richard
> 
> And in my opinion LyX is one of the most productive long-document 
> editors the world has ever seen. Little things like rejecting double-
> spaces and double-newlines make me much faster as I worry less about 
> mistakes. Its low-crashability and low-corruptability make for fast, 
> confident working conditions. Its steadfast adherance to styles-based 
> authoring makes it easy to build documents the right way. LyX's beige 
> default background is easy on the eyes and yet easily contrasty 
> enough
> 
> for bad vision -- I should know, my vision's horrible. And, in spite 
> of all the publicity, LyX is WYSIWYG enough that a single glance 
> tells
> 
> you which pieces of text are special styles. Contrast that with old 
> WordPerfect 5.1, where the whole doc was courier, and if you wanted 
> to
> 
> see any evidence of styles you'd need to do the WordPerfect 
> equivalent
> 
> of LyX's View->PDF.
> 
> Oh, one more thing. I'm now using LyX to author Kindle books -- no 
> PDF
> 
> involved anywhere. It goes like this:
> 
> LyX->eLyXer->metadata tweaks->Kindlegen->Upload
> 
> But LyX is such a great editor, and so styles adherant, that it was 
> the obvious choice. I tried editing eBooks in Sigil for a little 
> while, but that was a migration to Pity City.
> 
> LyX is a GREAT editor.

Steve & others,
I found these comments to be very interesting. LyX is a great editor, 
and it seems that it is moving gradually away from its roots as a LaTeX 
"front end".

How much effort would it be to incorporate the "metadata tweaks" 
directly into the LyX document? It would mean that LyX could become a 
major method of writing eBooks.

Cheers,
Alan



> 
> SteveT
> 
> Steve Litt
> Author: The Key to Everyday Excellence
> http://www.troubleshooters.com/bookstore/key_excellence.htm
> Twitter: http://www.twitter.com/stevelitt
> 
> 



-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:172...@iptel.org




Re: need suggestion on book

2011-06-25 Thread Alan L Tyree
On Sun, 26 Jun 2011 04:09:36 +0200
Liviu Andronic  wrote:

> On Sun, Jun 26, 2011 at 1:52 AM, Steve Litt
>  wrote:
> > On Saturday 25 June 2011 19:17:18 Marcelo Acuña wrote:
> >> > 2. Yes, I remember this is a lyx list, but ... are there
> >> > any advantages or
> >> > writing this book in plain latex instead of lyx?
> >>
> >>  If you work in plain latex, while you write it,  you get a text
> >> pestered with commands. That makes difficult the work to write up
> >> and to correct the text.
> >>
> >> Marcelo
> >
> > I couldn't have said it better myself. And because of what Marcelo
> > said, I find LyX is a MUCH faster authoring environment than
> > anything in which I need to see markup.
> >
> As much as I agree with this, the one drawback of LyX is that you have
> to put up with its bugs. The big advantage of using LaTeX is its
> reliability: as long as you know exactly what you do, you only need a
> robust text editor (or another, or yet another one) to do the job. LyX
> on the other hand can throw surprises from time to time.
> 
> This said, LyX is generally rock-solid. Cheers

I agree also, but I have an old very large project with lots of custom
macros that simply won't translate well into LyX. I use emacs + auctex
+ reftex and find it very good. Auctex supplies a "folding" mode that
allows you to hide most of the markup (actually, as much or as little
as you want). Not quite a slick as LyX, but not far behind either.

It is a viable alternative.

Cheers,
Alan

> Liviu


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: XHTML format and ooffice? - Tidy

2011-03-02 Thread Alan L Tyree
On Wed, 2 Mar 2011 16:51:10 -0600
stefano franchi  wrote:

> Well,
> 
> Abiword crashes on me when I try to open lyx´s xhtml files. If, as
> Richard suggested, I remove the first line (the XML declaration),
> then ooffice opens the file correctly, but puts some garbage on the
> first line. See pdf below. I am enclosing a simple test file in lyx
> and the xhtml with the first line removed that produced the garbage
> line. Can anyone try on their systems?

OK. I ran tidy on the test.xhtml file and got the following:

alant@stormy:~$ tidy -m -asxhtml test.xhtml 
line 1 column 1 - Warning: specified input encoding (iso-8859-1) does
not match actual input encoding (utf-8) 
Info: Document content looks like XHTML 1.0 Strict 
No warnings or errors were found.


After that, the document would open in Abiword. Perhaps someone who
knows more than I can do something with this.

Cheers,
Alan

> 
> Cheers,
> 
> Stefano
> 
> 
> On Wed, Mar 2, 2011 at 3:45 PM, Alan L Tyree 
> wrote:
> 
> > On Wed, 02 Mar 2011 16:37:52 -0500
> > Richard Heck  wrote:
> >
> > > On 03/02/2011 03:38 PM, stefano franchi wrote:
> > > > Dear All,
> > > >
> > > > I love the new xhtml export! Great addition to Lyx. It should
> > > > also make exporting to Word relatively painless. Since I do not
> > > > have access to MS Word, though, I wonder if anyone has
> > > > succeeded in going through open/Libre office instead. On my
> > > > system (Ubuntu 10.10. latest versions of both oopen/libre), the
> > > > few files I have tried are open as a plain ascii
> > > > files---text-editor style, with tags and everything. From what
> > > > read online, this should not be the case. I am sure I am not
> > > > seeing something blatantly obvious and would appreciate any
> > > > help.
> > > >
> > > It looks as if OOo doesn't like the initial  line. If you
> > > remove it, it will open OK.
> >
> > Or you can open them directly in Abiword - at least on Debian
> > Squeeze.
> >
> > Cheers,
> > Alan
> >
> > >
> > > rh
> > >
> >
> >
> > --
> > Alan L Tyreehttp://www2.austlii.edu.au/~alan
> > Tel:  04 2748 6206
> >
> >


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: XHTML format and ooffice? - Correction

2011-03-02 Thread Alan L Tyree
On Wed, 2 Mar 2011 16:51:10 -0600
stefano franchi  wrote:

> Well,
> 
> Abiword crashes on me when I try to open lyx´s xhtml files. If, as
> Richard suggested, I remove the first line (the XML declaration),
> then ooffice opens the file correctly, but puts some garbage on the
> first line. See pdf below. I am enclosing a simple test file in lyx
> and the xhtml with the first line removed that produced the garbage
> line. Can anyone try on their systems?

This is a bit of a correction on my previous email. I don't understand
what is happening.

Abiword *can't* open test.xhtml, nor can it open the renamed test.html.

HOWEVER, I opened the file in emacs and deleted the first line, saved,
then reinserted the first line. Now it opens in Abiword. Running an
ediff on the two files shows no differences.

I suspect that we are seeing some sort of coding problem, but I don't
know enough to track it down. *Something* gets changed (perhaps by
emacs) in the delete and reinsertion, but I don't know what it is.

Sorry about the misleading previous post. I had done the deletion and
reinsertion but had forgotten about it.

Cheers,
Alan

> 
> Cheers,
> 
> Stefano
> 
> 
> On Wed, Mar 2, 2011 at 3:45 PM, Alan L Tyree 
> wrote:
> 
> > On Wed, 02 Mar 2011 16:37:52 -0500
> > Richard Heck  wrote:
> >
> > > On 03/02/2011 03:38 PM, stefano franchi wrote:
> > > > Dear All,
> > > >
> > > > I love the new xhtml export! Great addition to Lyx. It should
> > > > also make exporting to Word relatively painless. Since I do not
> > > > have access to MS Word, though, I wonder if anyone has
> > > > succeeded in going through open/Libre office instead. On my
> > > > system (Ubuntu 10.10. latest versions of both oopen/libre), the
> > > > few files I have tried are open as a plain ascii
> > > > files---text-editor style, with tags and everything. From what
> > > > read online, this should not be the case. I am sure I am not
> > > > seeing something blatantly obvious and would appreciate any
> > > > help.
> > > >
> > > It looks as if OOo doesn't like the initial  line. If you
> > > remove it, it will open OK.
> >
> > Or you can open them directly in Abiword - at least on Debian
> > Squeeze.
> >
> > Cheers,
> > Alan
> >
> > >
> > > rh
> > >
> >
> >
> > --
> > Alan L Tyreehttp://www2.austlii.edu.au/~alan
> > Tel:  04 2748 6206
> >
> >


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: XHTML format and ooffice?

2011-03-02 Thread Alan L Tyree
On Wed, 2 Mar 2011 16:51:10 -0600
stefano franchi  wrote:

> Well,
> 
> Abiword crashes on me when I try to open lyx´s xhtml files. If, as
> Richard suggested, I remove the first line (the XML declaration),
> then ooffice opens the file correctly, but puts some garbage on the
> first line. See pdf below. I am enclosing a simple test file in lyx
> and the xhtml with the first line removed that produced the garbage
> line. Can anyone try on their systems?
> 

OK, I stand corrected. Abiword didn't crash for me, but reported that
it was unable to open the file. "It appears to be an invalid document".

HOWEVER, if I rename the file test.html, then Abiword opens it. Very
strange.

Debian Squeeze; Abiword 2.8.2

> Cheers,
> 
> Stefano
> 
> 
> On Wed, Mar 2, 2011 at 3:45 PM, Alan L Tyree 
> wrote:
> 
> > On Wed, 02 Mar 2011 16:37:52 -0500
> > Richard Heck  wrote:
> >
> > > On 03/02/2011 03:38 PM, stefano franchi wrote:
> > > > Dear All,
> > > >
> > > > I love the new xhtml export! Great addition to Lyx. It should
> > > > also make exporting to Word relatively painless. Since I do not
> > > > have access to MS Word, though, I wonder if anyone has
> > > > succeeded in going through open/Libre office instead. On my
> > > > system (Ubuntu 10.10. latest versions of both oopen/libre), the
> > > > few files I have tried are open as a plain ascii
> > > > files---text-editor style, with tags and everything. From what
> > > > read online, this should not be the case. I am sure I am not
> > > > seeing something blatantly obvious and would appreciate any
> > > > help.
> > > >
> > > It looks as if OOo doesn't like the initial  line. If you
> > > remove it, it will open OK.
> >
> > Or you can open them directly in Abiword - at least on Debian
> > Squeeze.
> >
> > Cheers,
> > Alan
> >
> > >
> > > rh
> > >
> >
> >
> > --
> > Alan L Tyreehttp://www2.austlii.edu.au/~alan
> > Tel:  04 2748 6206
> >
> >


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: XHTML format and ooffice?

2011-03-02 Thread Alan L Tyree
On Wed, 02 Mar 2011 16:37:52 -0500
Richard Heck  wrote:

> On 03/02/2011 03:38 PM, stefano franchi wrote:
> > Dear All,
> >
> > I love the new xhtml export! Great addition to Lyx. It should also 
> > make exporting to Word relatively painless. Since I do not have
> > access to MS Word, though, I wonder if anyone has succeeded in
> > going through open/Libre office instead. On my system (Ubuntu
> > 10.10. latest versions of both oopen/libre), the few files I have
> > tried are open as a plain ascii files---text-editor style, with
> > tags and everything. From what read online, this should not be the
> > case. I am sure I am not seeing something blatantly obvious and
> > would appreciate any help.
> >
> It looks as if OOo doesn't like the initial  line. If you
> remove it, it will open OK.

Or you can open them directly in Abiword - at least on Debian Squeeze.

Cheers,
Alan

> 
> rh
> 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: LyX and editors?

2010-12-14 Thread Alan L Tyree
On Wed, 15 Dec 2010 00:25:47 -0500
Steve Litt  wrote:

> Hi all,
> 
> Perhaps some of you author in LyX but have editors go over your
> material. My experience is most editors don't have LyX and don't have
> the technical chops to use LyX. So how do you interface with your
> editors when writing a book in LyX?
> 
Hi Steve,

I do lyx -> latex -> oo -> .doc via oolatex (part of the tex4ht
package). It's a pain, but it works for me.

Cheers,
Alan



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


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: How to show two images side by side?

2010-10-02 Thread Alan L Tyree
On Sat, 2 Oct 2010 21:48:46 -0400
Steve Litt  wrote:

> Hi all,
> 
> I know in LyX there's some way to show two images side by side but I
> forgot how to do it. How do I do it?

One way is to use a couple of boxes and a horizontal stretch between
them. There are (undoubtedly) other ways, but I found that the best.

Cheers,
Alan

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


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: How to convert to MS Word?

2010-08-16 Thread Alan L Tyree
On Mon, 16 Aug 2010 06:42:23 -0400
Steve Litt  wrote:

> Hi all,
> 
> I know this question has been answered 1.1 million times on the list,
> but I couldn't quickly find it in a search so I thought I'd ask it
> again...
> 
> On my second-to-next book I'm going to use the services of a real
> copy editor. Most copy editors prefer (ugh) MS Word. I have to admit
> when I wrote Samba Unleashed, the copy editing/proofreading process
> did work very well with MS Word.
> 


Hi Steve,
I regularly convert a 600+ page book from LaTeX to OO using the oolatex
script that comes with tex4ht. It even does a proper conversion of
macros that allow indexing and cross referencing to paragraph numbers.

There used to be a problem with the version of Java installed, but I
don't think that matters any more - not sure.

Cheers,
Alan
> 
> Thanks
> 
> SteveT
> 
> Steve Litt
> Recession Relief Package
> http://www.recession-relief.US
> Twitter: http://www.twitter.com/stevelitt
> 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: Widows... and orphans

2010-07-17 Thread Alan L Tyree
On Sat, 17 Jul 2010 22:27:06 -0400
Richard Heck  wrote:

> On 07/17/2010 04:39 PM, Frederick Noronha wrote:
> > Is there any way to avoid widows and orphans showing up in Lyx?
> >
> >
> TeX tries to avoid them, but it will allow them if it deems other 
> options worse. You can make TeX give greater weight to the prevention
> of widows and orphans by setting certain variables, but I don't now 
> remember what they are. Google knows, though. So might the LyX wiki.
> 
> rh
> 

\clubpenalty=10000
\widowpenalty=1

Cheers,
Alan


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: Converting Lyx doc to word

2010-07-08 Thread Alan L Tyree
On Fri, 9 Jul 2010 13:47:16 +0800
Willis Gwenzi <20295...@student.uwa.edu.au> wrote:

> Hi all,
> 
>  I am writing my thesis in Lyx 1.6, but my supervisors need a copy in
> word. Is there a way I can use to convert the lyx document or pdf to
> a word document without losing the formating and equations? I tried
> exporting to HTML, but it doesn't seem to work for me.

Hello Willis,
There has been quite a bit of discussion on this topic in the archives,
but maybe you should tell us what OS you are using.

When you say "it doesn't seem to work for me" can you be a bit more
precise? How doesn't it work?

Cheers,
Alan

> 
> Please help.
> 
> Willis
> 2010/4/21 Eran Kaplinsky 
> 
> > One thing to keep in mind is that the various automated scripts
> > typically assume Adobe encoding.
> >
> >
> >
> >  Re: install otf font using otfinst.py
> >>
> >> Paul A. Rubin
> >> Mon, 19 Apr 2010 08:37:44 -0700
> >>
> >> On 4/19/2010 8:37 AM, jelle feringa wrote:
> >>
> >>Aha! That offers some insight!
> >>Same thing happes no matter whether I export latex(plain) ||
> >> latex(pdflatex).
> >>
> >>brutus:Desktop jelleferinga$ pdflatex newfile1.tex
> >>This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
> >>   %&-line parsing enabled.
> >>
> >>kpathsea: Running mktexfmt pdflatex.fmt
> >>I can't find the format file `pdflatex.fmt'!
> >>
> >>
> >> See if you have a utility called fmtutil installed. If not, you
> >> might want to google it and see if you can install it. The man
> >> page indicates it should be suitable for fixing missing formats.
> >> Also, you might try running plain latex, rather than pdflatex,
> >> against your test document. If it compiles, then the font file is
> >> not the problem. /Paul
> >>
> >>
> >>
> >
> > --
> >
> > Dr Eran S. Kaplinsky
> > Assistant Professor
> > Faculty of Law
> > University of Alberta
> > 447 Law Centre
> > Edmonton · AB · T6G 2H5
> > C A N A D A
> >
> > Tel: (780) 492-2941
> > Fax: (780) 492-4924
> >--
> >
> >


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: install latest lyx

2010-07-05 Thread Alan L Tyree
On Mon, 5 Jul 2010 10:44:56 +0200
Wolfgang Engelmann  wrote:

> Am Friday 02 July 2010 12:44:04 schrieben Sie:
> > On Fri, 2 Jul 2010 09:04:51 +0200
> >
> > Wolfgang Engelmann  wrote:
> > > Am Thursday 01 July 2010 13:19:16 schrieb Alan L Tyree:
> > > > On Thu, 1 Jul 2010 09:27:26 +0200
> > > > Wolfgang Engelmann  wrote:
> > > >
> > > > 
> 

> >
> > How goes the 2.0 installation?
> 
> Alan, thanks for still being with me. I think I have to do things
> step by step:
>  I have followed the advices in
> http://www.physics.utoronto.ca/~jrioux/resources/lyx/#devel
> Since I had already done quite some time ago 
> svn co svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_5
> with
> apt-get build-dep lyx
> 
> I used
> (For subsequent updates it is sufficient to simply do:)
> svn update
> 
> Here a question: How do I find out this gave me the latest branch 2
> of Lyx and where is it found? In my lyx-devel folder? I can't find it
> there. Or is it so that
> svn co svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_5
> has to be re-done for the new trunk of the BRANCH_2_X_X? Like:
> svn co svn://svn.lyx.org/lyx/lyx-devel/trunk lyx-devel
> and if so, how exactly should this command look like?

Hi Wolfgang,
Too much has happened while I was sleeping :-). Julien's step-by-step
guide is exactly what I would recommend - except, of course, that I
would use GNU STOW to install. As Julien indicates, this should not be
a major problem if you stick to the naming conventions that he
recommends.

In answer to your specific question, you will have the 1.6 version
installed. If you really want the trunk version (2.0 candidate) then
the best thing would be to created a new directory with the 2.0 files.
For example:

svn co svn://svn.lyx.org/lyx/lyx-devel/trunk lyx20

Then cd lyx20 and follow Julien's instructions, naming the new version
something distinctive: I use ./configure --with-version-suffix=20.

All of this is confusing until you have done it a few times - don't
give up :-).

Cheers,
Alan


> 
> ??
> 
> Thanks gain
> 
> Wolfgang


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: install latest lyx

2010-07-02 Thread Alan L Tyree
On Fri, 2 Jul 2010 09:04:51 +0200
Wolfgang Engelmann  wrote:

> Am Thursday 01 July 2010 13:19:16 schrieb Alan L Tyree:
> > On Thu, 1 Jul 2010 09:27:26 +0200
> > Wolfgang Engelmann  wrote:
> >
> > 
> >
> > > Sorry for my confusion, but thankful for your patience
> >
> > Should have mentioned: No grudge against what you guys did to us in
> > the World Cup :-).
> >
> > > Wolfgang
> 
> Alan, 
> 
> I am so totally uninterested in socker, that I did not even know what
> was going on. 

No worries, Wolfgang. But if my instructions should inadvertently happen
to wipe out your hard disk, totally trash your university's network and
completely destroy the German economy, then, well, it is what
happens :-).

How goes the 2.0 installation?

Cheers,
 Alan

> 
> Wolfgang


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: install latest lyx

2010-07-01 Thread Alan L Tyree
On Thu, 1 Jul 2010 09:27:26 +0200
Wolfgang Engelmann  wrote:


> Sorry for my confusion, but thankful for your patience
> 

Should have mentioned: No grudge against what you guys did to us in the
World Cup :-).



> Wolfgang


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: install latest lyx

2010-07-01 Thread Alan L Tyree
On Thu, 1 Jul 2010 09:27:26 +0200
Wolfgang Engelmann  wrote:

> Am Thursday 01 July 2010 03:21:21 schrieb Alan L Tyree:
> > On Thu, 01 Jul 2010 08:47:23 +0800
> >
> > "Louis A. Turk"  wrote:
> > > On Tue, 2010-06-29 at 11:14 +0200, Wolfgang Engelmann wrote:
> > > > Am Tuesday 22 June 2010 19:15:17 schrieb Julien Rioux:
> > > > > On 22/06/2010 1:05 PM, Wolfgang Engelmann wrote:
> > > > > > Am Tuesday 22 June 2010 18:50:24 schrieb Julien Rioux:
> > > > > >> On 22/06/2010 12:12 PM, Wolfgang Engelmann wrote:
> > > > > >
> > > > > > but this gives me:
> > > > > > wolfg...@wolfgang:~/lyx-devel$ autogen.sh
> > > > > > bash: autogen.sh: command not found
> > > > >
> > > > > The ./ (dot slash) is important. It tells your shell to
> > > > > execute the file from the current folder. If you get an error
> > > > > again, make sure the file is present by doing
> > > > >
> > > > > ls
> > > > >
> > > > > which should list the files in the current folder. If you
> > > > > copied the LyX source files correctly, you should see
> > > > > autogen.sh in there.
> > > > >
> > > > > Here are build instructions again:
> > > > > http://www.physics.utoronto.ca/~jrioux/resources/lyx/#devel
> > > >
> > > > Hello Julien,
> > > >
> > > > Thanks for providing your link. Could you kindly answer the
> > > > following questions privately?
> > > >
> > > > 1-Do I have to run the ./autogen.sh in my /lyx-devel as root? I
> > > > did this, but am afraid that was wrong.
> >
> > No, you should run ./autogen.sh as a normal user.
> 
> I should have asked before, - anyway, I did run it already as root.
> Can I undo this or would it mess up with the local install?

To tell the truth, Wolfgang, I am not entirely sure. I just tried in on
my own installation and suggest:

make clean

This does a lot of cleaning out of any previous makes, etc.

Then do

./autogen
etc.

> >
> > > > 2-how do I start the new lyx respectively how do I at what step
> > > > tell, the new lyx should eg be called lyx2?
> >
> > If you used ./configure --with-version-suffix=2, then the installed
> > executable will be lyx2. You should be able to run your original LyX
> > just by typing lyx in a terminal, the new one by typing lyx2.
> >
> > If you launch LyX from a panel icon, then right click on the icon
> > and choose "Properties". For the "Command"
> > enter /usr/local/bin/lyx2.
> >
> > At the risk of being a boring old guy, I really recommend using GNU
> > Stow to install compiled programs. This avoids any risk that the new
> > version might trash some part of the version installed by your
> > package manager. Also the risk that a new version installed by your
> > package manager will accidentally trash some part of the compiled
> > version.
> 
> I had installed stow already. 
> >
> > Instructions on using Stow to install are here:
> > http://wiki.lyx.org/Tips/Compiling under the heading "Compiling and
> > installing with GNU STOW".
> -->
> y...@yourmachine:~/local/lyx-1.6.5$ sudo make install 
> prefix=/usr/local/stow/lyx165 
> y...@yourmachine:~/local/lyx-1.6.5$ cd /usr/local/stow 
> y...@yourmachine:/usr/local/stow$ sudo stow lyx165
> 
> To me this looks like I am installing lyx as root (sudo), which you
> did not recommend. 

No, this is right. You compile LyX as a normal user, but then you
install it into your system so that any user has access to it.

Like most of us, you are probably the only user on your machine, but it
seems to me to be good practice to install software like this so that
all users have access. No harm, and just good practice.

> 
> And would a
> svn update 
> (root or user?)
> run in my /local folder
> give me the latest lyx as kind of lyx-2.x.x in a folder
> in /local/lyx-2.x.x or whatever,  

Run that as normal user. It is just downloading a bunch of files.
Everything else just makes the executables until you get to the
"install" stage. That puts it in your "public" area so that other users
have access.

> in which I have to use the steps above 
> y...@yourmachine:~/local/lyx-2.x.x$ sudo make install 
> prefix=/usr/local/stow/lyx2.x.x 
> etc ...
> ?
> 

Yes: after you do the "svn update" you have a new set of source files
that need to be compiled so that the executables are made. Then you
need to "install" them into the public area of your machine.


> Sorry for my confusion, but thankful for your patience

Mate, we all had a steep learning curve on this!! Let us know how you
get on and ask questions when you are not sure.

Cheers,
Alan

> 
> Wolfgang


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: install latest lyx

2010-06-30 Thread Alan L Tyree
On Thu, 01 Jul 2010 08:47:23 +0800
"Louis A. Turk"  wrote:

> On Tue, 2010-06-29 at 11:14 +0200, Wolfgang Engelmann wrote:
> > Am Tuesday 22 June 2010 19:15:17 schrieb Julien Rioux:
> > > On 22/06/2010 1:05 PM, Wolfgang Engelmann wrote:
> > > > Am Tuesday 22 June 2010 18:50:24 schrieb Julien Rioux:
> > > >> On 22/06/2010 12:12 PM, Wolfgang Engelmann wrote:
> > > >
> > > > but this gives me:
> > > > wolfg...@wolfgang:~/lyx-devel$ autogen.sh
> > > > bash: autogen.sh: command not found
> > >
> > > The ./ (dot slash) is important. It tells your shell to execute
> > > the file from the current folder. If you get an error again, make
> > > sure the file is present by doing
> > >
> > > ls
> > >
> > > which should list the files in the current folder. If you copied
> > > the LyX source files correctly, you should see autogen.sh in
> > > there.
> > >
> > > Here are build instructions again:
> > > http://www.physics.utoronto.ca/~jrioux/resources/lyx/#devel
> > 
> > Hello Julien,
> > 
> > Thanks for providing your link. Could you kindly answer the
> > following questions privately?
> > 
> > 1-Do I have to run the ./autogen.sh in my /lyx-devel as root? I did
> > this, but am afraid that was wrong. 

No, you should run ./autogen.sh as a normal user.

> > 2-how do I start the new lyx respectively how do I at what step
> > tell, the new lyx should eg be called lyx2?

If you used ./configure --with-version-suffix=2, then the installed
executable will be lyx2. You should be able to run your original LyX
just by typing lyx in a terminal, the new one by typing lyx2.

If you launch LyX from a panel icon, then right click on the icon and
choose "Properties". For the "Command" enter /usr/local/bin/lyx2.

At the risk of being a boring old guy, I really recommend using GNU
Stow to install compiled programs. This avoids any risk that the new
version might trash some part of the version installed by your package
manager. Also the risk that a new version installed by your package
manager will accidentally trash some part of the compiled version.

Instructions on using Stow to install are here:
http://wiki.lyx.org/Tips/Compiling under the heading "Compiling and
installing with GNU STOW".

Cheers,
Alan


> > 
> > Once I got my new lyx running, I will report. 
> > 
> > Yours
> > 
> > Wolfgang
> 
> No, not privately, please. I want to know, too!
> 
> Louis
> 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: install latest lyx

2010-06-22 Thread Alan L Tyree
On Tue, 22 Jun 2010 19:05:45 +0200
Wolfgang Engelmann  wrote:

> Am Tuesday 22 June 2010 18:50:24 schrieb Julien Rioux:
> > On 22/06/2010 12:12 PM, Wolfgang Engelmann wrote:
> > > experienced people would have know that one has to run
> > > autogen
> > > and not autogen.sh
> >
> > autogen.sh is correct, not autogen. The complete procedure is:
> >
> > cd ~/lyx-devel
> > ./autogen.sh
> 
> 
> but this gives me:
> wolfg...@wolfgang:~/lyx-devel$ autogen.sh
> bash: autogen.sh: command not found
> 
> I have downloaded with synaptic autogen (debian). So my question
> again, where do I get the necessary autogen.sh?
> 
> hope this is not taken up by Google again, as happened before,
> showing all the world how stupid I am. There should be a kind of
> direct tutoring in those cases. I am willing to report afterward the
> results.
> 
> Thanks, folk for your patience,

Wolfgang,
I'm sorry - I completely misled you on the autogen thing. Put it down
to responding too quickly without putting the brain into gear.




> 
> Wolfgang
> 
> > ./configure
> > make
> >
> > optionally you would also run:
> >
> > sudo make install

As I noted before, I would use stow for installation so that you don't
trash the existing version managed by apt. Instructions here:
http://wiki.lyx.org/Tips/Compiling.

Regards,
Alan


> 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: install latest lyx

2010-06-22 Thread Alan L Tyree
On Tue, 22 Jun 2010 11:21:34 +0200
Wolfgang Engelmann  wrote:

> > > I would like to install the latest LyX version on my Debian Linux.
> > > I used Guenther Mildes proposal:
> > >
> > >  wolfgang:/home/wolfgang# apt-get build-dep lyx
> > > and get
> > >
> > > Reading package lists... Done
> > > Building dependency tree
> > > Reading state information... Done
> > > 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
> > >
> > > Did I get a result and if, where do I look for it?
> >
> > I would say that you did. Apt reports that you have all the packages
> > that the build depends upon. You are ready to start building the new
> > LyX.
> >
> > Now download the LyX version that you want and build according to
> > the instructions on the wiki: http://wiki.lyx.org/Tips/Compiling
> >
> > Cheers,
> > Alan
> >
> > > Wolfgang
> 
> Thanks, Alan and Marcelo.
> 
> I did now in my /lyx-devel a
> svn update  
> 
> and from http://www.lyx.org/HowToUseSVN
> 6. Compiling the source
> 
> I am supposed to do:
> 
> If you want to compile and run the development module, things are
> somewhat more complicated than for the release module. You're going
> to need automake, autoconf, and gettext, which can be downloaded from
> your favorite GNU ftp site. (Start at gnu.org to find a mirror.) Once
> you've installed all of that stuff, just run the autogen.sh script
> written by Allan Rae, which will do things in the right order, and
> then tell you to run configure and make. 
> 
> Where would I find the autogen.sh script written by Allan Rae?
> 
> Wolfgang

apt-get install autogen

You might like to use Synaptic which is a GUI interface to apt-get. Or
aptitude in a terminal. Either one makes life a lot easier.

Let us know how you go.

Cheers,
Alan


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: install latest lyx

2010-06-21 Thread Alan L Tyree
On Mon, 21 Jun 2010 18:51:33 +0200
Wolfgang Engelmann  wrote:

> I would like to install the latest LyX version on my Debian Linux.
> I used Guenther Mildes proposal:
> 
>  wolfgang:/home/wolfgang# apt-get build-dep lyx
> and get
> 
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
> 
> Did I get a result and if, where do I look for it?

I would say that you did. Apt reports that you have all the packages
that the build depends upon. You are ready to start building the new
LyX.

Now download the LyX version that you want and build according to the
instructions on the wiki: http://wiki.lyx.org/Tips/Compiling

Cheers,
Alan

> 
> Wolfgang


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: compiling from svn using checkinstall (help needed)

2010-06-20 Thread Alan L Tyree
On Sun, 20 Jun 2010 17:56:04 +0200
Stephan Maseizik  wrote:

> Julien Rioux  schrieb:
> > On 20/06/2010 10:15 AM, Stephan Maseizik wrote:
> >> My two questions are:
> >>   -What do I have to do to build the lyx2.0.deb package and
> >>   -how do I install both versions (1.6.x and lyx2.0) in parallel
> >> using dpkg?
> >
> > I don't know what checkinstall is, 
> 
> Thanks for the quick response!
> 
> Checkinstall controls the make-process and builds a .deb-package that
> then can be installed, updated and cleanly removed using the debian
> package manager. It is used instead of >make<.

I think the way to deal with this problem is to use is GNU Stow. It puts
"foreign" programs right out of the way of your package manager. This
makes it simple to have new and old versions co-exist. I think it is a
much better solution than checkinstall which attempts to integrate the
new program with your existing package management system, often with
the results that you observed.

I wrote a short how-to that is on the "Tips for compiling" part of the
Wiki: http://wiki.lyx.org/Tips/Compiling. The how-to talks about
installing the latest stable version, but the same technique works with
the svn branch.

Cheers,
Alan

> 
> 
> 
> 
> but one way to have 2.0 and 1.6 
> > co-existing is to configure 2.0 with
> >
> > ./configure --with-version-suffix=SUFFIX
> >
> > where SUFFIX is anything you wanted ( "-devel", "-2.0", "-svn"... ).
> 
> Just tried it, but I got the same result: checkinstall gave the
> mentioned error and did not build the .deb-file. Lyx2.0 is
> installed though I did not install it using dpkg.
> 
> Stephan 
> 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: Reducing the number of pages in an article

2010-06-12 Thread Alan L Tyree
On Sat, 12 Jun 2010 14:01:26 -0400
Steve Litt  wrote:

> On Saturday 12 June 2010 03:55:23 Barak Sh wrote:
> > Hello all,
> > An article I'm writing has reached 7 pages where the last page
> > contains only a small paragraph. Is there a simple way to reduce
> > the article to 6 pages? I know it's possible to make fonts a bit
> > smaller throughout the entire article. This will get the job done,
> > but I have noticed that there are many blank spaces between
> > paragraphs and between formulas and text. There must be a simple
> > way to tell LaTeX to make these spaces a bit smaller so that the
> > article fits comfortably into 6 pages. (I know there's an option in
> > Document Settings to specify the vertical separation of paragraphs.
> > It's already at the smallest value.) Thanks in advance,
> > Barak
> 
> LaTeX puts big space between paragraphs rather than have a page end
> before the bottom. The more and bigger graphics (and probably
> formulas), the more inter- paragraph variations become. It's hard to
> defeat this LaTeX behavior without a lot of micromanaging.

Isn't this behaviour overcome with \raggedbottom?

Alan

> 
> I've found you can change the pagecount by changing the margins just
> a little. If you want this to be a six page document, I'd widen and
> lengthen the margins just a smidgen.
> 
> SteveT
> 
> Steve Litt
> Recession Relief Package
> http://www.recession-relief.US
> Twitter: http://www.twitter.com/stevelitt
> 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: what is a good lyx layout for notetaking?

2010-06-10 Thread Alan L Tyree
On Thu, 10 Jun 2010 23:58:56 +0200
Jean-Marc Lasgouttes  wrote:

> Le 10/06/2010 23:14, Steve Litt a écrit :
> > I wouldn't be caught dead taking notes with any software other than
> > VimOutliner.
> 
> Except emacs' org-mode, of course :)

It's no good trying to talk sense to Steve on this subject :-).

Alan

> 
> JMarc


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



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

2010-04-15 Thread Alan L Tyree
On Thu, 15 Apr 2010 19:28:47 +0200
Abdelrazak Younes  wrote:

> 
> 
> On 04/15/2010 12:07 PM, Typhoon wrote:
> >>> If it isn't necessary, I don't think that LyX should lock into one
> >>> system.
> >>
> >> While it is good to support a wide choice of systems for version
> >> control, for a "portable LyX document" *one* format is the right
> >> way.
> >
> > I see the argument, and you may be right. BUT when I wanted to
> > collaborate with a colleague, they knew how to use Bazaar, so we
> > went that way. I think it would have been hard to get them to use
> > something else.
> 
> I think you are missing something and it's probably my fault. The
> idea of a portable document using a git repo is somewhat
> perpendicular to how many DVCS systems are supported by LyX. The idea
> behind a "portable LyX document" is that the user doesn't know which
> SCM he uses as LyX would take care of everything. So having your
> coauthor fluent in bazar rather than git is irrelevant.

Hi Abdel,

You're right, I was confusing two separate issues. Not, I think, your
fault at all. 

And, whatever is used, the idea of a VC system as the portable format
seems brilliant.

Thanks for cleaning the fuzz out of my brain :-).

Cheers,
Alan

> 
> > As I said before, I don't know what the technical problems are in
> > implementing this in LyX. However, if it is possible to support more
> > than one DVCS, then I think it should be kept in mind. The
> > "portable" in "portable LyX document" is a very relative thing. It
> > depends almost entirely on who you want to "port" it to.
> >
> > I suppose that if everything is bundled with LyX, then the choice is
> > made and it doesn't matter. Is that a sensible solution?
> >
> > In the end, I suppose that it may be a technical question/solution
> > and I am absolutely unqualified to speak to that. But I hope that
> > people who are qualified will at least consider keeping the options
> > open.
> 
> Sure, don't worry :-)
> 
> Abdel.
> 
> 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206