Re: Reducing space after fullstops?

2015-08-10 Thread Bruce Pourciau

On Aug 10, 2015, at 7:14 AM, Jürgen Spitzmüller wrote:

> Am Montag 10 August 2015, 16:20:56 schrieb Frederick FN Noronha फ्रेड्रिक 
> नोरोन्या 
> *فريدريك نورونيا:
>> LyX tends to add spaces after fullstops. It looks a bit excessive
>> sometimes. How do I reduce/avoid this pls? FN
> 
> This is the so called "French spacing" which is common in some languages. 
> Look 
> here how to switch it off globally or for specific languages:
> 
> http://tex.stackexchange.com/questions/210254/babels-selectlanguage-resets-frenchspacing
> 
> Jürgen

See this link

https://en.wikipedia.org/wiki/History_of_sentence_spacing

for the interesting history of spacing between sentences. One snippet:

With the advent of the typewriter in the late 19th century, French and English 
typists adopted approximations of standard spacing practices to fit the 
limitations of the typewriter itself. French typists used a single space 
between sentences, consistent with the typeset French spacing technique, 
whereas English typists used a double space.
• French spacing inserted spaces around most punctuation marks, but 
single-spaced after sentences, colons, and semicolons.[3]
• English spacing removed spaces around most punctuation marks, but 
double-spaced after sentences, colons, and semicolons.[4]
These approximations were taught and used as the standard typing techniques in 
French and English-speaking countries.[5] For example, T. S. Eliot typed rather 
than wrote the manuscript for his classic The Waste Land between 1920 and 1922, 
and used only English spacing throughout: double-spaced sentences.[6]

Historically, "French spacing" referred to single-spacing between sentences. In 
calling the command that forces this single-spacing \frenchspacing, Knuth was 
following this historical terminology.

On this topic, the typographer's bible, The Elements of Typographic Style by 
Robert Bringhurst, has this to say:

2.1.4  Use a single word space between sentences.
 
In the nineteenth century, which was a dark and inflationary age in typography 
and type design, many compositors were encouraged to stuff extra space between 
sentences.  Generations of twentieth-century typists were then taught to do the 
same, by hitting the spacebar twice after every period.  Your typing as well as 
your typesetting will benefit from unlearning this quaint Victorian habit.  As 
a general rule, no more than a single space is required after a period, a colon 
or any other mark of punctuation.  Larger spaces (e.g., en spaces) are 
themselves punctuation.
The rule is usually altered, however, when setting classical 
Latin and Greek, romanized Sanskrit, phonetics or other kinds of texts in which 
sentences begin with lowercase letters.  In the absences of a capital, a full 
en space (M/2) between sentences will generally be welcome.


Bruce

Re: Switching to Chicago NB Notes

2015-06-26 Thread Bruce Pourciau
Yes, thank you. I had done a similar search, but did not find much on how 
difficult it will be for the copy editor to make the necessary changes in my 
file.

Bruce

On Jun 25, 2015, at 7:03 PM, Dr Eberhard Lisse wrote:

> https://www.google.com/search?q=bibtex+chicago&oq=bibtex+chicago&aqs=chrome..69i57.2245j0j7&sourceid=chrome&es_sm=119&ie=UTF-8
> 
> el
> 
> On 2015-06-25 10:52 , Bruce Pourciau wrote:
>> I should have mentioned that the volume will be using the Chicago Manual
>> of Style 16th edition bibliography style, which suggests that they may
>> be using biblatex with the biblatex-chicago style files.
>> 
>> Bruce
>> 
>> Begin forwarded message:
>> 
>>> *From: *Bruce Pourciau >> <mailto:bruce.h.pourc...@lawrence.edu>>
>>> *Date: *June 25, 2015 8:47:27 AM CDT
>>> *To: *LyXFolks mailto:lyx-users@lists.lyx.org>>
>>> *Subject: **Switching to Chicago NB Notes*
>>> 
>>> I have used LyX to produce a LaTeX file for a chapter I am
>>> contributing to a volume. My LaTeX file  uses a common system for
>>> notes and bibliography: there is a bibliography at the end and the
>>> citations refer to entires in that bibliography. But the volume will
>>> be using what's called the Chicago NB system: there is no bibliography
>>> at the end; the notes contain the bibliographic information:
>>> 
>>> https://owl.english.purdue.edu/owl/resource/717/01/
>>> 
>>> How difficult will it be for the copy editor to change the format of
>>> my paper into the Chicago NB format? Is this conversion something I
>>> should expect the copy editor to take care of? Being a LaTeX novice, I
>>> wouldn't want to do it myself.
>>> 
>>> Bruce
>> 



Fwd: Switching to Chicago NB Notes

2015-06-25 Thread Bruce Pourciau
I should have mentioned that the volume will be using the Chicago Manual of 
Style 16th edition bibliography style, which suggests that they may be using 
biblatex with the biblatex-chicago style files.

Bruce

Begin forwarded message:

> From: Bruce Pourciau 
> Date: June 25, 2015 8:47:27 AM CDT
> To: LyXFolks 
> Subject: Switching to Chicago NB Notes
> 
> I have used LyX to produce a LaTeX file for a chapter I am contributing to a 
> volume. My LaTeX file  uses a common system for notes and bibliography: there 
> is a bibliography at the end and the citations refer to entires in that 
> bibliography. But the volume will be using what's called the Chicago NB 
> system: there is no bibliography at the end; the notes contain the 
> bibliographic information:
> 
> https://owl.english.purdue.edu/owl/resource/717/01/
> 
> How difficult will it be for the copy editor to change the format of my paper 
> into the Chicago NB format? Is this conversion something I should expect the 
> copy editor to take care of? Being a LaTeX novice, I wouldn't want to do it 
> myself.
> 
> Bruce



Switching to Chicago NB Notes

2015-06-25 Thread Bruce Pourciau
I have used LyX to produce a LaTeX file for a chapter I am contributing to a 
volume. My LaTeX file  uses a common system for notes and bibliography: there 
is a bibliography at the end and the citations refer to entires in that 
bibliography. But the volume will be using what's called the Chicago NB system: 
there is no bibliography at the end; the notes contain the bibliographic 
information:

https://owl.english.purdue.edu/owl/resource/717/01/

How difficult will it be for the copy editor to change the format of my paper 
into the Chicago NB format? Is this conversion something I should expect the 
copy editor to take care of? Being a LaTeX novice, I wouldn't want to do it 
myself.

Bruce

Re: String There But Not Found

2015-06-20 Thread Bruce Pourciau

On Jun 20, 2015, at 9:54 AM, Bruce Pourciau wrote:

> Sorry to repeat my question, but the Subject was incorrectly labelled:
> 
> 
> I need to replace the American style ," and ." with the British style ", and 
> ". The LyX Find and Replace is finding some but not all of the strings. I 
> looked for the first ," it did not find, copied it, pasted it into the Find 
> box, placed the cursor just before it, clicked Find Next, and LyX still did 
> not find it. It seems to be just the quotation mark, not the comma, that it's 
> not finding.
> 
> Any thoughts on what might be going on? Any suggestions?
> 
> Bruce

The Find Replace Advanced does the job! Didn't even know  there was an advanced 
version. Live and learn.

Bruce



String There But Not Found

2015-06-20 Thread Bruce Pourciau
Sorry to repeat my question, but the Subject was incorrectly labelled:


I need to replace the American style ," and ." with the British style ", and ". 
The LyX Find and Replace is finding some but not all of the strings. I looked 
for the first ," it did not find, copied it, pasted it into the Find box, 
placed the cursor just before it, clicked Find Next, and LyX still did not find 
it. It seems to be just the quotation mark, not the comma, that it's not 
finding.

Any thoughts on what might be going on? Any suggestions?

Bruce

Re: Chicago 16 Bibliography Style

2015-06-20 Thread Bruce Pourciau

I need to replace the American style ," and ." with the British style ", and ". 
The LyX Find and Replace is finding some but not all of the strings. I looked 
for the first ," it did not find, copied it, pasted it into the Find box, 
placed the cursor just before it, clicked Find Next, and LyX still did not find 
it.

Any thoughts on what might be going on? Any suggestions?

Bruce

Re: Chicago 16 Bibliography Style

2015-06-20 Thread Bruce Pourciau

On Jun 20, 2015, at 2:11 AM, Jürgen Spitzmüller wrote:

> 2015-06-20 3:54 GMT+02:00 Bruce H. Pourciau:
> I used LyX to write an article that will be appearing in an edited volume, 
> and the editors have requested that the LaTeX file I send them should use the 
> bibliographic style employed in the Chicago Manual of Style, 16th edition. At 
> the following website, I found the examples below (N = Note, B = 
> Bibliography). Does anyone know which styles available with LyX would come 
> closest to matching this Chicago 16 style? Or, by editing the exported LaTeX 
> file, is there a way to get an exact match  (I'd like to avoid biblatex, 
> since I'm not familiar with it, and time is not my friend.) In the second 
> pair of examples, the book title needs to be in italic.
> 
> Thanks in advance for any help you can provide.
> 
> There is a chicago.bst style file that claims to stick to the Chicago manual 
> (although 13th ed.). Since it is included in TeXLive and MikTeX, you should 
> be able to use it in LyX without much hassle.
> 
> Jürgen
>  
> 
> Bruce

Oddly, it seems that the style authordate1 is closer to Chicago Manual of Style 
16th edition than chicago style. And even with authordate1, the dates comes out 
near the beginning instead of the end, and articles are not in quotation marks.

Every other contributor to this volume has submitted a Word file. From these 
Word files, a master LaTeX file is constructed for typesetting the book. I 
think a contribution like mine that's already in LaTeX causes problems, because 
it means a deviation from their workflow! But they certainly have to have a 
bibtex style file for the Chicago Manual of Style 16th edition, since that is 
the style for the book, and they should be able just to insert that into my 
LaTeX file, right?

Bruce

Re: why people give up on open source software

2013-10-25 Thread Bruce Pourciau

On Oct 25, 2013, at 2:49 AM, Jean-Marc Lasgouttes wrote:

> 25/10/2013 02:37, Ken Springer:
>> Just a question, does viable equate something that will be successful in
>> the long run?
> 
> It is already successful. We have users, LyX continues to advance, although 
> at a frustratingly slow pace these days. But in some sense, the fact that we 
> continue to advance in a time where the number of active and enthusiastic 
> developers is low is a proof that LyX is a robust project. Having 3 more 
> active developers (I mean good enough to avoid generating random code that 
> will take years to clean up) is the most we need probably.
> 
> What I mean is that I do not want personally to create some kind of killer 
> app, but provide a trusty tool for a small to medium circle of users ready to 
> make some investment in learning time. Having people who trust LyX enough to 
> entrust their writing work to us _is_ a success.
> 
> JMarc


For me, LyX is in fact a killer app, in the sense that it has killed any need 
or desire to have an affair, a one night stand, or even flirt with any other 
app. I write long, structured papers that contain mathematics, figures, 
cross-references, and bibliographic citations, and LyX has been the perfect 
partner and document processor. It does everything I need, produces beautiful 
pdf's, and it's solid as a rock.

A heartfelt thank you to JMarc and the other LyX developers.

Bruce

Re: Formatting Marginal Notes

2013-07-04 Thread Bruce Pourciau

On Jul 4, 2013, at 10:03 AM, Jürgen Spitzmüller wrote:

> Am Donnerstag 04 Juli 2013, 09:36:14 schrieb Bruce Pourciau:
>> In the default format for marginal notes, for the standard article class,
>> the note appears to have the same text size, line spacing, and justified
>> format of the body text. This seems odd to me. I would expect and prefer a
>> standard marginal note to have a smaller text size, smaller line spacing,
>> and be ragged right (to eliminate the huge gaps between words that
>> justified text has in very narrow spaces), as in the marginal notes of
>> Bringhurst's The Elements of Typographical Style, which is often thought of
>> as the typographer's bible.
>> 
>> Is there a global way to alter the default format for marginal notes, by
>> inserting commands into the preamble? Failing that, is there a one-by-one
>> way to get the format I prefer?
> 
> Try something like:
> 
> \let\oldmarginpar\marginpar
> \renewcommand*\marginpar[1]{%
> \oldmarginpar{\footnotesize\raggedright #1}}
> 
> Jürgen
> 
> 


Perfect. Thank you, Jürgen.

Bruce

Formatting Marginal Notes

2013-07-04 Thread Bruce Pourciau
In the default format for marginal notes, for the standard article class, the 
note appears to have the same text size, line spacing, and justified format of 
the body text. This seems odd to me. I would expect and prefer a standard 
marginal note to have a smaller text size, smaller line spacing, and be ragged 
right (to eliminate the huge gaps between words that justified text has in very 
narrow spaces), as in the marginal notes of Bringhurst's The Elements of 
Typographical Style, which is often thought of as the typographer's bible.

Is there a global way to alter the default format for marginal notes, by 
inserting commands into the preamble? Failing that, is there a one-by-one way 
to get the format I prefer?

Bruce

Re: document statistics

2013-06-18 Thread Bruce Pourciau

On Jun 17, 2013, at 5:21 PM, stefano franchi wrote:

> 
> 
> 
> On Mon, Jun 17, 2013 at 1:46 PM, Steve Litt  wrote:
> On Mon, 17 Jun 2013 12:07:57 -0400
> Maria Gouskova  wrote:
> 
> > On Mon, Jun 17, 2013 at 11:27 AM, Csikos Bela
> > wrote:
> >
> > > stefano franchi  írta:
> > > >On Fri, Jun 14, 2013 at 2:08 PM, Alex Vergara Gil a...@cphr.edu.cu>
> > > wrote:
> > >
> > > >>>Hello:
> > > >>>Occasionally it is necessary to count the total word or character
> > > number in
> > > >>>a document.
> > > >>>Lyx has Tools->Statistics option for the document, but how can I
> > > >>>make statistics that includes the text in the Bibliography which
> > > >>>is not
> > > edited in
> > > >>l>yx?
> > >
> > > >>If is not edited in LyX there is no way LyX can count the words,
> > > >>so I use Okular to do this kind of things once the document is
> > > >>ready.
> > >
> > > >Alex,I never knew Okular could do document statistics. Is it a
> > > >plugin/ extension/whatever? My version of okular does not seem to
> > > >have any facility of the kind. I use pdftotxt | wc -w when I need
> > > >to obtain final figures. I'd be glad to skip a step or two and
> > > >use okular directly.
> > >
> > > Thanks.
> > >
> > > bcsikos
> > >
> > >
> > >
> > Any decent text editor will count up words for you, as will Open
> > Office/Libre Office. I usually use TextWrangler.app (Mac OS,
> > freeware). Take your PDF, copy and paste the contents into a text
> > file, and you'll have an estimate. All estimates of word counts are
> > imprecise because of variable definitions of what a  "word" is.
> >
> > Maria
> 
> Hi Maria,
> 
> The one caveat with editor word counting, or for that matter piping the
> file into wc, is that you need to find a way to not count markup like
> \begin{standard}.
> 
> 
> You can use the detex utility for that:
> 
> $ man detex
> NAME
>detex - a filter to strip TeX commands from a .tex file.
> 
> That will not help you with the bibliography, however, if (as it sometimes 
> happens) you need to include references in the word count.
> 
> 
> Cheers,
> 
> Stefano

Couldn't one replace the inserted bibtex bibliography with the .bbl file that 
it generates and then do the word count?

Bruce



Restoring Window Size and Position

2013-06-13 Thread Bruce Pourciau
I have "Restore window layouts and geometries" checked in LyX 2.0.6 
preferences, but when I open a file in the morning, the window is half the size 
and re-positioned from how it was when the file was saved the day before. LyX 
does remember window size and position during the day while LyX is up and 
running. Is there a box I'm not checking?

Bruce

Re: Generating a bbl File

2013-05-26 Thread Bruce Pourciau

On May 9, 2013, at 4:33 PM, UD wrote:

> I repeat my request to activate this option by default, perhaps with a 
> warning (shown when the option is actually used) that there are problems with 
> multiple bibliographies.  My colleagues have often complained about the 
> ornate dance that is required to produce the Latex file with the content of 
> the .bbl file embedded in it.  Since this is a routine application (until 
> journals accept Lyx files, it must be faced each time you submit an article 
> to a journal), it would be very helpful to have it by default.
> 
> Ehud Kaplan
> 
> 
> On 05/03/2013 03:23 PM, Richard Heck wrote:
>> On 05/03/2013 02:37 PM, Bruce Pourciau wrote: 
>>> On May 3, 2013, at 1:04 PM, Richard Heck wrote: 
>>> 
>>>> On 05/03/2013 11:40 AM, Bruce Pourciau wrote: 
>>>>> Once a submitted paper has been accepted by a journal, one must replace 
>>>>> the BibTeX bibliography with a bbl file. What's the easiest way to do 
>>>>> this? I have instructions around someplace, but has this replacement 
>>>>> become more automatic (like PDF pdflatex with bbl, as an export option) 
>>>>> in the newest versions of LyX? 
>>>> There's an option to export "LaTeX (with Bib)", which includes the 
>>>> contents of the bbl file in the LaTeX file itself. Which is usually what 
>>>> they want. 
>>>> 
>>>> rh 
>>>> 
>>> I just updated to LyX 2.0.5.1, but do not see the export option LaTeX (with 
>>> bib). 
>> 
>> Sorry, I forgot, we do not enable it by default. 
>> 
>> There are instructions about how to get this in the file include_bib.py, 
>> which you will find in your LyX installation (e.g., at 
>> /usr/share/lyx/scripts/). The easiest thing to do is to open your 
>> preferences file and add these two lines: 
>> 
>> \format "ltxbib" "tex" "LaTeX (With Bib)" "" "" "" "document,menu=export" 
>> \converter "pdflatex" "ltxbib" "python -tt $$s/scripts/include_bib.py $$i 
>> $$o" "needaux" 
>> 
>> in the appropriate places, which should be obvious. 
>> 
>> Richard 
>> 


Personally, I wouldn't  need or wish to have exporting LaTeX with the bbl file 
be the default, but given that the bbl file must replace the bibtex 
bibliography every time one submits a paper for publication, it would indeed 
seem very useful to have Export > LaTeX (with bib) as a menu choice. How hard 
would this be?

Bruce

Re: Generating a bbl File

2013-05-03 Thread Bruce Pourciau

On May 3, 2013, at 2:23 PM, Richard Heck wrote:

> On 05/03/2013 02:37 PM, Bruce Pourciau wrote:
>> On May 3, 2013, at 1:04 PM, Richard Heck wrote:
>> 
>>> On 05/03/2013 11:40 AM, Bruce Pourciau wrote:
>>>> Once a submitted paper has been accepted by a journal, one must replace 
>>>> the BibTeX bibliography with a bbl file. What's the easiest way to do 
>>>> this? I have instructions around someplace, but has this replacement 
>>>> become more automatic (like PDF pdflatex with bbl, as an export option) in 
>>>> the newest versions of LyX?
>>> There's an option to export "LaTeX (with Bib)", which includes the contents 
>>> of the bbl file in the LaTeX file itself. Which is usually what they want.
>>> 
>>> rh
>>> 
>> I just updated to LyX 2.0.5.1, but do not see the export option LaTeX (with 
>> bib).
> 
> Sorry, I forgot, we do not enable it by default.
> 
> There are instructions about how to get this in the file include_bib.py, 
> which you will find in your LyX installation (e.g., at 
> /usr/share/lyx/scripts/). The easiest thing to do is to open your preferences 
> file and add these two lines:
> 
> \format "ltxbib" "tex" "LaTeX (With Bib)" "" "" "" "document,menu=export"
> \converter "pdflatex" "ltxbib" "python -tt $$s/scripts/include_bib.py $$i 
> $$o" "needaux"
> 
> in the appropriate places, which should be obvious.
> 
> Richard
> 


Many thanks, Richard

Re: Generating a bbl File

2013-05-03 Thread Bruce Pourciau

On May 3, 2013, at 1:04 PM, Richard Heck wrote:

> On 05/03/2013 11:40 AM, Bruce Pourciau wrote:
>> Once a submitted paper has been accepted by a journal, one must replace the 
>> BibTeX bibliography with a bbl file. What's the easiest way to do this? I 
>> have instructions around someplace, but has this replacement become more 
>> automatic (like PDF pdflatex with bbl, as an export option) in the newest 
>> versions of LyX?
> 
> There's an option to export "LaTeX (with Bib)", which includes the contents 
> of the bbl file in the LaTeX file itself. Which is usually what they want.
> 
> rh
> 

I just updated to LyX 2.0.5.1, but do not see the export option LaTeX (with 
bib).

Bruce

Re: Generating a bbl File

2013-05-03 Thread Bruce Pourciau

On May 3, 2013, at 1:04 PM, Richard Heck wrote:

> On 05/03/2013 11:40 AM, Bruce Pourciau wrote:
>> Once a submitted paper has been accepted by a journal, one must replace the 
>> BibTeX bibliography with a bbl file. What's the easiest way to do this? I 
>> have instructions around someplace, but has this replacement become more 
>> automatic (like PDF pdflatex with bbl, as an export option) in the newest 
>> versions of LyX?
> 
> There's an option to export "LaTeX (with Bib)", which includes the contents 
> of the bbl file in the LaTeX file itself. Which is usually what they want.
> 
> rh
> 

I guess I should update.

Generating a bbl File

2013-05-03 Thread Bruce Pourciau
Once a submitted paper has been accepted by a journal, one must replace the 
BibTeX bibliography with a bbl file. What's the easiest way to do this? I have 
instructions around someplace, but has this replacement become more automatic 
(like PDF pdflatex with bbl, as an export option) in the newest versions of LyX?

Bruce

Re: Palatino linotype in Lyx

2013-03-05 Thread Bruce Pourciau

On Mar 5, 2013, at 9:20 AM, ehud.kap...@gmail.com wrote:

> Since NIH now wants us to use Palatino Linotype (among several other, uglier 
> fonts), I tried to find it in the Lyx font list, but could only find 
> Palatino, which is apparently different from Palatino Linotype.  Where can I 
> find Palatino Linotype so I could add it to the Lyx font list?
> Thanks,
> 
> -- 
> Ehud Kaplan, 

Were you told that Palatino in the LyX font list is not Palatino Linotype? 
Inspected closely, the letter forms in LyX's Palatino look just like Palatino 
Linotype. The letter spacing could be different, but the letterforms themselves 
look right.

Bruce

BasicTeX and LyX

2012-11-05 Thread Bruce Pourciau
At home, in contrast to the office, I have used LyX in rather simple ways. 
Would it make sense to download BasicTeX onto our new computer at home, rather 
than the full version of MacTeX? Would this cause any problems for LyX?

Bruce

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

2012-04-12 Thread Bruce Pourciau


On Apr 11, 2012, at 2:46 PM, Liviu Andronic wrote:


On Wed, Apr 11, 2012 at 7:50 PM, Bill Foote  wrote:
Is there an easy way for me to get rid of the "You cannot ...  
Please read the
tutorial" message?  I know that typing two spaces that way doesn't  
change the
layout, and I'm more-or-less fine with LyX auto-deleting the  
space.  I'm
completely fine with TeX not changing the formatting based on  
"extra" spaces.
With all that said, I'd prefer that LyX stop nagging.  I know  
already!



Start ignoring it. :) This is what I did. Besides, it's a good idea to
always show it, so as to quickly and clearly explain new users what
happens and why. LyX cannot know whether the user typing _knows_ it
already or not.


I'm not going to adjust my typing style, because most of the time  
when I type,
putting two spaces after a period or some other punctuation is the  
right thing

to do.


Likely TeX/LaTeX would disagree.


The author of The Elements of Typographical Style, Robert Bringhurst,  
has this to say about putting two spaces after a period:


In the nineteenth century, which was a dark and inflationary age in  
typography and type design, many compositors were encouraged to  
stuff extra space between sentences. Generations of twentieth  
century typists were then taught to do the same, by hitting the  
spacebar twice after every period. Your typing as well as your  
typesetting will benefit from unlearning this quaint Victorian  
habit. As a general rule, no more than a single space is required  
after a period, colon or any other mark of punctuation.


LyX is just nudging you along the path of unlearning.

Bruce


Re: right align a block of text

2012-03-12 Thread Bruce Pourciau


On Mar 12, 2012, at 5:23 AM, Csikos Bela wrote:


PhilipPirrip  írta:



Is this possible in lyx?>

Everything that is possible in LaTeX is also possible in LyX.  
Therefore, >
asking on a LaTeX group would be a better option for you, I guess.  
The >

answer would be - yes, it is possible, but is it easy?>



Easiness is relative. I don't care if it is easy or not.


Moreover, these 'strange' formattings should be better done in >
LibreOffice, or even better in Scribus. Maybe you should ask  
yourself >

why do you need LaTeX and LyX after all.>

Well, I don't write official letters in scribus, and I changed to  
lyx from
office writers (LibreOffice, OpenOffice, MS Word) since it gives  
nicer output.

I don't see why this would be 'strange' format.
If I write an official letter, I want to put  the recipient's  
address in the

top left corner, and the sender's address in the top right corner.
And it would look ugly if the sender's address was staggered at the
inside; it also would be ugly if the sender's address block wasn't  
aligned.


bcsikos



Couldn't you use two tables, one left the other right aligned, with  
the table lines erased? I think the basic Letter class uses a table  
for the right aligned address at the top right of the letter.


Bruce



Re: Circumflex

2011-12-12 Thread Bruce Pourciau


On Dec 12, 2011, at 10:25 AM, Guenter Milde wrote:


On 2011-12-12, Bruce Pourciau wrote:

OK, I'm sure this must be a silly question, but why, when I enter in
ERT \ˆ{e}, to get a circumflex over the e, does my document stop  
being

viewable?


If the character you used in LyX is the same as here:

Character 'ˆ' (710, 0x2C6)
02C6MODIFIER LETTER CIRCUMFLEX ACCENT

it is because it is not the ASCII-circumflex

Character '^' (94, 0x5E)
005ECIRCUMFLEX ACCENT

and hence an unknown command.

Günter




Thank you, Günter. That's the problem. I formed the circumflex by  
doing option-i on a Mac keyboard, and this apparently produces  
character (710, 0x2C6), according to


http://homepage.mac.com/nellisks/tools/char_val.html?c=ˆ

Bruce

Re: Circumflex

2011-12-12 Thread Bruce Pourciau


On Dec 12, 2011, at 9:13 AM, Manolo Martínez wrote:


On 12/12/11 at 09:07am, Bruce Pourciau wrote:

OK, I'm sure this must be a silly question, but why, when I enter in
ERT \ˆ{e}, to get a circumflex over the e, does my document stop
being viewable?

Bruce


Why don't you enter ê in plain text? LyX (mine at least) takes care  
of that.


--


Yes, thank you, that works. But I still wonder about my question.

Bruce

Circumflex

2011-12-12 Thread Bruce Pourciau
OK, I'm sure this must be a silly question, but why, when I enter in  
ERT \ˆ{e}, to get a circumflex over the e, does my document stop being  
viewable?


Bruce

Re: LyX-Produced Book

2011-11-29 Thread Bruce Pourciau


On Nov 29, 2011, at 3:07 PM, Richard Heck wrote:



My book, /Frege's Theorem/, which was both written with and typeset  
from

LyX, has just recently been published by Oxford University Press. You
can have a look at the pages, if you wish, from its page on Amazon:
   http://www.amazon.com/Freges-Theorem-Richard-G-Heck/dp/0199695644/
LyX gets mentioned on p. xii, which seems currently to be part of the
"preview". The font is just New Century Schoolbook. The document class
was written by me to OUP's specifications and will go up on CTAN  
when I

get some time.

Thanks to everyone in the LyX community for such a great program, and
for all the help I got on the user's list when I was starting out!

Richard Heck



Nice to see that someone at my alma mater has been doing some serious  
work. Congratulations on a very nicely typeset and (I'm sure) very  
nicely argued book!


Bruce


Re: Beginner Tutorials

2011-10-28 Thread Bruce Pourciau


Does anyone know why, in the LyX Essentials


[1] https://sites.google.com/site/tsewiki/resources/latex


TeXShop is called a "popular alternative [to LyX] for Mac users"?

Bruce



Re: Capital letter

2011-10-21 Thread Bruce Pourciau


On Oct 21, 2011, at 6:58 AM, Helge Hafting wrote:

LaTeX knows that there should be more space after a period, in some  
languages. (And no such thing in some other languages).


Today, many (most?) typographers recommend just a single word space  
between sentences, except in languages where sentences begin with a  
lower case letter. Robert Bringhurst, the author of The Elements of  
Typographic Style, a book widely regarded as the typographer's bible,  
writes:


In the nineteenth century, which was a dark and inflationary age in  
typography and type design, many compositors were encouraged to  
stuff extra space between sentences. Generations of twentieth- 
century typists were then taught to do the same, by hitting the  
spacebar twice after every period. Your typing as well as your  
typesetting will benefit from unlearning this quaint Victorian  
habit. As a general rule, no more than a single space is required  
after a period, a colon or any other mark of punctuation. Larger  
spaces (e.g., en spaces) are themselves punctuation. The rule is  
usually altered, however, when setting classical Latin and Greek,  
Romanized Sanskrit, phonetics or other kinds of text in which  
sentences begin with lowercase letters. In the absence of a capital,  
a full en space (M/2) between sentences will generally be welcome.



I normally use the command \frenchspacing in the preamble to stop  
LaTeX from adding any extra space between sentences.


Bruce


Re: Comment on Part Page

2011-09-22 Thread Bruce Pourciau


On Sep 21, 2011, at 6:00 PM, Julien Rioux wrote:


On 22/09/2011 12:50 AM, Richard Heck wrote:

On 09/21/2011 02:11 PM, Bruce Pourciau wrote:

I have a colleague using book class who wants to place a comment on
the page labeled Part 1, but when he tries to do this, the comment
appears on the first page after the page labelled Chapter 1 of  
Part 1.

Does anyone have a suggestion?

This is controlled by the document class. You would have to modify  
the

book class in order to get such a comment to print on the Part page.
This isn't insanely hard to do, but one would have to decide exactly
what syntax to use, etc.

Richard




Exactly, it is not possible with the standard class. Short of  
writing the latex code for it, you could also use one of the latex  
classes that make such customization easy. I vaguely remember that  
the memoir class and koma-script classes will allow you to do what  
you want. Since I'm no expert, I can only suggest that you look at  
their documentation.


--
Julien




Thanks Julien and Richard. I'll pass your advice on.

Bruce


Comment on Part Page

2011-09-21 Thread Bruce Pourciau
I have a colleague using book class who wants to place a comment on  
the page labeled Part 1, but when he tries to do this, the comment  
appears on the first page after the page labelled Chapter 1 of Part 1.  
Does anyone have a suggestion?


Bruce


Author-Year-Page Citation Style

2011-08-14 Thread Bruce Pourciau
I have a document in the Article (Elsevier) class, with Natbib Author- 
Year selected under Bibliography and \usepackage{natbib} in the  
preamble. I have a bibtex generated bibliography using the .bst style  
file of the journal which is in the folder with my document.


The bibliography is coming out fine, but the citations in the text  
should be, say, [Newton, 1999, 407] and I'm getting a numerical style  
with no brackets: 12, 407.


LyX 1.6.5 on a Mac

Any suggestions would be welcome.

Bruce

P.S. I can live with a numerical style if I have to -- the journal  
will convert the numerical style to author-year (at least they did the  
last time) -- but I still would need the brackets: [12, 407], not just  
12, 407.





Re: Separating Paragraphs: Indentation vs Vertical Space

2011-06-15 Thread Bruce Pourciau


On Jun 15, 2011, at 2:09 AM, Guenter Milde wrote:


On 2011-06-14, Bruce Pourciau wrote:

...


This is just what I need. I've saved it as a LyX module. Thank you.
How do I get the separation to show up in LyX? I'm assuming the  
ParSep

1 won't make the separation show up, because for this article I have
Indentation checked in Text Layout. Should I replace ParSep 1 with
something else?


There are additional Keywords for space above and below the  
paragraph. See

Help>Customization.

Günter




Thanks, Günter.

Re: Separating Paragraphs: Indentation vs Vertical Space

2011-06-14 Thread Bruce Pourciau


On Jun 14, 2011, at 2:50 AM, Guenter Milde wrote:


On 2011-06-13, Bruce Pourciau wrote:


On Jun 10, 2011, at 3:42 PM, Guenter Milde wrote:



On 2011-06-10, Bruce Pourciau wrote:

At various spots within a document where paragraphs are separated
with indentation, I often have claims, propositions, laws, etc,  
which I

would like formatted flush left with some vertical space before and
after.


However, in your case you could consider to write a special Style for
your claims, propositions, laws ... that would take content and give
it the desired formatting.


Example:

Style Proposition
  LatexName proposition
  LatexType command
  ParSep1
  NextNoIndent  1
  Preamble
\providecommand{\proposition}[1]{\par
  \vskip 0.5\baselineskip
  \noindent #1
  \vskip 0.5\baselineskip
  \@afterindentfalse
  \@afterheading}
  EndPreamble
End


If the proposition (or ...) may contain more than one paragraph, the
Style should be defined as an environment and the second+ paragraphs
nested ...

See the section on new layouts in Help>Customization.

Günter



This is just what I need. I've saved it as a LyX module. Thank you.  
How do I get the separation to show up in LyX? I'm assuming the ParSep  
1 won't make the separation show up, because for this article I have  
Indentation checked in Text Layout. Should I replace ParSep 1 with  
something else?


Bruce

Re: Separating Paragraphs: Indentation vs Vertical Space

2011-06-13 Thread Bruce Pourciau


On Jun 10, 2011, at 3:42 PM, Guenter Milde wrote:


On 2011-06-10, Bruce Pourciau wrote:
At various spots within a document where paragraphs are separated  
with

indentation, I often have claims, propositions, laws, etc, which I
would like formatted flush left with some vertical space before and
after. For various reasons, I wish to avoid using the AMS theorem,
lemma, etc, environments to do this. I've been using soft returns
(command-return on a Mac) -- two above and two below -- but this
method results in too much vertical space around the assertion. I
could also use normal paragraphing, where I insert a \noindent and
adjust the vertical spacing above and below, but this seems
cumbersome. Any easier, more systematic methods for this?


How about the FancyBreak module?

(Save the code below in a file fancybreak.module in your LYXDIR,
reconfigure LyX and select via Document>Settings>Modules.
Then, a new paragraph style "Fancybreak" should appear in the drop
down list.


Günter


#\DeclareLyXModule{fancybreak}
#DescriptionBegin
# Define FancyBreak style for 'breaks' or 'transitions' between  
paragraphs.

#
# Separate pragraphs with some ornaments or simple vertical space.
# This is usually used for gaps in the narrative (also called a  
'transition'),

# e.g. love scenes left out in older novels
# or to start a new section without a section header
# (also called an 'anonymous section').
#DescriptionEnd

# Author: Günter Milde 

Format 11

# Modelled after the fancybreak in the memoir LaTeX document class.
# Changes: no starred version, 1/2 baselineskip above and below.

Style FancyBreak
   LatexName   fancybreak
LatexType   command
ParSep  1
NextNoIndent1
KeepEmpty   1# allow for plain break
Align   Center
AlignPossible   Center
LabelString "break"
LeftMargin  "break"
LabelType   Static
LabelSepx
LabelFont
  SeriesMedium
  Shape Italic
  Size  Small
  Color magenta
EndFont
   Preamble
 \providecommand{\fancybreak}[1]{\par
   \penalty -100
   \vskip 0.5\baselineskip
   \noindent\parbox{\linewidth}{\centering #1}\null
   \penalty -20
 %%  \vskip -\onelineskip
   \vskip 0.5\baselineskip
   \@afterindentfalse
   \@afterheading}
   EndPreamble
End



Günter, what if I need the the format of this fancy break text to be  
like the text after a section in the Article class: flush left (no  
indent) and justified, rather than centered. Then I should replace the  
choice "center" for Align and AlignPossible with ? And should I  
replace something in the Preamble part?


Bruce

Sudden Single Spacing

2011-06-13 Thread Bruce Pourciau
I'm writing a paper in the Elsevier class, with the option "review,"  
which produces extra space between lines, suitable for a manuscript  
submitted to a journal for review. But right in the middle of the  
document, the text suddenly becomes single spaced for a couple of  
paragraphs. In the source, the only odd thing I see is the comment, %  
Preview source code for paragraph 85, which appears just before the  
sudden single spacing begins.


Any thoughts?

Bruce


Re: Separating Paragraphs: Indentation vs Vertical Space

2011-06-13 Thread Bruce Pourciau


On Jun 10, 2011, at 3:42 PM, Guenter Milde wrote:


On 2011-06-10, Bruce Pourciau wrote:
At various spots within a document where paragraphs are separated  
with

indentation, I often have claims, propositions, laws, etc, which I
would like formatted flush left with some vertical space before and
after. For various reasons, I wish to avoid using the AMS theorem,
lemma, etc, environments to do this. I've been using soft returns
(command-return on a Mac) -- two above and two below -- but this
method results in too much vertical space around the assertion. I
could also use normal paragraphing, where I insert a \noindent and
adjust the vertical spacing above and below, but this seems
cumbersome. Any easier, more systematic methods for this?


How about the FancyBreak module?

(Save the code below in a file fancybreak.module in your LYXDIR,
reconfigure LyX and select via Document>Settings>Modules.
Then, a new paragraph style "Fancybreak" should appear in the drop
down list.


Günter


#\DeclareLyXModule{fancybreak}
#DescriptionBegin
# Define FancyBreak style for 'breaks' or 'transitions' between  
paragraphs.

#
# Separate pragraphs with some ornaments or simple vertical space.
# This is usually used for gaps in the narrative (also called a  
'transition'),

# e.g. love scenes left out in older novels
# or to start a new section without a section header
# (also called an 'anonymous section').
#DescriptionEnd

# Author: Günter Milde 

Format 11

# Modelled after the fancybreak in the memoir LaTeX document class.
# Changes: no starred version, 1/2 baselineskip above and below.

Style FancyBreak
   LatexName   fancybreak
LatexType   command
ParSep  1
NextNoIndent1
KeepEmpty   1# allow for plain break
Align   Center
AlignPossible   Center
LabelString "break"
LeftMargin  "break"
LabelType   Static
LabelSepx
LabelFont
  SeriesMedium
  Shape Italic
  Size  Small
  Color magenta
EndFont
   Preamble
 \providecommand{\fancybreak}[1]{\par
   \penalty -100
   \vskip 0.5\baselineskip
   \noindent\parbox{\linewidth}{\centering #1}\null
   \penalty -20
 %%  \vskip -\onelineskip
   \vskip 0.5\baselineskip
   \@afterindentfalse
   \@afterheading}
   EndPreamble
End



Perfect. Works like a charm. Thanks, Günter.

Separating Paragraphs: Indentation vs Vertical Space

2011-06-10 Thread Bruce Pourciau
At various spots within a document where paragraphs are separated with  
indentation, I often have claims, propositions, laws, etc, which I  
would like formatted flush left with some vertical space before and  
after. For various reasons, I wish to avoid using the AMS theorem,  
lemma, etc, environments to do this. I've been using soft returns  
(command-return on a Mac) -- two above and two below -- but this  
method results in too much vertical space around the assertion. I  
could also use normal paragraphing, where I insert a \noindent and  
adjust the vertical spacing above and below, but this seems  
cumbersome. Any easier, more systematic methods for this?


Bruce


Re: selecting fonts in xetex

2011-05-11 Thread Bruce Pourciau


On May 11, 2011, at 2:32 AM, Guenter Milde wrote:


How are math fonts selected?


By default, math fonts are not changed and still taken from the 8-bit
encoded CM fonts.

To configure math fonts, there are two options:


You could also, within LyX, use the mathpazo package: In Document  
Settings > Fonts choose Palatino and check Small Caps and Old Style  
figures. This gives you Zapf's lovely Palatino for text and symbols  
for mathematics that have been redrawn (Palatino'd) to blend well with  
the text.


Bruce



Re: Modifying the Elsevier Class

2011-04-18 Thread Bruce Pourciau


On Apr 15, 2011, at 2:59 PM, Richard Heck wrote:


On 04/15/2011 01:47 PM, Bruce Pourciau wrote:


The Elsevier document class

prints "Preprint submitted to Elsevier" and the date as footers
indents the first paragraph after a heading

What, if anything, can I put in the preamble to make the footers go  
away and to stop the first paragraph after a heading from indenting?



For the first, try giving the "final" option to the class.

For the second, try: \@afterindentfalse. If that doesn't quite work,  
mimic what's done in the indentfirst package:


\let\@afterindenttrue\@afterindentfalse
\@afterindentfalse

rh




Thanks, Richard. And Liviu, as well. Using


\let\@afterindenttrue\@afterindentfalse
\@afterindentfalse


does work. Haven't gotten rid of the "Preprint submitted to Elsevier"  
yet.


Bruce

Modifying the Elsevier Class

2011-04-15 Thread Bruce Pourciau

The Elsevier document class

prints "Preprint submitted to Elsevier" and the date as footers
indents the first paragraph after a heading

What, if anything, can I put in the preamble to make the footers go  
away and to stop the first paragraph after a heading from indenting?


Bruce

Re: Zapf typefaces in LaTeX (was: 'Re: No ligatures in Palatino?')

2011-04-11 Thread Bruce Pourciau


On Apr 8, 2011, at 6:04 PM, Liviu Andronic wrote:


Hey Bruce

On Fri, Apr 8, 2011 at 9:14 PM, Bruce Pourciau
 wrote:
Other faces designed by Herman Zapf would do as well -- such as  
Aldus or

Renaissance


As far as I understand, Aldus is a book weight version of Palatino,
hence more readable. Do you know if URW++ or TeX Gyre (or anyone else)
provide a free clone? I searched all places that I could think of, but
couldn't find anything.


Given that Aldus is a more book-friendly version of Palatino, it's odd  
that it isn't better known and more often used. I too cannot find a  
free clone of Aldus.




Also, could you please confirm if URW Antiqua [2] is _not_ a clone of
Zapf Renaissance Antiqua [5]? The former complements [4] URW Grotesque
[3]. If so, are you aware of a free clone of Renaissance?
[2] http://www.tug.dk/FontCatalogue/antiqua/
[3] http://www.tug.dk/FontCatalogue/grotesk/
[4] http://new.myfonts.com/fonts/urw/antiqua/?more
[5] http://new.myfonts.com/fonts/linotype/zapf-renaissance-antiqua/


URW Antigua, to my untrained eye, looks very little like Renaisssance.  
I'm afraid I don't know about any free clones of Renaissance.






-- except that they aren't burned into the memory of every
postscript printer, like Palatino.


Personally I like to use another Zapf design, Optima [1], as a sans
complement to Palatino.
[1] http://ctan.org/pkg/classico


Another possibility would be Syntax, designed by Hans Eduard Meier.

http://new.myfonts.com/search/syntax/fonts/

but again, there may be no free clone.

My bible for all things typographic is

Robert Bringhurst, The Elements of Typographic Style, now in its third  
edition.


Bruce



For those interested, from the Zapf series freely available in LaTeX
there's also URW Chancery and TeX Gyre Chorus [6], both clones of Zapf
Chancery, a calligraphical font.
[6] http://www.tug.dk/FontCatalogue/tgchorus/

Regards
Liviu




Re: No ligatures in Palatino?

2011-04-08 Thread Bruce Pourciau


On Apr 8, 2011, at 1:31 AM, Guenter Milde wrote:


Because there are no ligatures in Palatino -- by design.



This is one of the many, many reasons why the typographic world would  
be a prettier place if Word folks would use Palatino, rather than  
Times, as the default typeface. Not only then would documents all  
around the world have a more beautiful face, but they'd be sprinkled  
with elegance


fi ffi fl

rather than littered with collisions

fi ffi fl

Other faces designed by Herman Zapf would do as well -- such as Aldus  
or Renaissance -- except that they aren't burned into the memory of  
every postscript printer, like Palatino.


Bruce

Re: Editing Process

2011-04-02 Thread Bruce Pourciau


On Apr 2, 2011, at 4:05 PM, Guenter Milde wrote:


On 2011-04-02, Bruce Pourciau wrote:


Let me add this: The editors don't expect the author of a Word
submission to conduct the revision process in an unfamiliar file
format. I'm sure they go back and forth with Word files. But they are
trying to force me to conduct the editing process in an unfamiliar
file format, namely tex.


However, I suppose they clearly stated that they accept either LaTeX
or Word *before* you submitted your manuscript.

In both cases, the submission-format is used for the revision process.

I don't think it is fair to expect the editors to be familiar with  
any of
the many possible formats of some pre-processing state to generate  
either

of these (OpenOffice, LyX, some HTML2latex or HTML2Word converter,
Abiword, Docutils, ...). (Working with OpenOffice while the other side
uses Word can be a nightmare too.)

Günter



Very true, but shouldn't they be willing in this special case -- an  
author who submits a tex file, but who is not conversant with tex --  
to go "old school"?: they mark up the pdf, mail a photocopy or email a  
scanned copy to me, I make the revisions in LyX, then export tex and  
pdf files and send them back. Doesn't seem like too big a deal, and  
the result would be a more error-free article.


Bruce

Re: Editing Process

2011-04-02 Thread Bruce Pourciau


On Apr 2, 2011, at 2:13 PM, Steve Litt wrote:


On Saturday 02 April 2011 11:03:00 Julien Rioux wrote:

On 02/04/2011 9:55 AM, Bruce Pourciau wrote:
A journal has the tex file I exported from my lyx file. Their  
editing

process goes like this: they mark places in that tex file where they
want revisions, attach it to an email to me, I make the revisions in
that marked up tex file and send it back to them.

Now I'm comfortable working with LyX, but not at all comfortable  
working

with a tex file directly. I'm worried that I'll make errors in the
editing process and that it will take me much longer to make  
revisions,
if I have to work with the tex file directly. I know I can import  
the
tex file they send me -- a revision of the original tex file  
generated
by my lyx file -- but if I do this, make the changes they want in  
lyx,
and then export a tex file, can I be sure that this would result  
in the
same tex file that would have resulted from working directly on  
the tex

file they sent me?

A second question: this journal does accept Word file submissions,  
but

they much prefer tex files (naturally). I imagine that the editing
process is different for Word submissions, probably more like what I
would prefer: they tell me what they want changed, I make the  
changes in

LyX, and then send them a new tex file exported from my revised lyx
file, even if that exported tex file is different (due to the
import/export process, not just the revisions) from the tex file  
that

would have resulted from working on the tex file directly. In this
process, my lyx document is always the final say on the state of  
the ms
at any time, at least until I send them the final tex file at the  
end of

the process. I'm tempted to write back to the editors and say that I
want my manuscript to enjoy the editing process of a Word  
submission. Do

you think that's justified?

Bruce


Save yourself from the tex -> lyx -> tex cycle, as it is known to be
incomplete. So I see two ways forward (not counting the Word  
alternative)


1) Use your original LyX file. Always only modify the original LyX  
file,
and use .tex at the last stage (export). For this method, you will  
first
need to figure out what is different, between the .tex file you  
sent to

the editors, and the .tex file you received from them. Identify those
changes and make the same changes in your LyX file. Then identify the
things they want you to change, and make the changes in your LyX  
file.

When done, export to .tex and send the file.

2) Just go with editing the .tex file. At the editing stage, you will
only be changing a few sentences here and there anyway. If you need  
to
modify math formulas and are intimidated by this, fire up LyX with  
a new
file, write down how the formula should look like, open the  
View>Source

panel, and copy/paste to your .tex file.


3) Ask your editors if, just possibly, they might use LyX on their  
end. Who
knows, they might like it. For all the reasons you mention, if I  
were a
professional editor I'd HATE working directly in LaTeX, and I'd LOVE  
working
in LyX, always assuming I could agree with the author on which LyX  
version.


SteveT


Steve, Eberhard, Stefano, Julien, and Liviu,

Thank you for the suggestions! I'll have to ponder. What I'd really  
like is to go "old school": Have them mark up the pdf with a pen, send  
it to me, I make the revisions in the lyx file, export tex, send the  
tex file and a pdf to them with the changes. But I'm afraid they'll  
never agree. It's my name that's going to be on the article, so I want  
control. As it is, one editor has already made changes in the tex  
file, replacing italic used for emphasis with roman, which is fine,  
but he also did this for some theorem-like assertions, which is _not_  
fine, and it's hard for me to know that I've spotted all the changes I  
disagree with. His comments are marked with xx, which makes them easy  
to find, but these changes are not so marked. So I feel, even at this  
early stage of the process that I've lost control of my own ms! G.


Bruce


Re: Editing Process

2011-04-02 Thread Bruce Pourciau


On Apr 2, 2011, at 8:55 AM, Bruce Pourciau wrote:

A journal has the tex file I exported from my lyx file. Their  
editing process goes like this: they mark places in that tex file  
where they want revisions, attach it to an email to me, I make the  
revisions in that marked up tex file and send it back to them.


Now I'm comfortable working with LyX, but not at all comfortable  
working with a tex file directly. I'm worried that I'll make errors  
in the editing process and that it will take me much longer to make  
revisions, if I have to work with the tex file directly. I know I  
can import the tex file they send me -- a revision of the original  
tex file generated by my lyx file -- but if I do this, make the  
changes they want in lyx, and then export a tex file, can I be sure  
that this would result in the same tex file that would have resulted  
from working directly on the tex file they sent me?


A second question: this journal does accept Word file submissions,  
but they much prefer tex files (naturally). I imagine that the  
editing process is different for Word submissions, probably more  
like what I would prefer: they tell me what they want changed, I  
make the changes in LyX, and then send them a new tex file exported  
from my revised lyx file, even if that exported tex file is  
different (due to the import/export process, not just the revisions)  
from the tex file that would have resulted from working on the tex  
file directly. In this process, my lyx document is always the final  
say on the state of the ms at any time, at least until I send them  
the final tex file at the end of the process. I'm tempted to write  
back to the editors and say that I want my manuscript to enjoy the  
editing process of a Word submission. Do you think that's justified?


Bruce


Let me add this: The editors don't expect the author of a Word  
submission to conduct the revision process in an unfamiliar file  
format. I'm sure they go back and forth with Word files. But they are  
trying to force me to conduct the editing process in an unfamiliar  
file format, namely tex.


Bruce


Editing Process

2011-04-02 Thread Bruce Pourciau
A journal has the tex file I exported from my lyx file. Their editing  
process goes like this: they mark places in that tex file where they  
want revisions, attach it to an email to me, I make the revisions in  
that marked up tex file and send it back to them.


Now I'm comfortable working with LyX, but not at all comfortable  
working with a tex file directly. I'm worried that I'll make errors in  
the editing process and that it will take me much longer to make  
revisions, if I have to work with the tex file directly. I know I can  
import the tex file they send me -- a revision of the original tex  
file generated by my lyx file -- but if I do this, make the changes  
they want in lyx, and then export a tex file, can I be sure that this  
would result in the same tex file that would have resulted from  
working directly on the tex file they sent me?


A second question: this journal does accept Word file submissions, but  
they much prefer tex files (naturally). I imagine that the editing  
process is different for Word submissions, probably more like what I  
would prefer: they tell me what they want changed, I make the changes  
in LyX, and then send them a new tex file exported from my revised lyx  
file, even if that exported tex file is different (due to the import/ 
export process, not just the revisions) from the tex file that would  
have resulted from working on the tex file directly. In this process,  
my lyx document is always the final say on the state of the ms at any  
time, at least until I send them the final tex file at the end of the  
process. I'm tempted to write back to the editors and say that I want  
my manuscript to enjoy the editing process of a Word submission. Do  
you think that's justified?


Bruce


Re: Commenting Out Figures

2011-04-01 Thread Bruce Pourciau


On Apr 1, 2011, at 6:00 AM, Guenter Milde wrote:


On 2011-03-31, Liviu Andronic wrote:

On Thu, Mar 31, 2011 at 3:59 PM, Bruce Pourciau
 wrote:
A journal wants me to send them a zipped up folder which contains  
the figure
files, a pdf to tell them where the figures are to be placed, and  
the tex
file, with all LaTeX "includes" commented out and the figure  
captions
collected at the end. Is there something I can do from within LyX  
so my lyx

file will generate a tex file in which all the LaTeX "includes" are
commented out?



What about branches?


Yes. But I'd go for a less convoluted implementation:

You can use branch that contains only '%' in ERT and that you add  
right

in front of the figure includes. When compiling the normal document,
you disable the branch. When you need to comment out the figures, you
enable the branch.


This relies on the fact that the figure include maps to just one line
of source code.

Why not just put the figures (and all related material) into a branch
that is active by default but inactive for the generation of the
no-figures source?

Günter




Yes, this is exactly what I ended up doing, and it worked perfectly.

Bruce

Re: Commenting Out Figures

2011-03-31 Thread Bruce Pourciau


On Mar 31, 2011, at 10:09 AM, Liviu Andronic wrote:


On Thu, Mar 31, 2011 at 3:59 PM, Bruce Pourciau
 wrote:
A journal wants me to send them a zipped up folder which contains  
the figure
files, a pdf to tell them where the figures are to be placed, and  
the tex

file, with all LaTeX "includes" commented out and the figure captions
collected at the end. Is there something I can do from within LyX  
so my lyx

file will generate a tex file in which all the LaTeX "includes" are
commented out?


What about branches? You can use branch that contains only '%' in ERT
and that you add right in front of the figure includes. When compiling
the normal document, you disable the branch. When you need to comment
out the figures, you enable the branch.

Regards
Liviu


 Branches worked perfectly. Thanks, Liviu.


Commenting Out Figures

2011-03-31 Thread Bruce Pourciau
A journal wants me to send them a zipped up folder which contains the  
figure files, a pdf to tell them where the figures are to be placed,  
and the tex file, with all LaTeX "includes" commented out and the  
figure captions collected at the end. Is there something I can do from  
within LyX so my lyx file will generate a tex file in which all the  
LaTeX "includes" are commented out? Or is this something I have to do  
by working directly on the tex file?


And if the latter, then where exactly do I place the %?

Bruce


Re: Poll for the default icon theme in LyX 2.0

2011-03-31 Thread Bruce Pourciau





libreoffice





Re: REVTeX4 Again

2011-03-10 Thread Bruce Pourciau


On Mar 10, 2011, at 4:37 PM, Julien Rioux wrote:


On 10/03/2011 11:05 AM, Bruce Pourciau wrote:

I'm still having problems converting an Article class document (with
footnotes and citations) to a REVTeX4
(\documentclass[12pt,aps,prb,preprint]{revtex4}) document, where  
there

are no footnotes, but citations and comments appear together in
endnotes. I selected REVTeX4 and put the options  
12pt,aps,prb,preprint

into the Custom field.

But even trying to convert the simplest test document in the Article
class, I can't see how to get page numbers into a citation (using the
"text after" puts the page numbers into the body text, rather than  
the

endnote entry).



Yes, the behavior you mention is intended; "text after" is meant to  
appear in the text. If you want a page range to appear in your  
bibliography you would enter that info in your .bib file as in:


@ARTICLE{Dirac1928a,
 author = {Dirac, P. A. M.},
 title = {The Quantum Theory of the Electron},
 journal = {Proc. R. Soc. Lond. A},
 year = {1928},
 volume = {117},
 pages = {610--624},
 number = {778}
}

Also, if I cite the same article a second time, with page numbers  
this

time, I need the citation to appear as endnote 2, like this:

1 cited article
2 See Ref. 1, pp.2--4



(normally you would always have page numbers for an article, but  
maybe you mean a book)


One way to do this would be just to have an endnote with the text  
"See Ref. [cite ref 1], pp.2--4" in it.


Otherwise, you could use Bibtex to do it for you. Assume you had a  
book, and you refer to different chapters of the book. The usual  
approach is to have multiple @INBOOK entries in your .bib file with  
cross-references to a @BOOK entry:


@BOOK{Meier1984,
 booktitle = {Optical Orientation},
 year = {1984},
 editor = {F. Meier and B.~P. Zakharchenya}
}

@INBOOK{Dyakonov1984,
 author = {M.~I. D'yakonov and V.~I. Perel'},
 year = {1984},
 chapter = {2},
 pages = {15--71},
 crossref = {Meier1984}
}

@INBOOK{Pikus1984,
 author = {G.~E. Pikus and A.~N. Titkov},
 year = {1984},
 chapter = {3},
 pages = {73--131},
 crossref = {Meier1984}
}

etc.

Notice the crossref field. It allows Bibtex to fetch additional  
bibliographic information from the "parent", the actual book. If you  
reference a number (2, or more) of different chapters from the same  
book, Bibtex will automatically insert the book as entry 1. in your  
list of references and will have entries like


1. The book.
2. In Ref. 1, pp. 15--71.
3. In Ref. 1, pp. 73--131.

Of course you can also refer to the book directly, too.


To see the format I'm striving for, one could go to

http://ajp.aapt.org/resource/1/ajpias/v79/i3/p261_s1

and download the pdf of the short Dirac article. (no need for the
two-column at this point)

I'd really like to do the conversion from within LyX, because there  
will
be further editing which will be hard for me to manage if I have to  
make

those edits directly on the LaTeX file.

Any help or suggestions would be appreciated.

Bruce




--
Julien



Thank you, Julien. That's very helpful. But iyour description makes it  
seem like there's no way to make these formatting changes from within  
LyX, starting from a document already formatted in the Article class.  
Is that right?


If I were starting in LyX with a document in the class  
[12pt,aps,prb,preprint]{revtex4}, could one make that document follow  
the formatting you have described above, from within LyX?


Bruce

REVTeX4 Again

2011-03-10 Thread Bruce Pourciau
I'm still having problems converting an Article class document (with  
footnotes and citations) to a REVTeX4  
(\documentclass[12pt,aps,prb,preprint]{revtex4}) document, where there  
are no footnotes, but citations and comments appear together in  
endnotes. I selected REVTeX4 and put the options 12pt,aps,prb,preprint  
into the Custom field.


But even trying to convert the simplest test document in the Article  
class, I can't see how to get page numbers into a citation (using the  
"text after" puts the page numbers into the body text, rather than the  
endnote entry).


Also, if I cite the same article a second time, with page numbers this  
time, I need the citation to appear as endnote 2, like this:


1 cited article
2 See Ref. 1, pp.2--4

To see the format I'm striving for, one could go to

http://ajp.aapt.org/resource/1/ajpias/v79/i3/p261_s1

and download the pdf of the short Dirac article. (no need for the two- 
column at this point)


I'd really like to do the conversion from within LyX, because there  
will be further editing which will be hard for me to manage if I have  
to make those edits directly on the LaTeX file.


Any help or suggestions would be appreciated.

Bruce



Re: SV: RevTeX4 and prb

2011-03-08 Thread Bruce Pourciau


On Mar 8, 2011, at 2:39 PM, Ingar Pareliussen wrote:




\documentclass[12pt,aps,prb,preprint]{revtex4}

Presently the article is in the standard Article class with Plain
style. If I can make this change from within LyX, exactly how would I
do it? On LyX/Mac 1.6.5, TeXLive 2008.


Go to the menu Document->Settings --> Document class

Choose article(ReVTeX 4) from the document class drop down menu.

Remove the chosen predefined and copy into the Custom field:
12pt,aps,prb,preprint


I use a mix of citations in the text and endnotes, but the journal
puts all citations in the endnotes. Is there an efficient way to make
this change?


Sorry, can't help you here.Maybe somebody else can.

hth,

Ingar Pareliussen


I didn't realize that the options 12pt,aps,prb,preprint could be  
inserted in the custom field. Thank you. But now I get a bunch of  
Undefined control sequence errors. The commands


\doublespacing
\the endnotes
 \@endanenote

all create errors. That was the second time I tried to View > PDF  
(pdflatex). The first time I got a whole bunch of errors related to  
bibliographic items.


RevTeX4 and prb

2011-03-08 Thread Bruce Pourciau
An article submitted to a physics journal has reached the stage where  
they are asking for a specific document class and style, namely


\documentclass[12pt,aps,prb,preprint]{revtex4}

Presently the article is in the standard Article class with Plain  
style. If I can make this change from within LyX, exactly how would I  
do it? On LyX/Mac 1.6.5, TeXLive 2008.


I use a mix of citations in the text and endnotes, but the journal  
puts all citations in the endnotes. Is there an efficient way to make  
this change?


I'm a LyX user on a Mac and have never worked directly with a tex  
file, so I'd appreciate knowing how to handle this from within LyX,  
but if I can't, I can't.


Thanks for any assistance,

Bruce


Import LyX File

2011-02-13 Thread Bruce Pourciau
I attached a file created with LyX 1.5.7 at home to an email and sent  
it to my office, where it arrived with its LyX code displayed (with  
first line "#LyX 1.5.7 created this file" following five lines of  
Apple Mail content information). How do I open this file in LyX 1.6.5  
at my office?


Bruce


Re: Figure Float Label

2011-01-04 Thread Bruce Pourciau


On Jan 4, 2011, at 9:08 AM, Paul A. Rubin wrote:


On 1/4/2011 10:00 AM, Bruce Pourciau wrote:


The "Number Figures by Section" was _not_ in the selected box,  
but when I put it there, saved, and then took it out, all was well.
That's odd.  Was this document written using an earlier version of  
LyX?  (I'm wondering if lyx2lyx had to process it and did  
something odd.)


/Paul



No, LyX 1.6.5. But earlier on I did  do some switching around to  
various document classes, before I came back and settled on the  
basic article class. Perhaps that had some latent effect?
Sounds plausible, in which case I'd call it a bug, but probably one  
that is hard to reproduce.  You don't happen to remember which  
classes you tried, do you?  I was unable to reproduce in 1.6.6 -- I  
tried starting with article (AMS), which adds the offending module,  
then switching to article, but the Number Figures by Section module  
was still visibly selected after the switch.


To be clear, I don't think that retaining the module is the bug --  
that could easily be intended by the user.  Failing to display the  
module in the selected list would be the bug.


/Paul


I know I tried IEEETrans and RevTeX4, because they are both close to  
the format used in the journal  the article will appear in. I couldn't  
get it to compile in RevTeX4, perhaps because I had a bibtex generated  
bibliography and RevTeX4 seems to want all references in footnotes.


Bruce


Re: Figure Float Label

2011-01-04 Thread Bruce Pourciau


On Jan 3, 2011, at 5:25 PM, Paul A. Rubin wrote:


On 01/03/2011 05:38 PM, Bruce Pourciau wrote:



Thanks, Paul.

You're welcome.
The "Number Figures by Section" was _not_ in the selected box, but  
when I put it there, saved, and then took it out, all was well.
That's odd.  Was this document written using an earlier version of  
LyX?  (I'm wondering if lyx2lyx had to process it and did something  
odd.)


/Paul


No, LyX 1.6.5. But earlier on I did  do some switching around to  
various document classes, before I came back and settled on the basic  
article class. Perhaps that had some latent effect?


Copying From PDF

2011-01-04 Thread Bruce Pourciau
I have copied some passages from a pdf and pasted them into a LyX  
document. When I view this LyX document, the pasted in passages  
display some odd formatting: some lines extend beyond the margins and  
there seem to be extra spaces between some words. And the pasted in  
passages resist fixing.


Any advice?




Re: Figure Float Label

2011-01-03 Thread Bruce Pourciau


On Jan 2, 2011, at 10:49 AM, Paul A.Rubin wrote:


Bruce Pourciau  lawrence.edu> writes:



When I cross reference a figure float called Figure 2, the cross
reference yields 2.1 rather than 2. What am I doing wrong?


Have a look at Document > Settings... > Modules, and if "Number  
Figures by
Section" is in the "Selected:" box, highlight and delete it.  I  
think it gets
selected automagically with certain document classes, such as  
article (AMS).
With article (AMS), the figure is also numbered 2.1 (including in  
the GUI), so
I'm not positive that's what's going on with your document.  If not,  
try posting

a minimal example.

/Paul




Thanks, Paul. The "Number Figures by Section" was _not_ in the  
selected box, but when I put it there, saved, and then took it out,  
all was well.


Bruce


Figure Float Label

2011-01-01 Thread Bruce Pourciau
When I cross reference a figure float called Figure 2, the cross  
reference yields 2.1 rather than 2. What am I doing wrong?


Bruce


Re: Block Quotations in Letter Class

2010-12-17 Thread Bruce Pourciau


On Dec 15, 2010, at 9:26 AM, Richard Heck wrote:


On 12/15/2010 09:50 AM, Bruce Pourciau wrote:
Is there a simple (read simple-minded Mac user) way to get the  
basic Letter class to allow the Quote environment?


I wonder why we don't have that? I'll fix it. For now: Find the file  
letter.layout. Copy it to your local LyX directory, open it, and add  
the following:

   Input stdlayouts.inc
at the end of the series of Input commands.

Richard



Thanks, Richard. Works great.


Block Quotations in Letter Class

2010-12-15 Thread Bruce Pourciau
Is there a simple (read simple-minded Mac user) way to get the basic  
Letter class to allow the Quote environment?


Bruce


Re: Figure Numbering

2010-10-20 Thread Bruce Pourciau


On Oct 19, 2010, at 3:55 PM, Paul Rubin wrote:


Bruce Pourciau  lawrence.edu> writes:



I've looked at the manuals, but cannot find the answer to this
question: Using the Article class with unnumbered headings and
subheadings -- it's a relatively short paper, so there's no need to
number the headings -- the figures come out numbered Figure  0.1,
Figure 0.2, etc. Can I change this scheme so they are numbered Figure
1, Figure 2, etc?



Not for me.  Can you post a small example?  (You can omit the actual  
figures and

just put placeholder text in the floats.)

/Paul



For some reason -- perhaps because I had earlier switched this paper  
from Article to Article(AMS) and then back again -- three modules  
remained selected (Number Equations by Section, Number Figures by  
Section, and Theorem(AMS)) even when I switched back to the standard  
Article class. When I deleted those modules, the figures began  
numbering as desired: 1, 2, 


When you change the document class, say from Article(AMS) to Article,  
shouldn't the modules associated with the first class disappear?


Bruce


Figure Numbering

2010-10-19 Thread Bruce Pourciau
I've looked at the manuals, but cannot find the answer to this  
question: Using the Article class with unnumbered headings and  
subheadings -- it's a relatively short paper, so there's no need to  
number the headings -- the figures come out numbered Figure  0.1,  
Figure 0.2, etc. Can I change this scheme so they are numbered Figure  
1, Figure 2, etc?


Bruce


Re: Side By Side Graphics But One Caption

2010-10-19 Thread Bruce Pourciau


On Oct 19, 2010, at 8:48 AM, Paul A. Rubin wrote:


On 10/19/2010 9:36 AM, Bruce Pourciau wrote:
How can I insert two figures (graphics) side by side, but with just  
one
caption and figure number? I know from the Wiki how to have side by  
side
figures with two separate captions, either Figure 1 and 2 or  
Figures 1a
and 1b, but I'd prefer a single caption and figure number  
underneath the

two figures.



Insert a figure float, set the caption, and then just insert both  
graphics consecutively in the body of the float (with Insert >  
Graphics).  If you need to adjust their heights relative to each  
other (i.e., if they are not the same size), you can put each on in  
a box (minipage) and futz with the box settings until they line up  
correctly.


/Paul




Works great. Thanks, Paul.

Bruce


Side By Side Graphics But One Caption

2010-10-19 Thread Bruce Pourciau
How can I insert two figures (graphics) side by side, but with just  
one caption and figure number? I know from the Wiki how to have side  
by side figures with two separate captions, either Figure 1 and 2 or  
Figures 1a and 1b, but I'd prefer a single caption and figure number  
underneath the two figures.


Thanks,

Bruce


Marginal Note Format

2010-10-14 Thread Bruce Pourciau
I forgot, I also want the line spacing to be smaller than it is in the  
body text. I guess I want the Marginal Note to have the format of a  
footnote, except it should be ragged right, rather than justified.


Bruce

Expecting the default format for a Marginal Note to be ragged right  
(when it's in the right margin) and Small text size (like  
footnotes), I was surprised to see full justification, which  
produced huge spaces between words of course, and normal size text.  
How do I make my marginal notes ragged right and small text size,  
without applying this format to each individual marginal note?


Bruce


Marginal Note Format

2010-10-14 Thread Bruce Pourciau
Expecting the default format for a Marginal Note to be ragged right  
(when it's in the right margin) and Small text size (like footnotes),  
I was surprised to see full justification, which produced huge spaces  
between words of course, and normal size text. How do I make my  
marginal notes ragged right and small text size, without applying this  
format to each individual marginal note?


Bruce


Asterisk as Equation Label

2010-09-27 Thread Bruce Pourciau
This must be easy to do, but how can you label a displayed equation,  
not with a number, but with just an asterisk or star in parentheses? I  
don't need to be referring to my equations in general, but I do need  
to refer to one particular equation.


Bruce


Spacing Around Quote Environment

2010-09-24 Thread Bruce Pourciau
In the article class, the quote environment puts some extra space  
above and below the quotation to help separate it from the body text.  
In the article (AMS) class, though, the quote environment inserts no  
extra space, which would seem in conflict with normal typographic  
practice. What would be the right way to insert the extra vertical  
space?


Bruce


Re: lyx: Font derail (with semi-related ranting)

2010-08-12 Thread Bruce Pourciau


On Aug 11, 2010, at 6:31 PM, Rob Oakes wrote:

The letter forms of Palatino may be the most refined ever created.   
But,

I've never really been able to find a sans-serif and mono-spaced font
that matches well.  (At least not per my aesthetic taste.)  For that
reason, I don't use it often.


As a big fan of Robert Bringhurst's book The Elements of Typographic  
Style, I will follow him and suggest the sanserif typeface Syntax,  
designed by Hans Eduard Meier. Unlike most sanserifs, it is based on  
Renaissance forms like Garamond, as is Palatino. An illustration in  
his book shows how good it looks with Minion.


Bruce


Side by Side Figures Not Aligned

2010-08-02 Thread Bruce Pourciau
I have two figures (eps files) inserted as side by side graphics  
(directly, not in floats). Each lies in its own Box (Minipage), the  
boxes separated by a couple of \qquads. But one figure prints higher  
than the other, I suppose because the amount of space around the  
figure that's included in the file is not the same. What can I do to  
make the figures print on roughly the same horizontal line?


Bruce 


Re: Losing Lydia: A Simpler LyX Icon?

2010-08-02 Thread Bruce Pourciau


On Aug 1, 2010, at 7:06 PM, Jean-Marc Lasgouttes wrote:


Le 19 juil. 10 à 19:49, Pavel Sanda a écrit :

Bruce Pourciau wrote:

Looking at the icons in the dock of my Mac, it's hard not to notice
that
the LyX icon -- with Lydia sitting on top of the letters LyX --  
being

relatively complicated, is less readily identifiable and less
"graphic"


i guess you can relatively easy change the icon on your toolbar,
here are different ones http://wiki.lyx.org/LyX/Icons , choose the
one you like.
pavel


I think the right answer is that all installers should use the same
icon, with
several bitmap and svg versions.

JMarc


Then for simplicity and "graphic identity" I vote for the letters L y  
X alone, leaving Lydia out.


Bruce

Re: EPS Files Without Preview

2010-07-22 Thread Bruce Pourciau


On Jul 21, 2010, at 2:28 PM, Stephen Buonopane wrote:


On Jul 21, 2010, at 3:16 PM, Bruce Pourciau wrote:


In the past, inserting graphics in eps format has worked beautifully
in LyX, as long as the files were saved with no preview attached to
them. Eps files with a preview cause an error ("An error occurred
whilst running epstopdf"), and the pdf compiles with an empty space
where the figure should be. Someone has scanned in some figures for
me, cleaned them up (using In Design, I think), and then saved them
as eps files. They say they have saved them without any preview
attached, but when I insert them and try to view the document, I get
the same error I always have gotten when there's a preview.

Any thoughts? Could there be some kind of preview still attached?

Bruce



A few things to try...
1. If you are using pdflatex in LyX, then save the files from Adobe as
pdf instead of eps. I think this will avoid the preview issue
altogether.
2. In Adobe use Print to PDF or Print to Postscript instead of Save  
As.

3. From the terminal, try eps2eps or ps2ps on your file. This may
strip the preview.

Steve


Whenever I insert a figure file in pdf format into LyX it takes up a  
full page, even though I have the options set at a minimal bounding  
area. No idea why.


Bruce


Re: EPS Files Without Preview

2010-07-21 Thread Bruce Pourciau


On Jul 21, 2010, at 3:01 PM, Paul Rubin wrote:


Bruce Pourciau  lawrence.edu> writes:



Any thoughts? Could there be some kind of preview still attached?



EPS files are text files, so open one of the images in a text editor  
and look
for a block of binary nonsense.  I haven't done this in a while, but  
as I recall
the last time I did the preview was pretty unambiguous in its  
previewness.
(Unfortunately, I don't have a file with a preview handy on which to  
test this.)
If there is a preview and you can't see how to excise it manually,  
you might
try running ps2eps against the file with the -P option, which  
(allegedly) strips
out preview images.  (If you do that, you may also need to  
experiment with a few
other options.  For some reason, ps2eps likes to "fix" the bounding  
boxes in my

EPS files, and the fixed version is usually worse than the original.)

/Paul






Thanks, Paul. I'll experiment.

Bruce


Re: EPS Files Without Preview

2010-07-21 Thread Bruce Pourciau


On Jul 21, 2010, at 2:28 PM, Stephen Buonopane wrote:


On Jul 21, 2010, at 3:16 PM, Bruce Pourciau wrote:


In the past, inserting graphics in eps format has worked beautifully
in LyX, as long as the files were saved with no preview attached to
them. Eps files with a preview cause an error ("An error occurred
whilst running epstopdf"), and the pdf compiles with an empty space
where the figure should be. Someone has scanned in some figures for
me, cleaned them up (using In Design, I think), and then saved them
as eps files. They say they have saved them without any preview
attached, but when I insert them and try to view the document, I get
the same error I always have gotten when there's a preview.

Any thoughts? Could there be some kind of preview still attached?

Bruce



A few things to try...
1. If you are using pdflatex in LyX, then save the files from Adobe as
pdf instead of eps. I think this will avoid the preview issue
altogether.
2. In Adobe use Print to PDF or Print to Postscript instead of Save  
As.

3. From the terminal, try eps2eps or ps2ps on your file. This may
strip the preview.

Steve


Thanks for the advice, Steve. I would have them save the figure files  
in pdf format, asyou suggest, but I've always had size problems with  
pdf that I don't have with eps: the figure will take up a whole page  
-- lots of white space all around. With eps the figure takes up the  
minimal amount of space, without my having to do anything, so I don't  
have to worry about re-sizing anything. And the eps files produced by  
someone in the same office last year worked fine. So I'm not sure  
what's going on.


Bruce


EPS Files Without Preview

2010-07-21 Thread Bruce Pourciau
In the past, inserting graphics in eps format has worked beautifully  
in LyX, as long as the files were saved with no preview attached to  
them. Eps files with a preview cause an error ("An error occurred  
whilst running epstopdf"), and the pdf compiles with an empty space  
where the figure should be. Someone has scanned in some figures for  
me, cleaned them up (using In Design, I think), and then saved them as  
eps files. They say they have saved them without any preview attached,  
but when I insert them and try to view the document, I get the same  
error I always have gotten when there's a preview.


Any thoughts? Could there be some kind of preview still attached?

Bruce


Spellchecking on LyX/Mac

2010-07-21 Thread Bruce Pourciau
After going without a spellchecker for years on LyX/Mac, I'm ready to  
take the plunge. Reading about installing cocoAspell on the LyX Wiki  
made me nervous, though: sounds like it often fails to work, and it's  
unclear how recent the instructions are. Anyone out there with good  
spellchecking experiences with LyX and the Mac? I'm a Mac guy and not  
a Terminal guy, so installation needs to be pretty easy or I'm going  
to screw it up. I would just love some simple, step-by-step help.


Bruce
LyX 1.6.5 for Mac


Re: Endnotes Only, No Bibliography

2010-07-19 Thread Bruce Pourciau


On Jul 19, 2010, at 2:10 PM, Richard Heck wrote:


On 07/19/2010 02:31 PM, Bruce Pourciau wrote:

What if you've written a paper in the usual style, with citations
distinct from footnotes and a bibtex generated bibliography, but this
paper will ultimately be appearing in a book where the house style is
to have only endnotes and no bibliography: all bibliographic
information is given in the endnotes, in full form initially and then
using Ibid or some abbreviated form for later citations of the same  
work.


Is there a LyX or LaTeX way to automate the bibliographic information
with this style?

I've seen a few packages that do this. Jurabib has options for this  
kind
of thing. I'm not sure that's quite what you need, but try using it  
and

loading it with class options "super,ibidem". Maybe you get lucky. If
you need to do it more manually, try the bibentry package.

Richard



Thanks, Richard, I appreciate the help.

Bruce


Endnotes Only, No Bibliography

2010-07-19 Thread Bruce Pourciau
What if you've written a paper in the usual style, with citations  
distinct from footnotes and a bibtex generated bibliography, but this  
paper will ultimately be appearing in a book where the house style is  
to have only endnotes and no bibliography: all bibliographic  
information is given in the endnotes, in full form initially and then  
using Ibid or some abbreviated form for later citations of the same  
work.


Is there a LyX or LaTeX way to automate the bibliographic information  
with this style?


Bruce


Re: Losing Lydia: A Simpler LyX Icon?

2010-07-18 Thread Bruce Pourciau


On Jul 18, 2010, at 10:05 AM, Hellmut Weber wrote:


On 18.07.2010 14:39, John Kane wrote:



--- On Sat, 7/17/10, Richard Heck  wrote:


From: Richard Heck 
Subject: Re: Losing Lydia: A Simpler LyX Icon?
To: "Bruce Pourciau" 
Cc: "LyXFolks" 
Received: Saturday, July 17, 2010, 10:07 AM
On 07/17/2010 09:43 AM, Bruce
Pourciau wrote:

Looking at the icons in the dock of my Mac, it's hard

not to notice that the LyX icon -- with Lydia sitting on top
of the letters LyX -- being relatively complicated, is less
readily identifiable and less "graphic" than other icons.
Most icons are simpler, and more successful IMHO because of
that simplicity. Now I'm really fond of Lydia, and I
wouldn't want her to snap at me if she were to get dumped,
but what would LyX folks think about just using the letters
LyX alone (just the letters, no background even)? It would
be simple, graphically strong, but also unusuIal, since few
icons are the same as the name of the application. Just a
thought.



There is an older LyX icon that seems to turn up here for
some reason and that just has the letters, more or less.

rh

Is this a Mac thing?  In XP I just get a slightly garish, multi- 
coloured  LyX layout that is very easy to find. I had to go to the  
LyX website to see who Lydia is.




Same thing here on my gentoo linux box: the icon in the panel is just
the one appearing in the upper left corner od the www.lyx.org  
homepage ;-)


Very nice, highly suggestive and easy to identify

Cheers

Hellmut



It's odd then that it's different on the Mac. Even more reason --  
uniformity of "graphic identity" -- that the Mac icon should be just  
the letters LyX.


Bruce

Losing Lydia: A Simpler LyX Icon?

2010-07-17 Thread Bruce Pourciau
Looking at the icons in the dock of my Mac, it's hard not to notice  
that the LyX icon -- with Lydia sitting on top of the letters LyX --  
being relatively complicated, is less readily identifiable and less  
"graphic" than other icons. Most icons are simpler, and more  
successful IMHO because of that simplicity. Now I'm really fond of  
Lydia, and I wouldn't want her to snap at me if she were to get  
dumped, but what would LyX folks think about just using the letters  
LyX alone (just the letters, no background even)? It would be simple,  
graphically strong, but also unusual, since few icons are the same as  
the name of the application. Just a thought.


Bruce


Return to Previous Cursor Position

2010-07-07 Thread Bruce Pourciau
It would speed up my navigating, especially when I'm going back and  
forth in a long document, if I could return to the previous cursor  
position with a key combination. Is this possible?


Bruce
LyX/Mac 1.6.5


Re: Formatting numbered equations

2010-04-19 Thread Bruce Pourciau


On Apr 19, 2010, at 4:18 PM, Uwe Stöhr wrote:


Am 19.04.2010 22:57, schrieb Marshall Feldman:

(By the way in English there is no comma before the "and" if the  
part

after the "and" is the last enumeration in a sentence; like in
"A, B, C and D are letters.")


The following comes from the /Chicago Manual of Style/, 15th ed.,
section 6.18:

When a conjunction joins the last two elements in a series, a comma
-- known as the serial or series comma or the Oxford comma -- should
appear before the conjunction. Chicago strongly recommends this
widely practiced usage, blessed by Fowler and other authorities (see
bibliog. 1.2), since it prevents ambiguity.

Here's an example of what the CMS is talking about:

"The meal consisted of soup, salad, and macaroni and cheese."


I was saying the same. In your example there must be a comma before  
the

first "and" because there is a further "and" in the last course.
In your formulas case you have only 3 courses:
(1)
(2)
and
(3)

so that
(1)
(2)
, and
(3)

would be wrong, because there is only one course behind the "and" and
there is no further "and" inside the last course.

I recently had the same discussion with our English LyX manual proof
reader who's working for a publishing company.

regards Uwe


The advice given by the Chicago Manual of Style does not depend on  
there being a further "and" in the last course. To reduce the chance  
of ambiguity, they recommend inserting the Oxford comma whenever "a  
conjunction joins the last two elements in a series." Here's a  
humorous example in a book dedication (from wikipedia):


To my parents, Ayn Rand and God.
To my parents, Ayn Rand, and God.

But the Oxford comma can also introduce ambiguity:

My mother, Ayn Rand, and God.

In the punctuation world, there's no general agreement on the use of  
the Oxford comma, just various organizations going one way of the other.


Bruce











Footnote Symbol

2009-12-18 Thread Bruce Pourciau
A short document has just one footnote. Can I force the footnote  
symbol to be, say, a dagger?


Bruce


Re: Trouble with View PDF (pdflatex)

2009-12-04 Thread Bruce Pourciau


On Dec 4, 2009, at 12:55 PM, rgheck wrote:


On 12/04/2009 01:14 PM, Bruce Pourciau wrote:

When I select View PDF (pdflatex) for a document just created (by
making changes in an older document and doing Save As), I get this
error message:

File does not exist:
/var/folders/fM/fMVJAuudF3mykCC-YewvpGq6JHA/-Tmp-/lyx_tmpdir.JL1277/ 
lyx_tmpbuf0/O'HalloranJoe(PhDPhysics).pdf



This does not happen with other lyx files. Any help would be  
appreciated.



Is the single quote the problem?

rh



Yes, thank you, Richard. I should have remembered: the same thing  
happened to me a few years back.


Bruce


Trouble with View PDF (pdflatex)

2009-12-04 Thread Bruce Pourciau
When I select View PDF (pdflatex) for a document just created (by  
making changes in an older document and doing Save As), I get this  
error message:


File does not exist:
/var/folders/fM/fMVJAuudF3mykCC-YewvpGq6JHA/-Tmp-/lyx_tmpdir.JL1277/ 
lyx_tmpbuf0/O'HalloranJoe(PhDPhysics).pdf


This does not happen with other lyx files. Any help would be  
appreciated.


Bruce


Re: lyx and pdf fonts

2009-11-11 Thread Bruce Pourciau


On Nov 11, 2009, at 3:33 PM, Liviu Andronic wrote:


On 11/11/09, Pavel Sanda  wrote:

Guenter Milde wrote:

Suggestion:
 Would it be possible, to pre-select Latin Modern in the standard  
template?


unfortunately this is much more complex thing than it looks on the  
first sight.

http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg142386.html


Would it make sense for LyX to propose default settings based on
availability? For example, use LM if it is installed; otherwise, fall
back to the LaTeX default CM (or whichever it is).
Liviu


Would it make sense to have Palatino as the default? How universally  
is Palatino or a Palatino variant installed? The mathematical symbols  
that blend with Palatino would come from the mathpazo package.


Bruce


Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread Bruce Pourciau


On Oct 29, 2009, at 9:01 AM, rgheck wrote:


On 10/29/2009 09:03 AM, James C. Sutherland wrote:


On Oct 29, 2009, at 5:38 AM, Luca Carlon wrote:


Jan David Hauck  writes:



Referring to the recent discussion on LyX having problems on Snow
Leopard, I
can state, that the problem solved itself somehow. In fact LyX  
crashed

"really" one time (I think when I accidentally wanted to paste a
footnote
inside a footnote or something) but after that no more problems  
even

with
autosave enabled (and on 3 minutes). I made System Update recently
maybe
that fixed it. Anybody else resolved it?


I tried to turn off autosave but it seems there is a bug in turning
it off
(reported). Then I tried to set to 100 minutes the autosave  
interval,

so that I
could work without it somehow (seems to me there is a bug there too,
I had to
restart some times before 100 minutes were actually placed between
autosavings).
I still get the error message some times, but very rarely. Anyay, I
suppose the
bug is still there.



The bug is still there.  As far as I know there is not yet a solid  
fix

for this.  Bennet had been working on something, but I don't know if
he has finalized a fix yet...

A fix has been committed: disabling fork() on OSX. We don't know why  
it

suddenly stopped working, but it is a limitation of OSX itself.

rh



What about earlier versions, 1.6.3 for example, and snow leopard?

Bruce


Re: free Palatino Sans?

2009-10-27 Thread Bruce Pourciau


On Oct 26, 2009, at 6:34 PM, Liviu Andronic wrote:


On 10/26/09, Bruce Pourciau  wrote:
unserifed face like Futura. Now Palatino is based on Renaissance  
humanist
forms -- it looks like its written with a broad-nibbed pen -- and  
it would
not mix well with Futura, for example. But it might mix well with  
Syntax,

say, which is an unserifed face also based on Renaissance forms.


I think I found a good candidate. Looking on Wikipedia for Humanist
fonts [1], I stumbled upon Optima, originally designed by H. Zapf. The
Font Catalogue provides a clone  called URW Classico [2]. It is
shipped with TeX Live.
Liviu

[1] http://en.wikipedia.org/wiki/Humanist_sans-serif#Classification
[2] http://www.tug.dk/FontCatalogue/optima/


I've never tried Palatino and Optima together, but they have the same  
daddy (Zapf).


Bruce


Re: free Palatino Sans?

2009-10-26 Thread Bruce Pourciau


On Oct 26, 2009, at 2:08 PM, Rich Shepard wrote:


On Mon, 26 Oct 2009, Liviu Andronic wrote:


I am trying to figure which Sans and Typewritter fonts to use in
combination with Palatino (or the TeX Gyre Pagella extension).


Liviu,

  That's an interesting question. I use Palatino as my default  
typeface and
leave the sans and typewriter choices as 'default.' It has never  
been an
issue for me because Palatino is a serifed typeface and I had not  
assumed
that there was a san-serif version. In my documents I don't use a  
sans-serif

typeface, and the incidental code can be in any monospace typeface.

Rich


In his wonderful book The Elements of Typographical Style, Robert  
Bringhurst suggests "pair[ing] serifed and unserifed faces on the  
basis of their inner structure." And he goes on to give examples: one  
might pair a modern geometric serifed face like Berthold Bodoni with a  
geometric unserifed face like Futura. Now Palatino is based on  
Renaissance humanist forms -- it looks like its written with a broad- 
nibbed pen -- and it would not mix well with Futura, for example. But  
it might mix well with Syntax, say, which is an unserifed face also  
based on Renaissance forms.


Bruce


Re: Vertical spacing of matrices

2009-09-11 Thread Bruce Pourciau


On Sep 11, 2009, at 12:18 PM, Uwe Stöhr wrote:


Yago schrieb:


Respect to your second kindly comment, in the Spanish Navy Naval
Military School (I am Commander in the Spanish Navy, Hydrographer)  
the
brackets are omited in the notation to the half addition or  
difference

of trigonometrical functions because the formula,

sin1/2(A+B)

in purity is the product of sin1/2 (I suppose in radians) and the
addition of the angles A and B (also in radians).


There are strict rules in math how to typeset formulas.
sin1/2
means
sin*1/2
(when the "sin" would not be upright, it would even mean s*i*n*1/2)
So "sin" is in your typesetting a variable or an operator but not a  
function. A function has to have

an argument. For arguments round brackets are used:
sin(0.5(a+b))
When you have several levels of brackets it is allowed to use  
brackets for the outer ones:

sin[0.5(a+b)]
although this is quite unusual. Normally one uses larger round  
brackets for the outer level and

smaller ones for the inner level as explained in LyX's Math manual.
Reading
sin1/2(a+b)
I first thought that you mean
sqrt(sin(a+b))
although the 1/2 would then have to be set as superscript.

You definitively need a bracket behind sin and the like, no matter  
where you are working. Math is
the same all over the world and it is important that everybody can  
understand what you are writing.


regards Uwe


A mathematician would read sin1/2(A+B) as the sine of 1 divided by 2(A 
+B), unless, of course, the context -- say a navel military text --  
suggested a different reading. Uwe is right: mathematicians all agree  
on the typographical rules for typesetting and writing mathematics so  
there will be no ambiguity in communicating. But when the  
communication takes place within a closed world, like our navel  
military formula, I suppose that world can get away with having its  
own rules, for brevity say.


Bruce

Re: Find All and Emphasize

2009-08-13 Thread Bruce Pourciau


On Aug 13, 2009, at 10:30 AM, Erez Yerushalmi wrote:


Same idea as Richard's,

Open your .lyx file in another editor such as notepad++  and find  
and replace the WORD

with
\emph on WORD \emph default

I tried it and wit worked for me.

erez



On Wed, Aug 12, 2009 at 9:34 PM, Bruce Pourciau > wrote:
Is there a simple way to go back through a document and italicize  
(emphasize) all occurrences of a certain word?


Bruce


Thanks, Erez. That should save me some time.

Re: Find All and Emphasize

2009-08-13 Thread Bruce Pourciau


On Aug 12, 2009, at 5:38 PM, rgheck wrote:


On 08/12/2009 04:34 PM, Bruce Pourciau wrote:

Is there a simple way to go back through a document and italicize
(emphasize) all occurrences of a certain word?

Not within LyX itself. The best way to do it is to run a script of  
some

sort on the .lyx file. E.g.:

sed -e 's/ that / \n\n\\emph on\nthat\n\\emph default\n /g' < t.lyx  
>tt.lyx


is a dumb sed one-liner that almost does it.

rh



Thanks, Richard


Find All and Emphasize

2009-08-12 Thread Bruce Pourciau
Is there a simple way to go back through a document and italicize  
(emphasize) all occurrences of a certain word?


Bruce


Re: Go Away Drawer

2009-08-12 Thread Bruce Pourciau


On Aug 11, 2009, at 11:29 AM, Vincent van Ravesteijn - TNW wrote:



In LyX 1.6.3, how cam I make the Table of Contents drawer go away?


By pressing the small 'x' ?


Thanks, Vincent. Didn't see any small 'x', but unchecking Outline in  
the Document menu worked. I guess I was assuming that the drawer would  
be controlled in the View menu.


Bruce


Go Away Drawer

2009-08-11 Thread Bruce Pourciau
In LyX 1.6.3, how cam I make the Table of Contents drawer go away?  
Also, after I set the window size and position for one file, LyX 1.5.6  
would open all subsequent files in that window, but 1.6.3 opens some  
subsequent files (those it hasn't seen before) in a small window which  
I then have to resize. Any way to fix this?


Bruce


Re: Another Point to Consider in Your Writing

2009-07-17 Thread Bruce Pourciau


On Jul 17, 2009, at 11:47 AM, Eran Kaplinsky wrote:

Nothing wrong with New Century Schoolbook, but take a look at Minion  
for

book work. It is easy on the eyes, economical, and the LaTeX package
support is excellent, with small caps and choice of oldstyle or lining
figures, and more. It's already on your computer in OpenType, but for
publishing you might consider licensing the full package.

Eran



And of course there's Palatino, an elegant Roman and italic, designed  
by the great typographer Hermann Zapf. It too comes with old style  
figures and small caps. Wider than the skinny Times, Palatino is very  
readable at 11 pt. LyX has built-in support for Palatino, old style  
figures, small caps, and matching mathematical symbols.


Bruce


Re: Endnotes that Contains the References

2009-07-02 Thread Bruce Pourciau


On Jul 2, 2009, at 9:50 AM, BH wrote:


On Thu, Jul 2, 2009 at 10:42 AM, Bruce
Pourciau wrote:

Fellow LyXers,

In a volume to which I am contributing, each article ends with a  
set of
"Notes" in numerical order. When a note cites a reference for the  
first
time, it gives the full bibliographic information (what would  
normally be
given in the list of references). Ibid and loc cit are then used  
for later
citations of that reference in the notes. There is no separate list  
of
references, as all the bibliographic information is contained in  
the notes.


How does LyX/LaTeX handle this reference style? Do I have to type  
in the
full bibliographic information for every work cited, at least the  
initial
time it's cited, or is there there some automagic may of handling  
this? I

use BibDesk to store the reference information.


It looks like you should be using biblatex, which you can find here:

http://dante.ctan.org/indexes/macros/latex/exptl/biblatex/

The biblatex documentation is extensive and will explain what you need
to do to get full citations, ibid, and loc cit. (It comes with a
collection of styles, which may be all you need. Others have
contributed biblatex styles; you can find many of these here:

http://dante.ctan.org/tex-archive/macros/latex/exptl/biblatex-contrib/

Although LyX doesn't natively support biblatex, you can get it working
by following instructions on this page:

http://wiki.lyx.org/BibTeX/Biblatex

The only caution with all of this is that biblatex is a work in
progress, but many (including myself) have used it successfully.

Bennett


Thank you, Bennett. I'll take a look at biblatex.

Bruce


Endnotes that Contains the References

2009-07-02 Thread Bruce Pourciau

Fellow LyXers,

In a volume to which I am contributing, each article ends with a set  
of "Notes" in numerical order. When a note cites a reference for the  
first time, it gives the full bibliographic information (what would  
normally be given in the list of references). Ibid and loc cit are  
then used for later citations of that reference in the notes. There is  
no separate list of references, as all the bibliographic information  
is contained in the notes.


How does LyX/LaTeX handle this reference style? Do I have to type in  
the full bibliographic information for every work cited, at least the  
initial time it's cited, or is there there some automagic may of  
handling this? I use BibDesk to store the reference information.


Thanks.

Bruce
LyX/Mac 1.5.6


  1   2   3   4   >