Re: LyX layout for tRES?

2010-05-31 Thread Pavel Sanda
Nikos Alexandris wrote:
> If there are no objections, could someone approve the site-links and upload 
> the attached layout in ?

pass sent privately
pavel


Re: Published with lyx

2010-05-31 Thread Pavel Sanda
Richard Brown wrote:
>  I am proudly holding my just-published 200 page book -an Italian manual on
> how to set up and run humanist funerals- which was typeset entirely in Lyx
> and includes text, tables, photos, external files and even music scores.
> Thanks to Lyx it looks very professional indeed. I am one happy bear.

you might be interested to add it here
http://wiki.lyx.org/LyX/ProducedPublications

pavel


Re: LyX layout for tRES?

2010-05-31 Thread Nikos Alexandris
On Monday 31 of May 2010 10:43:41 Pavel Sanda wrote:
> Nikos Alexandris wrote:
> > If there are no objections, could someone approve the site-links and
> > upload the attached layout in ?
> 
> pass sent privately
> pavel

Thanks, Nikos


Re: Lyx 1.6.6.1 Compilation problems on Fedora 13

2010-05-31 Thread José Matos
On Sunday 30 May 2010 08:39:59 Alok Shukla wrote:
> Dear All,
> 
>   After configuring lyx-1.6.6.1 properly on my Fedora 13 laptop
>   when I run the make command, the compilation doesn't
>   get completed. Instead, it ends with the error message (relevant portions
> include):
> 
>g++ -O2 -o lyx main.o ISpell.o SpellBase.o BiblioInfo.o Box.o
> Dimension.o PrinterParams.o Thesaurus.o  ./.libs/liblyxcore.a
> ./.libs/liblyxmathed.a ./.libs/liblyxinsets.a
> frontends/.libs/liblyxfrontends.a
> frontends/qt4/.libs/liblyxqt4.a ./.libs/liblyxgraphics.a
> support/.libs/liblyxsupport.a ../boost/.libs/liblyxboost.a -lAiksaurus -lz
> -lQtGui -lQtCore
> /usr/bin/ld: frontends/qt4/.libs/liblyxqt4.a(GuiWorkArea.o): undefined
> reference to symbol 'XEventsQueued'
> /usr/bin/ld: note: 'XEventsQueued' is defined in DSO /usr/lib64/libX11.so.6
> so try adding it to the linker command line
> /usr/lib64/libX11.so.6: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[4]: *** [lyx] Error 1
> 
> I will appreciate any help in this matter.

The short answer is the you need to add -lX11 to the line in
src/frontends/qt4/Makefile.am

liblyxqt4_la_LIBADD = $(QT4_LIB)

goes to

liblyxqt4_la_LIBADD = $(QT4_LIB) -lX11

This is not the right (although it is the right idea) but for the moment I am 
busy and I can not add further to this work.

Tomorrow or so I will pick this again to build 1.6.6.1 o F-13 (for updates-
testing).

The right fix would be to make this as

liblyxqt4_la_LIBADD = $(QT4_LIB) $(X_LIBS)

but then X_LIBS is not set at this point...

> --Alok

-- 
José Abílio


Dead keys not working when writing fast

2010-05-31 Thread Daniel Lobo
Hi,

When I write fast in the keyboard, I press a key before releasing the last
one, and the letters are written correctly. However, in the case of writing
accents (dead key in a Spanish keyboard), Lyx ignores the accent. Other
programs behave correctly, and they write the accents. So, in order to
reproduce the bug in Lyx, you can do the following in a document:

Press N key
Press accent key (´)
Release N key
Press A key
Release accent key
Release A key

The output in Lyx is: na
The output in other programs is: ná

I've checked that the problem occurs in LyX 1.6.6 and 1.6.5 in Windows XP
(32 and 64 bits). This problem in very annoying, because you skip lots of
accents when you write fast.


Many thanks in advance,

Daniel


Configuring converters (more specifically dot2tex)

2010-05-31 Thread Leo Antunes
[I'm not subscribed, please CC]

Hi,

When configuring converters, what's the priority Lyx will give when
trying to convert an included graphic? If I have more than one
converters set-up for a given input format, with various output formats,
which one will Lyx prefer?
The case in point is trying to create a converter for Dot files, which
automatically parses them through dot2tex. This means Lyx would end-up
including an automatically produced LaTeX snippet. Is that even
possible? Do I need to figure out a way to first export this LaTeX to
some graphic format?

As a follow-up to this question, I've noticed Lyx still manages to
export a document with an included Dot file, even when I remove the
configured Dot converter. Am I right to assume there's some hardcoded
fallback converter at work? I don't believe it to be a configuration
caching issue, since I removed my whole .lyx dir just to be sure, but it
might be a fallback configuration somewhere else, which isn't visible in
the GUI and I couldn't find by grepping.
The same fallback converter seems to be what's used to generate the
image preview inside Lyx itself, since there are visual differences
between the previewed image and the exported one. Is there a way to
configure this?

All-in-all I might have totally misunderstood the idea behind the
converters, so please let me know if that's the case.


Cheers

-- 
*Leo Antunes*


Change tracking and the fate of deleted text

2010-05-31 Thread E. Kaplan
I realize that this is a BIG request, but it might reflect the wishes of 
others.
In MS WORD, when text is deleted (with /change tracking/ turned on), the 
deleted text is shown in the margin, and the newly-flowed or inserted 
text is shown in the body of the document.  This makes it easier to 
detect any missing spaces, judge space compliance etc.
In Lyx, the deleted and inserted text are shown together in both Lyx and 
the pdf output.
The WORD method is far superior.  I am not going to return to WORD 
because of it, but since the change tracking feature is one of the main 
reasons I use Lyx instead of plain Latex, it would be really nice if 
something like that could be implemented-- perhaps inserting the new 
text and making the deleted text appear as a comment.

Before you tell me how hard it is-- see my first sentence.



Ehud Kaplan, Ph.D.
Jules and Doris Stein/Research to Prevent Blindness/  Professor
*The laboratory of Visual&  Computational Neuroscience*
Depts. of Neuroscience, Ophthalmology, Chemical&  Structural Biology
The Mount Sinai School of Medicine
One Gustave Levy Place
New York, NY, 10029



Re: Justifying figures to outer margin

2010-05-31 Thread Julien Rioux

On 28/05/2010 7:04 PM, george legge wrote:

On Sat, May 29, 2010 at 8:33 AM, Julien Riouxwrote:
Hi,
I am not completely clear on what you want to accomplish, but you might want
to have a look at the sidecap package [1]. I wrote a minimalistic module to
use the package in LyX [2]. Maybe that would help. Otherwise, sorry for the
noise.

Thank you Julien for the prompt reply.
I have read your documentation.
Your package does allow figures to move into the margin and captions to be
placed on either side.
But it does not appear to tackle the major problem, which is:
How to get figures (of all widths) to justify to a boundary several cm
outside the text edge.

George



Hi George,

First, I did not write the sidecap package; I only wrote a LyX module to 
better integrate the functionality of the LaTeX package within LyX.


Second, there is a sidecap package option, "wide", which let the figure 
extend into the margin. Unfortunately, there is hardly any documentation 
about the sidecap package. I do not know how to customize this very 
well. But the attached LyX file use this option and the "innercaption" 
option to achieve something close to what you want, I think.


Make sure you have sidecap.module somewhere where LyX can find it.

Best of luck,
Julien


wide-sidecap.lyx
Description: application/lyx


wide-sidecap.pdf
Description: Adobe PDF document


Re: Justifying figures to outer margin

2010-05-31 Thread george legge
On Mon, May 31, 2010 at 10:57 PM, Julien Rioux
wrote:

> On 28/05/2010 7:04 PM, george legge wrote:
>
>> On Sat, May 29, 2010 at 8:33 AM, Julien Rioux> >wrote:
>> Hi,
>> I am not completely clear on what you want to accomplish, but you might
>> want
>> to have a look at the sidecap package [1]. I wrote a minimalistic module
>> to
>> use the package in LyX [2]. Maybe that would help. Otherwise, sorry for
>> the
>> noise.
>>
>> Thank you Julien for the prompt reply.
>> I have read your documentation.
>> Your package does allow figures to move into the margin and captions to be
>> placed on either side.
>> But it does not appear to tackle the major problem, which is:
>> How to get figures (of all widths) to justify to a boundary several cm
>> outside the text edge.
>>
>> George
>>
>>
> Hi George,
>
> First, I did not write the sidecap package; I only wrote a LyX module to
> better integrate the functionality of the LaTeX package within LyX.
>
> Second, there is a sidecap package option, "wide", which let the figure
> extend into the margin. Unfortunately, there is hardly any documentation
> about the sidecap package. I do not know how to customize this very well.
> But the attached LyX file use this option and the "innercaption" option to
> achieve something close to what you want, I think.
>
> Make sure you have sidecap.module somewhere where LyX can find it.
>
> Best of luck,
> Julien
>

Thank you Julien. Yes, I found the sidecap package a short while ago and
then found "wide".
"wide" certainly works on text and I am right now trying it on a figure.
It looks as though it should solve most of my problems; but I agree the
documentation is very sparse.
It is time I knocked off for the night. I shall let you know how successful
I am.

Cheers, George


Re: Change tracking and the fate of deleted text

2010-05-31 Thread Julien Rioux

On 31/05/2010 8:40 AM, E. Kaplan wrote:

I realize that this is a BIG request, but it might reflect the wishes of
others.
In MS WORD, when text is deleted (with /change tracking/ turned on), the
deleted text is shown in the margin, and the newly-flowed or inserted
text is shown in the body of the document.  This makes it easier to
detect any missing spaces, judge space compliance etc.
In Lyx, the deleted and inserted text are shown together in both Lyx and
the pdf output.
The WORD method is far superior.  I am not going to return to WORD
because of it, but since the change tracking feature is one of the main
reasons I use Lyx instead of plain Latex, it would be really nice if
something like that could be implemented-- perhaps inserting the new
text and making the deleted text appear as a comment.
Before you tell me how hard it is-- see my first sentence.


Hi,
It can be done in the LaTeX output by redefining the commands \lyxadded 
and \lyxdeleted to your liking. But you are right it would be much 
harder to implement inside the LyX editor.


Cheers,
Julien


change-tracking-in-margin.lyx
Description: application/lyx


Re: Configuring converters (more specifically dot2tex)

2010-05-31 Thread Julien Rioux

On 31/05/2010 8:11 AM, Leo Antunes wrote:

[I'm not subscribed, please CC]

Hi,

When configuring converters, what's the priority Lyx will give when
trying to convert an included graphic? If I have more than one
converters set-up for a given input format, with various output formats,
which one will Lyx prefer?
The case in point is trying to create a converter for Dot files, which
automatically parses them through dot2tex. This means Lyx would end-up
including an automatically produced LaTeX snippet. Is that even
possible? Do I need to figure out a way to first export this LaTeX to
some graphic format?



It is possible to include the generated latex code via Insert > File > 
External material, but it is generally a bit more complicated to set up 
compared to just including the file as an graphic (Insert > Graphic). 
Either way, when LyX is set up properly you should be able to include 
your .dot file and LyX will process it before inclusion, and again each 
time the file is updated.



As a follow-up to this question, I've noticed Lyx still manages to
export a document with an included Dot file, even when I remove the
configured Dot converter. Am I right to assume there's some hardcoded
fallback converter at work? I don't believe it to be a configuration
caching issue, since I removed my whole .lyx dir just to be sure, but it
might be a fallback configuration somewhere else, which isn't visible in
the GUI and I couldn't find by grepping.
The same fallback converter seems to be what's used to generate the
image preview inside Lyx itself, since there are visual differences
between the previewed image and the exported one. Is there a way to
configure this?



The preview in LyX uses .png format, while pdf or ps output will prefer 
vector graphics formats (.eps for dvi or ps output, .pdf for pdf 
output), although pdflatex can handle raster images as well. I would be 
surprised if you can see a .dot file (either in LyX or in output) 
without a converter. In that case there might be a file left over in 
your conversion cache folder.



All-in-all I might have totally misunderstood the idea behind the
converters, so please let me know if that's the case.




I don't think you got it wrong. Converters are easy to use for graphic 
inclusion, so I would recommend that. If you really want to include the 
generated latex code, you will have to define a new type of external 
material. It's not impossible at all, but it is less documented feature 
of LyX.



Cheers



All the best,
Julien



How to start numbering pages from second page?

2010-05-31 Thread Xianwen Chen
Dear list,

I have a paper with a title page. I'd like to start numbering pages from the
second page. Can someone give me a hint?

Xianwen


Forced page breaks?

2010-05-31 Thread Rudi Gaelzer
This is sure to be a silly question, but I cannot find the forced page breaks 
entries any longer.
They used to be at Insert -> Formatting -> Page Break/New Page and the User 
Guide (section 3.5.5) still mentions them there, but now none of the remaining 
items at Insert-> Formatting seem to do the deed, not even the Vertical 
Space... 
entry.  Even if I choose the Custom option, the dialog box does not allow me to 
enter neither the \newpage nor the \pagebreak commands.  It seems to me that 
ERT 
is the only way to go...
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Re: Change tracking and the fate of deleted text

2010-05-31 Thread Rudi Gaelzer
Julien, how do I redefine the \lyxadded and \lyxdeleted from inside the LyX 
editor?  Your suggestion seems very useful.

On Monday 31 May 2010 11:19:04 Julien Rioux wrote:
> Hi,
> It can be done in the LaTeX output by redefining the commands \lyxadded 
> and \lyxdeleted to your liking. But you are right it would be much 
> harder to implement inside the LyX editor.


-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Re: How to start numbering pages from second page?

2010-05-31 Thread Liviu Andronic
On Mon, May 31, 2010 at 3:31 PM, Xianwen Chen  wrote:
> I have a paper with a title page. I'd like to start numbering pages from the
> second page. Can someone give me a hint?
>
http://wiki.lyx.org/FAQ/Unsorted#toc4

Liviu


Re: Configuring converters (more specifically dot2tex)

2010-05-31 Thread RGH

On 05/31/2010 08:11 AM, Leo Antunes wrote:

As a follow-up to this question, I've noticed Lyx still manages to
export a document with an included Dot file, even when I remove the
configured Dot converter. Am I right to assume there's some hardcoded
fallback converter at work?


I think this is the only question Julien didn't answer. And, yes, there 
is a fallback converter, the convert command from ImageMagick.


Richard



Re: Change tracking and the fate of deleted text

2010-05-31 Thread RGH

On 05/31/2010 11:46 AM, Rudi Gaelzer wrote:

Julien, how do I redefine the \lyxadded and \lyxdeleted from inside the LyX
editor?  Your suggestion seems very useful.



Document>Settings>LaTeX Preamble. You can do what you like there.

rh



Re: Change tracking and the fate of deleted text

2010-05-31 Thread RGH

On 05/31/2010 10:19 AM, Julien Rioux wrote:

On 31/05/2010 8:40 AM, E. Kaplan wrote:

I realize that this is a BIG request, but it might reflect the wishes of
others.
In MS WORD, when text is deleted (with /change tracking/ turned on), the
deleted text is shown in the margin, and the newly-flowed or inserted
text is shown in the body of the document.  This makes it easier to
detect any missing spaces, judge space compliance etc.
In Lyx, the deleted and inserted text are shown together in both Lyx and
the pdf output.
The WORD method is far superior.  I am not going to return to WORD
because of it, but since the change tracking feature is one of the main
reasons I use Lyx instead of plain Latex, it would be really nice if
something like that could be implemented-- perhaps inserting the new
text and making the deleted text appear as a comment.
Before you tell me how hard it is-- see my first sentence.


Hi,
It can be done in the LaTeX output by redefining the commands
\lyxadded and \lyxdeleted to your liking. But you are right it would
be much harder to implement inside the LyX editor.

I'm not sure how hard this is, actually. But then, I'm not quite sure 
what this would look like in LyX. The margins aren't large enough as the 
display currently is.


Richard



Problems with Author-Year Citations - cant get them working

2010-05-31 Thread Hans J. Prueller
Hi all,

I am struggling for weeks now searching the internet, mailing list
archives, forums etc. for a simple and working way to achieve 
the "Author-Year" citation style that is widespread in Germany and
Austria.

Meanwhile I am stuck with Biblatex - did everything like described on
the Lyx-Wiki but it doesn't work out -- looks ok in LyX directly,
but in the output only the Bibtex-Keys are printed, e.g. (HAN1999)
instead "(Author, Year)" and the Bibliography is missing/empty.


Is ANYBODY out there who successfully produced a text with Author-Year
citations  within Lyx and give me some tips??? 

any help is appreciated!!!

regards,
Hans



Re: Subversion Revision in LyX Document

2010-05-31 Thread Rainer Dorsch
Am Wednesday 26 May 2010 23:20:48 schrieb Julien Rioux:
> On 26/05/2010 1:17 PM, Rainer Dorsch wrote:
> > Hello,
> >
> > we maintain our LyX document in subversion. From time to time, I
> > distribute a pdf. I would like to include the subversion revision number
> > in the document. Is there a easy way to do that?
> >
> > Thanks
> > Rainer
>
> In the preamble:
> \usepackage{svn}
> \SVN $Revision$
>
> In the document, inside a TeX code box:
> \SVNRevision
>
> See also this thread:
> http://www.mail-archive.com/lyx-users@lists.lyx.org/msg78371.html
>
> and:
> http://jtauber.com/blog/2006/03/28/subversion_keywords_in_latex_documents/

Hi Julien,

I thought that works well, but now after understanding keyword substitution in 
subversion in more detail, I found that it does not work very well (or I did 
not fully understand the svn package):

We have a document with multiple child documents. There are few changes in the 
top-level document. SVN replaces the $Revision$ during checkin only, when a 
file is modified. Since the top-level file is modified rarely, I see rarely 
updates on $Revision$.

The svn manual clearly describes that svnversion should be used for this 
purpose

http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html

Is there a way to insert the output of an external command (svnversion) during 
compile time into a LyX document (it would not hurt to let also LyX display 
the result ;-) ?

Thanks,
Rainer

-- 
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
jabber: rdor...@jabber.org
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/


Re: Problems with Author-Year Citations - cant get them working

2010-05-31 Thread Jürgen Spitzmüller
Hans J. Prueller wrote:
> Is ANYBODY out there who successfully produced a text with Author-Year
> citations  within Lyx and give me some tips??? 

Yes, sure. I use this combination all the time.

> any help is appreciated!!!

I guess we need a minimal example file that fails for you to investigate what 
goes wrong.

Jürgen


Re: Forced page breaks?

2010-05-31 Thread Rudi Gaelzer
Thanks, Vincent.  Told you it would be a silly question...
Indeed it is... What happened was that some time ago I modified the 
stdmenus.inc 
file in order to incorporate read-only options: 

Item "Open Read Only...|e" "command-sequence file-open; buffer-toggle-read-only"
Item "Toggle Read Only|T" "buffer-toggle-read-only"

and have been using this file ever since...

Is there a way to include the above options without having to copy the file to 
my personal ~/.lyx/ui directory and edit said file there?
I mean something like an usermenus.inc file that is loaded after the 
system-wide 
stdmenus.inc?

Thanks again

On Monday 31 May 2010 13:11:15 you wrote:
> > This is sure to be a silly question, but I cannot find the forced page
> > breaks entries any longer.
> > They used to be at Insert -> Formatting -> Page Break/New Page.
> 
> And they still are.
> 
> What version of LyX do you use ? Did you recently update your version
> ? Maybe the user or system directories are conflicting now.
> 
> Vincent


-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Re: Problems with Author-Year Citations - cant get them working

2010-05-31 Thread Hans J. Prueller
here you are!

I produced a smaller "testfile" which exactly reproduces the document -
so we can concentrate on the problem:

testlyx_zitierstil.lyx is the minimal lyx document that reproduces the
problem!
the .bib file is the exemplary bibtex database and the PDF is the output
as it is generated at my machine.

this is what I did as corresponding to the wiki:

-- installed "biblatex" package on my machine (via ubuntu synaptic
package manager)
-- installed biblatex.module for lyx (~/.lyx/layouts) -- reconfigure +
restart
-- added the corr. module in the document settings - modules
(biblatex-citation-styles)
-- added the preamble:

\usepackage[natbib=true,style=authoryear]{biblatex}
\bibliography{biblatex_style_guide}


As you can see in the PDF, instead of "(Author, Year)" only the
bibtex-key is printed, and the bibliography is empty -- seems as somehow
the
citations are not recognised correctly but I cant figure out the
problem ?


thanks in advance!

hans



Am Montag, den 31.05.2010, 19:17 +0200 schrieb Jürgen Spitzmüller:

> Hans J. Prueller wrote:
> > Is ANYBODY out there who successfully produced a text with Author-Year
> > citations  within Lyx and give me some tips??? 
> 
> Yes, sure. I use this combination all the time.
> 
> > any help is appreciated!!!
> 
> I guess we need a minimal example file that fails for you to investigate what 
> goes wrong.
> 
> Jürgen


testlyx_zitierstil.lyx
Description: application/lyx

%% Created for Maximilian Wollner at 2008-03-16 19:55:55 +0100 


%% Saved with string encoding Unicode (UTF-8) 



@article{Krajewski2001UnTiefen-elektr,
	Abstract = {Gibt es eine gerechtfertigte bin{\"a}re Unterscheidung „digitale/undigitale Literatur``? Wo lie{\ss}e sich eine Grenze ziehen? Inwiefern sind literarische Projekte, deren Resultate zwar in konventioneller Buchform vorliegen, im Entstehungsproze{\ss} hingegen unabdingbar und explizit auf Digitalisierung setzen, das eine oder das andere? Wie ist etwa Walter Kempowskis „Echolot``-Projekt einzuordnen? Und auf welche Produktionsmodi vertrauen die weitverzweigten, automatisierten Buchstabeneinleseprojekte wie das „Echolot``? Wird sich Handkes Bleistift erfolgreich einer technischen Kehre widersetzen k{\"o}nnen? Diese Fragen nach dem Status von Digitalit{\"a}t innerhalb der Literatur sollen nicht nur theoretisch sondiert, sondern ebenso auf programmtechnische Entsprechungen f{\"u}r literarische Prozesse jenseits des Copy&Paste-Prinzips in einer sog. Textverarbeitung untersucht werden. Anhand einer kleinen Werkschau jener Software, die verspricht, als Autorenhilfsmittel digitale Literatur zu erm{\"o}glichen, sollen die unterschiedlichen Leistungen sowohl von Textproduktions- als auch Archivierungs-Programmen diskutiert werden. Als Vergleichsschablone und Ausgangspunkt dient dabei nicht zuletzt ein eigenes Projekt, der Versuch einer Zettelkasten-Software f{\"u}r vielleicht nicht nur wissenschaftliche Textproduktion.},
	Author = {Krajewski, Markus},
	Date-Added = {2008-03-16 19:46:42 +0100},
	Date-Modified = {2008-03-16 19:49:28 +0100},
	Journal = {KODIKAS/CODE. Ars Semeiotica},
	Keywords = {Wissenschaftliches Arbeiten},
	Number = {3--4},
	Pages = {143--148},
	Shorttitle = {(Un)Tiefen elektronischer Textarchive},
	Title = {(Un)Tiefen elektronischer Textarchive. Zu Status und Produktionsbedingungen digitaler Literatur},
	Volume = {24},
	Year = {2001}}

@incollection{Stitzel1999Zur-Kunst-des-w,
	Address = {Frankfurt am Main},
	Annote = {

},
	Author = {Stitzel, Michael},
	Booktitle = {Lust und Last des wissenschaftlichen Schreibens. Hochschullehrerinnen und Hochschullehrer geben Studierenden Tips},
	Date-Added = {2008-03-16 19:40:05 +0100},
	Date-Modified = {2008-03-16 19:40:05 +0100},
	Edition = {1.},
	Editor = {Narr, Wolf-Dieter und Joachim Stary},
	Keywords = {Wissenschaftliches Arbeiten, Rhetorik},
	Location = {MKR-Bib},
	Pages = {140-147},
	Publisher = {Suhrkamp Verlag},
	Rating = {5},
	Read = {Yes},
	Title = {Zur Kunst des wissenschaftlichen Schreibens - bitte mehr Leben und eine Prise Belletristik!},
	Year = {1999}}

@book{Eco2003Wie-man-eine-wi,
	Abstract = {Diese Anleitung f{\"u}r die Planung, Gliederung und Niederschrift wissenschaftlicher Arbeiten von Umberto Eco, Professor an der Universit{\"a}t Bologna, ist ebenso gr{\"u}ndlich wie virtuos. Nach Ecos eigenen Worten (Einleitung) gibt sein Buch »Auskunft dar{\"u}ber, (1) was man unter einer Abschlu{\ss}arbeit versteht, (2) wie man das Thema sucht und die Zeit f{\"u}r seine Bearbeitung einteilt, (3) wie man bei der Literatursuche vorgeht, (4) wie man das gefundene Material auswertet und (5) wie man die Ausarbeitung {\"a}u{\ss}erlich gestaltet«. Die autorisierte {\"U}bersetzung hat Professor Dr. Walter Schick erarbeitet. Eine »erfrischend unkonventionelle Handreichung« nennt er das Buch; es erlaube einen »Blick in die ›Werkstatt‹ Ecos; denn Beziehungen zu anderen Werken werden nicht nur durch jenen Abb{\'e} Vallet hergestellt, der im vorliegenden Buch wie in ›Der Name der Ro

Re: Subversion Revision in LyX Document

2010-05-31 Thread Julien Rioux

On 31/05/2010 1:03 PM, Rainer Dorsch wrote:

Am Wednesday 26 May 2010 23:20:48 schrieb Julien Rioux:

On 26/05/2010 1:17 PM, Rainer Dorsch wrote:

Hello,

we maintain our LyX document in subversion. From time to time, I
distribute a pdf. I would like to include the subversion revision number
in the document. Is there a easy way to do that?

Thanks
Rainer


In the preamble:
\usepackage{svn}
\SVN $Revision$

In the document, inside a TeX code box:
\SVNRevision

See also this thread:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg78371.html

and:
http://jtauber.com/blog/2006/03/28/subversion_keywords_in_latex_documents/


Hi Julien,

I thought that works well, but now after understanding keyword substitution in
subversion in more detail, I found that it does not work very well (or I did
not fully understand the svn package):

We have a document with multiple child documents. There are few changes in the
top-level document. SVN replaces the $Revision$ during checkin only, when a
file is modified. Since the top-level file is modified rarely, I see rarely
updates on $Revision$.

The svn manual clearly describes that svnversion should be used for this
purpose

http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html

Is there a way to insert the output of an external command (svnversion) during
compile time into a LyX document (it would not hurt to let also LyX display
the result ;-) ?

Thanks,
Rainer



Hi,

There is a way to insert the output of an external command, but I am not 
too familiar with it. For example, there is a "date command" in Tools > 
Preference > File Handling > Converters; it is used to insert today's 
date. The usage is: Insert > External material and then select Date for 
the Template.


With "date command" as your starting point you could try to create a new 
type of external material "svn revision" which would call svnversion, 
although for the purpose you describe, I would instead look into the 
LaTeX package svnmulti. Untested but worth a try.


Cheers,
Julien



Re: Lyx 1.6.6.1 Compilation problems on Fedora 13

2010-05-31 Thread Rex Dieter
José Matos wrote:

> On Sunday 30 May 2010 08:39:59 Alok Shukla wrote:
>> Dear All,
>> 
>>   After configuring lyx-1.6.6.1 properly on my Fedora 13 laptop
>>   when I run the make command, the compilation doesn't
>>   get completed. Instead, it ends with the error message (relevant
>>   portions
>> include):
>> 
>>g++ -O2 -o lyx main.o ISpell.o SpellBase.o BiblioInfo.o Box.o
>> Dimension.o PrinterParams.o Thesaurus.o  ./.libs/liblyxcore.a
>> ./.libs/liblyxmathed.a ./.libs/liblyxinsets.a
>> frontends/.libs/liblyxfrontends.a
>> frontends/qt4/.libs/liblyxqt4.a ./.libs/liblyxgraphics.a
>> support/.libs/liblyxsupport.a ../boost/.libs/liblyxboost.a -lAiksaurus
>> -lz -lQtGui -lQtCore
>> /usr/bin/ld: frontends/qt4/.libs/liblyxqt4.a(GuiWorkArea.o): undefined
>> reference to symbol 'XEventsQueued'
>> /usr/bin/ld: note: 'XEventsQueued' is defined in DSO
>> /usr/lib64/libX11.so.6 so try adding it to the linker command line
>> /usr/lib64/libX11.so.6: could not read symbols: Invalid operation
>> collect2: ld returned 1 exit status
>> make[4]: *** [lyx] Error 1
>> 
>> I will appreciate any help in this matter.
> 
> The short answer is the you need to add -lX11 to the line in
> src/frontends/qt4/Makefile.am
> 
> liblyxqt4_la_LIBADD = $(QT4_LIB)
> 
> goes to
> 
> liblyxqt4_la_LIBADD = $(QT4_LIB) -lX11
> 
> This is not the right (although it is the right idea) but for the moment I
> am busy and I can not add further to this work.
> 
> Tomorrow or so I will pick this again to build 1.6.6.1 o F-13 (for
> updates- testing).
> 
> The right fix would be to make this as
> 
> liblyxqt4_la_LIBADD = $(QT4_LIB) $(X_LIBS)
> 
> but then X_LIBS is not set at this point...

Yep, my finding too, here's the start of the patch I was working on,
http://cvs.fedoraproject.org/viewvc/rpms/lyx/F-13/lyx-1.6.6-
ImplicitDSOLinking_X11.patch

and build with
make X_LIBS='-lX11'

test build so far,
http://koji.fedoraproject.org/koji/buildinfo?buildID=175673

-- Rex

-- Rex





Re: Forced page breaks?

2010-05-31 Thread RGH

On 05/31/2010 01:45 PM, Rudi Gaelzer wrote:

Thanks, Vincent.  Told you it would be a silly question...
Indeed it is... What happened was that some time ago I modified the stdmenus.inc
file in order to incorporate read-only options:

Item "Open Read Only...|e" "command-sequence file-open; buffer-toggle-read-only"
Item "Toggle Read Only|T" "buffer-toggle-read-only"

and have been using this file ever since...

Is there a way to include the above options without having to copy the file to
my personal ~/.lyx/ui directory and edit said file there?
I mean something like an usermenus.inc file that is loaded after the system-wide
stdmenus.inc?

   
That's a really good idea: We look for usermenus.inc and, if we find it, 
load it. Can you file an enhancement request for this on trac?


Richard



Re: Configuring converters (more specifically dot2tex)

2010-05-31 Thread Jean-Marc LASGOUTTES
Leo Antunes  writes:
> When configuring converters, what's the priority Lyx will give when
> trying to convert an included graphic? If I have more than one
> converters set-up for a given input format, with various output formats,
> which one will Lyx prefer?

It chooses the shortest path, I think.

> The case in point is trying to create a converter for Dot files, which
> automatically parses them through dot2tex. This means Lyx would end-up
> including an automatically produced LaTeX snippet. Is that even
> possible? Do I need to figure out a way to first export this LaTeX to
> some graphic format?

As Julien pointed out, this should be done through the external material
feature. 

> As a follow-up to this question, I've noticed Lyx still manages to
> export a document with an included Dot file, even when I remove the
> configured Dot converter. 

The default configured dot converter is a dot>pdf. When there is no
converter, we fallback to ImageMagick's convert utility, which may
handle dot files (I do not know).

Look for the script convertDefault.py.

JMarc



Re: Change tracking and the fate of deleted text

2010-05-31 Thread Abdelrazak Younes

On 31/05/2010 18:07, RGH wrote:

On 05/31/2010 10:19 AM, Julien Rioux wrote:

On 31/05/2010 8:40 AM, E. Kaplan wrote:

I realize that this is a BIG request, but it might reflect the wishes of
others.
In MS WORD, when text is deleted (with /change tracking/ turned on), the
deleted text is shown in the margin, and the newly-flowed or inserted
text is shown in the body of the document. This makes it easier to
detect any missing spaces, judge space compliance etc.
In Lyx, the deleted and inserted text are shown together in both Lyx and
the pdf output.
The WORD method is far superior. I am not going to return to WORD
because of it, but since the change tracking feature is one of the main
reasons I use Lyx instead of plain Latex, it would be really nice if
something like that could be implemented-- perhaps inserting the new
text and making the deleted text appear as a comment.
Before you tell me how hard it is-- see my first sentence.


Hi,
It can be done in the LaTeX output by redefining the commands
\lyxadded and \lyxdeleted to your liking. But you are right it would
be much harder to implement inside the LyX editor.


I'm not sure how hard this is, actually. But then, I'm not quite sure
what this would look like in LyX. The margins aren't large enough as the
display currently is.


No need to, the "List of Changes" in the outline panel does exactly that.

And about hiding optionally the deleted text it's already implemented in 
trunk IIRC, or at least there's a proposed patch.


Abdel.


Re: Save Date vs. Print Date

2010-05-31 Thread Hellmut Weber

On 05/29/10 02:09, Pavel Sanda wrote:

Tim Wescott wrote:

But I vastly prefer to insert my own date, or to list the save date of
the file -- it just makes more sense for tracking changes.


it should not be hard to make inset info for file-date as we have for 
file-name/dir.
feel free to add it to bugzilla if it would solve your request.

pavel


Hi Pavel,
can you indicate please how to put an inset with the file-name and the 
file-dir in a lyx document.


I looked ast all buttons and all menu entries without seeing it:
Did I miss something?

Using lyx-1.6.5 on gentoo linux with KDE-4.4

TIA

Hellmut


--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: Change tracking and the fate of deleted text

2010-05-31 Thread E. Kaplan
"What is the use of having it in an (unfolded) comment ? Then it still 
obfuscates the text."
IMHO the ideal solution is the one WORD uses-- show the text as it would 
be after the changes, but do not discard the deleted text-- they keep it 
in the margins, which might be difficult to implement, so I suggested 
keeping it as comments.
I am aware that you can disable the Show changes in the output, but that 
is not what the user wants-- she wants to see the changed text without 
losing deleted text.


EK




Ehud Kaplan, Ph.D.
Jules and Doris Stein/Research to Prevent Blindness/  Professor
*The laboratory of Visual&  Computational Neuroscience*
Depts. of Neuroscience, Ophthalmology, Chemical&  Structural Biology
The Mount Sinai School of Medicine
One Gustave Levy Place
New York, NY, 10029


On 5/31/2010 11:35 AM, Vincent van Ravesteijn wrote:

What is the use of having it in an (unfolded) comment ? Then it still
obfuscates the text.
   


Re: problems with elsarticle Template and BibTeX

2010-05-31 Thread Waluyo Adi Siswanto
On 12 February 2010 02:23, Daniele_P  wrote:
>
> Dear LyX developers,
>
> I am trying to make a submission to a Elsevier Journal and I am using the
> LyX elsarticle template, which is supposed to match the Elsevier
> requirements.
>
> The template already includes a BibTex bibliography with the required style
> called "elsarticle-harv". This style should allow for citation like "author
> (year)", let's say: "Heckman (2010)".
>
> However, the pdf that is generated by LyX does not show the year but just an
> identifier (according to the previous example: "Heckman [2]").
> The identifiers are then displayed in the reference section along with the
> proper reference (like: "[2] Heckman J. (2010): "Modelling...bla bla",
> Journal of bla bla.").
>

I have a similar problem, and I don't know to use this template (have
been waiting any hints for this).

In elsarticle-harv I am expecting the list of Reference without any number
[no] Heckman J. (2010): "Modelling...bla bla

but
Heckman J. (2010): "Modelling...bla bla

Anyone can have an information for author-year system?

Thanks
Waluyo


Re: Change tracking and the fate of deleted text

2010-05-31 Thread E. Kaplan

I love it!  That's just what I had in mind.



Ehud Kaplan, Ph.D.
Jules and Doris Stein/Research to Prevent Blindness/  Professor
*The laboratory of Visual&  Computational Neuroscience*
Depts. of Neuroscience, Ophthalmology, Chemical&  Structural Biology
The Mount Sinai School of Medicine
One Gustave Levy Place
New York, NY, 10029


On 5/31/2010 10:19 AM, Julien Rioux wrote:

On 31/05/2010 8:40 AM, E. Kaplan wrote:

I realize that this is a BIG request, but it might reflect the wishes of
others.
In MS WORD, when text is deleted (with /change tracking/ turned on), the
deleted text is shown in the margin, and the newly-flowed or inserted
text is shown in the body of the document.  This makes it easier to
detect any missing spaces, judge space compliance etc.
In Lyx, the deleted and inserted text are shown together in both Lyx and
the pdf output.
The WORD method is far superior.  I am not going to return to WORD
because of it, but since the change tracking feature is one of the main
reasons I use Lyx instead of plain Latex, it would be really nice if
something like that could be implemented-- perhaps inserting the new
text and making the deleted text appear as a comment.
Before you tell me how hard it is-- see my first sentence.


Hi,
It can be done in the LaTeX output by redefining the commands 
\lyxadded and \lyxdeleted to your liking. But you are right it would 
be much harder to implement inside the LyX editor.


Cheers,
Julien