Re: Wrong language for theorems/lemma/other amsthm environments

2013-06-09 Thread Georg Baum
Damien Desfontaines wrote:

 Hello,
 
 Following the advice given by scottksty in the following thread:
 http://tex.stackexchange.com/questions/116462/wrong-names-for-
theorems-lemma-etc-in-lyx
 I am sending a minimal example showing my problem, that is, the name
 of the AMS theorems layouts appear in french in the PDF files produced
 by LyX, even if the language of the document is set to english. I use
 LyX 2.0.3, my user interface is in french, but as you can see in the
 .lyx file, my document's language is english.
 
 I also attached to this e-mail the .tex file generated by Export →
 LaTeX (pdflatex), which shows the problem: below the commentary line
 « Textclass specitif LaTeX commands », the thm environment is set with
 a french name:
 
 \theoremstyle{plain}
 \newtheorem{thm}{Théorème}
 
 The same thing happens for all other amsthm environments, except,
 strangely, for the proof environment.

This is not the code LyX 2.0.x produces. LyX produces


\theoremstyle{plain}
\newtheorem{thm}{\protect\theoremname}

\makeatother

\usepackage{babel}
\providecommand{\theoremname}{Theorem}


for a single language english document, and for a multi language document 
(english and french) it would additionaly write the following two lines:


  \addto\captionsenglish{\renewcommand{\theoremname}{Theorem}}
  \addto\captionsfrench{\renewcommand{\theoremname}{Théorème}}


Therefore, I guess that you used the translated layout files from 
wiki.lyx.org for 1.6.x (LyX only got native support for layout translations 
in the output with version 2.0.0), and that these layout files are still 
lying around and being used. I guess that the problem will go away if you 
rename ~/.lyx/layouts to ~/.lyx/layouts-tmp and reconfigure. If that helps, 
you can move those layouts back to ~/.lyx/layouts which you want to keep.

 I hope that I have described the problem clearly enough and that my
 example is minimal enough so that you do not waste your time on it.

It is a perfect minimal example, and since you also included the .tex output 
I am pretty sure that it helped to identify the real cause of the problem.


Georg




Re: Info for used branches in slide

2013-06-09 Thread Uwe Ade
Hello,on my way I reached partialsuccess:I put\usepackage[absolute,overlay]{textpos}\useoutertheme{infolines}\setbeamertemplate{navigation symbols}{}\newcommand\FrameText[1]{% \begin{textblock*}{\paperwidth}(0pt,\textheight)\raggedleft #1\hspace{.10em}  \end{textblock*}}in the preamble and with the ERT-TAG\FrameText{folie}in the Beamer-Hedline, the word "Folie" appears on every slide on the left down corner. So i´d like zu change the color of this word, but i found no working solution.To get color work i put\usepackage{color,xcolor,ucs}\usepackage{graphicx}in preamblebut\colorbox{red}{\FrameText{folie}} (%Favorite solution)neither{\textcolor{red}{\FrameText{folie}}works. I got an Error while compiling the documentTheres on small example-file

example.lyx
Description: Binary data
I think i made a very simply fault, but I´am not able to see it.Any ideas?uweAm 06.06.2013 um 19:38 schrieb Uwe Ade uwe@gmx.de:Hello I uses beamer for a presentation with to differnent branches. One Branche is the presentation which the Students gets as handouts. It´s the smaller one.The second is my tutor version which more infos. its the bigger one.So the question: Is it possible to put an information in the footnote to whicht branch the shown slide belong (teacherslide or studentslide) ? If this idea doesn´t work are there other opportunities to show to which branche the slide belong, as water mark or something else?thanks uwe 

Anyone know of a best-seller written in LyX

2013-06-09 Thread Steve Litt
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.
===

I already wrote back mocking his position and pointing out that if Open
Source got his undies that tight in a bundle, maybe there's something
interesting there, maybe everyone should try LyX, after all, it's free,
and gave the www.lyx.org URL.

But I can tell you this guy is going to come back and say he's a great
and mighty best selling author, ask how many books have I sold. While
books provide a part of my income, I have no best sellers, either now
or in the past.

So, when he comes back and asks that, it would be *wonderful* to give
the writer's list one or more best seller books (I think something with
an Amazon rank of less than 5000 would do it), to refute his statement,
by counterexample.

I'll say one more thing. A lot of writers seem to be proud of their
technophobia, and say mean and stupid stuff about LyX and other Open
Source. On their behalf, please allow *this* writer to apologize.

And as always, keep up the good work producing a great book writing
software (and perhaps now a web authoring software).

Thanks,

SteveT

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


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

2013-06-09 Thread Richard Heck


Sorry to top post, but I rather suspect that plenty of authors use
other open source programs, like LibreOffice. The truth is that, for
most writing that would produce best-sellers, you could just as soon
use Notepad, or a typewriter. The sophisticated features available
with a program like LyX, or SWP, won't help that much.

That said, one wonders what axe this person has to grind.

Richard


On 06/09/2013 10:36 AM, 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.
===

I already wrote back mocking his position and pointing out that if Open
Source got his undies that tight in a bundle, maybe there's something
interesting there, maybe everyone should try LyX, after all, it's free,
and gave the www.lyx.org URL.

But I can tell you this guy is going to come back and say he's a great
and mighty best selling author, ask how many books have I sold. While
books provide a part of my income, I have no best sellers, either now
or in the past.

So, when he comes back and asks that, it would be *wonderful* to give
the writer's list one or more best seller books (I think something with
an Amazon rank of less than 5000 would do it), to refute his statement,
by counterexample.

I'll say one more thing. A lot of writers seem to be proud of their
technophobia, and say mean and stupid stuff about LyX and other Open
Source. On their behalf, please allow *this* writer to apologize.

And as always, keep up the good work producing a great book writing
software (and perhaps now a web authoring software).

Thanks,

SteveT

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




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

2013-06-09 Thread stefano franchi
On Sun, Jun 9, 2013 at 9:36 AM, Steve Litt sl...@troubleshooters.comwrote:


 So, when he comes back and asks that, it would be *wonderful* to give
 the writer's list one or more best seller books (I think something with
 an Amazon rank of less than 5000 would do it), to refute his statement,
 by counterexample.



I'm willing to bet you won't find such an example. The reason is simple:
more or less by definition a best-seller is book produced by a major
commercial publishing house supported by a consistent marketing effort,
heavily edited by a professional editor and laid out by a (team of )
typesetters according to a carefully designed house-specific graphic design
project. The writer is just one element of the whole operation and she must
use tools everyone else uses (or tools that produce output everyone else
can use and viceversa). That means the writer must use microsoft word or
word-compatible software, because that the format the editor will expect,
and the doc format is what the typesetter wants when the text is inputted
into InDesign.
LyX just does not fit that scenario---unless everyone else moves to LyX and
the typesetters switch to LaTeX. It's not going to happen.

The exception is scientific publishing (Springer comes to mind), where,
until not too long ago, many publishers had embraced Latex typesetting, and
therefore made fitting LyX into their process relatively easy.

But if by best-sellers you mean the kind of books listed on the NYTimes,
then I'm afraid LyX won't have much of a chance.

Then again, I'm a pessimist by nature.

Cheers,

Stefano

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

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


Re: How to remove line break in chapter headings layout?

2013-06-09 Thread Guenter Milde
On 2013-06-08, stefano franchi wrote:

 [-- Type: text/plain, Encoding:  --]

 I use the memoir class for both books and article and I modified the memoir
 layout accordingly to create a memoir-article layout. I would like LyX to
 format chapter headings *on screen* (pdf output is fine) the same way it
 formats all other section headings, that is:

 counter space chapter title

 instead of the standard formatting for the book class(es):

 Chapter counter
 chapter title

Why don't you do it the normal way, i.e. like the standard classes and
KOMA script: skip the chapter level in article class and restrict it to
section, subsection, subsub...

Günter



Re: How to remove line break in chapter headings layout?

2013-06-09 Thread stefano franchi
On Sun, Jun 9, 2013 at 10:50 AM, Guenter Milde mi...@users.sf.net wrote:

 On 2013-06-08, stefano franchi wrote:

  [-- Type: text/plain, Encoding:  --]

  I use the memoir class for both books and article and I modified the
 memoir
  layout accordingly to create a memoir-article layout. I would like LyX
 to
  format chapter headings *on screen* (pdf output is fine) the same way it
  formats all other section headings, that is:

  counter space chapter title

  instead of the standard formatting for the book class(es):

  Chapter counter
  chapter title

 Why don't you do it the normal way, i.e. like the standard classes and
 KOMA script: skip the chapter level in article class and restrict it to
 section, subsection, subsub...


Well, because the normal way is actually not normal to my working habits.
I use memoir for everything regardless of the pieces' lengths and it's
actually easier for me to deal with  a consistent set of environments
without having to stop and think about whether I am using a book-like or an
article-like class. I think of headings as level 0, level 1, etcetera,
and I am happy to leave the proper formatting to a customized class that I
can switch at will.
Admittedly, this is not a standard Latex workflow, but it works for me.

Cheers,

Stefano

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

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


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

2013-06-09 Thread Ray Rashif
On 9 June 2013 23:32, stefano franchi stefano.fran...@gmail.com wrote:




 On Sun, Jun 9, 2013 at 9:36 AM, Steve Litt sl...@troubleshooters.comwrote:


 So, when he comes back and asks that, it would be *wonderful* to give
 the writer's list one or more best seller books (I think something with
 an Amazon rank of less than 5000 would do it), to refute his statement,
 by counterexample.



 I'm willing to bet you won't find such an example. The reason is simple:
 more or less by definition a best-seller is book produced by a major
 commercial publishing house supported by a consistent marketing effort,
 heavily edited by a professional editor and laid out by a (team of )
 typesetters according to a carefully designed house-specific graphic design
 project. The writer is just one element of the whole operation and she must
 use tools everyone else uses (or tools that produce output everyone else
 can use and viceversa). That means the writer must use microsoft word or
 word-compatible software, because that the format the editor will expect,
 and the doc format is what the typesetter wants when the text is inputted
 into InDesign.
 LyX just does not fit that scenario---unless everyone else moves to LyX
 and the typesetters switch to LaTeX. It's not going to happen.

 The exception is scientific publishing (Springer comes to mind), where,
 until not too long ago, many publishers had embraced Latex typesetting, and
 therefore made fitting LyX into their process relatively easy.

 But if by best-sellers you mean the kind of books listed on the NYTimes,
 then I'm afraid LyX won't have much of a chance.

 Then again, I'm a pessimist by nature.


I'm not much of a pessimist, but I would agree with this. Unless we we
survey the tools used by self-published bestsellers [1], we'll lose this
debate.

Traditional publishing generally means submitting a proposal, a manuscript
and then getting an advance -- no where in there do I see an incentive to
go out of your way to do anything but write.

Now, if there were publishing houses using open-source tools, I wouldn't
know, but that would be really cool.

[1] http://www.amazon.com/Self-Published-Bestsellers/lm/R2UHB9O6LWN1QI

--
GPG/PGP ID: C0711BF1


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

2013-06-09 Thread Steve Litt
On Sun, 09 Jun 2013 10:48:40 -0400
Richard Heck rgh...@lyx.org wrote:

 
 Sorry to top post, but I rather suspect that plenty of authors use
 other open source programs, like LibreOffice. The truth is that, for
 most writing that would produce best-sellers, you could just as soon
 use Notepad, or a typewriter. The sophisticated features available
 with a program like LyX, or SWP, won't help that much.

OK, let's broaden my question to what best sellers have been written
in ANY Open Source software, even Vim?

I just really need some counterexamples to throw up once the inevitable
bullying starts.

 
 That said, one wonders what axe this person has to grind.
 

That was the exact question that came to my mind.


 
 On 06/09/2013 10:36 AM, 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.
  ===


SteveT

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


Re: Document class missing after installation

2013-06-09 Thread Julien Rioux

On 07/06/2013 3:18 PM, Y.A. Sharif wrote:








Dear Rubin
Thank you very much for your quick reply. I am sorry for the delayed
response to your email. I went step by step according to your suggestions.
1. I could not find any configure.log file under
C:\users\...\Roaming\LyX 2.0. There was only one folder named cache
and a file outside the folder named session.
2.I tried to run configuration script in DOS windows: C:\Program
Files(x86)\LyX20\Python\Python.exe , this one did not show any error.
But when I ran the other one with configure.py it showed the following
messages:
File C:\Program Files (x86)\LyX 2.0\Resources\configure.py, line 11,
in , module
import  sys, os, re , shutil, glob, logging, subprocess
File C:\python25\lib\subprocess.py, line375, inmodule
import threading
File C:\python25\lib\threading.py, line 13, in module
from collections import deque
Import error: No module named collections

I again apologize for being little late to reply to the group and rubin.

I really appreciate your help and time.

Thank you very much.

Regards
Sharif


*From:* Paul A. Rubin ru...@msu.edu
*To:* Y.A. Sharif yasha...@yahoo.com
*Sent:* Friday, June 7, 2013 9:37 AM
*Subject:* Re: Document class missing after installation

Y.A.,

LyX creates a user directory for you, where it stores your preferences
and other local files. On my Windows 7 partition, the user directory
is C:\Users\Paul\AppData\Roaming\LyX2.0. If you have trouble finding it,
Help  About LyX should point you to it.

In that directory, there should be a text file named configure.log. (If
not, keep reading, I'll get to that case.) It's generated when the
Python configuration script runs. (This is script is both run at
installation and when you click Tools  Reconfigure in LyX.) In it, you
should see lines like the following:

INFO: checking for a Latex2e program...
INFO: +checking for latex...  yes
INFO: checking for a DVI postprocessing program...
INFO: +checking for pplatex...  yes

and eventually

INFO: checking for the pdflatex program...
INFO: +checking for pdflatex...  yes

If they read no, it means LyX failed to detect MiKTeX for some reason.
I've seen this happen when the user had Cygwin installed, for instance.
I don't know if it is still true, but Cygwin used to come with a broken
copy of LaTeX, and if Cygwin was in front of MiKTeX on the system
command path, LyX would test the Cygwin version of latex.exe and
conclude that there was no working LaTeX compiler on the system.

If the log shows that LyX found MiKTeX ('yes' responses), go back to a
DOS prompt and run 'kpsewhich article.cls' (if the article class is
missing according to LyX) and make sure that MiKTeX finds it. If that
looks correct, or if the log file is missing, then I suggest you cd to
your LyX user directory and run the configuration script in a DOS
window. The command line will look something like the following
(allowing for the possibility that your installation path is different):

C:\Program Files (x86)\LyX20\Python\python.exe C:\Program Files
(x86)\LyX20\Resources\configure.py

See if any error messages appear.

Paul

On 06/06/2013 06:44 PM, Y.A. Sharif wrote:


Thankk you Paul for your reply.
I have checked according to your suggestion. It shows in DOS prmopt
:this is pdfTeX, Version 3.14-...-1.40.13MiKTeX 2.9
But I could not understand your 2nd paragraph. Do you want me to check
the log generated by lyx ? Little confused, could you explain little more.
Thank you.


Y.A.Sharif



*From:* Paul Rubin ru...@msu.edu mailto:ru...@msu.edu
*To:* lyx-users@lists.lyx.org mailto:lyx-us...@lists..lyx.org
*Sent:* Thursday, June 6, 2013 3:11 PM
*Subject:* Re: Document class missing after installation

Is the MiKTeX bin directory on your system path? Can you run latex
--version
at a DOS prompt (without supplying a path to MiKTeX) and get a response
with a plausible version date?

If yes, take a look at the log generated by the installer (should be
in your user directory, I think) and see if it found a LaTeX installation.
You might want to publish the log to the list.

Paul












This looks to me like http://www.lyx.org/trac/ticket/8691 again.

--
Julien



Re: Simple HTML converter/export

2013-06-09 Thread Bob Alvarez

 This will NOT be YAHC (Yet Another HTML Converter). It will be a small
 subset of LyX's capabilities, purposed not to turn a document into HTML,
 but to turn LyX into a quick to use HTML authoring tool for HTML web pages.
 It will in no way try to replace the existing HTML Converters, and from
 what I've seen so far, the existing HTML converters would have a hard time
 replacing what I'm trying to make.


Let me state my interest in this topic to see if it overlaps with yours. I
agree that HTML exporters like Alex Fernandez' eLyXer do a great job of
producing web pages that look like pdf documents. What I would want is to
be able to add some capabilities to the HTML that would not be possible in
a static format like pdf. But at the same time, I want to use Lyx's
capabilities for formatting the document and math typesetting.

As an example, I use Lyx to create web pages with a lot of math. Like most
math, it is structured with general statements like theorems with proofs.
Many times, the proof gets in the way of the narrative although it is
important for it to be there if the reader wants to see it. I saw a website
where they added a + sign gadget that if you click it once displays the
proof and then clicking it again hides it.

This is relatively easy to do using the javascript openClose function
http://javascriptsource.com/miscellaneous/collapsible-text.html

Alex suggested a way to do this that, if I understand it correctly,
requires editing the HTML output. I would be interested in extensions to
Lyx that would allow me to add features like these but at the same time be
able to export standard pdf documents.

If there is some commonality of our interests, perhaps the Lyx experts can
suggest a way to enhance Lyx to be able to do the things we want to do.

Bob


Re: Simple HTML converter/export

2013-06-09 Thread Steve Litt
On Sun, 9 Jun 2013 14:22:32 -0700
Bob Alvarez cobol...@gmail.com wrote:

 
  This will NOT be YAHC (Yet Another HTML Converter). It will be a
  small subset of LyX's capabilities, purposed not to turn a document
  into HTML, but to turn LyX into a quick to use HTML authoring tool
  for HTML web pages. It will in no way try to replace the existing
  HTML Converters, and from what I've seen so far, the existing HTML
  converters would have a hard time replacing what I'm trying to
  make.
 
 
 Let me state my interest in this topic to see if it overlaps with
 yours. I agree that HTML exporters like Alex Fernandez' eLyXer do a
 great job of producing web pages that look like pdf documents. What I
 would want is to be able to add some capabilities to the HTML that
 would not be possible in a static format like pdf. But at the same
 time, I want to use Lyx's capabilities for formatting the document
 and math typesetting.

Hi Bob,

I think our projects are close enough that we'd both benefit from
sharing information, but far enough apart that we'd probably be better
off making them two separate projects. Their intersection is far
smaller than their exclusive-or.

Thanks for pointing out that collapsible text code. That's pretty cool.

SteveT

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


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.
===


SNIP

==
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: Wrong language for theorems/lemma/other amsthm environments

2013-06-09 Thread Georg Baum
Damien Desfontaines wrote:

 Hello,
 
 Following the advice given by scottksty in the following thread:
 http://tex.stackexchange.com/questions/116462/wrong-names-for-
theorems-lemma-etc-in-lyx
 I am sending a minimal example showing my problem, that is, the name
 of the AMS theorems layouts appear in french in the PDF files produced
 by LyX, even if the language of the document is set to english. I use
 LyX 2.0.3, my user interface is in french, but as you can see in the
 .lyx file, my document's language is english.
 
 I also attached to this e-mail the .tex file generated by Export →
 LaTeX (pdflatex), which shows the problem: below the commentary line
 « Textclass specitif LaTeX commands », the thm environment is set with
 a french name:
 
 \theoremstyle{plain}
 \newtheorem{thm}{Théorème}
 
 The same thing happens for all other amsthm environments, except,
 strangely, for the proof environment.

This is not the code LyX 2.0.x produces. LyX produces


\theoremstyle{plain}
\newtheorem{thm}{\protect\theoremname}

\makeatother

\usepackage{babel}
\providecommand{\theoremname}{Theorem}


for a single language english document, and for a multi language document 
(english and french) it would additionaly write the following two lines:


  \addto\captionsenglish{\renewcommand{\theoremname}{Theorem}}
  \addto\captionsfrench{\renewcommand{\theoremname}{Théorème}}


Therefore, I guess that you used the translated layout files from 
wiki.lyx.org for 1.6.x (LyX only got native support for layout translations 
in the output with version 2.0.0), and that these layout files are still 
lying around and being used. I guess that the problem will go away if you 
rename ~/.lyx/layouts to ~/.lyx/layouts-tmp and reconfigure. If that helps, 
you can move those layouts back to ~/.lyx/layouts which you want to keep.

 I hope that I have described the problem clearly enough and that my
 example is minimal enough so that you do not waste your time on it.

It is a perfect minimal example, and since you also included the .tex output 
I am pretty sure that it helped to identify the real cause of the problem.


Georg




Re: Info for used branches in slide

2013-06-09 Thread Uwe Ade
Hello,on my way I reached partialsuccess:I put\usepackage[absolute,overlay]{textpos}\useoutertheme{infolines}\setbeamertemplate{navigation symbols}{}\newcommand\FrameText[1]{% \begin{textblock*}{\paperwidth}(0pt,\textheight)\raggedleft #1\hspace{.10em}  \end{textblock*}}in the preamble and with the ERT-TAG\FrameText{folie}in the Beamer-Hedline, the word "Folie" appears on every slide on the left down corner. So i´d like zu change the color of this word, but i found no working solution.To get color work i put\usepackage{color,xcolor,ucs}\usepackage{graphicx}in preamblebut\colorbox{red}{\FrameText{folie}} (%Favorite solution)neither{\textcolor{red}{\FrameText{folie}}works. I got an Error while compiling the documentTheres on small example-file

example.lyx
Description: Binary data
I think i made a very simply fault, but I´am not able to see it.Any ideas?uweAm 06.06.2013 um 19:38 schrieb Uwe Ade uwe@gmx.de:Hello I uses beamer for a presentation with to differnent branches. One Branche is the presentation which the Students gets as handouts. It´s the smaller one.The second is my tutor version which more infos. its the bigger one.So the question: Is it possible to put an information in the footnote to whicht branch the shown slide belong (teacherslide or studentslide) ? If this idea doesn´t work are there other opportunities to show to which branche the slide belong, as water mark or something else?thanks uwe 

Anyone know of a best-seller written in LyX

2013-06-09 Thread Steve Litt
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.
===

I already wrote back mocking his position and pointing out that if Open
Source got his undies that tight in a bundle, maybe there's something
interesting there, maybe everyone should try LyX, after all, it's free,
and gave the www.lyx.org URL.

But I can tell you this guy is going to come back and say he's a great
and mighty best selling author, ask how many books have I sold. While
books provide a part of my income, I have no best sellers, either now
or in the past.

So, when he comes back and asks that, it would be *wonderful* to give
the writer's list one or more best seller books (I think something with
an Amazon rank of less than 5000 would do it), to refute his statement,
by counterexample.

I'll say one more thing. A lot of writers seem to be proud of their
technophobia, and say mean and stupid stuff about LyX and other Open
Source. On their behalf, please allow *this* writer to apologize.

And as always, keep up the good work producing a great book writing
software (and perhaps now a web authoring software).

Thanks,

SteveT

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


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

2013-06-09 Thread Richard Heck


Sorry to top post, but I rather suspect that plenty of authors use
other open source programs, like LibreOffice. The truth is that, for
most writing that would produce best-sellers, you could just as soon
use Notepad, or a typewriter. The sophisticated features available
with a program like LyX, or SWP, won't help that much.

That said, one wonders what axe this person has to grind.

Richard


On 06/09/2013 10:36 AM, 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.
===

I already wrote back mocking his position and pointing out that if Open
Source got his undies that tight in a bundle, maybe there's something
interesting there, maybe everyone should try LyX, after all, it's free,
and gave the www.lyx.org URL.

But I can tell you this guy is going to come back and say he's a great
and mighty best selling author, ask how many books have I sold. While
books provide a part of my income, I have no best sellers, either now
or in the past.

So, when he comes back and asks that, it would be *wonderful* to give
the writer's list one or more best seller books (I think something with
an Amazon rank of less than 5000 would do it), to refute his statement,
by counterexample.

I'll say one more thing. A lot of writers seem to be proud of their
technophobia, and say mean and stupid stuff about LyX and other Open
Source. On their behalf, please allow *this* writer to apologize.

And as always, keep up the good work producing a great book writing
software (and perhaps now a web authoring software).

Thanks,

SteveT

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




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

2013-06-09 Thread stefano franchi
On Sun, Jun 9, 2013 at 9:36 AM, Steve Litt sl...@troubleshooters.comwrote:


 So, when he comes back and asks that, it would be *wonderful* to give
 the writer's list one or more best seller books (I think something with
 an Amazon rank of less than 5000 would do it), to refute his statement,
 by counterexample.



I'm willing to bet you won't find such an example. The reason is simple:
more or less by definition a best-seller is book produced by a major
commercial publishing house supported by a consistent marketing effort,
heavily edited by a professional editor and laid out by a (team of )
typesetters according to a carefully designed house-specific graphic design
project. The writer is just one element of the whole operation and she must
use tools everyone else uses (or tools that produce output everyone else
can use and viceversa). That means the writer must use microsoft word or
word-compatible software, because that the format the editor will expect,
and the doc format is what the typesetter wants when the text is inputted
into InDesign.
LyX just does not fit that scenario---unless everyone else moves to LyX and
the typesetters switch to LaTeX. It's not going to happen.

The exception is scientific publishing (Springer comes to mind), where,
until not too long ago, many publishers had embraced Latex typesetting, and
therefore made fitting LyX into their process relatively easy.

But if by best-sellers you mean the kind of books listed on the NYTimes,
then I'm afraid LyX won't have much of a chance.

Then again, I'm a pessimist by nature.

Cheers,

Stefano

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

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


Re: How to remove line break in chapter headings layout?

2013-06-09 Thread Guenter Milde
On 2013-06-08, stefano franchi wrote:

 [-- Type: text/plain, Encoding:  --]

 I use the memoir class for both books and article and I modified the memoir
 layout accordingly to create a memoir-article layout. I would like LyX to
 format chapter headings *on screen* (pdf output is fine) the same way it
 formats all other section headings, that is:

 counter space chapter title

 instead of the standard formatting for the book class(es):

 Chapter counter
 chapter title

Why don't you do it the normal way, i.e. like the standard classes and
KOMA script: skip the chapter level in article class and restrict it to
section, subsection, subsub...

Günter



Re: How to remove line break in chapter headings layout?

2013-06-09 Thread stefano franchi
On Sun, Jun 9, 2013 at 10:50 AM, Guenter Milde mi...@users.sf.net wrote:

 On 2013-06-08, stefano franchi wrote:

  [-- Type: text/plain, Encoding:  --]

  I use the memoir class for both books and article and I modified the
 memoir
  layout accordingly to create a memoir-article layout. I would like LyX
 to
  format chapter headings *on screen* (pdf output is fine) the same way it
  formats all other section headings, that is:

  counter space chapter title

  instead of the standard formatting for the book class(es):

  Chapter counter
  chapter title

 Why don't you do it the normal way, i.e. like the standard classes and
 KOMA script: skip the chapter level in article class and restrict it to
 section, subsection, subsub...


Well, because the normal way is actually not normal to my working habits.
I use memoir for everything regardless of the pieces' lengths and it's
actually easier for me to deal with  a consistent set of environments
without having to stop and think about whether I am using a book-like or an
article-like class. I think of headings as level 0, level 1, etcetera,
and I am happy to leave the proper formatting to a customized class that I
can switch at will.
Admittedly, this is not a standard Latex workflow, but it works for me.

Cheers,

Stefano

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

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


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

2013-06-09 Thread Ray Rashif
On 9 June 2013 23:32, stefano franchi stefano.fran...@gmail.com wrote:




 On Sun, Jun 9, 2013 at 9:36 AM, Steve Litt sl...@troubleshooters.comwrote:


 So, when he comes back and asks that, it would be *wonderful* to give
 the writer's list one or more best seller books (I think something with
 an Amazon rank of less than 5000 would do it), to refute his statement,
 by counterexample.



 I'm willing to bet you won't find such an example. The reason is simple:
 more or less by definition a best-seller is book produced by a major
 commercial publishing house supported by a consistent marketing effort,
 heavily edited by a professional editor and laid out by a (team of )
 typesetters according to a carefully designed house-specific graphic design
 project. The writer is just one element of the whole operation and she must
 use tools everyone else uses (or tools that produce output everyone else
 can use and viceversa). That means the writer must use microsoft word or
 word-compatible software, because that the format the editor will expect,
 and the doc format is what the typesetter wants when the text is inputted
 into InDesign.
 LyX just does not fit that scenario---unless everyone else moves to LyX
 and the typesetters switch to LaTeX. It's not going to happen.

 The exception is scientific publishing (Springer comes to mind), where,
 until not too long ago, many publishers had embraced Latex typesetting, and
 therefore made fitting LyX into their process relatively easy.

 But if by best-sellers you mean the kind of books listed on the NYTimes,
 then I'm afraid LyX won't have much of a chance.

 Then again, I'm a pessimist by nature.


I'm not much of a pessimist, but I would agree with this. Unless we we
survey the tools used by self-published bestsellers [1], we'll lose this
debate.

Traditional publishing generally means submitting a proposal, a manuscript
and then getting an advance -- no where in there do I see an incentive to
go out of your way to do anything but write.

Now, if there were publishing houses using open-source tools, I wouldn't
know, but that would be really cool.

[1] http://www.amazon.com/Self-Published-Bestsellers/lm/R2UHB9O6LWN1QI

--
GPG/PGP ID: C0711BF1


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

2013-06-09 Thread Steve Litt
On Sun, 09 Jun 2013 10:48:40 -0400
Richard Heck rgh...@lyx.org wrote:

 
 Sorry to top post, but I rather suspect that plenty of authors use
 other open source programs, like LibreOffice. The truth is that, for
 most writing that would produce best-sellers, you could just as soon
 use Notepad, or a typewriter. The sophisticated features available
 with a program like LyX, or SWP, won't help that much.

OK, let's broaden my question to what best sellers have been written
in ANY Open Source software, even Vim?

I just really need some counterexamples to throw up once the inevitable
bullying starts.

 
 That said, one wonders what axe this person has to grind.
 

That was the exact question that came to my mind.


 
 On 06/09/2013 10:36 AM, 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.
  ===


SteveT

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


Re: Document class missing after installation

2013-06-09 Thread Julien Rioux

On 07/06/2013 3:18 PM, Y.A. Sharif wrote:








Dear Rubin
Thank you very much for your quick reply. I am sorry for the delayed
response to your email. I went step by step according to your suggestions.
1. I could not find any configure.log file under
C:\users\...\Roaming\LyX 2.0. There was only one folder named cache
and a file outside the folder named session.
2.I tried to run configuration script in DOS windows: C:\Program
Files(x86)\LyX20\Python\Python.exe , this one did not show any error.
But when I ran the other one with configure.py it showed the following
messages:
File C:\Program Files (x86)\LyX 2.0\Resources\configure.py, line 11,
in , module
import  sys, os, re , shutil, glob, logging, subprocess
File C:\python25\lib\subprocess.py, line375, inmodule
import threading
File C:\python25\lib\threading.py, line 13, in module
from collections import deque
Import error: No module named collections

I again apologize for being little late to reply to the group and rubin.

I really appreciate your help and time.

Thank you very much.

Regards
Sharif


*From:* Paul A. Rubin ru...@msu.edu
*To:* Y.A. Sharif yasha...@yahoo.com
*Sent:* Friday, June 7, 2013 9:37 AM
*Subject:* Re: Document class missing after installation

Y.A.,

LyX creates a user directory for you, where it stores your preferences
and other local files. On my Windows 7 partition, the user directory
is C:\Users\Paul\AppData\Roaming\LyX2.0. If you have trouble finding it,
Help  About LyX should point you to it.

In that directory, there should be a text file named configure.log. (If
not, keep reading, I'll get to that case.) It's generated when the
Python configuration script runs. (This is script is both run at
installation and when you click Tools  Reconfigure in LyX.) In it, you
should see lines like the following:

INFO: checking for a Latex2e program...
INFO: +checking for latex...  yes
INFO: checking for a DVI postprocessing program...
INFO: +checking for pplatex...  yes

and eventually

INFO: checking for the pdflatex program...
INFO: +checking for pdflatex...  yes

If they read no, it means LyX failed to detect MiKTeX for some reason.
I've seen this happen when the user had Cygwin installed, for instance.
I don't know if it is still true, but Cygwin used to come with a broken
copy of LaTeX, and if Cygwin was in front of MiKTeX on the system
command path, LyX would test the Cygwin version of latex.exe and
conclude that there was no working LaTeX compiler on the system.

If the log shows that LyX found MiKTeX ('yes' responses), go back to a
DOS prompt and run 'kpsewhich article.cls' (if the article class is
missing according to LyX) and make sure that MiKTeX finds it. If that
looks correct, or if the log file is missing, then I suggest you cd to
your LyX user directory and run the configuration script in a DOS
window. The command line will look something like the following
(allowing for the possibility that your installation path is different):

C:\Program Files (x86)\LyX20\Python\python.exe C:\Program Files
(x86)\LyX20\Resources\configure.py

See if any error messages appear.

Paul

On 06/06/2013 06:44 PM, Y.A. Sharif wrote:


Thankk you Paul for your reply.
I have checked according to your suggestion. It shows in DOS prmopt
:this is pdfTeX, Version 3.14-...-1.40.13MiKTeX 2.9
But I could not understand your 2nd paragraph. Do you want me to check
the log generated by lyx ? Little confused, could you explain little more.
Thank you.


Y.A.Sharif



*From:* Paul Rubin ru...@msu.edu mailto:ru...@msu.edu
*To:* lyx-users@lists.lyx.org mailto:lyx-us...@lists..lyx.org
*Sent:* Thursday, June 6, 2013 3:11 PM
*Subject:* Re: Document class missing after installation

Is the MiKTeX bin directory on your system path? Can you run latex
--version
at a DOS prompt (without supplying a path to MiKTeX) and get a response
with a plausible version date?

If yes, take a look at the log generated by the installer (should be
in your user directory, I think) and see if it found a LaTeX installation.
You might want to publish the log to the list.

Paul












This looks to me like http://www.lyx.org/trac/ticket/8691 again.

--
Julien



Re: Simple HTML converter/export

2013-06-09 Thread Bob Alvarez

 This will NOT be YAHC (Yet Another HTML Converter). It will be a small
 subset of LyX's capabilities, purposed not to turn a document into HTML,
 but to turn LyX into a quick to use HTML authoring tool for HTML web pages.
 It will in no way try to replace the existing HTML Converters, and from
 what I've seen so far, the existing HTML converters would have a hard time
 replacing what I'm trying to make.


Let me state my interest in this topic to see if it overlaps with yours. I
agree that HTML exporters like Alex Fernandez' eLyXer do a great job of
producing web pages that look like pdf documents. What I would want is to
be able to add some capabilities to the HTML that would not be possible in
a static format like pdf. But at the same time, I want to use Lyx's
capabilities for formatting the document and math typesetting.

As an example, I use Lyx to create web pages with a lot of math. Like most
math, it is structured with general statements like theorems with proofs.
Many times, the proof gets in the way of the narrative although it is
important for it to be there if the reader wants to see it. I saw a website
where they added a + sign gadget that if you click it once displays the
proof and then clicking it again hides it.

This is relatively easy to do using the javascript openClose function
http://javascriptsource.com/miscellaneous/collapsible-text.html

Alex suggested a way to do this that, if I understand it correctly,
requires editing the HTML output. I would be interested in extensions to
Lyx that would allow me to add features like these but at the same time be
able to export standard pdf documents.

If there is some commonality of our interests, perhaps the Lyx experts can
suggest a way to enhance Lyx to be able to do the things we want to do.

Bob


Re: Simple HTML converter/export

2013-06-09 Thread Steve Litt
On Sun, 9 Jun 2013 14:22:32 -0700
Bob Alvarez cobol...@gmail.com wrote:

 
  This will NOT be YAHC (Yet Another HTML Converter). It will be a
  small subset of LyX's capabilities, purposed not to turn a document
  into HTML, but to turn LyX into a quick to use HTML authoring tool
  for HTML web pages. It will in no way try to replace the existing
  HTML Converters, and from what I've seen so far, the existing HTML
  converters would have a hard time replacing what I'm trying to
  make.
 
 
 Let me state my interest in this topic to see if it overlaps with
 yours. I agree that HTML exporters like Alex Fernandez' eLyXer do a
 great job of producing web pages that look like pdf documents. What I
 would want is to be able to add some capabilities to the HTML that
 would not be possible in a static format like pdf. But at the same
 time, I want to use Lyx's capabilities for formatting the document
 and math typesetting.

Hi Bob,

I think our projects are close enough that we'd both benefit from
sharing information, but far enough apart that we'd probably be better
off making them two separate projects. Their intersection is far
smaller than their exclusive-or.

Thanks for pointing out that collapsible text code. That's pretty cool.

SteveT

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


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.
===


SNIP

==
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: Wrong language for theorems/lemma/other amsthm environments

2013-06-09 Thread Georg Baum
Damien Desfontaines wrote:

> Hello,
> 
> Following the advice given by scottksty in the following thread:
> http://tex.stackexchange.com/questions/116462/wrong-names-for-
theorems-lemma-etc-in-lyx
> I am sending a minimal example showing my problem, that is, the name
> of the AMS theorems layouts appear in french in the PDF files produced
> by LyX, even if the language of the document is set to english. I use
> LyX 2.0.3, my user interface is in french, but as you can see in the
> .lyx file, my document's language is english.
> 
> I also attached to this e-mail the .tex file generated by "Export" →
> "LaTeX (pdflatex)", which shows the problem: below the commentary line
> « Textclass specitif LaTeX commands », the thm environment is set with
> a french name:
> 
> \theoremstyle{plain}
> \newtheorem{thm}{Théorème}
> 
> The same thing happens for all other amsthm environments, except,
> strangely, for the proof environment.

This is not the code LyX 2.0.x produces. LyX produces


\theoremstyle{plain}
\newtheorem{thm}{\protect\theoremname}

\makeatother

\usepackage{babel}
\providecommand{\theoremname}{Theorem}


for a single language english document, and for a multi language document 
(english and french) it would additionaly write the following two lines:


  \addto\captionsenglish{\renewcommand{\theoremname}{Theorem}}
  \addto\captionsfrench{\renewcommand{\theoremname}{Théorème}}


Therefore, I guess that you used the translated layout files from 
wiki.lyx.org for 1.6.x (LyX only got native support for layout translations 
in the output with version 2.0.0), and that these layout files are still 
lying around and being used. I guess that the problem will go away if you 
rename ~/.lyx/layouts to ~/.lyx/layouts-tmp and reconfigure. If that helps, 
you can move those layouts back to ~/.lyx/layouts which you want to keep.

> I hope that I have described the problem clearly enough and that my
> example is minimal enough so that you do not waste your time on it.

It is a perfect minimal example, and since you also included the .tex output 
I am pretty sure that it helped to identify the real cause of the problem.


Georg




Re: Info for used branches in slide

2013-06-09 Thread Uwe Ade
Hello,on my way  I reached  partial success:I put \usepackage[absolute,overlay]{textpos}\useoutertheme{infolines}\setbeamertemplate{navigation symbols}{}\newcommand\FrameText[1]{% \begin{textblock*}{\paperwidth}(0pt,\textheight)\raggedleft #1\hspace{.10em}  \end{textblock*}} in the preamble and with the ERT-TAG\FrameText{folie}in the Beamer-Hedline, the word "Folie" appears on every slide on the left down corner.  So i´d like zu change the color of this word, but i found no working solution. To get color work i put \usepackage{color,xcolor,ucs}\usepackage{graphicx}in preamble but\colorbox{red}{\FrameText{folie}}  (%Favorite solution)neither{\textcolor{red}{\FrameText{folie}}works. I got an Error while compiling the documentTheres on small example-file

example.lyx
Description: Binary data
I think i made a very simply fault, but I´am not able to see it. Any ideas?uwe Am 06.06.2013 um 19:38 schrieb Uwe Ade :Hello I uses beamer for a presentation with to differnent branches. One Branche is the presentation which the Students gets as handouts. It´s the smaller one.The second is my tutor version which more infos. its the bigger one.So the question: Is it possible to put an information in the footnote to whicht branch the shown slide belong (teacherslide or studentslide) ? If this idea doesn´t work are there other opportunities to show to which branche the slide belong, as water mark or something else?thanks uwe 

Anyone know of a best-seller written in LyX

2013-06-09 Thread Steve Litt
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."
===

I already wrote back mocking his position and pointing out that if Open
Source got his undies that tight in a bundle, maybe there's something
interesting there, maybe everyone should try LyX, after all, it's free,
and gave the www.lyx.org URL.

But I can tell you this guy is going to come back and say he's a great
and mighty best selling author, ask how many books have I sold. While
books provide a part of my income, I have no best sellers, either now
or in the past.

So, when he comes back and asks that, it would be *wonderful* to give
the writer's list one or more best seller books (I think something with
an Amazon rank of less than 5000 would do it), to refute his statement,
by counterexample.

I'll say one more thing. A lot of writers seem to be proud of their
technophobia, and say mean and stupid stuff about LyX and other Open
Source. On their behalf, please allow *this* writer to apologize.

And as always, keep up the good work producing a great book writing
software (and perhaps now a web authoring software).

Thanks,

SteveT

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


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

2013-06-09 Thread Richard Heck


Sorry to top post, but I rather suspect that plenty of authors use
other open source programs, like LibreOffice. The truth is that, for
most writing that would produce best-sellers, you could just as soon
use Notepad, or a typewriter. The sophisticated features available
with a program like LyX, or SWP, won't help that much.

That said, one wonders what axe this person has to grind.

Richard


On 06/09/2013 10:36 AM, 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."
===

I already wrote back mocking his position and pointing out that if Open
Source got his undies that tight in a bundle, maybe there's something
interesting there, maybe everyone should try LyX, after all, it's free,
and gave the www.lyx.org URL.

But I can tell you this guy is going to come back and say he's a great
and mighty best selling author, ask how many books have I sold. While
books provide a part of my income, I have no best sellers, either now
or in the past.

So, when he comes back and asks that, it would be *wonderful* to give
the writer's list one or more best seller books (I think something with
an Amazon rank of less than 5000 would do it), to refute his statement,
by counterexample.

I'll say one more thing. A lot of writers seem to be proud of their
technophobia, and say mean and stupid stuff about LyX and other Open
Source. On their behalf, please allow *this* writer to apologize.

And as always, keep up the good work producing a great book writing
software (and perhaps now a web authoring software).

Thanks,

SteveT

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




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

2013-06-09 Thread stefano franchi
On Sun, Jun 9, 2013 at 9:36 AM, Steve Litt wrote:


> So, when he comes back and asks that, it would be *wonderful* to give
> the writer's list one or more best seller books (I think something with
> an Amazon rank of less than 5000 would do it), to refute his statement,
> by counterexample.
>
>

I'm willing to bet you won't find such an example. The reason is simple:
more or less by definition a best-seller is book produced by a major
commercial publishing house supported by a consistent marketing effort,
heavily edited by a professional editor and laid out by a (team of )
typesetters according to a carefully designed house-specific graphic design
project. The writer is just one element of the whole operation and she must
use tools everyone else uses (or tools that produce output everyone else
can use and viceversa). That means the writer must use microsoft word or
word-compatible software, because that the format the editor will expect,
and the doc format is what the typesetter wants when the text is inputted
into InDesign.
LyX just does not fit that scenario---unless everyone else moves to LyX and
the typesetters switch to LaTeX. It's not going to happen.

The exception is scientific publishing (Springer comes to mind), where,
until not too long ago, many publishers had embraced Latex typesetting, and
therefore made fitting LyX into their process relatively easy.

But if by "best-sellers" you mean the kind of books listed on the NYTimes,
then I'm afraid LyX won't have much of a chance.

Then again, I'm a pessimist by nature.

Cheers,

Stefano

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

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


Re: How to remove line break in chapter headings layout?

2013-06-09 Thread Guenter Milde
On 2013-06-08, stefano franchi wrote:

> [-- Type: text/plain, Encoding:  --]

> I use the memoir class for both books and article and I modified the memoir
> layout accordingly to create a "memoir-article" layout. I would like LyX to
> format chapter headings *on screen* (pdf output is fine) the same way it
> formats all other section headings, that is:

> "counter" space "chapter title"

> instead of the standard formatting for the book class(es):

> Chapter "counter"
> "chapter title"

Why don't you do it "the normal way", i.e. like the standard classes and
KOMA script: skip the "chapter" level in "article" class and restrict it to
section, subsection, subsub...

Günter



Re: How to remove line break in chapter headings layout?

2013-06-09 Thread stefano franchi
On Sun, Jun 9, 2013 at 10:50 AM, Guenter Milde  wrote:

> On 2013-06-08, stefano franchi wrote:
>
> > [-- Type: text/plain, Encoding:  --]
>
> > I use the memoir class for both books and article and I modified the
> memoir
> > layout accordingly to create a "memoir-article" layout. I would like LyX
> to
> > format chapter headings *on screen* (pdf output is fine) the same way it
> > formats all other section headings, that is:
>
> > "counter" space "chapter title"
>
> > instead of the standard formatting for the book class(es):
>
> > Chapter "counter"
> > "chapter title"
>
> Why don't you do it "the normal way", i.e. like the standard classes and
> KOMA script: skip the "chapter" level in "article" class and restrict it to
> section, subsection, subsub...
>
>
Well, because the "normal way" is actually not normal to my working habits.
I use memoir for everything regardless of the pieces' lengths and it's
actually easier for me to deal with  a consistent set of environments
without having to stop and think about whether I am using a book-like or an
article-like class. I think of headings as "level 0," "level 1," etcetera,
and I am happy to leave the proper formatting to a customized class that I
can switch at will.
Admittedly, this is not a standard Latex workflow, but it works for me.

Cheers,

Stefano

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

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


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

2013-06-09 Thread Ray Rashif
On 9 June 2013 23:32, stefano franchi  wrote:

>
>
>
> On Sun, Jun 9, 2013 at 9:36 AM, Steve Litt wrote:
>
>
>> So, when he comes back and asks that, it would be *wonderful* to give
>> the writer's list one or more best seller books (I think something with
>> an Amazon rank of less than 5000 would do it), to refute his statement,
>> by counterexample.
>>
>>
>
> I'm willing to bet you won't find such an example. The reason is simple:
> more or less by definition a best-seller is book produced by a major
> commercial publishing house supported by a consistent marketing effort,
> heavily edited by a professional editor and laid out by a (team of )
> typesetters according to a carefully designed house-specific graphic design
> project. The writer is just one element of the whole operation and she must
> use tools everyone else uses (or tools that produce output everyone else
> can use and viceversa). That means the writer must use microsoft word or
> word-compatible software, because that the format the editor will expect,
> and the doc format is what the typesetter wants when the text is inputted
> into InDesign.
> LyX just does not fit that scenario---unless everyone else moves to LyX
> and the typesetters switch to LaTeX. It's not going to happen.
>
> The exception is scientific publishing (Springer comes to mind), where,
> until not too long ago, many publishers had embraced Latex typesetting, and
> therefore made fitting LyX into their process relatively easy.
>
> But if by "best-sellers" you mean the kind of books listed on the NYTimes,
> then I'm afraid LyX won't have much of a chance.
>
> Then again, I'm a pessimist by nature.
>

I'm not much of a pessimist, but I would agree with this. Unless we we
survey the tools used by self-published bestsellers [1], we'll lose this
debate.

Traditional publishing generally means submitting a proposal, a manuscript
and then getting an advance -- no where in there do I see an incentive to
go out of your way to do anything but write.

Now, if there were publishing houses using open-source tools, I wouldn't
know, but that would be really cool.

[1] http://www.amazon.com/Self-Published-Bestsellers/lm/R2UHB9O6LWN1QI

--
GPG/PGP ID: C0711BF1


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

2013-06-09 Thread Steve Litt
On Sun, 09 Jun 2013 10:48:40 -0400
Richard Heck  wrote:

> 
> Sorry to top post, but I rather suspect that plenty of authors use
> other open source programs, like LibreOffice. The truth is that, for
> most writing that would produce best-sellers, you could just as soon
> use Notepad, or a typewriter. The sophisticated features available
> with a program like LyX, or SWP, won't help that much.

OK, let's broaden my question to "what best sellers have been written
in ANY Open Source software, even Vim?"

I just really need some counterexamples to throw up once the inevitable
bullying starts.

> 
> That said, one wonders what axe this person has to grind.
> 

That was the exact question that came to my mind.


> 
> On 06/09/2013 10:36 AM, 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."
> > ===


SteveT

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


Re: Document class missing after installation

2013-06-09 Thread Julien Rioux

On 07/06/2013 3:18 PM, Y.A. Sharif wrote:








Dear Rubin
Thank you very much for your quick reply. I am sorry for the delayed
response to your email. I went step by step according to your suggestions.
1. I could not find any configure.log file under
C:\users\...\Roaming\LyX 2.0. There was only one folder named "cache"
and a file outside the folder named "session".
2.I tried to run configuration script in DOS windows: C:\Program
Files(x86)\LyX20\Python\Python.exe , this one did not show any error.
But when I ran the other one with configure.py it showed the following
messages:
File "C:\Program Files (x86)\LyX 2.0\Resources\configure.py", line 11,
in , 
import  sys, os, re , shutil, glob, logging, subprocess
File "C:\python25\lib\subprocess.py", line375, in
import threading
File "C:\python25\lib\threading.py", line 13, in 
from collections import deque
Import error: No module named collections

I again apologize for being little late to reply to the group and rubin.

I really appreciate your help and time.

Thank you very much.

Regards
Sharif


*From:* Paul A. Rubin 
*To:* Y.A. Sharif 
*Sent:* Friday, June 7, 2013 9:37 AM
*Subject:* Re: Document class missing after installation

Y.A.,

LyX creates a user directory for you, where it stores your preferences
and other "local" files. On my Windows 7 partition, the user directory
is C:\Users\Paul\AppData\Roaming\LyX2.0. If you have trouble finding it,
Help > About LyX should point you to it.

In that directory, there should be a text file named configure.log. (If
not, keep reading, I'll get to that case.) It's generated when the
Python configuration script runs. (This is script is both run at
installation and when you click Tools > Reconfigure in LyX.) In it, you
should see lines like the following:

INFO: checking for a Latex2e program...
INFO: +checking for "latex"...  yes
INFO: checking for a DVI postprocessing program...
INFO: +checking for "pplatex"...  yes

and eventually

INFO: checking for the pdflatex program...
INFO: +checking for "pdflatex"...  yes

If they read "no", it means LyX failed to detect MiKTeX for some reason.
I've seen this happen when the user had Cygwin installed, for instance.
I don't know if it is still true, but Cygwin used to come with a broken
copy of LaTeX, and if Cygwin was in front of MiKTeX on the system
command path, LyX would test the Cygwin version of latex.exe and
conclude that there was no working LaTeX compiler on the system.

If the log shows that LyX found MiKTeX ('yes' responses), go back to a
DOS prompt and run 'kpsewhich article.cls' (if the article class is
"missing" according to LyX) and make sure that MiKTeX finds it. If that
looks correct, or if the log file is missing, then I suggest you cd to
your LyX user directory and run the configuration script in a DOS
window. The command line will look something like the following
(allowing for the possibility that your installation path is different):

"C:\Program Files (x86)\LyX20\Python\python.exe" "C:\Program Files
(x86)\LyX20\Resources\configure.py"

See if any error messages appear.

Paul

On 06/06/2013 06:44 PM, Y.A. Sharif wrote:


Thankk you Paul for your reply.
I have checked according to your suggestion. It shows in DOS prmopt
:"this is pdfTeX, Version 3.14-...-1.40.13
But I could not understand your 2nd paragraph. Do you want me to check
the log generated by lyx ? Little confused, could you explain little more.
Thank you.


Y.A.Sharif



*From:* Paul Rubin  
*To:* lyx-users@lists.lyx.org 
*Sent:* Thursday, June 6, 2013 3:11 PM
*Subject:* Re: Document class missing after installation

Is the MiKTeX bin directory on your system path? Can you run "latex
--version"
at a DOS prompt (without supplying a path to MiKTeX) and get a response
with a plausible version date?

If yes, take a look at the log generated by the installer (should be
in your user directory, I think) and see if it found a LaTeX installation.
You might want to publish the log to the list.

Paul












This looks to me like http://www.lyx.org/trac/ticket/8691 again.

--
Julien



Re: Simple HTML converter/export

2013-06-09 Thread Bob Alvarez
>
> "This will NOT be YAHC (Yet Another HTML Converter). It will be a small
> subset of LyX's capabilities, purposed not to turn a document into HTML,
> but to turn LyX into a quick to use HTML authoring tool for HTML web pages.
> It will in no way try to replace the existing HTML Converters, and from
> what I've seen so far, the existing HTML converters would have a hard time
> replacing what I'm trying to make."
>

Let me state my interest in this topic to see if it overlaps with yours. I
agree that HTML exporters like Alex Fernandez' eLyXer do a great job of
producing web pages that look like pdf documents. What I would want is to
be able to add some capabilities to the HTML that would not be possible in
a static format like pdf. But at the same time, I want to use Lyx's
capabilities for formatting the document and math typesetting.

As an example, I use Lyx to create web pages with a lot of math. Like most
math, it is structured with general statements like theorems with proofs.
Many times, the proof gets in the way of the narrative although it is
important for it to be there if the reader wants to see it. I saw a website
where they added a + sign gadget that if you click it once displays the
proof and then clicking it again hides it.

This is relatively easy to do using the javascript openClose function
http://javascriptsource.com/miscellaneous/collapsible-text.html

Alex suggested a way to do this that, if I understand it correctly,
requires editing the HTML output. I would be interested in extensions to
Lyx that would allow me to add features like these but at the same time be
able to export standard pdf documents.

If there is some commonality of our interests, perhaps the Lyx experts can
suggest a way to enhance Lyx to be able to do the things we want to do.

Bob


Re: Simple HTML converter/export

2013-06-09 Thread Steve Litt
On Sun, 9 Jun 2013 14:22:32 -0700
Bob Alvarez  wrote:

> >
> > "This will NOT be YAHC (Yet Another HTML Converter). It will be a
> > small subset of LyX's capabilities, purposed not to turn a document
> > into HTML, but to turn LyX into a quick to use HTML authoring tool
> > for HTML web pages. It will in no way try to replace the existing
> > HTML Converters, and from what I've seen so far, the existing HTML
> > converters would have a hard time replacing what I'm trying to
> > make."
> >
> 
> Let me state my interest in this topic to see if it overlaps with
> yours. I agree that HTML exporters like Alex Fernandez' eLyXer do a
> great job of producing web pages that look like pdf documents. What I
> would want is to be able to add some capabilities to the HTML that
> would not be possible in a static format like pdf. But at the same
> time, I want to use Lyx's capabilities for formatting the document
> and math typesetting.

Hi Bob,

I think our projects are close enough that we'd both benefit from
sharing information, but far enough apart that we'd probably be better
off making them two separate projects. Their intersection is far
smaller than their exclusive-or.

Thanks for pointing out that collapsible text code. That's pretty cool.

SteveT

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


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