Re: Hyphenation problem with two languages

2008-04-08 Thread Liviu Andronic
On Mon, Apr 7, 2008 at 7:19 PM, Mark Reglewski <[EMAIL PROTECTED]> wrote:
> >  Tools>Preferences>Language Settings>Language
> >
>
>  Not here on LyX 1.5.4 running on Mac OS X.
>
>  You can't get to this setting from the Tools or Document menus. Here it's
> actually:
>
>  LyX > Preferences > Language
>
>  "Use babel" seems to be a default: that's what I have here and I haven't
> ever played with this setting manually.
>
>  Just curious, are the LyX menus different on other supported operating
> systems? (Giving menu-clicking recipes on this help list would be a pain if
> it's so.)
>

Here, on Gentoo Linux -- as well as on Windows XP --, the "babel"
option is located in
Tools>Preferences>Language Settings>Language.

Regards,
Liviu


Re: ERT to inline by command

2008-04-08 Thread G. Milde
On  7.04.08, Andre Poenitz wrote:
> On Mon, Apr 07, 2008 at 11:25:45PM +0200, Daniel Lohmann wrote:
> > On 07.04.2008, at 16:01, Ethan Metsger wrote:
> >> On Mon, 07 Apr 2008 09:04:16 -0400, Daniel Lohmann 
> >>
> >>> AFAIK there is, unfortunately, no LFUN for this
> >>> I too would really appreciate a keyboard shortcut.
> >>
> >> I was under the impression that using CTRL-I would do the job.  I just 
> >> tested it on 1.5.2/Ubuntu and it seems to work just fine.

As long as your ERT is short, you might not see a difference.
Howerver, longer ERT is clipped (with an ellipsis adde to the box).
Try a right click on the ERT box and set Display to Inline to see the
difference (also, the button converts to a frame).

> > Hm... Not on my system. Could you figure out the LFUN that is bound o 
> > CTRL+I?

> It used to be  inset-toggle  but nowaday it seems to be
> next-inset-toggle.

Looks like the LFUN was renamed, as toggle-inset no longer exists in 1.5.4.

next-inset-toggle will open/close the next inset, whatever it is:

 1. ERT boxes, Note boxes, Branch boxes, and floats will fold/unfold
(i.e. show/hide the content)
  
 2. Label and reference buttons will show the dialog window.

Having a common LFUN for these actions has pros and cons:

 + in both cases, after "opening" you can edit the content of the box.
 
 - for type-2 insets the "open box" is not part of the document but a
   dialog window (which cannot be closed by next-inset-toggle).
   
   The same type of dialog is only reachable with a right-click on the
   button of type-1 insets.
   
My suggestion would be a new LFUN "next-inset-configure" that will
open a dialog window in any case:

 1. The dialog currently only accessible with right-click
for ERT boxes, Note boxes, Branch boxes, and floats.
  
 2. The diaolog currently accessible by left-click, right-click, or
next-inset-toggle for type 1 (Label and reference) insets.
  
For ease of use, next-inset-toggle could continue to pop up the dialog
for type-1 insets (this is consistent with the current click-behaviour
where both right- and left-click open the dialog.

Guenter



Re: Lyx crashing on custom template

2008-04-08 Thread hectic styler
The main.lyx file included in
http://www.threewordslong.com/downloads/lyx/unswthesis.zip exhibits
this behavior.

If you remove the first three lines (i.e. the title and author ) you
can view the file in 1.5.4.  If either the title or author are
included in the lyx file the file doesn't view.

wes

On Tue, Apr 8, 2008 at 4:14 PM, Andre Poenitz
<[EMAIL PROTECTED]> wrote:
>
> On Tue, Apr 08, 2008 at 01:41:14PM +1000, hectic styler wrote:
>  > The template can be found here
>  >
>  > http://www.threewordslong.com/blog/entry/63/A_LyX_Thesis_Layout_for_UNSW_T
>  >
>  > wes
>  >
>  > On Tue, Apr 8, 2008 at 1:36 PM, hectic styler <[EMAIL PROTECTED]> wrote:
>  > > Hi,
>  > >
>  > >  Upon installing Lyx 1.5.4 (+ MiKTex) on MS Vista, I can open up my
>  > >  custom template fine, but trying to view the main.lyx as pdf generates
>  > >  an error "Undefined control error" - viewing the chapter alone
>  > >  generates the same error but I can view the pdf. Installing Lyx 1.5.3
>  > >  allows me to view as pdf fine - is this a known regression and has it
>  > >  been fixed in subversion?
>
>  I can't reproduce your problem with a very simple example text using
>  your layout.
>
>  If you send me your thesis preferably cut down to the minimal amount
>  that still exhibits the problem I'll have a look.
>
>  Andre'
>


Re: No accents when mastering a document (Spanish) ??

2008-04-08 Thread G. Milde
On  7.04.08, Miguel Daniel Rodríguez Magarzo wrote:

> So I don't know what to do, if I should abandon the idea of building a
> master document,since I don't see clearly which advantages it really
> provides. Anyone could point me any? 

You will get the advantage of a common document 

 * continuous page numbers
 * continuous chapter and section numbers
 * table of contents for the whole document
 * common bibliography section
 * cross-references between different chapters "just work"
 * ...
 
as well as the advantages of smaller documents 

 * faster compiling (i.e. faster preview of just one chapter)
 * faster navigation in a document
 * improved security: a corrupt sub-document does not affect the whole.
 * ...

There are disadvantages as well but this was not the question.

> Besides, the master document has not built-in the sets of child
> documents, has it? 

The master document source contains just a link to the child documents.
- this way is it remains a very small file.
The same is used for graphics.

For my thesis, I have a directory structure like

  Diss/
 main.lyx % master
 preamble.tex % used with \input{preamble.tex}
 math-macros.lyx  % included in master and childs (as branch)
 Einleitung/  % chapter 1
   einleitung.lyx % child document
   plot.eps   % vector graphic, included as is
   photo1.jpg % pixel graphic, wrapped in eps by LyX
 Grundgleichungen/% chapter 2
   feldkopplung.svg   % vector graphic, converted to eps by LyX
   impulsfolge.gnuplot% gnuplot source of a plot
   impulsfolge.eps% gnuplot eps output, included as is
   ...% more supporting files
 ...  % more chapter subdirectories
 zusammenfassung.lyx  % a chapter without supporting files
 Anhang/  % appendix
   ...% LyX source and supporting files
   
which will combined be not take more disk space than a corresponding
openoffice or other office-suite file with included graphics.
 
I can easily pack it in a zip or tar.bz2 archive if I want to move
or store it as a single file.

> Consequently, the whole set of child docs should be
> there forever, if I've understood it rightly.

No, only as long as the master document is there ;-)

GM


Re: multiplatform vector drawing program to use

2008-04-08 Thread Siegfried MEUNIER-GUTTIN-CLUZEL

Inkscape works very well on Windows ( at least on my XP system ...)

I also use a java implementation of xfig : jfig
see
http://tams-www.informatik.uni-hamburg.de/applets/jfig/

Siegfried.


Re: Just the name of the chapter right in the header, unable of getting it. How how how...

2008-04-08 Thread Filippo Zangheri
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Miguel Daniel Rodríguez Magarzo ha scritto:
> Hi again,
> 
> Honestly, I hope to get to explain good enough. The issue is very
> simple. 
> 
> What I've done until now in order to sorting this out has been just
> taping in the preamble, inside "\rhead{}", the string I wanted to be
> appeared there (using the fancyhdr). But how to do if I want the same
> result using code? 
> 
> I've tried several combinations, but without results. Actually, I never
> knew much what I  was really doing, since I know nothing about LaTeX,
> but the "try and error" method didn't gave me a only chance either.
> 
> In a pdf document ("Page layout in LaTeX", Piet van Oostrum, Utrecht
> University, 2004), page 10, it shows several examples of this, more...
> what I wanted was there... !!!, __just__ the third from the end, very
> simple:
> 
> \renewcommand{\chaptermark}[1]{%
>  \markboth{#1}{}}

Hi Miguel,

Try using the syntax below, maybe you are not using \leftmark?

\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\fancyhead[ER,OR,EL,OL]{}
\fancyhead[EC,OC]{Your Name\hfill \leftmark}

As a note, if you find that header font is too small, you can always
do: \begin{large}  \end{large} .

Greetings.


- --
Filippo Zangheri

GPG key ID: 0xE1D879FA
Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA
Key server: pgp.mit.edu

- -BEGIN GEEK CODE BLOCK-
Version: 3.12
GE d- s+:- a-- C++ UL+++ P+ L+++ E-- W+ N* o-- K- w--- O-- M--
V- PS++ PE+ Y+ PGP++ t 5-- X++ R* tv b+ DI-- D G-- e++ h--
r++ z*
- --END GEEK CODE BLOCK--
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH+zI96l+nKuHYefoRAq1XAJ9Yr4XWI3q/BNVPMiyc9ETmxcUKngCgndZV
OEtHHiN5Ev8pulVWNSTgBIo=
=mUKP
-END PGP SIGNATURE-



Postscript visualisation

2008-04-08 Thread Minet Roux
This visu give me:(approximative transalation from french)
"error during execution of dvips -t a4"
 Lyx 1.5.3 Ubuntu 7.10




Re: break long URL lines with LyX

2008-04-08 Thread Uwe Stöhr

Enrique J. Madrid M. schrieb:


How to break long URL lines with LyX?. I am using \url{}.


Use \href instead of \url, as described in section 5.8 or 5.9 in the 
EmbeddedObjects manual.

regards Uwe


Re: WRB - Summary of Experience with LyX

2008-04-08 Thread Uwe Stöhr

William R. Buckley schrieb:


I have learned from where most of the text formatting is controlled,
and it is surprisingly easy.  Don't understand why I can't there also
find *strikeout* among the forms.


Because the LateX-packages that support this are not yet ready for Unicode (non latin) characters, 
but we offer Unicode. We plan to build in support for this with LyX 1.7.



Also, why not add ability to
select the font, when also selecting weight (bold, medium) and
other features (normal, italic, slant)?


You can set the font in the document settings. A document should only have one font and in the 
document settings you can define what font should be used for typewriter, sansserif, and roman 
(serif) shapes in your document.

(The most consistent way is btw. to use a fon like latin modern that offers all 
three font shapes.)

regards Uwe


Error exporting OpenDocument

2008-04-08 Thread 张玉 Zhang Yu, Aaron
I download the lyx1.5.4 installation for windows, and get it installed with
default setup. It downloads MikteX and ImageMagik automatically.

However when select File->Export->OpenDocument, it runs "Latx run
Number1"..."oolatex -filename", but nothing happens to my directory.

 I searched all my files and I'm sure there's no output.

Anyone know what's the problem?

Lyx 1.5.4
MikTeX 2.7
Windows XP


endheads: problem with the memoir class?

2008-04-08 Thread Mathias Girel
Dear Lyx-users
I have managed, with the offline help of another lister, to have endheads
running smoothly with the Koma Script book class. This package is wonderful.

The problem is that my document's class is Memoir and endheads does not seem
to like that (I keep having error messages related to /footruleskip). I
guess the problem comes from the fancyhdr package that endheads needs.
I can't change the document class for reasons related to chapter styles and
so on.


Is there a way to use endheads with a memoir class document, maybe with some
ERT or preamble tweak?
Does anyone see how I could fix that problem?
I'd be very grateful for any help!
Best,
MG


Re: Lyx crashing on custom template

2008-04-08 Thread Jürgen Spitzmüller
hectic styler wrote:
> The main.lyx file included in
> http://www.threewordslong.com/downloads/lyx/unswthesis.zip exhibits
> this behavior.

I cannot reproduce any problem with your testfile on linux.

Jürgen


Re: Creating LaTeX File Programmatically: The Solution

2008-04-08 Thread José Matos
On Tuesday 08 April 2008 00:58:49 Rich Shepard wrote:
>    I don't mind contributing this to the Wiki if Christian (or anyone else)
> thinks there might be future interest in this, but I did not try it with
> LyX because I knew there would be a lot of adjustments to get the
> positioning just right.

  I think that an initial implementation in latex can lead the way to a later 
implementation in lyx.

  I think that this is interesting and I welcome an entry in the wiki.

> Rich

-- 
José Abílio


Re: Missing the Obvious? -- FIXED!

2008-04-08 Thread José Matos
On Monday 07 April 2008 23:33:13 Rich Shepard wrote:
>    I now return you to your regularly scheduled mail list.

  Welcome to the "Teddy bear effect". :-)
http://www.answers.com/topic/teddy-bear-effect

> Rich

-- 
José Abílio


Re: Creating LaTeX File Programmatically: The Solution

2008-04-08 Thread Steve Litt
On Tuesday 08 April 2008 05:38, José Matos wrote:
> On Tuesday 08 April 2008 00:58:49 Rich Shepard wrote:
> >    I don't mind contributing this to the Wiki if Christian (or anyone
> > else) thinks there might be future interest in this, but I did not try it
> > with LyX because I knew there would be a lot of adjustments to get the
> > positioning just right.
>
>   I think that an initial implementation in latex can lead the way to a
> later implementation in lyx.
>
>   I think that this is interesting and I welcome an entry in the wiki.

I agree. And even if it never makes it to LyX (which I think it will), it's 
valuable with LaTeX. As I said, I'll be using it (or something like it) to 
make mailing labels.

SteveT
 
Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: ERT to inline by command

2008-04-08 Thread Pavel Sanda
> My suggestion would be a new LFUN "next-inset-configure" that will
> open a dialog window in any case:

currently inset-settings lfun (now speaking in terms of 1.6)

pavel


Re: ERT to inline by command (workaround)

2008-04-08 Thread G. Milde
On  8.04.08, Pavel Sanda wrote:
> > My suggestion would be a new LFUN "next-inset-configure" that will
> > open a dialog window in any case:

> currently inset-settings lfun (now speaking in terms of 1.6)

I find inset-settings even in my LyX 1.5.4. 

However, I could not get M-x inset-settings to open the settings dialogue
of an ERT box. Tried with the cursor inside the box as well as in front
of the box. (Error message: Befehl ist deaktiviert == function deactivated)

However, I found that while you cannot change an ERT-box to inline-ERT,
you can create an inline-ERT in the first place by binding a key to 
"inset-insert ert 1".

If "ERT to inline by command" means changing ERT to normal text, than 
"inset-dissolve" is your LFUN. By default, you can do this via pressing
Backspace with the cursor at the beginning of the inset.

Günter

BTW: 

Why is 
  inset-toggle renamed to next-inset-toggle while 
  inset-insert,
  inset-apply, 
  inset-settings, and 
  inset-dissolve 
all keep their names. 

Also, if the cursor is inside an inset, next-inset-toggle will close this
inset an not the next one. (It will toggle a nested inset if the cursor
is just before it, though.)

Tests
-

M-x inset TAB displays a choice of functions starting with "inset":

inset-dissolve convert the inset to "normal" text.

inset-insert   prints "LyX function 'space' needs an argument." to stderr

inset-insert ert   creates a (closed) ERT box and brings LyX in an
   unstable state. (leading to a lyx: SIGSEGV signal caught
   crash some trials later).

inset-insert ert foo  told my why: LyX: Bad integer `foo' 
  so I tried with integer arguments, which after the
  aforementioned crash came out as:

   
inset-insert ert 0  creates a closed ERT box.
inset-insert ert 1  creates an inline ERT box. 
(but places the cursor behind!)
inset-insert ert 2  creates an open ERT box (also with the cursor behind).


inset-applyprints "LyX function 'space' needs an argument." to stderr


How can I find out other possbile arguments to inset-insert and what
argument(s) does inset-apply expect?
 

   




Re: Creating LaTeX File Programmatically: The Solution

2008-04-08 Thread Rich Shepard

On Tue, 8 Apr 2008, Steve Litt wrote:


I agree. And even if it never makes it to LyX (which I think it will),
it's valuable with LaTeX. As I said, I'll be using it (or something like
it) to make mailing labels.


  I sent the file to Jose'. It can be renamed to whatever anyone wants.
Since it's a simple extract for development purposes of the more
comprehensive function, it's highly focused (data built in). Should be
adaptable to other languages (e.g., perl), and probably can be improved,
too. But, it works for now and that's what I need.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: ERT to inline by command (workaround)

2008-04-08 Thread Pavel Sanda
> > currently inset-settings lfun (now speaking in terms of 1.6)
> 
> I find inset-settings even in my LyX 1.5.4. 
> 
> However, I could not get M-x inset-settings to open the settings dialogue
> of an ERT box. Tried with the cursor inside the box as well as in front
> of the box. (Error message: Befehl ist deaktiviert == function deactivated)

i have told you i'm speaking in terms of 1.6 :)

> BTW: 
> 
> Why is 
>   inset-toggle renamed to next-inset-toggle while 
>   inset-insert,
>   inset-apply, 
>   inset-settings, and 
>   inset-dissolve 
> all keep their names. 
> 
> Also, if the cursor is inside an inset, next-inset-toggle will close this
> inset an not the next one. (It will toggle a nested inset if the cursor
> is just before it, though.)

i agree the situation around inset-xxx lfun is bit chaotic. at least i'm trying
to make some proper documentation currently. if you think there are things to be
changed feel free to comment on, but please move to 1.6 tree, where the code
is under flux and can be changed easily.

> inset-insert ert   creates a (closed) ERT box and brings LyX in an
>  unstable state. (leading to a lyx: SIGSEGV signal caught
>  crash some trials later).

i guess there will be lots of crashes when you pass some hostile arguments to
various lyx functions.

pavel


Re: multiplatform vector drawing program to use

2008-04-08 Thread Rich Shepard

On Tue, 8 Apr 2008, G. Milde wrote:


Ipe  is a Qt based vector drawing app that
uses LaTeX for text.


  When I started looking at vector graphics applications for linux I stopped
counting at 17. I tried ipe; it's nice but didn't make my final cut.


You might consider using the psfrag LaTeX package for this. It can replace
alphanumeric labels in eps files with LaTeX constructs defined in the
including document. (Drawback: it does not work with pdflatex.)


  In addition to PyX (for which I have developed a great affinity in the
past couple of weeks), I strongly recommend PSTricks. Herbert's two chapters
in the second edition of The LaTeX Graphics Companion provide all the
knowledge one needs to start.

  Of course, that book is also valuable for Metapost and all the other
vector apps that are integrated with LaTeX.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Missing the Obvious? -- FIXED!

2008-04-08 Thread Rich Shepard

On Tue, 8 Apr 2008, José Matos wrote:


 Welcome to the "Teddy bear effect". :-)


  I used to teach at University level. It quickly became obvious to me that
to really know a subject well one must teach it.

  Too often, however, I felt that I was subject to the brick wall effect
rather than to the teddy bear effect.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863

Re[2]: multiplatform vector drawing program to use

2008-04-08 Thread Alan G Isaac
On Tue, 8 Apr 2008, Rich Shepard apparently wrote:
> I strongly recommend PSTricks. 

Don't forget about tikz, which is more than enough
for most users but it more portable.  (E.g., it can
be used with pdftex.)

Cheers,
Alan Isaac





Re: ERT to inline by command (workaround)

2008-04-08 Thread Pavel Sanda
> How can I find out other possbile arguments to inset-insert and what
> argument(s) does inset-apply expect?

some partial info can be found here:
http://www.jikos.cz/~ps/lyx/html/namespacelyx.html#5ae63e8160e98b54ad28f142ed40c202449cfaf8159510673d9cbc8920aa6428

pavel


Re: multiplatform vector drawing program to use

2008-04-08 Thread Paul A. Rubin

Alan G Isaac wrote:

On Tue, 8 Apr 2008, Rich Shepard apparently wrote:
I strongly recommend PSTricks. 


Don't forget about tikz, which is more than enough
for most users but it more portable.  (E.g., it can
be used with pdftex.)



I'll second this.  My graphics use is pretty much limited to network 
diagrams, for which I find TikZ excellent.  There is a graphical editor 
for TikZ under Linux (KtikZ), available as source or a .deb for Ubuntu 
Gutsy.  It uses LaTeX preview to build the image as you edit.  I've only 
played with it briefly -- I don't think it has intrinsic support for all 
the node/edge stuff (which is mostly what I use), but if you're a TikZ 
user it's worth a look.  AFAIK there's no TikZ-aware editor/IDE for Windows.


/Paul



Re: multiplatform vector drawing program to use

2008-04-08 Thread Maksi


Oscar Lopez wrote:
> Now we are concerned with the use of a common vector
> drawing program that can be used at both platforms. The main feature that
> we
> require is that the vector drawing program can annotate drawings with
> latex math
> formulae.

I do not know about the math formula stuff, but I use Inkscape for Vector
Graphics in LyX. It is very comfortable as you can 
http://wiki.lyx.org/Tips/UseInkscapeSVGImages use the SVG images directly in
LyX . Also, it supports several plattforms.
And, just to mention them, there are also 
http://jpicedt.sourceforge.net/site/index.php?language=en jPicEdt  and 
http://latexdraw.sourceforge.net/ LaTeXDraw , which are way better for
integration in LaTeX (e.g. fonts) but I do not know about their vector
graphics capabilities.

Maksi

-- 
View this message in context: 
http://www.nabble.com/multiplatform-vector-drawing-program-to-use-tp16542701p16558749.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Missing the Obvious? -- FIXED!

2008-04-08 Thread Paul A. Rubin

Rich Shepard wrote:

On Tue, 8 Apr 2008, José Matos wrote:


 Welcome to the "Teddy bear effect". :-)


  I used to teach at University level. It quickly became obvious to me that
to really know a subject well one must teach it.

  Too often, however, I felt that I was subject to the brick wall effect
rather than to the teddy bear effect.



I prefer to think of this as the "watering the horse" effect.  As in, 
you can lead a horse to water but you can't make him drink -- but if you 
lead him in deep enough, you can drown him.


Don't repeat that to my dean.

/Paul



Re: multiplatform vector drawing program to use

2008-04-08 Thread curtis osterhoudt
If you're actually comfortable with XFig (it's almost all I need sometimes), 
look up JFig. It's not a 100% clone (which is a good thing, in my opinion).

   
 
/
  Down with categorical imperative!
  [EMAIL PROTECTED]
/

- Original Message 
From: Oscar Lopez <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Sent: Monday, April 7, 2008 8:54:04 AM
Subject: multiplatform vector drawing program to use 

Dear lyxers

I am starting a document project with a colleague using lyx. The goal is to
obtain a big document of a technical course. My colleague uses the windows
version of lyx and I use the linux version. At this initial stage we can easily
share simple documents.  Now we are concerned with the use of a common vector
drawing program that can be used at both platforms. The main feature that we
require is that the vector drawing program can annotate drawings with latex math
formulae. I am quite satisfied with the current support of xfig at lyx using
external material. However, as far as I know, xfig only runs at linux machines
therefore we are looking for an alternative program. Could anybody care to give
us some recommendation? Any advice related to other aspects of such a project
are also welcome.

Thank you very much for all your help
Best regards







  

You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

Re: break long URL lines with LyX

2008-04-08 Thread Enrique J. Madrid M.
Thanks a lot for the response, but I got the same effect. However, I am using 
\href{URL}{TEXT}. Where TEXT is the URL, because i need to show the URL for 
print out. In addition, I am inserting a space into TEXT to forcing the break 
line.

enrique j. madrid m.
Tecnología y Desarrollo.
 
Soluciones Info Móviles S.A.C
Avda. javier prado oeste 203 piso 13, lima 27 
 Telfs: + 51 (1) 211-0608,  RPM #620193 


- Original Message 
From: Uwe Stöhr <[EMAIL PROTECTED]>
To: Enrique J. Madrid M. <[EMAIL PROTECTED]>
Cc: Users Lyx 
Sent: Tuesday, April 8, 2008 5:17:45 AM
Subject: Re: break long URL lines with LyX

Enrique J. Madrid M. schrieb:

> How to break long URL lines with LyX?. I am using \url{}.

Use \href instead of \url, as described in section 5.8 or 5.9 in the 
EmbeddedObjects manual.

regards Uwe





Re: multiplatform vector drawing program to use

2008-04-08 Thread Steve Litt
On Tuesday 08 April 2008 09:33, Rich Shepard wrote:
> I strongly recommend PSTricks. Herbert's two
> chapters in the second edition of The LaTeX Graphics Companion provide all
> the knowledge one needs to start.

Is there a SVG to PSTricks converter? Can you imagine how cool that would be?!

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: No accents when mastering a document (Spanish) ??

2008-04-08 Thread Miguel Daniel Rodríguez Magarzo

> 
> It is really important that you check twice and make sure that all
> child documents are encoded in "utf8", because just one miss can
> cause that complaint. Here, with LyX 1.5.4 on Linux and Italian
> language, I can not reproduce the behaviour you are describing.
> 
> 

I did it. Your suspect was correct. I answered yet this.

> > So I don't know what to do, if I should abandon the idea of building a
> > master document,since I don't see clearly which advantages it really
> > provides. Anyone could point me any? Besides, the master document has
> 
> Until now (LyX 1.5.4), I think that having a master document has the
> only advantage of allowing you to build a single pdf/ps/whatever
> output file, out of all the child documents, without the need for
> merging them with 3rd party applications.
> 

Your answer here clarifies me the doubt of the end. 

> Another advantage is that you can write child documents without
> thinking much about little inter-chapter LaTeX adjustments; then you
> can put all the ERT adjustments in the master file. I hope you
> understand my pseudo-English. ;)
> 
Yep. :-)

> It is likely that further versions will permit you to perform better
> and deeper management of child documents from within the master.
> 
> 
> > not built-in the sets of child documents, has it? Consequently, the
> 
> If I understand right, you are asking if master document contains
> the list of its child documents. The answer to this question is
> obviously yes :) but I'm not sure that this is what you mean..
> 
> 

No, that was too much obvious... :-))  I didn't mean that. But don't
worry, I already got the idea  from a previous comment from you (above).

> Best regards.
> 
> - --
> Filippo Zangheri
> 

Thank you very much for this,

Daniel



Re: multiplatform vector drawing program to use

2008-04-08 Thread christian . ridderstrom

On Tue, 8 Apr 2008, Paul A. Rubin wrote:


Alan G Isaac wrote:

 On Tue, 8 Apr 2008, Rich Shepard apparently wrote:
>  I strongly recommend PSTricks.

 Don't forget about tikz, which is more than enough
 for most users but it more portable.  (E.g., it can
 be used with pdftex.)


I created a wiki page

http://wiki.lyx.org/Tips/AdditionalSoftware

where you can list the software. For now I've basically only added a link 
to this thread.


/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Clickable Intradocument Cross-Reference

2008-04-08 Thread martinezfive
Hi,
Where would I find information on how to insert a clickable cross-reference 
(much like a hypertext one), which redirects to another area of the same 
document, in Lyx?

Thanks in advance.


natbib.sty

2008-04-08 Thread KM, H & A Friedl
Hi

I am a newcomer in using LyX. May I kindly ask you for your assistance with the 
problem I am struggling with:

I have downloaded natbib.zip and unzipped it to my LyX folder but when I am 
trying to convert into .pdf a document of a colleague in which he has used 
natbib for the bibliography I get an empty output file:

1) Required file
tex\latex\natbib\natbib.sty
is missing. ... Package will be installed from ...

2) After pressing the install button I get two successive windows with the 
messages

a) An empty output file was generated.
b) LaTeX Error: File 'natbib.sty' not found.

Furthermore, although I have downloaded and installed(?) natbib, LaTeX 
configuration of LyX does not find natbib.

I would highly appreciate your help!

Regards
Alfred

Re: natbib.sty

2008-04-08 Thread rgheck

KM, H & A Friedl wrote:

Hi

I am a newcomer in using LyX. May I kindly ask you for your assistance with the 
problem I am struggling with:

I have downloaded natbib.zip and unzipped it to my LyX folder
  
You need to install natbib.sty into your LaTeX tree. Exactly how you do 
this and where you put it and so on and so forth depends upon your system.


That said, I'm kind of surprised if your LaTeX distribution doesn't come 
with natbib. So: What platform are you on? What LaTeX distribution are 
you using?


rh


 but when I am trying to convert into .pdf a document of a colleague in which 
he has used natbib for the bibliography I get an empty output file:

1) Required file
tex\latex\natbib\natbib.sty
is missing. ... Package will be installed from ...

2) After pressing the install button I get two successive windows with the 
messages

a) An empty output file was generated.
b) LaTeX Error: File 'natbib.sty' not found.

Furthermore, although I have downloaded and installed(?) natbib, LaTeX 
configuration of LyX does not find natbib.

I would highly appreciate your help!

Regards
Alfred
  




Re: Clickable Intradocument Cross-Reference

2008-04-08 Thread Les Denham
On Tuesday 08 April 2008, [EMAIL PROTECTED] wrote:
> Hi,
> Where would I find information on how to insert a clickable
> cross-reference (much like a hypertext one), which redirects to another
> area of the same document, in Lyx?
>
> Thanks in advance.

For when you are editing the LyX document?

If you insert a label (the icon that looks like a luggage tag) at the target 
point, then insert a cross-reference (the icon like an open book with an 
arrow in it) where you want the clickable cross-reference.  Clicking on the 
cross-reference gives a popup window with "Go to Label" as one of the 
options.

For the final PDF document, use the hyperref package.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Just the name of the chapter right in the header, unable of getting it. How how how...

2008-04-08 Thread Miguel Daniel Rodríguez Magarzo

El mar, 08-04-2008 a las 10:52 +0200, Filippo Zangheri escribió:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Miguel Daniel Rodríguez Magarzo ha scritto:
> > Hi again,
> > 
> > Honestly, I hope to get to explain good enough. The issue is very
> > simple. 
> > 
> > What I've done until now in order to sorting this out has been just
> > taping in the preamble, inside "\rhead{}", the string I wanted to be
> > appeared there (using the fancyhdr). But how to do if I want the same
> > result using code? 
> > 
> > I've tried several combinations, but without results. Actually, I never
> > knew much what I  was really doing, since I know nothing about LaTeX,
> > but the "try and error" method didn't gave me a only chance either.
> > 
> > In a pdf document ("Page layout in LaTeX", Piet van Oostrum, Utrecht
> > University, 2004), page 10, it shows several examples of this, more...
> > what I wanted was there... !!!, __just__ the third from the end, very
> > simple:
> > 
> > \renewcommand{\chaptermark}[1]{%
> >  \markboth{#1}{}}
> 
> Hi Miguel,
> 
> Try using the syntax below, maybe you are not using \leftmark?
> 
> \usepackage{fancyhdr}
> \pagestyle{fancy}
> \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
> \fancyhead[ER,OR,EL,OL]{}
> \fancyhead[EC,OC]{Your Name\hfill \leftmark}
> 
> As a note, if you find that header font is too small, you can always
> do: \begin{large}  \end{large} .
> 
> Greetings.
> 
> 
> - --
> Filippo Zangheri
> 

Thank you for your suggestion, Filippo.

I've tried with that, removing much of the lines I had in the preamble;
this is what is there at the moment:

\AtBeginDocument{%
\addto\captionsspanish{%
\renewcommand{\chaptername}{Tema }%
}}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\fancyhead[ER,OR,EL,OL]{}
\fancyhead[EC,OC]{Biología\hfill \leftmark} 
\cfoot{\thepage}


This code works, since:
a. To the left of each page, heading, appears the string wanted.
b. To the right of the same page, heading, takes place the title of the
chapter, as desired, but...

1. There is a minor detail, a difference in relation to what I wanted:
it appears in upper case letters; I didn't wanted in that way, but lower
case letters except the first, e.g. Nucleic acids, not NUCLEIC ACIDS.
2. Besides, now a new (big) fail has appeared: the number page is the
"1" in all pages of the master document. Much probably this has to do
with the ERT that I had placed at the beginning of each document
(child), just after the chapter, this one:

\setcounter{page}{1}

This did let me to obtain a desired effect: to reset page numbers when
starting each chapter. I know this practise is not much common, but for
some materials it reveals to be very practical (specially for pupils). 

Is there any work around for solving these issues, please?

Daniel



Re: Howto for footnoting from a table

2008-04-08 Thread Miguel Daniel Rodríguez Magarzo

El lun, 07-04-2008 a las 19:45 +0200, Uwe Stöhr escribió:
> Miguel Daniel Rodríguez Magarzo schrieb:
> >
> > One of the doubts is how to do a footnote from a table element, if
> > possible. Lyx behaves as it had been done, but it hadn't, according with
> > the xdvi preview.
> 
> See sec. 4.2 and 5.4 of the EmbeddedObjects manual.
> 
>  > I'm working with LyX 1.5.1, and here I can find a work
> 
> regards Uwe

Thanks Uwe, 

I've read those and another sections (they are translated), and the word
key is _minipages_. The idea was exposed very simply, good. 

Then, the hard work was to find how to set up a minipage in the
document... Finally I discovered it (by exclusion) in "Insertar >
Cuadro" (in Spanish). 

It worked. Thank you again.

Daniel

P.S. BTW, I don't know why, but I couldn't get a preview of the
mentioned manual through xdvi, pdf, etc. There were four identical
errors: 
"Package inputenc Error: Keyboard character used is undefined"
The highlighted character in all cases is the "degree" symbol, that is,
º, e.g. 90º. 
I don't know if this has anything to do with the settings or anything
else..



Re: Name of the Mascot (Was: New splash screen (Was: LyX logo))

2008-04-08 Thread Luis Rivera
curtis osterhoudt <[EMAIL PROTECTED]> writes:

> 
> I don't see that "LyXia" engenders "oral" thoughts, though I'd be more
strongly inclined to give the
> program a try if it did! Besides, would this mean that Word users suffer from
dysLyXia?
> 

If the thread (and vote) are still open, I'd say "LyX" is just fine;
alternative: FeLyX (although a cat would be better then :) 

On the LyDia/dysLyXia front, why not aLyXia? (although alyxiae seem to be plants
rather than animals).

My penny contribution,

Luis.




Re: multiplatform vector drawing program to use

2008-04-08 Thread Paul A. Rubin

Steve Litt wrote:


Is there a SVG to PSTricks converter? Can you imagine how cool that would be?!



Seems to me I saw somewhere that Inkscape can read SVG (is that its 
native format?) and export to PSTricks.


/Paul



Float Placement in Windows version of LYX

2008-04-08 Thread neon none
Hello,

I am trying to control the float placement in Windows version of Lyx. While
the LyxWiki prescribes going to Layout menu and use Float placement dialog
to do so, I see no such 'Layout' menu in the version I am using (LyxWindows
1.5.4) [the official windows installation].  So, what should I do to control
float placement in Lyx windows version?

Thanks,
Neon


Re: multiplatform vector drawing program to use

2008-04-08 Thread Oscar Lopez
Oscar Lopez <[EMAIL PROTECTED]> writes:

Thank you very much for your contributions to this thread

I would like to give a brief summary of what I have been able to learn

I gave a try to inkscape however it seems that the render of latex formula is
broken at linux at version 0.45. Last stable version I haven't been able to
compile at linux and I can not comment

So far, the more promising try have been ipe. It seems that latex formulae can
be easily inserted. There are some minor issues that I have to get used, but it
could be the tool we are looking for.

PyX seems to much low level for my taste. We were looking something more 
drag'n'drop

Before I recommend my colleague to give a try to jfig I'd like to hear from
people that have used it if jfig can be used the same way that xfig with the
external material inset (taking care of latex formula rendering internally using
some python scripts)

Other possibility would be cygwin however it will depend on the policy of the
system administration where he works.

Once again thank you very much for your valuable contributions.







Re: Name of the Mascot (Was: New splash screen (Was: LyX logo))

2008-04-08 Thread Wolfgang Engelmann
Am Dienstag, 8. April 2008 23:02 schrieb Luis Rivera:
> curtis osterhoudt <[EMAIL PROTECTED]> writes:
> > I don't see that "LyXia" engenders "oral" thoughts, though I'd be more
>
> strongly inclined to give the
>
> > program a try if it did! Besides, would this mean that Word users suffer
> > from
>
> dysLyXia?
>
>
> If the thread (and vote) are still open, I'd say "LyX" is just fine;
> alternative: FeLyX (although a cat would be better then :)
>
> On the LyDia/dysLyXia front, why not aLyXia? (although alyxiae seem to be
> plants rather than animals).
>
> My penny contribution,
>
> Luis.


my penny contribution:

LyXle

mind you, LyX was created in Tuebingen, which belongs to Swabia (Germany), and 
the Swabians put a le at the end of a word for diminution. An advantage is, 
its pronouncable for GBs and USs easily (though not as the swabians do)

Wolfgang


Re: No accents when mastering a document (Spanish) ??

2008-04-08 Thread Miguel Daniel Rodríguez Magarzo

El mar, 08-04-2008 a las 10:12 +0200, G. Milde escribió:
> On  7.04.08, Miguel Daniel Rodríguez Magarzo wrote:
> 
> > So I don't know what to do, if I should abandon the idea of building a
> > master document,since I don't see clearly which advantages it really
> > provides. Anyone could point me any? 
> 
> You will get the advantage of a common document 
> 
>  * continuous page numbers
>  * continuous chapter and section numbers
>  * table of contents for the whole document
>  * common bibliography section
>  * cross-references between different chapters "just work"
>  * ...
>  
> as well as the advantages of smaller documents 
> 
>  * faster compiling (i.e. faster preview of just one chapter)
>  * faster navigation in a document
>  * improved security: a corrupt sub-document does not affect the whole.
>  * ...
> 
> There are disadvantages as well but this was not the question.
> 

You are very very illustrative, thanks.

> > Besides, the master document has not built-in the sets of child
> > documents, has it? 
> 
> The master document source contains just a link to the child documents.
> - this way is it remains a very small file.
> The same is used for graphics.
> 

I've got already the idea :-) But yes, that was the sense of my
question ;-)

> For my thesis, I have a directory structure like
> 
>   Diss/
>  main.lyx % master
>  preamble.tex   % used with \input{preamble.tex}
>  math-macros.lyx  % included in master and childs (as branch)
>  Einleitung/% chapter 1
>einleitung.lyx   % child document
>plot.eps % vector graphic, included as is
>photo1.jpg   % pixel graphic, wrapped in eps by LyX
>  Grundgleichungen/  % chapter 2
>feldkopplung.svg % vector graphic, converted to eps by LyX
>impulsfolge.gnuplot% gnuplot source of a plot
>impulsfolge.eps  % gnuplot eps output, included as is
>...% more supporting files
>  ...% more chapter subdirectories
>  zusammenfassung.lyx  % a chapter without supporting files
>  Anhang/% appendix
>...  % LyX source and supporting files
>
> which will combined be not take more disk space than a corresponding
> openoffice or other office-suite file with included graphics.
>  
> I can easily pack it in a zip or tar.bz2 archive if I want to move
> or store it as a single file.
> 
> > Consequently, the whole set of child docs should be
> > there forever, if I've understood it rightly.
> 
> No, only as long as the master document is there ;-)
> 
> GM

:-))

Thanks again, you talked very clearly.

Cheers,
Daniel