Re: easiest way to type accents, graves, and other interesting letters

2008-02-05 Thread Abdelrazak Younes

rgheck wrote:


\bind C-apostrophe accent-acute
\bind C-S-quotedbl accent-umlaut

Note that, to get these to work, you may also need to change some 
earlier bindings. In cua.bind, I had to change:

\bind ~S-M-quotedblquote-insert single
\bind ~S-C-quotedblself-insert \
to
\bind M-quotedblquote-insert single
\bind C-quotedblself-insert \
The ~S means: Ignore the state of the shift key.


Could you commit those Richard?

Abdel.



Re: easiest way to type accents, graves, and other interesting letters

2008-02-05 Thread Jean-Marc Lasgouttes
Abdelrazak Younes [EMAIL PROTECTED] writes:

 rgheck wrote:
 Note that, to get these to work, you may also need to change some
 earlier bindings. In cua.bind, I had to change:
 \bind ~S-M-quotedblquote-insert single
 \bind ~S-C-quotedblself-insert \
 to
 \bind M-quotedblquote-insert single
 \bind C-quotedblself-insert \
 The ~S means: Ignore the state of the shift key.

 Could you commit those Richard?

Richard, why did you have to make this change? This should be correct.

JMarc


Re: First page customizing in koma-script

2008-02-05 Thread Michael Färber
Thanks a lot for your advice! The \extratitles stuff seems to be handy (yet 
hacky ;-), but I already got it working with Uwe's test LyX document - I just 
didn't have any time to reply till now. :-)


Have a nice day!
Michael Färber



On Mon, 4 Feb 2008 15:30:19 -0800 (PST)
David Hewitt [EMAIL PROTECTED] wrote:

 
 The Publisher environment does come in handy.
 
 You can also look into the Extratitle environment. I've found that you can
 put all sorts of stuff in one of those to make extra up-front pages (more
 than one even, just insert page breaks). They can replace the title page
 entirely and are more fine-tuneable, even if typographically awful.
 
 
 
  Michael Färber schrieb:
  Hey thanks, that did it! I was able to define everything now, except for
  an image under the title, and I haven't found how to do something like
  that in the documentation.
  
  Do you have any advice for me?
  
  Yes, ask on the koma-script community page:
  http://komascript.de
  Perhaps you also find something about your problems in their archive.
  
  Alternatively I attached an example with a title page containing an image.
  
 
 
 -
 David Hewitt
 Virginia Institute of Marine Science
 http://www.vims.edu/fish/students/dhewitt/
 -- 
 View this message in context: 
 http://www.nabble.com/First-page-customizing-in-koma-script-tp15245690p15280286.html
 Sent from the LyX - Users mailing list archive at Nabble.com.
 


Re: easiest way to type accents, graves, and other interesting letters

2008-02-05 Thread rgheck

Jean-Marc Lasgouttes wrote:

Abdelrazak Younes [EMAIL PROTECTED] writes:

  

rgheck wrote:


Note that, to get these to work, you may also need to change some
earlier bindings. In cua.bind, I had to change:
\bind ~S-M-quotedblquote-insert single
\bind ~S-C-quotedblself-insert \
to
\bind M-quotedblquote-insert single
\bind C-quotedblself-insert \
The ~S means: Ignore the state of the shift key.
  

Could you commit those Richard?



Richard, why did you have to make this change? This should be correct.

  

Yes, I agree, this looks like a bug. But try it this way:
\bind ~S-M-quotedbl quote-insert single
\bind ~S-C-quotedbl self-insert \
\bind S-M-apostrophe accent-acute
\bind S-C-quotedbl accent-umlaut
You can't make the accent work. But this does work:
\bind M-apostrophe quote-insert single
\bind S-M-apostropher self-insert \
\bind C-apostrophe accent-acute
\bind S-C-quotedbl accent-umlaut
I wonder if the problem isn't the apostrophe vs quotedbl bit somehow?

Richard



Re: easiest way to type accents, graves, and other interesting letters

2008-02-05 Thread G. Milde
On  5.02.08, Abdelrazak Younes wrote:
 rgheck wrote:
 \bind C-apostrophe accent-acute
 \bind C-S-quotedbl accent-umlaut
 Note that, to get these to work, you may also need to change some earlier 
 bindings. In cua.bind, I had to change:
 \bind ~S-M-quotedblquote-insert single
 \bind ~S-C-quotedblself-insert \
 to
 \bind M-quotedblquote-insert single
 \bind C-quotedblself-insert \
 The ~S means: Ignore the state of the shift key.

 Could you commit those Richard?

Please do not rush this through: On my German keyboard, the quotedbl () is
above the number 2, i.e. 

 \bind M-quotedblquote-insert single
 \bind C-quotedblself-insert \

would never be activated! How could I insert a verbatim  after these
changes?

Guenter


branches and child documents

2008-02-05 Thread G. Milde
Dear Lyx users,

I wonder how the new branches feature cooperates with including child
documents. Could someone with more profund knowledge confirm my observation
that

* if a child document defines (and activates) a branch, that is not defined
  in the parent, this branch will be
  
  - active in the child document,
  - not activate if the parent is compiled.
  
* The (de)activation of a similar named branch in the parent document
  overrides the setting in include child documents.
  
This would allow me to replace the current ifthen constructs with LyX
branches  :-)

GM


Re: easiest way to type accents, graves, and other interesting letters

2008-02-05 Thread rgheck

G. Milde wrote:

On  5.02.08, Abdelrazak Younes wrote:
  

rgheck wrote:


\bind C-apostrophe accent-acute
\bind C-S-quotedbl accent-umlaut
Note that, to get these to work, you may also need to change some earlier 
bindings. In cua.bind, I had to change:

\bind ~S-M-quotedblquote-insert single
\bind ~S-C-quotedblself-insert \
to
\bind M-quotedblquote-insert single
\bind C-quotedblself-insert \
The ~S means: Ignore the state of the shift key.
  


  

Could you commit those Richard?



Please do not rush this through: On my German keyboard, the quotedbl () is
above the number 2, i.e. 

  

\bind M-quotedblquote-insert single
\bind C-quotedblself-insert \
  


would never be activated! How could I insert a verbatim  after these
changes?

  
Nothing's being done immediately. Actually, it would help a lot if you 
could play around with the changes that have been suggested, namely:

\bind M-apostrophe quote-insert single
\bind S-M-quotedbl self-insert \
\bind C-apostrophe accent-acute
\bind S-C-quotedbl accent-umlaut
As you may also have seen, we think there may be a bug here somewhere, too.

rh



Double sided wrong siders anew family of lyx users

2008-02-05 Thread llewellyn

dear Uwe,
Several users of memoir class and I have been giving you
much agravation.
I have now worked out about a misunderstanding.
Your replies on the subject of left and right pages and bind margins are off 
course exactly correct.
What is happening is that the amateurs like myself actually want to
use the 
wide margin as a bind margin with those plastic strip binders you get to use 
in offices.
For it to look good I want the wider margin on the WRONG side, so
when I put 
my book into a home or office binder it looks professional.
It is actually a stupid vanity because the publisher of my book takes no 
notice of my page design and layout. They do it to their own professional 
standards.
Would you not be kind to us people who we will call Wrong Siders
and tell 
us how to set that margin so that we retain the defaults already in the 
settings of Memoir class,but cause it to wrong side the extra white space.
I would want the wider margin on odd pages to be at left of the text.
I try very hard to understand Latex and am slowly getting to it but
it is not 
for fools. We fools are clever enough to know we are fools so we do not mess 
with margins preset by the authors of Memoir class.
You would be most kind if you could give some code for us to
put in the
PREAMBLE to give us the wrong side feature we want.

LYX  made it possible for me to start writting novels. I have written over
500 
000 words already and many more to go. Latex and LYX makes it so easy to be 
creative and let the words flow through the keys without interruption.

To get our binders to look good we wrongsiders are printing page three on 
rear of page two and page one on obverse by itself so that pages one and two 
face each other when the bound up document is opened,

Authors want to write and print it down on a desk top HP then bind it with a 
plastic strip and send it to publishers, looking as good as it can so bound, 
That is why you are seeing so much all the time about this margin for page 
one.
How about posting it on Nabble for us

Great regards and sorry we drove you crazy
Llewellyn lee.
Ps once I have the facility I will save a template with it so that I do not 
have to mess up my standard Memoir class. I will call the template NOVEL.
all the people wanting this are writers of novels.
  End of encapsulated message
-- 
View this message in context: 
http://www.nabble.com/Double-sided-wrong-siders-anew-family-of-lyx-users-tp15294660p15294660.html
Sent from the LyX - Users mailing list archive at Nabble.com.



custom layout

2008-02-05 Thread Z. Bian
I am trying to write a book with lyx. The book is mostly tutorials with step by 
step instructions. For each step, I need to have step number, a block of text 
on left as instruction, and a image on right as figure showing what the 
instruction means.

I am currently using a custom list. For each item/step, I use two boxes within 
another box. This works ok, but too painful with the insertion of all the boxes 
and setting width etc.

Can I create a custom layout that I can simply insert into document that has 
two predefined fields for me to put in the text and figure, and it will layout 
the text and figure by passing the text and figure to a predefined latex class?

I can create a cuxtom layout that passes one item, but not two, to a latex 
class.

Is this possible?

Thanks.

Max



Re: Double sided wrong siders anew family of lyx users

2008-02-05 Thread rgheck

llewellyn wrote:

dear Uwe,
Several users of memoir class and I have been giving you
much agravation.
I have now worked out about a misunderstanding.
Your replies on the subject of left and right pages and bind margins are off 
course exactly correct.

What is happening is that the amateurs like myself actually want to
use the 
wide margin as a bind margin with those plastic strip binders you get to use 
in offices.

For it to look good I want the wider margin on the WRONG side, so
when I put 
my book into a home or office binder it looks professional.
It is actually a stupid vanity because the publisher of my book takes no 
notice of my page design and layout. They do it to their own professional 
standards.

Would you not be kind to us people who we will call Wrong Siders
and tell 
us how to set that margin so that we retain the defaults already in the 
settings of Memoir class,but cause it to wrong side the extra white space.

I would want the wider margin on odd pages to be at left of the text.
  
Uwe probably knows the answer to this. He is the source of all LaTeX 
knowledge. ;-) But if you want to figure this out, look in section 6.4 
of the memoir manual. The terminology here is different from what you 
usually see. Memoir calls the inner margin the spinemargin and the 
outer margin the foredge, and it provides two ways to set these. So 
one way to do this is to play with \setrlmarginsandblock and 
\setrlmargins. It's probably the former you want, and if you want to set 
inner and outer margins directly, then the formula is:

   \setlrmarginsandblock{INNER}{OUTER}{*}
Your page size has to be set already---which it presumably is---and this 
will set the width of the text area to be \pagewidth - \spinemargin - 
\foredge, which is what you'd expect.


Probably the better way to do this would be to play with \stocksize and 
\paperwidth, etc. The stocksize is the width of what you're printing on. 
The paperwidth is supposed to be how wide the paper is after its 
trimmed. You're not trimming, but you can pretend you are, and use the 
trimmed bit as binding width.


So something like this:
\usepackage{calc} % let's us do minus
\newlength{\bindingwidth}
\setlength\bindingwidth{2cm} % for example
\settrimmedsize{\stockheight}{\stockwidth - \bindingwidth}
\settrims{0cm}{0cm} %this forces all the extra width to the inner 
edge...I think
Something like that will work---I haven't tested it---and is more in the 
spirit of the package.


Richard



Re: custom layout

2008-02-05 Thread rgheck

Z. Bian wrote:

I am trying to write a book with lyx. The book is mostly tutorials with step by 
step instructions. For each step, I need to have step number, a block of text 
on left as instruction, and a image on right as figure showing what the 
instruction means.

I am currently using a custom list. For each item/step, I use two boxes within 
another box. This works ok, but too painful with the insertion of all the boxes 
and setting width etc.

Can I create a custom layout that I can simply insert into document that has 
two predefined fields for me to put in the text and figure, and it will layout 
the text and figure by passing the text and figure to a predefined latex class?

I can create a cuxtom layout that passes one item, but not two, to a latex 
class.
  
This is a shortcoming of LyX, one I'd love to remedy. But here's a hack: 
Define your layout so that it calls a two-argument command. Then, in ERT 
at the very beginning of each one, put: {whatever you want}, as your 
first argument.


Other way: Make the first argument optional, turn on optional arguments 
in the layout, and then put your first argument in the misnamed short 
title inset (under Insert).



Richard



Fonts for Lyx

2008-02-05 Thread John Culleton
I use a variety of fonts with e.g. pdftex or Context. But when I fire up Lyx I 
find about five available.  What can be done to make my additional fonts, 
some of which are purchased, available to Lyx?

I use Slackware Linux and Lyx 1.5.1. Is the answer to the above different for 
Windows users? 
-- 
John Culleton
Resources for every author and publisher:
http://wexfordpress.com/tex/shortlist.pdf
http://wexfordpress.com/tex/packagers.pdf
http://www.creativemindspress.com/newbiefaq.htm
http://www.gropenassoc.com/TopLevelPages/reference%20desk.htm


Re: Double sided wrong siders anew family of lyx users

2008-02-05 Thread Typhoon
On Tue, 05 Feb 2008 13:22:03 -0500
rgheck [EMAIL PROTECTED] wrote:

 llewellyn wrote:
  dear Uwe,
SNIP

 
 So something like this:
 \usepackage{calc} % let's us do minus
 \newlength{\bindingwidth}
 \setlength\bindingwidth{2cm} % for example
 \settrimmedsize{\stockheight}{\stockwidth - \bindingwidth}
 \settrims{0cm}{0cm} %this forces all the extra width to the inner 
 edge...I think
 Something like that will work---I haven't tested it---and is more in
 the spirit of the package.

This is what I did to change margins using the Memoir class:

\setstocksize{9in}{6in}
\settrimmedsize{\stockheight}{\stockwidth}


\setlrmargins{1.2in}{*}{*}

\checkandfixthelayout

This last item is the gotcha: the changed settings will not take
effect unless you include it.

Alan


 
 Richard
 
 


How to remove a line from multiline equation?

2008-02-05 Thread Manoj Rajagopalan

Hi all,

  If I make a mistake in one line then I don't seem to be able to 
remove that line even if I remove all the contents in the cells that lyx 
creates for the LHS, the =, and the RHS for that line.


  Is there a better way than to create a new multiline equation and 
copy over all lines except the invalid ones?


Thanks,
Manoj


Re: How to remove a line from multiline equation?

2008-02-05 Thread Manoj Rajagopalan

Hi all,

  sorry for the trouble, I figured it out. I spotted the remove row 
button for tables and that works.


-- Manoj


Manoj Rajagopalan wrote:

Hi all,

  If I make a mistake in one line then I don't seem to be able to remove 
that line even if I remove all the contents in the cells that lyx 
creates for the LHS, the =, and the RHS for that line.


  Is there a better way than to create a new multiline equation and copy 
over all lines except the invalid ones?


Thanks,
Manoj




Re: Bibliography style

2008-02-05 Thread Paul A. Rubin

[EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] wrote:


Hi everybody !!

Does anybody know id exists an editor for .bst files (bibliographic style
files ?



What do you mean by editor : a graphical interface to create a custom bst
file by pointclick. That does not exist.

There is a latex package called custombib that will create a custom bst file
by asking you questions but it is rather limited. If you are looking for a
bst style for a specific journal, there is a database on the internet :
http://jo.irisson.free.fr/bstdatabase/



The custombib package not only creates a .bst file, it records the 
instructions to generate the .bst file in a file with a .dbj extension. 
 If you have the .dbj file from a customized .bst file, you can edit 
the .dbj (it essentially contains the prompts and responses to the 
interview that custombib conducts in designing your style) and recompile 
the .bst file with modifications, without going through the entire 
interview again.


If you need to tweak something in the .bst file that is not covered by 
custombib, you have to edit the .bst file directly in a text editor.  (I 
had to do this once, with guidance kindly provided by people on the list.)


/Paul



Re: easiest way to type accents, graves, and other interesting letters

2008-02-05 Thread Abdelrazak Younes

rgheck wrote:


\bind C-apostrophe accent-acute
\bind C-S-quotedbl accent-umlaut

Note that, to get these to work, you may also need to change some 
earlier bindings. In cua.bind, I had to change:

\bind ~S-M-quotedblquote-insert single
\bind ~S-C-quotedblself-insert \
to
\bind M-quotedblquote-insert single
\bind C-quotedblself-insert \
The ~S means: Ignore the state of the shift key.


Could you commit those Richard?

Abdel.



Re: easiest way to type accents, graves, and other interesting letters

2008-02-05 Thread Jean-Marc Lasgouttes
Abdelrazak Younes [EMAIL PROTECTED] writes:

 rgheck wrote:
 Note that, to get these to work, you may also need to change some
 earlier bindings. In cua.bind, I had to change:
 \bind ~S-M-quotedblquote-insert single
 \bind ~S-C-quotedblself-insert \
 to
 \bind M-quotedblquote-insert single
 \bind C-quotedblself-insert \
 The ~S means: Ignore the state of the shift key.

 Could you commit those Richard?

Richard, why did you have to make this change? This should be correct.

JMarc


Re: First page customizing in koma-script

2008-02-05 Thread Michael Färber
Thanks a lot for your advice! The \extratitles stuff seems to be handy (yet 
hacky ;-), but I already got it working with Uwe's test LyX document - I just 
didn't have any time to reply till now. :-)


Have a nice day!
Michael Färber



On Mon, 4 Feb 2008 15:30:19 -0800 (PST)
David Hewitt [EMAIL PROTECTED] wrote:

 
 The Publisher environment does come in handy.
 
 You can also look into the Extratitle environment. I've found that you can
 put all sorts of stuff in one of those to make extra up-front pages (more
 than one even, just insert page breaks). They can replace the title page
 entirely and are more fine-tuneable, even if typographically awful.
 
 
 
  Michael Färber schrieb:
  Hey thanks, that did it! I was able to define everything now, except for
  an image under the title, and I haven't found how to do something like
  that in the documentation.
  
  Do you have any advice for me?
  
  Yes, ask on the koma-script community page:
  http://komascript.de
  Perhaps you also find something about your problems in their archive.
  
  Alternatively I attached an example with a title page containing an image.
  
 
 
 -
 David Hewitt
 Virginia Institute of Marine Science
 http://www.vims.edu/fish/students/dhewitt/
 -- 
 View this message in context: 
 http://www.nabble.com/First-page-customizing-in-koma-script-tp15245690p15280286.html
 Sent from the LyX - Users mailing list archive at Nabble.com.
 


Re: easiest way to type accents, graves, and other interesting letters

2008-02-05 Thread rgheck

Jean-Marc Lasgouttes wrote:

Abdelrazak Younes [EMAIL PROTECTED] writes:

  

rgheck wrote:


Note that, to get these to work, you may also need to change some
earlier bindings. In cua.bind, I had to change:
\bind ~S-M-quotedblquote-insert single
\bind ~S-C-quotedblself-insert \
to
\bind M-quotedblquote-insert single
\bind C-quotedblself-insert \
The ~S means: Ignore the state of the shift key.
  

Could you commit those Richard?



Richard, why did you have to make this change? This should be correct.

  

Yes, I agree, this looks like a bug. But try it this way:
\bind ~S-M-quotedbl quote-insert single
\bind ~S-C-quotedbl self-insert \
\bind S-M-apostrophe accent-acute
\bind S-C-quotedbl accent-umlaut
You can't make the accent work. But this does work:
\bind M-apostrophe quote-insert single
\bind S-M-apostropher self-insert \
\bind C-apostrophe accent-acute
\bind S-C-quotedbl accent-umlaut
I wonder if the problem isn't the apostrophe vs quotedbl bit somehow?

Richard



Re: easiest way to type accents, graves, and other interesting letters

2008-02-05 Thread G. Milde
On  5.02.08, Abdelrazak Younes wrote:
 rgheck wrote:
 \bind C-apostrophe accent-acute
 \bind C-S-quotedbl accent-umlaut
 Note that, to get these to work, you may also need to change some earlier 
 bindings. In cua.bind, I had to change:
 \bind ~S-M-quotedblquote-insert single
 \bind ~S-C-quotedblself-insert \
 to
 \bind M-quotedblquote-insert single
 \bind C-quotedblself-insert \
 The ~S means: Ignore the state of the shift key.

 Could you commit those Richard?

Please do not rush this through: On my German keyboard, the quotedbl () is
above the number 2, i.e. 

 \bind M-quotedblquote-insert single
 \bind C-quotedblself-insert \

would never be activated! How could I insert a verbatim  after these
changes?

Guenter


branches and child documents

2008-02-05 Thread G. Milde
Dear Lyx users,

I wonder how the new branches feature cooperates with including child
documents. Could someone with more profund knowledge confirm my observation
that

* if a child document defines (and activates) a branch, that is not defined
  in the parent, this branch will be
  
  - active in the child document,
  - not activate if the parent is compiled.
  
* The (de)activation of a similar named branch in the parent document
  overrides the setting in include child documents.
  
This would allow me to replace the current ifthen constructs with LyX
branches  :-)

GM


Re: easiest way to type accents, graves, and other interesting letters

2008-02-05 Thread rgheck

G. Milde wrote:

On  5.02.08, Abdelrazak Younes wrote:
  

rgheck wrote:


\bind C-apostrophe accent-acute
\bind C-S-quotedbl accent-umlaut
Note that, to get these to work, you may also need to change some earlier 
bindings. In cua.bind, I had to change:

\bind ~S-M-quotedblquote-insert single
\bind ~S-C-quotedblself-insert \
to
\bind M-quotedblquote-insert single
\bind C-quotedblself-insert \
The ~S means: Ignore the state of the shift key.
  


  

Could you commit those Richard?



Please do not rush this through: On my German keyboard, the quotedbl () is
above the number 2, i.e. 

  

\bind M-quotedblquote-insert single
\bind C-quotedblself-insert \
  


would never be activated! How could I insert a verbatim  after these
changes?

  
Nothing's being done immediately. Actually, it would help a lot if you 
could play around with the changes that have been suggested, namely:

\bind M-apostrophe quote-insert single
\bind S-M-quotedbl self-insert \
\bind C-apostrophe accent-acute
\bind S-C-quotedbl accent-umlaut
As you may also have seen, we think there may be a bug here somewhere, too.

rh



Double sided wrong siders anew family of lyx users

2008-02-05 Thread llewellyn

dear Uwe,
Several users of memoir class and I have been giving you
much agravation.
I have now worked out about a misunderstanding.
Your replies on the subject of left and right pages and bind margins are off 
course exactly correct.
What is happening is that the amateurs like myself actually want to
use the 
wide margin as a bind margin with those plastic strip binders you get to use 
in offices.
For it to look good I want the wider margin on the WRONG side, so
when I put 
my book into a home or office binder it looks professional.
It is actually a stupid vanity because the publisher of my book takes no 
notice of my page design and layout. They do it to their own professional 
standards.
Would you not be kind to us people who we will call Wrong Siders
and tell 
us how to set that margin so that we retain the defaults already in the 
settings of Memoir class,but cause it to wrong side the extra white space.
I would want the wider margin on odd pages to be at left of the text.
I try very hard to understand Latex and am slowly getting to it but
it is not 
for fools. We fools are clever enough to know we are fools so we do not mess 
with margins preset by the authors of Memoir class.
You would be most kind if you could give some code for us to
put in the
PREAMBLE to give us the wrong side feature we want.

LYX  made it possible for me to start writting novels. I have written over
500 
000 words already and many more to go. Latex and LYX makes it so easy to be 
creative and let the words flow through the keys without interruption.

To get our binders to look good we wrongsiders are printing page three on 
rear of page two and page one on obverse by itself so that pages one and two 
face each other when the bound up document is opened,

Authors want to write and print it down on a desk top HP then bind it with a 
plastic strip and send it to publishers, looking as good as it can so bound, 
That is why you are seeing so much all the time about this margin for page 
one.
How about posting it on Nabble for us

Great regards and sorry we drove you crazy
Llewellyn lee.
Ps once I have the facility I will save a template with it so that I do not 
have to mess up my standard Memoir class. I will call the template NOVEL.
all the people wanting this are writers of novels.
  End of encapsulated message
-- 
View this message in context: 
http://www.nabble.com/Double-sided-wrong-siders-anew-family-of-lyx-users-tp15294660p15294660.html
Sent from the LyX - Users mailing list archive at Nabble.com.



custom layout

2008-02-05 Thread Z. Bian
I am trying to write a book with lyx. The book is mostly tutorials with step by 
step instructions. For each step, I need to have step number, a block of text 
on left as instruction, and a image on right as figure showing what the 
instruction means.

I am currently using a custom list. For each item/step, I use two boxes within 
another box. This works ok, but too painful with the insertion of all the boxes 
and setting width etc.

Can I create a custom layout that I can simply insert into document that has 
two predefined fields for me to put in the text and figure, and it will layout 
the text and figure by passing the text and figure to a predefined latex class?

I can create a cuxtom layout that passes one item, but not two, to a latex 
class.

Is this possible?

Thanks.

Max



Re: Double sided wrong siders anew family of lyx users

2008-02-05 Thread rgheck

llewellyn wrote:

dear Uwe,
Several users of memoir class and I have been giving you
much agravation.
I have now worked out about a misunderstanding.
Your replies on the subject of left and right pages and bind margins are off 
course exactly correct.

What is happening is that the amateurs like myself actually want to
use the 
wide margin as a bind margin with those plastic strip binders you get to use 
in offices.

For it to look good I want the wider margin on the WRONG side, so
when I put 
my book into a home or office binder it looks professional.
It is actually a stupid vanity because the publisher of my book takes no 
notice of my page design and layout. They do it to their own professional 
standards.

Would you not be kind to us people who we will call Wrong Siders
and tell 
us how to set that margin so that we retain the defaults already in the 
settings of Memoir class,but cause it to wrong side the extra white space.

I would want the wider margin on odd pages to be at left of the text.
  
Uwe probably knows the answer to this. He is the source of all LaTeX 
knowledge. ;-) But if you want to figure this out, look in section 6.4 
of the memoir manual. The terminology here is different from what you 
usually see. Memoir calls the inner margin the spinemargin and the 
outer margin the foredge, and it provides two ways to set these. So 
one way to do this is to play with \setrlmarginsandblock and 
\setrlmargins. It's probably the former you want, and if you want to set 
inner and outer margins directly, then the formula is:

   \setlrmarginsandblock{INNER}{OUTER}{*}
Your page size has to be set already---which it presumably is---and this 
will set the width of the text area to be \pagewidth - \spinemargin - 
\foredge, which is what you'd expect.


Probably the better way to do this would be to play with \stocksize and 
\paperwidth, etc. The stocksize is the width of what you're printing on. 
The paperwidth is supposed to be how wide the paper is after its 
trimmed. You're not trimming, but you can pretend you are, and use the 
trimmed bit as binding width.


So something like this:
\usepackage{calc} % let's us do minus
\newlength{\bindingwidth}
\setlength\bindingwidth{2cm} % for example
\settrimmedsize{\stockheight}{\stockwidth - \bindingwidth}
\settrims{0cm}{0cm} %this forces all the extra width to the inner 
edge...I think
Something like that will work---I haven't tested it---and is more in the 
spirit of the package.


Richard



Re: custom layout

2008-02-05 Thread rgheck

Z. Bian wrote:

I am trying to write a book with lyx. The book is mostly tutorials with step by 
step instructions. For each step, I need to have step number, a block of text 
on left as instruction, and a image on right as figure showing what the 
instruction means.

I am currently using a custom list. For each item/step, I use two boxes within 
another box. This works ok, but too painful with the insertion of all the boxes 
and setting width etc.

Can I create a custom layout that I can simply insert into document that has 
two predefined fields for me to put in the text and figure, and it will layout 
the text and figure by passing the text and figure to a predefined latex class?

I can create a cuxtom layout that passes one item, but not two, to a latex 
class.
  
This is a shortcoming of LyX, one I'd love to remedy. But here's a hack: 
Define your layout so that it calls a two-argument command. Then, in ERT 
at the very beginning of each one, put: {whatever you want}, as your 
first argument.


Other way: Make the first argument optional, turn on optional arguments 
in the layout, and then put your first argument in the misnamed short 
title inset (under Insert).



Richard



Fonts for Lyx

2008-02-05 Thread John Culleton
I use a variety of fonts with e.g. pdftex or Context. But when I fire up Lyx I 
find about five available.  What can be done to make my additional fonts, 
some of which are purchased, available to Lyx?

I use Slackware Linux and Lyx 1.5.1. Is the answer to the above different for 
Windows users? 
-- 
John Culleton
Resources for every author and publisher:
http://wexfordpress.com/tex/shortlist.pdf
http://wexfordpress.com/tex/packagers.pdf
http://www.creativemindspress.com/newbiefaq.htm
http://www.gropenassoc.com/TopLevelPages/reference%20desk.htm


Re: Double sided wrong siders anew family of lyx users

2008-02-05 Thread Typhoon
On Tue, 05 Feb 2008 13:22:03 -0500
rgheck [EMAIL PROTECTED] wrote:

 llewellyn wrote:
  dear Uwe,
SNIP

 
 So something like this:
 \usepackage{calc} % let's us do minus
 \newlength{\bindingwidth}
 \setlength\bindingwidth{2cm} % for example
 \settrimmedsize{\stockheight}{\stockwidth - \bindingwidth}
 \settrims{0cm}{0cm} %this forces all the extra width to the inner 
 edge...I think
 Something like that will work---I haven't tested it---and is more in
 the spirit of the package.

This is what I did to change margins using the Memoir class:

\setstocksize{9in}{6in}
\settrimmedsize{\stockheight}{\stockwidth}


\setlrmargins{1.2in}{*}{*}

\checkandfixthelayout

This last item is the gotcha: the changed settings will not take
effect unless you include it.

Alan


 
 Richard
 
 


How to remove a line from multiline equation?

2008-02-05 Thread Manoj Rajagopalan

Hi all,

  If I make a mistake in one line then I don't seem to be able to 
remove that line even if I remove all the contents in the cells that lyx 
creates for the LHS, the =, and the RHS for that line.


  Is there a better way than to create a new multiline equation and 
copy over all lines except the invalid ones?


Thanks,
Manoj


Re: How to remove a line from multiline equation?

2008-02-05 Thread Manoj Rajagopalan

Hi all,

  sorry for the trouble, I figured it out. I spotted the remove row 
button for tables and that works.


-- Manoj


Manoj Rajagopalan wrote:

Hi all,

  If I make a mistake in one line then I don't seem to be able to remove 
that line even if I remove all the contents in the cells that lyx 
creates for the LHS, the =, and the RHS for that line.


  Is there a better way than to create a new multiline equation and copy 
over all lines except the invalid ones?


Thanks,
Manoj




Re: Bibliography style

2008-02-05 Thread Paul A. Rubin

[EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] wrote:


Hi everybody !!

Does anybody know id exists an editor for .bst files (bibliographic style
files ?



What do you mean by editor : a graphical interface to create a custom bst
file by pointclick. That does not exist.

There is a latex package called custombib that will create a custom bst file
by asking you questions but it is rather limited. If you are looking for a
bst style for a specific journal, there is a database on the internet :
http://jo.irisson.free.fr/bstdatabase/



The custombib package not only creates a .bst file, it records the 
instructions to generate the .bst file in a file with a .dbj extension. 
 If you have the .dbj file from a customized .bst file, you can edit 
the .dbj (it essentially contains the prompts and responses to the 
interview that custombib conducts in designing your style) and recompile 
the .bst file with modifications, without going through the entire 
interview again.


If you need to tweak something in the .bst file that is not covered by 
custombib, you have to edit the .bst file directly in a text editor.  (I 
had to do this once, with guidance kindly provided by people on the list.)


/Paul



Re: easiest way to type accents, graves, and other interesting letters

2008-02-05 Thread Abdelrazak Younes

rgheck wrote:


\bind "C-apostrophe" "accent-acute"
\bind "C-S-quotedbl" "accent-umlaut"

Note that, to get these to work, you may also need to change some 
earlier bindings. In cua.bind, I had to change:

\bind "~S-M-quotedbl""quote-insert single"
\bind "~S-C-quotedbl""self-insert \""
to
\bind "M-quotedbl""quote-insert single"
\bind "C-quotedbl""self-insert \""
The "~S" means: Ignore the state of the shift key.


Could you commit those Richard?

Abdel.



Re: easiest way to type accents, graves, and other interesting letters

2008-02-05 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes:

> rgheck wrote:
>> Note that, to get these to work, you may also need to change some
>> earlier bindings. In cua.bind, I had to change:
>> \bind "~S-M-quotedbl""quote-insert single"
>> \bind "~S-C-quotedbl""self-insert \""
>> to
>> \bind "M-quotedbl""quote-insert single"
>> \bind "C-quotedbl""self-insert \""
>> The "~S" means: Ignore the state of the shift key.
>
> Could you commit those Richard?

Richard, why did you have to make this change? This should be correct.

JMarc


Re: First page customizing in koma-script

2008-02-05 Thread Michael Färber
Thanks a lot for your advice! The \extratitles stuff seems to be handy (yet 
hacky ;-), but I already got it working with Uwe's test LyX document - I just 
didn't have any time to reply till now. :-)


Have a nice day!
Michael Färber



On Mon, 4 Feb 2008 15:30:19 -0800 (PST)
David Hewitt <[EMAIL PROTECTED]> wrote:

> 
> The Publisher environment does come in handy.
> 
> You can also look into the Extratitle environment. I've found that you can
> put all sorts of stuff in one of those to make extra up-front pages (more
> than one even, just insert page breaks). They can replace the title page
> entirely and are more fine-tuneable, even if typographically awful.
> 
> 
> 
> > Michael Färber schrieb:
> >> Hey thanks, that did it! I was able to define everything now, except for
> >> an image under the title, and I haven't found how to do something like
> >> that in the documentation.
> >> 
> >> Do you have any advice for me?
> > 
> > Yes, ask on the koma-script community page:
> > http://komascript.de
> > Perhaps you also find something about your problems in their archive.
> > 
> > Alternatively I attached an example with a title page containing an image.
> > 
> 
> 
> -
> David Hewitt
> Virginia Institute of Marine Science
> http://www.vims.edu/fish/students/dhewitt/
> -- 
> View this message in context: 
> http://www.nabble.com/First-page-customizing-in-koma-script-tp15245690p15280286.html
> Sent from the LyX - Users mailing list archive at Nabble.com.
> 


Re: easiest way to type accents, graves, and other interesting letters

2008-02-05 Thread rgheck

Jean-Marc Lasgouttes wrote:

Abdelrazak Younes <[EMAIL PROTECTED]> writes:

  

rgheck wrote:


Note that, to get these to work, you may also need to change some
earlier bindings. In cua.bind, I had to change:
\bind "~S-M-quotedbl""quote-insert single"
\bind "~S-C-quotedbl""self-insert \""
to
\bind "M-quotedbl""quote-insert single"
\bind "C-quotedbl""self-insert \""
The "~S" means: Ignore the state of the shift key.
  

Could you commit those Richard?



Richard, why did you have to make this change? This should be correct.

  

Yes, I agree, this looks like a bug. But try it this way:
\bind "~S-M-quotedbl" "quote-insert single"
\bind "~S-C-quotedbl" "self-insert \""
\bind "S-M-apostrophe" "accent-acute"
\bind "S-C-quotedbl" "accent-umlaut"
You can't make the accent work. But this does work:
\bind "M-apostrophe" "quote-insert single"
\bind "S-M-apostropher" "self-insert \""
\bind "C-apostrophe" "accent-acute"
\bind "S-C-quotedbl" "accent-umlaut"
I wonder if the problem isn't the "apostrophe" vs "quotedbl" bit somehow?

Richard



Re: easiest way to type accents, graves, and other interesting letters

2008-02-05 Thread G. Milde
On  5.02.08, Abdelrazak Younes wrote:
> rgheck wrote:
>> \bind "C-apostrophe" "accent-acute"
>> \bind "C-S-quotedbl" "accent-umlaut"
>> Note that, to get these to work, you may also need to change some earlier 
>> bindings. In cua.bind, I had to change:
>> \bind "~S-M-quotedbl""quote-insert single"
>> \bind "~S-C-quotedbl""self-insert \""
>> to
>> \bind "M-quotedbl""quote-insert single"
>> \bind "C-quotedbl""self-insert \""
>> The "~S" means: Ignore the state of the shift key.

> Could you commit those Richard?

Please do not rush this through: On my German keyboard, the quotedbl (") is
above the number 2, i.e. 

>> \bind "M-quotedbl""quote-insert single"
>> \bind "C-quotedbl""self-insert \""

would never be activated! How could I insert a verbatim " after these
changes?

Guenter


branches and child documents

2008-02-05 Thread G. Milde
Dear Lyx users,

I wonder how the new "branches" feature cooperates with including child
documents. Could someone with more profund knowledge confirm my observation
that

* if a child document defines (and activates) a branch, that is not defined
  in the parent, this branch will be
  
  - active in the child document,
  - not activate if the parent is compiled.
  
* The (de)activation of a similar named branch in the parent document
  overrides the setting in include child documents.
  
This would allow me to replace the current "ifthen" constructs with LyX
branches  :-)

GM


Re: easiest way to type accents, graves, and other interesting letters

2008-02-05 Thread rgheck

G. Milde wrote:

On  5.02.08, Abdelrazak Younes wrote:
  

rgheck wrote:


\bind "C-apostrophe" "accent-acute"
\bind "C-S-quotedbl" "accent-umlaut"
Note that, to get these to work, you may also need to change some earlier 
bindings. In cua.bind, I had to change:

\bind "~S-M-quotedbl""quote-insert single"
\bind "~S-C-quotedbl""self-insert \""
to
\bind "M-quotedbl""quote-insert single"
\bind "C-quotedbl""self-insert \""
The "~S" means: Ignore the state of the shift key.
  


  

Could you commit those Richard?



Please do not rush this through: On my German keyboard, the quotedbl (") is
above the number 2, i.e. 

  

\bind "M-quotedbl""quote-insert single"
\bind "C-quotedbl""self-insert \""
  


would never be activated! How could I insert a verbatim " after these
changes?

  
Nothing's being done immediately. Actually, it would help a lot if you 
could play around with the changes that have been suggested, namely:

\bind "M-apostrophe" "quote-insert single"
\bind "S-M-quotedbl" "self-insert \""
\bind "C-apostrophe" "accent-acute"
\bind "S-C-quotedbl" "accent-umlaut"
As you may also have seen, we think there may be a bug here somewhere, too.

rh



Double sided wrong siders anew family of lyx users

2008-02-05 Thread llewellyn

dear Uwe,
Several users of memoir class and I have been giving you
much agravation.
I have now worked out about a misunderstanding.
Your replies on the subject of left and right pages and bind margins are off 
course exactly correct.
What is happening is that the amateurs like myself actually want to
use the 
wide margin as a bind margin with those plastic strip binders you get to use 
in offices.
For it to look good I want the wider margin on the WRONG side, so
when I put 
my book into a home or office binder it looks professional.
It is actually a stupid vanity because the publisher of my book takes no 
notice of my page design and layout. They do it to their own professional 
standards.
Would you not be kind to us people who we will call "Wrong Siders"
and tell 
us how to set that margin so that we retain the defaults already in the 
settings of Memoir class,but cause it to wrong side the extra white space.
I would want the wider margin on odd pages to be at left of the text.
I try very hard to understand Latex and am slowly getting to it but
it is not 
for fools. We fools are clever enough to know we are fools so we do not mess 
with margins preset by the authors of Memoir class.
You would be most kind if you could give some code for us to
put in the
PREAMBLE to give us the wrong side feature we want.

LYX  made it possible for me to start writting novels. I have written over
500 
000 words already and many more to go. Latex and LYX makes it so easy to be 
creative and let the words flow through the keys without interruption.

To get our binders to look good we "wrongsiders" are printing page three on 
rear of page two and page one on obverse by itself so that pages one and two 
face each other when the bound up document is opened,

Authors want to write and print it down on a desk top HP then bind it with a 
plastic strip and send it to publishers, looking as good as it can so bound, 
That is why you are seeing so much all the time about this margin for page 
one.
How about posting it on Nabble for us

Great regards and sorry we drove you crazy
Llewellyn lee.
Ps once I have the facility I will save a template with it so that I do not 
have to mess up my standard Memoir class. I will call the template NOVEL.
all the people wanting this are writers of novels.
  End of encapsulated message
-- 
View this message in context: 
http://www.nabble.com/Double-sided-wrong-siders-anew-family-of-lyx-users-tp15294660p15294660.html
Sent from the LyX - Users mailing list archive at Nabble.com.



custom layout

2008-02-05 Thread Z. Bian
I am trying to write a book with lyx. The book is mostly tutorials with step by 
step instructions. For each step, I need to have step number, a block of text 
on left as instruction, and a image on right as figure showing what the 
instruction means.

I am currently using a custom list. For each item/step, I use two boxes within 
another box. This works ok, but too painful with the insertion of all the boxes 
and setting width etc.

Can I create a custom layout that I can simply insert into document that has 
two predefined fields for me to put in the text and figure, and it will layout 
the text and figure by passing the text and figure to a predefined latex class?

I can create a cuxtom layout that passes one item, but not two, to a latex 
class.

Is this possible?

Thanks.

Max



Re: Double sided wrong siders anew family of lyx users

2008-02-05 Thread rgheck

llewellyn wrote:

dear Uwe,
Several users of memoir class and I have been giving you
much agravation.
I have now worked out about a misunderstanding.
Your replies on the subject of left and right pages and bind margins are off 
course exactly correct.

What is happening is that the amateurs like myself actually want to
use the 
wide margin as a bind margin with those plastic strip binders you get to use 
in offices.

For it to look good I want the wider margin on the WRONG side, so
when I put 
my book into a home or office binder it looks professional.
It is actually a stupid vanity because the publisher of my book takes no 
notice of my page design and layout. They do it to their own professional 
standards.

Would you not be kind to us people who we will call "Wrong Siders"
and tell 
us how to set that margin so that we retain the defaults already in the 
settings of Memoir class,but cause it to wrong side the extra white space.

I would want the wider margin on odd pages to be at left of the text.
  
Uwe probably knows the answer to this. He is the source of all LaTeX 
knowledge. ;-) But if you want to figure this out, look in section 6.4 
of the memoir manual. The terminology here is different from what you 
usually see. Memoir calls the inner margin the "spinemargin" and the 
outer margin the "foredge", and it provides two ways to set these. So 
one way to do this is to play with \setrlmarginsandblock and 
\setrlmargins. It's probably the former you want, and if you want to set 
inner and outer margins directly, then the formula is:

   \setlrmarginsandblock{INNER}{OUTER}{*}
Your page size has to be set already---which it presumably is---and this 
will set the width of the text area to be \pagewidth - \spinemargin - 
\foredge, which is what you'd expect.


Probably the better way to do this would be to play with \stocksize and 
\paperwidth, etc. The stocksize is the width of what you're printing on. 
The paperwidth is supposed to be how wide the paper is after its 
trimmed. You're not trimming, but you can pretend you are, and use the 
trimmed bit as binding width.


So something like this:
\usepackage{calc} % let's us do minus
\newlength{\bindingwidth}
\setlength\bindingwidth{2cm} % for example
\settrimmedsize{\stockheight}{\stockwidth - \bindingwidth}
\settrims{0cm}{0cm} %this forces all the extra width to the inner 
edge...I think
Something like that will work---I haven't tested it---and is more in the 
spirit of the package.


Richard



Re: custom layout

2008-02-05 Thread rgheck

Z. Bian wrote:

I am trying to write a book with lyx. The book is mostly tutorials with step by 
step instructions. For each step, I need to have step number, a block of text 
on left as instruction, and a image on right as figure showing what the 
instruction means.

I am currently using a custom list. For each item/step, I use two boxes within 
another box. This works ok, but too painful with the insertion of all the boxes 
and setting width etc.

Can I create a custom layout that I can simply insert into document that has 
two predefined fields for me to put in the text and figure, and it will layout 
the text and figure by passing the text and figure to a predefined latex class?

I can create a cuxtom layout that passes one item, but not two, to a latex 
class.
  
This is a shortcoming of LyX, one I'd love to remedy. But here's a hack: 
Define your layout so that it calls a two-argument command. Then, in ERT 
at the very beginning of each one, put: {whatever you want}, as your 
first argument.


Other way: Make the first argument optional, turn on optional arguments 
in the layout, and then put your first argument in the misnamed "short 
title" inset (under Insert).



Richard



Fonts for Lyx

2008-02-05 Thread John Culleton
I use a variety of fonts with e.g. pdftex or Context. But when I fire up Lyx I 
find about five available.  What can be done to make my additional fonts, 
some of which are purchased, available to Lyx?

I use Slackware Linux and Lyx 1.5.1. Is the answer to the above different for 
Windows users? 
-- 
John Culleton
Resources for every author and publisher:
http://wexfordpress.com/tex/shortlist.pdf
http://wexfordpress.com/tex/packagers.pdf
http://www.creativemindspress.com/newbiefaq.htm
http://www.gropenassoc.com/TopLevelPages/reference%20desk.htm


Re: Double sided wrong siders anew family of lyx users

2008-02-05 Thread Typhoon
On Tue, 05 Feb 2008 13:22:03 -0500
rgheck <[EMAIL PROTECTED]> wrote:

> llewellyn wrote:
> > dear Uwe,


> 
> So something like this:
> \usepackage{calc} % let's us do minus
> \newlength{\bindingwidth}
> \setlength\bindingwidth{2cm} % for example
> \settrimmedsize{\stockheight}{\stockwidth - \bindingwidth}
> \settrims{0cm}{0cm} %this forces all the extra width to the inner 
> edge...I think
> Something like that will work---I haven't tested it---and is more in
> the spirit of the package.

This is what I did to change margins using the Memoir class:

\setstocksize{9in}{6in}
\settrimmedsize{\stockheight}{\stockwidth}


\setlrmargins{1.2in}{*}{*}

\checkandfixthelayout

This last item is the "gotcha": the changed settings will not take
effect unless you include it.

Alan


> 
> Richard
> 
> 


How to remove a line from multiline equation?

2008-02-05 Thread Manoj Rajagopalan

Hi all,

  If I make a mistake in one line then I don't seem to be able to 
remove that line even if I remove all the contents in the cells that lyx 
creates for the LHS, the "=", and the RHS for that line.


  Is there a better way than to create a new multiline equation and 
copy over all lines except the invalid ones?


Thanks,
Manoj


Re: How to remove a line from multiline equation?

2008-02-05 Thread Manoj Rajagopalan

Hi all,

  sorry for the trouble, I figured it out. I spotted the "remove row" 
button for tables and that works.


-- Manoj


Manoj Rajagopalan wrote:

Hi all,

  If I make a mistake in one line then I don't seem to be able to remove 
that line even if I remove all the contents in the cells that lyx 
creates for the LHS, the "=", and the RHS for that line.


  Is there a better way than to create a new multiline equation and copy 
over all lines except the invalid ones?


Thanks,
Manoj




Re: Bibliography style

2008-02-05 Thread Paul A. Rubin

[EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] wrote:


Hi everybody !!

Does anybody know id exists an editor for .bst files (bibliographic style
files ?



What do you mean by editor : a graphical interface to create a custom bst
file by point That does not exist.

There is a latex package called custombib that will create a custom bst file
by asking you questions but it is rather limited. If you are looking for a
bst style for a specific journal, there is a database on the internet :
http://jo.irisson.free.fr/bstdatabase/



The custombib package not only creates a .bst file, it records the 
instructions to generate the .bst file in a file with a .dbj extension. 
 If you have the .dbj file from a customized .bst file, you can edit 
the .dbj (it essentially contains the prompts and responses to the 
interview that custombib conducts in designing your style) and recompile 
the .bst file with modifications, without going through the entire 
interview again.


If you need to tweak something in the .bst file that is not covered by 
custombib, you have to edit the .bst file directly in a text editor.  (I 
had to do this once, with guidance kindly provided by people on the list.)


/Paul