Re: Layout: OptionalArgs

2011-04-20 Thread Jean-Marc Lasgouttes

Le 20/04/2011 02:23, Diego Queiroz a écrit :

When developing layouts, what the OptionalArgs command actually do?

I mean, I already know what it represents (the number of optional
arguments of the command), but it appears to do nothing on LyX.


It enables the InsertShort Title (bad name...) menu entry.

JMarc


Change default viewer?

2011-04-20 Thread Anthony Campbell
The default viewer (called with Ctrl-R) is Adobe. I want to use xpdf but
I can't find anywhere to change this. Tools - Preferences doesn't seem
to offer a choice. Is it possible to do this?

Anthony
-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Change default viewer?

2011-04-20 Thread Liviu Andronic
On Wed, Apr 20, 2011 at 9:51 AM, Anthony Campbell a...@acampbell.org.uk wrote:
 The default viewer (called with Ctrl-R) is Adobe. I want to use xpdf but
 I can't find anywhere to change this. Tools - Preferences

..then  File handling  Formats, then choose the format of interest
and specify the desired viewer.
Liviu


 doesn't seem
 to offer a choice. Is it possible to do this?

 Anthony
 --
 Anthony Campbell - a...@acampbell.org.uk
 Microsoft-free zone - Using Debian GNU/Linux
 http://www.acampbell.org.uk - sample my ebooks at
 http://www.smashwords.com/profile/view/acampbell





-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Scaling Lilypond files in LyX

2011-04-20 Thread Richard Opheim
Hello LyX users.
What an excellent software LyX is, once it gets used to you.
However, when I try to insert a Lilypond file via Insert-File-External
Material, the Size and Rotation tab is grayed out. Furthermore, clicking
the LaTex and LyX options tab, the Scale on Screen box is grayed out as
well.
That's too bad, because my music will not fit on the page if not scaled
down.
Are these features not yet available or ...?

Richard Opheim


Re: Change default viewer?

2011-04-20 Thread Anthony Campbell
On 20 Apr 2011, Liviu Andronic wrote:
 On Wed, Apr 20, 2011 at 9:51 AM, Anthony Campbell a...@acampbell.org.uk 
 wrote:
  The default viewer (called with Ctrl-R) is Adobe. I want to use xpdf but
  I can't find anywhere to change this. Tools - Preferences
 
 ..then  File handling  Formats, then choose the format of interest
 and specify the desired viewer.
 Liviu
 
 


Sorry to be dense,but I can't see how this is supposed to work. I tried
changing Viewer from None to Custom and then putting in xpdf but I still
get Adobe.



-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Change default viewer?

2011-04-20 Thread Liviu Andronic
On Wed, Apr 20, 2011 at 11:01 AM, Anthony Campbell a...@acampbell.org.uk 
wrote:
 Sorry to be dense,but I can't see how this is supposed to work. I tried
 changing Viewer from None to Custom and then putting in xpdf but I still
 get Adobe.

No, it's OK, it can be confusing. You have to select PDF (pdflatex),
assuming this is your output format (also called pdf2), and change
viewer to xpdf. If it still doesn't work, you might have edited the
wrong format so try the other PDF or Postscript flavours.
Liviu



Re: Lyx no backslash possible to enter proxy in a special domain

2011-04-20 Thread Manveru
2011/4/12 Marc Wollersheim m...@marcwollersheim.de:
 Hello together.

 I am new here, it is my first subscribe to a mailing list, so i hope to do
 nothing wrong.

 My problem while using Lyx ( to write my thesis in a company) Lyx needs to
 download some packages like graphix, pgfplots etc.
 Therefore i have to enter a proxy. But in this server environment of the
 company i have to enter a proxy with the domain prefix, e.g. domain\proxy.
 But i cannot enter a backslash, so i does not work.
 Is there any other way to define the proxy (e.g in a config file)?
 Or do you have any other concrete idea to solve the problem?

I think this is a MikTeX issue or other TeX distro you are using on
your Windows. This is not a LyX problem.

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


Re: LyX2.0.0rc2, problem with keywords/Probleme mit dem Einfügen von Stichwörtern

2011-04-20 Thread Jürgen Spitzmüller
Am 20. April 2011 09:01 schrieb Opitz, Eberhard:

  I’ve written a longer text and added several keywords (in German:
 Stichworte). Most of them are a bit longer:



 Bauaufsichtsbehörde, Einschreiten ! Zuständigkeit ! Andere Behörde

 Bauaufsichtliche Verfügung ! Bestimmtheit



 The more keywords I use the harder it gets to remember them. So I open the
 outline (in German: Gliederung) to see all keywords I’ve defined up to now.
 That could be a help, but – all keywords are abbreviated (see image).


I fear (but I'm not sure) this is hardcoded, so you cannot change the
length.

The next problem is, that there’s obviously no way to choose the defined
 keywords from a list and paste them to another place in the text. Example:
 I’ve defined the keyword Baubehörde ! Zuständigkeit on line 234 and want to
 use it again in line 354. Up to now I have to write it again and am not able
 to choose it from a list. Do you plan to change that?


You are right, this is not yet implemented, but it would definitely be a
valuable feature. We have already a feature request for that:
http://www.lyx.org/trac/ticket/4582

In the meantime, you can enable (general) autocompletion (Tools 
Preferences  Edit  Autocompletion) for text mode. This is certainly not
exactly what you want, but it might be of some help nevertheless.

Jürgen


Re: How?

2011-04-20 Thread Jürgen Spitzmüller
In this context, make sure not to miss Knuth's pronuciation of
iTeX during his earthshaking announcement at TUG 2010:

http://river-valley.tv/tug-2010/an-earthshaking-announcement

Jürgen


RC3 for WIndows ?

2011-04-20 Thread Mariano Llamedo Soria
Is it planed to be available for Windows ?

Regards,
Mariano.


Re: Change default viewer?

2011-04-20 Thread Anthony Campbell
On 20 Apr 2011, Liviu Andronic wrote:
 On Wed, Apr 20, 2011 at 11:01 AM, Anthony Campbell a...@acampbell.org.uk 
 wrote:
  Sorry to be dense,but I can't see how this is supposed to work. I tried
  changing Viewer from None to Custom and then putting in xpdf but I still
  get Adobe.
 
 No, it's OK, it can be confusing. You have to select PDF (pdflatex),
 assuming this is your output format (also called pdf2), and change
 viewer to xpdf. If it still doesn't work, you might have edited the
 wrong format so try the other PDF or Postscript flavours.
 Liviu


Yes, thanks - got it working now!

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Layout: OptionalArgs

2011-04-20 Thread Richard Heck

On 04/20/2011 03:42 AM, Jean-Marc Lasgouttes wrote:

Le 20/04/2011 02:23, Diego Queiroz a écrit :

When developing layouts, what the OptionalArgs command actually do?

I mean, I already know what it represents (the number of optional
arguments of the command), but it appears to do nothing on LyX.


It enables the InsertShort Title (bad name...) menu entry.


...which is what you use to insert optional arguments.

rh



Re: Scaling Lilypond files in LyX

2011-04-20 Thread Julien Rioux

On 20/04/2011 4:24 AM, Richard Opheim wrote:

Hello LyX users.
What an excellent software LyX is, once it gets used to you.
However, when I try to insert a Lilypond file via Insert-File-External
Material, the Size and Rotation tab is grayed out. Furthermore, clicking
the LaTex and LyX options tab, the Scale on Screen box is grayed out as
well.
That's too bad, because my music will not fit on the page if not scaled
down.
Are these features not yet available or ...?

Richard Opheim



When you insert them as graphics (Insert  graphics) you should be able 
to scale them. Please let us know if this works for you.


By the way LyX 2.0 will include the possibility to enter the lilypond 
code directly and process the document through lilypond-book. It might 
be the case that you prefer external .ly files, in which case this 
doesn't help.


Cheers,
Julien



iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-20 Thread Liviu Andronic
Dear all

On Wed, Apr 20, 2011 at 12:27 PM, Jürgen Spitzmüller sp...@lyx.org wrote:
 In this context, make sure not to miss Knuth's pronuciation of
 iTeX during his earthshaking announcement at TUG 2010:

I'm a bit surprised by this announcement. Does iTeX have any potential
to stick around? Will it compete with XeTeX and the ilk?

Opinions?
Liviu



 http://river-valley.tv/tug-2010/an-earthshaking-announcement

 Jürgen




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-20 Thread Jürgen Spitzmüller
2011/4/20 Liviu Andronic:
 I'm a bit surprised by this announcement. Does iTeX have any potential
 to stick around? Will it compete with XeTeX and the ilk?

Certainly. LyX 3.0 (a.k.a. iLyX), which will be released on April 1,
2012, will run iTeX exclusively. The only thing holding us up is the
production of the bells (for the logo).

Jürgen


Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-20 Thread Julien Rioux

On 20/04/2011 10:31 AM, Liviu Andronic wrote:

Dear all

On Wed, Apr 20, 2011 at 12:27 PM, Jürgen Spitzmüllersp...@lyx.org  wrote:

In this context, make sure not to miss Knuth's pronuciation of
iTeX during his earthshaking announcement at TUG 2010:


I'm a bit surprised by this announcement. Does iTeX have any potential
to stick around? Will it compete with XeTeX and the ilk?

Opinions?
Liviu




http://river-valley.tv/tug-2010/an-earthshaking-announcement

Jürgen







Unless you bother to watch the video you won't get it.
(jump to 13:30 for the pronunciation)

--
Julien



Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-20 Thread Liviu Andronic
On Wed, Apr 20, 2011 at 4:44 PM, Julien Rioux  Unless you bother to
watch the video you won't get it.
 (jump to 13:30 for the pronunciation)

OK, I got to the part:
Every-
thing in the new system is menu-driven, somewhat
in the style of “Microsoft Word” but considerably
enhanced:

So I guess we'll have to wait for pigs to fly before we port LyX to iTeX.

Was this an Apr 1 joke ?
Liviu


Index generation failure - bug?

2011-04-20 Thread Anthony Campbell
I found that Lyx was not generating the index with at least two files I
tried it on.

After a lot of experimentation I managed to get an index using a
semi-manual method:

1. Export the file as latex (luatex and possibly other formats work).
2. Run latex on myfile.tex (did it twice)
3. Run makeindex on myfile.idx.
4, Run latex again on myfile.tex


After doing all this, LyX does show the index when I view the file. Is
this a bug I should report or am I doing something wrong? I tried
setting DocumentSettingsIndexes to different processors (makeindex,
xindy, and texindy) but no joy.

It looks as if LyX doesn't automatically generate myfile.idx on my
setup; I have to do it manually.

Anthony




-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Lyx no backslash possible to enter proxy in a special domain

2011-04-20 Thread Diego Queiroz
I think Manveru is right.
But on MikTeX there is a Connection seetings button where you can input
anything (including slashes).

I don't know what window you're talking about.
Could you send a snapshot?

---
Diego Queiroz



2011/4/20 Manveru manv...@manveru.pl

 2011/4/12 Marc Wollersheim m...@marcwollersheim.de:
  Hello together.
 
  I am new here, it is my first subscribe to a mailing list, so i hope to
 do
  nothing wrong.
 
  My problem while using Lyx ( to write my thesis in a company) Lyx needs
 to
  download some packages like graphix, pgfplots etc.
  Therefore i have to enter a proxy. But in this server environment of the
  company i have to enter a proxy with the domain prefix, e.g.
 domain\proxy.
  But i cannot enter a backslash, so i does not work.
  Is there any other way to define the proxy (e.g in a config file)?
  Or do you have any other concrete idea to solve the problem?

 I think this is a MikTeX issue or other TeX distro you are using on
 your Windows. This is not a LyX problem.

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



Re: RC3 for WIndows ?

2011-04-20 Thread Diego Queiroz
Mariano,
There aren't official installers.

But there is an unnoficial installer, created by Michal. You would try it:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg86174.html


http://www.mail-archive.com/lyx-users@lists.lyx.org/msg86174.htmlCheers,
---
Diego Queiroz



2011/4/20 Mariano Llamedo Soria llame...@gmail.com

 Is it planed to be available for Windows ?

 Regards,
 Mariano.



Re: Layout: OptionalArgs

2011-04-20 Thread Diego Queiroz
Yeah, I already realized that Short title is a terrible name (since it
only makes sense for captions, chapters, sections, and so on).
We need to change this in future releases...

Anyway...

So is OptionalArgs a boolean field?
I am asking this 'cuz the Customization documentation says OptionalArgs =
number of optional arguments, which means it is an integer field.
Is the documentation wrong or there is another behavior if I set
OptionalArgs = 2?

---
Diego Queiroz



2011/4/20 Richard Heck rgh...@comcast.net

 On 04/20/2011 03:42 AM, Jean-Marc Lasgouttes wrote:

 Le 20/04/2011 02:23, Diego Queiroz a écrit :

 When developing layouts, what the OptionalArgs command actually do?

 I mean, I already know what it represents (the number of optional
 arguments of the command), but it appears to do nothing on LyX.


 It enables the InsertShort Title (bad name...) menu entry.

  ...which is what you use to insert optional arguments.

 rh




export-import

2011-04-20 Thread Hal Kierstead
I use LyX to write math papers, so there are proposition, theorem, proof, etc. 
environments.  I would like to be able to export a tex file, let my colleague 
make minor modifications on it, and then import it.  Whenever I do this, even 
if the tex file is unmodified, I get the \begin{prop}, etc in ERT.  Is this 
just the way it is, or do I have some settings wrong?

I am using 1.6.9, but have also tried 2.0.0re3.

Thanks,

Hal

Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-20 Thread Jürgen Spitzmüller
 Was this an Apr 1 joke ?

Not really (the event was in October). But of course Knuth had a lot
of fun ridiculing Steve Jobs' performances (and other things, such as
the big issue made of the real pronunciation of TeX).

Jürgen


Re: Layout: OptionalArgs

2011-04-20 Thread Julien Rioux

On 20/04/2011 12:01 PM, Diego Queiroz wrote:

Yeah, I already realized that Short title is a terrible name (since it
only makes sense for captions, chapters, sections, and so on).
We need to change this in future releases...

Anyway...

So is OptionalArgs a boolean field?
I am asking this 'cuz the Customization documentation says OptionalArgs =
number of optional arguments, which means it is an integer field.
Is the documentation wrong or there is another behavior if I set
OptionalArgs = 2?

---
Diego Queiroz



It is then possible to insert two Short title insets. Right?

--
Julien



Re: Layout: OptionalArgs

2011-04-20 Thread Jürgen Spitzmüller
2011/4/20 Diego Queiroz:
 So is OptionalArgs a boolean field?
 I am asking this 'cuz the Customization documentation says OptionalArgs =
 number of optional arguments, which means it is an integer field.
 Is the documentation wrong or there is another behavior if I set
 OptionalArgs = 2?

It is an integer field. If you define
OptionalArgs 2
you can insert two subsequent short titles, which will then be
output as two optional arguments to the macro, in the order you
inserted it.

Jürgen


Re: Layout: OptionalArgs

2011-04-20 Thread Diego Queiroz
Oh. You're right. Thanks.

Anyway, I just noted that one can override this setting copying and pasting
the Opt field as many times he/she wish.
Isn't this a problem?


Cheers,
---
Diego Queiroz



2011/4/20 Julien Rioux jri...@physics.utoronto.ca

 On 20/04/2011 12:01 PM, Diego Queiroz wrote:

 Yeah, I already realized that Short title is a terrible name (since it
 only makes sense for captions, chapters, sections, and so on).
 We need to change this in future releases...

 Anyway...

 So is OptionalArgs a boolean field?
 I am asking this 'cuz the Customization documentation says OptionalArgs =
 number of optional arguments, which means it is an integer field.
 Is the documentation wrong or there is another behavior if I set
 OptionalArgs = 2?

 ---
 Diego Queiroz


 It is then possible to insert two Short title insets. Right?

 --
 Julien




Re: export-import

2011-04-20 Thread Julien Rioux

On 20/04/2011 12:04 PM, Hal Kierstead wrote:

I use LyX to write math papers, so there are proposition, theorem, proof, etc. 
environments.  I would like to be able to export a tex file, let my colleague 
make minor modifications on it, and then import it.  Whenever I do this, even 
if the tex file is unmodified, I get the \begin{prop}, etc in ERT.  Is this 
just the way it is, or do I have some settings wrong?

I am using 1.6.9, but have also tried 2.0.0re3.

Thanks,

Hal


Nothing wrong on your part. The LyX-TeX-LyX cycle is not completely 
up-to-par and I would personally avoid any working environment which 
relies on it on a regular basis.


--
Julien



Re: Layout: OptionalArgs

2011-04-20 Thread Diego Queiroz
Oooops. I'm wrong again, sorry.

It seems that one can override and insert Opt fields, but they aren't
included in the source.
---
Diego Queiroz



2011/4/20 Diego Queiroz queiroz.di...@gmail.com

 Oh. You're right. Thanks.

 Anyway, I just noted that one can override this setting copying and pasting
 the Opt field as many times he/she wish.
 Isn't this a problem?


 Cheers,
 ---
 Diego Queiroz




 2011/4/20 Julien Rioux jri...@physics.utoronto.ca

 On 20/04/2011 12:01 PM, Diego Queiroz wrote:

 Yeah, I already realized that Short title is a terrible name (since it
 only makes sense for captions, chapters, sections, and so on).
 We need to change this in future releases...

 Anyway...

 So is OptionalArgs a boolean field?
 I am asking this 'cuz the Customization documentation says OptionalArgs
 =
 number of optional arguments, which means it is an integer field.
 Is the documentation wrong or there is another behavior if I set
 OptionalArgs = 2?

 ---
 Diego Queiroz


 It is then possible to insert two Short title insets. Right?

 --
 Julien





Re: Layout: OptionalArgs

2011-04-20 Thread Jürgen Spitzmüller
2011/4/20 Diego Queiroz:
 Oh. You're right. Thanks.
 Anyway, I just noted that one can override this setting copying and pasting
 the Opt field as many times he/she wish.
 Isn't this a problem?

Yes, the UI is far from ideal. I think we should make optional (and
required) arguments part of the paragraph dialog (as we have already
with the longest label input field, which is also an optional
argument of the lists). We would lose the ability to format the
content and embed insets this way, though (at least as long as we do
not have a work area widget, as in the advances search dialog).

Jürgen


Re: export-import

2011-04-20 Thread Liviu Andronic
On Wed, Apr 20, 2011 at 6:10 PM, Julien Rioux
jri...@physics.utoronto.ca wrote:
 Nothing wrong on your part. The LyX-TeX-LyX cycle is not completely
 up-to-par and I would personally avoid any working environment which relies
 on it on a regular basis.

See [1] for a recent discussion.
Liviu

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg86013.html


Re: export-import

2011-04-20 Thread Julien Rioux

On 20/04/2011 12:28 PM, Hal Kierstead wrote:

Thanks.  I see this as a important obstacle to wider acceptance of LyX.  Since 
it seems to be mainly these standard environments, maybe it should not be so 
hard to fix.  For instance could the exporter generate some comments that the 
importer uses to get things right?  For instance every \begin{prop} could be 
followed by a comment that would be used by the LyX importer.  I realize that 
it is a much bigger problem to translate a completely foreign tex file.

Hal



Absolutely. I think we can reimport the propositions without using 
comments (you can't rely on them) because we have information about 
propositions in the .layout files. There is some work being put in the 
tex2lyx conversion tool; support keeps on improving. I haven't tested 
your particular problem with the development version so I don't know if 
it will work there, but complete LyX-TeX-LyX cycle is on the roadmap.


Cheers,
Julien


Using LaTeX math macros

2011-04-20 Thread Mathieu Dubois

Hello,

I'm a new LyX user but I'm a bit experienced with LaTeX.

I have developed my own set of LaTeX math macros (mainly to have simple 
and coherent notations). It's not a package but just a tex file that I 
\input in my documents.


I have \input'ed my tex file in the preamble but I cannot use commands 
with several arguments because LyX interprets the curly braces.


How can I use my macros?

The best way is probably to define them as LyX macros but I have no idea 
of how to do that.


Thanks in advance,
Mathieu


Master document

2011-04-20 Thread Mathieu Dubois

Hello (again),

I have another question.

I'm writing my PhD thesis (how many messages started like this one on 
this list?). Of course I have planned to split the document into a 
master document and child documents. I have set the master document 
field of each child document.


However each chapter is rather long so I wanted to split chapters into 
several files (one for each section). I have several questions.


First I have then to use input instead of include, right?

Second, what is the master document of the section file? Is it the main 
document or the chapter one? Would it be better include every section 
into the main document?


Third, I have configured my main document for using hyperef and saved as 
default. But then when compiling the document LyX complains about option 
clashes in hyperef. Do I have to use hyperef only for the master?


Thanks in advance,
Mathieu


Re: export-import

2011-04-20 Thread Liviu Andronic
On Wed, Apr 20, 2011 at 7:37 PM, Julien Rioux
jri...@physics.utoronto.ca wrote:
 complete LyX-TeX-LyX cycle is on the roadmap.

I would venture that this is a candidate for GSoC 2012.
Liviu


Re: Using LaTeX math macros

2011-04-20 Thread Julien Rioux

On 20/04/2011 3:39 PM, Mathieu Dubois wrote:

Hello,

I'm a new LyX user but I'm a bit experienced with LaTeX.

I have developed my own set of LaTeX math macros (mainly to have simple
and coherent notations). It's not a package but just a tex file that I
\input in my documents.

I have \input'ed my tex file in the preamble but I cannot use commands
with several arguments because LyX interprets the curly braces.

How can I use my macros?

The best way is probably to define them as LyX macros but I have no idea
of how to do that.

Thanks in advance,
Mathieu



The quick and dirty way to get in latex {arg} in math is to type \{ arg
(i.e., backslash, curly brace, space, a, r, g)

For ease of use in the long term you could define all such macros by 
Insert  Math  Macro. Create one such file math-macros.lyx and \input 
it once in your master document. (while defining macros in LyX, type \#1 
to get the latex #1)


--
Julien



Re: Master document

2011-04-20 Thread Julien Rioux

On 20/04/2011 4:00 PM, Mathieu Dubois wrote:

Hello (again),

I have another question.

I'm writing my PhD thesis (how many messages started like this one on
this list?). Of course I have planned to split the document into a
master document and child documents. I have set the master document
field of each child document.

However each chapter is rather long so I wanted to split chapters into
several files (one for each section). I have several questions.

First I have then to use input instead of include, right?

Second, what is the master document of the section file? Is it the main
document or the chapter one? Would it be better include every section
into the main document?

Third, I have configured my main document for using hyperef and saved as
default. But then when compiling the document LyX complains about option
clashes in hyperef. Do I have to use hyperef only for the master?

Thanks in advance,
Mathieu



Hi,

1) \include starts the content on a new page, \input does not.

2) I would try to set the master of section.lyx to chapter.lyx, I think.

3) Not all options are inherited between master and childs, you mostly 
have to repeat the settings in both to avoid any problems. (you can do 
it once for one of the child, then copy paste the heading of the .lyx 
files in an standard text editor to save time.


Cheers,
Julien



Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-20 Thread Pavel Sanda
Jürgen Spitzmüller wrote:
  Was this an Apr 1 joke ?
 
 Not really (the event was in October).

of course its for real. you didn't know about the XML plans for iLyX 3.0?
i'm happy even Knuth recognized the needs ;)

pavel


Re: Latex - absolute beginners

2011-04-20 Thread Andre Poenitz
On Thu, Apr 21, 2011 at 01:21:45AM +0200, Marc Wijnand wrote:
 Hi
 
 I am trying to learn how to make a document with Latex. I am working on Mac 
 OS X and I installed MacTex and LyX.
 I just typed
 
   \documentclass{document}
   
   \begin{document}
   Hello world!
   \end{document}
 
 but when trying to make a pdf, I get this error message:


 
 What did I do wrong?

Just type

Hello world!

and make a pdf from it.

Andre'



Linux 2.0.0RC2 - Mac 2.0.0RC3 = Issues

2011-04-20 Thread Walter
Due to a recent change in hardware, I have just tried to load my book
on to LyX for Mac.

Upon opening the file I get two errors about missing elements:
 - document.cls
 - languages module

Is this expected, and how do I remedy?

I'm pretty inexperienced with macs, but believe I should have copied
all of the resources that went along with the original document to the
new machine's filesystem, at the same relative locations (ie: parent
directory and all within).

Right now I am able to edit, but not generate PDF output. In addition
to the above errors on opening the file, an attempt to render gives
me:
 No information on how to convert SVG files to PNG.

The imagmagick installation seems to require MacPorts which
seems to require XCode which is opening a whole can of worms.

Thanks for any pointers!

- Walter


Lyx2.0.0RC3: OSX Keyboard Shortcuts Missing

2011-04-20 Thread Walter
This may be my own stupid lack of OSX knowledge, but none of:
 - fn+i
 - ctrl+i
 - alt/option+i
 - command/applesquigglything+i

... seem to actually trigger the 'insert' menu, one of the most common
shortcuts I would use on the Linux platform, usually to insert notes
or citations mid-text.

Is this a real/known bug? If unknown I am hereby reporting it! If not
the case then please advise how I can get my non-mousing input back.

Cheers,
Walter


Re: Latex - absolute beginners

2011-04-20 Thread David L. Johnson

On 04/20/2011 07:21 PM, Marc Wijnand wrote:

Hi

I am trying to learn how to make a document with Latex. I am working on Mac OS 
X and I installed MacTex and LyX.
I just typed

\documentclass{document}

\begin{document}
Hello world!
\end{document}

but when trying to make a pdf, I get this error message:


As the message indicated, you did not enter those commands in the 
preamble, which is accessible from within LyX through Documents - 
Settings - preamble (bottom of list).  You are trying to enter raw TeX 
in a LyX document.  This is not how it is done.


--

David L. Johnson

Some people used to claim that, if enough monkeys sat in front of
enough typewriters and typed long enough, eventually one of them would
reproduce the collected works of Shakespeare.  The internet has
proven this not to be the case.


Re: turn off page numbers but still count page

2011-04-20 Thread dschneiderch
hi i'm trying to do similar (normally the page number is top right but for
the first page of the chapter it should be bottom center) but this solution
doesn't work. Nothing happens in my output.  I'm using a custom class found 
http://www.colorado.edu/its/docs/latex/thesis/ here  for my thesis.  I
believe it uses \pagestyle{myheadings}   so I tried ERT
\thispagestyle{plain} after the chapter title and tried loading
\usepackage{sectsty} and then \chapterfont{\pagestyle{plain}}.

Please help
Thanks
dschneiderch

--
View this message in context: 
http://lyx.475766.n2.nabble.com/turn-off-page-numbers-but-still-count-page-tp479056p6292949.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Linux 2.0.0RC2 - Mac 2.0.0RC3 = Issues

2011-04-20 Thread BH
On Wed, Apr 20, 2011 at 8:32 PM, Walter walter.stan...@gmail.com wrote:
 Due to a recent change in hardware, I have just tried to load my book
 on to LyX for Mac.

 Upon opening the file I get two errors about missing elements:
  - document.cls

This suggests to me that you haven't installed LaTeX. The easiest way
on Mac is to install MacTeX (http://www.tug.org/mactex/). Then
reconfigure LyX, restart, and it should recognize document.cls and
allow you to generate .pdfs.

  - languages module

This may be in your user's directory on your Linux machine (~/.lyx)
and if so should be moved to the appropriate location on Mac
(~/Library/Application Support/LyX-2.0).

BH


 Is this expected, and how do I remedy?

 I'm pretty inexperienced with macs, but believe I should have copied
 all of the resources that went along with the original document to the
 new machine's filesystem, at the same relative locations (ie: parent
 directory and all within).

 Right now I am able to edit, but not generate PDF output. In addition
 to the above errors on opening the file, an attempt to render gives
 me:
  No information on how to convert SVG files to PNG.

 The imagmagick installation seems to require MacPorts which
 seems to require XCode which is opening a whole can of worms.

 Thanks for any pointers!

 - Walter



Re: Lyx2.0.0RC3: OSX Keyboard Shortcuts Missing

2011-04-20 Thread BH
On Wed, Apr 20, 2011 at 8:41 PM, Walter walter.stan...@gmail.com wrote:
 This may be my own stupid lack of OSX knowledge, but none of:
  - fn+i
  - ctrl+i
  - alt/option+i
  - command/applesquigglything+i

 ... seem to actually trigger the 'insert' menu, one of the most common
 shortcuts I would use on the Linux platform, usually to insert notes
 or citations mid-text.

 Is this a real/known bug? If unknown I am hereby reporting it! If not
 the case then please advise how I can get my non-mousing input back.

It's a Mac feature. (Translation: Macs don't work that way.)

You can define your own shortcuts using LyX  Preferences  Editing 
Shortcuts, and you can use multiple keys like ctrl+I+N to insert
notes.

BH


Re: Linux 2.0.0RC2 - Mac 2.0.0RC3 = Issues

2011-04-20 Thread Walter
 Due to a recent change in hardware, I have just tried to load my book
 on to LyX for Mac.

 Upon opening the file I get two errors about missing elements:
  - document.cls

 This suggests to me that you haven't installed LaTeX. The easiest way
 on Mac is to install MacTeX (http://www.tug.org/mactex/). Then
 reconfigure LyX, restart, and it should recognize document.cls and
 allow you to generate .pdfs.

Thanks. Downloading now.

  - languages module

 This may be in your user's directory on your Linux machine (~/.lyx)
 and if so should be moved to the appropriate location on Mac
 (~/Library/Application Support/LyX-2.0).

This was indeed missing and has now been copied in.

Fingers crossed for success post download!

Thanks a lot for your quick and accurate assistance: much appreciated.

- Walter


Re: Latex - absolute beginners

2011-04-20 Thread Liviu Andronic
On Thu, Apr 21, 2011 at 1:42 AM, Andre Poenitz
andre.poen...@mathematik.tu-chemnitz.de wrote:
       \documentclass{document}

       \begin{document}
       Hello world!
       \end{document}

 Just type

        Hello world!

 and make a pdf from it.

Yes. LyX will generate the tags above automatically. To check, enable
View  View source. Also, you will want to fully read Help  Intro and
Chapters 2,3 of Help  Tutorial.
Liviu

PS Don't forget to change the document font to LM for starters, to get
nice vector fonts.


Re: Layout: OptionalArgs

2011-04-20 Thread Jean-Marc Lasgouttes

Le 20/04/2011 02:23, Diego Queiroz a écrit :

When developing layouts, what the OptionalArgs command actually do?

I mean, I already know what it represents (the number of optional
arguments of the command), but it appears to do nothing on LyX.


It enables the InsertShort Title (bad name...) menu entry.

JMarc


Change default viewer?

2011-04-20 Thread Anthony Campbell
The default viewer (called with Ctrl-R) is Adobe. I want to use xpdf but
I can't find anywhere to change this. Tools - Preferences doesn't seem
to offer a choice. Is it possible to do this?

Anthony
-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Change default viewer?

2011-04-20 Thread Liviu Andronic
On Wed, Apr 20, 2011 at 9:51 AM, Anthony Campbell a...@acampbell.org.uk wrote:
 The default viewer (called with Ctrl-R) is Adobe. I want to use xpdf but
 I can't find anywhere to change this. Tools - Preferences

..then  File handling  Formats, then choose the format of interest
and specify the desired viewer.
Liviu


 doesn't seem
 to offer a choice. Is it possible to do this?

 Anthony
 --
 Anthony Campbell - a...@acampbell.org.uk
 Microsoft-free zone - Using Debian GNU/Linux
 http://www.acampbell.org.uk - sample my ebooks at
 http://www.smashwords.com/profile/view/acampbell





-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Scaling Lilypond files in LyX

2011-04-20 Thread Richard Opheim
Hello LyX users.
What an excellent software LyX is, once it gets used to you.
However, when I try to insert a Lilypond file via Insert-File-External
Material, the Size and Rotation tab is grayed out. Furthermore, clicking
the LaTex and LyX options tab, the Scale on Screen box is grayed out as
well.
That's too bad, because my music will not fit on the page if not scaled
down.
Are these features not yet available or ...?

Richard Opheim


Re: Change default viewer?

2011-04-20 Thread Anthony Campbell
On 20 Apr 2011, Liviu Andronic wrote:
 On Wed, Apr 20, 2011 at 9:51 AM, Anthony Campbell a...@acampbell.org.uk 
 wrote:
  The default viewer (called with Ctrl-R) is Adobe. I want to use xpdf but
  I can't find anywhere to change this. Tools - Preferences
 
 ..then  File handling  Formats, then choose the format of interest
 and specify the desired viewer.
 Liviu
 
 


Sorry to be dense,but I can't see how this is supposed to work. I tried
changing Viewer from None to Custom and then putting in xpdf but I still
get Adobe.



-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Change default viewer?

2011-04-20 Thread Liviu Andronic
On Wed, Apr 20, 2011 at 11:01 AM, Anthony Campbell a...@acampbell.org.uk 
wrote:
 Sorry to be dense,but I can't see how this is supposed to work. I tried
 changing Viewer from None to Custom and then putting in xpdf but I still
 get Adobe.

No, it's OK, it can be confusing. You have to select PDF (pdflatex),
assuming this is your output format (also called pdf2), and change
viewer to xpdf. If it still doesn't work, you might have edited the
wrong format so try the other PDF or Postscript flavours.
Liviu



Re: Lyx no backslash possible to enter proxy in a special domain

2011-04-20 Thread Manveru
2011/4/12 Marc Wollersheim m...@marcwollersheim.de:
 Hello together.

 I am new here, it is my first subscribe to a mailing list, so i hope to do
 nothing wrong.

 My problem while using Lyx ( to write my thesis in a company) Lyx needs to
 download some packages like graphix, pgfplots etc.
 Therefore i have to enter a proxy. But in this server environment of the
 company i have to enter a proxy with the domain prefix, e.g. domain\proxy.
 But i cannot enter a backslash, so i does not work.
 Is there any other way to define the proxy (e.g in a config file)?
 Or do you have any other concrete idea to solve the problem?

I think this is a MikTeX issue or other TeX distro you are using on
your Windows. This is not a LyX problem.

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


Re: LyX2.0.0rc2, problem with keywords/Probleme mit dem Einfügen von Stichwörtern

2011-04-20 Thread Jürgen Spitzmüller
Am 20. April 2011 09:01 schrieb Opitz, Eberhard:

  I’ve written a longer text and added several keywords (in German:
 Stichworte). Most of them are a bit longer:



 Bauaufsichtsbehörde, Einschreiten ! Zuständigkeit ! Andere Behörde

 Bauaufsichtliche Verfügung ! Bestimmtheit



 The more keywords I use the harder it gets to remember them. So I open the
 outline (in German: Gliederung) to see all keywords I’ve defined up to now.
 That could be a help, but – all keywords are abbreviated (see image).


I fear (but I'm not sure) this is hardcoded, so you cannot change the
length.

The next problem is, that there’s obviously no way to choose the defined
 keywords from a list and paste them to another place in the text. Example:
 I’ve defined the keyword Baubehörde ! Zuständigkeit on line 234 and want to
 use it again in line 354. Up to now I have to write it again and am not able
 to choose it from a list. Do you plan to change that?


You are right, this is not yet implemented, but it would definitely be a
valuable feature. We have already a feature request for that:
http://www.lyx.org/trac/ticket/4582

In the meantime, you can enable (general) autocompletion (Tools 
Preferences  Edit  Autocompletion) for text mode. This is certainly not
exactly what you want, but it might be of some help nevertheless.

Jürgen


Re: How?

2011-04-20 Thread Jürgen Spitzmüller
In this context, make sure not to miss Knuth's pronuciation of
iTeX during his earthshaking announcement at TUG 2010:

http://river-valley.tv/tug-2010/an-earthshaking-announcement

Jürgen


RC3 for WIndows ?

2011-04-20 Thread Mariano Llamedo Soria
Is it planed to be available for Windows ?

Regards,
Mariano.


Re: Change default viewer?

2011-04-20 Thread Anthony Campbell
On 20 Apr 2011, Liviu Andronic wrote:
 On Wed, Apr 20, 2011 at 11:01 AM, Anthony Campbell a...@acampbell.org.uk 
 wrote:
  Sorry to be dense,but I can't see how this is supposed to work. I tried
  changing Viewer from None to Custom and then putting in xpdf but I still
  get Adobe.
 
 No, it's OK, it can be confusing. You have to select PDF (pdflatex),
 assuming this is your output format (also called pdf2), and change
 viewer to xpdf. If it still doesn't work, you might have edited the
 wrong format so try the other PDF or Postscript flavours.
 Liviu


Yes, thanks - got it working now!

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Layout: OptionalArgs

2011-04-20 Thread Richard Heck

On 04/20/2011 03:42 AM, Jean-Marc Lasgouttes wrote:

Le 20/04/2011 02:23, Diego Queiroz a écrit :

When developing layouts, what the OptionalArgs command actually do?

I mean, I already know what it represents (the number of optional
arguments of the command), but it appears to do nothing on LyX.


It enables the InsertShort Title (bad name...) menu entry.


...which is what you use to insert optional arguments.

rh



Re: Scaling Lilypond files in LyX

2011-04-20 Thread Julien Rioux

On 20/04/2011 4:24 AM, Richard Opheim wrote:

Hello LyX users.
What an excellent software LyX is, once it gets used to you.
However, when I try to insert a Lilypond file via Insert-File-External
Material, the Size and Rotation tab is grayed out. Furthermore, clicking
the LaTex and LyX options tab, the Scale on Screen box is grayed out as
well.
That's too bad, because my music will not fit on the page if not scaled
down.
Are these features not yet available or ...?

Richard Opheim



When you insert them as graphics (Insert  graphics) you should be able 
to scale them. Please let us know if this works for you.


By the way LyX 2.0 will include the possibility to enter the lilypond 
code directly and process the document through lilypond-book. It might 
be the case that you prefer external .ly files, in which case this 
doesn't help.


Cheers,
Julien



iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-20 Thread Liviu Andronic
Dear all

On Wed, Apr 20, 2011 at 12:27 PM, Jürgen Spitzmüller sp...@lyx.org wrote:
 In this context, make sure not to miss Knuth's pronuciation of
 iTeX during his earthshaking announcement at TUG 2010:

I'm a bit surprised by this announcement. Does iTeX have any potential
to stick around? Will it compete with XeTeX and the ilk?

Opinions?
Liviu



 http://river-valley.tv/tug-2010/an-earthshaking-announcement

 Jürgen




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-20 Thread Jürgen Spitzmüller
2011/4/20 Liviu Andronic:
 I'm a bit surprised by this announcement. Does iTeX have any potential
 to stick around? Will it compete with XeTeX and the ilk?

Certainly. LyX 3.0 (a.k.a. iLyX), which will be released on April 1,
2012, will run iTeX exclusively. The only thing holding us up is the
production of the bells (for the logo).

Jürgen


Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-20 Thread Julien Rioux

On 20/04/2011 10:31 AM, Liviu Andronic wrote:

Dear all

On Wed, Apr 20, 2011 at 12:27 PM, Jürgen Spitzmüllersp...@lyx.org  wrote:

In this context, make sure not to miss Knuth's pronuciation of
iTeX during his earthshaking announcement at TUG 2010:


I'm a bit surprised by this announcement. Does iTeX have any potential
to stick around? Will it compete with XeTeX and the ilk?

Opinions?
Liviu




http://river-valley.tv/tug-2010/an-earthshaking-announcement

Jürgen







Unless you bother to watch the video you won't get it.
(jump to 13:30 for the pronunciation)

--
Julien



Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-20 Thread Liviu Andronic
On Wed, Apr 20, 2011 at 4:44 PM, Julien Rioux  Unless you bother to
watch the video you won't get it.
 (jump to 13:30 for the pronunciation)

OK, I got to the part:
Every-
thing in the new system is menu-driven, somewhat
in the style of “Microsoft Word” but considerably
enhanced:

So I guess we'll have to wait for pigs to fly before we port LyX to iTeX.

Was this an Apr 1 joke ?
Liviu


Index generation failure - bug?

2011-04-20 Thread Anthony Campbell
I found that Lyx was not generating the index with at least two files I
tried it on.

After a lot of experimentation I managed to get an index using a
semi-manual method:

1. Export the file as latex (luatex and possibly other formats work).
2. Run latex on myfile.tex (did it twice)
3. Run makeindex on myfile.idx.
4, Run latex again on myfile.tex


After doing all this, LyX does show the index when I view the file. Is
this a bug I should report or am I doing something wrong? I tried
setting DocumentSettingsIndexes to different processors (makeindex,
xindy, and texindy) but no joy.

It looks as if LyX doesn't automatically generate myfile.idx on my
setup; I have to do it manually.

Anthony




-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Lyx no backslash possible to enter proxy in a special domain

2011-04-20 Thread Diego Queiroz
I think Manveru is right.
But on MikTeX there is a Connection seetings button where you can input
anything (including slashes).

I don't know what window you're talking about.
Could you send a snapshot?

---
Diego Queiroz



2011/4/20 Manveru manv...@manveru.pl

 2011/4/12 Marc Wollersheim m...@marcwollersheim.de:
  Hello together.
 
  I am new here, it is my first subscribe to a mailing list, so i hope to
 do
  nothing wrong.
 
  My problem while using Lyx ( to write my thesis in a company) Lyx needs
 to
  download some packages like graphix, pgfplots etc.
  Therefore i have to enter a proxy. But in this server environment of the
  company i have to enter a proxy with the domain prefix, e.g.
 domain\proxy.
  But i cannot enter a backslash, so i does not work.
  Is there any other way to define the proxy (e.g in a config file)?
  Or do you have any other concrete idea to solve the problem?

 I think this is a MikTeX issue or other TeX distro you are using on
 your Windows. This is not a LyX problem.

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



Re: RC3 for WIndows ?

2011-04-20 Thread Diego Queiroz
Mariano,
There aren't official installers.

But there is an unnoficial installer, created by Michal. You would try it:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg86174.html


http://www.mail-archive.com/lyx-users@lists.lyx.org/msg86174.htmlCheers,
---
Diego Queiroz



2011/4/20 Mariano Llamedo Soria llame...@gmail.com

 Is it planed to be available for Windows ?

 Regards,
 Mariano.



Re: Layout: OptionalArgs

2011-04-20 Thread Diego Queiroz
Yeah, I already realized that Short title is a terrible name (since it
only makes sense for captions, chapters, sections, and so on).
We need to change this in future releases...

Anyway...

So is OptionalArgs a boolean field?
I am asking this 'cuz the Customization documentation says OptionalArgs =
number of optional arguments, which means it is an integer field.
Is the documentation wrong or there is another behavior if I set
OptionalArgs = 2?

---
Diego Queiroz



2011/4/20 Richard Heck rgh...@comcast.net

 On 04/20/2011 03:42 AM, Jean-Marc Lasgouttes wrote:

 Le 20/04/2011 02:23, Diego Queiroz a écrit :

 When developing layouts, what the OptionalArgs command actually do?

 I mean, I already know what it represents (the number of optional
 arguments of the command), but it appears to do nothing on LyX.


 It enables the InsertShort Title (bad name...) menu entry.

  ...which is what you use to insert optional arguments.

 rh




export-import

2011-04-20 Thread Hal Kierstead
I use LyX to write math papers, so there are proposition, theorem, proof, etc. 
environments.  I would like to be able to export a tex file, let my colleague 
make minor modifications on it, and then import it.  Whenever I do this, even 
if the tex file is unmodified, I get the \begin{prop}, etc in ERT.  Is this 
just the way it is, or do I have some settings wrong?

I am using 1.6.9, but have also tried 2.0.0re3.

Thanks,

Hal

Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-20 Thread Jürgen Spitzmüller
 Was this an Apr 1 joke ?

Not really (the event was in October). But of course Knuth had a lot
of fun ridiculing Steve Jobs' performances (and other things, such as
the big issue made of the real pronunciation of TeX).

Jürgen


Re: Layout: OptionalArgs

2011-04-20 Thread Julien Rioux

On 20/04/2011 12:01 PM, Diego Queiroz wrote:

Yeah, I already realized that Short title is a terrible name (since it
only makes sense for captions, chapters, sections, and so on).
We need to change this in future releases...

Anyway...

So is OptionalArgs a boolean field?
I am asking this 'cuz the Customization documentation says OptionalArgs =
number of optional arguments, which means it is an integer field.
Is the documentation wrong or there is another behavior if I set
OptionalArgs = 2?

---
Diego Queiroz



It is then possible to insert two Short title insets. Right?

--
Julien



Re: Layout: OptionalArgs

2011-04-20 Thread Jürgen Spitzmüller
2011/4/20 Diego Queiroz:
 So is OptionalArgs a boolean field?
 I am asking this 'cuz the Customization documentation says OptionalArgs =
 number of optional arguments, which means it is an integer field.
 Is the documentation wrong or there is another behavior if I set
 OptionalArgs = 2?

It is an integer field. If you define
OptionalArgs 2
you can insert two subsequent short titles, which will then be
output as two optional arguments to the macro, in the order you
inserted it.

Jürgen


Re: Layout: OptionalArgs

2011-04-20 Thread Diego Queiroz
Oh. You're right. Thanks.

Anyway, I just noted that one can override this setting copying and pasting
the Opt field as many times he/she wish.
Isn't this a problem?


Cheers,
---
Diego Queiroz



2011/4/20 Julien Rioux jri...@physics.utoronto.ca

 On 20/04/2011 12:01 PM, Diego Queiroz wrote:

 Yeah, I already realized that Short title is a terrible name (since it
 only makes sense for captions, chapters, sections, and so on).
 We need to change this in future releases...

 Anyway...

 So is OptionalArgs a boolean field?
 I am asking this 'cuz the Customization documentation says OptionalArgs =
 number of optional arguments, which means it is an integer field.
 Is the documentation wrong or there is another behavior if I set
 OptionalArgs = 2?

 ---
 Diego Queiroz


 It is then possible to insert two Short title insets. Right?

 --
 Julien




Re: export-import

2011-04-20 Thread Julien Rioux

On 20/04/2011 12:04 PM, Hal Kierstead wrote:

I use LyX to write math papers, so there are proposition, theorem, proof, etc. 
environments.  I would like to be able to export a tex file, let my colleague 
make minor modifications on it, and then import it.  Whenever I do this, even 
if the tex file is unmodified, I get the \begin{prop}, etc in ERT.  Is this 
just the way it is, or do I have some settings wrong?

I am using 1.6.9, but have also tried 2.0.0re3.

Thanks,

Hal


Nothing wrong on your part. The LyX-TeX-LyX cycle is not completely 
up-to-par and I would personally avoid any working environment which 
relies on it on a regular basis.


--
Julien



Re: Layout: OptionalArgs

2011-04-20 Thread Diego Queiroz
Oooops. I'm wrong again, sorry.

It seems that one can override and insert Opt fields, but they aren't
included in the source.
---
Diego Queiroz



2011/4/20 Diego Queiroz queiroz.di...@gmail.com

 Oh. You're right. Thanks.

 Anyway, I just noted that one can override this setting copying and pasting
 the Opt field as many times he/she wish.
 Isn't this a problem?


 Cheers,
 ---
 Diego Queiroz




 2011/4/20 Julien Rioux jri...@physics.utoronto.ca

 On 20/04/2011 12:01 PM, Diego Queiroz wrote:

 Yeah, I already realized that Short title is a terrible name (since it
 only makes sense for captions, chapters, sections, and so on).
 We need to change this in future releases...

 Anyway...

 So is OptionalArgs a boolean field?
 I am asking this 'cuz the Customization documentation says OptionalArgs
 =
 number of optional arguments, which means it is an integer field.
 Is the documentation wrong or there is another behavior if I set
 OptionalArgs = 2?

 ---
 Diego Queiroz


 It is then possible to insert two Short title insets. Right?

 --
 Julien





Re: Layout: OptionalArgs

2011-04-20 Thread Jürgen Spitzmüller
2011/4/20 Diego Queiroz:
 Oh. You're right. Thanks.
 Anyway, I just noted that one can override this setting copying and pasting
 the Opt field as many times he/she wish.
 Isn't this a problem?

Yes, the UI is far from ideal. I think we should make optional (and
required) arguments part of the paragraph dialog (as we have already
with the longest label input field, which is also an optional
argument of the lists). We would lose the ability to format the
content and embed insets this way, though (at least as long as we do
not have a work area widget, as in the advances search dialog).

Jürgen


Re: export-import

2011-04-20 Thread Liviu Andronic
On Wed, Apr 20, 2011 at 6:10 PM, Julien Rioux
jri...@physics.utoronto.ca wrote:
 Nothing wrong on your part. The LyX-TeX-LyX cycle is not completely
 up-to-par and I would personally avoid any working environment which relies
 on it on a regular basis.

See [1] for a recent discussion.
Liviu

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg86013.html


Re: export-import

2011-04-20 Thread Julien Rioux

On 20/04/2011 12:28 PM, Hal Kierstead wrote:

Thanks.  I see this as a important obstacle to wider acceptance of LyX.  Since 
it seems to be mainly these standard environments, maybe it should not be so 
hard to fix.  For instance could the exporter generate some comments that the 
importer uses to get things right?  For instance every \begin{prop} could be 
followed by a comment that would be used by the LyX importer.  I realize that 
it is a much bigger problem to translate a completely foreign tex file.

Hal



Absolutely. I think we can reimport the propositions without using 
comments (you can't rely on them) because we have information about 
propositions in the .layout files. There is some work being put in the 
tex2lyx conversion tool; support keeps on improving. I haven't tested 
your particular problem with the development version so I don't know if 
it will work there, but complete LyX-TeX-LyX cycle is on the roadmap.


Cheers,
Julien


Using LaTeX math macros

2011-04-20 Thread Mathieu Dubois

Hello,

I'm a new LyX user but I'm a bit experienced with LaTeX.

I have developed my own set of LaTeX math macros (mainly to have simple 
and coherent notations). It's not a package but just a tex file that I 
\input in my documents.


I have \input'ed my tex file in the preamble but I cannot use commands 
with several arguments because LyX interprets the curly braces.


How can I use my macros?

The best way is probably to define them as LyX macros but I have no idea 
of how to do that.


Thanks in advance,
Mathieu


Master document

2011-04-20 Thread Mathieu Dubois

Hello (again),

I have another question.

I'm writing my PhD thesis (how many messages started like this one on 
this list?). Of course I have planned to split the document into a 
master document and child documents. I have set the master document 
field of each child document.


However each chapter is rather long so I wanted to split chapters into 
several files (one for each section). I have several questions.


First I have then to use input instead of include, right?

Second, what is the master document of the section file? Is it the main 
document or the chapter one? Would it be better include every section 
into the main document?


Third, I have configured my main document for using hyperef and saved as 
default. But then when compiling the document LyX complains about option 
clashes in hyperef. Do I have to use hyperef only for the master?


Thanks in advance,
Mathieu


Re: export-import

2011-04-20 Thread Liviu Andronic
On Wed, Apr 20, 2011 at 7:37 PM, Julien Rioux
jri...@physics.utoronto.ca wrote:
 complete LyX-TeX-LyX cycle is on the roadmap.

I would venture that this is a candidate for GSoC 2012.
Liviu


Re: Using LaTeX math macros

2011-04-20 Thread Julien Rioux

On 20/04/2011 3:39 PM, Mathieu Dubois wrote:

Hello,

I'm a new LyX user but I'm a bit experienced with LaTeX.

I have developed my own set of LaTeX math macros (mainly to have simple
and coherent notations). It's not a package but just a tex file that I
\input in my documents.

I have \input'ed my tex file in the preamble but I cannot use commands
with several arguments because LyX interprets the curly braces.

How can I use my macros?

The best way is probably to define them as LyX macros but I have no idea
of how to do that.

Thanks in advance,
Mathieu



The quick and dirty way to get in latex {arg} in math is to type \{ arg
(i.e., backslash, curly brace, space, a, r, g)

For ease of use in the long term you could define all such macros by 
Insert  Math  Macro. Create one such file math-macros.lyx and \input 
it once in your master document. (while defining macros in LyX, type \#1 
to get the latex #1)


--
Julien



Re: Master document

2011-04-20 Thread Julien Rioux

On 20/04/2011 4:00 PM, Mathieu Dubois wrote:

Hello (again),

I have another question.

I'm writing my PhD thesis (how many messages started like this one on
this list?). Of course I have planned to split the document into a
master document and child documents. I have set the master document
field of each child document.

However each chapter is rather long so I wanted to split chapters into
several files (one for each section). I have several questions.

First I have then to use input instead of include, right?

Second, what is the master document of the section file? Is it the main
document or the chapter one? Would it be better include every section
into the main document?

Third, I have configured my main document for using hyperef and saved as
default. But then when compiling the document LyX complains about option
clashes in hyperef. Do I have to use hyperef only for the master?

Thanks in advance,
Mathieu



Hi,

1) \include starts the content on a new page, \input does not.

2) I would try to set the master of section.lyx to chapter.lyx, I think.

3) Not all options are inherited between master and childs, you mostly 
have to repeat the settings in both to avoid any problems. (you can do 
it once for one of the child, then copy paste the heading of the .lyx 
files in an standard text editor to save time.


Cheers,
Julien



Re: iTeX as replacement for TeX? (was: 'Re: How?')

2011-04-20 Thread Pavel Sanda
Jürgen Spitzmüller wrote:
  Was this an Apr 1 joke ?
 
 Not really (the event was in October).

of course its for real. you didn't know about the XML plans for iLyX 3.0?
i'm happy even Knuth recognized the needs ;)

pavel


Re: Latex - absolute beginners

2011-04-20 Thread Andre Poenitz
On Thu, Apr 21, 2011 at 01:21:45AM +0200, Marc Wijnand wrote:
 Hi
 
 I am trying to learn how to make a document with Latex. I am working on Mac 
 OS X and I installed MacTex and LyX.
 I just typed
 
   \documentclass{document}
   
   \begin{document}
   Hello world!
   \end{document}
 
 but when trying to make a pdf, I get this error message:


 
 What did I do wrong?

Just type

Hello world!

and make a pdf from it.

Andre'



Linux 2.0.0RC2 - Mac 2.0.0RC3 = Issues

2011-04-20 Thread Walter
Due to a recent change in hardware, I have just tried to load my book
on to LyX for Mac.

Upon opening the file I get two errors about missing elements:
 - document.cls
 - languages module

Is this expected, and how do I remedy?

I'm pretty inexperienced with macs, but believe I should have copied
all of the resources that went along with the original document to the
new machine's filesystem, at the same relative locations (ie: parent
directory and all within).

Right now I am able to edit, but not generate PDF output. In addition
to the above errors on opening the file, an attempt to render gives
me:
 No information on how to convert SVG files to PNG.

The imagmagick installation seems to require MacPorts which
seems to require XCode which is opening a whole can of worms.

Thanks for any pointers!

- Walter


Lyx2.0.0RC3: OSX Keyboard Shortcuts Missing

2011-04-20 Thread Walter
This may be my own stupid lack of OSX knowledge, but none of:
 - fn+i
 - ctrl+i
 - alt/option+i
 - command/applesquigglything+i

... seem to actually trigger the 'insert' menu, one of the most common
shortcuts I would use on the Linux platform, usually to insert notes
or citations mid-text.

Is this a real/known bug? If unknown I am hereby reporting it! If not
the case then please advise how I can get my non-mousing input back.

Cheers,
Walter


Re: Latex - absolute beginners

2011-04-20 Thread David L. Johnson

On 04/20/2011 07:21 PM, Marc Wijnand wrote:

Hi

I am trying to learn how to make a document with Latex. I am working on Mac OS 
X and I installed MacTex and LyX.
I just typed

\documentclass{document}

\begin{document}
Hello world!
\end{document}

but when trying to make a pdf, I get this error message:


As the message indicated, you did not enter those commands in the 
preamble, which is accessible from within LyX through Documents - 
Settings - preamble (bottom of list).  You are trying to enter raw TeX 
in a LyX document.  This is not how it is done.


--

David L. Johnson

Some people used to claim that, if enough monkeys sat in front of
enough typewriters and typed long enough, eventually one of them would
reproduce the collected works of Shakespeare.  The internet has
proven this not to be the case.


Re: turn off page numbers but still count page

2011-04-20 Thread dschneiderch
hi i'm trying to do similar (normally the page number is top right but for
the first page of the chapter it should be bottom center) but this solution
doesn't work. Nothing happens in my output.  I'm using a custom class found 
http://www.colorado.edu/its/docs/latex/thesis/ here  for my thesis.  I
believe it uses \pagestyle{myheadings}   so I tried ERT
\thispagestyle{plain} after the chapter title and tried loading
\usepackage{sectsty} and then \chapterfont{\pagestyle{plain}}.

Please help
Thanks
dschneiderch

--
View this message in context: 
http://lyx.475766.n2.nabble.com/turn-off-page-numbers-but-still-count-page-tp479056p6292949.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Linux 2.0.0RC2 - Mac 2.0.0RC3 = Issues

2011-04-20 Thread BH
On Wed, Apr 20, 2011 at 8:32 PM, Walter walter.stan...@gmail.com wrote:
 Due to a recent change in hardware, I have just tried to load my book
 on to LyX for Mac.

 Upon opening the file I get two errors about missing elements:
  - document.cls

This suggests to me that you haven't installed LaTeX. The easiest way
on Mac is to install MacTeX (http://www.tug.org/mactex/). Then
reconfigure LyX, restart, and it should recognize document.cls and
allow you to generate .pdfs.

  - languages module

This may be in your user's directory on your Linux machine (~/.lyx)
and if so should be moved to the appropriate location on Mac
(~/Library/Application Support/LyX-2.0).

BH


 Is this expected, and how do I remedy?

 I'm pretty inexperienced with macs, but believe I should have copied
 all of the resources that went along with the original document to the
 new machine's filesystem, at the same relative locations (ie: parent
 directory and all within).

 Right now I am able to edit, but not generate PDF output. In addition
 to the above errors on opening the file, an attempt to render gives
 me:
  No information on how to convert SVG files to PNG.

 The imagmagick installation seems to require MacPorts which
 seems to require XCode which is opening a whole can of worms.

 Thanks for any pointers!

 - Walter



Re: Lyx2.0.0RC3: OSX Keyboard Shortcuts Missing

2011-04-20 Thread BH
On Wed, Apr 20, 2011 at 8:41 PM, Walter walter.stan...@gmail.com wrote:
 This may be my own stupid lack of OSX knowledge, but none of:
  - fn+i
  - ctrl+i
  - alt/option+i
  - command/applesquigglything+i

 ... seem to actually trigger the 'insert' menu, one of the most common
 shortcuts I would use on the Linux platform, usually to insert notes
 or citations mid-text.

 Is this a real/known bug? If unknown I am hereby reporting it! If not
 the case then please advise how I can get my non-mousing input back.

It's a Mac feature. (Translation: Macs don't work that way.)

You can define your own shortcuts using LyX  Preferences  Editing 
Shortcuts, and you can use multiple keys like ctrl+I+N to insert
notes.

BH


Re: Linux 2.0.0RC2 - Mac 2.0.0RC3 = Issues

2011-04-20 Thread Walter
 Due to a recent change in hardware, I have just tried to load my book
 on to LyX for Mac.

 Upon opening the file I get two errors about missing elements:
  - document.cls

 This suggests to me that you haven't installed LaTeX. The easiest way
 on Mac is to install MacTeX (http://www.tug.org/mactex/). Then
 reconfigure LyX, restart, and it should recognize document.cls and
 allow you to generate .pdfs.

Thanks. Downloading now.

  - languages module

 This may be in your user's directory on your Linux machine (~/.lyx)
 and if so should be moved to the appropriate location on Mac
 (~/Library/Application Support/LyX-2.0).

This was indeed missing and has now been copied in.

Fingers crossed for success post download!

Thanks a lot for your quick and accurate assistance: much appreciated.

- Walter


Re: Latex - absolute beginners

2011-04-20 Thread Liviu Andronic
On Thu, Apr 21, 2011 at 1:42 AM, Andre Poenitz
andre.poen...@mathematik.tu-chemnitz.de wrote:
       \documentclass{document}

       \begin{document}
       Hello world!
       \end{document}

 Just type

        Hello world!

 and make a pdf from it.

Yes. LyX will generate the tags above automatically. To check, enable
View  View source. Also, you will want to fully read Help  Intro and
Chapters 2,3 of Help  Tutorial.
Liviu

PS Don't forget to change the document font to LM for starters, to get
nice vector fonts.


Re: Layout: OptionalArgs

2011-04-20 Thread Jean-Marc Lasgouttes

Le 20/04/2011 02:23, Diego Queiroz a écrit :

When developing layouts, what the "OptionalArgs" command actually do?

I mean, I already know what it represents (the number of optional
arguments of the command), but it appears to do nothing on LyX.


It enables the Insert>Short Title (bad name...) menu entry.

JMarc


Change default viewer?

2011-04-20 Thread Anthony Campbell
The default viewer (called with Ctrl-R) is Adobe. I want to use xpdf but
I can't find anywhere to change this. Tools -> Preferences doesn't seem
to offer a choice. Is it possible to do this?

Anthony
-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Change default viewer?

2011-04-20 Thread Liviu Andronic
On Wed, Apr 20, 2011 at 9:51 AM, Anthony Campbell  wrote:
> The default viewer (called with Ctrl-R) is Adobe. I want to use xpdf but
> I can't find anywhere to change this. Tools -> Preferences
>
..then > File handling > Formats, then choose the format of interest
and specify the desired viewer.
Liviu


> doesn't seem
> to offer a choice. Is it possible to do this?
>
> Anthony
> --
> Anthony Campbell - a...@acampbell.org.uk
> Microsoft-free zone - Using Debian GNU/Linux
> http://www.acampbell.org.uk - sample my ebooks at
> http://www.smashwords.com/profile/view/acampbell
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Scaling Lilypond files in LyX

2011-04-20 Thread Richard Opheim
Hello LyX users.
What an excellent software LyX is, once it gets used to you.
However, when I try to insert a Lilypond file via Insert-File-External
Material, the "Size and Rotation" tab is grayed out. Furthermore, clicking
the LaTex and LyX options tab, the Scale on Screen box is grayed out as
well.
That's too bad, because my music will not fit on the page if not scaled
down.
Are these features not yet available or ...?

Richard Opheim


Re: Change default viewer?

2011-04-20 Thread Anthony Campbell
On 20 Apr 2011, Liviu Andronic wrote:
> On Wed, Apr 20, 2011 at 9:51 AM, Anthony Campbell  
> wrote:
> > The default viewer (called with Ctrl-R) is Adobe. I want to use xpdf but
> > I can't find anywhere to change this. Tools -> Preferences
> >
> ..then > File handling > Formats, then choose the format of interest
> and specify the desired viewer.
> Liviu
> 
> 


Sorry to be dense,but I can't see how this is supposed to work. I tried
changing Viewer from None to Custom and then putting in xpdf but I still
get Adobe.



-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Change default viewer?

2011-04-20 Thread Liviu Andronic
On Wed, Apr 20, 2011 at 11:01 AM, Anthony Campbell  
wrote:
> Sorry to be dense,but I can't see how this is supposed to work. I tried
> changing Viewer from None to Custom and then putting in xpdf but I still
> get Adobe.
>
No, it's OK, it can be confusing. You have to select PDF (pdflatex),
assuming this is your output format (also called pdf2), and change
viewer to xpdf. If it still doesn't work, you might have edited the
wrong format so try the other PDF or Postscript flavours.
Liviu



Re: Lyx no backslash possible to enter proxy in a special domain

2011-04-20 Thread Manveru
2011/4/12 Marc Wollersheim :
> Hello together.
>
> I am new here, it is my first subscribe to a mailing list, so i hope to do
> nothing wrong.
>
> My problem while using Lyx ( to write my thesis in a company) Lyx needs to
> download some packages like graphix, pgfplots etc.
> Therefore i have to enter a proxy. But in this server environment of the
> company i have to enter a proxy with the domain prefix, e.g. domain\proxy.
> But i cannot enter a backslash, so i does not work.
> Is there any other way to define the proxy (e.g in a config file)?
> Or do you have any other concrete idea to solve the problem?

I think this is a MikTeX issue or other TeX distro you are using on
your Windows. This is not a LyX problem.

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


Re: LyX2.0.0rc2, problem with keywords/Probleme mit dem Einfügen von Stichwörtern

2011-04-20 Thread Jürgen Spitzmüller
Am 20. April 2011 09:01 schrieb Opitz, Eberhard:

>  I’ve written a longer text and added several keywords (in German:
> Stichworte). Most of them are a bit longer:
>
>
>
> Bauaufsichtsbehörde, Einschreiten ! Zuständigkeit ! Andere Behörde
>
> Bauaufsichtliche Verfügung ! Bestimmtheit
>
>
>
> The more keywords I use the harder it gets to remember them. So I open the
> outline (in German: Gliederung) to see all keywords I’ve defined up to now.
> That could be a help, but – all keywords are abbreviated (see image).
>

I fear (but I'm not sure) this is hardcoded, so you cannot change the
length.

The next problem is, that there’s obviously no way to choose the defined
> keywords from a list and paste them to another place in the text. Example:
> I’ve defined the keyword Baubehörde ! Zuständigkeit on line 234 and want to
> use it again in line 354. Up to now I have to write it again and am not able
> to choose it from a list. Do you plan to change that?
>

You are right, this is not yet implemented, but it would definitely be a
valuable feature. We have already a feature request for that:
http://www.lyx.org/trac/ticket/4582

In the meantime, you can enable (general) autocompletion (Tools >
Preferences > Edit > Autocompletion) for text mode. This is certainly not
exactly what you want, but it might be of some help nevertheless.

Jürgen


  1   2   >