Using Theorems (Numbered by Type) with Named Theorems

2013-07-31 Thread Itai Shaked
Hello,
LyX (2.0.6) won't allow using the Named Theorems module combined with
Theorems (Numbered by Type) (or the AMS version of this package).
I think this is because Named Theorems requires either Theorems or Theorems
(AMS), and these conflict with Theorems (Numbered by Type).

Is this a real issue with the LaTeX packages, being incompatible, or is it
just a matter of dependencies not configured correctly in LyX?
Is there a way around it?

Thanks,
Itai.


Re: Using Theorems (Numbered by Type) with Named Theorems

2013-07-31 Thread Richard Heck

On 07/31/2013 02:15 AM, Itai Shaked wrote:

Hello,
LyX (2.0.6) won't allow using the Named Theorems module combined with 
Theorems (Numbered by Type) (or the AMS version of this package).
I think this is because Named Theorems requires either Theorems or 
Theorems (AMS), and these conflict with Theorems (Numbered by Type).


Is this a real issue with the LaTeX packages, being incompatible, or 
is it just a matter of dependencies not configured correctly in LyX?

Is there a way around it?


Try this: Copy the theorems-named.module file to your local LyX 
directory. On Linux, the original file would be at 
/usr/share/lyx/layouts/, and you would copy it to ~/.lyx/layouts/. On 
other systems, you can find the relevant directories by looking at Help 
About LyX. Once you have done that, open the local copy and change the 
Requires line to read:


#Requires: theorems-ams | theorems-starred | theorems-byname

That will allow you to do what you want to do. Let us know whether you 
get a conflict of some sort of not. If not, then we can make this fix in 
LyX itself.


Richard



ANNOUNCE: LyX version 2.1.0 (beta 1)

2013-07-31 Thread Vincent van Ravesteijn

Public release of LyX version 2.1.0beta1


We are proud to announce the first public beta release of the new LyX 
2.1 series.


LyX 2.1.0beta1 is the culmination of two and half years of hard work.
This release is meant for testing before we actually release LyX 2.1.

An overview of the new features can be found here:
  http://wiki.lyx.org/LyX/NewInLyX21

You can download LyX 2.1.0beta1 from
  ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta1/.

We hope you will enjoy the result!

The file RELEASE-NOTES lists some known issues and problems compared
to the current stable releases (LyX 2.0.x). We strongly recommend that
packagers of LyX on various platforms and distributions read this file.

As with any major release, this one comes with lot of new features but
also some bugs. If you think you have found a bug in LyX 2.1.0beta1,
either email the LyX developers' mailing list (lyx-devel at lists.lyx.org),
or open a bug report at http://www.lyx.org/trac/wiki/BugTrackerHome.

If you have trouble using LyX or have a question, consult the
documentation that comes with LyX (under Help) and the LyX wiki, which you
will find at http://wiki.lyx.org/. You can also send email to the LyX 
users'

list (lyx-users at lists.lyx.org).

NOTE 1 (for Autotools users):
make check/distcheck still fails for this beta release. This means that
therewill be difficulties to install on platforms that require these checks
to passbefore installing.

NOTE 2 (for Linux/CMake users):
If some of the dependencies of the test suite are not satisfied, CMake might
not be able to generate the project files. To fix this problem, remove the
following line from CMakeLists.txt:
  add_subdirectory(development/autotests /autotests)

The LyX team.
http://www.lyx.org



Re: AGU layout

2013-07-31 Thread Gwen Barnes

 Have you tried New  New from Template and either agutex.lyx or
 agu_article.lyx ? If I remember correctly, I have had trouble exporting
 those when testing, but I have no familiarity with AGU.


Scott, thanks. I found those files with a bit of looking.

agu_article.lyx opens fine in LyX and uses the AGU article (SGML) document
class.  But that seems to produce an xhtml file that I don't know what to
do with.  I just want a pdf like normal.

agutex.lyx gives an error when trying to open it that there is not an
appropriate layout file for the AGUTeX class. What I need (I think), and
can't find, is a layout file for the AGUTeX class. FWIW, I have compiled
the default AGUTeX template using the AGUTeX class using latex on the
command line, so everything on the latex end should be ok.  It's just the
LyX layout file that's missing, I think.  Is there an AGUTeX layout file
somewhere that I haven't found?

If not, (unfortunately?) as far as I can tell, the AGUTeX class is not
based on anything else, like latex's article.  I think they must have built
it from the ground up.  And if I read the LyX documentation right, that
means the layout file is going to be a bit more tricky.If there is
currently no layout file, could someone suggest a good one that I could
copy to try to tweak for AGUTeX to try to get it working?

Thanks.

-Gwen

Using LyX version 2.0.6 on Mac 10.8.4


Keyboard shortcut binding

2013-07-31 Thread Rushikesh Kamalapurkar
Dear All,

The keyboard shortcut functionality seems to have changed in 2.0.6. I have
a bind file that has the commands

\bind C-S-apostrophe math-insert \ddot
\bind C-S-quoteleft math-insert \tilde

In 2.0.5, this used to work perfect when I imported the bind file. Now, it
does not. When I import the bind file, the shortcuts show up as following:

Function  Shortcut
math-insert \ddot  Ctrl+Shift+'
math-insert \tilde  Ctrl+Shift+`

However, when I press the keys in math mode, nothing happens. (command
disabled). Upon further investigation, i found out that if I manually
create the shortcuts, they show up as follows:

Function  Shortcut
math-insert \ddot  Ctrl+Shift+
math-insert \tilde  Ctrl+Shift+~

Why the difference? How do i write a bind file to add Ctrl+Shift+~
instead of Ctrl+Shift+` to the shortcuts? (i tried \bind C-S-tilde and
\bind C-S-~ they dont work!)

Thanks in advance
Rushi


make graphic insert 100% textwidth default

2013-07-31 Thread Neal Becker
I almost always want my graphic insert to be 100% textwidth.  How can I set 
this 
as the default?



Re: make graphic insert 100% textwidth default

2013-07-31 Thread Yihui Xie
One way to do that is to redefine \includegraphics (cf
https://github.com/jgm/pandoc-templates/blob/master/default.latex).

Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 206-667-4385 Web: http://yihui.name
Fred Hutchinson Cancer Research Center, Seattle


On Wed, Jul 31, 2013 at 12:23 PM, Neal Becker ndbeck...@gmail.com wrote:
 I almost always want my graphic insert to be 100% textwidth.  How can I set 
 this
 as the default?



Re: make graphic insert 100% textwidth default

2013-07-31 Thread Scott Kostyshak
On Wed, Jul 31, 2013 at 3:23 PM, Neal Becker ndbeck...@gmail.com wrote:
 I almost always want my graphic insert to be 100% textwidth.  How can I set 
 this
 as the default?

You could try graphic groups. See section Grouping of Image Settings
in Help  User Guide.

Scott


Re: HTML2LyX???

2013-07-31 Thread Steve Litt
On Tue, 30 Jul 2013 10:33:33 -0400
Richard Heck rgh...@lyx.org wrote:

 On 07/30/2013 09:53 AM, Steve Litt wrote:
  Hi all,
 
  How difficult would it be to implement an HTML or XHTML to LyX
  converter, in which the class= of various elements would become LyX
  environments or character styles?
 
  Would it be easier, or harder, to make HTML 2 LaTeX?
 
 There are plenty things that do html2latex, though I don't think they
 do much by way of preserving styles.
 
 Richard

Oh, I should have made it clear that style preservation would be my top
priority. But you remind me of something: Assuming one writes
completely styles-based HTML, the conversion to either LyX or LaTeX
would be trivial -- everything would be implemented by a style which
could then be defined (better defined) in LyX or LaTeX. It probably
wouldn't be too difficult to turn span into a character style, and
p, div, h? into environments, and just pass the styles straight
through.

Thanks,

SteveT

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


Re: AGU layout

2013-07-31 Thread Scott Kostyshak
On Tue, Jul 30, 2013 at 6:47 PM, Gwen Barnes gwen.bar...@gmail.com wrote:
 Hello,

 I need help formatting a paper in LyX for submission to an AGU journal.
 AGU's class file has changed since I last tried to do this in LyX.  AGU
 provides latex classes, etc, here:

 http://publications.agu.org/author-resource-center/author-guide/latex-formatting-toolkit/

The zip file contains a style file with date Feb 9, 2008 and class
file with date October 1, 2001.
It looks like only the .tex file was updated recently?

Further, these files are different from the files here:
ftp://ftp.agu.org/journals/latex/journals/Manuscript-Preparation/

I wonder why. We should figure out if the FTP files are old files that
should be updated.

Scott


Re: AGU layout

2013-07-31 Thread Scott Kostyshak
On Wed, Jul 31, 2013 at 12:25 PM, Gwen Barnes gwen.bar...@gmail.com wrote:
 Have you tried New  New from Template and either agutex.lyx or
 agu_article.lyx ? If I remember correctly, I have had trouble exporting
 those when testing, but I have no familiarity with AGU.


 Scott, thanks. I found those files with a bit of looking.

Why after looking? They weren't included in LyX for you? If not, this
might explain the layout error you have below.

 agu_article.lyx opens fine in LyX and uses the AGU article (SGML) document
 class.  But that seems to produce an xhtml file that I don't know what to do
 with.  I just want a pdf like normal.

What operating system are you on? Which LyX version? Do you get a
warning when opening that template? I am on Ubuntu 13.04 and had to
install docbook and sgmltools-lite. After that, LyX tries to make a
PDF for me.

However, I don't think AGU requires docbook. Does it? If not, it
probably shouldn't be in the template. You should probably forget
about this one. I think the next one is the one you want.

 agutex.lyx gives an error when trying to open it that there is not an
 appropriate layout file for the AGUTeX class. What I need (I think), and
 can't find, is a layout file for the AGUTeX class. FWIW, I have compiled the
 default AGUTeX template using the AGUTeX class using latex on the command
 line, so everything on the latex end should be ok.  It's just the LyX layout
 file that's missing, I think.  Is there an AGUTeX layout file somewhere that
 I haven't found?

 If not, (unfortunately?) as far as I can tell, the AGUTeX class is not based
 on anything else, like latex's article.  I think they must have built it
 from the ground up.  And if I read the LyX documentation right, that means
 the layout file is going to be a bit more tricky.If there is currently
 no layout file, could someone suggest a good one that I could copy to try to
 tweak for AGUTeX to try to get it working?

This is strange. This layout file should be included by LyX. Your
answers above to which LyX version you are using could lead to clues.
Before you try anything can you go to Tools  Reconfigure ? Does that
complete successfully?

Attached is the layout file for agutex, but this should be included
with LyX. If you still get the layout error, you can copy it to your
user layout directory and then run Tools  Reconfigure. Restart and
see if you still get the error.

agutex.lyx compiles to PDF fine for me. Here is the output:
https://www.dropbox.com/s/70cvhn1dh4t9eyv/agutex.pdf

Best,

Scott


agutex.layout
Description: Binary data


Re: AGU layout

2013-07-31 Thread Gwen Barnes
Scott,


 Attached is the layout file for agutex, but this should be included  with
 LyX. If you still get the layout error, you can copy it to your
 user layout directory and then run Tools  Reconfigure. Restart and see if
 you still get the error.


Ha, the layout file you attached seems to work.  Thanks! I did have to put
it in my user layout directory.  I looked and there is already one in the
application's layout directory, but despite several reconfigs I guess it
wasn't working.  It's tempting to go back and figure out why it didn't
work, but I think it's probably smartest to just leave it now that it's
working.

 Scott, thanks. I found those files with a bit of looking.

 Why after looking? They weren't included in LyX for you? If not, this
 might explain the layout error you have below.

 I guess they were in /Applications/LyX.app/Contents/Resources/templates/
whereas I'd been looking in ~/Library/Application
Support/LyX-2.0/templates, which is what my LyX apparently opens by
default.

BTW, I was mildly confused because the agutex.layout file says elsarticle
textclass definition file but elsarticle is the latex class for Elsevier
journals, not AGU journals. (I submit to both. *sigh*)

Thanks again; I had spent a lot of time on this getting nowhere, so I'm
really glad it's working now.

-Gwen

Using LyX version 2.0.6 on Mac 10.8.4


Re: HTML2LyX???

2013-07-31 Thread Nico Williams
On Wed, Jul 31, 2013 at 3:00 PM, Steve Litt sl...@troubleshooters.com wrote:
 Oh, I should have made it clear that style preservation would be my top
 priority. But you remind me of something: Assuming one writes
 completely styles-based HTML, the conversion to either LyX or LaTeX
 would be trivial -- everything would be implemented by a style which
 could then be defined (better defined) in LyX or LaTeX. It probably
 wouldn't be too difficult to turn span into a character style, and
 p, div, h? into environments, and just pass the styles straight
 through.

If it's XHTML then you could write an XSL to convert to LyX or LaTeX...


Re: Error with MikTeX

2013-07-31 Thread Leto
Thank you sir !
Really !
Had the same problem, same solution !



Help With Acknowledgements Please

2013-07-31 Thread Γιάννης Καλογρίδης
Hi all,

I would be grateful if someone could point out how to create an
acknowledgement part in my thesis. I would like it to appear at the end of
my work in the style of the abstract.

 I am writing my thesis as an article and since I am a Lyx newbie googling
it did not help much as I am not familiar with LateX code.

Please talk to me like a newbie because I really am! Thanks in advance.

Ioannis.


Re: AGU layout

2013-07-31 Thread Scott Kostyshak
On Wed, Jul 31, 2013 at 5:16 PM, Gwen Barnes gwen.bar...@gmail.com wrote:

 Ha, the layout file you attached seems to work.  Thanks! I did have to put
 it in my user layout directory.  I looked and there is already one in the
 application's layout directory, but despite several reconfigs I guess it
 wasn't working.  It's tempting to go back and figure out why it didn't work,
 but I think it's probably smartest to just leave it now that it's working.

Yes, that's a good idea.

 BTW, I was mildly confused because the agutex.layout file says elsarticle
 textclass definition file but elsarticle is the latex class for Elsevier
 journals, not AGU journals. (I submit to both. *sigh*)

Thanks, this will be fixed for 2.1.

 Thanks again; I had spent a lot of time on this getting nowhere, so I'm
 really glad it's working now.

Glad it's working!

Best,

Scott


Re: Help With Acknowledgements Please

2013-07-31 Thread Scott Kostyshak
On Wed, Jul 31, 2013 at 6:07 PM, Γιάννης Καλογρίδης
johnkalogri...@gmail.com wrote:
 Hi all,

 I would be grateful if someone could point out how to create an
 acknowledgement part in my thesis. I would like it to appear at the end of
 my work in the style of the abstract.

  I am writing my thesis as an article and since I am a Lyx newbie googling
 it did not help much as I am not familiar with LateX code.

 Please talk to me like a newbie because I really am! Thanks in advance.


Hi Ioannis,

You cross-posted (posted the same message on more than one forum)
without linking to the other posts. This can waste the time of people
trying to help you and can prevent people who come across your message
with the same problem from finding the solution. Cross-posting is fine
as long as you link to all of the posts you make.

Best,

Scott


Re: Help With Acknowledgements Please

2013-07-31 Thread Γιάννης Καλογρίδης
I apologise for the confusion, Post deleted.


On Wed, Jul 31, 2013 at 11:23 PM, Scott Kostyshak skost...@princeton.eduwrote:

 On Wed, Jul 31, 2013 at 6:07 PM, Γιάννης Καλογρίδης
 johnkalogri...@gmail.com wrote:
  Hi all,
 
  I would be grateful if someone could point out how to create an
  acknowledgement part in my thesis. I would like it to appear at the end
 of
  my work in the style of the abstract.
 
   I am writing my thesis as an article and since I am a Lyx newbie
 googling
  it did not help much as I am not familiar with LateX code.
 
  Please talk to me like a newbie because I really am! Thanks in advance.
 

 Hi Ioannis,

 You cross-posted (posted the same message on more than one forum)
 without linking to the other posts. This can waste the time of people
 trying to help you and can prevent people who come across your message
 with the same problem from finding the solution. Cross-posting is fine
 as long as you link to all of the posts you make.

 Best,

 Scott



Re: Help With Acknowledgements Please

2013-07-31 Thread Scott Kostyshak
On Wed, Jul 31, 2013 at 6:25 PM, Γιάννης Καλογρίδης
johnkalogri...@gmail.com wrote:
 I apologise for the confusion

No apology necessary. I just wanted to let you know why cross-posting
_without links_ can be bad.

 Post deleted.

I was actually just asking for you to post the relevant links so that
anyone looking at either thread can find the other thread (and thus
see what progress has been made in solving the problem). Feel free to
repost and paste a link to this thread. Here is the link:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg96216.html

Best,

Scott


Re: Using Theorems (Numbered by Type) with Named Theorems

2013-07-31 Thread Paul Rubin
Richard Heck rgheck at lyx.org writes:

 Try this: Copy the theorems-named.module file to your local LyX 
 directory. On Linux, the original file would be at 
 /usr/share/lyx/layouts/, and you would copy it to ~/.lyx/layouts/. On 
 other systems, you can find the relevant directories by looking at Help 
 About LyX. Once you have done that, open the local copy and change the 
 Requires line to read:
 
 #Requires: theorems-ams | theorems-starred | theorems-byname

I think you meant theorems-ams-bytype for the last one. That works, but it
still leaves Theorems (By Type) and Theorems incompatible with Named
Theorems.

It turns out that the only thing Named Theorems needs as a prerequisite is
the Theorem* style, which it copies. So I tried deleting the #Requires line
entirely and instead added Input theorems-starred.inc. It seems to work
fine, even if *none* of the theorem related modules are loaded, as long as
you don't mind that you have named theorems and the basic unnumbered
theorem-like environments (whether you want them or not) but perhaps not
other theorem-like environments.

If we want it to work with the vanilla Theorems module and Theorems (By
Type), I think we need to add the Input line -- they don't (currently)
input theorems-starred.inc -- regardless of whether or not we use the
requirements line.

The one thing I'm not sure about is why theorems-std.module and
theorems-bytype.module exclude theorems-starred: is it just redundancy, or
are std and bytype somehow incompatible with theorems-starred.inc?

Paul



Using Theorems (Numbered by Type) with Named Theorems

2013-07-31 Thread Itai Shaked
Hello,
LyX (2.0.6) won't allow using the Named Theorems module combined with
Theorems (Numbered by Type) (or the AMS version of this package).
I think this is because Named Theorems requires either Theorems or Theorems
(AMS), and these conflict with Theorems (Numbered by Type).

Is this a real issue with the LaTeX packages, being incompatible, or is it
just a matter of dependencies not configured correctly in LyX?
Is there a way around it?

Thanks,
Itai.


Re: Using Theorems (Numbered by Type) with Named Theorems

2013-07-31 Thread Richard Heck

On 07/31/2013 02:15 AM, Itai Shaked wrote:

Hello,
LyX (2.0.6) won't allow using the Named Theorems module combined with 
Theorems (Numbered by Type) (or the AMS version of this package).
I think this is because Named Theorems requires either Theorems or 
Theorems (AMS), and these conflict with Theorems (Numbered by Type).


Is this a real issue with the LaTeX packages, being incompatible, or 
is it just a matter of dependencies not configured correctly in LyX?

Is there a way around it?


Try this: Copy the theorems-named.module file to your local LyX 
directory. On Linux, the original file would be at 
/usr/share/lyx/layouts/, and you would copy it to ~/.lyx/layouts/. On 
other systems, you can find the relevant directories by looking at Help 
About LyX. Once you have done that, open the local copy and change the 
Requires line to read:


#Requires: theorems-ams | theorems-starred | theorems-byname

That will allow you to do what you want to do. Let us know whether you 
get a conflict of some sort of not. If not, then we can make this fix in 
LyX itself.


Richard



ANNOUNCE: LyX version 2.1.0 (beta 1)

2013-07-31 Thread Vincent van Ravesteijn

Public release of LyX version 2.1.0beta1


We are proud to announce the first public beta release of the new LyX 
2.1 series.


LyX 2.1.0beta1 is the culmination of two and half years of hard work.
This release is meant for testing before we actually release LyX 2.1.

An overview of the new features can be found here:
  http://wiki.lyx.org/LyX/NewInLyX21

You can download LyX 2.1.0beta1 from
  ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta1/.

We hope you will enjoy the result!

The file RELEASE-NOTES lists some known issues and problems compared
to the current stable releases (LyX 2.0.x). We strongly recommend that
packagers of LyX on various platforms and distributions read this file.

As with any major release, this one comes with lot of new features but
also some bugs. If you think you have found a bug in LyX 2.1.0beta1,
either email the LyX developers' mailing list (lyx-devel at lists.lyx.org),
or open a bug report at http://www.lyx.org/trac/wiki/BugTrackerHome.

If you have trouble using LyX or have a question, consult the
documentation that comes with LyX (under Help) and the LyX wiki, which you
will find at http://wiki.lyx.org/. You can also send email to the LyX 
users'

list (lyx-users at lists.lyx.org).

NOTE 1 (for Autotools users):
make check/distcheck still fails for this beta release. This means that
therewill be difficulties to install on platforms that require these checks
to passbefore installing.

NOTE 2 (for Linux/CMake users):
If some of the dependencies of the test suite are not satisfied, CMake might
not be able to generate the project files. To fix this problem, remove the
following line from CMakeLists.txt:
  add_subdirectory(development/autotests /autotests)

The LyX team.
http://www.lyx.org



Re: AGU layout

2013-07-31 Thread Gwen Barnes

 Have you tried New  New from Template and either agutex.lyx or
 agu_article.lyx ? If I remember correctly, I have had trouble exporting
 those when testing, but I have no familiarity with AGU.


Scott, thanks. I found those files with a bit of looking.

agu_article.lyx opens fine in LyX and uses the AGU article (SGML) document
class.  But that seems to produce an xhtml file that I don't know what to
do with.  I just want a pdf like normal.

agutex.lyx gives an error when trying to open it that there is not an
appropriate layout file for the AGUTeX class. What I need (I think), and
can't find, is a layout file for the AGUTeX class. FWIW, I have compiled
the default AGUTeX template using the AGUTeX class using latex on the
command line, so everything on the latex end should be ok.  It's just the
LyX layout file that's missing, I think.  Is there an AGUTeX layout file
somewhere that I haven't found?

If not, (unfortunately?) as far as I can tell, the AGUTeX class is not
based on anything else, like latex's article.  I think they must have built
it from the ground up.  And if I read the LyX documentation right, that
means the layout file is going to be a bit more tricky.If there is
currently no layout file, could someone suggest a good one that I could
copy to try to tweak for AGUTeX to try to get it working?

Thanks.

-Gwen

Using LyX version 2.0.6 on Mac 10.8.4


Keyboard shortcut binding

2013-07-31 Thread Rushikesh Kamalapurkar
Dear All,

The keyboard shortcut functionality seems to have changed in 2.0.6. I have
a bind file that has the commands

\bind C-S-apostrophe math-insert \ddot
\bind C-S-quoteleft math-insert \tilde

In 2.0.5, this used to work perfect when I imported the bind file. Now, it
does not. When I import the bind file, the shortcuts show up as following:

Function  Shortcut
math-insert \ddot  Ctrl+Shift+'
math-insert \tilde  Ctrl+Shift+`

However, when I press the keys in math mode, nothing happens. (command
disabled). Upon further investigation, i found out that if I manually
create the shortcuts, they show up as follows:

Function  Shortcut
math-insert \ddot  Ctrl+Shift+
math-insert \tilde  Ctrl+Shift+~

Why the difference? How do i write a bind file to add Ctrl+Shift+~
instead of Ctrl+Shift+` to the shortcuts? (i tried \bind C-S-tilde and
\bind C-S-~ they dont work!)

Thanks in advance
Rushi


make graphic insert 100% textwidth default

2013-07-31 Thread Neal Becker
I almost always want my graphic insert to be 100% textwidth.  How can I set 
this 
as the default?



Re: make graphic insert 100% textwidth default

2013-07-31 Thread Yihui Xie
One way to do that is to redefine \includegraphics (cf
https://github.com/jgm/pandoc-templates/blob/master/default.latex).

Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 206-667-4385 Web: http://yihui.name
Fred Hutchinson Cancer Research Center, Seattle


On Wed, Jul 31, 2013 at 12:23 PM, Neal Becker ndbeck...@gmail.com wrote:
 I almost always want my graphic insert to be 100% textwidth.  How can I set 
 this
 as the default?



Re: make graphic insert 100% textwidth default

2013-07-31 Thread Scott Kostyshak
On Wed, Jul 31, 2013 at 3:23 PM, Neal Becker ndbeck...@gmail.com wrote:
 I almost always want my graphic insert to be 100% textwidth.  How can I set 
 this
 as the default?

You could try graphic groups. See section Grouping of Image Settings
in Help  User Guide.

Scott


Re: HTML2LyX???

2013-07-31 Thread Steve Litt
On Tue, 30 Jul 2013 10:33:33 -0400
Richard Heck rgh...@lyx.org wrote:

 On 07/30/2013 09:53 AM, Steve Litt wrote:
  Hi all,
 
  How difficult would it be to implement an HTML or XHTML to LyX
  converter, in which the class= of various elements would become LyX
  environments or character styles?
 
  Would it be easier, or harder, to make HTML 2 LaTeX?
 
 There are plenty things that do html2latex, though I don't think they
 do much by way of preserving styles.
 
 Richard

Oh, I should have made it clear that style preservation would be my top
priority. But you remind me of something: Assuming one writes
completely styles-based HTML, the conversion to either LyX or LaTeX
would be trivial -- everything would be implemented by a style which
could then be defined (better defined) in LyX or LaTeX. It probably
wouldn't be too difficult to turn span into a character style, and
p, div, h? into environments, and just pass the styles straight
through.

Thanks,

SteveT

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


Re: AGU layout

2013-07-31 Thread Scott Kostyshak
On Tue, Jul 30, 2013 at 6:47 PM, Gwen Barnes gwen.bar...@gmail.com wrote:
 Hello,

 I need help formatting a paper in LyX for submission to an AGU journal.
 AGU's class file has changed since I last tried to do this in LyX.  AGU
 provides latex classes, etc, here:

 http://publications.agu.org/author-resource-center/author-guide/latex-formatting-toolkit/

The zip file contains a style file with date Feb 9, 2008 and class
file with date October 1, 2001.
It looks like only the .tex file was updated recently?

Further, these files are different from the files here:
ftp://ftp.agu.org/journals/latex/journals/Manuscript-Preparation/

I wonder why. We should figure out if the FTP files are old files that
should be updated.

Scott


Re: AGU layout

2013-07-31 Thread Scott Kostyshak
On Wed, Jul 31, 2013 at 12:25 PM, Gwen Barnes gwen.bar...@gmail.com wrote:
 Have you tried New  New from Template and either agutex.lyx or
 agu_article.lyx ? If I remember correctly, I have had trouble exporting
 those when testing, but I have no familiarity with AGU.


 Scott, thanks. I found those files with a bit of looking.

Why after looking? They weren't included in LyX for you? If not, this
might explain the layout error you have below.

 agu_article.lyx opens fine in LyX and uses the AGU article (SGML) document
 class.  But that seems to produce an xhtml file that I don't know what to do
 with.  I just want a pdf like normal.

What operating system are you on? Which LyX version? Do you get a
warning when opening that template? I am on Ubuntu 13.04 and had to
install docbook and sgmltools-lite. After that, LyX tries to make a
PDF for me.

However, I don't think AGU requires docbook. Does it? If not, it
probably shouldn't be in the template. You should probably forget
about this one. I think the next one is the one you want.

 agutex.lyx gives an error when trying to open it that there is not an
 appropriate layout file for the AGUTeX class. What I need (I think), and
 can't find, is a layout file for the AGUTeX class. FWIW, I have compiled the
 default AGUTeX template using the AGUTeX class using latex on the command
 line, so everything on the latex end should be ok.  It's just the LyX layout
 file that's missing, I think.  Is there an AGUTeX layout file somewhere that
 I haven't found?

 If not, (unfortunately?) as far as I can tell, the AGUTeX class is not based
 on anything else, like latex's article.  I think they must have built it
 from the ground up.  And if I read the LyX documentation right, that means
 the layout file is going to be a bit more tricky.If there is currently
 no layout file, could someone suggest a good one that I could copy to try to
 tweak for AGUTeX to try to get it working?

This is strange. This layout file should be included by LyX. Your
answers above to which LyX version you are using could lead to clues.
Before you try anything can you go to Tools  Reconfigure ? Does that
complete successfully?

Attached is the layout file for agutex, but this should be included
with LyX. If you still get the layout error, you can copy it to your
user layout directory and then run Tools  Reconfigure. Restart and
see if you still get the error.

agutex.lyx compiles to PDF fine for me. Here is the output:
https://www.dropbox.com/s/70cvhn1dh4t9eyv/agutex.pdf

Best,

Scott


agutex.layout
Description: Binary data


Re: AGU layout

2013-07-31 Thread Gwen Barnes
Scott,


 Attached is the layout file for agutex, but this should be included  with
 LyX. If you still get the layout error, you can copy it to your
 user layout directory and then run Tools  Reconfigure. Restart and see if
 you still get the error.


Ha, the layout file you attached seems to work.  Thanks! I did have to put
it in my user layout directory.  I looked and there is already one in the
application's layout directory, but despite several reconfigs I guess it
wasn't working.  It's tempting to go back and figure out why it didn't
work, but I think it's probably smartest to just leave it now that it's
working.

 Scott, thanks. I found those files with a bit of looking.

 Why after looking? They weren't included in LyX for you? If not, this
 might explain the layout error you have below.

 I guess they were in /Applications/LyX.app/Contents/Resources/templates/
whereas I'd been looking in ~/Library/Application
Support/LyX-2.0/templates, which is what my LyX apparently opens by
default.

BTW, I was mildly confused because the agutex.layout file says elsarticle
textclass definition file but elsarticle is the latex class for Elsevier
journals, not AGU journals. (I submit to both. *sigh*)

Thanks again; I had spent a lot of time on this getting nowhere, so I'm
really glad it's working now.

-Gwen

Using LyX version 2.0.6 on Mac 10.8.4


Re: HTML2LyX???

2013-07-31 Thread Nico Williams
On Wed, Jul 31, 2013 at 3:00 PM, Steve Litt sl...@troubleshooters.com wrote:
 Oh, I should have made it clear that style preservation would be my top
 priority. But you remind me of something: Assuming one writes
 completely styles-based HTML, the conversion to either LyX or LaTeX
 would be trivial -- everything would be implemented by a style which
 could then be defined (better defined) in LyX or LaTeX. It probably
 wouldn't be too difficult to turn span into a character style, and
 p, div, h? into environments, and just pass the styles straight
 through.

If it's XHTML then you could write an XSL to convert to LyX or LaTeX...


Re: Error with MikTeX

2013-07-31 Thread Leto
Thank you sir !
Really !
Had the same problem, same solution !



Help With Acknowledgements Please

2013-07-31 Thread Γιάννης Καλογρίδης
Hi all,

I would be grateful if someone could point out how to create an
acknowledgement part in my thesis. I would like it to appear at the end of
my work in the style of the abstract.

 I am writing my thesis as an article and since I am a Lyx newbie googling
it did not help much as I am not familiar with LateX code.

Please talk to me like a newbie because I really am! Thanks in advance.

Ioannis.


Re: AGU layout

2013-07-31 Thread Scott Kostyshak
On Wed, Jul 31, 2013 at 5:16 PM, Gwen Barnes gwen.bar...@gmail.com wrote:

 Ha, the layout file you attached seems to work.  Thanks! I did have to put
 it in my user layout directory.  I looked and there is already one in the
 application's layout directory, but despite several reconfigs I guess it
 wasn't working.  It's tempting to go back and figure out why it didn't work,
 but I think it's probably smartest to just leave it now that it's working.

Yes, that's a good idea.

 BTW, I was mildly confused because the agutex.layout file says elsarticle
 textclass definition file but elsarticle is the latex class for Elsevier
 journals, not AGU journals. (I submit to both. *sigh*)

Thanks, this will be fixed for 2.1.

 Thanks again; I had spent a lot of time on this getting nowhere, so I'm
 really glad it's working now.

Glad it's working!

Best,

Scott


Re: Help With Acknowledgements Please

2013-07-31 Thread Scott Kostyshak
On Wed, Jul 31, 2013 at 6:07 PM, Γιάννης Καλογρίδης
johnkalogri...@gmail.com wrote:
 Hi all,

 I would be grateful if someone could point out how to create an
 acknowledgement part in my thesis. I would like it to appear at the end of
 my work in the style of the abstract.

  I am writing my thesis as an article and since I am a Lyx newbie googling
 it did not help much as I am not familiar with LateX code.

 Please talk to me like a newbie because I really am! Thanks in advance.


Hi Ioannis,

You cross-posted (posted the same message on more than one forum)
without linking to the other posts. This can waste the time of people
trying to help you and can prevent people who come across your message
with the same problem from finding the solution. Cross-posting is fine
as long as you link to all of the posts you make.

Best,

Scott


Re: Help With Acknowledgements Please

2013-07-31 Thread Γιάννης Καλογρίδης
I apologise for the confusion, Post deleted.


On Wed, Jul 31, 2013 at 11:23 PM, Scott Kostyshak skost...@princeton.eduwrote:

 On Wed, Jul 31, 2013 at 6:07 PM, Γιάννης Καλογρίδης
 johnkalogri...@gmail.com wrote:
  Hi all,
 
  I would be grateful if someone could point out how to create an
  acknowledgement part in my thesis. I would like it to appear at the end
 of
  my work in the style of the abstract.
 
   I am writing my thesis as an article and since I am a Lyx newbie
 googling
  it did not help much as I am not familiar with LateX code.
 
  Please talk to me like a newbie because I really am! Thanks in advance.
 

 Hi Ioannis,

 You cross-posted (posted the same message on more than one forum)
 without linking to the other posts. This can waste the time of people
 trying to help you and can prevent people who come across your message
 with the same problem from finding the solution. Cross-posting is fine
 as long as you link to all of the posts you make.

 Best,

 Scott



Re: Help With Acknowledgements Please

2013-07-31 Thread Scott Kostyshak
On Wed, Jul 31, 2013 at 6:25 PM, Γιάννης Καλογρίδης
johnkalogri...@gmail.com wrote:
 I apologise for the confusion

No apology necessary. I just wanted to let you know why cross-posting
_without links_ can be bad.

 Post deleted.

I was actually just asking for you to post the relevant links so that
anyone looking at either thread can find the other thread (and thus
see what progress has been made in solving the problem). Feel free to
repost and paste a link to this thread. Here is the link:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg96216.html

Best,

Scott


Re: Using Theorems (Numbered by Type) with Named Theorems

2013-07-31 Thread Paul Rubin
Richard Heck rgheck at lyx.org writes:

 Try this: Copy the theorems-named.module file to your local LyX 
 directory. On Linux, the original file would be at 
 /usr/share/lyx/layouts/, and you would copy it to ~/.lyx/layouts/. On 
 other systems, you can find the relevant directories by looking at Help 
 About LyX. Once you have done that, open the local copy and change the 
 Requires line to read:
 
 #Requires: theorems-ams | theorems-starred | theorems-byname

I think you meant theorems-ams-bytype for the last one. That works, but it
still leaves Theorems (By Type) and Theorems incompatible with Named
Theorems.

It turns out that the only thing Named Theorems needs as a prerequisite is
the Theorem* style, which it copies. So I tried deleting the #Requires line
entirely and instead added Input theorems-starred.inc. It seems to work
fine, even if *none* of the theorem related modules are loaded, as long as
you don't mind that you have named theorems and the basic unnumbered
theorem-like environments (whether you want them or not) but perhaps not
other theorem-like environments.

If we want it to work with the vanilla Theorems module and Theorems (By
Type), I think we need to add the Input line -- they don't (currently)
input theorems-starred.inc -- regardless of whether or not we use the
requirements line.

The one thing I'm not sure about is why theorems-std.module and
theorems-bytype.module exclude theorems-starred: is it just redundancy, or
are std and bytype somehow incompatible with theorems-starred.inc?

Paul



Using Theorems (Numbered by Type) with Named Theorems

2013-07-31 Thread Itai Shaked
Hello,
LyX (2.0.6) won't allow using the Named Theorems module combined with
Theorems (Numbered by Type) (or the AMS version of this package).
I think this is because Named Theorems requires either Theorems or Theorems
(AMS), and these conflict with Theorems (Numbered by Type).

Is this a real issue with the LaTeX packages, being incompatible, or is it
just a matter of dependencies not configured correctly in LyX?
Is there a way around it?

Thanks,
Itai.


Re: Using Theorems (Numbered by Type) with Named Theorems

2013-07-31 Thread Richard Heck

On 07/31/2013 02:15 AM, Itai Shaked wrote:

Hello,
LyX (2.0.6) won't allow using the Named Theorems module combined with 
Theorems (Numbered by Type) (or the AMS version of this package).
I think this is because Named Theorems requires either Theorems or 
Theorems (AMS), and these conflict with Theorems (Numbered by Type).


Is this a real issue with the LaTeX packages, being incompatible, or 
is it just a matter of dependencies not configured correctly in LyX?

Is there a way around it?


Try this: Copy the theorems-named.module file to your local LyX 
directory. On Linux, the original file would be at 
/usr/share/lyx/layouts/, and you would copy it to ~/.lyx/layouts/. On 
other systems, you can find the relevant directories by looking at Help> 
About LyX. Once you have done that, open the local copy and change the 
Requires line to read:


#Requires: theorems-ams | theorems-starred | theorems-byname

That will allow you to do what you want to do. Let us know whether you 
get a conflict of some sort of not. If not, then we can make this fix in 
LyX itself.


Richard



ANNOUNCE: LyX version 2.1.0 (beta 1)

2013-07-31 Thread Vincent van Ravesteijn

Public release of LyX version 2.1.0beta1


We are proud to announce the first public beta release of the new LyX 
2.1 series.


LyX 2.1.0beta1 is the culmination of two and half years of hard work.
This release is meant for testing before we actually release LyX 2.1.

An overview of the new features can be found here:
  http://wiki.lyx.org/LyX/NewInLyX21

You can download LyX 2.1.0beta1 from
  ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta1/.

We hope you will enjoy the result!

The file RELEASE-NOTES lists some known issues and problems compared
to the current stable releases (LyX 2.0.x). We strongly recommend that
packagers of LyX on various platforms and distributions read this file.

As with any major release, this one comes with lot of new features but
also some bugs. If you think you have found a bug in LyX 2.1.0beta1,
either email the LyX developers' mailing list (lyx-devel at lists.lyx.org),
or open a bug report at http://www.lyx.org/trac/wiki/BugTrackerHome.

If you have trouble using LyX or have a question, consult the
documentation that comes with LyX (under Help) and the LyX wiki, which you
will find at http://wiki.lyx.org/. You can also send email to the LyX 
users'

list (lyx-users at lists.lyx.org).

NOTE 1 (for Autotools users):
"make check/distcheck" still fails for this beta release. This means that
therewill be difficulties to install on platforms that require these checks
to passbefore installing.

NOTE 2 (for Linux/CMake users):
If some of the dependencies of the test suite are not satisfied, CMake might
not be able to generate the project files. To fix this problem, remove the
following line from "CMakeLists.txt":
  add_subdirectory(development/autotests "/autotests")

The LyX team.
http://www.lyx.org



Re: AGU layout

2013-07-31 Thread Gwen Barnes
>
> Have you tried New > New from Template and either agutex.lyx or
> agu_article.lyx ? If I remember correctly, I have had trouble exporting
> those when testing, but I have no familiarity with AGU.
>

Scott, thanks. I found those files with a bit of looking.

agu_article.lyx opens fine in LyX and uses the AGU article (SGML) document
class.  But that seems to produce an xhtml file that I don't know what to
do with.  I just want a pdf like normal.

agutex.lyx gives an error when trying to open it that there is not an
appropriate layout file for the AGUTeX class. What I need (I think), and
can't find, is a layout file for the AGUTeX class. FWIW, I have compiled
the default AGUTeX template using the AGUTeX class using latex on the
command line, so everything on the latex end should be ok.  It's just the
LyX layout file that's missing, I think.  Is there an AGUTeX layout file
somewhere that I haven't found?

If not, (unfortunately?) as far as I can tell, the AGUTeX class is not
based on anything else, like latex's article.  I think they must have built
it from the ground up.  And if I read the LyX documentation right, that
means the layout file is going to be a bit more tricky.If there is
currently no layout file, could someone suggest a good one that I could
copy to try to tweak for AGUTeX to try to get it working?

Thanks.

-Gwen

Using LyX version 2.0.6 on Mac 10.8.4


Keyboard shortcut binding

2013-07-31 Thread Rushikesh Kamalapurkar
Dear All,

The keyboard shortcut functionality seems to have changed in 2.0.6. I have
a bind file that has the commands

\bind "C-S-apostrophe" "math-insert \ddot"
\bind "C-S-quoteleft" "math-insert \tilde"

In 2.0.5, this used to work perfect when I imported the bind file. Now, it
does not. When I import the bind file, the shortcuts show up as following:

Function  Shortcut
math-insert \ddot  Ctrl+Shift+'
math-insert \tilde  Ctrl+Shift+`

However, when I press the keys in math mode, nothing happens. (command
disabled). Upon further investigation, i found out that if I manually
create the shortcuts, they show up as follows:

Function  Shortcut
math-insert \ddot  Ctrl+Shift+"
math-insert \tilde  Ctrl+Shift+~

Why the difference? How do i write a bind file to add "Ctrl+Shift+~"
instead of "Ctrl+Shift+`" to the shortcuts? (i tried \bind "C-S-tilde" and
\bind "C-S-~" they dont work!)

Thanks in advance
Rushi


make graphic insert 100% textwidth default

2013-07-31 Thread Neal Becker
I almost always want my graphic insert to be 100% textwidth.  How can I set 
this 
as the default?



Re: make graphic insert 100% textwidth default

2013-07-31 Thread Yihui Xie
One way to do that is to redefine \includegraphics (cf
https://github.com/jgm/pandoc-templates/blob/master/default.latex).

Regards,
Yihui
--
Yihui Xie 
Phone: 206-667-4385 Web: http://yihui.name
Fred Hutchinson Cancer Research Center, Seattle


On Wed, Jul 31, 2013 at 12:23 PM, Neal Becker  wrote:
> I almost always want my graphic insert to be 100% textwidth.  How can I set 
> this
> as the default?
>


Re: make graphic insert 100% textwidth default

2013-07-31 Thread Scott Kostyshak
On Wed, Jul 31, 2013 at 3:23 PM, Neal Becker  wrote:
> I almost always want my graphic insert to be 100% textwidth.  How can I set 
> this
> as the default?

You could try graphic groups. See section "Grouping of Image Settings"
in Help > User Guide.

Scott


Re: HTML2LyX???

2013-07-31 Thread Steve Litt
On Tue, 30 Jul 2013 10:33:33 -0400
Richard Heck  wrote:

> On 07/30/2013 09:53 AM, Steve Litt wrote:
> > Hi all,
> >
> > How difficult would it be to implement an HTML or XHTML to LyX
> > converter, in which the class= of various elements would become LyX
> > environments or character styles?
> >
> > Would it be easier, or harder, to make HTML 2 LaTeX?
> 
> There are plenty things that do html2latex, though I don't think they
> do much by way of preserving styles.
> 
> Richard

Oh, I should have made it clear that style preservation would be my top
priority. But you remind me of something: Assuming one writes
completely styles-based HTML, the conversion to either LyX or LaTeX
would be trivial -- everything would be implemented by a style which
could then be defined (better defined) in LyX or LaTeX. It probably
wouldn't be too difficult to turn  into a character style, and
, ,  into environments, and just pass the styles straight
through.

Thanks,

SteveT

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


Re: AGU layout

2013-07-31 Thread Scott Kostyshak
On Tue, Jul 30, 2013 at 6:47 PM, Gwen Barnes  wrote:
> Hello,
>
> I need help formatting a paper in LyX for submission to an AGU journal.
> AGU's class file has changed since I last tried to do this in LyX.  AGU
> provides latex classes, etc, here:
>
> http://publications.agu.org/author-resource-center/author-guide/latex-formatting-toolkit/

The zip file contains a style file with date Feb 9, 2008 and class
file with date October 1, 2001.
It looks like only the .tex file was updated recently?

Further, these files are different from the files here:
ftp://ftp.agu.org/journals/latex/journals/Manuscript-Preparation/

I wonder why. We should figure out if the FTP files are old files that
should be updated.

Scott


Re: AGU layout

2013-07-31 Thread Scott Kostyshak
On Wed, Jul 31, 2013 at 12:25 PM, Gwen Barnes  wrote:
>> Have you tried New > New from Template and either agutex.lyx or
>> agu_article.lyx ? If I remember correctly, I have had trouble exporting
>> those when testing, but I have no familiarity with AGU.
>
>
> Scott, thanks. I found those files with a bit of looking.

Why after looking? They weren't included in LyX for you? If not, this
might explain the layout error you have below.

> agu_article.lyx opens fine in LyX and uses the AGU article (SGML) document
> class.  But that seems to produce an xhtml file that I don't know what to do
> with.  I just want a pdf like normal.

What operating system are you on? Which LyX version? Do you get a
warning when opening that template? I am on Ubuntu 13.04 and had to
install docbook and sgmltools-lite. After that, LyX tries to make a
PDF for me.

However, I don't think AGU requires docbook. Does it? If not, it
probably shouldn't be in the template. You should probably forget
about this one. I think the next one is the one you want.

> agutex.lyx gives an error when trying to open it that there is not an
> appropriate layout file for the AGUTeX class. What I need (I think), and
> can't find, is a layout file for the AGUTeX class. FWIW, I have compiled the
> default AGUTeX template using the AGUTeX class using latex on the command
> line, so everything on the latex end should be ok.  It's just the LyX layout
> file that's missing, I think.  Is there an AGUTeX layout file somewhere that
> I haven't found?
>
> If not, (unfortunately?) as far as I can tell, the AGUTeX class is not based
> on anything else, like latex's article.  I think they must have built it
> from the ground up.  And if I read the LyX documentation right, that means
> the layout file is going to be a bit more tricky.If there is currently
> no layout file, could someone suggest a good one that I could copy to try to
> tweak for AGUTeX to try to get it working?

This is strange. This layout file should be included by LyX. Your
answers above to which LyX version you are using could lead to clues.
Before you try anything can you go to Tools > Reconfigure ? Does that
complete successfully?

Attached is the layout file for agutex, but this should be included
with LyX. If you still get the layout error, you can copy it to your
user layout directory and then run Tools > Reconfigure. Restart and
see if you still get the error.

agutex.lyx compiles to PDF fine for me. Here is the output:
https://www.dropbox.com/s/70cvhn1dh4t9eyv/agutex.pdf

Best,

Scott


agutex.layout
Description: Binary data


Re: AGU layout

2013-07-31 Thread Gwen Barnes
Scott,


> Attached is the layout file for agutex, but this should be included  with
> LyX. If you still get the layout error, you can copy it to your
> user layout directory and then run Tools > Reconfigure. Restart and see if
> you still get the error.
>

Ha, the layout file you attached seems to work.  Thanks! I did have to put
it in my user layout directory.  I looked and there is already one in the
application's layout directory, but despite several reconfigs I guess it
wasn't working.  It's tempting to go back and figure out why it didn't
work, but I think it's probably smartest to just leave it now that it's
working.

> Scott, thanks. I found those files with a bit of looking.
>
> Why after looking? They weren't included in LyX for you? If not, this
> might explain the layout error you have below.
>
> I guess they were in /Applications/LyX.app/Contents/Resources/templates/
whereas I'd been looking in ~/Library/Application
Support/LyX-2.0/templates, which is what my LyX apparently opens by
default.

BTW, I was mildly confused because the agutex.layout file says "elsarticle
textclass definition file" but elsarticle is the latex class for Elsevier
journals, not AGU journals. (I submit to both. *sigh*)

Thanks again; I had spent a lot of time on this getting nowhere, so I'm
really glad it's working now.

-Gwen

Using LyX version 2.0.6 on Mac 10.8.4


Re: HTML2LyX???

2013-07-31 Thread Nico Williams
On Wed, Jul 31, 2013 at 3:00 PM, Steve Litt  wrote:
> Oh, I should have made it clear that style preservation would be my top
> priority. But you remind me of something: Assuming one writes
> completely styles-based HTML, the conversion to either LyX or LaTeX
> would be trivial -- everything would be implemented by a style which
> could then be defined (better defined) in LyX or LaTeX. It probably
> wouldn't be too difficult to turn  into a character style, and
> , ,  into environments, and just pass the styles straight
> through.

If it's XHTML then you could write an XSL to convert to LyX or LaTeX...


Re: Error with MikTeX

2013-07-31 Thread Leto
Thank you sir !
Really !
Had the same problem, same solution !



Help With Acknowledgements Please

2013-07-31 Thread Γιάννης Καλογρίδης
Hi all,

I would be grateful if someone could point out how to create an
acknowledgement part in my thesis. I would like it to appear at the end of
my work in the style of the abstract.

 I am writing my thesis as an article and since I am a Lyx newbie googling
it did not help much as I am not familiar with LateX code.

Please talk to me like a newbie because I really am! Thanks in advance.

Ioannis.


Re: AGU layout

2013-07-31 Thread Scott Kostyshak
On Wed, Jul 31, 2013 at 5:16 PM, Gwen Barnes  wrote:

> Ha, the layout file you attached seems to work.  Thanks! I did have to put
> it in my user layout directory.  I looked and there is already one in the
> application's layout directory, but despite several reconfigs I guess it
> wasn't working.  It's tempting to go back and figure out why it didn't work,
> but I think it's probably smartest to just leave it now that it's working.

Yes, that's a good idea.

> BTW, I was mildly confused because the agutex.layout file says "elsarticle
> textclass definition file" but elsarticle is the latex class for Elsevier
> journals, not AGU journals. (I submit to both. *sigh*)

Thanks, this will be fixed for 2.1.

> Thanks again; I had spent a lot of time on this getting nowhere, so I'm
> really glad it's working now.

Glad it's working!

Best,

Scott


Re: Help With Acknowledgements Please

2013-07-31 Thread Scott Kostyshak
On Wed, Jul 31, 2013 at 6:07 PM, Γιάννης Καλογρίδης
 wrote:
> Hi all,
>
> I would be grateful if someone could point out how to create an
> acknowledgement part in my thesis. I would like it to appear at the end of
> my work in the style of the abstract.
>
>  I am writing my thesis as an article and since I am a Lyx newbie googling
> it did not help much as I am not familiar with LateX code.
>
> Please talk to me like a newbie because I really am! Thanks in advance.
>

Hi Ioannis,

You cross-posted (posted the same message on more than one forum)
without linking to the other posts. This can waste the time of people
trying to help you and can prevent people who come across your message
with the same problem from finding the solution. Cross-posting is fine
as long as you link to all of the posts you make.

Best,

Scott


Re: Help With Acknowledgements Please

2013-07-31 Thread Γιάννης Καλογρίδης
I apologise for the confusion, Post deleted.


On Wed, Jul 31, 2013 at 11:23 PM, Scott Kostyshak wrote:

> On Wed, Jul 31, 2013 at 6:07 PM, Γιάννης Καλογρίδης
>  wrote:
> > Hi all,
> >
> > I would be grateful if someone could point out how to create an
> > acknowledgement part in my thesis. I would like it to appear at the end
> of
> > my work in the style of the abstract.
> >
> >  I am writing my thesis as an article and since I am a Lyx newbie
> googling
> > it did not help much as I am not familiar with LateX code.
> >
> > Please talk to me like a newbie because I really am! Thanks in advance.
> >
>
> Hi Ioannis,
>
> You cross-posted (posted the same message on more than one forum)
> without linking to the other posts. This can waste the time of people
> trying to help you and can prevent people who come across your message
> with the same problem from finding the solution. Cross-posting is fine
> as long as you link to all of the posts you make.
>
> Best,
>
> Scott
>


Re: Help With Acknowledgements Please

2013-07-31 Thread Scott Kostyshak
On Wed, Jul 31, 2013 at 6:25 PM, Γιάννης Καλογρίδης
 wrote:
> I apologise for the confusion

No apology necessary. I just wanted to let you know why cross-posting
_without links_ can be bad.

> Post deleted.

I was actually just asking for you to post the relevant links so that
anyone looking at either thread can find the other thread (and thus
see what progress has been made in solving the problem). Feel free to
repost and paste a link to this thread. Here is the link:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg96216.html

Best,

Scott


Re: Using Theorems (Numbered by Type) with Named Theorems

2013-07-31 Thread Paul Rubin
Richard Heck  lyx.org> writes:

> Try this: Copy the theorems-named.module file to your local LyX 
> directory. On Linux, the original file would be at 
> /usr/share/lyx/layouts/, and you would copy it to ~/.lyx/layouts/. On 
> other systems, you can find the relevant directories by looking at Help> 
> About LyX. Once you have done that, open the local copy and change the 
> Requires line to read:
> 
> #Requires: theorems-ams | theorems-starred | theorems-byname

I think you meant theorems-ams-bytype for the last one. That works, but it
still leaves "Theorems (By Type)" and "Theorems" incompatible with "Named
Theorems".

It turns out that the only thing Named Theorems needs as a prerequisite is
the Theorem* style, which it copies. So I tried deleting the #Requires line
entirely and instead added "Input theorems-starred.inc". It seems to work
fine, even if *none* of the theorem related modules are loaded, as long as
you don't mind that you have named theorems and the basic unnumbered
theorem-like environments (whether you want them or not) but perhaps not
other theorem-like environments.

If we want it to work with the vanilla Theorems module and "Theorems (By
Type)", I think we need to add the Input line -- they don't (currently)
input theorems-starred.inc -- regardless of whether or not we use the
requirements line.

The one thing I'm not sure about is why theorems-std.module and
theorems-bytype.module exclude theorems-starred: is it just redundancy, or
are std and bytype somehow incompatible with theorems-starred.inc?

Paul