Re: Why do YOU love LyX?

2012-02-20 Thread Olivier Ripoll

On 18.02.2012 12:28, Russell D Brunelle wrote:

If you have a good idea, then there's something special (I'm almost
tempted to say sacred) about committing it to paper.

The emergence of abstract thinking was an early inflection point in the
development of our species. The invention of written language was
another. The invention of the printing press was yet another.

More recently, LaTeX made professional typesetting standards available
for free, and even more recently LyX made using those standards as easy
as using anything else.

I'm not saying that LyX is as significant as the printing press, only
that there's an unbroken stream of progress which it's a proud part of,
and for that reason I feel proud about using it.

So, why do YOU love LyX?

Russell


Hi,

1- Stability and reliability: It crashed few times on me (once in 2001, 
but it was X, not LyX itself, that had crashed, and some times with some 
1.6 or 1.5 alphas around 2006) but I never lost anything IIRC.


2- Focus on content: In a world where most think that appearance is more 
important that content, a software allowing you to concentrate on the 
content is precious.


3- Mix of WYSIWIG and WYSIWYM: you benefit from the best of both worlds, 
and get little of their drawbacks.


4- Community: It's by far the best developer ( user) community I've 
seen. There can be discussions on some features or implementations, but 
there are usually much more civil than in other soft. Probably related 
to the philosophy of point 2 above.


BR,

Olivier



Re: lyx archive error

2012-02-20 Thread Enrico Forestieri
On Fri, Feb 17, 2012 at 04:49:58PM +0100, Pavel Sanda wrote:

 Waluyo Adi Siswanto wrote:
  I have found the cause. It could be a bug?
  ANY file using SPACE in its filename will fail to export archive.
  I tried in Ubuntu 11.10 and Windows 7, both fail.
 
 Yes, the problem is due to spacing in path. Enrico may know whether
 is it easy to fix..

The lyxpak.py script has no problem with spaces in filenames. It is LyX
that is passing a mangled filename. Specifically, LyX calls lyxpak.py
using the mangled name meant for latex processing in the temporary dir.

The attached patch fixes the problem for me.

-- 
Enrico
Index: src/Converter.cpp
===
--- src/Converter.cpp   (revisione 40771)
+++ src/Converter.cpp   (copia locale)
@@ -50,6 +50,7 @@ string const token_base($$b);
 string const token_to($$o);
 string const token_path($$p);
 string const token_orig_path($$r);
+string const token_orig_from($$f);
 string const token_encoding($$e);
 string const token_latex_encoding($$E);
 
@@ -412,6 +413,7 @@ bool Converters::convert(Buffer const *
command = subst(command, token_to, quoteName(outfile2));
command = subst(command, token_path, 
quoteName(onlyPath(infile.absFileName(;
command = subst(command, token_orig_path, 
quoteName(onlyPath(orig_from.absFileName(;
+   command = subst(command, token_orig_from, 
quoteName(onlyFileName(orig_from.absFileName(;
command = subst(command, token_encoding, buffer ? 
buffer-params().encoding().iconvName() : string());
command = libScriptSearch(command);
 
Index: lib/configure.py
===
--- lib/configure.py(revisione 40771)
+++ lib/configure.py(copia locale)
@@ -920,7 +920,7 @@ def checkConverterEntries():
 # Currently, lyxpak outputs a gzip compressed tar archive on *nix
 # and a zip archive on Windows.
 # So, we configure the appropriate version according to the platform.
-cmd = r'\converter lyx %s python -tt $$s/scripts/lyxpak.py $$r/$$i '
+cmd = r'\converter lyx %s python -tt $$s/scripts/lyxpak.py $$r/$$f '
 if os.name == 'nt':
 addToRC(r'\Format lyxzip zipLyX Archive (zip) 
document,menu=export')
 addToRC(cmd % lyxzip)


Re: Bibliography heading stranded

2012-02-20 Thread Eric Weir

On Feb 18, 2012, at 2:40 AM, Jürgen Spitzmüller wrote:

 My experience is that with the below penalty changes, such overfull boxes 
 never appear:
  
 \tolerance 1414
 \hbadness 1414
 \emergencystretch 1.5em
 \hfuzz 0.3pt
  
 Furthermore
  
 \usepackage{microtype}


More questions about this, Jürgen. You said you use these routinely. Where 
should I put them? In the lyx preamble? And does the routine use apply to 
\usepackage{microtype}?

I my most recent compile of the document Stefano's been helping me with I have 
a bunch of characters outside the right margin, some in which there's an 
obvious hyphenation that could've been done. 

Thanks,
--
Eric Weir
eew...@bellsouth.net
Decatur, GA  USA

Whatever you can do, or dream you can, begin it. 
Boldness has genius, power and magic in it.  

- Johann Wolfgang von Goethe



How to set off a subsection without using a heading

2012-02-20 Thread Eric Weir

In one section of an article I'm working on I have several subsections that I 
want to call attention to without using headings. Currently I'm using a 
centered 3 line between subsections. I don't like the look. It's too 
intrusive. 

One possibility would be to add an extra line between subsections, but I think 
I'd like to give the break a little more emphasis than that.

Any suggestions?

Thanks,
--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Why is the view other formats button greyed-out?

2012-02-20 Thread Eric Weir

I have been compiling for printing with xetex. After the first use, the view 
other formats button on the toolbar is greyed-out, and I have to go to the 
menu to get access to the command--actually, to a submenu. The button would be 
so much easier. The view pdflatex button is recyclable. Why not the other 
formats button?

Thanks,
--
Eric Weir
eew...@bellsouth.net

Human coexistence and social life constitute the good common to us all 
from which and thanks to which all cultural and social goods derive. 

- Zygmunt Bauman



Re: How to set off a subsection without using a heading

2012-02-20 Thread Steve Litt
On Mon, 20 Feb 2012 08:21:02 -0500
Eric Weir eew...@bellsouth.net wrote:

 
 In one section of an article I'm working on I have several
 subsections that I want to call attention to without using headings.

On a structured document, I'd think long and hard about using
subsections without parent sections. That's just not right. It
misrepresents the document's structure, and confuses appearance with
structure.

If you want to call attention, make a new environment called
callattention and use that.


 Currently I'm using a centered 3 line between subsections. I don't
 like the look. It's too intrusive. 
 
 One possibility would be to add an extra line between subsections,
 but I think I'd like to give the break a little more emphasis than
 that.

The prior two paragraphs don't really say exactly what you're doing. Do
you mean the line is under the text below the (wrongly used)
subsection, or something else?

 
 Any suggestions?

Use/create environments and character styles that truly represent their
meaning -- don't use environments made for other purposes just because
they happen to look pretty good in the situation.

SteveT


Re: How to set off a subsection without using a heading

2012-02-20 Thread Alex Vergara Gil

Eric

  --I don't like the look. It's too intrusive.
Can you send a short example file to see what is your problem

Anyway I use to format a specific line as bold with bigger text size 
when I want an emphasis on a line which I don't want to set up as 
subchapter.


Saludos
~-o--{}--o-~
Alex Vergara Gil
MSc. Física Nuclear
Laboratorio Secundario de Calibración Dosimétrica
Centro de Protección e Higiene de las Radiaciones
Calle No. 4113 e/ 41 y 47  Playa, C de la Habana
C.P.11300 La Habana, Cuba
Dirección postal A.P.6195 C.P.10600
Telf: (537)6829681, (537)6821803
Fax: (537)2030165


El 20/02/2012 07:21 a.m., Eric Weir escribió:

In one section of an article I'm working on I have several subsections that I want 
to call attention to without using headings. Currently I'm using a centered 3 
line between subsections. I don't like the look. It's too intrusive.

One possibility would be to add an extra line between subsections, but I think 
I'd like to give the break a little more emphasis than that.

Any suggestions?

Thanks,
--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net









Re: Bibliography heading stranded

2012-02-20 Thread Jürgen Spitzmüller
Eric Weir wrote:
 More questions about this, Jürgen. You said you use these routinely. Where
 should I put them? In the lyx preamble? 

Create a text file mytweaks.tex and put them there. Save the file in your 
local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.

 And does the routine use apply to
 \usepackage{microtype}?

Yes.

Jürgen

Re: Bibliography heading stranded

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 8:43 AM, Jürgen Spitzmüller wrote:

 Eric Weir wrote:
  More questions about this, Jürgen. You said you use these routinely. Where
  should I put them? In the lyx preamble? 
  
 Create a text file mytweaks.tex and put them there. Save the file in your 
 local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.

Thanks, Jürgen.

--
Eric Weir
Decatur, GA 
eew...@bellsouth.net

What does it mean...that the world is so beautiful? 

- Mary Oliver 








Re: How to set off a subsection without using a heading

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 8:38 AM, Steve Litt wrote:

 On Mon, 20 Feb 2012 08:21:02 -0500
 Eric Weir eew...@bellsouth.net wrote:
 
 In one section of an article I'm working on I have several
 subsections that I want to call attention to without using headings.
 
 On a structured document, I'd think long and hard about using
 subsections without parent sections. That's just not right. It
 misrepresents the document's structure, and confuses appearance with
 structure.

They are subsections of a parent section. I just don't want to give headings to 
them. The break in the flow of exposition and argument is not that severe.

 Currently I'm using a centered 3 line between subsections. I don't
 like the look. It's too intrusive. 
 
 One possibility would be to add an extra line between subsections,
 but I think I'd like to give the break a little more emphasis than
 that.
 
 The prior two paragraphs don't really say exactly what you're doing. Do
 you mean the line is under the text below the (wrongly used)
 subsection, or something else?

What I mean is that on a line between two subsections there appears a centered 
3 long line.

 Any suggestions?
 
 Use/create environments and character styles that truly represent their
 meaning -- don't use environments made for other purposes just because
 they happen to look pretty good in the situation.

Not being argumentative. I'm genuinely curious. Not what I'm doing in this 
case, but have done in others--my title is assigned the section environment, 
because that makes it look like I want it to look and puts it where I want 
it--but why not use an environment made for one purpose for another purpose if 
it serves that purpose? [Probably have just committed total, unforgivable lyx 
heresy there. ;-)]

That aside, the suggestion is well-taken--at this point at least when there is 
no environment that suits my purpose. I'm newbie enough, though, that it's 
something I will need to study up on.

Thanks,
--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Re: How to set off a subsection without using a heading

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 9:40 AM, Alex Vergara Gil wrote:

  --I don't like the look. It's too intrusive.
 Can you send a short example file to see what is your problem

Thanks, Alex. Attached is the section with subsections set off by the the 3 
centered line.
 
 Anyway I use to format a specific line as bold with bigger text size when I 
 want an emphasis on a line which I don't want to set up as subchapter.

My sense is that that would set them apart more than I want to. Almost like 
giving them headings.

--
Eric Weir
Decatur, GA
eew...@bellsouth.net

A man should be in the world as though he were not in it 
so that it will be no worse because of his life. 

- Wendell Berry 



Re: Bibliography heading stranded

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 8:43 AM, Jürgen Spitzmüller wrote:

 Eric Weir wrote:
  More questions about this, Jürgen. You said you use these routinely. Where
  should I put them? In the lyx preamble? 
  
 Create a text file mytweaks.tex and put them there. Save the file in your 
 local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.

I put it in: /usr/local/texlive/2011/texmf. Is that right?

--
Eric Weir
eew...@bellsouth.net

Human coexistence and social life constitute the good common to us all 
from which and thanks to which all cultural and social goods derive. 

- Zygmunt Bauman



Re: Bibliography heading stranded

2012-02-20 Thread stefano franchi
On Mon, Feb 20, 2012 at 8:56 AM, Eric Weir eew...@bellsouth.net wrote:

 On Feb 20, 2012, at 8:43 AM, Jürgen Spitzmüller wrote:

 Eric Weir wrote:
 More questions about this, Jürgen. You said you use these routinely. Where
 should I put them? In the lyx preamble?



 Create a text file mytweaks.tex and put them there. Save the file in your
 local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.


 I put it in: /usr/local/texlive/2011/texmf. Is that right?

Actually, that would be the main distribution tree. The local TEXMF
tree would normally be under your user directory. On linux it is
usually ~/texmf, on the mac I suspect it probably is ~/Library/texmf
or perhaps ~/Application Support/texmf. Mac people would know more.
As a general rule, it is always better to put your personal additions
to the tex collection in your lcal tree. That way they will not be
overrun/erased/forgotten when you update texlive.


Cheers,

S.



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

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


Re: Bibliography heading stranded

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 10:05 AM, stefano franchi wrote:

 On Mon, Feb 20, 2012 at 8:56 AM, Eric Weir eew...@bellsouth.net wrote:
 
 On Feb 20, 2012, at 8:43 AM, Jürgen Spitzmüller wrote:
 
 Create a text file mytweaks.tex and put them there. Save the file in your
 local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.
 
 
 I put it in: /usr/local/texlive/2011/texmf. Is that right?
 
 Actually, that would be the main distribution tree. The local TEXMF
 tree would normally be under your user directory. On linux it is
 usually ~/texmf, on the mac I suspect it probably is ~/Library/texmf
 or perhaps ~/Application Support/texmf. Mac people would know more.
 As a general rule, it is always better to put your personal additions
 to the tex collection in your lcal tree. That way they will not be
 overrun/erased/forgotten when you update texlive.

Thanks, Stefano. I moved it to: ~/library/texmf. Or should it go in: 
~/library/texmf/tex/latex?

--
Eric Weir
Decatur, GA
eew...@bellsouth.net

A man should be in the world as though he were not in it 
so that it will be no worse because of his life. 

- Wendell Berry 



Re: Recommended third-party tools

2012-02-20 Thread Pavel Sanda
Russell D Brunelle wrote:
 left out.  I don't consider myself a LyX expert, but I do believe there is 
 a need for something like this, and I gave this my best shot in the hopes 
 of getting the ball rolling.

You may want to check http://www.lyx.org/AdditionalSoftware

Yihui Xie wrote:
 The topic of the original post is too broad for me to comment on, but
 if it comes down to statistical computing and graphics, I certainly
 recommend R. Here are some sample documents created in LyX with R
 literate programming modules:
 
 https://github.com/downloads/yihui/lyx/sweave.pdf
 https://github.com/downloads/yihui/knitr/knitr-manual.pdf
 https://github.com/downloads/yihui/knitr/knitr-graphics.pdf


Our description currently says:
Sweave - literate programming. Tool that allows to embed the R code for 
complete data analyses in latex documents. 

Is there something new to be added WRT knitr (is it beyond beta state)?

Pavel


LyZ, the Zotero plugin for LyX

2012-02-20 Thread Eric Weir

Just discovered this by accident. Anyone here have experience with it? 

--
Eric Weir
eew...@bellsouth.net

Human coexistence and social life constitute the good common to us all 
from which and thanks to which all cultural and social goods derive. 

- Zygmunt Bauman



Re: LyZ, the Zotero plugin for LyX

2012-02-20 Thread Francisco J . Ruiz-Ruano Campaña
I have installed and tried this extension and it is very useful. In the
next link I explain how to use it (in spanish).

http://bioinformatiquillo.wordpress.com/2011/09/02/lyz-lyx-zotero-por-fin-juntos-para-gestionar-tu-bibliografia/

On Mon, Feb 20, 2012 at 9:07 PM, Eric Weir eew...@bellsouth.net wrote:


 Just discovered this by accident. Anyone here have experience with it?


 --
  Eric Weir
 eew...@bellsouth.net

 Human coexistence and social life constitute the good common to us all
 from which and thanks to which all cultural and social goods derive.

 - Zygmunt Bauman




-- 
Más allá de la confusión, persiste la duda.


Re: Why is the view other formats button greyed-out?

2012-02-20 Thread Richard Heck

On 02/20/2012 08:25 AM, Eric Weir wrote:


I have been compiling for printing with xetex. After the first use, 
the view other formats button on the toolbar is greyed-out, and I 
have to go to the menu to get access to the command--actually, to a 
submenu. The button would be so much easier. The view pdflatex 
button is recyclable. Why not the other formats button?


I think this is a bug that has previously been reported, but I can't 
remember if it's been fixed. Please check 2.0.3 when it is out, and if 
it's still there report it on trac.


Richard



Re: Bibliography heading stranded

2012-02-20 Thread Richard Heck

On 02/20/2012 10:21 AM, Eric Weir wrote:

On Feb 20, 2012, at 10:05 AM, stefano franchi wrote:


On Mon, Feb 20, 2012 at 8:56 AM, Eric Weireew...@bellsouth.net  wrote:

On Feb 20, 2012, at 8:43 AM, Jürgen Spitzmüller wrote:

Create a text file mytweaks.tex and put them there. Save the file in your
local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.


I put it in: /usr/local/texlive/2011/texmf. Is that right?

Actually, that would be the main distribution tree. The local TEXMF
tree would normally be under your user directory. On linux it is
usually ~/texmf, on the mac I suspect it probably is ~/Library/texmf
or perhaps ~/Application Support/texmf. Mac people would know more.
As a general rule, it is always better to put your personal additions
to the tex collection in your lcal tree. That way they will not be
overrun/erased/forgotten when you update texlive.

Thanks, Stefano. I moved it to: ~/library/texmf. Or should it go in: 
~/library/texmf/tex/latex?

The latter. It's a general rule that your local tree should look like 
the main tree, and that means that LaTeX packages go under tex/latex/.


Richard



Re: Recommended third-party tools

2012-02-20 Thread Yihui Xie
Yes, knitr is beyond beta state now. I appreciate if someone can add a
description item below Sweave:

dt a href=http://yihui.name/knitr/; class=urllinkknitr/a -
literate programming./dtdd A comprehensive R package derived from
Sweave with a different design that includes code formatting,
highlighting, caching, fine control of graphics, conditional
evaluation, multiple markup formats and other features. div
class=vspace//dd

Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Mon, Feb 20, 2012 at 12:24 PM, Pavel Sanda sa...@lyx.org wrote:
 Russell D Brunelle wrote:
 left out.  I don't consider myself a LyX expert, but I do believe there is
 a need for something like this, and I gave this my best shot in the hopes
 of getting the ball rolling.

 You may want to check http://www.lyx.org/AdditionalSoftware

 Yihui Xie wrote:
 The topic of the original post is too broad for me to comment on, but
 if it comes down to statistical computing and graphics, I certainly
 recommend R. Here are some sample documents created in LyX with R
 literate programming modules:

 https://github.com/downloads/yihui/lyx/sweave.pdf
 https://github.com/downloads/yihui/knitr/knitr-manual.pdf
 https://github.com/downloads/yihui/knitr/knitr-graphics.pdf


 Our description currently says:
 Sweave - literate programming. Tool that allows to embed the R code for 
 complete data analyses in latex documents.

 Is there something new to be added WRT knitr (is it beyond beta state)?

 Pavel


Re: Bibliography heading stranded

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 11:43 AM, Richard Heck wrote:

 On 02/20/2012 10:21 AM, Eric Weir wrote:
 
 Thanks, Stefano. I moved it to: ~/library/texmf. Or should it go in: 
 ~/library/texmf/tex/latex?
 
 The latter. It's a general rule that your local tree should look like the 
 main tree, and that means that LaTeX packages go under tex/latex/.

Thanks, Richard.

--
Eric Weir
 Clairemont Avenue J3 ~ Decatur, GA 30030
404-636-6142 ~ eew...@bellsouth.net



Re: Why is the view other formats button greyed-out?

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 11:41 AM, Richard Heck wrote:

 On 02/20/2012 08:25 AM, Eric Weir wrote:
 
 I have been compiling for printing with xetex. After the first use, the 
 view other formats button on the toolbar is greyed-out, and I have to go 
 to the menu to get access to the command--actually, to a submenu. The button 
 would be so much easier. The view pdflatex button is recyclable. Why not 
 the other formats button?
 
 I think this is a bug that has previously been reported, but I can't remember 
 if it's been fixed. Please check 2.0.3 when it is out, and if it's still 
 there report it on trac.

Thanks. Will do.

--
Eric Weir
Decatur, GA
eew...@bellsouth.net

A writer is a person for whom writing is more difficult 
than it is for other people. 

- Thomas Mann








Re: bibtex in UTF8 work? How to cancel bibtexkey escape in Lyx?

2012-02-20 Thread baiwensimi

于 2012年02月20日 00:28, Richard Heck 写道:

On 02/18/2012 04:22 AM, baiwensimi wrote:

I found utf8 based bibtex works in XeTeX, even BibtexKey in utf8. But
Lyx did not support it good when cite more than one items. the latex
source code show that the utf8 bibtexkey will be escaped. How can I
cancel this escape?

Please post a small set of sample files that demonstrate the problem.

Richard


Hello, Richard
 Thanks! here is a sample.
Bai Wensimi


test.lyx
Description: application/lyx
@article{一,
		title=1st;
}
@article{二,
		title=2nd;
}


test.pdf
Description: Adobe PDF document


Re: Why do YOU love LyX?

2012-02-20 Thread Olivier Ripoll

On 18.02.2012 12:28, Russell D Brunelle wrote:

If you have a good idea, then there's something special (I'm almost
tempted to say sacred) about committing it to paper.

The emergence of abstract thinking was an early inflection point in the
development of our species. The invention of written language was
another. The invention of the printing press was yet another.

More recently, LaTeX made professional typesetting standards available
for free, and even more recently LyX made using those standards as easy
as using anything else.

I'm not saying that LyX is as significant as the printing press, only
that there's an unbroken stream of progress which it's a proud part of,
and for that reason I feel proud about using it.

So, why do YOU love LyX?

Russell


Hi,

1- Stability and reliability: It crashed few times on me (once in 2001, 
but it was X, not LyX itself, that had crashed, and some times with some 
1.6 or 1.5 alphas around 2006) but I never lost anything IIRC.


2- Focus on content: In a world where most think that appearance is more 
important that content, a software allowing you to concentrate on the 
content is precious.


3- Mix of WYSIWIG and WYSIWYM: you benefit from the best of both worlds, 
and get little of their drawbacks.


4- Community: It's by far the best developer ( user) community I've 
seen. There can be discussions on some features or implementations, but 
there are usually much more civil than in other soft. Probably related 
to the philosophy of point 2 above.


BR,

Olivier



Re: lyx archive error

2012-02-20 Thread Enrico Forestieri
On Fri, Feb 17, 2012 at 04:49:58PM +0100, Pavel Sanda wrote:

 Waluyo Adi Siswanto wrote:
  I have found the cause. It could be a bug?
  ANY file using SPACE in its filename will fail to export archive.
  I tried in Ubuntu 11.10 and Windows 7, both fail.
 
 Yes, the problem is due to spacing in path. Enrico may know whether
 is it easy to fix..

The lyxpak.py script has no problem with spaces in filenames. It is LyX
that is passing a mangled filename. Specifically, LyX calls lyxpak.py
using the mangled name meant for latex processing in the temporary dir.

The attached patch fixes the problem for me.

-- 
Enrico
Index: src/Converter.cpp
===
--- src/Converter.cpp   (revisione 40771)
+++ src/Converter.cpp   (copia locale)
@@ -50,6 +50,7 @@ string const token_base($$b);
 string const token_to($$o);
 string const token_path($$p);
 string const token_orig_path($$r);
+string const token_orig_from($$f);
 string const token_encoding($$e);
 string const token_latex_encoding($$E);
 
@@ -412,6 +413,7 @@ bool Converters::convert(Buffer const *
command = subst(command, token_to, quoteName(outfile2));
command = subst(command, token_path, 
quoteName(onlyPath(infile.absFileName(;
command = subst(command, token_orig_path, 
quoteName(onlyPath(orig_from.absFileName(;
+   command = subst(command, token_orig_from, 
quoteName(onlyFileName(orig_from.absFileName(;
command = subst(command, token_encoding, buffer ? 
buffer-params().encoding().iconvName() : string());
command = libScriptSearch(command);
 
Index: lib/configure.py
===
--- lib/configure.py(revisione 40771)
+++ lib/configure.py(copia locale)
@@ -920,7 +920,7 @@ def checkConverterEntries():
 # Currently, lyxpak outputs a gzip compressed tar archive on *nix
 # and a zip archive on Windows.
 # So, we configure the appropriate version according to the platform.
-cmd = r'\converter lyx %s python -tt $$s/scripts/lyxpak.py $$r/$$i '
+cmd = r'\converter lyx %s python -tt $$s/scripts/lyxpak.py $$r/$$f '
 if os.name == 'nt':
 addToRC(r'\Format lyxzip zipLyX Archive (zip) 
document,menu=export')
 addToRC(cmd % lyxzip)


Re: Bibliography heading stranded

2012-02-20 Thread Eric Weir

On Feb 18, 2012, at 2:40 AM, Jürgen Spitzmüller wrote:

 My experience is that with the below penalty changes, such overfull boxes 
 never appear:
  
 \tolerance 1414
 \hbadness 1414
 \emergencystretch 1.5em
 \hfuzz 0.3pt
  
 Furthermore
  
 \usepackage{microtype}


More questions about this, Jürgen. You said you use these routinely. Where 
should I put them? In the lyx preamble? And does the routine use apply to 
\usepackage{microtype}?

I my most recent compile of the document Stefano's been helping me with I have 
a bunch of characters outside the right margin, some in which there's an 
obvious hyphenation that could've been done. 

Thanks,
--
Eric Weir
eew...@bellsouth.net
Decatur, GA  USA

Whatever you can do, or dream you can, begin it. 
Boldness has genius, power and magic in it.  

- Johann Wolfgang von Goethe



How to set off a subsection without using a heading

2012-02-20 Thread Eric Weir

In one section of an article I'm working on I have several subsections that I 
want to call attention to without using headings. Currently I'm using a 
centered 3 line between subsections. I don't like the look. It's too 
intrusive. 

One possibility would be to add an extra line between subsections, but I think 
I'd like to give the break a little more emphasis than that.

Any suggestions?

Thanks,
--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Why is the view other formats button greyed-out?

2012-02-20 Thread Eric Weir

I have been compiling for printing with xetex. After the first use, the view 
other formats button on the toolbar is greyed-out, and I have to go to the 
menu to get access to the command--actually, to a submenu. The button would be 
so much easier. The view pdflatex button is recyclable. Why not the other 
formats button?

Thanks,
--
Eric Weir
eew...@bellsouth.net

Human coexistence and social life constitute the good common to us all 
from which and thanks to which all cultural and social goods derive. 

- Zygmunt Bauman



Re: How to set off a subsection without using a heading

2012-02-20 Thread Steve Litt
On Mon, 20 Feb 2012 08:21:02 -0500
Eric Weir eew...@bellsouth.net wrote:

 
 In one section of an article I'm working on I have several
 subsections that I want to call attention to without using headings.

On a structured document, I'd think long and hard about using
subsections without parent sections. That's just not right. It
misrepresents the document's structure, and confuses appearance with
structure.

If you want to call attention, make a new environment called
callattention and use that.


 Currently I'm using a centered 3 line between subsections. I don't
 like the look. It's too intrusive. 
 
 One possibility would be to add an extra line between subsections,
 but I think I'd like to give the break a little more emphasis than
 that.

The prior two paragraphs don't really say exactly what you're doing. Do
you mean the line is under the text below the (wrongly used)
subsection, or something else?

 
 Any suggestions?

Use/create environments and character styles that truly represent their
meaning -- don't use environments made for other purposes just because
they happen to look pretty good in the situation.

SteveT


Re: How to set off a subsection without using a heading

2012-02-20 Thread Alex Vergara Gil

Eric

  --I don't like the look. It's too intrusive.
Can you send a short example file to see what is your problem

Anyway I use to format a specific line as bold with bigger text size 
when I want an emphasis on a line which I don't want to set up as 
subchapter.


Saludos
~-o--{}--o-~
Alex Vergara Gil
MSc. Física Nuclear
Laboratorio Secundario de Calibración Dosimétrica
Centro de Protección e Higiene de las Radiaciones
Calle No. 4113 e/ 41 y 47  Playa, C de la Habana
C.P.11300 La Habana, Cuba
Dirección postal A.P.6195 C.P.10600
Telf: (537)6829681, (537)6821803
Fax: (537)2030165


El 20/02/2012 07:21 a.m., Eric Weir escribió:

In one section of an article I'm working on I have several subsections that I want 
to call attention to without using headings. Currently I'm using a centered 3 
line between subsections. I don't like the look. It's too intrusive.

One possibility would be to add an extra line between subsections, but I think 
I'd like to give the break a little more emphasis than that.

Any suggestions?

Thanks,
--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net









Re: Bibliography heading stranded

2012-02-20 Thread Jürgen Spitzmüller
Eric Weir wrote:
 More questions about this, Jürgen. You said you use these routinely. Where
 should I put them? In the lyx preamble? 

Create a text file mytweaks.tex and put them there. Save the file in your 
local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.

 And does the routine use apply to
 \usepackage{microtype}?

Yes.

Jürgen

Re: Bibliography heading stranded

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 8:43 AM, Jürgen Spitzmüller wrote:

 Eric Weir wrote:
  More questions about this, Jürgen. You said you use these routinely. Where
  should I put them? In the lyx preamble? 
  
 Create a text file mytweaks.tex and put them there. Save the file in your 
 local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.

Thanks, Jürgen.

--
Eric Weir
Decatur, GA 
eew...@bellsouth.net

What does it mean...that the world is so beautiful? 

- Mary Oliver 








Re: How to set off a subsection without using a heading

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 8:38 AM, Steve Litt wrote:

 On Mon, 20 Feb 2012 08:21:02 -0500
 Eric Weir eew...@bellsouth.net wrote:
 
 In one section of an article I'm working on I have several
 subsections that I want to call attention to without using headings.
 
 On a structured document, I'd think long and hard about using
 subsections without parent sections. That's just not right. It
 misrepresents the document's structure, and confuses appearance with
 structure.

They are subsections of a parent section. I just don't want to give headings to 
them. The break in the flow of exposition and argument is not that severe.

 Currently I'm using a centered 3 line between subsections. I don't
 like the look. It's too intrusive. 
 
 One possibility would be to add an extra line between subsections,
 but I think I'd like to give the break a little more emphasis than
 that.
 
 The prior two paragraphs don't really say exactly what you're doing. Do
 you mean the line is under the text below the (wrongly used)
 subsection, or something else?

What I mean is that on a line between two subsections there appears a centered 
3 long line.

 Any suggestions?
 
 Use/create environments and character styles that truly represent their
 meaning -- don't use environments made for other purposes just because
 they happen to look pretty good in the situation.

Not being argumentative. I'm genuinely curious. Not what I'm doing in this 
case, but have done in others--my title is assigned the section environment, 
because that makes it look like I want it to look and puts it where I want 
it--but why not use an environment made for one purpose for another purpose if 
it serves that purpose? [Probably have just committed total, unforgivable lyx 
heresy there. ;-)]

That aside, the suggestion is well-taken--at this point at least when there is 
no environment that suits my purpose. I'm newbie enough, though, that it's 
something I will need to study up on.

Thanks,
--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Re: How to set off a subsection without using a heading

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 9:40 AM, Alex Vergara Gil wrote:

  --I don't like the look. It's too intrusive.
 Can you send a short example file to see what is your problem

Thanks, Alex. Attached is the section with subsections set off by the the 3 
centered line.
 
 Anyway I use to format a specific line as bold with bigger text size when I 
 want an emphasis on a line which I don't want to set up as subchapter.

My sense is that that would set them apart more than I want to. Almost like 
giving them headings.

--
Eric Weir
Decatur, GA
eew...@bellsouth.net

A man should be in the world as though he were not in it 
so that it will be no worse because of his life. 

- Wendell Berry 



Re: Bibliography heading stranded

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 8:43 AM, Jürgen Spitzmüller wrote:

 Eric Weir wrote:
  More questions about this, Jürgen. You said you use these routinely. Where
  should I put them? In the lyx preamble? 
  
 Create a text file mytweaks.tex and put them there. Save the file in your 
 local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.

I put it in: /usr/local/texlive/2011/texmf. Is that right?

--
Eric Weir
eew...@bellsouth.net

Human coexistence and social life constitute the good common to us all 
from which and thanks to which all cultural and social goods derive. 

- Zygmunt Bauman



Re: Bibliography heading stranded

2012-02-20 Thread stefano franchi
On Mon, Feb 20, 2012 at 8:56 AM, Eric Weir eew...@bellsouth.net wrote:

 On Feb 20, 2012, at 8:43 AM, Jürgen Spitzmüller wrote:

 Eric Weir wrote:
 More questions about this, Jürgen. You said you use these routinely. Where
 should I put them? In the lyx preamble?



 Create a text file mytweaks.tex and put them there. Save the file in your
 local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.


 I put it in: /usr/local/texlive/2011/texmf. Is that right?

Actually, that would be the main distribution tree. The local TEXMF
tree would normally be under your user directory. On linux it is
usually ~/texmf, on the mac I suspect it probably is ~/Library/texmf
or perhaps ~/Application Support/texmf. Mac people would know more.
As a general rule, it is always better to put your personal additions
to the tex collection in your lcal tree. That way they will not be
overrun/erased/forgotten when you update texlive.


Cheers,

S.



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

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


Re: Bibliography heading stranded

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 10:05 AM, stefano franchi wrote:

 On Mon, Feb 20, 2012 at 8:56 AM, Eric Weir eew...@bellsouth.net wrote:
 
 On Feb 20, 2012, at 8:43 AM, Jürgen Spitzmüller wrote:
 
 Create a text file mytweaks.tex and put them there. Save the file in your
 local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.
 
 
 I put it in: /usr/local/texlive/2011/texmf. Is that right?
 
 Actually, that would be the main distribution tree. The local TEXMF
 tree would normally be under your user directory. On linux it is
 usually ~/texmf, on the mac I suspect it probably is ~/Library/texmf
 or perhaps ~/Application Support/texmf. Mac people would know more.
 As a general rule, it is always better to put your personal additions
 to the tex collection in your lcal tree. That way they will not be
 overrun/erased/forgotten when you update texlive.

Thanks, Stefano. I moved it to: ~/library/texmf. Or should it go in: 
~/library/texmf/tex/latex?

--
Eric Weir
Decatur, GA
eew...@bellsouth.net

A man should be in the world as though he were not in it 
so that it will be no worse because of his life. 

- Wendell Berry 



Re: Recommended third-party tools

2012-02-20 Thread Pavel Sanda
Russell D Brunelle wrote:
 left out.  I don't consider myself a LyX expert, but I do believe there is 
 a need for something like this, and I gave this my best shot in the hopes 
 of getting the ball rolling.

You may want to check http://www.lyx.org/AdditionalSoftware

Yihui Xie wrote:
 The topic of the original post is too broad for me to comment on, but
 if it comes down to statistical computing and graphics, I certainly
 recommend R. Here are some sample documents created in LyX with R
 literate programming modules:
 
 https://github.com/downloads/yihui/lyx/sweave.pdf
 https://github.com/downloads/yihui/knitr/knitr-manual.pdf
 https://github.com/downloads/yihui/knitr/knitr-graphics.pdf


Our description currently says:
Sweave - literate programming. Tool that allows to embed the R code for 
complete data analyses in latex documents. 

Is there something new to be added WRT knitr (is it beyond beta state)?

Pavel


LyZ, the Zotero plugin for LyX

2012-02-20 Thread Eric Weir

Just discovered this by accident. Anyone here have experience with it? 

--
Eric Weir
eew...@bellsouth.net

Human coexistence and social life constitute the good common to us all 
from which and thanks to which all cultural and social goods derive. 

- Zygmunt Bauman



Re: LyZ, the Zotero plugin for LyX

2012-02-20 Thread Francisco J . Ruiz-Ruano Campaña
I have installed and tried this extension and it is very useful. In the
next link I explain how to use it (in spanish).

http://bioinformatiquillo.wordpress.com/2011/09/02/lyz-lyx-zotero-por-fin-juntos-para-gestionar-tu-bibliografia/

On Mon, Feb 20, 2012 at 9:07 PM, Eric Weir eew...@bellsouth.net wrote:


 Just discovered this by accident. Anyone here have experience with it?


 --
  Eric Weir
 eew...@bellsouth.net

 Human coexistence and social life constitute the good common to us all
 from which and thanks to which all cultural and social goods derive.

 - Zygmunt Bauman




-- 
Más allá de la confusión, persiste la duda.


Re: Why is the view other formats button greyed-out?

2012-02-20 Thread Richard Heck

On 02/20/2012 08:25 AM, Eric Weir wrote:


I have been compiling for printing with xetex. After the first use, 
the view other formats button on the toolbar is greyed-out, and I 
have to go to the menu to get access to the command--actually, to a 
submenu. The button would be so much easier. The view pdflatex 
button is recyclable. Why not the other formats button?


I think this is a bug that has previously been reported, but I can't 
remember if it's been fixed. Please check 2.0.3 when it is out, and if 
it's still there report it on trac.


Richard



Re: Bibliography heading stranded

2012-02-20 Thread Richard Heck

On 02/20/2012 10:21 AM, Eric Weir wrote:

On Feb 20, 2012, at 10:05 AM, stefano franchi wrote:


On Mon, Feb 20, 2012 at 8:56 AM, Eric Weireew...@bellsouth.net  wrote:

On Feb 20, 2012, at 8:43 AM, Jürgen Spitzmüller wrote:

Create a text file mytweaks.tex and put them there. Save the file in your
local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.


I put it in: /usr/local/texlive/2011/texmf. Is that right?

Actually, that would be the main distribution tree. The local TEXMF
tree would normally be under your user directory. On linux it is
usually ~/texmf, on the mac I suspect it probably is ~/Library/texmf
or perhaps ~/Application Support/texmf. Mac people would know more.
As a general rule, it is always better to put your personal additions
to the tex collection in your lcal tree. That way they will not be
overrun/erased/forgotten when you update texlive.

Thanks, Stefano. I moved it to: ~/library/texmf. Or should it go in: 
~/library/texmf/tex/latex?

The latter. It's a general rule that your local tree should look like 
the main tree, and that means that LaTeX packages go under tex/latex/.


Richard



Re: Recommended third-party tools

2012-02-20 Thread Yihui Xie
Yes, knitr is beyond beta state now. I appreciate if someone can add a
description item below Sweave:

dt a href=http://yihui.name/knitr/; class=urllinkknitr/a -
literate programming./dtdd A comprehensive R package derived from
Sweave with a different design that includes code formatting,
highlighting, caching, fine control of graphics, conditional
evaluation, multiple markup formats and other features. div
class=vspace//dd

Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Mon, Feb 20, 2012 at 12:24 PM, Pavel Sanda sa...@lyx.org wrote:
 Russell D Brunelle wrote:
 left out.  I don't consider myself a LyX expert, but I do believe there is
 a need for something like this, and I gave this my best shot in the hopes
 of getting the ball rolling.

 You may want to check http://www.lyx.org/AdditionalSoftware

 Yihui Xie wrote:
 The topic of the original post is too broad for me to comment on, but
 if it comes down to statistical computing and graphics, I certainly
 recommend R. Here are some sample documents created in LyX with R
 literate programming modules:

 https://github.com/downloads/yihui/lyx/sweave.pdf
 https://github.com/downloads/yihui/knitr/knitr-manual.pdf
 https://github.com/downloads/yihui/knitr/knitr-graphics.pdf


 Our description currently says:
 Sweave - literate programming. Tool that allows to embed the R code for 
 complete data analyses in latex documents.

 Is there something new to be added WRT knitr (is it beyond beta state)?

 Pavel


Re: Bibliography heading stranded

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 11:43 AM, Richard Heck wrote:

 On 02/20/2012 10:21 AM, Eric Weir wrote:
 
 Thanks, Stefano. I moved it to: ~/library/texmf. Or should it go in: 
 ~/library/texmf/tex/latex?
 
 The latter. It's a general rule that your local tree should look like the 
 main tree, and that means that LaTeX packages go under tex/latex/.

Thanks, Richard.

--
Eric Weir
 Clairemont Avenue J3 ~ Decatur, GA 30030
404-636-6142 ~ eew...@bellsouth.net



Re: Why is the view other formats button greyed-out?

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 11:41 AM, Richard Heck wrote:

 On 02/20/2012 08:25 AM, Eric Weir wrote:
 
 I have been compiling for printing with xetex. After the first use, the 
 view other formats button on the toolbar is greyed-out, and I have to go 
 to the menu to get access to the command--actually, to a submenu. The button 
 would be so much easier. The view pdflatex button is recyclable. Why not 
 the other formats button?
 
 I think this is a bug that has previously been reported, but I can't remember 
 if it's been fixed. Please check 2.0.3 when it is out, and if it's still 
 there report it on trac.

Thanks. Will do.

--
Eric Weir
Decatur, GA
eew...@bellsouth.net

A writer is a person for whom writing is more difficult 
than it is for other people. 

- Thomas Mann








Re: bibtex in UTF8 work? How to cancel bibtexkey escape in Lyx?

2012-02-20 Thread baiwensimi

于 2012年02月20日 00:28, Richard Heck 写道:

On 02/18/2012 04:22 AM, baiwensimi wrote:

I found utf8 based bibtex works in XeTeX, even BibtexKey in utf8. But
Lyx did not support it good when cite more than one items. the latex
source code show that the utf8 bibtexkey will be escaped. How can I
cancel this escape?

Please post a small set of sample files that demonstrate the problem.

Richard


Hello, Richard
 Thanks! here is a sample.
Bai Wensimi


test.lyx
Description: application/lyx
@article{一,
		title=1st;
}
@article{二,
		title=2nd;
}


test.pdf
Description: Adobe PDF document


Re: Why do YOU love LyX?

2012-02-20 Thread Olivier Ripoll

On 18.02.2012 12:28, Russell D Brunelle wrote:

If you have a good idea, then there's something special (I'm almost
tempted to say "sacred") about committing it to paper.

The emergence of abstract thinking was an early inflection point in the
development of our species. The invention of written language was
another. The invention of the printing press was yet another.

More recently, LaTeX made professional typesetting standards available
for free, and even more recently LyX made using those standards as easy
as using anything else.

I'm not saying that LyX is as significant as the printing press, only
that there's an unbroken stream of progress which it's a proud part of,
and for that reason I feel proud about using it.

So, why do YOU love LyX?

Russell


Hi,

1- Stability and reliability: It crashed few times on me (once in 2001, 
but it was X, not LyX itself, that had crashed, and some times with some 
1.6 or 1.5 alphas around 2006) but I never lost anything IIRC.


2- Focus on content: In a world where most think that appearance is more 
important that content, a software allowing you to concentrate on the 
content is precious.


3- Mix of WYSIWIG and WYSIWYM: you benefit from the best of both worlds, 
and get little of their drawbacks.


4- Community: It's by far the best developer (& user) community I've 
seen. There can be discussions on some features or implementations, but 
there are usually much more civil than in other soft. Probably related 
to the philosophy of point 2 above.


BR,

Olivier



Re: lyx archive error

2012-02-20 Thread Enrico Forestieri
On Fri, Feb 17, 2012 at 04:49:58PM +0100, Pavel Sanda wrote:

> Waluyo Adi Siswanto wrote:
> > I have found the cause. It could be a bug?
> > ANY file using SPACE in its filename will fail to export archive.
> > I tried in Ubuntu 11.10 and Windows 7, both fail.
> 
> Yes, the problem is due to spacing in path. Enrico may know whether
> is it easy to fix..

The lyxpak.py script has no problem with spaces in filenames. It is LyX
that is passing a mangled filename. Specifically, LyX calls lyxpak.py
using the mangled name meant for latex processing in the temporary dir.

The attached patch fixes the problem for me.

-- 
Enrico
Index: src/Converter.cpp
===
--- src/Converter.cpp   (revisione 40771)
+++ src/Converter.cpp   (copia locale)
@@ -50,6 +50,7 @@ string const token_base("$$b");
 string const token_to("$$o");
 string const token_path("$$p");
 string const token_orig_path("$$r");
+string const token_orig_from("$$f");
 string const token_encoding("$$e");
 string const token_latex_encoding("$$E");
 
@@ -412,6 +413,7 @@ bool Converters::convert(Buffer const *
command = subst(command, token_to, quoteName(outfile2));
command = subst(command, token_path, 
quoteName(onlyPath(infile.absFileName(;
command = subst(command, token_orig_path, 
quoteName(onlyPath(orig_from.absFileName(;
+   command = subst(command, token_orig_from, 
quoteName(onlyFileName(orig_from.absFileName(;
command = subst(command, token_encoding, buffer ? 
buffer->params().encoding().iconvName() : string());
command = libScriptSearch(command);
 
Index: lib/configure.py
===
--- lib/configure.py(revisione 40771)
+++ lib/configure.py(copia locale)
@@ -920,7 +920,7 @@ def checkConverterEntries():
 # Currently, lyxpak outputs a gzip compressed tar archive on *nix
 # and a zip archive on Windows.
 # So, we configure the appropriate version according to the platform.
-cmd = r'\converter lyx %s "python -tt $$s/scripts/lyxpak.py $$r/$$i" ""'
+cmd = r'\converter lyx %s "python -tt $$s/scripts/lyxpak.py $$r/$$f" ""'
 if os.name == 'nt':
 addToRC(r'\Format lyxzip zip"LyX Archive (zip)" "" "" ""  
"document,menu=export"')
 addToRC(cmd % "lyxzip")


Re: Bibliography heading stranded

2012-02-20 Thread Eric Weir

On Feb 18, 2012, at 2:40 AM, Jürgen Spitzmüller wrote:

> My experience is that with the below penalty changes, such overfull boxes 
> never appear:
>  
> \tolerance 1414
> \hbadness 1414
> \emergencystretch 1.5em
> \hfuzz 0.3pt
>  
> Furthermore
>  
> \usepackage{microtype}


More questions about this, Jürgen. You said you use these routinely. Where 
should I put them? In the lyx preamble? And does the routine use apply to 
\usepackage{microtype}?

I my most recent compile of the document Stefano's been helping me with I have 
a bunch of characters outside the right margin, some in which there's an 
obvious hyphenation that could've been done. 

Thanks,
--
Eric Weir
eew...@bellsouth.net
Decatur, GA  USA

"Whatever you can do, or dream you can, begin it. 
Boldness has genius, power and magic in it. " 

- Johann Wolfgang von Goethe



How to set off a subsection without using a heading

2012-02-20 Thread Eric Weir

In one section of an article I'm working on I have several subsections that I 
want to call attention to without using headings. Currently I'm using a 
centered 3" line between subsections. I don't like the look. It's too 
intrusive. 

One possibility would be to add an extra line between subsections, but I think 
I'd like to give the break a little more emphasis than that.

Any suggestions?

Thanks,
--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Why is the "view other formats" button greyed-out?

2012-02-20 Thread Eric Weir

I have been compiling for printing with xetex. After the first use, the "view 
other formats" button on the toolbar is greyed-out, and I have to go to the 
menu to get access to the command--actually, to a submenu. The button would be 
so much easier. The "view pdflatex" button is recyclable. Why not the "other 
formats" button?

Thanks,
--
Eric Weir
eew...@bellsouth.net

"Human coexistence and social life constitute the good common to us all 
from which and thanks to which all cultural and social goods derive." 

- Zygmunt Bauman



Re: How to set off a subsection without using a heading

2012-02-20 Thread Steve Litt
On Mon, 20 Feb 2012 08:21:02 -0500
Eric Weir  wrote:

> 
> In one section of an article I'm working on I have several
> subsections that I want to call attention to without using headings.

On a structured document, I'd think long and hard about using
subsections without parent sections. That's just not right. It
misrepresents the document's structure, and confuses appearance with
structure.

If you want to call attention, make a new environment called
"callattention" and use that.


> Currently I'm using a centered 3" line between subsections. I don't
> like the look. It's too intrusive. 
> 
> One possibility would be to add an extra line between subsections,
> but I think I'd like to give the break a little more emphasis than
> that.

The prior two paragraphs don't really say exactly what you're doing. Do
you mean the line is under the text below the (wrongly used)
subsection, or something else?

> 
> Any suggestions?

Use/create environments and character styles that truly represent their
meaning -- don't use environments made for other purposes just because
they happen to look pretty good in the situation.

SteveT


Re: How to set off a subsection without using a heading

2012-02-20 Thread Alex Vergara Gil

Eric

  --"I don't like the look. It's too intrusive."
Can you send a short example file to see what is your problem

Anyway I use to format a specific line as bold with bigger text size 
when I want an emphasis on a line which I don't want to set up as 
subchapter.


Saludos
~-o--{}--o-~
Alex Vergara Gil
MSc. Física Nuclear
Laboratorio Secundario de Calibración Dosimétrica
Centro de Protección e Higiene de las Radiaciones
Calle No. 4113 e/ 41 y 47  Playa, C de la Habana
C.P.11300 La Habana, Cuba
Dirección postal A.P.6195 C.P.10600
Telf: (537)6829681, (537)6821803
Fax: (537)2030165


El 20/02/2012 07:21 a.m., Eric Weir escribió:

In one section of an article I'm working on I have several subsections that I want 
to call attention to without using headings. Currently I'm using a centered 3" 
line between subsections. I don't like the look. It's too intrusive.

One possibility would be to add an extra line between subsections, but I think 
I'd like to give the break a little more emphasis than that.

Any suggestions?

Thanks,
--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net









Re: Bibliography heading stranded

2012-02-20 Thread Jürgen Spitzmüller
Eric Weir wrote:
> More questions about this, Jürgen. You said you use these routinely. Where
> should I put them? In the lyx preamble? 

Create a text file "mytweaks.tex" and put them there. Save the file in your 
local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.

> And does the routine use apply to
> \usepackage{microtype}?

Yes.

Jürgen

Re: Bibliography heading stranded

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 8:43 AM, Jürgen Spitzmüller wrote:

> Eric Weir wrote:
> > More questions about this, Jürgen. You said you use these routinely. Where
> > should I put them? In the lyx preamble? 
>  
> Create a text file "mytweaks.tex" and put them there. Save the file in your 
> local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.

Thanks, Jürgen.

--
Eric Weir
Decatur, GA 
eew...@bellsouth.net

"What does it mean...that the world is so beautiful?" 

- Mary Oliver 








Re: How to set off a subsection without using a heading

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 8:38 AM, Steve Litt wrote:

> On Mon, 20 Feb 2012 08:21:02 -0500
> Eric Weir  wrote:
> 
>> In one section of an article I'm working on I have several
>> subsections that I want to call attention to without using headings.
> 
> On a structured document, I'd think long and hard about using
> subsections without parent sections. That's just not right. It
> misrepresents the document's structure, and confuses appearance with
> structure.

They are subsections of a parent section. I just don't want to give headings to 
them. The break in the flow of exposition and argument is not that severe.

>> Currently I'm using a centered 3" line between subsections. I don't
>> like the look. It's too intrusive. 
>> 
>> One possibility would be to add an extra line between subsections,
>> but I think I'd like to give the break a little more emphasis than
>> that.
> 
> The prior two paragraphs don't really say exactly what you're doing. Do
> you mean the line is under the text below the (wrongly used)
> subsection, or something else?

What I mean is that on a line between two subsections there appears a centered 
3" long line.

>> Any suggestions?
> 
> Use/create environments and character styles that truly represent their
> meaning -- don't use environments made for other purposes just because
> they happen to look pretty good in the situation.

Not being argumentative. I'm genuinely curious. Not what I'm doing in this 
case, but have done in others--my title is assigned the section environment, 
because that makes it look like I want it to look and puts it where I want 
it--but why not use an environment made for one purpose for another purpose if 
it serves that purpose? [Probably have just committed total, unforgivable lyx 
heresy there. ;-)]

That aside, the suggestion is well-taken--at this point at least when there is 
no environment that suits my purpose. I'm newbie enough, though, that it's 
something I will need to study up on.

Thanks,
--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Re: How to set off a subsection without using a heading

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 9:40 AM, Alex Vergara Gil wrote:

>  --"I don't like the look. It's too intrusive."
> Can you send a short example file to see what is your problem

Thanks, Alex. Attached is the section with subsections set off by the the 3" 
centered line.
 
> Anyway I use to format a specific line as bold with bigger text size when I 
> want an emphasis on a line which I don't want to set up as subchapter.

My sense is that that would set them apart more than I want to. Almost like 
giving them headings.

--
Eric Weir
Decatur, GA
eew...@bellsouth.net

"A man should be in the world as though he were not in it 
so that it will be no worse because of his life." 

- Wendell Berry 



Re: Bibliography heading stranded

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 8:43 AM, Jürgen Spitzmüller wrote:

> Eric Weir wrote:
> > More questions about this, Jürgen. You said you use these routinely. Where
> > should I put them? In the lyx preamble? 
>  
> Create a text file "mytweaks.tex" and put them there. Save the file in your 
> local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.

I put it in: /usr/local/texlive/2011/texmf. Is that right?

--
Eric Weir
eew...@bellsouth.net

"Human coexistence and social life constitute the good common to us all 
from which and thanks to which all cultural and social goods derive." 

- Zygmunt Bauman



Re: Bibliography heading stranded

2012-02-20 Thread stefano franchi
On Mon, Feb 20, 2012 at 8:56 AM, Eric Weir  wrote:
>
> On Feb 20, 2012, at 8:43 AM, Jürgen Spitzmüller wrote:
>
> Eric Weir wrote:
>> More questions about this, Jürgen. You said you use these routinely. Where
>> should I put them? In the lyx preamble?
>
>
>
> Create a text file "mytweaks.tex" and put them there. Save the file in your
> local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.
>
>
> I put it in: /usr/local/texlive/2011/texmf. Is that right?

Actually, that would be the main distribution tree. The local TEXMF
tree would normally be under your user directory. On linux it is
usually ~/texmf, on the mac I suspect it probably is ~/Library/texmf
or perhaps ~/Application Support/texmf. Mac people would know more.
As a general rule, it is always better to put your personal additions
to the tex collection in your lcal tree. That way they will not be
overrun/erased/forgotten when you update texlive.


Cheers,

S.



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

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


Re: Bibliography heading stranded

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 10:05 AM, stefano franchi wrote:

> On Mon, Feb 20, 2012 at 8:56 AM, Eric Weir  wrote:
>> 
>>> On Feb 20, 2012, at 8:43 AM, Jürgen Spitzmüller wrote:
>>> 
>>> Create a text file "mytweaks.tex" and put them there. Save the file in your
>>> local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.
>> 
>> 
>> I put it in: /usr/local/texlive/2011/texmf. Is that right?
> 
> Actually, that would be the main distribution tree. The local TEXMF
> tree would normally be under your user directory. On linux it is
> usually ~/texmf, on the mac I suspect it probably is ~/Library/texmf
> or perhaps ~/Application Support/texmf. Mac people would know more.
> As a general rule, it is always better to put your personal additions
> to the tex collection in your lcal tree. That way they will not be
> overrun/erased/forgotten when you update texlive.

Thanks, Stefano. I moved it to: ~/library/texmf. Or should it go in: 
~/library/texmf/tex/latex?

--
Eric Weir
Decatur, GA
eew...@bellsouth.net

"A man should be in the world as though he were not in it 
so that it will be no worse because of his life." 

- Wendell Berry 



Re: Recommended third-party tools

2012-02-20 Thread Pavel Sanda
Russell D Brunelle wrote:
> left out.  I don't consider myself a LyX expert, but I do believe there is 
> a need for something like this, and I gave this my best shot in the hopes 
> of getting the ball rolling.

You may want to check http://www.lyx.org/AdditionalSoftware

Yihui Xie wrote:
> The topic of the original post is too broad for me to comment on, but
> if it comes down to statistical computing and graphics, I certainly
> recommend R. Here are some sample documents created in LyX with R
> literate programming modules:
> 
> https://github.com/downloads/yihui/lyx/sweave.pdf
> https://github.com/downloads/yihui/knitr/knitr-manual.pdf
> https://github.com/downloads/yihui/knitr/knitr-graphics.pdf


Our description currently says:
Sweave - literate programming. Tool that allows to embed the R code for 
complete data analyses in latex documents. 

Is there something new to be added WRT knitr (is it beyond beta state)?

Pavel


LyZ, the Zotero plugin for LyX

2012-02-20 Thread Eric Weir

Just discovered this by accident. Anyone here have experience with it? 

--
Eric Weir
eew...@bellsouth.net

"Human coexistence and social life constitute the good common to us all 
from which and thanks to which all cultural and social goods derive." 

- Zygmunt Bauman



Re: LyZ, the Zotero plugin for LyX

2012-02-20 Thread Francisco J . Ruiz-Ruano Campaña
I have installed and tried this extension and it is very useful. In the
next link I explain how to use it (in spanish).

http://bioinformatiquillo.wordpress.com/2011/09/02/lyz-lyx-zotero-por-fin-juntos-para-gestionar-tu-bibliografia/

On Mon, Feb 20, 2012 at 9:07 PM, Eric Weir  wrote:

>
> Just discovered this by accident. Anyone here have experience with it?
>
>
> --
>  Eric Weir
> eew...@bellsouth.net
>
> "Human coexistence and social life constitute the good common to us all
> from which and thanks to which all cultural and social goods derive."
>
> - Zygmunt Bauman
>
>


-- 
Más allá de la confusión, persiste la duda.


Re: Why is the "view other formats" button greyed-out?

2012-02-20 Thread Richard Heck

On 02/20/2012 08:25 AM, Eric Weir wrote:


I have been compiling for printing with xetex. After the first use, 
the "view other formats" button on the toolbar is greyed-out, and I 
have to go to the menu to get access to the command--actually, to a 
submenu. The button would be so much easier. The "view pdflatex" 
button is recyclable. Why not the "other formats" button?


I think this is a bug that has previously been reported, but I can't 
remember if it's been fixed. Please check 2.0.3 when it is out, and if 
it's still there report it on trac.


Richard



Re: Bibliography heading stranded

2012-02-20 Thread Richard Heck

On 02/20/2012 10:21 AM, Eric Weir wrote:

On Feb 20, 2012, at 10:05 AM, stefano franchi wrote:


On Mon, Feb 20, 2012 at 8:56 AM, Eric Weir  wrote:

On Feb 20, 2012, at 8:43 AM, Jürgen Spitzmüller wrote:

Create a text file "mytweaks.tex" and put them there. Save the file in your
local TEXMF tree. Then you can simply put \input{mytweaks} to the preamble.


I put it in: /usr/local/texlive/2011/texmf. Is that right?

Actually, that would be the main distribution tree. The local TEXMF
tree would normally be under your user directory. On linux it is
usually ~/texmf, on the mac I suspect it probably is ~/Library/texmf
or perhaps ~/Application Support/texmf. Mac people would know more.
As a general rule, it is always better to put your personal additions
to the tex collection in your lcal tree. That way they will not be
overrun/erased/forgotten when you update texlive.

Thanks, Stefano. I moved it to: ~/library/texmf. Or should it go in: 
~/library/texmf/tex/latex?

The latter. It's a general rule that your local tree should "look like" 
the main tree, and that means that LaTeX packages go under tex/latex/.


Richard



Re: Recommended third-party tools

2012-02-20 Thread Yihui Xie
Yes, knitr is beyond beta state now. I appreciate if someone can add a
description item below Sweave:

 http://yihui.name/knitr/; class="urllink">knitr -
literate programming. A comprehensive R package derived from
Sweave with a different design that includes code formatting,
highlighting, caching, fine control of graphics, conditional
evaluation, multiple markup formats and other features. 

Regards,
Yihui
--
Yihui Xie 
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Mon, Feb 20, 2012 at 12:24 PM, Pavel Sanda  wrote:
> Russell D Brunelle wrote:
>> left out.  I don't consider myself a LyX expert, but I do believe there is
>> a need for something like this, and I gave this my best shot in the hopes
>> of getting the ball rolling.
>
> You may want to check http://www.lyx.org/AdditionalSoftware
>
> Yihui Xie wrote:
>> The topic of the original post is too broad for me to comment on, but
>> if it comes down to statistical computing and graphics, I certainly
>> recommend R. Here are some sample documents created in LyX with R
>> literate programming modules:
>>
>> https://github.com/downloads/yihui/lyx/sweave.pdf
>> https://github.com/downloads/yihui/knitr/knitr-manual.pdf
>> https://github.com/downloads/yihui/knitr/knitr-graphics.pdf
>
>
> Our description currently says:
> Sweave - literate programming. Tool that allows to embed the R code for 
> complete data analyses in latex documents.
>
> Is there something new to be added WRT knitr (is it beyond beta state)?
>
> Pavel


Re: Bibliography heading stranded

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 11:43 AM, Richard Heck wrote:

> On 02/20/2012 10:21 AM, Eric Weir wrote:
>> 
>> Thanks, Stefano. I moved it to: ~/library/texmf. Or should it go in: 
>> ~/library/texmf/tex/latex?
> 
> The latter. It's a general rule that your local tree should "look like" the 
> main tree, and that means that LaTeX packages go under tex/latex/.

Thanks, Richard.

--
Eric Weir
 Clairemont Avenue J3 ~ Decatur, GA 30030
404-636-6142 ~ eew...@bellsouth.net



Re: Why is the "view other formats" button greyed-out?

2012-02-20 Thread Eric Weir

On Feb 20, 2012, at 11:41 AM, Richard Heck wrote:

> On 02/20/2012 08:25 AM, Eric Weir wrote:
>> 
>> I have been compiling for printing with xetex. After the first use, the 
>> "view other formats" button on the toolbar is greyed-out, and I have to go 
>> to the menu to get access to the command--actually, to a submenu. The button 
>> would be so much easier. The "view pdflatex" button is recyclable. Why not 
>> the "other formats" button?
>> 
> I think this is a bug that has previously been reported, but I can't remember 
> if it's been fixed. Please check 2.0.3 when it is out, and if it's still 
> there report it on trac.

Thanks. Will do.

--
Eric Weir
Decatur, GA
eew...@bellsouth.net

"A writer is a person for whom writing is more difficult 
than it is for other people." 

- Thomas Mann








Re: bibtex in UTF8 work? How to cancel bibtexkey escape in Lyx?

2012-02-20 Thread baiwensimi

于 2012年02月20日 00:28, Richard Heck 写道:

On 02/18/2012 04:22 AM, baiwensimi wrote:

I found utf8 based bibtex works in XeTeX, even BibtexKey in utf8. But
Lyx did not support it good when cite more than one items. the latex
source code show that the utf8 bibtexkey will be escaped. How can I
cancel this escape?

Please post a small set of sample files that demonstrate the problem.

Richard


Hello, Richard
 Thanks! here is a sample.
Bai Wensimi


test.lyx
Description: application/lyx
@article{一,
		title="1st";
}
@article{二,
		title="2nd";
}


test.pdf
Description: Adobe PDF document