Robert Gordon | 1 May 2007 01:42
Picon
Favicon

elsart author issues

Hi,

I've got a problem that I can't imagine is unique or unsoved, but I couldn't 
find an adequate solution in the archives - so could someone help?

All I'm trying to do is start writing a journal article with elsart 
(starting with the elsart.lyx template). I have two authors. I want them to 
appear on the same line, but I want different label properties for each (eg 
email for the first author, plus corresponding author flag).

I've picked up the tip of using StandardInTitle in the elsart.layout file 
(see
http://www.mail-archive.com/lyx-users-UqbJ+GOpo4+hPH1hqNUYSQ <at> public.gmane.org/msg26379.html
) but 
I still haven't managed to fix it the problem.

I'm on version 1.4.4

I don't suppose someone has a >1 author template they could email me where 
one author is the corresponding author?

regards

Rob

_________________________________________________________________
Consigue aquí las mejores y mas recientes ofertas de trabajo en América 
Latina y USA: http://latam.msn.com/empleos/

(Continue reading)

Rodrigo Fresneda | 1 May 2007 09:25
Picon

Re: 1.5.0-beta2 bug: bracketted math expressions not drawn correctly

Actually, the problem only happens when I use the (right/left) arrow key to 
move away from the blue subscript inset. If instead I use the spacebar, the
behaviour is as expected. 
Since this didn't happen with previous versions of lyx, I thought it might be
a bug. But maybe this is some new policy regarding the navigation within 
formulae.
rodrigo.

On Monday 30 April 2007 18:14, Paul A. Rubin wrote:
> Rodrigo Fresneda wrote:
> > Hi. What I do is descend down to the level of the subscript, so that when
> > it is deleted, I am left with a little blue box holding the position of
> > the subscript. The problem happens when I leave this little blue box: the
> > parenthesis is deleted and the cursor appears elsewhere. This wouldnŽt be
> > a big deal if some of the mathematical terms following the parenthesis
> > wouldn't collapse together.
> > I compiled lyx-1.5 beta 2 on a debian (etch) amd64 machine.
> > thanks,
> > rodrigo.
>
> Sounds like you're doing the deletion correctly.  The blue subscript
> inset should evaporate when you exit leaving it empty, but nothing else
> should be affected.  Can't reproduce it here, though.
>
> /Paul

Sam Lewis | 1 May 2007 10:13
Picon
Favicon
Gravatar

Re: Installation Troubles Lyx 1.4.4 - Printing

Bob Ferguson <rjferg49 <at> ...> writes:

> 
> My system is Windows XP Pro with all updates, Lyx 1.4.4
> 
> I managed to get Lyx on my machine, but it doesn't work. When I try to 
> open a template it says "Document has a missing Tex class article" or 
> what ever template I am trying to open. No output is possible. I have 
> run recongfigure but nothing changes.
> 

Make sure you get your latex distribution and gsprint (ghostview) installed.
Check the whether you got the large bundle

Cheers, Sam

Nicolás | 1 May 2007 10:40
Picon

Re: Installation Troubles Lyx 1.4.4 - Printing

Hi!

Bob Ferguson wrote:
> My system is Windows XP Pro with all updates, Lyx 1.4.4
> 
> I managed to get Lyx on my machine, but it doesn't work. When I try to 
> open a template it says "Document has a missing Tex class article" or 
> what ever template I am trying to open. No output is possible. I have 
> run recongfigure but nothing changes.
> 

It seems you don't have installed in your system the TeX class used by the document/template you are
opening. In 
Documents->Settings->Document Class you can check the class files that LyX recognizes (these are the
class files installed under your 
LaTeX distribution). If you have MikTex installed, go to MikTex->Settings->Packages and try to install
the missing class files (you 
need a working internet connection).

> I installed from the bundle:  lyx-144-4-bundle.exe
> 
> There is no obvious way to get Lyx to recognize the printer I have, that 
> is,  hp laserjet 1012. I entered that name through preferences, but no 
> luck.

Do you really want to print from LyX? I would say the normal practice is to export to/view in postscript or pdf
and print that document

> 
> Any help would be appreciated.
(Continue reading)

Gyorgy Pota | 1 May 2007 17:22
Picon

refreshing composite documents

Dear Users and Developers,

I use Lyx  for Windows.
When a child document included in the main one has been changed, its dvi 
view must be updated from the main document. It is an old issue that 
this does not work unless one restarts Yap or Lyx again. Until now a 
workaround was that one made some artificial changes in the main 
document, and this induced the update process. However, it appears that 
this no longer works with Lyx 1.4.4 and the last available version of 
Latex and Yap. The first trial to update a child document leads to a 
Python-connected error message ("An error occurred whilst running python 
-tt 'C:/Program Files/Lyx14/Resources/scrip'") the second trial invokes 
the error message "An empty output file was produced" followed by a 
Latex error saying that "I cannot write on 'the name of the main document'".

Very-very fortunately, the update process works now with the .ps view. 
However, .dvi view would be the most important view. I think it would be 
inevitable to solve this main doc--child docs update issue as Lyx is 
apparently meant to produce long  and difficult documents. Please help. 
It would be a nice present in the  new version 1.5 to have this old 
problem solved.

With best wishes and many thanks in advance.

Gyorgy Pota

--

-- 

Dr. Gyorgy Pota
associate professor
(Continue reading)

Hellmut Weber | 1 May 2007 17:28
Picon

Re: Character styles: inlining a local layout format

Hi Jürgen,
thanks for your answer ;-)

Actually I'm using LyX-1.5.0beta.

I copied your text in my local layouts file (obviously wihtout the '> 's

> CharStyle Fboxed_Code
> 	LatexType             Command
> 	LatexName             fboxedcode
> 	LabelFont
> 	  Family              Roman
> 	  Color               blue
> 	EndFont
>         Preamble
>            \newcommand{\fboxedcode}[1]{
>              \fbox{\texttt{\small%
>              #1%
>              } }% texttt fbox
>            }
>        EndPreamble
> End

Then I ran reconfigure.
After eliminating the entries for my old Style (\begin_layout ...) by
changing them to 'Standard'
I opened the document, marked some strings and chose the CharStyle
Fboxed_Code which is now available.
(>>Edit >CharStyle, in my german Version it is >>Bearbeiten >Textstil)

(Continue reading)

Jürgen Spitzmüller | 1 May 2007 17:49
Picon
Favicon

Re: Character styles: inlining a local layout format

Hellmut Weber wrote:
> Is this feature already described in the documentation?
> I grepped for CharStyle in the doc directory but didn't get any result.

No, it's obviously some kind of "hidden" feature (and it's still not yet 
complete, most notably, there's no gui for creating char styles yet).

> BTW Trying to produce a PDF from the user handbook LyX ran into an error
>  seemingly when processing the special symbols table (shortly after the
> 'Compose'-Explanation. The LaTeX protocol mentiones some lacking '}'

Please post the full error.

> I profit from the opportunity to thank the developpers team for the work
> you are doing. LyX is really the best text processing software I have
> come across. I like the photograph of the LyX-Team whcih pops up when I
> call LyX without a filename. Would you mind to explain who's who?

http://marc.info/?l=lyx-devel&m=114421751100431&w=2
where "Yours truly" (Martin) is the one you have to thank for character 
styles.
(the picture was taken at the developers meeting 2005 IIRC).

Jürgen

Bo Peng | 1 May 2007 18:23
Picon

Problems in defining a listings environment

Dear list,

I am trying to add a lstlisting environment to my layout file (using
listings package) and arrive at the following:

Style Listings
  Margin		Static
  LatexType		Environment
  LatexName	        lstlisting
  NextNoIndent		1
  LeftMargin		MMM
  RightMargin		MMM
  TopSep		0.5
  BottomSep		0.5
  Align			Left
  AlignPossible		Block, Left, Right, Center
  LabelType		No_Label

  # define the environment listings
  Preamble
    \usepackage{listings}
    \lstset{language=Python,
   showspaces=false,
   basicstyle=\footnotesize,
   showstringspaces=false,
   showtabs=false
   }
  EndPreamble

  # standard font definition
(Continue reading)

Bo Peng | 1 May 2007 18:53
Picon

Re: Problems in defining a listings environment

> My problem is that
>
> Line1
> Line2
>
> appears in latex as
>
> \begin{lstlisting}
> Line1
>
> Line2
> \end{lstlisting}

There are other problems like _ is translated to \_ ...

Bo

Paul A. Rubin | 1 May 2007 19:37
Picon
Favicon
Gravatar

Re: 1.5.0-beta2 bug: bracketted math expressions not drawn correctly

Rodrigo Fresneda wrote:
> Actually, the problem only happens when I use the (right/left) arrow key to 
> move away from the blue subscript inset. If instead I use the spacebar, the
> behaviour is as expected. 
> Since this didn't happen with previous versions of lyx, I thought it might be
> a bug. But maybe this is some new policy regarding the navigation within 
> formulae.

It's not a policy, since it doesn't happen consistently.  Interestingly, 
someone posted screenshots of the bug on Win XP.  I can't reproduce his 
screenshots either, so I'm totally confused.  But at least you know it's 
not just LyX picking on you.  ;-)

/Paul


Gmane