Re: lyx/pdflatex pstrick

2010-07-16 Thread Manveru
2010/7/16 Artimess artim...@gmail.com:
 Thanks Manveru,
 I do appreciate your help.  Yes I took your advise and looked at Tikz, yes
 indeed it works fine with latexpdf and although somewhat complicated to
 understand at the beginning, by trail and error I managed to produce almost
 what I needed.
 Artimess

 On Thu, Jul 15, 2010 at 12:24 PM, Manveru manv...@manveru.pl wrote:

 2010/7/15 Artimess artim...@gmail.com:
  Hi All,
 
  I am having no success on including some pstrick code as I always get
  errors.  If I just put the code in a normal documet and do:
  latex -dvi2pdf then it works.
  It seems to me that pdflatex has some issues with pstricks.  Is there
  any
  work around for it?
  Thanks
  Artimess
 
  ps:The sample code that I am using is.  yes, I have pstrick and pstree
  in my
  preamble
 
  \pstree[radius=3pt]{\Toval{root}}{\TC * \TC* \TC* \TC*}

 One thing needs to be understand and remembered: pdflatex does not
 understand POSTSCRIPT. So everything further is a little bit tricky.

 Please read: http://www.coli.uni-saarland.de/~fouvry/how-do-I.html
 It may help you understand what you need to have PSTricks working with
 your LaTeX document. I've tried, but getting results is very heavy and
 time consuming tasks.

 And, what is worth mention here, LyX does not support such trickery
 execution of different types of LaTeX compilers. Some --shell-escape
 added to pdflatex invocation helps with pst-pdf, but I could cause
 pdflatex to crash every time you do not use PSTrick in your document.

 In general, worth to try, but everyday usefulness in minor in my opinion.

 On the other hand I heard Tikz gives good results with pdflatex:
 http://www.texample.net/tikz/ but I hadn't chance to try.

It is nice to be helpful. I am glad you were able to express your
thoughts on paper using LyX and other LaTeX tools :-)

Next time, please, keep the list informed about your success or
failures. This is general rule that we all try to keep public
communication on the list still public. Thanks.

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


Re: [ANNOUNCE] LyX 1.6.7 is released!

2010-07-16 Thread Jürgen Spitzmüller
James C. Sutherland wrote:
 Sorry all - false alarm.  For whatever reason, when I installed 1.6.7, the
 default LyX switched to 2.0alpha4 on my system, and I did not notice this.
 
 So it turns out that scrolling and dialogue boxes work fine in 1.6.7.

Glad to hear that.

Jürgen


inserting custom layout

2010-07-16 Thread Sajjad
Hello Forum,

I have made similar post couple of months ago. The new class that i am
trying to incorporate into LyX layout is accompanied by a description of the
class file.

I did some configuration so  that get the liuthesis.layout in
Document-settings-Document class option combox box. I believe that it is
not enough to get started with the writing yet.

And i am kind of confused how to make the related configuration in the
layout file. Lets take an example:

1. In the accompanied manual, it specifies number of options that i can set.
One of the options is Output format. The possible values for this option
are:

   -  print.
   - ePress.
   - pdfRelease.
   - draft.

How to specifiy this option in the layout file. I have checked the
customization chapter for LyX. Should it go under the section ClassOptions
section or AddToPreamble ?

There are several other Macros in the accompanied pdf file that must be
configured in  the layout file.


During the previous post, one Julien showed me some hint ; like inputting
the department name of the thesis that i am writing for and it was specified
in the class options from LyX Documents Settings menu. He suggested this
based on his extensive experience with LyX.


Now if i have to specify the department name in the liuthesis.layout file it
should have went into ClassOptions section and  inside Other subsection.
Shouldn't it?


I need some suggestion make this mapping between the manual that i have now
and .layout file that i have to edit. Some of the macros defined in the
manual has no corresponding options defined in the LyX manual. What to do
then?


Regards
Sajjad


Re: Newbie writing a report- Help in drawing diagrams particularly circuits

2010-07-16 Thread Yago
You can do that, not exclusively, with the freeware program Dia. If you want my 
help, ¿can you scan a pencil design of your circuit and send it to my personnal 
e-mail?
  - Original Message - 
  From: BOB Merhebi 
  To: lyx-users@lists.lyx.org 
  Sent: Thursday, July 15, 2010 3:50 PM
  Subject: Help: Newbie writing a report- Help in drawing diagrams particularly 
circuits


  Hello,

  I am a newbie to LyX. I searched most manuals  wikis but could find nothing 
about drawing diagrams (physics related). I am in urgent need of help as I am 
writing a reports for my physics labs which are due in less than 24 hrs. I 
particularly need to draw electrical ciruits.

  You help is appreciated
  thx
  
  Sincerely Yours,
  BOB Merhebi


Re: Getting cocoaSpell to work with lyx on a Mac | Or Alternative

2010-07-16 Thread Johannes Knaus
Hello,

I'm tried this on my Mac, too.
I downloaded the german aspell dictionary, unzipped it, and put in into the 
cocoAspell-Folder, changed the path in Lyx etc.
A first test ended up in the same error you reported.

Then I looked into the dictionary folder and saw that there is no de-common-rws 
file.

Then I realized what the problem is:
I didn't compile the aspell dictionary! (the README-file tells me I have to do 
this ;-))
CocoAspell does this automatically if you open its preference pane 
(Systemeinstellungen): If there's a new dict in the path, compiling starts.
After compiling be sure that you have checked at least German in the 
CocoAspell preference pane.

So maybe you have forgotten this compilation step, too?

Kind regards,
Johannes


After this spellchecking in German works for me.

Am 16.07.2010 um 01:06 schrieb iustifico:

 Does someone know, how to fix this error?
 
 Kind regards,
 iustifico
 
 Am 12.07.2010 um 22:48 schrieb iustifico:
 
 Am 12.07.2010 um 20:16 schrieb BH:
 
 Did you try reconfiguring LyX? (LyX  Reconfigure, then restarting LyX)
 
 Yes. I got the English dictionary to run. I figured out, that the cursor 
 must be in the beginning of the file, so that the spellchecker can find 
 errors. If you are at the end of the file with the cursor, it doesn't find 
 anything.
 
 Now I am trying to get the german dictionary to run. I downloaded the file
 
 aspell6-de-20030222-1.tar.bz2
 
 from the cocoAspell-ftp-server and after expanding it i put it in
 
 /Library/Application Support/cocoAspell/
 
 Then I changed the entry in alternative language under preferences - 
 languages - spellchecking to
 
 /Library/Application Support/cocoAspell/aspell6-de-20030222-1/deutsch.alias
 
 Now it looks like this.
 Bildschirmfoto 2010-07-12 um 20.47.48.png
 
 I changed this one too:
 Bildschirmfoto 2010-07-12 um 20.48.33.png
 
 But I get this error:
 Bildschirmfoto 2010-07-12 um 22.46.58.png
 Kind regards,
 iustifico
 



Re: inserting custom layout

2010-07-16 Thread Richard Heck

On 07/16/2010 05:32 AM, Sajjad wrote:

Hello Forum,

I have made similar post couple of months ago. The new class that i am 
trying to incorporate into LyX layout is accompanied by a description 
of the class file.


I did some configuration so  that get the liuthesis.layout in 
Document-settings-Document class option combox box. I believe that 
it is not enough to get started with the writing yet.


And i am kind of confused how to make the related configuration in the 
layout file. Lets take an example:


1. In the accompanied manual, it specifies number of options that i 
can set. One of the options is Output format. The possible values 
for this option are:


* print.
* ePress.
* pdfRelease.
* draft.

How to specifiy this option in the layout file. I have checked the 
customization chapter for LyX. Should it go under the section 
ClassOptions section or AddToPreamble ?


If you want one of these options set by default, but for the user to be 
able to override it, then add it ClassOptions, e.g.:

Class Options
Other ePress
End
These will turn up on the Document Class pane of DocumentSettings.


There are several other Macros in the accompanied pdf file that must 
be configured in  the layout file.



During the previous post, one Julien showed me some hint ; like 
inputting the department name of the thesis that i am writing for and 
it was specified in the class options from LyX Documents Settings 
menu. He suggested this based on his extensive experience with LyX.


Now if i have to specify the department name in the liuthesis.layout 
file it should have went into ClassOptions section and  inside 
Other subsection. Shouldn't it?



Yes, just as with ePress, since this is a class option.

I need some suggestion make this mapping between the manual that i 
have now and .layout file that i have to edit. Some of the macros 
defined in the manual has no corresponding options defined in the LyX 
manual. What to do then?


That depends upon the command. Ones like \subject are going to be 
treated as paragraphs. So:

Style Subject
LatexType command
LatexName subject
# this tells LyX that it goes into Front Matter
InTitle 1
End
Very basic, with no special formatting, but it will work. The only one 
of the Front Matter commands you can't do this way is \thesisDate, 
because LyX doesn't yet do multi-argument commands. There will be 
support for that in 2.0, however. So, for now, you'd have to enter that 
as ERT.


Then I'd do:
TitleLatexName makeFrontPage
so LyX will issue \makeFrontPage to create the title page, etc.

The theorem, etc, environments can probably be copied over from LyX's 
own theorems.inc.


Richard

InTitle 1


Re: Key-Bindings for Zoom-In and Zoom-Out

2010-07-16 Thread Julien Rioux

On 15/07/2010 12:27 PM, Stephan Witt wrote:

Dear LyX users,

since some time it is more and more common to zoom-in or zoom-out the workspace 
of an application with Ctrl-plus or Ctrl-minus key-strokes. On a Apple Mac this 
would be Cmd-plus or Cmd-minus. Traditionally in LyX the Ctrl-minus keys 
produces an hyphenation hint. Therefore we have a conflict here.

On the one hand the new user would more likely expect Ctrl-plus/minus to act as 
zoom-in/out. On the other hand the experienced users may disagree with the 
change of behaviour if the standard key-binding of LyX for the hyphenation hint 
move to e. g. Ctrl-Shift-minus.

So I want to start a little poll here:
please tell your pro or cons for binding the zoom-in/-out feature to 
Ctrl-plus/-minus and moving the current binding of Ctrl-minus.

Regards,

Stephan


Ctrl +/- is very natural for zooming. I vote for change since it will be 
easier on beginners.


The hyphen shortcut could easily be reverted by advanced users who are 
used to the current key combination.


--
Julien


Re: inserting custom layout

2010-07-16 Thread Julien Rioux

On 16/07/2010 5:32 AM, Sajjad wrote:

Hello Forum,

I have made similar post couple of months ago. The new class that i am
trying to incorporate into LyX layout is accompanied by a description of the
class file.

I did some configuration so  that get the liuthesis.layout in
Document-settings-Document class option combox box. I believe that it is
not enough to get started with the writing yet.

And i am kind of confused how to make the related configuration in the
layout file. Lets take an example:

1. In the accompanied manual, it specifies number of options that i can set.
One of the options is Output format. The possible values for this option
are:

-  print.
- ePress.
- pdfRelease.
- draft.

How to specifiy this option in the layout file. I have checked the
customization chapter for LyX. Should it go under the section ClassOptions
section or AddToPreamble ?

There are several other Macros in the accompanied pdf file that must be
configured in  the layout file.


During the previous post, one Julien showed me some hint ; like inputting
the department name of the thesis that i am writing for and it was specified
in the class options from LyX Documents Settings menu. He suggested this
based on his extensive experience with LyX.


Now if i have to specify the department name in the liuthesis.layout file it
should have went into ClassOptions section and  inside Other subsection.
Shouldn't it?


I need some suggestion make this mapping between the manual that i have now
and .layout file that i have to edit. Some of the macros defined in the
manual has no corresponding options defined in the LyX manual. What to do
then?


Regards
Sajjad



Hi,

I don't have much time at the moment to help with the layout, but if I 
remember correctly you had a basic layout file to get started, no? It 
would be useful to share it if you do have one, so that other users can 
help enhance it.


In any case, I should say that not having the layout file does not 
prevent you from starting to use LyX to write your thesis. Just use a 
layout such as book or report and use the standard markups like chapter, 
section, figures, theorems, etc. These are standard markups and will be 
understood when you change your layout (once you have a working 
liuthesis.layout). On the other hand, I would advise not to fill the 
frontmatter yet since this is where liuthesis.cls uses a lot of custom 
commands.


Cheers,
Julien


Re: inserting custom layout

2010-07-16 Thread Sajjad
On Fri, Jul 16, 2010 at 4:56 PM, Richard Heck rgh...@comcast.net wrote:

  On 07/16/2010 05:32 AM, Sajjad wrote:

 Hello Forum,

  I have made similar post couple of months ago. The new class that i am
 trying to incorporate into LyX layout is accompanied by a description of the
 class file.

  I did some configuration so  that get the liuthesis.layout in
 Document-settings-Document class option combox box. I believe that it is
 not enough to get started with the writing yet.

  And i am kind of confused how to make the related configuration in the
 layout file. Lets take an example:

  1. In the accompanied manual, it specifies number of options that i can
 set. One of the options is Output format. The possible values for this
 option are:

- print.
- ePress.
- pdfRelease.
- draft.

 How to specifiy this option in the layout file. I have checked the
 customization chapter for LyX. Should it go under the section ClassOptions
 section or AddToPreamble ?

  If you want one of these options set by default, but for the user to be
 able to override it, then add it ClassOptions, e.g.:
 Class Options
 Other ePress
 End
 These will turn up on the Document Class pane of DocumentSettings.



I have several other Options to set and i have tried them as follows:

ClassOptions
   Other ePress,itn,[english|swedish]
End

then i checked the LyX in the Documents-Settings and only ePress shows
up. The rest of the other options did not show up anywhere. Did they get
effected or ignored. I check the manual and it says that several Other
options can be specified with comma separation.


Anything else that  missed in the process?




  There are several other Macros in the accompanied pdf file that must be
 configured in  the layout file.


  During the previous post, one Julien showed me some hint ; like inputting
 the department name of the thesis that i am writing for and it was specified
 in the class options from LyX Documents Settings menu. He suggested this
 based on his extensive experience with LyX.

  Now if i have to specify the department name in the liuthesis.layout file
 it should have went into ClassOptions section and  inside Other
 subsection. Shouldn't it?

  Yes, just as with ePress, since this is a class option.


  I need some suggestion make this mapping between the manual that i have
 now and .layout file that i have to edit. Some of the macros defined in the
 manual has no corresponding options defined in the LyX manual. What to do
 then?

  That depends upon the command. Ones like \subject are going to be treated
 as paragraphs. So:
 Style Subject
 LatexType command
 LatexName subject
 # this tells LyX that it goes into Front Matter
 InTitle 1
 End
 Very basic, with no special formatting, but it will work. The only one of
 the Front Matter commands you can't do this way is \thesisDate, because LyX
 doesn't yet do multi-argument commands. There will be support for that in
 2.0, however. So, for now, you'd have to enter that as ERT.

 Then I'd do:
 TitleLatexName makeFrontPage
 so LyX will issue \makeFrontPage to create the title page, etc.

 The theorem, etc, environments can probably be copied over from LyX's own
 theorems.inc.

 Richard

 InTitle 1



Re: lyx/pdflatex pstrick

2010-07-16 Thread Manveru
2010/7/16 Artimess artim...@gmail.com:
 Thanks Manveru,
 I do appreciate your help.  Yes I took your advise and looked at Tikz, yes
 indeed it works fine with latexpdf and although somewhat complicated to
 understand at the beginning, by trail and error I managed to produce almost
 what I needed.
 Artimess

 On Thu, Jul 15, 2010 at 12:24 PM, Manveru manv...@manveru.pl wrote:

 2010/7/15 Artimess artim...@gmail.com:
  Hi All,
 
  I am having no success on including some pstrick code as I always get
  errors.  If I just put the code in a normal documet and do:
  latex -dvi2pdf then it works.
  It seems to me that pdflatex has some issues with pstricks.  Is there
  any
  work around for it?
  Thanks
  Artimess
 
  ps:The sample code that I am using is.  yes, I have pstrick and pstree
  in my
  preamble
 
  \pstree[radius=3pt]{\Toval{root}}{\TC * \TC* \TC* \TC*}

 One thing needs to be understand and remembered: pdflatex does not
 understand POSTSCRIPT. So everything further is a little bit tricky.

 Please read: http://www.coli.uni-saarland.de/~fouvry/how-do-I.html
 It may help you understand what you need to have PSTricks working with
 your LaTeX document. I've tried, but getting results is very heavy and
 time consuming tasks.

 And, what is worth mention here, LyX does not support such trickery
 execution of different types of LaTeX compilers. Some --shell-escape
 added to pdflatex invocation helps with pst-pdf, but I could cause
 pdflatex to crash every time you do not use PSTrick in your document.

 In general, worth to try, but everyday usefulness in minor in my opinion.

 On the other hand I heard Tikz gives good results with pdflatex:
 http://www.texample.net/tikz/ but I hadn't chance to try.

It is nice to be helpful. I am glad you were able to express your
thoughts on paper using LyX and other LaTeX tools :-)

Next time, please, keep the list informed about your success or
failures. This is general rule that we all try to keep public
communication on the list still public. Thanks.

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


Re: [ANNOUNCE] LyX 1.6.7 is released!

2010-07-16 Thread Jürgen Spitzmüller
James C. Sutherland wrote:
 Sorry all - false alarm.  For whatever reason, when I installed 1.6.7, the
 default LyX switched to 2.0alpha4 on my system, and I did not notice this.
 
 So it turns out that scrolling and dialogue boxes work fine in 1.6.7.

Glad to hear that.

Jürgen


inserting custom layout

2010-07-16 Thread Sajjad
Hello Forum,

I have made similar post couple of months ago. The new class that i am
trying to incorporate into LyX layout is accompanied by a description of the
class file.

I did some configuration so  that get the liuthesis.layout in
Document-settings-Document class option combox box. I believe that it is
not enough to get started with the writing yet.

And i am kind of confused how to make the related configuration in the
layout file. Lets take an example:

1. In the accompanied manual, it specifies number of options that i can set.
One of the options is Output format. The possible values for this option
are:

   -  print.
   - ePress.
   - pdfRelease.
   - draft.

How to specifiy this option in the layout file. I have checked the
customization chapter for LyX. Should it go under the section ClassOptions
section or AddToPreamble ?

There are several other Macros in the accompanied pdf file that must be
configured in  the layout file.


During the previous post, one Julien showed me some hint ; like inputting
the department name of the thesis that i am writing for and it was specified
in the class options from LyX Documents Settings menu. He suggested this
based on his extensive experience with LyX.


Now if i have to specify the department name in the liuthesis.layout file it
should have went into ClassOptions section and  inside Other subsection.
Shouldn't it?


I need some suggestion make this mapping between the manual that i have now
and .layout file that i have to edit. Some of the macros defined in the
manual has no corresponding options defined in the LyX manual. What to do
then?


Regards
Sajjad


Re: Newbie writing a report- Help in drawing diagrams particularly circuits

2010-07-16 Thread Yago
You can do that, not exclusively, with the freeware program Dia. If you want my 
help, ¿can you scan a pencil design of your circuit and send it to my personnal 
e-mail?
  - Original Message - 
  From: BOB Merhebi 
  To: lyx-users@lists.lyx.org 
  Sent: Thursday, July 15, 2010 3:50 PM
  Subject: Help: Newbie writing a report- Help in drawing diagrams particularly 
circuits


  Hello,

  I am a newbie to LyX. I searched most manuals  wikis but could find nothing 
about drawing diagrams (physics related). I am in urgent need of help as I am 
writing a reports for my physics labs which are due in less than 24 hrs. I 
particularly need to draw electrical ciruits.

  You help is appreciated
  thx
  
  Sincerely Yours,
  BOB Merhebi


Re: Getting cocoaSpell to work with lyx on a Mac | Or Alternative

2010-07-16 Thread Johannes Knaus
Hello,

I'm tried this on my Mac, too.
I downloaded the german aspell dictionary, unzipped it, and put in into the 
cocoAspell-Folder, changed the path in Lyx etc.
A first test ended up in the same error you reported.

Then I looked into the dictionary folder and saw that there is no de-common-rws 
file.

Then I realized what the problem is:
I didn't compile the aspell dictionary! (the README-file tells me I have to do 
this ;-))
CocoAspell does this automatically if you open its preference pane 
(Systemeinstellungen): If there's a new dict in the path, compiling starts.
After compiling be sure that you have checked at least German in the 
CocoAspell preference pane.

So maybe you have forgotten this compilation step, too?

Kind regards,
Johannes


After this spellchecking in German works for me.

Am 16.07.2010 um 01:06 schrieb iustifico:

 Does someone know, how to fix this error?
 
 Kind regards,
 iustifico
 
 Am 12.07.2010 um 22:48 schrieb iustifico:
 
 Am 12.07.2010 um 20:16 schrieb BH:
 
 Did you try reconfiguring LyX? (LyX  Reconfigure, then restarting LyX)
 
 Yes. I got the English dictionary to run. I figured out, that the cursor 
 must be in the beginning of the file, so that the spellchecker can find 
 errors. If you are at the end of the file with the cursor, it doesn't find 
 anything.
 
 Now I am trying to get the german dictionary to run. I downloaded the file
 
 aspell6-de-20030222-1.tar.bz2
 
 from the cocoAspell-ftp-server and after expanding it i put it in
 
 /Library/Application Support/cocoAspell/
 
 Then I changed the entry in alternative language under preferences - 
 languages - spellchecking to
 
 /Library/Application Support/cocoAspell/aspell6-de-20030222-1/deutsch.alias
 
 Now it looks like this.
 Bildschirmfoto 2010-07-12 um 20.47.48.png
 
 I changed this one too:
 Bildschirmfoto 2010-07-12 um 20.48.33.png
 
 But I get this error:
 Bildschirmfoto 2010-07-12 um 22.46.58.png
 Kind regards,
 iustifico
 



Re: inserting custom layout

2010-07-16 Thread Richard Heck

On 07/16/2010 05:32 AM, Sajjad wrote:

Hello Forum,

I have made similar post couple of months ago. The new class that i am 
trying to incorporate into LyX layout is accompanied by a description 
of the class file.


I did some configuration so  that get the liuthesis.layout in 
Document-settings-Document class option combox box. I believe that 
it is not enough to get started with the writing yet.


And i am kind of confused how to make the related configuration in the 
layout file. Lets take an example:


1. In the accompanied manual, it specifies number of options that i 
can set. One of the options is Output format. The possible values 
for this option are:


* print.
* ePress.
* pdfRelease.
* draft.

How to specifiy this option in the layout file. I have checked the 
customization chapter for LyX. Should it go under the section 
ClassOptions section or AddToPreamble ?


If you want one of these options set by default, but for the user to be 
able to override it, then add it ClassOptions, e.g.:

Class Options
Other ePress
End
These will turn up on the Document Class pane of DocumentSettings.


There are several other Macros in the accompanied pdf file that must 
be configured in  the layout file.



During the previous post, one Julien showed me some hint ; like 
inputting the department name of the thesis that i am writing for and 
it was specified in the class options from LyX Documents Settings 
menu. He suggested this based on his extensive experience with LyX.


Now if i have to specify the department name in the liuthesis.layout 
file it should have went into ClassOptions section and  inside 
Other subsection. Shouldn't it?



Yes, just as with ePress, since this is a class option.

I need some suggestion make this mapping between the manual that i 
have now and .layout file that i have to edit. Some of the macros 
defined in the manual has no corresponding options defined in the LyX 
manual. What to do then?


That depends upon the command. Ones like \subject are going to be 
treated as paragraphs. So:

Style Subject
LatexType command
LatexName subject
# this tells LyX that it goes into Front Matter
InTitle 1
End
Very basic, with no special formatting, but it will work. The only one 
of the Front Matter commands you can't do this way is \thesisDate, 
because LyX doesn't yet do multi-argument commands. There will be 
support for that in 2.0, however. So, for now, you'd have to enter that 
as ERT.


Then I'd do:
TitleLatexName makeFrontPage
so LyX will issue \makeFrontPage to create the title page, etc.

The theorem, etc, environments can probably be copied over from LyX's 
own theorems.inc.


Richard

InTitle 1


Re: Key-Bindings for Zoom-In and Zoom-Out

2010-07-16 Thread Julien Rioux

On 15/07/2010 12:27 PM, Stephan Witt wrote:

Dear LyX users,

since some time it is more and more common to zoom-in or zoom-out the workspace 
of an application with Ctrl-plus or Ctrl-minus key-strokes. On a Apple Mac this 
would be Cmd-plus or Cmd-minus. Traditionally in LyX the Ctrl-minus keys 
produces an hyphenation hint. Therefore we have a conflict here.

On the one hand the new user would more likely expect Ctrl-plus/minus to act as 
zoom-in/out. On the other hand the experienced users may disagree with the 
change of behaviour if the standard key-binding of LyX for the hyphenation hint 
move to e. g. Ctrl-Shift-minus.

So I want to start a little poll here:
please tell your pro or cons for binding the zoom-in/-out feature to 
Ctrl-plus/-minus and moving the current binding of Ctrl-minus.

Regards,

Stephan


Ctrl +/- is very natural for zooming. I vote for change since it will be 
easier on beginners.


The hyphen shortcut could easily be reverted by advanced users who are 
used to the current key combination.


--
Julien


Re: inserting custom layout

2010-07-16 Thread Julien Rioux

On 16/07/2010 5:32 AM, Sajjad wrote:

Hello Forum,

I have made similar post couple of months ago. The new class that i am
trying to incorporate into LyX layout is accompanied by a description of the
class file.

I did some configuration so  that get the liuthesis.layout in
Document-settings-Document class option combox box. I believe that it is
not enough to get started with the writing yet.

And i am kind of confused how to make the related configuration in the
layout file. Lets take an example:

1. In the accompanied manual, it specifies number of options that i can set.
One of the options is Output format. The possible values for this option
are:

-  print.
- ePress.
- pdfRelease.
- draft.

How to specifiy this option in the layout file. I have checked the
customization chapter for LyX. Should it go under the section ClassOptions
section or AddToPreamble ?

There are several other Macros in the accompanied pdf file that must be
configured in  the layout file.


During the previous post, one Julien showed me some hint ; like inputting
the department name of the thesis that i am writing for and it was specified
in the class options from LyX Documents Settings menu. He suggested this
based on his extensive experience with LyX.


Now if i have to specify the department name in the liuthesis.layout file it
should have went into ClassOptions section and  inside Other subsection.
Shouldn't it?


I need some suggestion make this mapping between the manual that i have now
and .layout file that i have to edit. Some of the macros defined in the
manual has no corresponding options defined in the LyX manual. What to do
then?


Regards
Sajjad



Hi,

I don't have much time at the moment to help with the layout, but if I 
remember correctly you had a basic layout file to get started, no? It 
would be useful to share it if you do have one, so that other users can 
help enhance it.


In any case, I should say that not having the layout file does not 
prevent you from starting to use LyX to write your thesis. Just use a 
layout such as book or report and use the standard markups like chapter, 
section, figures, theorems, etc. These are standard markups and will be 
understood when you change your layout (once you have a working 
liuthesis.layout). On the other hand, I would advise not to fill the 
frontmatter yet since this is where liuthesis.cls uses a lot of custom 
commands.


Cheers,
Julien


Re: inserting custom layout

2010-07-16 Thread Sajjad
On Fri, Jul 16, 2010 at 4:56 PM, Richard Heck rgh...@comcast.net wrote:

  On 07/16/2010 05:32 AM, Sajjad wrote:

 Hello Forum,

  I have made similar post couple of months ago. The new class that i am
 trying to incorporate into LyX layout is accompanied by a description of the
 class file.

  I did some configuration so  that get the liuthesis.layout in
 Document-settings-Document class option combox box. I believe that it is
 not enough to get started with the writing yet.

  And i am kind of confused how to make the related configuration in the
 layout file. Lets take an example:

  1. In the accompanied manual, it specifies number of options that i can
 set. One of the options is Output format. The possible values for this
 option are:

- print.
- ePress.
- pdfRelease.
- draft.

 How to specifiy this option in the layout file. I have checked the
 customization chapter for LyX. Should it go under the section ClassOptions
 section or AddToPreamble ?

  If you want one of these options set by default, but for the user to be
 able to override it, then add it ClassOptions, e.g.:
 Class Options
 Other ePress
 End
 These will turn up on the Document Class pane of DocumentSettings.



I have several other Options to set and i have tried them as follows:

ClassOptions
   Other ePress,itn,[english|swedish]
End

then i checked the LyX in the Documents-Settings and only ePress shows
up. The rest of the other options did not show up anywhere. Did they get
effected or ignored. I check the manual and it says that several Other
options can be specified with comma separation.


Anything else that  missed in the process?




  There are several other Macros in the accompanied pdf file that must be
 configured in  the layout file.


  During the previous post, one Julien showed me some hint ; like inputting
 the department name of the thesis that i am writing for and it was specified
 in the class options from LyX Documents Settings menu. He suggested this
 based on his extensive experience with LyX.

  Now if i have to specify the department name in the liuthesis.layout file
 it should have went into ClassOptions section and  inside Other
 subsection. Shouldn't it?

  Yes, just as with ePress, since this is a class option.


  I need some suggestion make this mapping between the manual that i have
 now and .layout file that i have to edit. Some of the macros defined in the
 manual has no corresponding options defined in the LyX manual. What to do
 then?

  That depends upon the command. Ones like \subject are going to be treated
 as paragraphs. So:
 Style Subject
 LatexType command
 LatexName subject
 # this tells LyX that it goes into Front Matter
 InTitle 1
 End
 Very basic, with no special formatting, but it will work. The only one of
 the Front Matter commands you can't do this way is \thesisDate, because LyX
 doesn't yet do multi-argument commands. There will be support for that in
 2.0, however. So, for now, you'd have to enter that as ERT.

 Then I'd do:
 TitleLatexName makeFrontPage
 so LyX will issue \makeFrontPage to create the title page, etc.

 The theorem, etc, environments can probably be copied over from LyX's own
 theorems.inc.

 Richard

 InTitle 1



Re: lyx/pdflatex pstrick

2010-07-16 Thread Manveru
2010/7/16 Artimess :
> Thanks Manveru,
> I do appreciate your help.  Yes I took your advise and looked at Tikz, yes
> indeed it works fine with latexpdf and although somewhat complicated to
> understand at the beginning, by trail and error I managed to produce almost
> what I needed.
> Artimess
>
> On Thu, Jul 15, 2010 at 12:24 PM, Manveru  wrote:
>>
>> 2010/7/15 Artimess :
>> > Hi All,
>> >
>> > I am having no success on including some pstrick code as I always get
>> > errors.  If I just put the code in a normal documet and do:
>> > latex ->dvi2pdf then it works.
>> > It seems to me that pdflatex has some issues with pstricks.  Is there
>> > any
>> > work around for it?
>> > Thanks
>> > Artimess
>> >
>> > ps:The sample code that I am using is.  yes, I have pstrick and pstree
>> > in my
>> > preamble
>> >
>> > \pstree[radius=3pt]{\Toval{root}}{\TC * \TC* \TC* \TC*}
>>
>> One thing needs to be understand and remembered: pdflatex does not
>> understand POSTSCRIPT. So everything further is a little bit tricky.
>>
>> Please read: http://www.coli.uni-saarland.de/~fouvry/how-do-I.html
>> It may help you understand what you need to have PSTricks working with
>> your LaTeX document. I've tried, but getting results is very heavy and
>> time consuming tasks.
>>
>> And, what is worth mention here, LyX does not support such trickery
>> execution of different types of LaTeX compilers. Some --shell-escape
>> added to pdflatex invocation helps with pst-pdf, but I could cause
>> pdflatex to crash every time you do not use PSTrick in your document.
>>
>> In general, worth to try, but everyday usefulness in minor in my opinion.
>>
>> On the other hand I heard Tikz gives good results with pdflatex:
>> http://www.texample.net/tikz/ but I hadn't chance to try.

It is nice to be helpful. I am glad you were able to express your
thoughts on paper using LyX and other LaTeX tools :-)

Next time, please, keep the list informed about your success or
failures. This is general rule that we all try to keep public
communication on the list still public. Thanks.

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


Re: [ANNOUNCE] LyX 1.6.7 is released!

2010-07-16 Thread Jürgen Spitzmüller
James C. Sutherland wrote:
> Sorry all - false alarm.  For whatever reason, when I installed 1.6.7, the
> default LyX switched to 2.0alpha4 on my system, and I did not notice this.
> 
> So it turns out that scrolling and dialogue boxes work fine in 1.6.7.

Glad to hear that.

Jürgen


inserting custom layout

2010-07-16 Thread Sajjad
Hello Forum,

I have made similar post couple of months ago. The new class that i am
trying to incorporate into LyX layout is accompanied by a description of the
class file.

I did some configuration so  that get the liuthesis.layout in
Document->settings->Document class option combox box. I believe that it is
not enough to get started with the writing yet.

And i am kind of confused how to make the related configuration in the
layout file. Lets take an example:

1. In the accompanied manual, it specifies number of options that i can set.
One of the options is "Output format". The possible values for this option
are:

   -  print.
   - ePress.
   - pdfRelease.
   - draft.

How to specifiy this option in the layout file. I have checked the
customization chapter for LyX. Should it go under the section "ClassOptions"
section or "AddToPreamble" ?

There are several other Macros in the accompanied pdf file that must be
configured in  the layout file.


During the previous post, one Julien showed me some hint ; like inputting
the department name of the thesis that i am writing for and it was specified
in the class options from LyX Documents Settings menu. He suggested this
based on his extensive experience with LyX.


Now if i have to specify the department name in the liuthesis.layout file it
should have went into "ClassOptions" section and  inside "Other" subsection.
Shouldn't it?


I need some suggestion make this mapping between the manual that i have now
and .layout file that i have to edit. Some of the macros defined in the
manual has no corresponding options defined in the LyX manual. What to do
then?


Regards
Sajjad


Re: Newbie writing a report- Help in drawing diagrams particularly circuits

2010-07-16 Thread Yago
You can do that, not exclusively, with the freeware program Dia. If you want my 
help, ¿can you scan a pencil design of your circuit and send it to my personnal 
e-mail?
  - Original Message - 
  From: BOB Merhebi 
  To: lyx-users@lists.lyx.org 
  Sent: Thursday, July 15, 2010 3:50 PM
  Subject: Help: Newbie writing a report- Help in drawing diagrams particularly 
circuits


  Hello,

  I am a newbie to LyX. I searched most manuals & wikis but could find nothing 
about drawing diagrams (physics related). I am in urgent need of help as I am 
writing a reports for my physics labs which are due in less than 24 hrs. I 
particularly need to draw electrical ciruits.

  You help is appreciated
  thx
  
  Sincerely Yours,
  BOB Merhebi


Re: Getting cocoaSpell to work with lyx on a Mac | Or Alternative

2010-07-16 Thread Johannes Knaus
Hello,

I'm tried this on my Mac, too.
I downloaded the german aspell dictionary, unzipped it, and put in into the 
cocoAspell-Folder, changed the path in Lyx etc.
A first test ended up in the same error you reported.

Then I looked into the dictionary folder and saw that there is no de-common-rws 
file.

Then I realized what the problem is:
I didn't compile the aspell dictionary! (the README-file tells me I have to do 
this ;-))
CocoAspell does this automatically if you open its preference pane 
(Systemeinstellungen): If there's a new dict in the path, compiling starts.
After compiling be sure that you have checked at least "German" in the 
CocoAspell preference pane.

So maybe you have forgotten this compilation step, too?

Kind regards,
Johannes


After this spellchecking in German works for me.

Am 16.07.2010 um 01:06 schrieb iustifico:

> Does someone know, how to fix this error?
> 
> Kind regards,
> iustifico
> 
> Am 12.07.2010 um 22:48 schrieb iustifico:
> 
>> Am 12.07.2010 um 20:16 schrieb BH:
>>> 
>>> Did you try reconfiguring LyX? (LyX > Reconfigure, then restarting LyX)
>> 
>> Yes. I got the English dictionary to run. I figured out, that the cursor 
>> must be in the beginning of the file, so that the spellchecker can find 
>> errors. If you are at the end of the file with the cursor, it doesn't find 
>> anything.
>> 
>> Now I am trying to get the german dictionary to run. I downloaded the file
>> 
>> aspell6-de-20030222-1.tar.bz2
>> 
>> from the cocoAspell-ftp-server and after expanding it i put it in
>> 
>> /Library/Application Support/cocoAspell/
>> 
>> Then I changed the entry in "alternative language" under preferences -> 
>> languages -> spellchecking to
>> 
>> /Library/Application Support/cocoAspell/aspell6-de-20030222-1/deutsch.alias
>> 
>> Now it looks like this.
>> 
>> 
>> I changed this one too:
>> 
>> 
>> But I get this error:
>> 
>> Kind regards,
>> iustifico
> 



Re: inserting custom layout

2010-07-16 Thread Richard Heck

On 07/16/2010 05:32 AM, Sajjad wrote:

Hello Forum,

I have made similar post couple of months ago. The new class that i am 
trying to incorporate into LyX layout is accompanied by a description 
of the class file.


I did some configuration so  that get the liuthesis.layout in 
Document->settings->Document class option combox box. I believe that 
it is not enough to get started with the writing yet.


And i am kind of confused how to make the related configuration in the 
layout file. Lets take an example:


1. In the accompanied manual, it specifies number of options that i 
can set. One of the options is "Output format". The possible values 
for this option are:


* print.
* ePress.
* pdfRelease.
* draft.

How to specifiy this option in the layout file. I have checked the 
customization chapter for LyX. Should it go under the section 
"ClassOptions" section or "AddToPreamble" ?


If you want one of these options set by default, but for the user to be 
able to override it, then add it ClassOptions, e.g.:

Class Options
Other ePress
End
These will turn up on the Document Class pane of Document>Settings.


There are several other Macros in the accompanied pdf file that must 
be configured in  the layout file.



During the previous post, one Julien showed me some hint ; like 
inputting the department name of the thesis that i am writing for and 
it was specified in the class options from LyX Documents Settings 
menu. He suggested this based on his extensive experience with LyX.


Now if i have to specify the department name in the liuthesis.layout 
file it should have went into "ClassOptions" section and  inside 
"Other" subsection. Shouldn't it?



Yes, just as with ePress, since this is a class option.

I need some suggestion make this mapping between the manual that i 
have now and .layout file that i have to edit. Some of the macros 
defined in the manual has no corresponding options defined in the LyX 
manual. What to do then?


That depends upon the command. Ones like \subject are going to be 
treated as paragraphs. So:

Style Subject
LatexType command
LatexName subject
# this tells LyX that it goes into Front Matter
InTitle 1
End
Very basic, with no special formatting, but it will work. The only one 
of the Front Matter commands you can't do this way is \thesisDate, 
because LyX doesn't yet do multi-argument commands. There will be 
support for that in 2.0, however. So, for now, you'd have to enter that 
as ERT.


Then I'd do:
TitleLatexName makeFrontPage
so LyX will issue \makeFrontPage to create the title page, etc.

The theorem, etc, environments can probably be copied over from LyX's 
own theorems.inc.


Richard

InTitle 1


Re: Key-Bindings for Zoom-In and Zoom-Out

2010-07-16 Thread Julien Rioux

On 15/07/2010 12:27 PM, Stephan Witt wrote:

Dear LyX users,

since some time it is more and more common to zoom-in or zoom-out the workspace 
of an application with Ctrl-plus or Ctrl-minus key-strokes. On a Apple Mac this 
would be Cmd-plus or Cmd-minus. Traditionally in LyX the Ctrl-minus keys 
produces an hyphenation hint. Therefore we have a conflict here.

On the one hand the new user would more likely expect Ctrl-plus/minus to act as 
zoom-in/out. On the other hand the experienced users may disagree with the 
change of behaviour if the standard key-binding of LyX for the hyphenation hint 
move to e. g. Ctrl-Shift-minus.

So I want to start a little poll here:
please tell your pro or cons for binding the zoom-in/-out feature to 
Ctrl-plus/-minus and moving the current binding of Ctrl-minus.

Regards,

Stephan


Ctrl +/- is very natural for zooming. I vote for change since it will be 
easier on beginners.


The hyphen shortcut could easily be reverted by advanced users who are 
used to the current key combination.


--
Julien


Re: inserting custom layout

2010-07-16 Thread Julien Rioux

On 16/07/2010 5:32 AM, Sajjad wrote:

Hello Forum,

I have made similar post couple of months ago. The new class that i am
trying to incorporate into LyX layout is accompanied by a description of the
class file.

I did some configuration so  that get the liuthesis.layout in
Document->settings->Document class option combox box. I believe that it is
not enough to get started with the writing yet.

And i am kind of confused how to make the related configuration in the
layout file. Lets take an example:

1. In the accompanied manual, it specifies number of options that i can set.
One of the options is "Output format". The possible values for this option
are:

-  print.
- ePress.
- pdfRelease.
- draft.

How to specifiy this option in the layout file. I have checked the
customization chapter for LyX. Should it go under the section "ClassOptions"
section or "AddToPreamble" ?

There are several other Macros in the accompanied pdf file that must be
configured in  the layout file.


During the previous post, one Julien showed me some hint ; like inputting
the department name of the thesis that i am writing for and it was specified
in the class options from LyX Documents Settings menu. He suggested this
based on his extensive experience with LyX.


Now if i have to specify the department name in the liuthesis.layout file it
should have went into "ClassOptions" section and  inside "Other" subsection.
Shouldn't it?


I need some suggestion make this mapping between the manual that i have now
and .layout file that i have to edit. Some of the macros defined in the
manual has no corresponding options defined in the LyX manual. What to do
then?


Regards
Sajjad



Hi,

I don't have much time at the moment to help with the layout, but if I 
remember correctly you had a basic layout file to get started, no? It 
would be useful to share it if you do have one, so that other users can 
help enhance it.


In any case, I should say that not having the layout file does not 
prevent you from starting to use LyX to write your thesis. Just use a 
layout such as book or report and use the standard markups like chapter, 
section, figures, theorems, etc. These are standard markups and will be 
understood when you change your layout (once you have a working 
liuthesis.layout). On the other hand, I would advise not to fill the 
frontmatter yet since this is where liuthesis.cls uses a lot of custom 
commands.


Cheers,
Julien


Re: inserting custom layout

2010-07-16 Thread Sajjad
On Fri, Jul 16, 2010 at 4:56 PM, Richard Heck  wrote:

>  On 07/16/2010 05:32 AM, Sajjad wrote:
>
> Hello Forum,
>
>  I have made similar post couple of months ago. The new class that i am
> trying to incorporate into LyX layout is accompanied by a description of the
> class file.
>
>  I did some configuration so  that get the liuthesis.layout in
> Document->settings->Document class option combox box. I believe that it is
> not enough to get started with the writing yet.
>
>  And i am kind of confused how to make the related configuration in the
> layout file. Lets take an example:
>
>  1. In the accompanied manual, it specifies number of options that i can
> set. One of the options is "Output format". The possible values for this
> option are:
>
>- print.
>- ePress.
>- pdfRelease.
>- draft.
>
> How to specifiy this option in the layout file. I have checked the
> customization chapter for LyX. Should it go under the section "ClassOptions"
> section or "AddToPreamble" ?
>
>  If you want one of these options set by default, but for the user to be
> able to override it, then add it ClassOptions, e.g.:
> Class Options
> Other ePress
> End
> These will turn up on the Document Class pane of Document>Settings.
>


I have several other Options to set and i have tried them as follows:

ClassOptions
   Other "ePress","itn","[english|swedish]"
End

then i checked the LyX in the Documents->Settings and only "ePress" shows
up. The rest of the other options did not show up anywhere. Did they get
effected or ignored. I check the manual and it says that several Other
options can be specified with comma separation.


Anything else that  missed in the process?

>
>
>
>  There are several other Macros in the accompanied pdf file that must be
> configured in  the layout file.
>
>
>  During the previous post, one Julien showed me some hint ; like inputting
> the department name of the thesis that i am writing for and it was specified
> in the class options from LyX Documents Settings menu. He suggested this
> based on his extensive experience with LyX.
>
>  Now if i have to specify the department name in the liuthesis.layout file
> it should have went into "ClassOptions" section and  inside "Other"
> subsection. Shouldn't it?
>
>  Yes, just as with ePress, since this is a class option.
>
>
>  I need some suggestion make this mapping between the manual that i have
> now and .layout file that i have to edit. Some of the macros defined in the
> manual has no corresponding options defined in the LyX manual. What to do
> then?
>
>  That depends upon the command. Ones like \subject are going to be treated
> as paragraphs. So:
> Style Subject
> LatexType command
> LatexName subject
> # this tells LyX that it goes into Front Matter
> InTitle 1
> End
> Very basic, with no special formatting, but it will work. The only one of
> the Front Matter commands you can't do this way is \thesisDate, because LyX
> doesn't yet do multi-argument commands. There will be support for that in
> 2.0, however. So, for now, you'd have to enter that as ERT.
>
> Then I'd do:
> TitleLatexName makeFrontPage
> so LyX will issue \makeFrontPage to create the title page, etc.
>
> The theorem, etc, environments can probably be copied over from LyX's own
> theorems.inc.
>
> Richard
>
> InTitle 1
>