Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

I have a question, or a request:

I am working on a presentation which is based on a paper and a fe other 
documents in LyX. To make
my life easy, I have opened all of them in LyX to be able to copy text, 
graphics, ...

My Problem: I would like to avoid that I accidentally change something in the 
other documents and
save it.

Is it at the moment possible to make a tab as read-only or, if not, could 
this be easily be
implemented? I consider this a useful feature for cases like mine at the moment.

Cheers,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/procACgkQoYgNqgF2egrsHACfc1/57Ccg23HGMBpRh1ll2Tzn
XBkAnRP4mNo5OFMPda4tuweeJfSHCCKg
=MUAu
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Liviu Andronic
On Tue, Jun 26, 2012 at 2:43 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 My Problem: I would like to avoid that I accidentally change something in the 
 other documents and
 save it.

Have been there..


 Is it at the moment possible to make a tab as read-only or, if not, could 
 this be easily be
 implemented? I consider this a useful feature for cases like mine at the 
 moment.

Bug #6692 ( http://www.lyx.org/trac/ticket/6692 ) deals with it.

I proposed to include a 'Documents  Disable Editing' menu entry that
would mark a document as read-only for the given LyX session. You can
easily re-enable editing via the same menu item.

The bug was resolved as 'wontfix' because of lack of interest for that
feature. For the record, I still think that this feature is very
useful and I would (again) propose to include it in base LyX. (For
example, LibreOffice has this feature via a 'Edit File' toggle
button.)

Regards
Liviu

PS Right now the bugtracker seems down.


Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26/06/12 14:52, Liviu Andronic wrote:
 On Tue, Jun 26, 2012 at 2:43 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 My Problem: I would like to avoid that I accidentally change something in 
 the other documents
 and save it.
 
 Have been there..
 

It is always nice to hear that I am not the only one...

 
 Is it at the moment possible to make a tab as read-only or, if not, could 
 this be easily
 be implemented? I consider this a useful feature for cases like mine at the 
 moment.
 
 Bug #6692 ( http://www.lyx.org/trac/ticket/6692 ) deals with it.
 
 I proposed to include a 'Documents  Disable Editing' menu entry that would 
 mark a document as
 read-only for the given LyX session. You can easily re-enable editing via the 
 same menu item.

Would be perfect - exactly what I thought about.

 
 The bug was resolved as 'wontfix' because of lack of interest for that 
 feature. For the record,
 I still think that this feature is very useful and I would (again) propose to 
 include it in
 base LyX. (For example, LibreOffice has this feature via a 'Edit File' toggle 
 button.)

Agreed - I will support that suggestion.



 
 Regards Liviu
 
 PS Right now the bugtracker seems down.

Not only the bug tracker, also the wiki... and I think lyx.org as well...


 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/psbMACgkQoYgNqgF2egoEzgCfauObH29844fqDvoMjURXjRTu
WzsAniphGOPLLh8J4epv1wV5A1H8ALIB
=fJMO
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Roger Burton West
On Tue, Jun 26, 2012 at 02:43:51PM +0200, Rainer M Krug wrote:
My Problem: I would like to avoid that I accidentally change something in the 
other documents and
save it.

Failing an in-program solution, how about marking the _file_ read-only?
(chmod a-w filename)


Re: Making a tab read-only?

2012-06-26 Thread Alex Vergara Gil

El 26/06/2012 07:03 a.m., Roger Burton West escribió:

On Tue, Jun 26, 2012 at 02:43:51PM +0200, Rainer M Krug wrote:

My Problem: I would like to avoid that I accidentally change something in the 
other documents and
save it.

Failing an in-program solution, how about marking the _file_ read-only?
(chmod a-w filename)


Oh, but this is a linux-only solution, and definitely not for user who 
wants to write without knowing too much of technical details, otherwise 
we will use plain latex instead of lyx. ;)


A simple menu entry won't hurt anyone and will be helpful

--
greetings
~-o--{}--o-~
Alex Vergara Gil
MSc. Física Nuclear
Laboratorio Secundario de Calibración Dosimétrica
Centro de Protección e Higiene de las Radiaciones
Calle 20 No. 4113 e/ 18A y 47 Playa
La Habana, Cuba
A.P.6195 C.P.10600
Telf: (537)6824892, (537)6821803
Fax: (537)2030165



Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26/06/12 17:10, Alex Vergara Gil wrote:
 El 26/06/2012 07:03 a.m., Roger Burton West escribió:
 On Tue, Jun 26, 2012 at 02:43:51PM +0200, Rainer M Krug wrote:
 My Problem: I would like to avoid that I accidentally change something in 
 the other
 documents and save it.
 Failing an in-program solution, how about marking the _file_ read-only? 
 (chmod a-w filename)

Would be possible, but then I have to change it back afterwards...

 
 
 Oh, but this is a linux-only solution, and definitely not for user who wants 
 to write without 
 knowing too much of technical details, otherwise we will use plain latex 
 instead of lyx. ;)

nicely put.

 
 A simple menu entry won't hurt anyone and will be helpful
 

Agreed.

Cheers,

Rainer

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/pt10ACgkQoYgNqgF2egpvbgCeKymZwkOoo0yDXdX6F1MrQ2BK
114AnR8u7U+jW2vWaugHG87iKXTovAYe
=wa1z
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Jean-Marc Lasgouttes

Le 26/06/12 14:52, Liviu Andronic a écrit :

I proposed to include a 'Documents  Disable Editing' menu entry that
would mark a document as read-only for the given LyX session. You can
easily re-enable editing via the same menu item.


The lack of enthousiasm was for the menu entry. The function exists, it is:

M-x buffer-toggle-read-only

JMarc


Re: Re: Making a tab read-only?

2012-06-26 Thread Kornel Benko
Am Dienstag, 26. Juni 2012 um 09:10:15, schrieb Alex Vergara Gil 
a...@cphr.edu.cu
 El 26/06/2012 07:03 a.m., Roger Burton West escribió:
  On Tue, Jun 26, 2012 at 02:43:51PM +0200, Rainer M Krug wrote:
  My Problem: I would like to avoid that I accidentally change something in 
  the other documents and
  save it.
  Failing an in-program solution, how about marking the _file_ read-only?
  (chmod a-w filename)
 
 
 Oh, but this is a linux-only solution, and definitely not for user who 
 wants to write without knowing too much of technical details, otherwise 
 we will use plain latex instead of lyx. ;)
 
 A simple menu entry won't hurt anyone and will be helpful
 
 -- 
 greetings
 ~-o--{}--o-~
 Alex Vergara Gil
 MSc. Física Nuclear
 Laboratorio Secundario de Calibración Dosimétrica
 Centro de Protección e Higiene de las Radiaciones
 Calle 20 No. 4113 e/ 18A y 47 Playa
 La Habana, Cuba
 A.P.6195 C.P.10600
 Telf: (537)6824892, (537)6821803
 Fax: (537)2030165

And how about the command 
buffer-toggle-read-only
?

You may enter the command in the lyx-command line, or bind it to some key.

Kornel

signature.asc
Description: This is a digitally signed message part.


lyx websites down or REALLY slow?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

it seems that
http://www.lyx.org/
and
http://wiki.lyx.org/
seem to be down (lyx.org) or to slow to work (wiki)?

Cheers,


Rainer


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/puqsACgkQoYgNqgF2egqIfACfbJ/PjRYbq+sD4jJV+n6FV2l2
N7QAn13v5IwMtZ3xHQ0g7GsA/HBc8gxD
=LE51
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Alex Vergara Gil

El 26/06/2012 07:24 a.m., Kornel Benko escribió:


And how about the command

buffer-toggle-read-only

?

You may enter the command in the lyx-command line, or bind it to some key.

Kornel



I have found a solution

copy from Lyx_directory/Resources/ui/stdmenus.inc to userdir/personalLyx/ui
add the following line wherever you want inside the file menu in the 
copied file

Item Make Read Only buffer-toggle-read-only

voilá, it works! Thanks to Kornel for the hint

--
Greetings
~-o--{}--o-~
Alex Vergara Gil
MSc. Física Nuclear
Laboratorio Secundario de Calibración Dosimétrica
Centro de Protección e Higiene de las Radiaciones
Calle 20 No. 4113 e/ 18A y 47 Playa
La Habana, Cuba
A.P.6195 C.P.10600
Telf: (537)6824892, (537)6821803
Fax: (537)2030165



Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26/06/12 15:24, Kornel Benko wrote:
 Am Dienstag, 26. Juni 2012 um 09:10:15, schrieb Alex Vergara Gil 
 a...@cphr.edu.cu
 
 El 26/06/2012 07:03 a.m., Roger Burton West escribió:
 
 On Tue, Jun 26, 2012 at 02:43:51PM +0200, Rainer M Krug wrote:
 
 My Problem: I would like to avoid that I accidentally change something in 
 the other
 documents and
 
 save it.
 
 Failing an in-program solution, how about marking the _file_ read-only?
 
 (chmod a-w filename)
 
 
 
 
 
 Oh, but this is a linux-only solution, and definitely not for user who
 
 wants to write without knowing too much of technical details, otherwise
 
 we will use plain latex instead of lyx. ;)
 
 
 
 A simple menu entry won't hurt anyone and will be helpful
 
 
 
 --
 
 greetings
 
 ~-o--{}--o-~
 
 Alex Vergara Gil
 
 MSc. Física Nuclear
 
 Laboratorio Secundario de Calibración Dosimétrica
 
 Centro de Protección e Higiene de las Radiaciones
 
 Calle 20 No. 4113 e/ 18A y 47 Playa
 
 La Habana, Cuba
 
 A.P.6195 C.P.10600
 
 Telf: (537)6824892, (537)6821803
 
 Fax: (537)2030165
 
 
 
 And how about the command
 
 buffer-toggle-read-only
 
 ?
 

Just discovered this one (also thanks Jean-Marc), but in the manual it states:

###
This function is not allowed if the file is under version control, since 
read-only flag is often
used in version control file locking.
###

which is a problem, as IO have most LyX projects under version control.

So no help for me.

If this function changes the attributes of the file, then this is a problem 
with VC - otherwise if
it only changes the properties of the tab,  do not see a problem with it.

Cheers,

Rainer


 
 
 You may enter the command in the lyx-command line, or bind it to some key.
 
 
 
 Kornel
 


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/pvn8ACgkQoYgNqgF2egp8JgCdHlSbXAP3NxODQ+SxLx9EjCCW
lgQAoIrm07bEVtAL4UNvRrHf6dv9D7jq
=6mq2
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26/06/12 15:24, Jean-Marc Lasgouttes wrote:
 Le 26/06/12 14:52, Liviu Andronic a écrit :
 I proposed to include a 'Documents  Disable Editing' menu entry that would 
 mark a document
 as read-only for the given LyX session. You can easily re-enable editing via 
 the same menu
 item.
 
 The lack of enthousiasm was for the menu entry. The function exists, it is:

I think a menu entry in the context menu (right mouse click) of the tab would 
be the perfect
location for a menu entry.


 
 M-x buffer-toggle-read-only

thanks - but see other reply.

Cheers,

Rainer

 
 JMarc
 


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/pvssACgkQoYgNqgF2egrtXQCePz6ARcNXmqqYZr1dvAc8fAtp
INYAn01mZcL9v13EhRgjDyRfv4QW20kQ
=9AOj
-END PGP SIGNATURE-


Re: how to fix spacing

2012-06-26 Thread Marcelo Acuña
 On 2012-06-24, Hady Ariwibowo Teguh wrote:


 I have problem in spacing between chapter name and paragraph and
 chapter number and chapter name.

titlesec package allow to you to make all customize that you want.
Marcelo


Re: Python wrapper bibtexall for biblatex

2012-06-26 Thread stefano franchi
Hi Julien,

I took a look at the log file you enclosed. It took some work, because
the thesis did not compile at first (missing images in the chapters
were one of the problems). In general, try to provide a minimal
working example when asking for help, not the entire document with all
the bells and whistles.

The file now compiles on my laptop and the results, it seems to me,
are what you wanted. I changed two things: (a) I switched from bibtex
to biber as backend ( I could not get your thesis to work with bibtex,
and in general biber works better with biblatex). (b) And I switched
from refsection to refsegment in biblatex. Here is what you need to
do:

A. Switch from bibtex to biber.
- be sure biber is installed on your system (it should. Try typing
biber at a command prompt to verify. If not install it via MikTeX)
 - Change the bibtexall script (with an editor): in line 17 (the last
line), replace bibtex with biber
 - Make sure bibtexall can be found by lyx (again try calling
bibtexall from a command prompt, or ask for help from the Windows
guys)
- Check that in preferencesLatex , i the section Bibliography
generation you have selected custom and typed bibtexall (without
quotes) in the following field
- in DocumentSettingsBibliographyProcessor, select biber from
the drop down menu
- in your preamble, change the biblatex loading command to:
\usepackage[backend=biber,style=nature]{biblatex}
- finally, get rid of spaces in path names (this may be unnecessary)

B. Switch from refsection to refsegment (see biblatex manual, section
3.10.3 for a discussion of how they differ)

- in your chapters, replace the commands \begin{refsection} and
\end{refsection} with, respectively,  \begin{refsegment} and
\end{refsegment}

- at the end of your chapters, when you want the bibliography to
appear, replace the simple \printbibliography command you have now
with
 \printbibliography[segment=n] where n is 1 for your first
bibliography (currently, your chapter 2), n = 2 for your second
bibliography (currently your chapter 3), etcetera. Again, see the
manual, sec 3.10.3 for a discussion

I am sending the pdf output in a private message to avoid jamming the
list servers.

Cheers,

Stefano

On Mon, Jun 25, 2012 at 11:20 PM, julien.babinot
julien.babi...@9online.fr wrote:
 Le 25/06/2012 22:35, stefano franchi a écrit :

 On Mon, Jun 25, 2012 at 10:02 PM, Julien Babinot
 julien.babi...@9online.fr wrote:

 Hi Lyx users,

  From this observation, could anyone tell me where i did a mistake? I
 would say
 that the problem is coming from the bibtexall command but i don't know
 where?!

 Ju,ien,

 it's a bit difficult to diagnose the problem unless you provide more
 info. Look at the latex log (DocumentLatex Log), especially at the
 warnings. Is biblatex complaining it cannot find the appropriate
 files? Or is bibtex complaining about the same? Perhaps you can post
 the log or send it to me directly (if it is too long) alongside a copy
 of your lyx file?

 Cheers,

 Stefano




 Thanks again a lot for your answer Stefano,

 I send you the log file as well as my lyx folder. And now i realize that
 perhaps i am testing on a bad file as i am using a quite complex template
 for my thesis... But still it should work on the real file so...

 Cheers

 Julien



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Making a tab read-only?

2012-06-26 Thread Jean-Marc Lasgouttes

Le 26/06/12 14:52, Liviu Andronic a écrit :

For the record, I still think that this feature is very
useful and I would (again) propose to include it in base LyX. (For
example, LibreOffice has this feature via a 'Edit File' toggle
button.)


Where is this toggle button?

What would be more interesting than a plain old boring read-only mode is 
a viewer mode which would mean

* read-only
* reload file automatically when it is updated
* maybe allow space as a synonym for page down

JMarc


Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26/06/12 16:09, Jean-Marc Lasgouttes wrote:
 Le 26/06/12 14:52, Liviu Andronic a écrit :
 For the record, I still think that this feature is very useful and I would 
 (again) propose to
 include it in base LyX. (For example, LibreOffice has this feature via a 
 'Edit File' toggle 
 button.)
 
 Where is this toggle button?
 
 What would be more interesting than a plain old boring read-only mode is a 
 viewer mode which
 would mean * read-only * reload file automatically when it is updated * maybe 
 allow space as a
 synonym for page down

Good idea - one can always improve on an idea.

Rainer

 
 JMarc
 


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/pwwMACgkQoYgNqgF2egqKQgCbBIxe2QQrBNmnRj5D1HQjbxv1
0eoAn1rm2h5whh7GzSCcbb7IQ/nuOJ2t
=4nWo
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Liviu Andronic
On Tue, Jun 26, 2012 at 4:09 PM, Jean-Marc Lasgouttes
lasgout...@lyx.org wrote:
 Le 26/06/12 14:52, Liviu Andronic a écrit :

 For the record, I still think that this feature is very

 useful and I would (again) propose to include it in base LyX. (For
 example, LibreOffice has this feature via a 'Edit File' toggle
 button.)


 Where is this toggle button?

In LibreOffice, see button to the left of the 'generate PDF' icon and
to the right of the 'Save' button. I'm not aware of a Menu item
equivalent.


 What would be more interesting than a plain old boring read-only mode is a
 viewer mode which would mean
 * read-only
 * reload file automatically when it is updated
 * maybe allow space as a synonym for page down

That would certainly be nice. Although some users would still find
useful an easily discoverable, albeit boring read-only mode.

Liviu


Re: Making a tab read-only?

2012-06-26 Thread Jean-Marc Lasgouttes

Le 26/06/2012 16:51, Liviu Andronic a écrit :

Where is this toggle button?


In LibreOffice, see button to the left of the 'generate PDF' icon and
to the right of the 'Save' button. I'm not aware of a Menu item
equivalent.


Indeed, I see it now. I have doubts about the discoverability of this 
thing :)


Does somebody know whether ms word has something similar ?


JMarc


Re: Making a tab read-only?

2012-06-26 Thread Liviu Andronic
On Tue, Jun 26, 2012 at 5:07 PM, Jean-Marc Lasgouttes
lasgout...@lyx.org wrote:
 Le 26/06/2012 16:51, Liviu Andronic a écrit :
 In LibreOffice, see button to the left of the 'generate PDF' icon and
 to the right of the 'Save' button. I'm not aware of a Menu item
 equivalent.

 Indeed, I see it now. I have doubts about the discoverability of this thing
 :)

Yes, this specific button is quite nicely hidden. :) I discovered it
once by accident, but since I didn't stop using it. (By the way, it is
present throughout the suite: Word processor, Spreadsheet,
Presentation.)


 Does somebody know whether ms word has something similar ?

I don't _know_, but I don't think so. I suspect that this is an
OpenOffice innovation. Either way, I always appreciate when an
editor (be it word/document processor like LibreOffice/LyX or IDE such
as Geany) provide an easily accessible read-only mode. Geany has a
'Document  Read only' menu item for this.

Liviu


Re: Making a tab read-only?

2012-06-26 Thread Steve Litt
On Tue, 26 Jun 2012 14:52:16 +0200, Liviu Andronic said:
 On Tue, Jun 26, 2012 at 2:43 PM, Rainer M Krug r.m.k...@gmail.com
 wrote:
  My Problem: I would like to avoid that I accidentally change
  something in the other documents and save it.
 
 Have been there..
 
 
  Is it at the moment possible to make a tab as read-only or, if
  not, could this be easily be implemented? I consider this a useful
  feature for cases like mine at the moment.
 
 Bug #6692 ( http://www.lyx.org/trac/ticket/6692 ) deals with it.
 
 I proposed to include a 'Documents  Disable Editing' menu entry that
 would mark a document as read-only for the given LyX session. You can
 easily re-enable editing via the same menu item.
 
 The bug was resolved as 'wontfix' because of lack of interest for that
 feature. For the record, I still think that this feature is very
 useful and I would (again) propose to include it in base LyX. (For
 example, LibreOffice has this feature via a 'Edit File' toggle
 button.)

I never even knew LyX had tabs. I'll be using tabs now.

I like the idea of a read-only tab via Documents-Disable Editing, but
then again, I'm lousy at C++, know nothing about Qt-4, and therefore am
unlikely to help with the addition.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



Re: Making a tab read-only?

2012-06-26 Thread Jean-Marc Lasgouttes

Le 26/06/12 19:21, Alex Vergara Gil a écrit :

El 26/06/2012 09:07 a.m., Jean-Marc Lasgouttes escribió:

Does somebody know whether ms word has something similar ?


MS Word has a Restrict Edition button which besides makes posible to add
a password to the file with a list of restrictions of use


Where is it? I cannot find it on Word/Mac 2008.

JMarc




Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
On 26/06/12 18:02, Steve Litt wrote:
 On Tue, 26 Jun 2012 14:52:16 +0200, Liviu Andronic said:
 On Tue, Jun 26, 2012 at 2:43 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 My Problem: I would like to avoid that I accidentally change something in 
 the other 
 documents and save it.
 
 Have been there..
 
 
 Is it at the moment possible to make a tab as read-only or, if not, could 
 this be easily
  be implemented? I consider this a useful feature for cases like mine at 
 the moment.
 
 Bug #6692 ( http://www.lyx.org/trac/ticket/6692 ) deals with it.
 
 I proposed to include a 'Documents  Disable Editing' menu entry that would 
 mark a document 
 as read-only for the given LyX session. You can easily re-enable editing via 
 the same menu 
 item.
 
 The bug was resolved as 'wontfix' because of lack of interest for that 
 feature. For the 
 record, I still think that this feature is very useful and I would (again) 
 propose to include
 it in base LyX. (For example, LibreOffice has this feature via a 'Edit File' 
 toggle button.)
 
 I never even knew LyX had tabs. I'll be using tabs now.

Something new to learn every day...
Maybe it is time to include a Tip of the day box on startup (obviously with 
the option to opt
out...).

Rainer

 
 I like the idea of a read-only tab via Documents-Disable Editing, but then 
 again, I'm lousy at
 C++, know nothing about Qt-4, and therefore am unlikely to help with the 
 addition.
 
 Thanks,
 
 SteveT
 
 Steve Litt*  http://www.troubleshooters.com/ *  
 http://twitter.com/stevelitt 
 Troubleshooting Training  *  Human Performance
 
 




Re: Making a tab read-only?

2012-06-26 Thread Liviu Andronic
On Tue, Jun 26, 2012 at 6:02 PM, Steve Litt sl...@troubleshooters.com wrote:
 I like the idea of a read-only tab via Documents-Disable Editing, but
 then again, I'm lousy at C++, know nothing about Qt-4, and therefore am
 unlikely to help with the addition.

No need for that. LyX already features an internal function to disable
the editing, and I've already provided a patch that adds the item to
the menus. Now it is only a matter of the core LyX developers to
approve (or not) of the modification.

Liviu

PS Anyone interested in the feature can easily copy/paste the config
info from the bug report, to add this item to your local LyX
installation. It's very simple.


how to install packages

2012-06-26 Thread Mirko Mastrolia
Deatr Lyx staff,
please help me to understand how to do it for installing packagesi went
on ftp://ftp.tex.ac.uk/tex-archive/install/ to install asmlatex, followed
instructions but i cannot find a folder which is present in the installing
notes (TEXMF/doc/latex/amscls)...which are even a disaster to
understand...please help me..i've to finish dissertation within tonight and
i am stuggling with this matter since 2 hours...
thanks..
Mirko


Re: how to install packages

2012-06-26 Thread Paul A . Rubin
You did not specify your operating system, and the answer is OS-specific.  If
you are using MiKTeX on Windows, there is a package installer in the MiKTeX
folder of the Start menu -- use that to download and install the package.

If you are using Linux, your LaTeX distribution may have a package manager of
its own. (Recent versions of TexLive do.)  Again, you can use that (run it in a
terminal) to download and install packages.  Failing that, open a terminal and
run 'kpsewhich -show-path tex' to get a list of directories LaTeX will search
for class (.cls) and style (,sty) files, and 'kpsewhich -show-path doc' for
directories where it will look for package documentation.  Look for directories
under /home/your login and park your files in appropriately named folders
there (using the package readme as guidance).

Paul





Re: Python wrapper bibtexall for biblatex

2012-06-26 Thread Julien Babinot
stefano franchi stefano.franchi at gmail.com writes:

 
 Hi Julien,
 
 I took a look at the log file you enclosed. It took some work, because
 the thesis did not compile at first (missing images in the chapters
 were one of the problems). In general, try to provide a minimal
 working example when asking for help, not the entire document with all
 the bells and whistles.
 
 The file now compiles on my laptop and the results, it seems to me,
 are what you wanted. I changed two things: (a) I switched from bibtex
 to biber as backend ( I could not get your thesis to work with bibtex,
 and in general biber works better with biblatex). (b) And I switched
 from refsection to refsegment in biblatex. Here is what you need to
 do:
 
 A. Switch from bibtex to biber.
 - be sure biber is installed on your system (it should. Try typing
 biber at a command prompt to verify. If not install it via MikTeX)
  - Change the bibtexall script (with an editor): in line 17 (the last
 line), replace bibtex with biber
  - Make sure bibtexall can be found by lyx (again try calling
 bibtexall from a command prompt, or ask for help from the Windows
 guys)
 - Check that in preferencesLatex , i the section Bibliography
 generation you have selected custom and typed bibtexall (without
 quotes) in the following field
 - in DocumentSettingsBibliographyProcessor, select biber from
 the drop down menu
 - in your preamble, change the biblatex loading command to:
 \usepackage[backend=biber,style=nature]{biblatex}
 - finally, get rid of spaces in path names (this may be unnecessary)
 
 B. Switch from refsection to refsegment (see biblatex manual, section
 3.10.3 for a discussion of how they differ)
 
 - in your chapters, replace the commands \begin{refsection} and
 \end{refsection} with, respectively,  \begin{refsegment} and
 \end{refsegment}
 
 - at the end of your chapters, when you want the bibliography to
 appear, replace the simple \printbibliography command you have now
 with
  \printbibliography[segment=n] where n is 1 for your first
 bibliography (currently, your chapter 2), n = 2 for your second
 bibliography (currently your chapter 3), etcetera. Again, see the
 manual, sec 3.10.3 for a discussion
 
 I am sending the pdf output in a private message to avoid jamming the
 list servers.
 
 Cheers,
 
 Stefano
 
 On Mon, Jun 25, 2012 at 11:20 PM, julien.babinot
 julien.babinot at 9online.fr wrote:
  Le 25/06/2012 22:35, stefano franchi a écrit :
 
  On Mon, Jun 25, 2012 at 10:02 PM, Julien Babinot
  julien.babinot at 9online.fr wrote:
 
  Hi Lyx users,
 
   From this observation, could anyone tell me where i did a mistake? I
  would say
  that the problem is coming from the bibtexall command but i don't know
  where?!
 
  Ju,ien,
 
  it's a bit difficult to diagnose the problem unless you provide more
  info. Look at the latex log (DocumentLatex Log), especially at the
  warnings. Is biblatex complaining it cannot find the appropriate
  files? Or is bibtex complaining about the same? Perhaps you can post
  the log or send it to me directly (if it is too long) alongside a copy
  of your lyx file?
 
  Cheers,
 
  Stefano
 
 
 
 
  Thanks again a lot for your answer Stefano,
 
  I send you the log file as well as my lyx folder. And now i realize that
  perhaps i am testing on a bad file as i am using a quite complex template
  for my thesis... But still it should work on the real file so...
 
  Cheers
 
  Julien
 

Hi again Stefano,

I did all the procedure but unfortunately it still have problems...
First, with the exact procedure that you gave me, my references are not 
recognized and don't appear in my pdf file.
If i change from biber to bibtex8, then it is generating the same file as 
yours, 
with first chapter with references numbered correctly (for ex. 1 to 20) and the 
second with increasing numbers (for ex. 20 to 40, but it also uses numbers from 
the first chapter if references are re-used). This behavior is because of the 
refsegment environment, that create a global, without the need of additional 
aux 
files (3.10.3 in biblatex doc).
As i want to have completely independent bibliographies for each chapter, i 
have 
to use the refsection environment. In this case it is requiring all the aux 
files of each chapter. And in this case, my bibliography is not working.

So my conclusion is that the bibtexall script is not working. The procedure is 
not detailed enough for me in the wiki, and i don't find any clue on the forum, 
 
could any windows-user (using Miktex) explain me how to generate and where to 
place exactly this script?

Here is how i am proceeding:
- To build bibtexall.exe, i used this tutorial:
http://logix4u.net/component/content/article/27-tutorials/44-how-to-create-
windows-executable-exe-from-python-script
I copied the script and pasted into a bibtexall.txt file, then i renamed to .py 
extension and used py2exe to build the executable script. The file was created 
in a dist folder, with the exe and some other 

Re: testers needed for LyX\'s Windows installer

2012-06-26 Thread Uwe Stöhr

Am 06.06.2012 11:04, schrieb Rick Blok - LR:


I've just checked the computer were I don't have admin rights, and I don't see 
perl.exe in the bin folder, and I also don't have a lib-folder.


Not good. However in the meantime it is possible to install LyX without admin privileges. I also 
fixed several bugs in the installer. Could you please give it again a try:

https://sourceforge.net/projects/lyxwininstaller/files/LyXWinInstaller/2.0.4/

thanks and regards
Uwe


Re: testers needed for LyX\'s Windows installer

2012-06-26 Thread Uwe Stöhr

Am 08.06.2012 11:56, schrieb Uwe Stöhr:


Btw, what problems are there with Imagemagick when lyx is installed without 
admin rights?


Because it requires registry settings in HKLM. After discussing this with the 
ImAgemagick
developers, they changs it but I haven't found the time to test and implement 
this yet.


This is now fixed in ImageMagick and so the installer supports installing 
without admin privileges:
https://sourceforge.net/projects/lyxwininstaller/files/LyXWinInstaller/2.0.4/

regards Uwe


Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

I have a question, or a request:

I am working on a presentation which is based on a paper and a fe other 
documents in LyX. To make
my life easy, I have opened all of them in LyX to be able to copy text, 
graphics, ...

My Problem: I would like to avoid that I accidentally change something in the 
other documents and
save it.

Is it at the moment possible to make a tab as read-only or, if not, could 
this be easily be
implemented? I consider this a useful feature for cases like mine at the moment.

Cheers,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/procACgkQoYgNqgF2egrsHACfc1/57Ccg23HGMBpRh1ll2Tzn
XBkAnRP4mNo5OFMPda4tuweeJfSHCCKg
=MUAu
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Liviu Andronic
On Tue, Jun 26, 2012 at 2:43 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 My Problem: I would like to avoid that I accidentally change something in the 
 other documents and
 save it.

Have been there..


 Is it at the moment possible to make a tab as read-only or, if not, could 
 this be easily be
 implemented? I consider this a useful feature for cases like mine at the 
 moment.

Bug #6692 ( http://www.lyx.org/trac/ticket/6692 ) deals with it.

I proposed to include a 'Documents  Disable Editing' menu entry that
would mark a document as read-only for the given LyX session. You can
easily re-enable editing via the same menu item.

The bug was resolved as 'wontfix' because of lack of interest for that
feature. For the record, I still think that this feature is very
useful and I would (again) propose to include it in base LyX. (For
example, LibreOffice has this feature via a 'Edit File' toggle
button.)

Regards
Liviu

PS Right now the bugtracker seems down.


Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26/06/12 14:52, Liviu Andronic wrote:
 On Tue, Jun 26, 2012 at 2:43 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 My Problem: I would like to avoid that I accidentally change something in 
 the other documents
 and save it.
 
 Have been there..
 

It is always nice to hear that I am not the only one...

 
 Is it at the moment possible to make a tab as read-only or, if not, could 
 this be easily
 be implemented? I consider this a useful feature for cases like mine at the 
 moment.
 
 Bug #6692 ( http://www.lyx.org/trac/ticket/6692 ) deals with it.
 
 I proposed to include a 'Documents  Disable Editing' menu entry that would 
 mark a document as
 read-only for the given LyX session. You can easily re-enable editing via the 
 same menu item.

Would be perfect - exactly what I thought about.

 
 The bug was resolved as 'wontfix' because of lack of interest for that 
 feature. For the record,
 I still think that this feature is very useful and I would (again) propose to 
 include it in
 base LyX. (For example, LibreOffice has this feature via a 'Edit File' toggle 
 button.)

Agreed - I will support that suggestion.



 
 Regards Liviu
 
 PS Right now the bugtracker seems down.

Not only the bug tracker, also the wiki... and I think lyx.org as well...


 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/psbMACgkQoYgNqgF2egoEzgCfauObH29844fqDvoMjURXjRTu
WzsAniphGOPLLh8J4epv1wV5A1H8ALIB
=fJMO
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Roger Burton West
On Tue, Jun 26, 2012 at 02:43:51PM +0200, Rainer M Krug wrote:
My Problem: I would like to avoid that I accidentally change something in the 
other documents and
save it.

Failing an in-program solution, how about marking the _file_ read-only?
(chmod a-w filename)


Re: Making a tab read-only?

2012-06-26 Thread Alex Vergara Gil

El 26/06/2012 07:03 a.m., Roger Burton West escribió:

On Tue, Jun 26, 2012 at 02:43:51PM +0200, Rainer M Krug wrote:

My Problem: I would like to avoid that I accidentally change something in the 
other documents and
save it.

Failing an in-program solution, how about marking the _file_ read-only?
(chmod a-w filename)


Oh, but this is a linux-only solution, and definitely not for user who 
wants to write without knowing too much of technical details, otherwise 
we will use plain latex instead of lyx. ;)


A simple menu entry won't hurt anyone and will be helpful

--
greetings
~-o--{}--o-~
Alex Vergara Gil
MSc. Física Nuclear
Laboratorio Secundario de Calibración Dosimétrica
Centro de Protección e Higiene de las Radiaciones
Calle 20 No. 4113 e/ 18A y 47 Playa
La Habana, Cuba
A.P.6195 C.P.10600
Telf: (537)6824892, (537)6821803
Fax: (537)2030165



Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26/06/12 17:10, Alex Vergara Gil wrote:
 El 26/06/2012 07:03 a.m., Roger Burton West escribió:
 On Tue, Jun 26, 2012 at 02:43:51PM +0200, Rainer M Krug wrote:
 My Problem: I would like to avoid that I accidentally change something in 
 the other
 documents and save it.
 Failing an in-program solution, how about marking the _file_ read-only? 
 (chmod a-w filename)

Would be possible, but then I have to change it back afterwards...

 
 
 Oh, but this is a linux-only solution, and definitely not for user who wants 
 to write without 
 knowing too much of technical details, otherwise we will use plain latex 
 instead of lyx. ;)

nicely put.

 
 A simple menu entry won't hurt anyone and will be helpful
 

Agreed.

Cheers,

Rainer

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/pt10ACgkQoYgNqgF2egpvbgCeKymZwkOoo0yDXdX6F1MrQ2BK
114AnR8u7U+jW2vWaugHG87iKXTovAYe
=wa1z
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Jean-Marc Lasgouttes

Le 26/06/12 14:52, Liviu Andronic a écrit :

I proposed to include a 'Documents  Disable Editing' menu entry that
would mark a document as read-only for the given LyX session. You can
easily re-enable editing via the same menu item.


The lack of enthousiasm was for the menu entry. The function exists, it is:

M-x buffer-toggle-read-only

JMarc


Re: Re: Making a tab read-only?

2012-06-26 Thread Kornel Benko
Am Dienstag, 26. Juni 2012 um 09:10:15, schrieb Alex Vergara Gil 
a...@cphr.edu.cu
 El 26/06/2012 07:03 a.m., Roger Burton West escribió:
  On Tue, Jun 26, 2012 at 02:43:51PM +0200, Rainer M Krug wrote:
  My Problem: I would like to avoid that I accidentally change something in 
  the other documents and
  save it.
  Failing an in-program solution, how about marking the _file_ read-only?
  (chmod a-w filename)
 
 
 Oh, but this is a linux-only solution, and definitely not for user who 
 wants to write without knowing too much of technical details, otherwise 
 we will use plain latex instead of lyx. ;)
 
 A simple menu entry won't hurt anyone and will be helpful
 
 -- 
 greetings
 ~-o--{}--o-~
 Alex Vergara Gil
 MSc. Física Nuclear
 Laboratorio Secundario de Calibración Dosimétrica
 Centro de Protección e Higiene de las Radiaciones
 Calle 20 No. 4113 e/ 18A y 47 Playa
 La Habana, Cuba
 A.P.6195 C.P.10600
 Telf: (537)6824892, (537)6821803
 Fax: (537)2030165

And how about the command 
buffer-toggle-read-only
?

You may enter the command in the lyx-command line, or bind it to some key.

Kornel

signature.asc
Description: This is a digitally signed message part.


lyx websites down or REALLY slow?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

it seems that
http://www.lyx.org/
and
http://wiki.lyx.org/
seem to be down (lyx.org) or to slow to work (wiki)?

Cheers,


Rainer


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/puqsACgkQoYgNqgF2egqIfACfbJ/PjRYbq+sD4jJV+n6FV2l2
N7QAn13v5IwMtZ3xHQ0g7GsA/HBc8gxD
=LE51
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Alex Vergara Gil

El 26/06/2012 07:24 a.m., Kornel Benko escribió:


And how about the command

buffer-toggle-read-only

?

You may enter the command in the lyx-command line, or bind it to some key.

Kornel



I have found a solution

copy from Lyx_directory/Resources/ui/stdmenus.inc to userdir/personalLyx/ui
add the following line wherever you want inside the file menu in the 
copied file

Item Make Read Only buffer-toggle-read-only

voilá, it works! Thanks to Kornel for the hint

--
Greetings
~-o--{}--o-~
Alex Vergara Gil
MSc. Física Nuclear
Laboratorio Secundario de Calibración Dosimétrica
Centro de Protección e Higiene de las Radiaciones
Calle 20 No. 4113 e/ 18A y 47 Playa
La Habana, Cuba
A.P.6195 C.P.10600
Telf: (537)6824892, (537)6821803
Fax: (537)2030165



Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26/06/12 15:24, Kornel Benko wrote:
 Am Dienstag, 26. Juni 2012 um 09:10:15, schrieb Alex Vergara Gil 
 a...@cphr.edu.cu
 
 El 26/06/2012 07:03 a.m., Roger Burton West escribió:
 
 On Tue, Jun 26, 2012 at 02:43:51PM +0200, Rainer M Krug wrote:
 
 My Problem: I would like to avoid that I accidentally change something in 
 the other
 documents and
 
 save it.
 
 Failing an in-program solution, how about marking the _file_ read-only?
 
 (chmod a-w filename)
 
 
 
 
 
 Oh, but this is a linux-only solution, and definitely not for user who
 
 wants to write without knowing too much of technical details, otherwise
 
 we will use plain latex instead of lyx. ;)
 
 
 
 A simple menu entry won't hurt anyone and will be helpful
 
 
 
 --
 
 greetings
 
 ~-o--{}--o-~
 
 Alex Vergara Gil
 
 MSc. Física Nuclear
 
 Laboratorio Secundario de Calibración Dosimétrica
 
 Centro de Protección e Higiene de las Radiaciones
 
 Calle 20 No. 4113 e/ 18A y 47 Playa
 
 La Habana, Cuba
 
 A.P.6195 C.P.10600
 
 Telf: (537)6824892, (537)6821803
 
 Fax: (537)2030165
 
 
 
 And how about the command
 
 buffer-toggle-read-only
 
 ?
 

Just discovered this one (also thanks Jean-Marc), but in the manual it states:

###
This function is not allowed if the file is under version control, since 
read-only flag is often
used in version control file locking.
###

which is a problem, as IO have most LyX projects under version control.

So no help for me.

If this function changes the attributes of the file, then this is a problem 
with VC - otherwise if
it only changes the properties of the tab,  do not see a problem with it.

Cheers,

Rainer


 
 
 You may enter the command in the lyx-command line, or bind it to some key.
 
 
 
 Kornel
 


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/pvn8ACgkQoYgNqgF2egp8JgCdHlSbXAP3NxODQ+SxLx9EjCCW
lgQAoIrm07bEVtAL4UNvRrHf6dv9D7jq
=6mq2
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26/06/12 15:24, Jean-Marc Lasgouttes wrote:
 Le 26/06/12 14:52, Liviu Andronic a écrit :
 I proposed to include a 'Documents  Disable Editing' menu entry that would 
 mark a document
 as read-only for the given LyX session. You can easily re-enable editing via 
 the same menu
 item.
 
 The lack of enthousiasm was for the menu entry. The function exists, it is:

I think a menu entry in the context menu (right mouse click) of the tab would 
be the perfect
location for a menu entry.


 
 M-x buffer-toggle-read-only

thanks - but see other reply.

Cheers,

Rainer

 
 JMarc
 


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/pvssACgkQoYgNqgF2egrtXQCePz6ARcNXmqqYZr1dvAc8fAtp
INYAn01mZcL9v13EhRgjDyRfv4QW20kQ
=9AOj
-END PGP SIGNATURE-


Re: how to fix spacing

2012-06-26 Thread Marcelo Acuña
 On 2012-06-24, Hady Ariwibowo Teguh wrote:


 I have problem in spacing between chapter name and paragraph and
 chapter number and chapter name.

titlesec package allow to you to make all customize that you want.
Marcelo


Re: Python wrapper bibtexall for biblatex

2012-06-26 Thread stefano franchi
Hi Julien,

I took a look at the log file you enclosed. It took some work, because
the thesis did not compile at first (missing images in the chapters
were one of the problems). In general, try to provide a minimal
working example when asking for help, not the entire document with all
the bells and whistles.

The file now compiles on my laptop and the results, it seems to me,
are what you wanted. I changed two things: (a) I switched from bibtex
to biber as backend ( I could not get your thesis to work with bibtex,
and in general biber works better with biblatex). (b) And I switched
from refsection to refsegment in biblatex. Here is what you need to
do:

A. Switch from bibtex to biber.
- be sure biber is installed on your system (it should. Try typing
biber at a command prompt to verify. If not install it via MikTeX)
 - Change the bibtexall script (with an editor): in line 17 (the last
line), replace bibtex with biber
 - Make sure bibtexall can be found by lyx (again try calling
bibtexall from a command prompt, or ask for help from the Windows
guys)
- Check that in preferencesLatex , i the section Bibliography
generation you have selected custom and typed bibtexall (without
quotes) in the following field
- in DocumentSettingsBibliographyProcessor, select biber from
the drop down menu
- in your preamble, change the biblatex loading command to:
\usepackage[backend=biber,style=nature]{biblatex}
- finally, get rid of spaces in path names (this may be unnecessary)

B. Switch from refsection to refsegment (see biblatex manual, section
3.10.3 for a discussion of how they differ)

- in your chapters, replace the commands \begin{refsection} and
\end{refsection} with, respectively,  \begin{refsegment} and
\end{refsegment}

- at the end of your chapters, when you want the bibliography to
appear, replace the simple \printbibliography command you have now
with
 \printbibliography[segment=n] where n is 1 for your first
bibliography (currently, your chapter 2), n = 2 for your second
bibliography (currently your chapter 3), etcetera. Again, see the
manual, sec 3.10.3 for a discussion

I am sending the pdf output in a private message to avoid jamming the
list servers.

Cheers,

Stefano

On Mon, Jun 25, 2012 at 11:20 PM, julien.babinot
julien.babi...@9online.fr wrote:
 Le 25/06/2012 22:35, stefano franchi a écrit :

 On Mon, Jun 25, 2012 at 10:02 PM, Julien Babinot
 julien.babi...@9online.fr wrote:

 Hi Lyx users,

  From this observation, could anyone tell me where i did a mistake? I
 would say
 that the problem is coming from the bibtexall command but i don't know
 where?!

 Ju,ien,

 it's a bit difficult to diagnose the problem unless you provide more
 info. Look at the latex log (DocumentLatex Log), especially at the
 warnings. Is biblatex complaining it cannot find the appropriate
 files? Or is bibtex complaining about the same? Perhaps you can post
 the log or send it to me directly (if it is too long) alongside a copy
 of your lyx file?

 Cheers,

 Stefano




 Thanks again a lot for your answer Stefano,

 I send you the log file as well as my lyx folder. And now i realize that
 perhaps i am testing on a bad file as i am using a quite complex template
 for my thesis... But still it should work on the real file so...

 Cheers

 Julien



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Making a tab read-only?

2012-06-26 Thread Jean-Marc Lasgouttes

Le 26/06/12 14:52, Liviu Andronic a écrit :

For the record, I still think that this feature is very
useful and I would (again) propose to include it in base LyX. (For
example, LibreOffice has this feature via a 'Edit File' toggle
button.)


Where is this toggle button?

What would be more interesting than a plain old boring read-only mode is 
a viewer mode which would mean

* read-only
* reload file automatically when it is updated
* maybe allow space as a synonym for page down

JMarc


Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26/06/12 16:09, Jean-Marc Lasgouttes wrote:
 Le 26/06/12 14:52, Liviu Andronic a écrit :
 For the record, I still think that this feature is very useful and I would 
 (again) propose to
 include it in base LyX. (For example, LibreOffice has this feature via a 
 'Edit File' toggle 
 button.)
 
 Where is this toggle button?
 
 What would be more interesting than a plain old boring read-only mode is a 
 viewer mode which
 would mean * read-only * reload file automatically when it is updated * maybe 
 allow space as a
 synonym for page down

Good idea - one can always improve on an idea.

Rainer

 
 JMarc
 


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/pwwMACgkQoYgNqgF2egqKQgCbBIxe2QQrBNmnRj5D1HQjbxv1
0eoAn1rm2h5whh7GzSCcbb7IQ/nuOJ2t
=4nWo
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Liviu Andronic
On Tue, Jun 26, 2012 at 4:09 PM, Jean-Marc Lasgouttes
lasgout...@lyx.org wrote:
 Le 26/06/12 14:52, Liviu Andronic a écrit :

 For the record, I still think that this feature is very

 useful and I would (again) propose to include it in base LyX. (For
 example, LibreOffice has this feature via a 'Edit File' toggle
 button.)


 Where is this toggle button?

In LibreOffice, see button to the left of the 'generate PDF' icon and
to the right of the 'Save' button. I'm not aware of a Menu item
equivalent.


 What would be more interesting than a plain old boring read-only mode is a
 viewer mode which would mean
 * read-only
 * reload file automatically when it is updated
 * maybe allow space as a synonym for page down

That would certainly be nice. Although some users would still find
useful an easily discoverable, albeit boring read-only mode.

Liviu


Re: Making a tab read-only?

2012-06-26 Thread Jean-Marc Lasgouttes

Le 26/06/2012 16:51, Liviu Andronic a écrit :

Where is this toggle button?


In LibreOffice, see button to the left of the 'generate PDF' icon and
to the right of the 'Save' button. I'm not aware of a Menu item
equivalent.


Indeed, I see it now. I have doubts about the discoverability of this 
thing :)


Does somebody know whether ms word has something similar ?


JMarc


Re: Making a tab read-only?

2012-06-26 Thread Liviu Andronic
On Tue, Jun 26, 2012 at 5:07 PM, Jean-Marc Lasgouttes
lasgout...@lyx.org wrote:
 Le 26/06/2012 16:51, Liviu Andronic a écrit :
 In LibreOffice, see button to the left of the 'generate PDF' icon and
 to the right of the 'Save' button. I'm not aware of a Menu item
 equivalent.

 Indeed, I see it now. I have doubts about the discoverability of this thing
 :)

Yes, this specific button is quite nicely hidden. :) I discovered it
once by accident, but since I didn't stop using it. (By the way, it is
present throughout the suite: Word processor, Spreadsheet,
Presentation.)


 Does somebody know whether ms word has something similar ?

I don't _know_, but I don't think so. I suspect that this is an
OpenOffice innovation. Either way, I always appreciate when an
editor (be it word/document processor like LibreOffice/LyX or IDE such
as Geany) provide an easily accessible read-only mode. Geany has a
'Document  Read only' menu item for this.

Liviu


Re: Making a tab read-only?

2012-06-26 Thread Steve Litt
On Tue, 26 Jun 2012 14:52:16 +0200, Liviu Andronic said:
 On Tue, Jun 26, 2012 at 2:43 PM, Rainer M Krug r.m.k...@gmail.com
 wrote:
  My Problem: I would like to avoid that I accidentally change
  something in the other documents and save it.
 
 Have been there..
 
 
  Is it at the moment possible to make a tab as read-only or, if
  not, could this be easily be implemented? I consider this a useful
  feature for cases like mine at the moment.
 
 Bug #6692 ( http://www.lyx.org/trac/ticket/6692 ) deals with it.
 
 I proposed to include a 'Documents  Disable Editing' menu entry that
 would mark a document as read-only for the given LyX session. You can
 easily re-enable editing via the same menu item.
 
 The bug was resolved as 'wontfix' because of lack of interest for that
 feature. For the record, I still think that this feature is very
 useful and I would (again) propose to include it in base LyX. (For
 example, LibreOffice has this feature via a 'Edit File' toggle
 button.)

I never even knew LyX had tabs. I'll be using tabs now.

I like the idea of a read-only tab via Documents-Disable Editing, but
then again, I'm lousy at C++, know nothing about Qt-4, and therefore am
unlikely to help with the addition.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



Re: Making a tab read-only?

2012-06-26 Thread Jean-Marc Lasgouttes

Le 26/06/12 19:21, Alex Vergara Gil a écrit :

El 26/06/2012 09:07 a.m., Jean-Marc Lasgouttes escribió:

Does somebody know whether ms word has something similar ?


MS Word has a Restrict Edition button which besides makes posible to add
a password to the file with a list of restrictions of use


Where is it? I cannot find it on Word/Mac 2008.

JMarc




Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
On 26/06/12 18:02, Steve Litt wrote:
 On Tue, 26 Jun 2012 14:52:16 +0200, Liviu Andronic said:
 On Tue, Jun 26, 2012 at 2:43 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 My Problem: I would like to avoid that I accidentally change something in 
 the other 
 documents and save it.
 
 Have been there..
 
 
 Is it at the moment possible to make a tab as read-only or, if not, could 
 this be easily
  be implemented? I consider this a useful feature for cases like mine at 
 the moment.
 
 Bug #6692 ( http://www.lyx.org/trac/ticket/6692 ) deals with it.
 
 I proposed to include a 'Documents  Disable Editing' menu entry that would 
 mark a document 
 as read-only for the given LyX session. You can easily re-enable editing via 
 the same menu 
 item.
 
 The bug was resolved as 'wontfix' because of lack of interest for that 
 feature. For the 
 record, I still think that this feature is very useful and I would (again) 
 propose to include
 it in base LyX. (For example, LibreOffice has this feature via a 'Edit File' 
 toggle button.)
 
 I never even knew LyX had tabs. I'll be using tabs now.

Something new to learn every day...
Maybe it is time to include a Tip of the day box on startup (obviously with 
the option to opt
out...).

Rainer

 
 I like the idea of a read-only tab via Documents-Disable Editing, but then 
 again, I'm lousy at
 C++, know nothing about Qt-4, and therefore am unlikely to help with the 
 addition.
 
 Thanks,
 
 SteveT
 
 Steve Litt*  http://www.troubleshooters.com/ *  
 http://twitter.com/stevelitt 
 Troubleshooting Training  *  Human Performance
 
 




Re: Making a tab read-only?

2012-06-26 Thread Liviu Andronic
On Tue, Jun 26, 2012 at 6:02 PM, Steve Litt sl...@troubleshooters.com wrote:
 I like the idea of a read-only tab via Documents-Disable Editing, but
 then again, I'm lousy at C++, know nothing about Qt-4, and therefore am
 unlikely to help with the addition.

No need for that. LyX already features an internal function to disable
the editing, and I've already provided a patch that adds the item to
the menus. Now it is only a matter of the core LyX developers to
approve (or not) of the modification.

Liviu

PS Anyone interested in the feature can easily copy/paste the config
info from the bug report, to add this item to your local LyX
installation. It's very simple.


how to install packages

2012-06-26 Thread Mirko Mastrolia
Deatr Lyx staff,
please help me to understand how to do it for installing packagesi went
on ftp://ftp.tex.ac.uk/tex-archive/install/ to install asmlatex, followed
instructions but i cannot find a folder which is present in the installing
notes (TEXMF/doc/latex/amscls)...which are even a disaster to
understand...please help me..i've to finish dissertation within tonight and
i am stuggling with this matter since 2 hours...
thanks..
Mirko


Re: how to install packages

2012-06-26 Thread Paul A . Rubin
You did not specify your operating system, and the answer is OS-specific.  If
you are using MiKTeX on Windows, there is a package installer in the MiKTeX
folder of the Start menu -- use that to download and install the package.

If you are using Linux, your LaTeX distribution may have a package manager of
its own. (Recent versions of TexLive do.)  Again, you can use that (run it in a
terminal) to download and install packages.  Failing that, open a terminal and
run 'kpsewhich -show-path tex' to get a list of directories LaTeX will search
for class (.cls) and style (,sty) files, and 'kpsewhich -show-path doc' for
directories where it will look for package documentation.  Look for directories
under /home/your login and park your files in appropriately named folders
there (using the package readme as guidance).

Paul





Re: Python wrapper bibtexall for biblatex

2012-06-26 Thread Julien Babinot
stefano franchi stefano.franchi at gmail.com writes:

 
 Hi Julien,
 
 I took a look at the log file you enclosed. It took some work, because
 the thesis did not compile at first (missing images in the chapters
 were one of the problems). In general, try to provide a minimal
 working example when asking for help, not the entire document with all
 the bells and whistles.
 
 The file now compiles on my laptop and the results, it seems to me,
 are what you wanted. I changed two things: (a) I switched from bibtex
 to biber as backend ( I could not get your thesis to work with bibtex,
 and in general biber works better with biblatex). (b) And I switched
 from refsection to refsegment in biblatex. Here is what you need to
 do:
 
 A. Switch from bibtex to biber.
 - be sure biber is installed on your system (it should. Try typing
 biber at a command prompt to verify. If not install it via MikTeX)
  - Change the bibtexall script (with an editor): in line 17 (the last
 line), replace bibtex with biber
  - Make sure bibtexall can be found by lyx (again try calling
 bibtexall from a command prompt, or ask for help from the Windows
 guys)
 - Check that in preferencesLatex , i the section Bibliography
 generation you have selected custom and typed bibtexall (without
 quotes) in the following field
 - in DocumentSettingsBibliographyProcessor, select biber from
 the drop down menu
 - in your preamble, change the biblatex loading command to:
 \usepackage[backend=biber,style=nature]{biblatex}
 - finally, get rid of spaces in path names (this may be unnecessary)
 
 B. Switch from refsection to refsegment (see biblatex manual, section
 3.10.3 for a discussion of how they differ)
 
 - in your chapters, replace the commands \begin{refsection} and
 \end{refsection} with, respectively,  \begin{refsegment} and
 \end{refsegment}
 
 - at the end of your chapters, when you want the bibliography to
 appear, replace the simple \printbibliography command you have now
 with
  \printbibliography[segment=n] where n is 1 for your first
 bibliography (currently, your chapter 2), n = 2 for your second
 bibliography (currently your chapter 3), etcetera. Again, see the
 manual, sec 3.10.3 for a discussion
 
 I am sending the pdf output in a private message to avoid jamming the
 list servers.
 
 Cheers,
 
 Stefano
 
 On Mon, Jun 25, 2012 at 11:20 PM, julien.babinot
 julien.babinot at 9online.fr wrote:
  Le 25/06/2012 22:35, stefano franchi a écrit :
 
  On Mon, Jun 25, 2012 at 10:02 PM, Julien Babinot
  julien.babinot at 9online.fr wrote:
 
  Hi Lyx users,
 
   From this observation, could anyone tell me where i did a mistake? I
  would say
  that the problem is coming from the bibtexall command but i don't know
  where?!
 
  Ju,ien,
 
  it's a bit difficult to diagnose the problem unless you provide more
  info. Look at the latex log (DocumentLatex Log), especially at the
  warnings. Is biblatex complaining it cannot find the appropriate
  files? Or is bibtex complaining about the same? Perhaps you can post
  the log or send it to me directly (if it is too long) alongside a copy
  of your lyx file?
 
  Cheers,
 
  Stefano
 
 
 
 
  Thanks again a lot for your answer Stefano,
 
  I send you the log file as well as my lyx folder. And now i realize that
  perhaps i am testing on a bad file as i am using a quite complex template
  for my thesis... But still it should work on the real file so...
 
  Cheers
 
  Julien
 

Hi again Stefano,

I did all the procedure but unfortunately it still have problems...
First, with the exact procedure that you gave me, my references are not 
recognized and don't appear in my pdf file.
If i change from biber to bibtex8, then it is generating the same file as 
yours, 
with first chapter with references numbered correctly (for ex. 1 to 20) and the 
second with increasing numbers (for ex. 20 to 40, but it also uses numbers from 
the first chapter if references are re-used). This behavior is because of the 
refsegment environment, that create a global, without the need of additional 
aux 
files (3.10.3 in biblatex doc).
As i want to have completely independent bibliographies for each chapter, i 
have 
to use the refsection environment. In this case it is requiring all the aux 
files of each chapter. And in this case, my bibliography is not working.

So my conclusion is that the bibtexall script is not working. The procedure is 
not detailed enough for me in the wiki, and i don't find any clue on the forum, 
 
could any windows-user (using Miktex) explain me how to generate and where to 
place exactly this script?

Here is how i am proceeding:
- To build bibtexall.exe, i used this tutorial:
http://logix4u.net/component/content/article/27-tutorials/44-how-to-create-
windows-executable-exe-from-python-script
I copied the script and pasted into a bibtexall.txt file, then i renamed to .py 
extension and used py2exe to build the executable script. The file was created 
in a dist folder, with the exe and some other 

Re: testers needed for LyX\'s Windows installer

2012-06-26 Thread Uwe Stöhr

Am 06.06.2012 11:04, schrieb Rick Blok - LR:


I've just checked the computer were I don't have admin rights, and I don't see 
perl.exe in the bin folder, and I also don't have a lib-folder.


Not good. However in the meantime it is possible to install LyX without admin privileges. I also 
fixed several bugs in the installer. Could you please give it again a try:

https://sourceforge.net/projects/lyxwininstaller/files/LyXWinInstaller/2.0.4/

thanks and regards
Uwe


Re: testers needed for LyX\'s Windows installer

2012-06-26 Thread Uwe Stöhr

Am 08.06.2012 11:56, schrieb Uwe Stöhr:


Btw, what problems are there with Imagemagick when lyx is installed without 
admin rights?


Because it requires registry settings in HKLM. After discussing this with the 
ImAgemagick
developers, they changs it but I haven't found the time to test and implement 
this yet.


This is now fixed in ImageMagick and so the installer supports installing 
without admin privileges:
https://sourceforge.net/projects/lyxwininstaller/files/LyXWinInstaller/2.0.4/

regards Uwe


Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

I have a question, or a request:

I am working on a presentation which is based on a paper and a fe other 
documents in LyX. To make
my life easy, I have opened all of them in LyX to be able to copy text, 
graphics, ...

My Problem: I would like to avoid that I accidentally change something in the 
other documents and
save it.

Is it at the moment possible to make a tab as "read-only" or, if not, could 
this be easily be
implemented? I consider this a useful feature for cases like mine at the moment.

Cheers,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/procACgkQoYgNqgF2egrsHACfc1/57Ccg23HGMBpRh1ll2Tzn
XBkAnRP4mNo5OFMPda4tuweeJfSHCCKg
=MUAu
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Liviu Andronic
On Tue, Jun 26, 2012 at 2:43 PM, Rainer M Krug  wrote:
> My Problem: I would like to avoid that I accidentally change something in the 
> other documents and
> save it.
>
Have been there..


> Is it at the moment possible to make a tab as "read-only" or, if not, could 
> this be easily be
> implemented? I consider this a useful feature for cases like mine at the 
> moment.
>
Bug #6692 ( http://www.lyx.org/trac/ticket/6692 ) deals with it.

I proposed to include a 'Documents > Disable Editing' menu entry that
would mark a document as read-only for the given LyX session. You can
easily re-enable editing via the same menu item.

The bug was resolved as 'wontfix' because of lack of interest for that
feature. For the record, I still think that this feature is very
useful and I would (again) propose to include it in base LyX. (For
example, LibreOffice has this feature via a 'Edit File' toggle
button.)

Regards
Liviu

PS Right now the bugtracker seems down.


Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26/06/12 14:52, Liviu Andronic wrote:
> On Tue, Jun 26, 2012 at 2:43 PM, Rainer M Krug  wrote:
>> My Problem: I would like to avoid that I accidentally change something in 
>> the other documents
>> and save it.
>> 
> Have been there..
> 

It is always nice to hear that I am not the only one...

> 
>> Is it at the moment possible to make a tab as "read-only" or, if not, could 
>> this be easily
>> be implemented? I consider this a useful feature for cases like mine at the 
>> moment.
>> 
> Bug #6692 ( http://www.lyx.org/trac/ticket/6692 ) deals with it.
> 
> I proposed to include a 'Documents > Disable Editing' menu entry that would 
> mark a document as
> read-only for the given LyX session. You can easily re-enable editing via the 
> same menu item.

Would be perfect - exactly what I thought about.

> 
> The bug was resolved as 'wontfix' because of lack of interest for that 
> feature. For the record,
> I still think that this feature is very useful and I would (again) propose to 
> include it in
> base LyX. (For example, LibreOffice has this feature via a 'Edit File' toggle 
> button.)

Agreed - I will support that suggestion.



> 
> Regards Liviu
> 
> PS Right now the bugtracker seems down.

Not only the bug tracker, also the wiki... and I think lyx.org as well...


> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/psbMACgkQoYgNqgF2egoEzgCfauObH29844fqDvoMjURXjRTu
WzsAniphGOPLLh8J4epv1wV5A1H8ALIB
=fJMO
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Roger Burton West
On Tue, Jun 26, 2012 at 02:43:51PM +0200, Rainer M Krug wrote:
>My Problem: I would like to avoid that I accidentally change something in the 
>other documents and
>save it.

Failing an in-program solution, how about marking the _file_ read-only?
(chmod a-w filename)


Re: Making a tab read-only?

2012-06-26 Thread Alex Vergara Gil

El 26/06/2012 07:03 a.m., Roger Burton West escribió:

On Tue, Jun 26, 2012 at 02:43:51PM +0200, Rainer M Krug wrote:

My Problem: I would like to avoid that I accidentally change something in the 
other documents and
save it.

Failing an in-program solution, how about marking the _file_ read-only?
(chmod a-w filename)


Oh, but this is a linux-only solution, and definitely not for user who 
wants to write without knowing too much of technical details, otherwise 
we will use plain latex instead of lyx. ;)


A simple menu entry won't hurt anyone and will be helpful

--
greetings
~-o--{}--o-~
Alex Vergara Gil
MSc. Física Nuclear
Laboratorio Secundario de Calibración Dosimétrica
Centro de Protección e Higiene de las Radiaciones
Calle 20 No. 4113 e/ 18A y 47 Playa
La Habana, Cuba
A.P.6195 C.P.10600
Telf: (537)6824892, (537)6821803
Fax: (537)2030165



Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26/06/12 17:10, Alex Vergara Gil wrote:
> El 26/06/2012 07:03 a.m., Roger Burton West escribió:
>> On Tue, Jun 26, 2012 at 02:43:51PM +0200, Rainer M Krug wrote:
>>> My Problem: I would like to avoid that I accidentally change something in 
>>> the other
>>> documents and save it.
>> Failing an in-program solution, how about marking the _file_ read-only? 
>> (chmod a-w filename)

Would be possible, but then I have to change it back afterwards...

>> 
>> 
> Oh, but this is a linux-only solution, and definitely not for user who wants 
> to write without 
> knowing too much of technical details, otherwise we will use plain latex 
> instead of lyx. ;)

nicely put.

> 
> A simple menu entry won't hurt anyone and will be helpful
> 

Agreed.

Cheers,

Rainer

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/pt10ACgkQoYgNqgF2egpvbgCeKymZwkOoo0yDXdX6F1MrQ2BK
114AnR8u7U+jW2vWaugHG87iKXTovAYe
=wa1z
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Jean-Marc Lasgouttes

Le 26/06/12 14:52, Liviu Andronic a écrit :

I proposed to include a 'Documents > Disable Editing' menu entry that
would mark a document as read-only for the given LyX session. You can
easily re-enable editing via the same menu item.


The lack of enthousiasm was for the menu entry. The function exists, it is:

M-x buffer-toggle-read-only

JMarc


Re: Re: Making a tab read-only?

2012-06-26 Thread Kornel Benko
Am Dienstag, 26. Juni 2012 um 09:10:15, schrieb Alex Vergara Gil 

> El 26/06/2012 07:03 a.m., Roger Burton West escribió:
> > On Tue, Jun 26, 2012 at 02:43:51PM +0200, Rainer M Krug wrote:
> >> My Problem: I would like to avoid that I accidentally change something in 
> >> the other documents and
> >> save it.
> > Failing an in-program solution, how about marking the _file_ read-only?
> > (chmod a-w filename)
> >
> >
> Oh, but this is a linux-only solution, and definitely not for user who 
> wants to write without knowing too much of technical details, otherwise 
> we will use plain latex instead of lyx. ;)
> 
> A simple menu entry won't hurt anyone and will be helpful
> 
> -- 
> greetings
> ~-o--{}--o-~
> Alex Vergara Gil
> MSc. Física Nuclear
> Laboratorio Secundario de Calibración Dosimétrica
> Centro de Protección e Higiene de las Radiaciones
> Calle 20 No. 4113 e/ 18A y 47 Playa
> La Habana, Cuba
> A.P.6195 C.P.10600
> Telf: (537)6824892, (537)6821803
> Fax: (537)2030165

And how about the command 
buffer-toggle-read-only
?

You may enter the command in the lyx-command line, or bind it to some key.

Kornel

signature.asc
Description: This is a digitally signed message part.


lyx websites down or REALLY slow?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

it seems that
http://www.lyx.org/
and
http://wiki.lyx.org/
seem to be down (lyx.org) or to slow to work (wiki)?

Cheers,


Rainer


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/puqsACgkQoYgNqgF2egqIfACfbJ/PjRYbq+sD4jJV+n6FV2l2
N7QAn13v5IwMtZ3xHQ0g7GsA/HBc8gxD
=LE51
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Alex Vergara Gil

El 26/06/2012 07:24 a.m., Kornel Benko escribió:


And how about the command

buffer-toggle-read-only

?

You may enter the command in the lyx-command line, or bind it to some key.

Kornel



I have found a solution

copy from Lyx_directory/Resources/ui/stdmenus.inc to userdir/personalLyx/ui
add the following line wherever you want inside the file menu in the 
copied file

Item "Make Read Only" "buffer-toggle-read-only"

voilá, it works! Thanks to Kornel for the hint

--
Greetings
~-o--{}--o-~
Alex Vergara Gil
MSc. Física Nuclear
Laboratorio Secundario de Calibración Dosimétrica
Centro de Protección e Higiene de las Radiaciones
Calle 20 No. 4113 e/ 18A y 47 Playa
La Habana, Cuba
A.P.6195 C.P.10600
Telf: (537)6824892, (537)6821803
Fax: (537)2030165



Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26/06/12 15:24, Kornel Benko wrote:
> Am Dienstag, 26. Juni 2012 um 09:10:15, schrieb Alex Vergara Gil 
> 
> 
>> El 26/06/2012 07:03 a.m., Roger Burton West escribió:
> 
>>> On Tue, Jun 26, 2012 at 02:43:51PM +0200, Rainer M Krug wrote:
> 
 My Problem: I would like to avoid that I accidentally change something in 
 the other
 documents and
> 
 save it.
> 
>>> Failing an in-program solution, how about marking the _file_ read-only?
> 
>>> (chmod a-w filename)
> 
>>> 
> 
>>> 
> 
>> Oh, but this is a linux-only solution, and definitely not for user who
> 
>> wants to write without knowing too much of technical details, otherwise
> 
>> we will use plain latex instead of lyx. ;)
> 
>> 
> 
>> A simple menu entry won't hurt anyone and will be helpful
> 
>> 
> 
>> --
> 
>> greetings
> 
>> ~-o--{}--o-~
> 
>> Alex Vergara Gil
> 
>> MSc. Física Nuclear
> 
>> Laboratorio Secundario de Calibración Dosimétrica
> 
>> Centro de Protección e Higiene de las Radiaciones
> 
>> Calle 20 No. 4113 e/ 18A y 47 Playa
> 
>> La Habana, Cuba
> 
>> A.P.6195 C.P.10600
> 
>> Telf: (537)6824892, (537)6821803
> 
>> Fax: (537)2030165
> 
> 
> 
> And how about the command
> 
> buffer-toggle-read-only
> 
> ?
> 

Just discovered this one (also thanks Jean-Marc), but in the manual it states:

###
This function is not allowed if the file is under version control, since 
read-only flag is often
used in version control file locking.
###

which is a problem, as IO have most LyX projects under version control.

So no help for me.

If this function changes the attributes of the file, then this is a problem 
with VC - otherwise if
it only changes the properties of the tab,  do not see a problem with it.

Cheers,

Rainer


> 
> 
> You may enter the command in the lyx-command line, or bind it to some key.
> 
> 
> 
> Kornel
> 


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/pvn8ACgkQoYgNqgF2egp8JgCdHlSbXAP3NxODQ+SxLx9EjCCW
lgQAoIrm07bEVtAL4UNvRrHf6dv9D7jq
=6mq2
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26/06/12 15:24, Jean-Marc Lasgouttes wrote:
> Le 26/06/12 14:52, Liviu Andronic a écrit :
>> I proposed to include a 'Documents > Disable Editing' menu entry that would 
>> mark a document
>> as read-only for the given LyX session. You can easily re-enable editing via 
>> the same menu
>> item.
> 
> The lack of enthousiasm was for the menu entry. The function exists, it is:

I think a menu entry in the context menu (right mouse click) of the tab would 
be the perfect
location for a menu entry.


> 
> M-x buffer-toggle-read-only

thanks - but see other reply.

Cheers,

Rainer

> 
> JMarc
> 


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/pvssACgkQoYgNqgF2egrtXQCePz6ARcNXmqqYZr1dvAc8fAtp
INYAn01mZcL9v13EhRgjDyRfv4QW20kQ
=9AOj
-END PGP SIGNATURE-


Re: how to fix spacing

2012-06-26 Thread Marcelo Acuña
> On 2012-06-24, Hady Ariwibowo Teguh wrote:


>> I have problem in spacing between "chapter name and paragraph" and
>> "chapter number and chapter name".

titlesec package allow to you to make all customize that you want.
Marcelo


Re: Python wrapper bibtexall for biblatex

2012-06-26 Thread stefano franchi
Hi Julien,

I took a look at the log file you enclosed. It took some work, because
the thesis did not compile at first (missing images in the chapters
were one of the problems). In general, try to provide a minimal
working example when asking for help, not the entire document with all
the bells and whistles.

The file now compiles on my laptop and the results, it seems to me,
are what you wanted. I changed two things: (a) I switched from bibtex
to biber as backend ( I could not get your thesis to work with bibtex,
and in general biber works better with biblatex). (b) And I switched
from refsection to refsegment in biblatex. Here is what you need to
do:

A. Switch from bibtex to biber.
- be sure biber is installed on your system (it should. Try typing
"biber" at a command prompt to verify. If not install it via MikTeX)
 - Change the bibtexall script (with an editor): in line 17 (the last
line), replace "bibtex" with "biber"
 - Make sure bibtexall can be found by lyx (again try calling
bibtexall from a command prompt, or ask for help from the Windows
guys)
- Check that in preferences>>Latex , i the section "Bibliography
generation" you have selected "custom" and typed "bibtexall" (without
quotes) in the following field
- in Document>>Settings>>Bibliography>>Processor, select "biber" from
the drop down menu
- in your preamble, change the biblatex loading command to:
\usepackage[backend=biber,style=nature]{biblatex}
- finally, get rid of spaces in path names (this may be unnecessary)

B. Switch from refsection to refsegment (see biblatex manual, section
3.10.3 for a discussion of how they differ)

- in your chapters, replace the commands \begin{refsection} and
\end{refsection} with, respectively,  \begin{refsegment} and
\end{refsegment}

- at the end of your chapters, when you want the bibliography to
appear, replace the simple \printbibliography command you have now
with
 \printbibliography[segment=n] where "n" is "1" for your first
bibliography (currently, your chapter 2), "n" = "2" for your second
bibliography (currently your chapter 3), etcetera. Again, see the
manual, sec 3.10.3 for a discussion

I am sending the pdf output in a private message to avoid jamming the
list servers.

Cheers,

Stefano

On Mon, Jun 25, 2012 at 11:20 PM, julien.babinot
 wrote:
> Le 25/06/2012 22:35, stefano franchi a écrit :
>
>> On Mon, Jun 25, 2012 at 10:02 PM, Julien Babinot
>>  wrote:
>>>
>>> Hi Lyx users,
>>>
>>>  From this observation, could anyone tell me where i did a mistake? I
>>> would say
>>> that the problem is coming from the bibtexall command but i don't know
>>> where?!
>>
>> Ju,ien,
>>
>> it's a bit difficult to diagnose the problem unless you provide more
>> info. Look at the latex log (Document>>Latex Log), especially at the
>> warnings. Is biblatex complaining it cannot find the appropriate
>> files? Or is bibtex complaining about the same? Perhaps you can post
>> the log or send it to me directly (if it is too long) alongside a copy
>> of your lyx file?
>>
>> Cheers,
>>
>> Stefano
>>
>>
>>
>
> Thanks again a lot for your answer Stefano,
>
> I send you the log file as well as my lyx folder. And now i realize that
> perhaps i am "testing" on a bad file as i am using a quite complex template
> for my thesis... But still it should work on the "real" file so...
>
> Cheers
>
> Julien



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Making a tab read-only?

2012-06-26 Thread Jean-Marc Lasgouttes

Le 26/06/12 14:52, Liviu Andronic a écrit :

For the record, I still think that this feature is very
useful and I would (again) propose to include it in base LyX. (For
example, LibreOffice has this feature via a 'Edit File' toggle
button.)


Where is this toggle button?

What would be more interesting than a plain old boring read-only mode is 
a viewer mode which would mean

* read-only
* reload file automatically when it is updated
* maybe allow space as a synonym for page down

JMarc


Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26/06/12 16:09, Jean-Marc Lasgouttes wrote:
> Le 26/06/12 14:52, Liviu Andronic a écrit :
>> For the record, I still think that this feature is very useful and I would 
>> (again) propose to
>> include it in base LyX. (For example, LibreOffice has this feature via a 
>> 'Edit File' toggle 
>> button.)
> 
> Where is this toggle button?
> 
> What would be more interesting than a plain old boring read-only mode is a 
> viewer mode which
> would mean * read-only * reload file automatically when it is updated * maybe 
> allow space as a
> synonym for page down

Good idea - one can always improve on an idea.

Rainer

> 
> JMarc
> 


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/pwwMACgkQoYgNqgF2egqKQgCbBIxe2QQrBNmnRj5D1HQjbxv1
0eoAn1rm2h5whh7GzSCcbb7IQ/nuOJ2t
=4nWo
-END PGP SIGNATURE-


Re: Making a tab read-only?

2012-06-26 Thread Liviu Andronic
On Tue, Jun 26, 2012 at 4:09 PM, Jean-Marc Lasgouttes
 wrote:
> Le 26/06/12 14:52, Liviu Andronic a écrit :
>>
>> For the record, I still think that this feature is very
>>
>> useful and I would (again) propose to include it in base LyX. (For
>> example, LibreOffice has this feature via a 'Edit File' toggle
>> button.)
>
>
> Where is this toggle button?
>
In LibreOffice, see button to the left of the 'generate PDF' icon and
to the right of the 'Save' button. I'm not aware of a Menu item
equivalent.


> What would be more interesting than a plain old boring read-only mode is a
> viewer mode which would mean
> * read-only
> * reload file automatically when it is updated
> * maybe allow space as a synonym for page down
>
That would certainly be nice. Although some users would still find
useful an easily discoverable, albeit boring read-only mode.

Liviu


Re: Making a tab read-only?

2012-06-26 Thread Jean-Marc Lasgouttes

Le 26/06/2012 16:51, Liviu Andronic a écrit :

Where is this toggle button?


In LibreOffice, see button to the left of the 'generate PDF' icon and
to the right of the 'Save' button. I'm not aware of a Menu item
equivalent.


Indeed, I see it now. I have doubts about the discoverability of this 
thing :)


Does somebody know whether ms word has something similar ?


JMarc


Re: Making a tab read-only?

2012-06-26 Thread Liviu Andronic
On Tue, Jun 26, 2012 at 5:07 PM, Jean-Marc Lasgouttes
 wrote:
> Le 26/06/2012 16:51, Liviu Andronic a écrit :
>> In LibreOffice, see button to the left of the 'generate PDF' icon and
>> to the right of the 'Save' button. I'm not aware of a Menu item
>> equivalent.
>
> Indeed, I see it now. I have doubts about the discoverability of this thing
> :)
>
Yes, this specific button is quite nicely hidden. :) I discovered it
once by accident, but since I didn't stop using it. (By the way, it is
present throughout the suite: Word processor, Spreadsheet,
Presentation.)


> Does somebody know whether ms word has something similar ?
>
I don't _know_, but I don't think so. I suspect that this is an
OpenOffice "innovation". Either way, I always appreciate when an
editor (be it word/document processor like LibreOffice/LyX or IDE such
as Geany) provide an easily accessible "read-only" mode. Geany has a
'Document > Read only' menu item for this.

Liviu


Re: Making a tab read-only?

2012-06-26 Thread Steve Litt
On Tue, 26 Jun 2012 14:52:16 +0200, Liviu Andronic said:
> On Tue, Jun 26, 2012 at 2:43 PM, Rainer M Krug 
> wrote:
> > My Problem: I would like to avoid that I accidentally change
> > something in the other documents and save it.
> >
> Have been there..
> 
> 
> > Is it at the moment possible to make a tab as "read-only" or, if
> > not, could this be easily be implemented? I consider this a useful
> > feature for cases like mine at the moment.
> >
> Bug #6692 ( http://www.lyx.org/trac/ticket/6692 ) deals with it.
> 
> I proposed to include a 'Documents > Disable Editing' menu entry that
> would mark a document as read-only for the given LyX session. You can
> easily re-enable editing via the same menu item.
> 
> The bug was resolved as 'wontfix' because of lack of interest for that
> feature. For the record, I still think that this feature is very
> useful and I would (again) propose to include it in base LyX. (For
> example, LibreOffice has this feature via a 'Edit File' toggle
> button.)

I never even knew LyX had tabs. I'll be using tabs now.

I like the idea of a read-only tab via Documents->Disable Editing, but
then again, I'm lousy at C++, know nothing about Qt-4, and therefore am
unlikely to help with the addition.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



Re: Making a tab read-only?

2012-06-26 Thread Jean-Marc Lasgouttes

Le 26/06/12 19:21, Alex Vergara Gil a écrit :

El 26/06/2012 09:07 a.m., Jean-Marc Lasgouttes escribió:

Does somebody know whether ms word has something similar ?


MS Word has a Restrict Edition button which besides makes posible to add
a password to the file with a list of restrictions of use


Where is it? I cannot find it on Word/Mac 2008.

JMarc




Re: Making a tab read-only?

2012-06-26 Thread Rainer M Krug
On 26/06/12 18:02, Steve Litt wrote:
> On Tue, 26 Jun 2012 14:52:16 +0200, Liviu Andronic said:
>> On Tue, Jun 26, 2012 at 2:43 PM, Rainer M Krug  wrote:
>>> My Problem: I would like to avoid that I accidentally change something in 
>>> the other 
>>> documents and save it.
>>> 
>> Have been there..
>> 
>> 
>>> Is it at the moment possible to make a tab as "read-only" or, if not, could 
>>> this be easily
>>>  be implemented? I consider this a useful feature for cases like mine at 
>>> the moment.
>>> 
>> Bug #6692 ( http://www.lyx.org/trac/ticket/6692 ) deals with it.
>> 
>> I proposed to include a 'Documents > Disable Editing' menu entry that would 
>> mark a document 
>> as read-only for the given LyX session. You can easily re-enable editing via 
>> the same menu 
>> item.
>> 
>> The bug was resolved as 'wontfix' because of lack of interest for that 
>> feature. For the 
>> record, I still think that this feature is very useful and I would (again) 
>> propose to include
>> it in base LyX. (For example, LibreOffice has this feature via a 'Edit File' 
>> toggle button.)
> 
> I never even knew LyX had tabs. I'll be using tabs now.

Something new to learn every day...
Maybe it is time to include a "Tip of the day" box on startup (obviously with 
the option to opt
out...).

Rainer

> 
> I like the idea of a read-only tab via Documents->Disable Editing, but then 
> again, I'm lousy at
> C++, know nothing about Qt-4, and therefore am unlikely to help with the 
> addition.
> 
> Thanks,
> 
> SteveT
> 
> Steve Litt*  http://www.troubleshooters.com/ *  
> http://twitter.com/stevelitt 
> Troubleshooting Training  *  Human Performance
> 
> 




Re: Making a tab read-only?

2012-06-26 Thread Liviu Andronic
On Tue, Jun 26, 2012 at 6:02 PM, Steve Litt  wrote:
> I like the idea of a read-only tab via Documents->Disable Editing, but
> then again, I'm lousy at C++, know nothing about Qt-4, and therefore am
> unlikely to help with the addition.
>
No need for that. LyX already features an internal function to disable
the editing, and I've already provided a patch that adds the item to
the menus. Now it is only a matter of the core LyX developers to
approve (or not) of the modification.

Liviu

PS Anyone interested in the feature can easily copy/paste the config
info from the bug report, to add this item to your local LyX
installation. It's very simple.


how to install packages

2012-06-26 Thread Mirko Mastrolia
Deatr Lyx staff,
please help me to understand how to do it for installing packagesi went
on ftp://ftp.tex.ac.uk/tex-archive/install/ to install asmlatex, followed
instructions but i cannot find a folder which is present in the installing
notes (TEXMF/doc/latex/amscls)...which are even a disaster to
understand...please help me..i've to finish dissertation within tonight and
i am stuggling with this matter since 2 hours...
thanks..
Mirko


Re: how to install packages

2012-06-26 Thread Paul A . Rubin
You did not specify your operating system, and the answer is OS-specific.  If
you are using MiKTeX on Windows, there is a package installer in the MiKTeX
folder of the Start menu -- use that to download and install the package.

If you are using Linux, your LaTeX distribution may have a package manager of
its own. (Recent versions of TexLive do.)  Again, you can use that (run it in a
terminal) to download and install packages.  Failing that, open a terminal and
run 'kpsewhich -show-path tex' to get a list of directories LaTeX will search
for class (.cls) and style (,sty) files, and 'kpsewhich -show-path doc' for
directories where it will look for package documentation.  Look for directories
under /home/ and park your files in appropriately named folders
there (using the package readme as guidance).

Paul





Re: Python wrapper bibtexall for biblatex

2012-06-26 Thread Julien Babinot
stefano franchi  gmail.com> writes:

> 
> Hi Julien,
> 
> I took a look at the log file you enclosed. It took some work, because
> the thesis did not compile at first (missing images in the chapters
> were one of the problems). In general, try to provide a minimal
> working example when asking for help, not the entire document with all
> the bells and whistles.
> 
> The file now compiles on my laptop and the results, it seems to me,
> are what you wanted. I changed two things: (a) I switched from bibtex
> to biber as backend ( I could not get your thesis to work with bibtex,
> and in general biber works better with biblatex). (b) And I switched
> from refsection to refsegment in biblatex. Here is what you need to
> do:
> 
> A. Switch from bibtex to biber.
> - be sure biber is installed on your system (it should. Try typing
> "biber" at a command prompt to verify. If not install it via MikTeX)
>  - Change the bibtexall script (with an editor): in line 17 (the last
> line), replace "bibtex" with "biber"
>  - Make sure bibtexall can be found by lyx (again try calling
> bibtexall from a command prompt, or ask for help from the Windows
> guys)
> - Check that in preferences>>Latex , i the section "Bibliography
> generation" you have selected "custom" and typed "bibtexall" (without
> quotes) in the following field
> - in Document>>Settings>>Bibliography>>Processor, select "biber" from
> the drop down menu
> - in your preamble, change the biblatex loading command to:
> \usepackage[backend=biber,style=nature]{biblatex}
> - finally, get rid of spaces in path names (this may be unnecessary)
> 
> B. Switch from refsection to refsegment (see biblatex manual, section
> 3.10.3 for a discussion of how they differ)
> 
> - in your chapters, replace the commands \begin{refsection} and
> \end{refsection} with, respectively,  \begin{refsegment} and
> \end{refsegment}
> 
> - at the end of your chapters, when you want the bibliography to
> appear, replace the simple \printbibliography command you have now
> with
>  \printbibliography[segment=n] where "n" is "1" for your first
> bibliography (currently, your chapter 2), "n" = "2" for your second
> bibliography (currently your chapter 3), etcetera. Again, see the
> manual, sec 3.10.3 for a discussion
> 
> I am sending the pdf output in a private message to avoid jamming the
> list servers.
> 
> Cheers,
> 
> Stefano
> 
> On Mon, Jun 25, 2012 at 11:20 PM, julien.babinot
>  9online.fr> wrote:
> > Le 25/06/2012 22:35, stefano franchi a écrit :
> >
> >> On Mon, Jun 25, 2012 at 10:02 PM, Julien Babinot
> >>  9online.fr> wrote:
> >>>
> >>> Hi Lyx users,
> >>>
> >>>  From this observation, could anyone tell me where i did a mistake? I
> >>> would say
> >>> that the problem is coming from the bibtexall command but i don't know
> >>> where?!
> >>
> >> Ju,ien,
> >>
> >> it's a bit difficult to diagnose the problem unless you provide more
> >> info. Look at the latex log (Document>>Latex Log), especially at the
> >> warnings. Is biblatex complaining it cannot find the appropriate
> >> files? Or is bibtex complaining about the same? Perhaps you can post
> >> the log or send it to me directly (if it is too long) alongside a copy
> >> of your lyx file?
> >>
> >> Cheers,
> >>
> >> Stefano
> >>
> >>
> >>
> >
> > Thanks again a lot for your answer Stefano,
> >
> > I send you the log file as well as my lyx folder. And now i realize that
> > perhaps i am "testing" on a bad file as i am using a quite complex template
> > for my thesis... But still it should work on the "real" file so...
> >
> > Cheers
> >
> > Julien
> 

Hi again Stefano,

I did all the procedure but unfortunately it still have problems...
First, with the exact procedure that you gave me, my references are not 
recognized and don't appear in my pdf file.
If i change from biber to bibtex8, then it is generating the same file as 
yours, 
with first chapter with references numbered correctly (for ex. 1 to 20) and the 
second with increasing numbers (for ex. 20 to 40, but it also uses numbers from 
the first chapter if references are re-used). This behavior is because of the 
refsegment environment, that create a global, without the need of additional 
aux 
files (3.10.3 in biblatex doc).
As i want to have completely independent bibliographies for each chapter, i 
have 
to use the refsection environment. In this case it is requiring all the aux 
files of each chapter. And in this case, my bibliography is not working.

So my conclusion is that the bibtexall script is not working. The procedure is 
not detailed enough for me in the wiki, and i don't find any clue on the forum, 
 
could any windows-user (using Miktex) explain me how to generate and where to 
place exactly this script?

Here is how i am proceeding:
- To build bibtexall.exe, i used this tutorial:
http://logix4u.net/component/content/article/27-tutorials/44-how-to-create-
windows-executable-exe-from-python-script
I copied the script and pasted into a bibtexall.txt file, 

Re: testers needed for LyX\'s Windows installer

2012-06-26 Thread Uwe Stöhr

Am 06.06.2012 11:04, schrieb Rick Blok - LR:


I've just checked the computer were I don't have admin rights, and I don't see 
perl.exe in the bin folder, and I also don't have a lib-folder.


Not good. However in the meantime it is possible to install LyX without admin privileges. I also 
fixed several bugs in the installer. Could you please give it again a try:

https://sourceforge.net/projects/lyxwininstaller/files/LyXWinInstaller/2.0.4/

thanks and regards
Uwe


Re: testers needed for LyX\'s Windows installer

2012-06-26 Thread Uwe Stöhr

Am 08.06.2012 11:56, schrieb Uwe Stöhr:


Btw, what problems are there with Imagemagick when lyx is installed without 
admin rights?


Because it requires registry settings in HKLM. After discussing this with the 
ImAgemagick
developers, they changs it but I haven't found the time to test and implement 
this yet.


This is now fixed in ImageMagick and so the installer supports installing 
without admin privileges:
https://sourceforge.net/projects/lyxwininstaller/files/LyXWinInstaller/2.0.4/

regards Uwe