Re: Fwd:

2011-07-18 Thread Richard Heck
On 07/18/2011 09:46 AM, Harold Mouras wrote:


 -- Forwarded message --
 From: *Harold Mouras* hmou...@gmail.com mailto:hmou...@gmail.com
 Date: 2011/7/18
 Subject:
 To: lyx-users@lists.lyx.org mailto:lyx-users@lists.lyx.org


 Dear Lyx Users,
 writing a document, I encounter problems with unusual spaces
 introduced after lowercase letters. Is there any solution to supress
 these spaces ?

It would be more helpful to see a small LyX file that illustrated the
problem.

rh



SV: Fwd:

2011-07-18 Thread Ingar Pareliussen
 Hi

writing a document, I encounter problems with unusual spaces introduced after 
lowercase letters. Is there any solution to supress these spaces ? 

Difficult without the LyX file. I guess there could be several reasons. The 
second may be caused by justified text, you can check this by trying by 
changing it to left-justified. If it is still there it is not the justified 
text inserting extra space. 

The first one, and maybe the second one, is probably caused by an extra space 
that should be easy to remove. Delete the lowered text, making sure that the 
punctuation is at the end of the word, and insert the lowered m again without 
touching the spacebar. This should not make any extra space. If they are still 
there we need a small example lyxfile that demonstrates the behavior :).

hth,
 Ingar




Problem with optional arguments on macros

2011-07-18 Thread Brandon Fogel


test3.lyx
Description: Binary data


I'm having a problem with optional arguments on macros.  They are sometimes 
written into the TeX file as
non-optional (i.e., in {} instead of []), which causes them to be ignored
by the TeX compiler.  This appears to be random -- different instances of
the same macro in the same document will render differently.  If the
instances are viewed unfolded, then it doesn't happen.  (This is not a
good solution, even as a workaround, since there is no way to unfold all
the instances in a document at once.)

Anyone had this problem, too, and know of a good workaround?

I've attached  a sample file.  The problem may not show up the first time,
so it should be compiled several times.

Here are instructions for creating a sample with this problem:

Open a new file, create a new macro, add 4 optional arguments, and then
format the TeX however you want (I used {#1^{#2^{#3^{#4}}}).

Now add a math environment and create an instance of the new command.
Copy and paste a bunch of these, say, 20, on different lines.

Compile several times.  The problem will show up intermittently with
different instances.

Thanks!

-Brandon

Re: Guidance in starting to use LyX/LaTex

2011-07-18 Thread Eric Weir

On Jul 17, 2011, at 12:52 PM, Liviu Andronic wrote:

 A template is a means, not an end. As soon as you finish tailoring the
 sketch of a document (using the class that you've chosen) to your
 likes, then you're good to go: start writing and filling it up with
 actual content. When you finish writing the document and you're ready
 to submit it, if you are happy with the looks of the final output and
 anticipate to create such documents later, _then_ you may consider
 carving out of it a template, put it into the LyX templates folder (or
 any other folder, for the matter), and re-use whenever the needs
 arise.

Thanks, Liviu. I was assuming that a template might be developed incrementally 
starting from a document formatted with one of the classes. E.g., I have been 
formatting and printing drafts of sections of a paper that I'm working on. So 
far, each time I go to print a draft, I have to reformat it from scratch. I was 
hoping that I would be able to save the format each time so it would be 
available for the next printing, and that with periodic tweaks I could 
gradually work my way toward a format that required minimal tweaking. As I read 
you, you're saying it only makes sense to create a template from a 
complete/final draft document. 

I guess part of what's going on is that it's easier me to think of formatting 
in relation to content, and I assumed that with LyX I could easily check the 
effect of particular formatting instructions. No?

Something else that may be relevant is that I don't write in LyX. I write 
elsewhere and import into LyX for formatting and printing.

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






AW: use of \citet (with natbib numeric) gives (author?) error

2011-07-18 Thread Matthias Hunstig
Hello,

Julien pointed me to the right place:

 You also need to use a natbib-compatible bibliography style. You select
this by clicking on your BibTeX Generated Bibliography in your LyX
document and selecting e.g. plainnat

Actually, I would have chosen plainnat as in some older documents, had the 
option been there. But all I can chose from is plain. I think this once again 
is the network drives in Windows problem 
(http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87682.html) as I am 
still using the same setup (Windows XP, network user with limited rights, LyX 
installed by a local admin).

I am now working on another computer (Windows 7, local admin installed and uses 
LyX) and the same document compiles fine after I chose plainnat from the many 
options offered.

Still no solution for the other computer, but at least I now know some 
background of the problem.

Matthias

Re: how to modify figure name

2011-07-18 Thread Hady Ariwibowo Teguh
Dear All
I have not given sub number of the figure. When i put subfloat beside main 
float i found odd thing. The numbering begins o the next figure. Just like this:
I wanna subnumber fig 12 but when i do that step my subfigure begins at fig 13.a
How to repair that? Till now, i just subfigure them manually.
Thanks alot
Teguh CFD Engineer

PS. I'm sorry for late reply 

TEGUH HADY ARIWIBOWO
POSTGRADUATE STUDENT
ENERGY CONVERSION ENGINEERING DIVISION
FLUID MECHANICS AND FLUID MACHINERY LABORATORY
MECHANICAL ENGINEERING DEPARTMENT
INDUSTRIAL TECHNOLOGY FACULTY
INSTITUT TEKNOLOGI SEPULUH NOPEMBER
SURABAYA-INDONESIA

--- On Tue, 6/28/11, Diego Queiroz queiroz.di...@gmail.com wrote:

From: Diego Queiroz queiroz.di...@gmail.com
Subject: Re: how to modify figure name
To: Hady Ariwibowo Teguh huget_te...@ymail.com
Cc: lyx forum lyx-users@lists.lyx.org
Date: Tuesday, June 28, 2011, 3:23 PM

On Tue, Jun 28, 2011 at 4:18 AM, Hady Ariwibowo Teguh huget_te...@ymail.com 
wrote:

Dear All,
I'm using lyx 1.6. I have problem about how to name the figure. Just like this:
Figure .2.a


How to add a on the last part??
Thanks 
Teguh
CFD Engineer


Teguh,
You need to use sub floats.

To achieve this on LyX, just insert a float inside another float.
This way, the caption of the sub-float is automatically named 2a, 2b and so on.


Best regards,

---
Diego Queiroz


Re: Fwd:

2011-07-18 Thread Richard Heck
On 07/18/2011 09:46 AM, Harold Mouras wrote:


 -- Forwarded message --
 From: *Harold Mouras* hmou...@gmail.com mailto:hmou...@gmail.com
 Date: 2011/7/18
 Subject:
 To: lyx-users@lists.lyx.org mailto:lyx-users@lists.lyx.org


 Dear Lyx Users,
 writing a document, I encounter problems with unusual spaces
 introduced after lowercase letters. Is there any solution to supress
 these spaces ?

It would be more helpful to see a small LyX file that illustrated the
problem.

rh



SV: Fwd:

2011-07-18 Thread Ingar Pareliussen
 Hi

writing a document, I encounter problems with unusual spaces introduced after 
lowercase letters. Is there any solution to supress these spaces ? 

Difficult without the LyX file. I guess there could be several reasons. The 
second may be caused by justified text, you can check this by trying by 
changing it to left-justified. If it is still there it is not the justified 
text inserting extra space. 

The first one, and maybe the second one, is probably caused by an extra space 
that should be easy to remove. Delete the lowered text, making sure that the 
punctuation is at the end of the word, and insert the lowered m again without 
touching the spacebar. This should not make any extra space. If they are still 
there we need a small example lyxfile that demonstrates the behavior :).

hth,
 Ingar




Problem with optional arguments on macros

2011-07-18 Thread Brandon Fogel


test3.lyx
Description: Binary data


I'm having a problem with optional arguments on macros.  They are sometimes 
written into the TeX file as
non-optional (i.e., in {} instead of []), which causes them to be ignored
by the TeX compiler.  This appears to be random -- different instances of
the same macro in the same document will render differently.  If the
instances are viewed unfolded, then it doesn't happen.  (This is not a
good solution, even as a workaround, since there is no way to unfold all
the instances in a document at once.)

Anyone had this problem, too, and know of a good workaround?

I've attached  a sample file.  The problem may not show up the first time,
so it should be compiled several times.

Here are instructions for creating a sample with this problem:

Open a new file, create a new macro, add 4 optional arguments, and then
format the TeX however you want (I used {#1^{#2^{#3^{#4}}}).

Now add a math environment and create an instance of the new command.
Copy and paste a bunch of these, say, 20, on different lines.

Compile several times.  The problem will show up intermittently with
different instances.

Thanks!

-Brandon

Re: Guidance in starting to use LyX/LaTex

2011-07-18 Thread Eric Weir

On Jul 17, 2011, at 12:52 PM, Liviu Andronic wrote:

 A template is a means, not an end. As soon as you finish tailoring the
 sketch of a document (using the class that you've chosen) to your
 likes, then you're good to go: start writing and filling it up with
 actual content. When you finish writing the document and you're ready
 to submit it, if you are happy with the looks of the final output and
 anticipate to create such documents later, _then_ you may consider
 carving out of it a template, put it into the LyX templates folder (or
 any other folder, for the matter), and re-use whenever the needs
 arise.

Thanks, Liviu. I was assuming that a template might be developed incrementally 
starting from a document formatted with one of the classes. E.g., I have been 
formatting and printing drafts of sections of a paper that I'm working on. So 
far, each time I go to print a draft, I have to reformat it from scratch. I was 
hoping that I would be able to save the format each time so it would be 
available for the next printing, and that with periodic tweaks I could 
gradually work my way toward a format that required minimal tweaking. As I read 
you, you're saying it only makes sense to create a template from a 
complete/final draft document. 

I guess part of what's going on is that it's easier me to think of formatting 
in relation to content, and I assumed that with LyX I could easily check the 
effect of particular formatting instructions. No?

Something else that may be relevant is that I don't write in LyX. I write 
elsewhere and import into LyX for formatting and printing.

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






AW: use of \citet (with natbib numeric) gives (author?) error

2011-07-18 Thread Matthias Hunstig
Hello,

Julien pointed me to the right place:

 You also need to use a natbib-compatible bibliography style. You select
this by clicking on your BibTeX Generated Bibliography in your LyX
document and selecting e.g. plainnat

Actually, I would have chosen plainnat as in some older documents, had the 
option been there. But all I can chose from is plain. I think this once again 
is the network drives in Windows problem 
(http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87682.html) as I am 
still using the same setup (Windows XP, network user with limited rights, LyX 
installed by a local admin).

I am now working on another computer (Windows 7, local admin installed and uses 
LyX) and the same document compiles fine after I chose plainnat from the many 
options offered.

Still no solution for the other computer, but at least I now know some 
background of the problem.

Matthias

Re: how to modify figure name

2011-07-18 Thread Hady Ariwibowo Teguh
Dear All
I have not given sub number of the figure. When i put subfloat beside main 
float i found odd thing. The numbering begins o the next figure. Just like this:
I wanna subnumber fig 12 but when i do that step my subfigure begins at fig 13.a
How to repair that? Till now, i just subfigure them manually.
Thanks alot
Teguh CFD Engineer

PS. I'm sorry for late reply 

TEGUH HADY ARIWIBOWO
POSTGRADUATE STUDENT
ENERGY CONVERSION ENGINEERING DIVISION
FLUID MECHANICS AND FLUID MACHINERY LABORATORY
MECHANICAL ENGINEERING DEPARTMENT
INDUSTRIAL TECHNOLOGY FACULTY
INSTITUT TEKNOLOGI SEPULUH NOPEMBER
SURABAYA-INDONESIA

--- On Tue, 6/28/11, Diego Queiroz queiroz.di...@gmail.com wrote:

From: Diego Queiroz queiroz.di...@gmail.com
Subject: Re: how to modify figure name
To: Hady Ariwibowo Teguh huget_te...@ymail.com
Cc: lyx forum lyx-users@lists.lyx.org
Date: Tuesday, June 28, 2011, 3:23 PM

On Tue, Jun 28, 2011 at 4:18 AM, Hady Ariwibowo Teguh huget_te...@ymail.com 
wrote:

Dear All,
I'm using lyx 1.6. I have problem about how to name the figure. Just like this:
Figure .2.a


How to add a on the last part??
Thanks 
Teguh
CFD Engineer


Teguh,
You need to use sub floats.

To achieve this on LyX, just insert a float inside another float.
This way, the caption of the sub-float is automatically named 2a, 2b and so on.


Best regards,

---
Diego Queiroz


Re: Fwd:

2011-07-18 Thread Richard Heck
On 07/18/2011 09:46 AM, Harold Mouras wrote:
>
>
> -- Forwarded message --
> From: *Harold Mouras* >
> Date: 2011/7/18
> Subject:
> To: lyx-users@lists.lyx.org 
>
>
> Dear Lyx Users,
> writing a document, I encounter problems with unusual spaces
> introduced after lowercase letters. Is there any solution to supress
> these spaces ?
>
It would be more helpful to see a small LyX file that illustrated the
problem.

rh



SV: Fwd:

2011-07-18 Thread Ingar Pareliussen
 Hi

>writing a document, I encounter problems with unusual spaces introduced after 
>lowercase letters. Is there any solution to supress these spaces ? 

Difficult without the LyX file. I guess there could be several reasons. The 
second may be caused by justified text, you can check this by trying by 
changing it to left-justified. If it is still there it is not the justified 
text inserting extra space. 

The first one, and maybe the second one, is probably caused by an extra space 
that should be easy to remove. Delete the lowered text, making sure that the 
punctuation is at the end of the word, and insert the lowered m again without 
touching the spacebar. This should not make any extra space. If they are still 
there we need a small example lyxfile that demonstrates the behavior :).

hth,
 Ingar




Problem with optional arguments on macros

2011-07-18 Thread Brandon Fogel


test3.lyx
Description: Binary data


I'm having a problem with optional arguments on macros.  They are sometimes 
written into the TeX file as
non-optional (i.e., in {} instead of []), which causes them to be ignored
by the TeX compiler.  This appears to be random -- different instances of
the same macro in the same document will render differently.  If the
instances are viewed unfolded, then it doesn't happen.  (This is not a
good solution, even as a workaround, since there is no way to unfold all
the instances in a document at once.)

Anyone had this problem, too, and know of a good workaround?

I've attached  a sample file.  The problem may not show up the first time,
so it should be compiled several times.

Here are instructions for creating a sample with this problem:

Open a new file, create a new macro, add 4 optional arguments, and then
format the TeX however you want (I used {#1^{#2^{#3^{#4}}}).

Now add a math environment and create an instance of the new command.
Copy and paste a bunch of these, say, 20, on different lines.

Compile several times.  The problem will show up intermittently with
different instances.

Thanks!

-Brandon

Re: Guidance in starting to use LyX/LaTex

2011-07-18 Thread Eric Weir

On Jul 17, 2011, at 12:52 PM, Liviu Andronic wrote:

> A template is a means, not an end. As soon as you finish tailoring the
> sketch of a document (using the class that you've chosen) to your
> likes, then you're good to go: start writing and filling it up with
> actual content. When you finish writing the document and you're ready
> to submit it, if you are happy with the looks of the final output and
> anticipate to create such documents later, _then_ you may consider
> carving out of it a template, put it into the LyX templates folder (or
> any other folder, for the matter), and re-use whenever the needs
> arise.

Thanks, Liviu. I was assuming that a template might be developed incrementally 
starting from a document formatted with one of the classes. E.g., I have been 
formatting and printing drafts of sections of a paper that I'm working on. So 
far, each time I go to print a draft, I have to reformat it from scratch. I was 
hoping that I would be able to save the format each time so it would be 
available for the next printing, and that with periodic tweaks I could 
gradually work my way toward a format that required minimal tweaking. As I read 
you, you're saying it only makes sense to create a template from a 
complete/final draft document. 

I guess part of what's going on is that it's easier me to think of formatting 
in relation to content, and I assumed that with LyX I could easily check the 
effect of particular formatting instructions. No?

Something else that may be relevant is that I don't write in LyX. I write 
elsewhere and import into LyX for formatting and printing.

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






AW: use of \citet (with natbib numeric) gives "(author?)" error

2011-07-18 Thread Matthias Hunstig
Hello,

Julien pointed me to the right place:

> You also need to use a natbib-compatible bibliography style. You select
this by clicking on your "BibTeX Generated Bibliography" in your LyX
document and selecting e.g. plainnat

Actually, I would have chosen plainnat as in some older documents, had the 
option been there. But all I can chose from is "plain". I think this once again 
is the "network drives in Windows" problem 
(http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87682.html) as I am 
still using the same setup (Windows XP, network user with limited rights, LyX 
installed by a local admin).

I am now working on another computer (Windows 7, local admin installed and uses 
LyX) and the same document compiles fine after I chose "plainnat" from the many 
options offered.

Still no solution for the other computer, but at least I now know some 
background of the problem.

Matthias

Re: how to modify figure name

2011-07-18 Thread Hady Ariwibowo Teguh
Dear All
I have not given sub number of the figure. When i put subfloat beside main 
float i found odd thing. The numbering begins o the next figure. Just like this:
I wanna subnumber fig 12 but when i do that step my subfigure begins at fig 13.a
How to repair that? Till now, i just subfigure them manually.
Thanks alot
Teguh CFD Engineer

PS. I'm sorry for late reply 

TEGUH HADY ARIWIBOWO
POSTGRADUATE STUDENT
ENERGY CONVERSION ENGINEERING DIVISION
FLUID MECHANICS AND FLUID MACHINERY LABORATORY
MECHANICAL ENGINEERING DEPARTMENT
INDUSTRIAL TECHNOLOGY FACULTY
INSTITUT TEKNOLOGI SEPULUH NOPEMBER
SURABAYA-INDONESIA

--- On Tue, 6/28/11, Diego Queiroz  wrote:

From: Diego Queiroz 
Subject: Re: how to modify figure name
To: "Hady Ariwibowo Teguh" 
Cc: "lyx forum" 
Date: Tuesday, June 28, 2011, 3:23 PM

On Tue, Jun 28, 2011 at 4:18 AM, Hady Ariwibowo Teguh  
wrote:

Dear All,
I'm using lyx 1.6. I have problem about how to name the figure. Just like this:
"Figure .2.a"


How to add "a" on the last part??
Thanks 
Teguh
CFD Engineer


Teguh,
You need to use sub floats.

To achieve this on LyX, just insert a float inside another float.
This way, the caption of the sub-float is automatically named 2a, 2b and so on.


Best regards,

---
Diego Queiroz