Re: Blogging with LyX

2010-03-12 Thread Liviu Andronic
On 3/11/10, Jack Desert jwo...@gmail.com wrote:
 For those of you who are interested in using LyX as a blog editor, I
  have put together a tool called LyxPoster. You

Curious.. Could LyxPoster be added to the converters, so that one
could export to clipboard right from LyX?
Liviu


Re: Blogging with LyX

2010-03-12 Thread Guenter Milde
On 2010-03-12, Liviu Andronic wrote:
 On 3/11/10, Jack Desert jwo...@gmail.com wrote:
 For those of you who are interested in using LyX as a blog editor, I
  have put together a tool called LyxPoster. You

 Curious.. Could LyxPoster be added to the converters, so that one
 could export to clipboard right from LyX?

Should be no problem.

One could even imagine automatic upload instead of pasting to the
clipboard ...

Also, the choice of HTML-converter should be reconsidered: 

* elyxer is much improved and problems are fixed by its developer promply
  after reporting,

* the development version of LyX comes with native HTML export.

Günter  
  
  



Re: Blogging with LyX

2010-03-12 Thread Liviu Andronic
On Fri, Mar 12, 2010 at 9:47 AM, Guenter Milde mi...@users.berlios.de wrote:
 * the development version of LyX comes with native HTML export.

Bit of hijacking.. Do I understand correctly that the native HTML
export should work (comparably) as well as the LaTeX export? Where
other converters would fail?
Liviu


Changing the theme in beamer

2010-03-12 Thread Anthony Campbell
I've been using Prosper for a long time to make slides but am
experimenting with Lyx for the purpose. I've found beameruserguide1.pdf
which gives some advice but is there anything else I should look at?

In particular, I want to find how to change the theme. Should I place
this in the preamble or is there a better way?

Anthony

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



Re: Did I ever mention how much I like LyX?

2010-03-12 Thread Martin Vermeer
On Fri, 12 Mar 2010 14:25:13 +1300
john j...@og.co.nz wrote:

 Steve Litt wrote:
  Hi all,
 
  Did I ever mention how much I like LyX? It's wonderful. I'm writing my new 
  book right now, and LyX is so easy and transparent that I'm pounding out an 
  average of 3,000 words per day. LyX just stays out of your way and let's 
  you 
  whomp out content. It's great.
 
  Thanks to the developers for making this great bookmaking software, and the 
  community for making it better and providing information.

 Amen to that!
 It's my favourite piece of software and has been for more than a decade!
 
 John O'Gorman


Hmm, yesterday I showed LyX to a colleague -- installed it and demoed
it on her Ubuntu laptop, in the space of half an hour, quietly while
both of us were listening to a seminar presentation. Smooth as silk.
She was sold solid, started writing straightaway.

Martin


  SteveT
 
  Steve Litt
  Recession Relief Package
  http://www.recession-relief.US
  Twitter: http://www.twitter.com/stevelitt
 
 
 

 


Re: Did I ever mention how much I like LyX?

2010-03-12 Thread Olivier Ripoll

john wrote:

Steve Litt wrote:

Hi all,

Did I ever mention how much I like LyX? It's wonderful. I'm writing my new 
book right now, and LyX is so easy and transparent that I'm pounding out an 
average of 3,000 words per day. LyX just stays out of your way and let's you 
whomp out content. It's great.


Thanks to the developers for making this great bookmaking software, and the 
community for making it better and providing information.
  

Amen to that!
It's my favourite piece of software and has been for more than a decade!


Totally agree with that. Along with Irfan Viewer. Software that just 
work and don't get in your way.


Olivier




John O'Gorman


SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



  







RE: Python-generated diagram as quot;external materialquot;

2010-03-12 Thread John K

 I added the following to the Lyx external_templates file:

 Template Python
 GuiName Python: $$AbsOrRelPathParent$$Basename
 HelpText
 Python diagram.
 HelpTextEnd
 InputFormat *

 I think you need to define an input format and a .py - .pdf converter which
 runs the python interpreter on your file.

 FileFilter *.py
 AutomaticProduction true
 Preview Graphics
 Format PDFLaTeX
 Product \\includegraphics{$$AbsPath$$Basename.pdf}
 Requirement graphicx
 UpdateCommand python $$AbsPath$$Basename.py

 I haven't seen any description for UpdateCommand anywhere. Where does that
 come from?  It's not in the documentation, or?

 UpdateFormat pdf
 UpdateResult $$AbsPath$$Basename.pdf
 Requirement graphicx
 ReferencedFile pdflatex $$AbsPath$$Basename.pdf
 FormatEnd
 TemplateEnd

 However, when I insert the Python script in Lyx, it draws a box that says
 Error converting to loadable
 format.

 Yes, because LyX doesn't know how to convert a python file to a graphics
 file.
 Try the way I described above: defining the file format and converter under
 the
 menu : Tools Preferences... File Handling.

OK I tried this. I defined a new Python file format with extension .py in Lyx, 
and then created a Python - PDF (pdflatex) converter that runs the command:

python $$i $$o

But when I try exporting the document to PDF I get the following error:

No information for converting python format files to png. Define a converter 
in the preferences.

Why is it trying to convert to PNG?

J 
_
Browse profiles for FREE! Meet local singles online.
http://clk.atdmt.com/NMN/go/150855801/direct/01/

Re: Chapter in biblatex-dw

2010-03-12 Thread Dominik Waßenhoven
jezZiFeR wrote:

  What I want to achieve ist, that  
 every booktitle should be printed in italics, even when it appears  
 several times. At the moment every following entry of a booktitle is  
 printed in roman font, not in italics.

There are different FieldFormats for citations and the bibliography, at
least for some fields (they are defined in biblatex.def). What you would
like to have can be achieved by

\DeclareFieldFormat{citetitle}{\mkbibemph{#1}} 

Regards,
Dominik.-



Exporting file to PDF(XeTeX)

2010-03-12 Thread Jakob Eder

Dear users,
I'm struggling with following problems: Needed Xetex for ancient  
greek using Alkaios font, when exportig the file to pdf(xetex) it's  
only possible to get either italic or the german Umlaut.


 Umlaute aber kein Kursiv:
\...@ifundefined{xetexversion}{}{%
   \usepackage{fontspec}%
   \setromanfont[Mapping=tex-text]{Alkaios}%
   \setsansfont[Mapping=tex-text]{Gill Sans}%
   \setmonofont[Mapping=tex-text]{Courier New}%
   }%
   \usepackage{xunicode}
   \usepackage{xltxtra}


 Who knows something about this?



Re: Changing the theme in beamer

2010-03-12 Thread Paul A. Rubin

Anthony Campbell wrote:

I've been using Prosper for a long time to make slides but am
experimenting with Lyx for the purpose. I've found beameruserguide1.pdf
which gives some advice but is there anything else I should look at?

In particular, I want to find how to change the theme. Should I place
this in the preamble or is there a better way?



I assume you want to use one of the supplied themes (as opposed to 
rolling your own).  Just put \usetheme{Madrid} (or whatever theme you 
want) in the preamble.


/Paul



Re: Changing the theme in beamer

2010-03-12 Thread Anthony Campbell
On 12 Mar 2010, Paul A. Rubin wrote:
 Anthony Campbell wrote:
 I've been using Prosper for a long time to make slides but am
 experimenting with Lyx for the purpose. I've found beameruserguide1.pdf
 which gives some advice but is there anything else I should look at?
 
 In particular, I want to find how to change the theme. Should I place
 this in the preamble or is there a better way?
 
 
 I assume you want to use one of the supplied themes (as opposed to
 rolling your own).  Just put \usetheme{Madrid} (or whatever theme
 you want) in the preamble.
 
 /Paul

Thanks - yes, that's what I did. I just wondered if there was another
way.

Anthony

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



Re: Changing the theme in beamer

2010-03-12 Thread Paul A. Rubin

Anthony Campbell wrote:

On 12 Mar 2010, Paul A. Rubin wrote:

Anthony Campbell wrote:

I've been using Prosper for a long time to make slides but am
experimenting with Lyx for the purpose. I've found beameruserguide1.pdf
which gives some advice but is there anything else I should look at?

In particular, I want to find how to change the theme. Should I place
this in the preamble or is there a better way?


I assume you want to use one of the supplied themes (as opposed to
rolling your own).  Just put \usetheme{Madrid} (or whatever theme
you want) in the preamble.



Thanks - yes, that's what I did. I just wondered if there was another
way.



Not that I know of.  If you're going to do a lot of beamer presentations 
with the same theme, you might want to do one of the following: create a 
base document with the theme command in the preamble and save it as a 
template; or write a little module that loads the preamble commands. 
It's probably not worth the effort if it's just the theme, but you might 
have other tweaks (preamble commands, changes to the bases fonts, ...) 
that you want in the boilerplate.  For instance, I usually include a 
preamble command to tell Acrobat Reader to close the table of contents 
(which otherwise is open by default IIRC) and open the document full screen.


/Paul



Re: making \citep the default natbib citation style?

2010-03-12 Thread Julien Rioux
Justin Wood upas...@... writes:
 However, when LyX initially inserts a citation from a *new* reference not
 previously used, it defaults to the *textual *citation format: natbib's *
 \citet* command. This is not what I need. I can of course change any such
 citation to parenthetical (\citep), or any of the other options, quite
 simply with the GUI, but I would dearly love to be able to specify which
 citation format is the *default*.

For me (LyX 1.6.5 WinXp) LyX remembers the last citation format used and selects
this one.

 PS - for the most part my citations are inserted via lyxpipe using this
 tasty little plugin for Zotero http://www.zotero.org/:
 LyZhttp://www.klubko.net/?page_id=945lang=en

Could it be an issue with this tool, then? Nevertheless, I suppose a default
could be implemented.

--
Julien




Re: Python-generated diagram as external material

2010-03-12 Thread Julien Rioux
John K john...@... writes:
 OK I tried this. I defined a new Python file format with extension .py in Lyx,
and then created a Python - PDF
 (pdflatex) converter that runs the command:
 
 python $$i $$o
 
 But when I try exporting the document to PDF I get the following error:
 
 No information for converting python format files to png. Define a converter
in the preferences.
 
 Why is it trying to convert to PNG?
 
 J   

What you did seems all correct. I don't know what the problem might be, because
as far as I know PDF should be used for output and PNG used only to display the
image within the LyX window. Perhaps someone else has more experience with this.

--
Julien




Re: Chapter in biblatex-dw

2010-03-12 Thread jezZiFeR

What I want to achieve ist, that
every booktitle should be printed in italics, even when it appears
several times. At the moment every following entry of a booktitle is
printed in roman font, not in italics.


There are different FieldFormats for citations and the bibliography,  
at
least for some fields (they are defined in biblatex.def). What you  
would

like to have can be achieved by

\DeclareFieldFormat{citetitle}{\mkbibemph{#1}}

Regards,
Dominik.-



Thank you!
Best*



Language settings

2010-03-12 Thread Morten Juhl-Johansen Zölde-Fejér
Dear all,
I was wondering, as I was transferring my BA paper to LyX from OOo:
I have set the document to use Danish as the default language, but when
I defined a chapter, it put up the headline chapter 1. Is it possible
to insert these strings in Danish, I wonder?
If I don't, I will have to use unnumbered chapters, and LyX seemed
reluctant to add those to the table of contents.

Yours,
Morten

__
Morten Juhl-Johansen Zölde-Fejér
http://writtenandread.net * mor...@writtenandread.net


Re: Language settings

2010-03-12 Thread Manveru
2010/3/12 Morten Juhl-Johansen Zölde-Fejér mor...@writtenandread.net

 Dear all,
 I was wondering, as I was transferring my BA paper to LyX from OOo:
 I have set the document to use Danish as the default language, but when
 I defined a chapter, it put up the headline chapter 1. Is it possible
 to insert these strings in Danish, I wonder?
 If I don't, I will have to use unnumbered chapters, and LyX seemed
 reluctant to add those to the table of contents.

  mor...@writtenandread.net


Do you have your LyX instance working in Danish? Try to produce output of
your document and check what you will see.

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


Re: Language settings

2010-03-12 Thread E Tunc


Dear all,
I have updated my LyX and know my spellchecker is not working? I searched 
and tried at least 10 things but still not working. Looking for en_US 
dictionary, I have Aspell in C. But not working I guess.

Any advice is appreciated..
Regards,
esra


--On 12 March 2010 18:39 +0100 Manveru manv...@manveru.pl wrote:


2010/3/12 Morten Juhl-Johansen Zölde-Fejér mor...@writtenandread.net


Dear all,
I was wondering, as I was transferring my BA paper to LyX from OOo:
I have set the document to use Danish as the default language, but when
I defined a chapter, it put up the headline chapter 1. Is it possible
to insert these strings in Danish, I wonder?
If I don't, I will have to use unnumbered chapters, and LyX seemed
reluctant to add those to the table of contents.

 mor...@writtenandread.net



Do you have your LyX instance working in Danish? Try to produce output of
your document and check what you will see.

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




--
E Tunc
ee...@bristol.ac.uk


Re: Language settings

2010-03-12 Thread Morten Zolde
On Fri, 12 Mar 2010 18:39:14 +0100
Manveru manv...@manveru.pl wrote:

 Do you have your LyX instance working in Danish? Try to produce
 output of your document and check what you will see.

Ah, you are onto it. It outputs it correctly, just displays the word
chapter in LyX - transforms it when outputting.
Thank you for the assistance.

Yours,
Morten
__
Morten Zolde
http://writtenandread.net * mor...@writtenandread.net


Re: Exporting file to PDF(XeTeX)

2010-03-12 Thread Guenter Milde
On 2010-03-12, Jakob Eder wrote:
 --Boundary_(ID_KXNIRxIiFA3K0D/Bfj1kJA)
 Content-type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
 Content-transfer-encoding: 7BIT

 Dear users,
 I'm struggling with following problems: Needed Xetex for ancient  
 greek using Alkaios font, 

Do you absolutely require this font or would one of the Greek fonts
with LaTeX support suffice.

 when exportig the file to pdf(xetex) it's  
 only possible to get either italic or the german Umlaut.

Do you set the language to Greek? Then you must replace the babel
package with polyglossia.

   Umlaute aber kein Kursiv:
 \...@ifundefined{xetexversion}{}{%
 \usepackage{fontspec}%
 \setromanfont[Mapping=tex-text]{Alkaios}%
 \setsansfont[Mapping=tex-text]{Gill Sans}%
 \setmonofont[Mapping=tex-text]{Courier New}%
 }%
 \usepackage{xunicode}
 \usepackage{xltxtra}

and the other option (Kursiv without Umlauts)?

Günter



Repeated crashes in lyx 1.6.5 and 1.6.6SVN

2010-03-12 Thread stefano franchi
I have been  experiencing a lot of crashes in the last couple of weeks.
Unfortunately, I have been unable to identify the exact pattern. They mostly
happen during simple operations like erasing a line, or erasing back from a
standard paragraph into a (sub)section environment. Yesterday I  compiled
the SVN branch, just to see if the situation would improve. It didn't. I got
a crash within five minutes. The sequence of operations was something like:
Open old file, Create a new file, cut and past  title from old file into
new, add author, backspace from author into title, Crash. I appended below
what I found in the console. I have no idea if the sequence of
TocModel.cpp(): type not found: statements is relevant to the crash, but I
do see a lot of them being spitted out to console whenever I am in Lyx
(1.6.5, I mean). I should add that I always keep the TOC sidebar open.

This is what I found in the console:

TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
/usr/include/c++/4.4/debug/vector:272:error: attempt to subscript container
with out-of-bounds index 1, but container only holds 1 elements.

Objects involved in the operation:
sequence this @ 0x0x2c4a648 {
  type =
NSt7__debug6vectorIN11__gnu_debug14_Safe_iteratorINSt6__norm14_List_iteratorIN3lyx9ParagraphEEENS_4listIS6_SaIS6_ESaISB_EEE;
}
Aborted










-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas AM University Fax: (1) 979 845-0458
College Station, Texas, USA


RE: Repeated crashes in lyx 1.6.5 and 1.6.6SVN

2010-03-12 Thread Vincent van Ravesteijn - TNW
 
I have been  experiencing a lot of crashes in the last couple of weeks.

Did you upgrade qt to 4.6 ?

Vincent


Re: Blogging with LyX

2010-03-12 Thread Jack Desert

 Curious.. Could LyxPoster be added to the converters, so that one
 could export to clipboard right from LyX?
 Liviu

Liviu,

I just made a minor change to LyxPoster and successfully ran it as a
converter in LyX. So now I just click file- export- html_clipboard
and it's ready to paste. The LyxPoster source code on my website has
been updated to reflect the change.

-Jack  


-- 
~~~
Jack Desert --Writer, Entrepeneur
Author and Spokesman: www.LetsEATalready.com
Software Developer:   http://GrooveTask.org
Email: jwo...@gmail.com
~~~


Re: Repeated crashes in lyx 1.6.5 and 1.6.6SVN

2010-03-12 Thread stefano franchi
On Fri, Mar 12, 2010 at 2:20 PM, Vincent van Ravesteijn - TNW 
v.f.vanraveste...@tudelft.nl wrote:

I did indeed . 4.6.2, which  came with KDE 4.4.1. Is that the source
 of the problem?

 Yes, it's http://www.lyx.org/trac/ticket/6522.

 There is a problem with updating the outliner. I didn't really follow this
 issue, but LyX crashes. A work-around is to not use the outliner :(.



It looks like that one! Although the original submitter states it can only
happen with the TOC on the left, while I always have mine on the right side.

But  it should have been fixed in branch 2 days ago, if I read the log
correctly. And I downloaded the source yesterday night (3/11).

I guess I'll have to use the workaround, even though my productivity drops
without a working outliner.

S.




-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas AM University Fax: (1) 979 845-0458
College Station, Texas, USA


RE: Repeated crashes in lyx 1.6.5 and 1.6.6SVN

2010-03-12 Thread Vincent van Ravesteijn - TNW
 But  it should have been fixed in branch 2 days ago, if I read 
 the log correctly. And I downloaded the source yesterday 
 night (3/11).  
 
No, it has only been fixed in trunk, not yet in branch. 

With a text editor, you can change the source yourself (but only if it
is trivial to backport the code).

Vincent 


Re: Repeated crashes in lyx 1.6.5 and 1.6.6SVN

2010-03-12 Thread stefano franchi
On Fri, Mar 12, 2010 at 2:54 PM, Vincent van Ravesteijn - TNW 
v.f.vanraveste...@tudelft.nl wrote:

  But  it should have been fixed in branch 2 days ago, if I read
  the log correctly. And I downloaded the source yesterday
  night (3/11).

 No, it has only been fixed in trunk, not yet in branch.



Ok, my misreading. I'll wait for the fix then. I stopped messing around with
code a long time ago.

S.

-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas AM University Fax: (1) 979 845-0458
College Station, Texas, USA


\textcite warning with Biblatex

2010-03-12 Thread Piero
Hello, I'm using Biblatex 0.9 for my bibliography.
When I run pdfLaTeX I always find this kind of warning on my citations:

Package biblatex Warning: '\textcite' not defined by citation style.
(biblatex)Falling back to '\cite' on input line 289

It looks everything works perfectly, although, but I would like to fix this 
anyway
Any idea?
Thanks



Re: LyX 2: So far so good, except outlines

2010-03-12 Thread stephen's mailinglist account
On 26 February 2010 14:09,  obregonma...@gmail.com wrote:
 I also miss having a good outlining mode in LyX. At the moment I use Freemind 
 mindmaps that I then pull into LyX via   LaTeX.

I played around today with various options tried vym (view your mind)
which has some latex export - does not seem to export a complete
document, rather only the guts of it (between \begin{document} and
\end{document}), but allows for some text to come through and not just
an outline.  Didn't try to add any images. I'm sure it ought to be
possible to add to export filters. (I think this is a qt app). After a
little work I imported to LyX.

Tried kdissert (I believe this has now been superceeded by something
which I cannot remember the name of, and which depends on kde4).  More
sofisticated (sp?) output to article, book, beamer, prosper. Bit of
work and it imported ok into LyX (it is set up just to 'make')

I gave Rob Oakes' LyX Outliner a go too
(http://www.oak-tree.us/blog/index.php/science-and-technology/lyx-outline).
 I realise this is much less developed, but the interface is quite
appealing -- reminded me of 'brown paper' exercises we have done at
work.
Brown paper exercise - get a big roll of brown paper.  Stick on wall.
use post its to capture ideas.  Stick to brown paper -annotate paper
and re-arrange post its at leisure to structure ideas.

I am a big fan of mind maps, but sometimes brainstorming can just be
putting things down and then organising the thoughts afterwards and
setting appropriate levels.  I like having a mind map to see structure
and balance.

-- 
Stephen


Re: Blogging with LyX

2010-03-12 Thread Liviu Andronic
On 3/12/10, Jack Desert jwo...@gmail.com wrote:
  I just made a minor change to LyxPoster and successfully ran it as a
  converter in LyX. So now I just click file- export- html_clipboard
  and it's ready to paste. The LyxPoster source code on my website has
  been updated to reflect the change.

Great, thanks! Perhaps send a patch (for the converter) to lyx-devel,
for potential inclusion in 2.0?
Liviu


Re: Blogging with LyX

2010-03-12 Thread Liviu Andronic
On 3/11/10, Jack Desert jwo...@gmail.com wrote:
 For those of you who are interested in using LyX as a blog editor, I
  have put together a tool called LyxPoster. You

Curious.. Could LyxPoster be added to the converters, so that one
could export to clipboard right from LyX?
Liviu


Re: Blogging with LyX

2010-03-12 Thread Guenter Milde
On 2010-03-12, Liviu Andronic wrote:
 On 3/11/10, Jack Desert jwo...@gmail.com wrote:
 For those of you who are interested in using LyX as a blog editor, I
  have put together a tool called LyxPoster. You

 Curious.. Could LyxPoster be added to the converters, so that one
 could export to clipboard right from LyX?

Should be no problem.

One could even imagine automatic upload instead of pasting to the
clipboard ...

Also, the choice of HTML-converter should be reconsidered: 

* elyxer is much improved and problems are fixed by its developer promply
  after reporting,

* the development version of LyX comes with native HTML export.

Günter  
  
  



Re: Blogging with LyX

2010-03-12 Thread Liviu Andronic
On Fri, Mar 12, 2010 at 9:47 AM, Guenter Milde mi...@users.berlios.de wrote:
 * the development version of LyX comes with native HTML export.

Bit of hijacking.. Do I understand correctly that the native HTML
export should work (comparably) as well as the LaTeX export? Where
other converters would fail?
Liviu


Changing the theme in beamer

2010-03-12 Thread Anthony Campbell
I've been using Prosper for a long time to make slides but am
experimenting with Lyx for the purpose. I've found beameruserguide1.pdf
which gives some advice but is there anything else I should look at?

In particular, I want to find how to change the theme. Should I place
this in the preamble or is there a better way?

Anthony

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



Re: Did I ever mention how much I like LyX?

2010-03-12 Thread Martin Vermeer
On Fri, 12 Mar 2010 14:25:13 +1300
john j...@og.co.nz wrote:

 Steve Litt wrote:
  Hi all,
 
  Did I ever mention how much I like LyX? It's wonderful. I'm writing my new 
  book right now, and LyX is so easy and transparent that I'm pounding out an 
  average of 3,000 words per day. LyX just stays out of your way and let's 
  you 
  whomp out content. It's great.
 
  Thanks to the developers for making this great bookmaking software, and the 
  community for making it better and providing information.

 Amen to that!
 It's my favourite piece of software and has been for more than a decade!
 
 John O'Gorman


Hmm, yesterday I showed LyX to a colleague -- installed it and demoed
it on her Ubuntu laptop, in the space of half an hour, quietly while
both of us were listening to a seminar presentation. Smooth as silk.
She was sold solid, started writing straightaway.

Martin


  SteveT
 
  Steve Litt
  Recession Relief Package
  http://www.recession-relief.US
  Twitter: http://www.twitter.com/stevelitt
 
 
 

 


Re: Did I ever mention how much I like LyX?

2010-03-12 Thread Olivier Ripoll

john wrote:

Steve Litt wrote:

Hi all,

Did I ever mention how much I like LyX? It's wonderful. I'm writing my new 
book right now, and LyX is so easy and transparent that I'm pounding out an 
average of 3,000 words per day. LyX just stays out of your way and let's you 
whomp out content. It's great.


Thanks to the developers for making this great bookmaking software, and the 
community for making it better and providing information.
  

Amen to that!
It's my favourite piece of software and has been for more than a decade!


Totally agree with that. Along with Irfan Viewer. Software that just 
work and don't get in your way.


Olivier




John O'Gorman


SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



  







RE: Python-generated diagram as quot;external materialquot;

2010-03-12 Thread John K

 I added the following to the Lyx external_templates file:

 Template Python
 GuiName Python: $$AbsOrRelPathParent$$Basename
 HelpText
 Python diagram.
 HelpTextEnd
 InputFormat *

 I think you need to define an input format and a .py - .pdf converter which
 runs the python interpreter on your file.

 FileFilter *.py
 AutomaticProduction true
 Preview Graphics
 Format PDFLaTeX
 Product \\includegraphics{$$AbsPath$$Basename.pdf}
 Requirement graphicx
 UpdateCommand python $$AbsPath$$Basename.py

 I haven't seen any description for UpdateCommand anywhere. Where does that
 come from?  It's not in the documentation, or?

 UpdateFormat pdf
 UpdateResult $$AbsPath$$Basename.pdf
 Requirement graphicx
 ReferencedFile pdflatex $$AbsPath$$Basename.pdf
 FormatEnd
 TemplateEnd

 However, when I insert the Python script in Lyx, it draws a box that says
 Error converting to loadable
 format.

 Yes, because LyX doesn't know how to convert a python file to a graphics
 file.
 Try the way I described above: defining the file format and converter under
 the
 menu : Tools Preferences... File Handling.

OK I tried this. I defined a new Python file format with extension .py in Lyx, 
and then created a Python - PDF (pdflatex) converter that runs the command:

python $$i $$o

But when I try exporting the document to PDF I get the following error:

No information for converting python format files to png. Define a converter 
in the preferences.

Why is it trying to convert to PNG?

J 
_
Browse profiles for FREE! Meet local singles online.
http://clk.atdmt.com/NMN/go/150855801/direct/01/

Re: Chapter in biblatex-dw

2010-03-12 Thread Dominik Waßenhoven
jezZiFeR wrote:

  What I want to achieve ist, that  
 every booktitle should be printed in italics, even when it appears  
 several times. At the moment every following entry of a booktitle is  
 printed in roman font, not in italics.

There are different FieldFormats for citations and the bibliography, at
least for some fields (they are defined in biblatex.def). What you would
like to have can be achieved by

\DeclareFieldFormat{citetitle}{\mkbibemph{#1}} 

Regards,
Dominik.-



Exporting file to PDF(XeTeX)

2010-03-12 Thread Jakob Eder

Dear users,
I'm struggling with following problems: Needed Xetex for ancient  
greek using Alkaios font, when exportig the file to pdf(xetex) it's  
only possible to get either italic or the german Umlaut.


 Umlaute aber kein Kursiv:
\...@ifundefined{xetexversion}{}{%
   \usepackage{fontspec}%
   \setromanfont[Mapping=tex-text]{Alkaios}%
   \setsansfont[Mapping=tex-text]{Gill Sans}%
   \setmonofont[Mapping=tex-text]{Courier New}%
   }%
   \usepackage{xunicode}
   \usepackage{xltxtra}


 Who knows something about this?



Re: Changing the theme in beamer

2010-03-12 Thread Paul A. Rubin

Anthony Campbell wrote:

I've been using Prosper for a long time to make slides but am
experimenting with Lyx for the purpose. I've found beameruserguide1.pdf
which gives some advice but is there anything else I should look at?

In particular, I want to find how to change the theme. Should I place
this in the preamble or is there a better way?



I assume you want to use one of the supplied themes (as opposed to 
rolling your own).  Just put \usetheme{Madrid} (or whatever theme you 
want) in the preamble.


/Paul



Re: Changing the theme in beamer

2010-03-12 Thread Anthony Campbell
On 12 Mar 2010, Paul A. Rubin wrote:
 Anthony Campbell wrote:
 I've been using Prosper for a long time to make slides but am
 experimenting with Lyx for the purpose. I've found beameruserguide1.pdf
 which gives some advice but is there anything else I should look at?
 
 In particular, I want to find how to change the theme. Should I place
 this in the preamble or is there a better way?
 
 
 I assume you want to use one of the supplied themes (as opposed to
 rolling your own).  Just put \usetheme{Madrid} (or whatever theme
 you want) in the preamble.
 
 /Paul

Thanks - yes, that's what I did. I just wondered if there was another
way.

Anthony

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



Re: Changing the theme in beamer

2010-03-12 Thread Paul A. Rubin

Anthony Campbell wrote:

On 12 Mar 2010, Paul A. Rubin wrote:

Anthony Campbell wrote:

I've been using Prosper for a long time to make slides but am
experimenting with Lyx for the purpose. I've found beameruserguide1.pdf
which gives some advice but is there anything else I should look at?

In particular, I want to find how to change the theme. Should I place
this in the preamble or is there a better way?


I assume you want to use one of the supplied themes (as opposed to
rolling your own).  Just put \usetheme{Madrid} (or whatever theme
you want) in the preamble.



Thanks - yes, that's what I did. I just wondered if there was another
way.



Not that I know of.  If you're going to do a lot of beamer presentations 
with the same theme, you might want to do one of the following: create a 
base document with the theme command in the preamble and save it as a 
template; or write a little module that loads the preamble commands. 
It's probably not worth the effort if it's just the theme, but you might 
have other tweaks (preamble commands, changes to the bases fonts, ...) 
that you want in the boilerplate.  For instance, I usually include a 
preamble command to tell Acrobat Reader to close the table of contents 
(which otherwise is open by default IIRC) and open the document full screen.


/Paul



Re: making \citep the default natbib citation style?

2010-03-12 Thread Julien Rioux
Justin Wood upas...@... writes:
 However, when LyX initially inserts a citation from a *new* reference not
 previously used, it defaults to the *textual *citation format: natbib's *
 \citet* command. This is not what I need. I can of course change any such
 citation to parenthetical (\citep), or any of the other options, quite
 simply with the GUI, but I would dearly love to be able to specify which
 citation format is the *default*.

For me (LyX 1.6.5 WinXp) LyX remembers the last citation format used and selects
this one.

 PS - for the most part my citations are inserted via lyxpipe using this
 tasty little plugin for Zotero http://www.zotero.org/:
 LyZhttp://www.klubko.net/?page_id=945lang=en

Could it be an issue with this tool, then? Nevertheless, I suppose a default
could be implemented.

--
Julien




Re: Python-generated diagram as external material

2010-03-12 Thread Julien Rioux
John K john...@... writes:
 OK I tried this. I defined a new Python file format with extension .py in Lyx,
and then created a Python - PDF
 (pdflatex) converter that runs the command:
 
 python $$i $$o
 
 But when I try exporting the document to PDF I get the following error:
 
 No information for converting python format files to png. Define a converter
in the preferences.
 
 Why is it trying to convert to PNG?
 
 J   

What you did seems all correct. I don't know what the problem might be, because
as far as I know PDF should be used for output and PNG used only to display the
image within the LyX window. Perhaps someone else has more experience with this.

--
Julien




Re: Chapter in biblatex-dw

2010-03-12 Thread jezZiFeR

What I want to achieve ist, that
every booktitle should be printed in italics, even when it appears
several times. At the moment every following entry of a booktitle is
printed in roman font, not in italics.


There are different FieldFormats for citations and the bibliography,  
at
least for some fields (they are defined in biblatex.def). What you  
would

like to have can be achieved by

\DeclareFieldFormat{citetitle}{\mkbibemph{#1}}

Regards,
Dominik.-



Thank you!
Best*



Language settings

2010-03-12 Thread Morten Juhl-Johansen Zölde-Fejér
Dear all,
I was wondering, as I was transferring my BA paper to LyX from OOo:
I have set the document to use Danish as the default language, but when
I defined a chapter, it put up the headline chapter 1. Is it possible
to insert these strings in Danish, I wonder?
If I don't, I will have to use unnumbered chapters, and LyX seemed
reluctant to add those to the table of contents.

Yours,
Morten

__
Morten Juhl-Johansen Zölde-Fejér
http://writtenandread.net * mor...@writtenandread.net


Re: Language settings

2010-03-12 Thread Manveru
2010/3/12 Morten Juhl-Johansen Zölde-Fejér mor...@writtenandread.net

 Dear all,
 I was wondering, as I was transferring my BA paper to LyX from OOo:
 I have set the document to use Danish as the default language, but when
 I defined a chapter, it put up the headline chapter 1. Is it possible
 to insert these strings in Danish, I wonder?
 If I don't, I will have to use unnumbered chapters, and LyX seemed
 reluctant to add those to the table of contents.

  mor...@writtenandread.net


Do you have your LyX instance working in Danish? Try to produce output of
your document and check what you will see.

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


Re: Language settings

2010-03-12 Thread E Tunc


Dear all,
I have updated my LyX and know my spellchecker is not working? I searched 
and tried at least 10 things but still not working. Looking for en_US 
dictionary, I have Aspell in C. But not working I guess.

Any advice is appreciated..
Regards,
esra


--On 12 March 2010 18:39 +0100 Manveru manv...@manveru.pl wrote:


2010/3/12 Morten Juhl-Johansen Zölde-Fejér mor...@writtenandread.net


Dear all,
I was wondering, as I was transferring my BA paper to LyX from OOo:
I have set the document to use Danish as the default language, but when
I defined a chapter, it put up the headline chapter 1. Is it possible
to insert these strings in Danish, I wonder?
If I don't, I will have to use unnumbered chapters, and LyX seemed
reluctant to add those to the table of contents.

 mor...@writtenandread.net



Do you have your LyX instance working in Danish? Try to produce output of
your document and check what you will see.

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




--
E Tunc
ee...@bristol.ac.uk


Re: Language settings

2010-03-12 Thread Morten Zolde
On Fri, 12 Mar 2010 18:39:14 +0100
Manveru manv...@manveru.pl wrote:

 Do you have your LyX instance working in Danish? Try to produce
 output of your document and check what you will see.

Ah, you are onto it. It outputs it correctly, just displays the word
chapter in LyX - transforms it when outputting.
Thank you for the assistance.

Yours,
Morten
__
Morten Zolde
http://writtenandread.net * mor...@writtenandread.net


Re: Exporting file to PDF(XeTeX)

2010-03-12 Thread Guenter Milde
On 2010-03-12, Jakob Eder wrote:
 --Boundary_(ID_KXNIRxIiFA3K0D/Bfj1kJA)
 Content-type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
 Content-transfer-encoding: 7BIT

 Dear users,
 I'm struggling with following problems: Needed Xetex for ancient  
 greek using Alkaios font, 

Do you absolutely require this font or would one of the Greek fonts
with LaTeX support suffice.

 when exportig the file to pdf(xetex) it's  
 only possible to get either italic or the german Umlaut.

Do you set the language to Greek? Then you must replace the babel
package with polyglossia.

   Umlaute aber kein Kursiv:
 \...@ifundefined{xetexversion}{}{%
 \usepackage{fontspec}%
 \setromanfont[Mapping=tex-text]{Alkaios}%
 \setsansfont[Mapping=tex-text]{Gill Sans}%
 \setmonofont[Mapping=tex-text]{Courier New}%
 }%
 \usepackage{xunicode}
 \usepackage{xltxtra}

and the other option (Kursiv without Umlauts)?

Günter



Repeated crashes in lyx 1.6.5 and 1.6.6SVN

2010-03-12 Thread stefano franchi
I have been  experiencing a lot of crashes in the last couple of weeks.
Unfortunately, I have been unable to identify the exact pattern. They mostly
happen during simple operations like erasing a line, or erasing back from a
standard paragraph into a (sub)section environment. Yesterday I  compiled
the SVN branch, just to see if the situation would improve. It didn't. I got
a crash within five minutes. The sequence of operations was something like:
Open old file, Create a new file, cut and past  title from old file into
new, add author, backspace from author into title, Crash. I appended below
what I found in the console. I have no idea if the sequence of
TocModel.cpp(): type not found: statements is relevant to the crash, but I
do see a lot of them being spitted out to console whenever I am in Lyx
(1.6.5, I mean). I should add that I always keep the TOC sidebar open.

This is what I found in the console:

TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
/usr/include/c++/4.4/debug/vector:272:error: attempt to subscript container
with out-of-bounds index 1, but container only holds 1 elements.

Objects involved in the operation:
sequence this @ 0x0x2c4a648 {
  type =
NSt7__debug6vectorIN11__gnu_debug14_Safe_iteratorINSt6__norm14_List_iteratorIN3lyx9ParagraphEEENS_4listIS6_SaIS6_ESaISB_EEE;
}
Aborted










-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas AM University Fax: (1) 979 845-0458
College Station, Texas, USA


RE: Repeated crashes in lyx 1.6.5 and 1.6.6SVN

2010-03-12 Thread Vincent van Ravesteijn - TNW
 
I have been  experiencing a lot of crashes in the last couple of weeks.

Did you upgrade qt to 4.6 ?

Vincent


Re: Blogging with LyX

2010-03-12 Thread Jack Desert

 Curious.. Could LyxPoster be added to the converters, so that one
 could export to clipboard right from LyX?
 Liviu

Liviu,

I just made a minor change to LyxPoster and successfully ran it as a
converter in LyX. So now I just click file- export- html_clipboard
and it's ready to paste. The LyxPoster source code on my website has
been updated to reflect the change.

-Jack  


-- 
~~~
Jack Desert --Writer, Entrepeneur
Author and Spokesman: www.LetsEATalready.com
Software Developer:   http://GrooveTask.org
Email: jwo...@gmail.com
~~~


Re: Repeated crashes in lyx 1.6.5 and 1.6.6SVN

2010-03-12 Thread stefano franchi
On Fri, Mar 12, 2010 at 2:20 PM, Vincent van Ravesteijn - TNW 
v.f.vanraveste...@tudelft.nl wrote:

I did indeed . 4.6.2, which  came with KDE 4.4.1. Is that the source
 of the problem?

 Yes, it's http://www.lyx.org/trac/ticket/6522.

 There is a problem with updating the outliner. I didn't really follow this
 issue, but LyX crashes. A work-around is to not use the outliner :(.



It looks like that one! Although the original submitter states it can only
happen with the TOC on the left, while I always have mine on the right side.

But  it should have been fixed in branch 2 days ago, if I read the log
correctly. And I downloaded the source yesterday night (3/11).

I guess I'll have to use the workaround, even though my productivity drops
without a working outliner.

S.




-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas AM University Fax: (1) 979 845-0458
College Station, Texas, USA


RE: Repeated crashes in lyx 1.6.5 and 1.6.6SVN

2010-03-12 Thread Vincent van Ravesteijn - TNW
 But  it should have been fixed in branch 2 days ago, if I read 
 the log correctly. And I downloaded the source yesterday 
 night (3/11).  
 
No, it has only been fixed in trunk, not yet in branch. 

With a text editor, you can change the source yourself (but only if it
is trivial to backport the code).

Vincent 


Re: Repeated crashes in lyx 1.6.5 and 1.6.6SVN

2010-03-12 Thread stefano franchi
On Fri, Mar 12, 2010 at 2:54 PM, Vincent van Ravesteijn - TNW 
v.f.vanraveste...@tudelft.nl wrote:

  But  it should have been fixed in branch 2 days ago, if I read
  the log correctly. And I downloaded the source yesterday
  night (3/11).

 No, it has only been fixed in trunk, not yet in branch.



Ok, my misreading. I'll wait for the fix then. I stopped messing around with
code a long time ago.

S.

-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas AM University Fax: (1) 979 845-0458
College Station, Texas, USA


\textcite warning with Biblatex

2010-03-12 Thread Piero
Hello, I'm using Biblatex 0.9 for my bibliography.
When I run pdfLaTeX I always find this kind of warning on my citations:

Package biblatex Warning: '\textcite' not defined by citation style.
(biblatex)Falling back to '\cite' on input line 289

It looks everything works perfectly, although, but I would like to fix this 
anyway
Any idea?
Thanks



Re: LyX 2: So far so good, except outlines

2010-03-12 Thread stephen's mailinglist account
On 26 February 2010 14:09,  obregonma...@gmail.com wrote:
 I also miss having a good outlining mode in LyX. At the moment I use Freemind 
 mindmaps that I then pull into LyX via   LaTeX.

I played around today with various options tried vym (view your mind)
which has some latex export - does not seem to export a complete
document, rather only the guts of it (between \begin{document} and
\end{document}), but allows for some text to come through and not just
an outline.  Didn't try to add any images. I'm sure it ought to be
possible to add to export filters. (I think this is a qt app). After a
little work I imported to LyX.

Tried kdissert (I believe this has now been superceeded by something
which I cannot remember the name of, and which depends on kde4).  More
sofisticated (sp?) output to article, book, beamer, prosper. Bit of
work and it imported ok into LyX (it is set up just to 'make')

I gave Rob Oakes' LyX Outliner a go too
(http://www.oak-tree.us/blog/index.php/science-and-technology/lyx-outline).
 I realise this is much less developed, but the interface is quite
appealing -- reminded me of 'brown paper' exercises we have done at
work.
Brown paper exercise - get a big roll of brown paper.  Stick on wall.
use post its to capture ideas.  Stick to brown paper -annotate paper
and re-arrange post its at leisure to structure ideas.

I am a big fan of mind maps, but sometimes brainstorming can just be
putting things down and then organising the thoughts afterwards and
setting appropriate levels.  I like having a mind map to see structure
and balance.

-- 
Stephen


Re: Blogging with LyX

2010-03-12 Thread Liviu Andronic
On 3/12/10, Jack Desert jwo...@gmail.com wrote:
  I just made a minor change to LyxPoster and successfully ran it as a
  converter in LyX. So now I just click file- export- html_clipboard
  and it's ready to paste. The LyxPoster source code on my website has
  been updated to reflect the change.

Great, thanks! Perhaps send a patch (for the converter) to lyx-devel,
for potential inclusion in 2.0?
Liviu


Re: Blogging with LyX

2010-03-12 Thread Liviu Andronic
On 3/11/10, Jack Desert  wrote:
> For those of you who are interested in using LyX as a blog editor, I
>  have put together a tool called LyxPoster. You
>
Curious.. Could LyxPoster be added to the converters, so that one
could export to clipboard right from LyX?
Liviu


Re: Blogging with LyX

2010-03-12 Thread Guenter Milde
On 2010-03-12, Liviu Andronic wrote:
> On 3/11/10, Jack Desert  wrote:
>> For those of you who are interested in using LyX as a blog editor, I
>>  have put together a tool called LyxPoster. You

> Curious.. Could LyxPoster be added to the converters, so that one
> could export to clipboard right from LyX?

Should be no problem.

One could even imagine automatic upload instead of pasting to the
clipboard ...

Also, the choice of HTML-converter should be reconsidered: 

* elyxer is much improved and problems are fixed by its developer promply
  after reporting,

* the development version of LyX comes with native HTML export.

Günter  
  
  



Re: Blogging with LyX

2010-03-12 Thread Liviu Andronic
On Fri, Mar 12, 2010 at 9:47 AM, Guenter Milde  wrote:
> * the development version of LyX comes with native HTML export.
>
Bit of hijacking.. Do I understand correctly that the native HTML
export should work (comparably) as well as the LaTeX export? Where
other converters would fail?
Liviu


Changing the theme in beamer

2010-03-12 Thread Anthony Campbell
I've been using Prosper for a long time to make slides but am
experimenting with Lyx for the purpose. I've found beameruserguide1.pdf
which gives some advice but is there anything else I should look at?

In particular, I want to find how to change the theme. Should I place
this in the preamble or is there a better way?

Anthony

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



Re: Did I ever mention how much I like LyX?

2010-03-12 Thread Martin Vermeer
On Fri, 12 Mar 2010 14:25:13 +1300
john  wrote:

> Steve Litt wrote:
> > Hi all,
> >
> > Did I ever mention how much I like LyX? It's wonderful. I'm writing my new 
> > book right now, and LyX is so easy and transparent that I'm pounding out an 
> > average of 3,000 words per day. LyX just stays out of your way and let's 
> > you 
> > whomp out content. It's great.
> >
> > Thanks to the developers for making this great bookmaking software, and the 
> > community for making it better and providing information.
> >   
> Amen to that!
> It's my favourite piece of software and has been for more than a decade!
> 
> John O'Gorman


Hmm, yesterday I showed LyX to a colleague -- installed it and demoed
it on her Ubuntu laptop, in the space of half an hour, quietly while
both of us were listening to a seminar presentation. Smooth as silk.
She was sold solid, started writing straightaway.

Martin


> > SteveT
> >
> > Steve Litt
> > Recession Relief Package
> > http://www.recession-relief.US
> > Twitter: http://www.twitter.com/stevelitt
> >
> >
> >
> >   
> 


Re: Did I ever mention how much I like LyX?

2010-03-12 Thread Olivier Ripoll

john wrote:

Steve Litt wrote:

Hi all,

Did I ever mention how much I like LyX? It's wonderful. I'm writing my new 
book right now, and LyX is so easy and transparent that I'm pounding out an 
average of 3,000 words per day. LyX just stays out of your way and let's you 
whomp out content. It's great.


Thanks to the developers for making this great bookmaking software, and the 
community for making it better and providing information.
  

Amen to that!
It's my favourite piece of software and has been for more than a decade!


Totally agree with that. Along with Irfan Viewer. Software that just 
work and don't get in your way.


Olivier




John O'Gorman


SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



  







RE: Python-generated diagram as external material

2010-03-12 Thread John K

>> I added the following to the Lyx external_templates file:
>>
>> Template Python
>> GuiName "Python: $$AbsOrRelPathParent$$Basename"
>> HelpText
>> Python diagram.
>> HelpTextEnd
>> InputFormat "*"
>
> I think you need to define an input format and a .py -> .pdf converter which
> runs the python interpreter on your file.
>
>> FileFilter "*.py"
>> AutomaticProduction true
>> Preview Graphics
>> Format PDFLaTeX
>> Product "\\includegraphics{$$AbsPath$$Basename.pdf}"
>> Requirement "graphicx"
>> UpdateCommand "python $$AbsPath$$Basename.py"
>
> I haven't seen any description for "UpdateCommand" anywhere. Where does that
> come from?  It's not in the documentation, or?
>
>> UpdateFormat pdf
>> UpdateResult "$$AbsPath$$Basename.pdf"
>> Requirement "graphicx"
>> ReferencedFile pdflatex "$$AbsPath$$Basename.pdf"
>> FormatEnd
>> TemplateEnd
>>
>> However, when I insert the Python script in Lyx, it draws a box that says
> "Error converting to loadable
>> format".
>
> Yes, because LyX doesn't know how to convert a python file to a graphics
> file.
> Try the way I described above: defining the file format and converter under
> the
> menu : Tools> Preferences...> File Handling.

OK I tried this. I defined a new Python file format with extension .py in Lyx, 
and then created a Python -> PDF (pdflatex) converter that runs the command:

python $$i $$o

But when I try exporting the document to PDF I get the following error:

"No information for converting python format files to png. Define a converter 
in the preferences."

Why is it trying to convert to PNG?

J 
_
Browse profiles for FREE! Meet local singles online.
http://clk.atdmt.com/NMN/go/150855801/direct/01/

Re: Chapter in biblatex-dw

2010-03-12 Thread Dominik Waßenhoven
jezZiFeR wrote:

>  What I want to achieve ist, that  
> every booktitle should be printed in italics, even when it appears  
> several times. At the moment every following entry of a booktitle is  
> printed in roman font, not in italics.

There are different FieldFormats for citations and the bibliography, at
least for some fields (they are defined in biblatex.def). What you would
like to have can be achieved by

\DeclareFieldFormat{citetitle}{\mkbibemph{#1}} 

Regards,
Dominik.-



Exporting file to PDF(XeTeX)

2010-03-12 Thread Jakob Eder

Dear users,
I'm struggling with following problems: Needed Xetex for ancient  
greek using Alkaios font, when exportig the file to pdf(xetex) it's  
only possible to get either italic or the german Umlaut.


 Umlaute aber kein Kursiv:
\...@ifundefined{xetexversion}{}{%
   \usepackage{fontspec}%
   \setromanfont[Mapping=tex-text]{Alkaios}%
   \setsansfont[Mapping=tex-text]{Gill Sans}%
   \setmonofont[Mapping=tex-text]{Courier New}%
   }%
   \usepackage{xunicode}
   \usepackage{xltxtra}


 Who knows something about this?



Re: Changing the theme in beamer

2010-03-12 Thread Paul A. Rubin

Anthony Campbell wrote:

I've been using Prosper for a long time to make slides but am
experimenting with Lyx for the purpose. I've found beameruserguide1.pdf
which gives some advice but is there anything else I should look at?

In particular, I want to find how to change the theme. Should I place
this in the preamble or is there a better way?



I assume you want to use one of the supplied themes (as opposed to 
rolling your own).  Just put \usetheme{Madrid} (or whatever theme you 
want) in the preamble.


/Paul



Re: Changing the theme in beamer

2010-03-12 Thread Anthony Campbell
On 12 Mar 2010, Paul A. Rubin wrote:
> Anthony Campbell wrote:
> >I've been using Prosper for a long time to make slides but am
> >experimenting with Lyx for the purpose. I've found beameruserguide1.pdf
> >which gives some advice but is there anything else I should look at?
> >
> >In particular, I want to find how to change the theme. Should I place
> >this in the preamble or is there a better way?
> >
> 
> I assume you want to use one of the supplied themes (as opposed to
> rolling your own).  Just put \usetheme{Madrid} (or whatever theme
> you want) in the preamble.
> 
> /Paul

Thanks - yes, that's what I did. I just wondered if there was another
way.

Anthony

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



Re: Changing the theme in beamer

2010-03-12 Thread Paul A. Rubin

Anthony Campbell wrote:

On 12 Mar 2010, Paul A. Rubin wrote:

Anthony Campbell wrote:

I've been using Prosper for a long time to make slides but am
experimenting with Lyx for the purpose. I've found beameruserguide1.pdf
which gives some advice but is there anything else I should look at?

In particular, I want to find how to change the theme. Should I place
this in the preamble or is there a better way?


I assume you want to use one of the supplied themes (as opposed to
rolling your own).  Just put \usetheme{Madrid} (or whatever theme
you want) in the preamble.



Thanks - yes, that's what I did. I just wondered if there was another
way.



Not that I know of.  If you're going to do a lot of beamer presentations 
with the same theme, you might want to do one of the following: create a 
base document with the theme command in the preamble and save it as a 
template; or write a little module that loads the preamble commands. 
It's probably not worth the effort if it's just the theme, but you might 
have other tweaks (preamble commands, changes to the bases fonts, ...) 
that you want in the boilerplate.  For instance, I usually include a 
preamble command to tell Acrobat Reader to close the table of contents 
(which otherwise is open by default IIRC) and open the document full screen.


/Paul



Re: making \citep the default natbib citation style?

2010-03-12 Thread Julien Rioux
Justin Wood  writes:
> However, when LyX initially inserts a citation from a *new* reference not
> previously used, it defaults to the *textual *citation format: natbib's *
> \citet* command. This is not what I need. I can of course change any such
> citation to parenthetical (\citep), or any of the other options, quite
> simply with the GUI, but I would dearly love to be able to specify which
> citation format is the *default*.

For me (LyX 1.6.5 WinXp) LyX remembers the last citation format used and selects
this one.

> PS - for the most part my citations are inserted via lyxpipe using this
> tasty little plugin for Zotero :
> LyZ

Could it be an issue with this tool, then? Nevertheless, I suppose a default
could be implemented.

--
Julien




Re: Python-generated diagram as "external material"

2010-03-12 Thread Julien Rioux
John K  writes:
> OK I tried this. I defined a new Python file format with extension .py in Lyx,
and then created a Python -> PDF
> (pdflatex) converter that runs the command:
> 
> python $$i $$o
> 
> But when I try exporting the document to PDF I get the following error:
> 
> "No information for converting python format files to png. Define a converter
in the preferences."
> 
> Why is it trying to convert to PNG?
> 
> J   

What you did seems all correct. I don't know what the problem might be, because
as far as I know PDF should be used for output and PNG used only to display the
image within the LyX window. Perhaps someone else has more experience with this.

--
Julien




Re: Chapter in biblatex-dw

2010-03-12 Thread jezZiFeR

What I want to achieve ist, that
every booktitle should be printed in italics, even when it appears
several times. At the moment every following entry of a booktitle is
printed in roman font, not in italics.


There are different FieldFormats for citations and the bibliography,  
at
least for some fields (they are defined in biblatex.def). What you  
would

like to have can be achieved by

\DeclareFieldFormat{citetitle}{\mkbibemph{#1}}

Regards,
Dominik.-



Thank you!
Best*



Language settings

2010-03-12 Thread Morten Juhl-Johansen Zölde-Fejér
Dear all,
I was wondering, as I was transferring my BA paper to LyX from OOo:
I have set the document to use Danish as the default language, but when
I defined a chapter, it put up the headline "chapter 1". Is it possible
to insert these strings in Danish, I wonder?
If I don't, I will have to use unnumbered chapters, and LyX seemed
reluctant to add those to the table of contents.

Yours,
Morten

__
Morten Juhl-Johansen Zölde-Fejér
http://writtenandread.net * mor...@writtenandread.net


Re: Language settings

2010-03-12 Thread Manveru
2010/3/12 Morten Juhl-Johansen Zölde-Fejér 

> Dear all,
> I was wondering, as I was transferring my BA paper to LyX from OOo:
> I have set the document to use Danish as the default language, but when
> I defined a chapter, it put up the headline "chapter 1". Is it possible
> to insert these strings in Danish, I wonder?
> If I don't, I will have to use unnumbered chapters, and LyX seemed
> reluctant to add those to the table of contents.
>
>  
>

Do you have your LyX instance working in Danish? Try to produce output of
your document and check what you will see.

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


Re: Language settings

2010-03-12 Thread E Tunc


Dear all,
I have updated my LyX and know my spellchecker is not working? I searched 
and tried at least 10 things but still not working. Looking for en_US 
dictionary, I have Aspell in C. But not working I guess.

Any advice is appreciated..
Regards,
esra


--On 12 March 2010 18:39 +0100 Manveru  wrote:


2010/3/12 Morten Juhl-Johansen Zölde-Fejér 


Dear all,
I was wondering, as I was transferring my BA paper to LyX from OOo:
I have set the document to use Danish as the default language, but when
I defined a chapter, it put up the headline "chapter 1". Is it possible
to insert these strings in Danish, I wonder?
If I don't, I will have to use unnumbered chapters, and LyX seemed
reluctant to add those to the table of contents.

 



Do you have your LyX instance working in Danish? Try to produce output of
your document and check what you will see.

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




--
E Tunc
ee...@bristol.ac.uk


Re: Language settings

2010-03-12 Thread Morten Zolde
On Fri, 12 Mar 2010 18:39:14 +0100
Manveru  wrote:

> Do you have your LyX instance working in Danish? Try to produce
> output of your document and check what you will see.

Ah, you are onto it. It outputs it correctly, just displays the word
"chapter" in LyX - transforms it when outputting.
Thank you for the assistance.

Yours,
Morten
__
Morten Zolde
http://writtenandread.net * mor...@writtenandread.net


Re: Exporting file to PDF(XeTeX)

2010-03-12 Thread Guenter Milde
On 2010-03-12, Jakob Eder wrote:
> --Boundary_(ID_KXNIRxIiFA3K0D/Bfj1kJA)
> Content-type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
> Content-transfer-encoding: 7BIT

> Dear users,
> I'm struggling with following problems: Needed Xetex for ancient  
> greek using Alkaios font, 

Do you absolutely require this font or would one of the Greek fonts
with LaTeX support suffice.

> when exportig the file to pdf(xetex) it's  
> only possible to get either italic or the german Umlaut.

Do you set the language to Greek? Then you must replace the "babel"
package with "polyglossia".

>   Umlaute aber kein Kursiv:
> \...@ifundefined{xetexversion}{}{%
> \usepackage{fontspec}%
> \setromanfont[Mapping=tex-text]{Alkaios}%
> \setsansfont[Mapping=tex-text]{Gill Sans}%
> \setmonofont[Mapping=tex-text]{Courier New}%
> }%
> \usepackage{xunicode}
> \usepackage{xltxtra}

and the other option (Kursiv without Umlauts)?

Günter



Repeated crashes in lyx 1.6.5 and 1.6.6SVN

2010-03-12 Thread stefano franchi
I have been  experiencing a lot of crashes in the last couple of weeks.
Unfortunately, I have been unable to identify the exact pattern. They mostly
happen during simple operations like erasing a line, or erasing back from a
standard paragraph into a (sub)section environment. Yesterday I  compiled
the SVN branch, just to see if the situation would improve. It didn't. I got
a crash within five minutes. The sequence of operations was something like:
Open old file, Create a new file, cut and past  title from old file into
new, add author, backspace from author into title, Crash. I appended below
what I found in the console. I have no idea if the sequence of
"TocModel.cpp(): type not found:" statements is relevant to the crash, but I
do see a lot of them being spitted out to console whenever I am in Lyx
(1.6.5, I mean). I should add that I always keep the TOC sidebar open.

This is what I found in the console:

TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
TocModel.cpp(268): type not found:
TocModel.cpp(358): type not found:
/usr/include/c++/4.4/debug/vector:272:error: attempt to subscript container
with out-of-bounds index 1, but container only holds 1 elements.

Objects involved in the operation:
sequence "this" @ 0x0x2c4a648 {
  type =
NSt7__debug6vectorIN11__gnu_debug14_Safe_iteratorINSt6__norm14_List_iteratorIN3lyx9ParagraphEEENS_4listIS6_SaIS6_ESaISB_EEE;
}
Aborted










-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas A University Fax: (1) 979 845-0458
College Station, Texas, USA


RE: Repeated crashes in lyx 1.6.5 and 1.6.6SVN

2010-03-12 Thread Vincent van Ravesteijn - TNW
 
>I have been  experiencing a lot of crashes in the last couple of weeks.

Did you upgrade qt to 4.6 ?

Vincent


Re: Blogging with LyX

2010-03-12 Thread Jack Desert

> Curious.. Could LyxPoster be added to the converters, so that one
> could export to clipboard right from LyX?
> Liviu

Liviu,

I just made a minor change to LyxPoster and successfully ran it as a
converter in LyX. So now I just click file-> export-> html_clipboard
and it's ready to paste. The LyxPoster source code on my website has
been updated to reflect the change.

-Jack  


-- 
~~~
Jack Desert --Writer, Entrepeneur
Author and Spokesman: www.LetsEATalready.com
Software Developer:   http://GrooveTask.org
Email: jwo...@gmail.com
~~~


Re: Repeated crashes in lyx 1.6.5 and 1.6.6SVN

2010-03-12 Thread stefano franchi
On Fri, Mar 12, 2010 at 2:20 PM, Vincent van Ravesteijn - TNW <
v.f.vanraveste...@tudelft.nl> wrote:

>   > I did indeed . 4.6.2, which  came with KDE 4.4.1. Is that the source
> of the problem?
>
> Yes, it's http://www.lyx.org/trac/ticket/6522.
>
> There is a problem with updating the outliner. I didn't really follow this
> issue, but LyX crashes. A work-around is to not use the outliner :(.
>
>

It looks like that one! Although the original submitter states it can only
happen with the TOC on the left, while I always have mine on the right side.

But  it should have been fixed in branch 2 days ago, if I read the log
correctly. And I downloaded the source yesterday night (3/11).

I guess I'll have to use the workaround, even though my productivity drops
without a working outliner.

S.




-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas A University Fax: (1) 979 845-0458
College Station, Texas, USA


RE: Repeated crashes in lyx 1.6.5 and 1.6.6SVN

2010-03-12 Thread Vincent van Ravesteijn - TNW
> But  it should have been fixed in branch 2 days ago, if I read 
> the log correctly. And I downloaded the source yesterday 
> night (3/11).  
 
No, it has only been fixed in trunk, not yet in branch. 

With a text editor, you can change the source yourself (but only if it
is trivial to backport the code).

Vincent 


Re: Repeated crashes in lyx 1.6.5 and 1.6.6SVN

2010-03-12 Thread stefano franchi
On Fri, Mar 12, 2010 at 2:54 PM, Vincent van Ravesteijn - TNW <
v.f.vanraveste...@tudelft.nl> wrote:

> > But  it should have been fixed in branch 2 days ago, if I read
> > the log correctly. And I downloaded the source yesterday
> > night (3/11).
>
> No, it has only been fixed in trunk, not yet in branch.
>


Ok, my misreading. I'll wait for the fix then. I stopped messing around with
code a long time ago.

S.

-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas A University Fax: (1) 979 845-0458
College Station, Texas, USA


\textcite warning with Biblatex

2010-03-12 Thread Piero
Hello, I'm using Biblatex 0.9 for my bibliography.
When I run pdfLaTeX I always find this kind of warning on my citations:

Package biblatex Warning: '\textcite' not defined by citation style.
(biblatex)Falling back to '\cite' on input line 289

It looks everything works perfectly, although, but I would like to fix this 
anyway
Any idea?
Thanks



Re: LyX 2: So far so good, except outlines

2010-03-12 Thread stephen's mailinglist account
On 26 February 2010 14:09,   wrote:
> I also miss having a good outlining mode in LyX. At the moment I use Freemind 
> mindmaps that I then pull into LyX via > > LaTeX.

I played around today with various options tried vym (view your mind)
which has some latex export - does not seem to export a complete
document, rather only the guts of it (between \begin{document} and
\end{document}), but allows for some text to come through and not just
an outline.  Didn't try to add any images. I'm sure it ought to be
possible to add to export filters. (I think this is a qt app). After a
little work I imported to LyX.

Tried kdissert (I believe this has now been superceeded by something
which I cannot remember the name of, and which depends on kde4).  More
sofisticated (sp?) output to article, book, beamer, prosper. Bit of
work and it imported ok into LyX (it is set up just to 'make')

I gave Rob Oakes' LyX Outliner a go too
(http://www.oak-tree.us/blog/index.php/science-and-technology/lyx-outline).
 I realise this is much less developed, but the interface is quite
appealing -- reminded me of 'brown paper' exercises we have done at
work.
Brown paper exercise - get a big roll of brown paper.  Stick on wall.
use post its to capture ideas.  Stick to brown paper -annotate paper
and re-arrange post its at leisure to structure ideas.

I am a big fan of mind maps, but sometimes brainstorming can just be
putting things down and then organising the thoughts afterwards and
setting appropriate levels.  I like having a mind map to see structure
and balance.

-- 
Stephen


Re: Blogging with LyX

2010-03-12 Thread Liviu Andronic
On 3/12/10, Jack Desert  wrote:
>  I just made a minor change to LyxPoster and successfully ran it as a
>  converter in LyX. So now I just click file-> export-> html_clipboard
>  and it's ready to paste. The LyxPoster source code on my website has
>  been updated to reflect the change.
>
Great, thanks! Perhaps send a patch (for the converter) to lyx-devel,
for potential inclusion in 2.0?
Liviu