Run-on text after subsubsection

2010-06-29 Thread Maria Gouskova
Dear LyX users,

I am working with the article(Covington) class, revising the
formatting of my paper for a journal. My editor wants the
subsubsections to be followed by the next paragraph's text on the same
line. That is, something like this

3.2.1 My paper's section such-and-such

In this section, I will solve problem so-and-so...

Should look like this:

3.2.1. My paper's section such and such. In this
section, I will solve problem so-and-so...

Is there a way to do this non-manually, from the preamble? I am not
afraid of playing around with the layout file, as well, but I'd rather
not have to import the paper into LaTeX and use the Mouton de Gruyter
doc class, since there is too much custom formatting in my paper.

Maria


Bibunits example only generates one of 2 bibliographies

2010-06-29 Thread Gregory Jefferis
I am trying to make an article with 2 bibliographies.  To get me going I am
starting with the example on the wiki:

http://wiki.lyx.org/Examples/Bibunits

However when I make a PDF I do not get one of the bibliographies.
Apparently it is not being processed by bibtex.   When I copy the bib files
(refs.bib) into LyX's temp dir, and run bibtex manually and regenerate the
PDF, everything works.

There is a hint on the wiki which is supposed to solve this problem:

Hint: The problem that LyX does not find the extra aux files for bibunits
can be solved without running bibtex manually and without a shell script.
Just add the following to the preamble, and LyX will automatically run
bibtex on the extra files:
  \makeatletter  
  \renewcomman...@bibunitname}{\jobname.\the\@bibunitauxcnt}
  \makeatother

But it is obviously not working for me.  Would anyone have any
fixes/workarounds/insight?

Thank you very much your help,

Greg.

Sys details:

OS X 10.5.8
LyX 1.6.4.2
MacTex/TeXLive 2009


-- 
Gregory Jefferis, PhD
Division of Neurobiology
MRC Laboratory of Molecular Biology,
Hills Road,
Cambridge, CB2 0QH, UK.

http://www2.mrc-lmb.cam.ac.uk/group-leaders/h-to-m/g-jefferis
http://www.neuroscience.cam.ac.uk/directory/profile.php?gsxej2
http://flybrain.stanford.edu





Re: How to show the citations without the bibliography in lyx output?

2010-06-29 Thread Rob Oakes
Right, so just overlook everything in that last email.  It doesn't work.
You might be able to accomplish something by redefining the
\thebibliography and \bibitem commands (and probably one or two more),
but I'd need to think about how to go about doing it before making
recommendations.

If this route interests you, you can find some additional information
at:

http://en.wikibooks.org/wiki/LaTeX/Bibliography_Management

And in chapter 12 in the LaTeX companion.

Cheers,

Rob

On Tue, 2010-06-29 at 11:07 -0400, Jim Rockford wrote:
> What I'd like to do is generate a PDF document from my lyx source that
> shows all the reference citations in the main body, but does not
> produce the detailed list of references at the end, where the
> \bibliography command is placed.  Is there a quick and easy way to do
> this in Lyx?  Simply commenting out the \bibliography doesn't work
> because it messes up the citations, and other tricks I have seen (i.e.
> http://groups.google.com/group/latexusersgroup/browse_thread/thread/330d7dda163dcd91)
>  cannot be implemented in an obvious way so far as I can tell.
> 
> Thanks,
> Jim 




Re: How to show the citations without the bibliography in lyx output?

2010-06-29 Thread Rob Oakes
I just realized that there might be a second option as well.  The
appearance of the bibliography in a latex document is determined by an
environment called thebibliography.

When I was working on a CV template (see
http://blog.oak-tree.us/index.php/2009/11/25/latex-cv-part1 and
http://blog.oak-tree.us/index.php/2009/12/02/latex-cv-part3), I wanted
to do some fancy stuff in the bibliography and played around with
modifying this environment

I'm not sure if it would work, but you might simply try adding this to
your preamble:

\renewenvironment{thebibliography}{}{}

This should, theoretically, wipe out the pre-defined formatting without
modifying the appearance of in-text citations and might work with a
footnote style guide, like Chicago.

Cheers,

Rob


On Tue, 2010-06-29 at 11:07 -0400, Jim Rockford wrote:
> What I'd like to do is generate a PDF document from my lyx source that
> shows all the reference citations in the main body, but does not
> produce the detailed list of references at the end, where the
> \bibliography command is placed.  Is there a quick and easy way to do
> this in Lyx?  Simply commenting out the \bibliography doesn't work
> because it messes up the citations, and other tricks I have seen (i.e.
> http://groups.google.com/group/latexusersgroup/browse_thread/thread/330d7dda163dcd91)
>  cannot be implemented in an obvious way so far as I can tell.
> 
> Thanks,
> Jim 




Re: How to show the citations without the bibliography in lyx output?

2010-06-29 Thread Rob Oakes
Hi Jim,

The appearance of the detailed list of references is usually determined
by the bibliography style that you are using.  Is there a particular
style of references that you need (for example, footnotes)?  Or is there
a particular style that you are aiming for?  It would be especially
helpful if you know the name of the style manual.

Once you know what kind of citation style you require in the document,
then it's just a matter of finding a bibtex template that provides it.
Most LaTeX distributions come with a huge number of bibtex templates
already installed and may already have the one you need.  If not
installing a new template isn't particularly hard.

You can change the style template by clicking on the bibliography inset,
and then choosing the appropriate option from the drop down list.

For more informataion, you might want to look at the bibtex styles
information on the Reed College website
(http://web.reed.edu/cis/help/LaTeX/bibtexstyles.html).

If you have a hard time finding a template without a formatted list of
references, you can always accomplish the same thing by a strong arm
approach.  Simply place your bibliography at the very end of the
document.  Then, when you generate the PDF, lop off those pages.  Either
Acrobat Professional or PDF-Shuffler are good tools for this purpose
(this article has some additional information on PDF tools for Linux,
http://blog.oak-tree.us/index.php/2010/05/26/pdf-linux).  While this
approach is slightly less than elegant, it does get the job done.  And
it's probably as fast as commenting out code lines.

Cheers,

Rob Oakes

On Tue, 2010-06-29 at 11:07 -0400, Jim Rockford wrote:
> What I'd like to do is generate a PDF document from my lyx source that
> shows all the reference citations in the main body, but does not
> produce the detailed list of references at the end, where the
> \bibliography command is placed.  Is there a quick and easy way to do
> this in Lyx?  Simply commenting out the \bibliography doesn't work
> because it messes up the citations, and other tricks I have seen (i.e.
> http://groups.google.com/group/latexusersgroup/browse_thread/thread/330d7dda163dcd91)
>  cannot be implemented in an obvious way so far as I can tell.
> 
> Thanks,
> Jim 




How to show the citations without the bibliography in lyx output?

2010-06-29 Thread Jim Rockford
What I'd like to do is generate a PDF document from my lyx source that shows
all the reference citations in the main body, but does not produce the
detailed list of references at the end, where the \bibliography command is
placed.  Is there a quick and easy way to do this in Lyx?  Simply commenting
out the \bibliography doesn't work because it messes up the citations, and
other tricks I have seen (i.e.
http://groups.google.com/group/latexusersgroup/browse_thread/thread/330d7dda163dcd91)
cannot be implemented in an obvious way so far as I can tell.

Thanks,
Jim


Re: LyX 2.0 GUI Issue on Mac

2010-06-29 Thread Pavel Sanda
James C. Sutherland wrote:
> It doesn't fix the advanced find window, but it did fix the Progress
> Messages window.

yes thats what i thought. the appearence of messages window is up to you -
if one wants it small its not possible to put there everything...

pavel


Re: LyX 2.0 GUI Issue on Mac

2010-06-29 Thread James C. Sutherland
On Tue, Jun 29, 2010 at 5:56 AM, Pavel Sanda  wrote:

> James C. Sutherland wrote:
> > I just started looking at the 2.0 alpha 4 version of LyX.
> >
> > This issue may already be well-known, but there are several parts of the
> GUI
> > that appear improperly on my Mac.  Thus far, I have seen these on:
> >
> >- The advanced find dialogue window
>
> i guess this just needs adding some layout to the dialog... please put it
> into
> bugzilla.
>

Done.  Ticket #6796


>
> >- The "Progress/Debug Messages" window
> >
> > I have attached screenshots illustrating the problem.  Note that the
> > "Progress" window does not have these problems when it is undocked.
>
> you don't get rid of it when you make the progress window vertically
> bigger?
>
> It doesn't fix the advanced find window, but it did fix the Progress
Messages window.


> > *Another issue*: LyX hangs and then crashes reliably if I do the
> following:
> >
> >1. Advanced Search - select "All Manuals"
> >2. In the find box, enter "PDF Command" and then click "Find"
> >3. After getting the "End of manuals reached..." dialogue box, click
> >"Yes"
> >
> > This hangs LyX 2.0 every time and results in a crash.
>
> i'm not able to reproduce the the crash, however the search runs for a
> quite
> long time (i take long time togo through math manual).  it could help if
> you
> provide backtrace from the crash. anyway put it into bugzilla too.
>
> pavel
>

Hmm. Now I cannot reproduce the crash either.  Yesterday I reproduced this
3-4 times in a row.  If I can get it to fail again I will open a ticket.

Thanks,

James


Re: hyperlink display

2010-06-29 Thread Manveru
2010/6/29 Guenter Milde :
> On 2010-06-28, Manveru wrote:
>> To all it may concern not reading Trac - I've just added following comment:
>
>> I would like to enhance this idea with an option to display an small
>> icon before the text, like WikiMedia does on its pages.
>
>> This method my apply to all other small insets, like footnote, label,
>> etc. Icons may contain tooltips explaining what kind of inset is that,
>> even short explanation may be useful.
>
>> Certainly I understand that displaying such images in LyX text control
>> may be harder to implement that current mechanism basing on
>> descriptive texts.
>
> With good Screen font, the simple option is to choose from the rich set
> of Unicode symbols.

Yes, this is good idea as well :-)

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: LyX 2.0 GUI Issue on Mac

2010-06-29 Thread Pavel Sanda
James C. Sutherland wrote:
> I just started looking at the 2.0 alpha 4 version of LyX.
> 
> This issue may already be well-known, but there are several parts of the GUI
> that appear improperly on my Mac.  Thus far, I have seen these on:
> 
>- The advanced find dialogue window

i guess this just needs adding some layout to the dialog... please put it into
bugzilla.

>- The "Progress/Debug Messages" window
> 
> I have attached screenshots illustrating the problem.  Note that the
> "Progress" window does not have these problems when it is undocked.

you don't get rid of it when you make the progress window vertically bigger?

> *Another issue*: LyX hangs and then crashes reliably if I do the following:
> 
>1. Advanced Search - select "All Manuals"
>2. In the find box, enter "PDF Command" and then click "Find"
>3. After getting the "End of manuals reached..." dialogue box, click
>"Yes"
> 
> This hangs LyX 2.0 every time and results in a crash.

i'm not able to reproduce the the crash, however the search runs for a quite
long time (i take long time togo through math manual).  it could help if you
provide backtrace from the crash. anyway put it into bugzilla too.

pavel


Re: install latest lyx

2010-06-29 Thread Wolfgang Engelmann
Am Tuesday 22 June 2010 19:15:17 schrieb Julien Rioux:
> On 22/06/2010 1:05 PM, Wolfgang Engelmann wrote:
> > Am Tuesday 22 June 2010 18:50:24 schrieb Julien Rioux:
> >> On 22/06/2010 12:12 PM, Wolfgang Engelmann wrote:
> >
> > but this gives me:
> > wolfg...@wolfgang:~/lyx-devel$ autogen.sh
> > bash: autogen.sh: command not found
>
> The ./ (dot slash) is important. It tells your shell to execute the file
> from the current folder. If you get an error again, make sure the file
> is present by doing
>
> ls
>
> which should list the files in the current folder. If you copied the LyX
> source files correctly, you should see autogen.sh in there.
>
> Here are build instructions again:
> http://www.physics.utoronto.ca/~jrioux/resources/lyx/#devel

Hello Julien,

Thanks for providing your link. Could you kindly answer the following 
questions privately?

1-Do I have to run the ./autogen.sh in my /lyx-devel as root? I did this, but 
am afraid that was wrong. 
2-how do I start the new lyx respectively how do I at what step tell, the new 
lyx should eg be called lyx2?

Once I got my new lyx running, I will report. 

Yours

Wolfgang