Re: LyX indexing anomaly SOLVED

2009-08-31 Thread Jürgen Spitzmüller
Steve Litt wrote:
  The correct solution would be to put the | character in an ERT.
 
 That's not a very good solution because it forces the user to do extra work
  in every index range of every document, and also gravely increases the
  troubleshooting effort if the user messes up the nesting of |( and |).

As I've explained on trac, ERT is the correct solution because | is an 
active character and thus native LaTeX (that is actually not yet natively 
supported by LyX).

It is pure coincidence that it also works without ERT in T1. So T1 and non-ERT 
is the exception, ERT is the rule (unless we have native support).

  From my perspective as a book author, T1 would be preferable to ERT, and
  even my silly kludge script would be preferable.

This only works if T1 is the desired font encoding. For any other than Latin 
script, it won't. So it's a pretty limited workaround.

 T1, ERT and my script are all workarounds. The SOLUTION would involve
 recognition by LyX that |( or |) at the end of a string inside an IDX tag
 defines a range, so do not convert the pipe symbol to \textbar etc. 

No, automatic fiddling behind the user's back is not an option.

 Or, if
 that's impossible, when the LyX user requests an index tag, pop up a dialog
 box asking the name and whether it's begin-range, end-range, or
  this-location.

Yes, something like this.

Jürgen


Re: words out of right margin with

2009-08-31 Thread Piero
 
 Or subsitute breakable slashes for the slashes (usually: type ctrl-/ instead 
 of just /).


I always had this problem.
And I would NEED a non-breakable slash or -. 
Don't know if it's a hyphenation 
problem. Will send an example.






Re: Text on right, images on left

2009-08-31 Thread Anthony Campbell
On 30 Aug 2009, L Duperval wrote:
 Hi,
 
 I want to create a booklet which has text on the right-hand page, while 
 the left-hand page contains a graph, an image, a table or something 
 similar.
 
 I suppose I can do this manually by inserting page breaks all over but is 
 there a package that controls such flow automatically?
 
 Thanks, 
 
 L

Interesting. I was trying to do exactly the same thing as you a week ago
and, like you, came to the conclusion it was fiendishly difficult. In
the end I settled for putting all the figures at the beginning of each
chapter and following this with the text. Actually, this probably works
better for my purpose, but I thought I was probably being wimpish by not
being able to implement the L/R split. But now I feel a bit better about
my failure.

Anthony


-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



RE: Will Lyx run on Mac OS X 10.6?

2009-08-31 Thread Vincent van Ravesteijn - TNW
I am currently testing Lyx 1.6.4 under Snow Leopard,
the official release. After about 5 minutes, a pop up
window appeared reporting that Lyx crashed. My console
report looks alot like the one in the bug report (link
below). 

Thanks for the info and confirmation of bug 6160. It will be difficult
to fix this as, I guess, we don't have a developer using Snow Leopard.
So, if you have any hints, please let us know.

Bill

Vincent


Re: Text on right, images on left

2009-08-31 Thread Guenter Milde
On 2009-08-30, L Duperval wrote:
 Hi,

 I want to create a booklet which has text on the right-hand page, while 
 the left-hand page contains a graph, an image, a table or something 
 similar.

 I suppose I can do this manually by inserting page breaks all over but is 
 there a package that controls such flow automatically?

While not providing a bullet-proof automatic solution, you could try to set
DocumentSettingsFloat Placement to Page of floats. 

If there is the right number of floats in your document, this should
generate a flaots page every second page...

Günter



Re: Custom box inset and custom bullets

2009-08-31 Thread Guenter Milde
On 2009-08-30, Nick Bell wrote:
 Guenter Milde mi...@... writes:
 Or with the GUI in DocumentSettings...

 No, I wanted to do it on a per-list basis.

Then, the enumitem module (search for it in wiki.lyx.org) might help: it
adds an optional argument for lists (available under the misnamed
InsertShort Title menu entry) which you can use to set a custom bullet
style.

Günter



Re: Text on right, images on left

2009-08-31 Thread Helge Hafting

L Duperval wrote:

Hi,

I want to create a booklet which has text on the right-hand page, while 
the left-hand page contains a graph, an image, a table or something 
similar.


I suppose I can do this manually by inserting page breaks all over but is 
there a package that controls such flow automatically?


Could be tricky, unless such a package exists. Here are some ideas:

* Uncheck two-sided document, to get a single-sided layout.
* Set a custom paper size, so that one page output by LyX
  covers *both* of the real pages.

  I.e. if your plan is an A4 portrait book, then set the document to
  be A3 landscape.

* Specify an enormous left margin, so that normal text actually
  print on the right half of the double page. This way,
  you get text on the right-hand side, just the way you want.

* Put your figures in margin notes, which will appear to
  the left. With some tweaking of the margin separation, they
  will be the way you want.

There is one problem here, the page numbers won't be right. So this 
won't work if you need page numbers.



Another way, that won't work with page numbers either:

* Create your document normally in LyX. Put figures in floats,
  and set the floats to be on separate float pages.

* A page will now be either text or figure, never both. But
  you will probably not get this to match odd and even pages
  exactly.

  So the last part of the job is to make a PDF with LyX, and then use
  pdf tools to rearrange the pages the way you want them.

Helge Hafting


Formatting all hyperlinks with a TT-font

2009-08-31 Thread Christian Liesen

Hi LyX users,

I would like to make all hyperlinks in my report more distinguishable  
by formatting them in a typewriter font (\ttfamily). How do I do that?  
I could't find anything about it in the hyperref-documentation, the  
wiki or this list's archives.


I'm on LyX 1.6.3 for Mac OS X. My document uses the report (KOMA- 
script) class and my preamble reads as follows:


\usepackage{microtype}
\usepackage{ellipsis}
\usepackage{fixltx2e}

\usepackage[pdftex]{hyperref}
\hypersetup{%
a4paper,
colorlinks=true,
citecolor=black,
urlcolor=cyan,
pdftitle={foo},
pdfauthor={foo},
pdfkeywords={foo},
pdfcreator={LyX 1.6.3 with pdfTeX},
pdfdisplaydoctitle=true
}


I would appreciate any help on how to accomplish this.

-- Christian



Re: Will Lyx run on Mac OS X 10.6?

2009-08-31 Thread Johannes Knaus

Hello again,

My Snow Leopard DVD just arrived, so I'm starting my testing today.
My question now to the developers around:
I'm by far no developer but I successfully compiled some unix apps on  
my own. So I would try to build a 10.6-Lyx on my own (well slowly, as  
I find time).
What prerequisites do I need (QT, which version?) or do you think  
that's by far too complicated?


BTW, I found out that there's a QT-bug within the QT from Macports  
which is not in the original QT, see:

http://trac.macports.org/ticket/20435
http://trac.macports.org/ticket/20937

Johannes

Is this a hard thing to
Am 31.08.2009 um 09:56 schrieb Vincent van Ravesteijn - TNW:


I am currently testing Lyx 1.6.4 under Snow Leopard,
the official release. After about 5 minutes, a pop up
window appeared reporting that Lyx crashed. My console
report looks alot like the one in the bug report (link
below).


Thanks for the info and confirmation of bug 6160. It will be difficult
to fix this as, I guess, we don't have a developer using Snow Leopard.
So, if you have any hints, please let us know.


Bill


Vincent




Re: How to install new packages to Lyx?

2009-08-31 Thread ilias andronos
Στις 30-08-2009, ημέρα Κυρ, και ώρα 17:58 -0400, ο/η rgheck έγραψε:
 On 08/30/2009 05:13 PM, dirac14 wrote:
  I am a relatively new lyx user and this is my first post so please forgive
  my total ignorance..
 
  I ve searched for at least 3 hours to give myself the answer to the
  subject's question and there are two possible scenarios : either it is kind
  of trivial to install new packages to lyx and therefore i couldn't find any
  answer or i did find it but i wasn't able to make it work !!!
 
  The whole story began when i found out an outstanding package on CTAN for my
  work, called hep(high energy physics) which promised to let me use Feynman
  slashed characters and many more. But then i dealt with that horrible
  problem! How to do it work properly and use it through the lyx menus like
  all other stuff preinstalled in lyx??? And in general, what do i have to do
  in order to install a new package and make it work as if it were
  preinstalled in lyx?
 
 
 I'm afraid that this is not in general possible---unless you want to 
 write the source code yourself and contribute it to LyX, which of course 
 would be welcome. That is to say: Every package that LyX natively 
 supports, it supports only because someone wrote the code that makes LyX 
 support it. To get the various particle names to display properly, for 
 example, the names have to be added to the unicodesymbols file, together 
 with code points in various fonts, etc. So it's not a trivial matter at all.
 
 rh
 

I 'm afraid that i can't write the source code for this... But then
could you please find me any way to use slashed characters? That is any
character(mainly letters) with a / on it. Thanks for the reply.




Re: Formatting all hyperlinks with a TT-font

2009-08-31 Thread Uwe Stöhr

Christian Liesen schrieb:

I would like to make all hyperlinks in my report more distinguishable by 
formatting them in a typewriter font (\ttfamily). How do I do that?


See the attached LyX file. Look in its preamble to see how this is done this.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: LyX crashes when I attempt to edit a URL

2009-08-31 Thread Uwe Stöhr

Venable schrieb:


I am having trouble with LyX crashing when I try to edit urls. I am
able to edit them within ERT boxes but when I try to click on one that
is in a little gray box (i.e. just the letters URL visible, not the
entire URL, although the URL looks well-formed in the LaTeX preview
window), LyX freezes and then crashes 


Can you please provide a small LyX example file to reproduce?

regards Uwe


Re: LyX indexing anomaly SOLVED

2009-08-31 Thread Steve Litt
On Monday 31 August 2009 03:17:53 Jürgen Spitzmüller wrote:
 Steve Litt wrote:

  Or, if
  that's impossible, when the LyX user requests an index tag, pop up a
  dialog box asking the name and whether it's begin-range, end-range, or
   this-location.

 Yes, something like this.

 Jürgen

OK, then let's do it with something like this.

SteveT

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




Re: pdfpages problem

2009-08-31 Thread Marcelo Acuña
 I want to put a cover made in pdf file.
 I put \usepackage{pdfpages} in preamble
 and Insert the file but I get
  Undefined control sequence
 error.
 
 Use the external inset. Insert  File  External
 Material and select pdfpages.
 Jürgen

Yes, I was using it of that form.
I already discovered the cause of the problem.
As \addtoreset... does not work in my document I had to put ERT with 
\setcounter... at the end of each section.
Negligently I put them at the end of each section or at the end of the title of 
each new section.
All these last ones produced the error when trying to use the pdfpages.
 Thanks Jürgen!

 Marcelo


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: Formatting all hyperlinks with a TT-font

2009-08-31 Thread Christian Liesen

Works like a charm, many thanks!


Am 31.08.2009 um 15:36 schrieb Uwe Stöhr:


Christian Liesen schrieb:

I would like to make all hyperlinks in my report more  
distinguishable by formatting them in a typewriter font  
(\ttfamily). How do I do that?


See the attached LyX file. Look in its preamble to see how this is  
done this.


regards Uwe
newfile1.lyx




rotated table problem

2009-08-31 Thread Marcelo Acuña
Hello,
 In my koma-script book I chose to have two columns.
 The tables are displayed correctly, except when they are rotated. (I use the 
corresponding option, spam column.)
 In this case they begin in one of the columns and are partially outside the 
page leaving the rest of the page in blank.
 How I can solve this problem? 

Marcelo Acuña
 visitá mi sitio web http://www.aleph-uno.com.ar 
==


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Opening the same file twice

2009-08-31 Thread Niko Schwarz
Hi,

when I open the same file twice in lyx, it behaves very strangely. It
crashes when I close the window which was second to be opened.

I would recommend checking upon file opening if the file is open
already and if so, bring it to the foreground.

Cheers,

Niko


Re: Opening the same file twice

2009-08-31 Thread Niko Schwarz
Maybe I should clarify: I'm using 1.6.3 on OSX 10.5

On Mon, Aug 31, 2009 at 6:12 PM, Niko
Schwarzniko.schw...@googlemail.com wrote:
 Hi,

 when I open the same file twice in lyx, it behaves very strangely. It
 crashes when I close the window which was second to be opened.

 I would recommend checking upon file opening if the file is open
 already and if so, bring it to the foreground.

 Cheers,

 Niko



Re: rotated table problem

2009-08-31 Thread Uwe Stöhr

Marcelo Acuña schrieb:



 In my koma-script book I chose to have two columns.
 The tables are displayed correctly, except when they are rotated. (I use the 
corresponding option, spam column.)
 In this case they begin in one of the columns and are partially outside the 
page leaving the rest of the page in blank.
 How I can solve this problem? 


Can you provide a small LyX example file?

regards Uwe


Re: How to install new packages to Lyx?

2009-08-31 Thread rgheck

On 08/31/2009 09:17 AM, ilias andronos wrote:

Στις 30-08-2009, ημέρα Κυρ, και ώρα 17:58 -0400, ο/η rgheck έγραψε:
   

On 08/30/2009 05:13 PM, dirac14 wrote:
 

I am a relatively new lyx user and this is my first post so please forgive
my total ignorance..

I ve searched for at least 3 hours to give myself the answer to the
subject's question and there are two possible scenarios : either it is kind
of trivial to install new packages to lyx and therefore i couldn't find any
answer or i did find it but i wasn't able to make it work !!!

The whole story began when i found out an outstanding package on CTAN for my
work, called hep(high energy physics) which promised to let me use Feynman
slashed characters and many more. But then i dealt with that horrible
problem! How to do it work properly and use it through the lyx menus like
all other stuff preinstalled in lyx??? And in general, what do i have to do
in order to install a new package and make it work as if it were
preinstalled in lyx?


   

I'm afraid that this is not in general possible---unless you want to
write the source code yourself and contribute it to LyX, which of course
would be welcome. That is to say: Every package that LyX natively
supports, it supports only because someone wrote the code that makes LyX
support it. To get the various particle names to display properly, for
example, the names have to be added to the unicodesymbols file, together
with code points in various fonts, etc. So it's not a trivial matter at all.

rh

 

I 'm afraid that i can't write the source code for this... But then
could you please find me any way to use slashed characters? That is any
character(mainly letters) with a / on it. Thanks for the reply.

   
You can use them as you wish, by entering whatever the raw LaTeX is. In 
math mode, you just type it; in non-math mode, you can enter the 
characters in ERT. You can do this with any LaTeX stuff that LyX does 
not support.


rh




Re: Opening the same file twice

2009-08-31 Thread Vincent van Ravesteijn

Niko Schwarz schreef:

Hi,

when I open the same file twice in lyx, it behaves very strangely. It
crashes when I close the window which was second to be opened.

I would recommend checking upon file opening if the file is open
already and if so, bring it to the foreground.

Cheers,

Niko
  
Can you give an exact recipe ? As you are on MacOSX, I assume that 
Tools-Preferences-Open Document in Tabs is unchecked, is that correct ?


Although Open Documents in Tabs is unchecked, it is possible to still 
open documents in tabs, did you see this ? If so, you might have hit: 
http://www.lyx.org/trac/ticket/5942.


If not, I just found: http://www.lyx.org/trac/ticket/6188.

Else, you should try LyX1.6.4 (coming soon for MacOsX) in which we have 
fixed e.g., bug 6162, 5646.


Vincent




Re: Opening the same file twice

2009-08-31 Thread Vincent van Ravesteijn

Vincent van Ravesteijn schreef:

Niko Schwarz schreef:

Hi,

when I open the same file twice in lyx, it behaves very strangely. It
crashes when I close the window which was second to be opened.

I would recommend checking upon file opening if the file is open
already and if so, bring it to the foreground.

Cheers,

Niko
  
Can you give an exact recipe ? As you are on MacOSX, I assume that 
Tools-Preferences-Open Document in Tabs is unchecked, is that correct ?


Although Open Documents in Tabs is unchecked, it is possible to still 
open documents in tabs, did you see this ? If so, you might have hit: 
http://www.lyx.org/trac/ticket/5942.


If not, I just found: http://www.lyx.org/trac/ticket/6188.

Else, you should try LyX1.6.4 (coming soon for MacOsX) in which we 
have fixed e.g., bug 6162, 5646.


Vincent

I think I already found the bug. It originated while introducing a 
feature for Mac users with the commit log: Present to Mac users: 
Session handling per document instead of per window when 'open document 
in tabs' is disabled. I hope it says more to you than it does to me. As 
a consequence we can have two views with the same ids if two the same 
files were opened.


I'll have to wait before fixing this, because I've no Mac, and I've no 
idea what this feature is.


Vincent


Re: LyX crashes when I attempt to edit a URL

2009-08-31 Thread Venable
On Mon, Aug 31, 2009 at 9:53 AM, Uwe Stöhruwesto...@web.de wrote:
 Venable schrieb:

 I am having trouble with LyX crashing when I try to edit urls. I am
 able to edit them within ERT boxes but when I try to click on one that
 is in a little gray box (i.e. just the letters URL visible, not the
 entire URL, although the URL looks well-formed in the LaTeX preview
 window), LyX freezes and then crashes

 Can you please provide a small LyX example file to reproduce?

 regards Uwe


Yes, here is a small example (I am appending text rather than
attaching the file but certainly could attach if that is more useful)

[begin file lyx-url-crash.lyx]


#LyX 1.6.4 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble

\end_preamble
\use_default_options false
\language english
\inputencoding latin9
\font_roman times
\font_sans default
\font_typewriter default
\font_default_family rmdefault
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize 12
\spacing single
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry true
\use_amsmath 2
\use_esint 0
\cite_engine natbib_authoryear
\use_bibtopic false
\paperorientation portrait
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author 
\author 
\end_header

\begin_body

\begin_layout Standard
Minimal example
\end_layout

\begin_layout Standard
Expanded link (blue
\begin_inset Quotes eld
\end_inset

URL
\begin_inset Quotes erd
\end_inset

 visible in gray box, url also visible in ERT box)
\end_layout

\begin_layout Standard
\noindent

\series bold
Course website:
\series default

\begin_inset Flex URL
status open

\begin_layout Plain Layout

http://www.yahoo.com
\end_layout

\end_inset


\end_layout

\begin_layout Standard
Crash-producing link (blue
\begin_inset Quotes eld
\end_inset

URL
\begin_inset Quotes erd
\end_inset

 visible in gray box, url itself is not visible in LyX but is visible in
 LaTeX Source window.
\end_layout

\begin_layout Standard
*
\emph on
World Development Indicators 2008: Poverty data
\emph default
, World Bank, December 2008.

\begin_inset Flex URL
status collapsed

\begin_layout Plain Layout

http://siteresources.worldbank.org/DATASTATISTICS/Resources/WDI08supplement1216.pdf
\end_layout

\end_inset


\end_layout

\end_body
\end_document



[end of file lyx-url-crash.lyx]

On Mon, Aug 31, 2009 at 9:53 AM, Uwe Stöhruwesto...@web.de wrote:
 Venable schrieb:

 I am having trouble with LyX crashing when I try to edit urls. I am
 able to edit them within ERT boxes but when I try to click on one that
 is in a little gray box (i.e. just the letters URL visible, not the
 entire URL, although the URL looks well-formed in the LaTeX preview
 window), LyX freezes and then crashes

 Can you please provide a small LyX example file to reproduce?

 regards Uwe



Help with LFUN_WORD_REPLACE

2009-08-31 Thread EditorJack

Esteemed Fellow LyXers:

I can't get LFUN_WORD_REPLACE to work. Here's the syntax I'm using in the
minibuffer:

word-replace foo bar

No dice. I'd be grateful for any help you're able to provide.

Thanks!

Best wishes,
Jack Lyon
The Editorium
http://www.editorium.com
-- 
View this message in context: 
http://n2.nabble.com/Help-with-LFUN-WORD-REPLACE-tp3556023p3556023.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: LyX crashes when I attempt to edit a URL

2009-08-31 Thread Uwe Stöhr

Venable schrieb:


Yes, here is a small example (I am appending text rather than
attaching the file but certainly could attach if that is more useful)


Please attach. My mail client screwed the format up making it unusable.

regards Uwe


Re: LyX crashes when I attempt to edit a URL

2009-08-31 Thread Vincent van Ravesteijn

Uwe Stöhr schreef:

Venable schrieb:


Yes, here is a small example (I am appending text rather than
attaching the file but certainly could attach if that is more useful)


Please attach. My mail client screwed the format up making it unusable.

regards Uwe

Here you go.

Vincent


testurl.lyx
Description: application/lyx


Re: LyX crashes when I attempt to edit a URL

2009-08-31 Thread Venable
On Mon, Aug 31, 2009 at 5:00 PM, Uwe Stöhruwesto...@web.de wrote:
 Venable schrieb:

 Yes, here is a small example (I am appending text rather than
 attaching the file but certainly could attach if that is more useful)

 Please attach. My mail client screwed the format up making it unusable.

 regards Uwe


Certainly.

Also, it occurs to me that a relevant detail may be that this file was
originally created in SWP, then exported to plain LaTex and imported
into LyX.

Many thanks.


lyx-url-crash.lyx
Description: Binary data


Re: Help with LFUN_WORD_REPLACE

2009-08-31 Thread Vincent van Ravesteijn

EditorJack schreef:

Esteemed Fellow LyXers:

I can't get LFUN_WORD_REPLACE to work. Here's the syntax I'm using in the
minibuffer:

word-replace foo bar

No dice. I'd be grateful for any help you're able to provide.
  

I can think of two solutions:

1: command-sequence word-find-forward foo; self-insert bar

2: word-replace foonewlinebarnewline

In the command buffer: To get the newline there, you could do the 
following: copy a newline from the lyx main text (beware not to copy a 
space+newline), paste this into the command buffer, delete all but the 
first 'character' you pasted.


Ok, this is a bit a hack... but I can't think of something better.

Vincent


Re: Help with LFUN_WORD_REPLACE

2009-08-31 Thread Jack Lyon
Sorry. In my last message, I said Vincent was brilliant but neglected to 
say about what. I was thinking of this:


 word-replace foonewlinebarnewline

 In the command buffer: To get the newline there, you could do the 
following: copy a newline from the lyx main text (beware not to copy a 
space+newline), paste this into the command buffer, delete all but the 
first 'character' you pasted.


But it doesn't work for me. In fact, I can't seem to paste a newline 
into the minibuffer.


Thanks again.

Best,
Jack

Vincent van Ravesteijn wrote:

EditorJack schreef:

Esteemed Fellow LyXers:

I can't get LFUN_WORD_REPLACE to work. Here's the syntax I'm using in 
the

minibuffer:

word-replace foo bar

No dice. I'd be grateful for any help you're able to provide.
  

I can think of two solutions:

1: command-sequence word-find-forward foo; self-insert bar

2: word-replace foonewlinebarnewline

In the command buffer: To get the newline there, you could do the 
following: copy a newline from the lyx main text (beware not to copy a 
space+newline), paste this into the command buffer, delete all but the 
first 'character' you pasted.


Ok, this is a bit a hack... but I can't think of something better.

Vincent






Re: How to install new packages to Lyx?

2009-08-31 Thread ilias andronos
Στις 31-08-2009, ημέρα Δευ, και ώρα 13:08 -0400, ο/η rgheck έγραψε:
 On 08/31/2009 09:17 AM, ilias andronos wrote:
  Στις 30-08-2009, ημέρα Κυρ, και ώρα 17:58 -0400, ο/η rgheck έγραψε:
 
  On 08/30/2009 05:13 PM, dirac14 wrote:
   
  I am a relatively new lyx user and this is my first post so please forgive
  my total ignorance..
 
  I ve searched for at least 3 hours to give myself the answer to the
  subject's question and there are two possible scenarios : either it is 
  kind
  of trivial to install new packages to lyx and therefore i couldn't find 
  any
  answer or i did find it but i wasn't able to make it work !!!
 
  The whole story began when i found out an outstanding package on CTAN for 
  my
  work, called hep(high energy physics) which promised to let me use Feynman
  slashed characters and many more. But then i dealt with that horrible
  problem! How to do it work properly and use it through the lyx menus like
  all other stuff preinstalled in lyx??? And in general, what do i have to 
  do
  in order to install a new package and make it work as if it were
  preinstalled in lyx?
 
 
 
  I'm afraid that this is not in general possible---unless you want to
  write the source code yourself and contribute it to LyX, which of course
  would be welcome. That is to say: Every package that LyX natively
  supports, it supports only because someone wrote the code that makes LyX
  support it. To get the various particle names to display properly, for
  example, the names have to be added to the unicodesymbols file, together
  with code points in various fonts, etc. So it's not a trivial matter at 
  all.
 
  rh
 
   
  I 'm afraid that i can't write the source code for this... But then
  could you please find me any way to use slashed characters? That is any
  character(mainly letters) with a / on it. Thanks for the reply.
 
 
 You can use them as you wish, by entering whatever the raw LaTeX is. In 
 math mode, you just type it; in non-math mode, you can enter the 
 characters in ERT. You can do this with any LaTeX stuff that LyX does 
 not support.
 
 rh
 


 
sorry for insisting but i tried searching with google how to enter these
characters and i came accross hep package again..i don't
understand..what is ERT?what exactly do i have to type in math mode in
order to get the slashed characters?? 



Re: How to install new packages to Lyx?

2009-08-31 Thread Nikos Alexandris
dirac14:  
   I am a relatively new lyx user and this is my first post so please 
   forgive
   my total ignorance..
  
   I ve searched for at least 3 hours to give myself the answer to the
   subject's question and there are two possible scenarios : either it is 
   kind
   of trivial to install new packages to lyx and therefore i couldn't find 
   any
   answer or i did find it but i wasn't able to make it work !!!
  
   The whole story began when i found out an outstanding package on CTAN 
   for my
   work, called hep(high energy physics) which promised to let me use 
   Feynman
   slashed characters and many more. But then i dealt with that horrible
   problem! How to do it work properly and use it through the lyx menus 
   like
   all other stuff preinstalled in lyx??? And in general, what do i have 
   to do
   in order to install a new package and make it work as if it were
   preinstalled in lyx?

rgheck:
   I'm afraid that this is not in general possible---unless you want to
   write the source code yourself and contribute it to LyX, which of course
   would be welcome. That is to say: Every package that LyX natively
   supports, it supports only because someone wrote the code that makes LyX
   support it. To get the various particle names to display properly, for
   example, the names have to be added to the unicodesymbols file, together
   with code points in various fonts, etc. So it's not a trivial matter at 
   all.

ilias andronos:
   I 'm afraid that i can't write the source code for this... But then
   could you please find me any way to use slashed characters? That is any
   character(mainly letters) with a / on it. Thanks for the reply.

rgheck:
  You can use them as you wish, by entering whatever the raw LaTeX is. In 
  math mode, you just type it; in non-math mode, you can enter the 
  characters in ERT. You can do this with any LaTeX stuff that LyX does 
  not support.

ilias andronos:
 sorry for insisting but i tried searching with google how to enter these
 characters and i came accross hep package again..i don't
 understand..what is ERT?what exactly do i have to type in math mode in
 order to get the slashed characters?? 

Ηλία,

an ERT means (for some people) Evil Red Text that does the (La)TeX
magic within a LyX document [1].

Basically you press Ctrl+L ( or via the menu you go Insert  TeX Code )
and you enter... well, TeX Code! For example, if you press Ctrl+L and
enter within the (Evil) red box the command \dots (without the double
quotes) you will get three dots.

However, I have no idea what exactly you have to type to get the /
over a(ny) character.

Nikos
---

[1] http://wiki.lyx.org/FAQ/ERT

(
Ufortunately the link A Brief History of ERT seems to be broken :-(
)



Re: How to install new packages to Lyx?

2009-08-31 Thread Christian Liesen
Hi,


 sorry for insisting but i tried searching with google how to enter these
 characters and i came accross hep package again..i don't
 understand..


You will need to install the hep package just as you would with any
additional TeX package on your system, i.e. by downloading it from CTAN,
processing it with latex and putting the results in your texmf-folder. See
http://www.inf.ed.ac.uk/systems/tex/new-packages.html and also
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages for
instructions. It may look intimidating at first, but it's really not that
hard.

Once installed, you need to reconfigure LyX and restart it -- otherwise LyX
will not know that there's a new package around.

You can then call the package in your document's preamble with
\usepackage{hep} or whatever's its name. Then, and only then, you can make
use of ERT to produce the characters you want.


 what is ERT?what exactly do i have to type in math mode in
 order to get the slashed characters??


ERT is explained in the LyX wiki (and many other very useful things are as
well), see http://wiki.lyx.org/FAQ/ERT. The basic idea is that you can enter
raw LaTeX-code anywhere in your document, an option that does come in handy
from time to time.

For example, your hep package may allow for something like, say, \coolsymbol
as a raw LaTeX-command in order to produce, well -- some cool symbol in the
PDF output. Simply enter \coolsymbol in ERT in your LyX document where you
want it (as explained by Nikos a couple minutes ago) to get the same result.

Hope this helps,
-- Christian


Re: How to install new packages to Lyx?

2009-08-31 Thread rgheck

On 08/31/2009 06:22 PM, ilias andronos wrote:

sorry for insisting but i tried searching with google how to enter these
characters and i came accross hep package again..i don't
understand..what is ERT?what exactly do i have to type in math mode in
order to get the slashed characters??

   
Let's say a slashed a is entered in LaTeX as: \slasheda. (I have no 
idea what it really is. Presumably the hep manual will tell you.) Then 
in math mode, enter \slasheda and then a space. You'll see exactly 
that, but if you ViewDVI ir ViewPDF or whatever (and have 
\usepackage{hep} in your preamble), then you'll see the slashed 
character in the output. It's just that LyX doesn't know how to display 
it, so it displays the raw LaTeX.


As for ERT, this is also called TeX Mode, and it's activated by 
InsertTeX Mode. It again allows you to insert raw LaTeX into the document.


rh



Re: How to install new packages to Lyx?

2009-08-31 Thread rgheck

On 08/31/2009 06:59 PM, Christian Liesen wrote:

You will need to install the hep package just as you would with any
additional TeX package on your system, i.e. by downloading it from CTAN,
processing it with latex and putting the results in your texmf-folder. See
http://www.inf.ed.ac.uk/systems/tex/new-packages.html and also
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages for
instructions. It may look intimidating at first, but it's really not that
hard.

Once installed, you need to reconfigure LyX and restart it -- otherwise LyX
will not know that there's a new package around.

   
If it's just a random package that LyX doesn't know about, then you 
don't have to reconfigure LyX. LyX isn't hep aware, so it  What you 
will need to do, as always, is run texhash, or whatever, to update the 
LaTeX databases.


rh



Memoir, books... page-breaks for boxes

2009-08-31 Thread Frederick Noronha [फ़रेदरिक नोरो नया]
I'm using (mostly) Memoire class for books, but can't seem to get my
page-breaks working for long boxes (which span more than one page).
Could someone help me... Thanks! FN
-- 
FN +91-9822122436 P +91-832-2409490
Konkani adages  http://konkani-adages.notlong.com/
Medieval Goa http://medieval-goa.notlong.com/


Re: LyX crashes when I attempt to edit a URL

2009-08-31 Thread Uwe Stöhr

Venable schrieb:


I use LyX 1.6.4 on Windows XP.


Me too.


I am having trouble with LyX crashing when I try to edit urls. I am
able to edit them within ERT boxes but when I try to click on one that
is in a little gray box (i.e. just the letters URL visible, not the
entire URL, although the URL looks well-formed in the LaTeX preview
window), LyX freezes and then crashes with the following popup error
message:


I cannot reproduce this. I can click at, in, or beside the URL box or its label 
without any problems.
How was your LyX 1.6.4 installed? Was it a fresh installation or have you installed it over an 
existing LyX installation?


regards Uwe


Re: LyX indexing anomaly SOLVED

2009-08-31 Thread Jürgen Spitzmüller
Steve Litt wrote:
  The correct solution would be to put the | character in an ERT.
 
 That's not a very good solution because it forces the user to do extra work
  in every index range of every document, and also gravely increases the
  troubleshooting effort if the user messes up the nesting of |( and |).

As I've explained on trac, ERT is the correct solution because | is an 
active character and thus native LaTeX (that is actually not yet natively 
supported by LyX).

It is pure coincidence that it also works without ERT in T1. So T1 and non-ERT 
is the exception, ERT is the rule (unless we have native support).

  From my perspective as a book author, T1 would be preferable to ERT, and
  even my silly kludge script would be preferable.

This only works if T1 is the desired font encoding. For any other than Latin 
script, it won't. So it's a pretty limited workaround.

 T1, ERT and my script are all workarounds. The SOLUTION would involve
 recognition by LyX that |( or |) at the end of a string inside an IDX tag
 defines a range, so do not convert the pipe symbol to \textbar etc. 

No, automatic fiddling behind the user's back is not an option.

 Or, if
 that's impossible, when the LyX user requests an index tag, pop up a dialog
 box asking the name and whether it's begin-range, end-range, or
  this-location.

Yes, something like this.

Jürgen


Re: words out of right margin with

2009-08-31 Thread Piero
 
 Or subsitute breakable slashes for the slashes (usually: type ctrl-/ instead 
 of just /).


I always had this problem.
And I would NEED a non-breakable slash or -. 
Don't know if it's a hyphenation 
problem. Will send an example.






Re: Text on right, images on left

2009-08-31 Thread Anthony Campbell
On 30 Aug 2009, L Duperval wrote:
 Hi,
 
 I want to create a booklet which has text on the right-hand page, while 
 the left-hand page contains a graph, an image, a table or something 
 similar.
 
 I suppose I can do this manually by inserting page breaks all over but is 
 there a package that controls such flow automatically?
 
 Thanks, 
 
 L

Interesting. I was trying to do exactly the same thing as you a week ago
and, like you, came to the conclusion it was fiendishly difficult. In
the end I settled for putting all the figures at the beginning of each
chapter and following this with the text. Actually, this probably works
better for my purpose, but I thought I was probably being wimpish by not
being able to implement the L/R split. But now I feel a bit better about
my failure.

Anthony


-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



RE: Will Lyx run on Mac OS X 10.6?

2009-08-31 Thread Vincent van Ravesteijn - TNW
I am currently testing Lyx 1.6.4 under Snow Leopard,
the official release. After about 5 minutes, a pop up
window appeared reporting that Lyx crashed. My console
report looks alot like the one in the bug report (link
below). 

Thanks for the info and confirmation of bug 6160. It will be difficult
to fix this as, I guess, we don't have a developer using Snow Leopard.
So, if you have any hints, please let us know.

Bill

Vincent


Re: Text on right, images on left

2009-08-31 Thread Guenter Milde
On 2009-08-30, L Duperval wrote:
 Hi,

 I want to create a booklet which has text on the right-hand page, while 
 the left-hand page contains a graph, an image, a table or something 
 similar.

 I suppose I can do this manually by inserting page breaks all over but is 
 there a package that controls such flow automatically?

While not providing a bullet-proof automatic solution, you could try to set
DocumentSettingsFloat Placement to Page of floats. 

If there is the right number of floats in your document, this should
generate a flaots page every second page...

Günter



Re: Custom box inset and custom bullets

2009-08-31 Thread Guenter Milde
On 2009-08-30, Nick Bell wrote:
 Guenter Milde mi...@... writes:
 Or with the GUI in DocumentSettings...

 No, I wanted to do it on a per-list basis.

Then, the enumitem module (search for it in wiki.lyx.org) might help: it
adds an optional argument for lists (available under the misnamed
InsertShort Title menu entry) which you can use to set a custom bullet
style.

Günter



Re: Text on right, images on left

2009-08-31 Thread Helge Hafting

L Duperval wrote:

Hi,

I want to create a booklet which has text on the right-hand page, while 
the left-hand page contains a graph, an image, a table or something 
similar.


I suppose I can do this manually by inserting page breaks all over but is 
there a package that controls such flow automatically?


Could be tricky, unless such a package exists. Here are some ideas:

* Uncheck two-sided document, to get a single-sided layout.
* Set a custom paper size, so that one page output by LyX
  covers *both* of the real pages.

  I.e. if your plan is an A4 portrait book, then set the document to
  be A3 landscape.

* Specify an enormous left margin, so that normal text actually
  print on the right half of the double page. This way,
  you get text on the right-hand side, just the way you want.

* Put your figures in margin notes, which will appear to
  the left. With some tweaking of the margin separation, they
  will be the way you want.

There is one problem here, the page numbers won't be right. So this 
won't work if you need page numbers.



Another way, that won't work with page numbers either:

* Create your document normally in LyX. Put figures in floats,
  and set the floats to be on separate float pages.

* A page will now be either text or figure, never both. But
  you will probably not get this to match odd and even pages
  exactly.

  So the last part of the job is to make a PDF with LyX, and then use
  pdf tools to rearrange the pages the way you want them.

Helge Hafting


Formatting all hyperlinks with a TT-font

2009-08-31 Thread Christian Liesen

Hi LyX users,

I would like to make all hyperlinks in my report more distinguishable  
by formatting them in a typewriter font (\ttfamily). How do I do that?  
I could't find anything about it in the hyperref-documentation, the  
wiki or this list's archives.


I'm on LyX 1.6.3 for Mac OS X. My document uses the report (KOMA- 
script) class and my preamble reads as follows:


\usepackage{microtype}
\usepackage{ellipsis}
\usepackage{fixltx2e}

\usepackage[pdftex]{hyperref}
\hypersetup{%
a4paper,
colorlinks=true,
citecolor=black,
urlcolor=cyan,
pdftitle={foo},
pdfauthor={foo},
pdfkeywords={foo},
pdfcreator={LyX 1.6.3 with pdfTeX},
pdfdisplaydoctitle=true
}


I would appreciate any help on how to accomplish this.

-- Christian



Re: Will Lyx run on Mac OS X 10.6?

2009-08-31 Thread Johannes Knaus

Hello again,

My Snow Leopard DVD just arrived, so I'm starting my testing today.
My question now to the developers around:
I'm by far no developer but I successfully compiled some unix apps on  
my own. So I would try to build a 10.6-Lyx on my own (well slowly, as  
I find time).
What prerequisites do I need (QT, which version?) or do you think  
that's by far too complicated?


BTW, I found out that there's a QT-bug within the QT from Macports  
which is not in the original QT, see:

http://trac.macports.org/ticket/20435
http://trac.macports.org/ticket/20937

Johannes

Is this a hard thing to
Am 31.08.2009 um 09:56 schrieb Vincent van Ravesteijn - TNW:


I am currently testing Lyx 1.6.4 under Snow Leopard,
the official release. After about 5 minutes, a pop up
window appeared reporting that Lyx crashed. My console
report looks alot like the one in the bug report (link
below).


Thanks for the info and confirmation of bug 6160. It will be difficult
to fix this as, I guess, we don't have a developer using Snow Leopard.
So, if you have any hints, please let us know.


Bill


Vincent




Re: How to install new packages to Lyx?

2009-08-31 Thread ilias andronos
Στις 30-08-2009, ημέρα Κυρ, και ώρα 17:58 -0400, ο/η rgheck έγραψε:
 On 08/30/2009 05:13 PM, dirac14 wrote:
  I am a relatively new lyx user and this is my first post so please forgive
  my total ignorance..
 
  I ve searched for at least 3 hours to give myself the answer to the
  subject's question and there are two possible scenarios : either it is kind
  of trivial to install new packages to lyx and therefore i couldn't find any
  answer or i did find it but i wasn't able to make it work !!!
 
  The whole story began when i found out an outstanding package on CTAN for my
  work, called hep(high energy physics) which promised to let me use Feynman
  slashed characters and many more. But then i dealt with that horrible
  problem! How to do it work properly and use it through the lyx menus like
  all other stuff preinstalled in lyx??? And in general, what do i have to do
  in order to install a new package and make it work as if it were
  preinstalled in lyx?
 
 
 I'm afraid that this is not in general possible---unless you want to 
 write the source code yourself and contribute it to LyX, which of course 
 would be welcome. That is to say: Every package that LyX natively 
 supports, it supports only because someone wrote the code that makes LyX 
 support it. To get the various particle names to display properly, for 
 example, the names have to be added to the unicodesymbols file, together 
 with code points in various fonts, etc. So it's not a trivial matter at all.
 
 rh
 

I 'm afraid that i can't write the source code for this... But then
could you please find me any way to use slashed characters? That is any
character(mainly letters) with a / on it. Thanks for the reply.




Re: Formatting all hyperlinks with a TT-font

2009-08-31 Thread Uwe Stöhr

Christian Liesen schrieb:

I would like to make all hyperlinks in my report more distinguishable by 
formatting them in a typewriter font (\ttfamily). How do I do that?


See the attached LyX file. Look in its preamble to see how this is done this.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: LyX crashes when I attempt to edit a URL

2009-08-31 Thread Uwe Stöhr

Venable schrieb:


I am having trouble with LyX crashing when I try to edit urls. I am
able to edit them within ERT boxes but when I try to click on one that
is in a little gray box (i.e. just the letters URL visible, not the
entire URL, although the URL looks well-formed in the LaTeX preview
window), LyX freezes and then crashes 


Can you please provide a small LyX example file to reproduce?

regards Uwe


Re: LyX indexing anomaly SOLVED

2009-08-31 Thread Steve Litt
On Monday 31 August 2009 03:17:53 Jürgen Spitzmüller wrote:
 Steve Litt wrote:

  Or, if
  that's impossible, when the LyX user requests an index tag, pop up a
  dialog box asking the name and whether it's begin-range, end-range, or
   this-location.

 Yes, something like this.

 Jürgen

OK, then let's do it with something like this.

SteveT

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




Re: pdfpages problem

2009-08-31 Thread Marcelo Acuña
 I want to put a cover made in pdf file.
 I put \usepackage{pdfpages} in preamble
 and Insert the file but I get
  Undefined control sequence
 error.
 
 Use the external inset. Insert  File  External
 Material and select pdfpages.
 Jürgen

Yes, I was using it of that form.
I already discovered the cause of the problem.
As \addtoreset... does not work in my document I had to put ERT with 
\setcounter... at the end of each section.
Negligently I put them at the end of each section or at the end of the title of 
each new section.
All these last ones produced the error when trying to use the pdfpages.
 Thanks Jürgen!

 Marcelo


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: Formatting all hyperlinks with a TT-font

2009-08-31 Thread Christian Liesen

Works like a charm, many thanks!


Am 31.08.2009 um 15:36 schrieb Uwe Stöhr:


Christian Liesen schrieb:

I would like to make all hyperlinks in my report more  
distinguishable by formatting them in a typewriter font  
(\ttfamily). How do I do that?


See the attached LyX file. Look in its preamble to see how this is  
done this.


regards Uwe
newfile1.lyx




rotated table problem

2009-08-31 Thread Marcelo Acuña
Hello,
 In my koma-script book I chose to have two columns.
 The tables are displayed correctly, except when they are rotated. (I use the 
corresponding option, spam column.)
 In this case they begin in one of the columns and are partially outside the 
page leaving the rest of the page in blank.
 How I can solve this problem? 

Marcelo Acuña
 visitá mi sitio web http://www.aleph-uno.com.ar 
==


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Opening the same file twice

2009-08-31 Thread Niko Schwarz
Hi,

when I open the same file twice in lyx, it behaves very strangely. It
crashes when I close the window which was second to be opened.

I would recommend checking upon file opening if the file is open
already and if so, bring it to the foreground.

Cheers,

Niko


Re: Opening the same file twice

2009-08-31 Thread Niko Schwarz
Maybe I should clarify: I'm using 1.6.3 on OSX 10.5

On Mon, Aug 31, 2009 at 6:12 PM, Niko
Schwarzniko.schw...@googlemail.com wrote:
 Hi,

 when I open the same file twice in lyx, it behaves very strangely. It
 crashes when I close the window which was second to be opened.

 I would recommend checking upon file opening if the file is open
 already and if so, bring it to the foreground.

 Cheers,

 Niko



Re: rotated table problem

2009-08-31 Thread Uwe Stöhr

Marcelo Acuña schrieb:



 In my koma-script book I chose to have two columns.
 The tables are displayed correctly, except when they are rotated. (I use the 
corresponding option, spam column.)
 In this case they begin in one of the columns and are partially outside the 
page leaving the rest of the page in blank.
 How I can solve this problem? 


Can you provide a small LyX example file?

regards Uwe


Re: How to install new packages to Lyx?

2009-08-31 Thread rgheck

On 08/31/2009 09:17 AM, ilias andronos wrote:

Στις 30-08-2009, ημέρα Κυρ, και ώρα 17:58 -0400, ο/η rgheck έγραψε:
   

On 08/30/2009 05:13 PM, dirac14 wrote:
 

I am a relatively new lyx user and this is my first post so please forgive
my total ignorance..

I ve searched for at least 3 hours to give myself the answer to the
subject's question and there are two possible scenarios : either it is kind
of trivial to install new packages to lyx and therefore i couldn't find any
answer or i did find it but i wasn't able to make it work !!!

The whole story began when i found out an outstanding package on CTAN for my
work, called hep(high energy physics) which promised to let me use Feynman
slashed characters and many more. But then i dealt with that horrible
problem! How to do it work properly and use it through the lyx menus like
all other stuff preinstalled in lyx??? And in general, what do i have to do
in order to install a new package and make it work as if it were
preinstalled in lyx?


   

I'm afraid that this is not in general possible---unless you want to
write the source code yourself and contribute it to LyX, which of course
would be welcome. That is to say: Every package that LyX natively
supports, it supports only because someone wrote the code that makes LyX
support it. To get the various particle names to display properly, for
example, the names have to be added to the unicodesymbols file, together
with code points in various fonts, etc. So it's not a trivial matter at all.

rh

 

I 'm afraid that i can't write the source code for this... But then
could you please find me any way to use slashed characters? That is any
character(mainly letters) with a / on it. Thanks for the reply.

   
You can use them as you wish, by entering whatever the raw LaTeX is. In 
math mode, you just type it; in non-math mode, you can enter the 
characters in ERT. You can do this with any LaTeX stuff that LyX does 
not support.


rh




Re: Opening the same file twice

2009-08-31 Thread Vincent van Ravesteijn

Niko Schwarz schreef:

Hi,

when I open the same file twice in lyx, it behaves very strangely. It
crashes when I close the window which was second to be opened.

I would recommend checking upon file opening if the file is open
already and if so, bring it to the foreground.

Cheers,

Niko
  
Can you give an exact recipe ? As you are on MacOSX, I assume that 
Tools-Preferences-Open Document in Tabs is unchecked, is that correct ?


Although Open Documents in Tabs is unchecked, it is possible to still 
open documents in tabs, did you see this ? If so, you might have hit: 
http://www.lyx.org/trac/ticket/5942.


If not, I just found: http://www.lyx.org/trac/ticket/6188.

Else, you should try LyX1.6.4 (coming soon for MacOsX) in which we have 
fixed e.g., bug 6162, 5646.


Vincent




Re: Opening the same file twice

2009-08-31 Thread Vincent van Ravesteijn

Vincent van Ravesteijn schreef:

Niko Schwarz schreef:

Hi,

when I open the same file twice in lyx, it behaves very strangely. It
crashes when I close the window which was second to be opened.

I would recommend checking upon file opening if the file is open
already and if so, bring it to the foreground.

Cheers,

Niko
  
Can you give an exact recipe ? As you are on MacOSX, I assume that 
Tools-Preferences-Open Document in Tabs is unchecked, is that correct ?


Although Open Documents in Tabs is unchecked, it is possible to still 
open documents in tabs, did you see this ? If so, you might have hit: 
http://www.lyx.org/trac/ticket/5942.


If not, I just found: http://www.lyx.org/trac/ticket/6188.

Else, you should try LyX1.6.4 (coming soon for MacOsX) in which we 
have fixed e.g., bug 6162, 5646.


Vincent

I think I already found the bug. It originated while introducing a 
feature for Mac users with the commit log: Present to Mac users: 
Session handling per document instead of per window when 'open document 
in tabs' is disabled. I hope it says more to you than it does to me. As 
a consequence we can have two views with the same ids if two the same 
files were opened.


I'll have to wait before fixing this, because I've no Mac, and I've no 
idea what this feature is.


Vincent


Re: LyX crashes when I attempt to edit a URL

2009-08-31 Thread Venable
On Mon, Aug 31, 2009 at 9:53 AM, Uwe Stöhruwesto...@web.de wrote:
 Venable schrieb:

 I am having trouble with LyX crashing when I try to edit urls. I am
 able to edit them within ERT boxes but when I try to click on one that
 is in a little gray box (i.e. just the letters URL visible, not the
 entire URL, although the URL looks well-formed in the LaTeX preview
 window), LyX freezes and then crashes

 Can you please provide a small LyX example file to reproduce?

 regards Uwe


Yes, here is a small example (I am appending text rather than
attaching the file but certainly could attach if that is more useful)

[begin file lyx-url-crash.lyx]


#LyX 1.6.4 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble

\end_preamble
\use_default_options false
\language english
\inputencoding latin9
\font_roman times
\font_sans default
\font_typewriter default
\font_default_family rmdefault
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize 12
\spacing single
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry true
\use_amsmath 2
\use_esint 0
\cite_engine natbib_authoryear
\use_bibtopic false
\paperorientation portrait
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author 
\author 
\end_header

\begin_body

\begin_layout Standard
Minimal example
\end_layout

\begin_layout Standard
Expanded link (blue
\begin_inset Quotes eld
\end_inset

URL
\begin_inset Quotes erd
\end_inset

 visible in gray box, url also visible in ERT box)
\end_layout

\begin_layout Standard
\noindent

\series bold
Course website:
\series default

\begin_inset Flex URL
status open

\begin_layout Plain Layout

http://www.yahoo.com
\end_layout

\end_inset


\end_layout

\begin_layout Standard
Crash-producing link (blue
\begin_inset Quotes eld
\end_inset

URL
\begin_inset Quotes erd
\end_inset

 visible in gray box, url itself is not visible in LyX but is visible in
 LaTeX Source window.
\end_layout

\begin_layout Standard
*
\emph on
World Development Indicators 2008: Poverty data
\emph default
, World Bank, December 2008.

\begin_inset Flex URL
status collapsed

\begin_layout Plain Layout

http://siteresources.worldbank.org/DATASTATISTICS/Resources/WDI08supplement1216.pdf
\end_layout

\end_inset


\end_layout

\end_body
\end_document



[end of file lyx-url-crash.lyx]

On Mon, Aug 31, 2009 at 9:53 AM, Uwe Stöhruwesto...@web.de wrote:
 Venable schrieb:

 I am having trouble with LyX crashing when I try to edit urls. I am
 able to edit them within ERT boxes but when I try to click on one that
 is in a little gray box (i.e. just the letters URL visible, not the
 entire URL, although the URL looks well-formed in the LaTeX preview
 window), LyX freezes and then crashes

 Can you please provide a small LyX example file to reproduce?

 regards Uwe



Help with LFUN_WORD_REPLACE

2009-08-31 Thread EditorJack

Esteemed Fellow LyXers:

I can't get LFUN_WORD_REPLACE to work. Here's the syntax I'm using in the
minibuffer:

word-replace foo bar

No dice. I'd be grateful for any help you're able to provide.

Thanks!

Best wishes,
Jack Lyon
The Editorium
http://www.editorium.com
-- 
View this message in context: 
http://n2.nabble.com/Help-with-LFUN-WORD-REPLACE-tp3556023p3556023.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: LyX crashes when I attempt to edit a URL

2009-08-31 Thread Uwe Stöhr

Venable schrieb:


Yes, here is a small example (I am appending text rather than
attaching the file but certainly could attach if that is more useful)


Please attach. My mail client screwed the format up making it unusable.

regards Uwe


Re: LyX crashes when I attempt to edit a URL

2009-08-31 Thread Vincent van Ravesteijn

Uwe Stöhr schreef:

Venable schrieb:


Yes, here is a small example (I am appending text rather than
attaching the file but certainly could attach if that is more useful)


Please attach. My mail client screwed the format up making it unusable.

regards Uwe

Here you go.

Vincent


testurl.lyx
Description: application/lyx


Re: LyX crashes when I attempt to edit a URL

2009-08-31 Thread Venable
On Mon, Aug 31, 2009 at 5:00 PM, Uwe Stöhruwesto...@web.de wrote:
 Venable schrieb:

 Yes, here is a small example (I am appending text rather than
 attaching the file but certainly could attach if that is more useful)

 Please attach. My mail client screwed the format up making it unusable.

 regards Uwe


Certainly.

Also, it occurs to me that a relevant detail may be that this file was
originally created in SWP, then exported to plain LaTex and imported
into LyX.

Many thanks.


lyx-url-crash.lyx
Description: Binary data


Re: Help with LFUN_WORD_REPLACE

2009-08-31 Thread Vincent van Ravesteijn

EditorJack schreef:

Esteemed Fellow LyXers:

I can't get LFUN_WORD_REPLACE to work. Here's the syntax I'm using in the
minibuffer:

word-replace foo bar

No dice. I'd be grateful for any help you're able to provide.
  

I can think of two solutions:

1: command-sequence word-find-forward foo; self-insert bar

2: word-replace foonewlinebarnewline

In the command buffer: To get the newline there, you could do the 
following: copy a newline from the lyx main text (beware not to copy a 
space+newline), paste this into the command buffer, delete all but the 
first 'character' you pasted.


Ok, this is a bit a hack... but I can't think of something better.

Vincent


Re: Help with LFUN_WORD_REPLACE

2009-08-31 Thread Jack Lyon
Sorry. In my last message, I said Vincent was brilliant but neglected to 
say about what. I was thinking of this:


 word-replace foonewlinebarnewline

 In the command buffer: To get the newline there, you could do the 
following: copy a newline from the lyx main text (beware not to copy a 
space+newline), paste this into the command buffer, delete all but the 
first 'character' you pasted.


But it doesn't work for me. In fact, I can't seem to paste a newline 
into the minibuffer.


Thanks again.

Best,
Jack

Vincent van Ravesteijn wrote:

EditorJack schreef:

Esteemed Fellow LyXers:

I can't get LFUN_WORD_REPLACE to work. Here's the syntax I'm using in 
the

minibuffer:

word-replace foo bar

No dice. I'd be grateful for any help you're able to provide.
  

I can think of two solutions:

1: command-sequence word-find-forward foo; self-insert bar

2: word-replace foonewlinebarnewline

In the command buffer: To get the newline there, you could do the 
following: copy a newline from the lyx main text (beware not to copy a 
space+newline), paste this into the command buffer, delete all but the 
first 'character' you pasted.


Ok, this is a bit a hack... but I can't think of something better.

Vincent






Re: How to install new packages to Lyx?

2009-08-31 Thread ilias andronos
Στις 31-08-2009, ημέρα Δευ, και ώρα 13:08 -0400, ο/η rgheck έγραψε:
 On 08/31/2009 09:17 AM, ilias andronos wrote:
  Στις 30-08-2009, ημέρα Κυρ, και ώρα 17:58 -0400, ο/η rgheck έγραψε:
 
  On 08/30/2009 05:13 PM, dirac14 wrote:
   
  I am a relatively new lyx user and this is my first post so please forgive
  my total ignorance..
 
  I ve searched for at least 3 hours to give myself the answer to the
  subject's question and there are two possible scenarios : either it is 
  kind
  of trivial to install new packages to lyx and therefore i couldn't find 
  any
  answer or i did find it but i wasn't able to make it work !!!
 
  The whole story began when i found out an outstanding package on CTAN for 
  my
  work, called hep(high energy physics) which promised to let me use Feynman
  slashed characters and many more. But then i dealt with that horrible
  problem! How to do it work properly and use it through the lyx menus like
  all other stuff preinstalled in lyx??? And in general, what do i have to 
  do
  in order to install a new package and make it work as if it were
  preinstalled in lyx?
 
 
 
  I'm afraid that this is not in general possible---unless you want to
  write the source code yourself and contribute it to LyX, which of course
  would be welcome. That is to say: Every package that LyX natively
  supports, it supports only because someone wrote the code that makes LyX
  support it. To get the various particle names to display properly, for
  example, the names have to be added to the unicodesymbols file, together
  with code points in various fonts, etc. So it's not a trivial matter at 
  all.
 
  rh
 
   
  I 'm afraid that i can't write the source code for this... But then
  could you please find me any way to use slashed characters? That is any
  character(mainly letters) with a / on it. Thanks for the reply.
 
 
 You can use them as you wish, by entering whatever the raw LaTeX is. In 
 math mode, you just type it; in non-math mode, you can enter the 
 characters in ERT. You can do this with any LaTeX stuff that LyX does 
 not support.
 
 rh
 


 
sorry for insisting but i tried searching with google how to enter these
characters and i came accross hep package again..i don't
understand..what is ERT?what exactly do i have to type in math mode in
order to get the slashed characters?? 



Re: How to install new packages to Lyx?

2009-08-31 Thread Nikos Alexandris
dirac14:  
   I am a relatively new lyx user and this is my first post so please 
   forgive
   my total ignorance..
  
   I ve searched for at least 3 hours to give myself the answer to the
   subject's question and there are two possible scenarios : either it is 
   kind
   of trivial to install new packages to lyx and therefore i couldn't find 
   any
   answer or i did find it but i wasn't able to make it work !!!
  
   The whole story began when i found out an outstanding package on CTAN 
   for my
   work, called hep(high energy physics) which promised to let me use 
   Feynman
   slashed characters and many more. But then i dealt with that horrible
   problem! How to do it work properly and use it through the lyx menus 
   like
   all other stuff preinstalled in lyx??? And in general, what do i have 
   to do
   in order to install a new package and make it work as if it were
   preinstalled in lyx?

rgheck:
   I'm afraid that this is not in general possible---unless you want to
   write the source code yourself and contribute it to LyX, which of course
   would be welcome. That is to say: Every package that LyX natively
   supports, it supports only because someone wrote the code that makes LyX
   support it. To get the various particle names to display properly, for
   example, the names have to be added to the unicodesymbols file, together
   with code points in various fonts, etc. So it's not a trivial matter at 
   all.

ilias andronos:
   I 'm afraid that i can't write the source code for this... But then
   could you please find me any way to use slashed characters? That is any
   character(mainly letters) with a / on it. Thanks for the reply.

rgheck:
  You can use them as you wish, by entering whatever the raw LaTeX is. In 
  math mode, you just type it; in non-math mode, you can enter the 
  characters in ERT. You can do this with any LaTeX stuff that LyX does 
  not support.

ilias andronos:
 sorry for insisting but i tried searching with google how to enter these
 characters and i came accross hep package again..i don't
 understand..what is ERT?what exactly do i have to type in math mode in
 order to get the slashed characters?? 

Ηλία,

an ERT means (for some people) Evil Red Text that does the (La)TeX
magic within a LyX document [1].

Basically you press Ctrl+L ( or via the menu you go Insert  TeX Code )
and you enter... well, TeX Code! For example, if you press Ctrl+L and
enter within the (Evil) red box the command \dots (without the double
quotes) you will get three dots.

However, I have no idea what exactly you have to type to get the /
over a(ny) character.

Nikos
---

[1] http://wiki.lyx.org/FAQ/ERT

(
Ufortunately the link A Brief History of ERT seems to be broken :-(
)



Re: How to install new packages to Lyx?

2009-08-31 Thread Christian Liesen
Hi,


 sorry for insisting but i tried searching with google how to enter these
 characters and i came accross hep package again..i don't
 understand..


You will need to install the hep package just as you would with any
additional TeX package on your system, i.e. by downloading it from CTAN,
processing it with latex and putting the results in your texmf-folder. See
http://www.inf.ed.ac.uk/systems/tex/new-packages.html and also
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages for
instructions. It may look intimidating at first, but it's really not that
hard.

Once installed, you need to reconfigure LyX and restart it -- otherwise LyX
will not know that there's a new package around.

You can then call the package in your document's preamble with
\usepackage{hep} or whatever's its name. Then, and only then, you can make
use of ERT to produce the characters you want.


 what is ERT?what exactly do i have to type in math mode in
 order to get the slashed characters??


ERT is explained in the LyX wiki (and many other very useful things are as
well), see http://wiki.lyx.org/FAQ/ERT. The basic idea is that you can enter
raw LaTeX-code anywhere in your document, an option that does come in handy
from time to time.

For example, your hep package may allow for something like, say, \coolsymbol
as a raw LaTeX-command in order to produce, well -- some cool symbol in the
PDF output. Simply enter \coolsymbol in ERT in your LyX document where you
want it (as explained by Nikos a couple minutes ago) to get the same result.

Hope this helps,
-- Christian


Re: How to install new packages to Lyx?

2009-08-31 Thread rgheck

On 08/31/2009 06:22 PM, ilias andronos wrote:

sorry for insisting but i tried searching with google how to enter these
characters and i came accross hep package again..i don't
understand..what is ERT?what exactly do i have to type in math mode in
order to get the slashed characters??

   
Let's say a slashed a is entered in LaTeX as: \slasheda. (I have no 
idea what it really is. Presumably the hep manual will tell you.) Then 
in math mode, enter \slasheda and then a space. You'll see exactly 
that, but if you ViewDVI ir ViewPDF or whatever (and have 
\usepackage{hep} in your preamble), then you'll see the slashed 
character in the output. It's just that LyX doesn't know how to display 
it, so it displays the raw LaTeX.


As for ERT, this is also called TeX Mode, and it's activated by 
InsertTeX Mode. It again allows you to insert raw LaTeX into the document.


rh



Re: How to install new packages to Lyx?

2009-08-31 Thread rgheck

On 08/31/2009 06:59 PM, Christian Liesen wrote:

You will need to install the hep package just as you would with any
additional TeX package on your system, i.e. by downloading it from CTAN,
processing it with latex and putting the results in your texmf-folder. See
http://www.inf.ed.ac.uk/systems/tex/new-packages.html and also
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages for
instructions. It may look intimidating at first, but it's really not that
hard.

Once installed, you need to reconfigure LyX and restart it -- otherwise LyX
will not know that there's a new package around.

   
If it's just a random package that LyX doesn't know about, then you 
don't have to reconfigure LyX. LyX isn't hep aware, so it  What you 
will need to do, as always, is run texhash, or whatever, to update the 
LaTeX databases.


rh



Memoir, books... page-breaks for boxes

2009-08-31 Thread Frederick Noronha [फ़रेदरिक नोरो नया]
I'm using (mostly) Memoire class for books, but can't seem to get my
page-breaks working for long boxes (which span more than one page).
Could someone help me... Thanks! FN
-- 
FN +91-9822122436 P +91-832-2409490
Konkani adages  http://konkani-adages.notlong.com/
Medieval Goa http://medieval-goa.notlong.com/


Re: LyX crashes when I attempt to edit a URL

2009-08-31 Thread Uwe Stöhr

Venable schrieb:


I use LyX 1.6.4 on Windows XP.


Me too.


I am having trouble with LyX crashing when I try to edit urls. I am
able to edit them within ERT boxes but when I try to click on one that
is in a little gray box (i.e. just the letters URL visible, not the
entire URL, although the URL looks well-formed in the LaTeX preview
window), LyX freezes and then crashes with the following popup error
message:


I cannot reproduce this. I can click at, in, or beside the URL box or its label 
without any problems.
How was your LyX 1.6.4 installed? Was it a fresh installation or have you installed it over an 
existing LyX installation?


regards Uwe


Re: LyX indexing anomaly

2009-08-31 Thread Jürgen Spitzmüller
Steve Litt wrote:
> > The correct solution would be to put the "|" character in an ERT.
> 
> That's not a very good solution because it forces the user to do extra work
>  in every index range of every document, and also gravely increases the
>  troubleshooting effort if the user messes up the nesting of |( and |).

As I've explained on trac, ERT is the correct solution because "|" is an 
active character and thus "native" LaTeX (that is actually not yet natively 
supported by LyX).

It is pure coincidence that it also works without ERT in T1. So T1 and non-ERT 
is the exception, ERT is the rule (unless we have native support).

>  From my perspective as a book author, T1 would be preferable to ERT, and
>  even my silly kludge script would be preferable.

This only works if T1 is the desired font encoding. For any other than Latin 
script, it won't. So it's a pretty limited workaround.

> T1, ERT and my script are all workarounds. The SOLUTION would involve
> recognition by LyX that |( or |) at the end of a string inside an IDX tag
> defines a range, so do not convert the pipe symbol to \textbar etc. 

No, automatic fiddling behind the user's back is not an option.

> Or, if
> that's impossible, when the LyX user requests an index tag, pop up a dialog
> box asking the name and whether it's begin-range, end-range, or
>  this-location.

Yes, something like this.

Jürgen


Re: words out of right margin with

2009-08-31 Thread Piero
 
> Or subsitute breakable slashes for the slashes (usually: type ctrl-/ instead 
> of just /).


I always had this problem.
And I would NEED a non-breakable slash or "-". 
Don't know if it's a hyphenation 
problem. Will send an example.






Re: Text on right, images on left

2009-08-31 Thread Anthony Campbell
On 30 Aug 2009, L Duperval wrote:
> Hi,
> 
> I want to create a booklet which has text on the right-hand page, while 
> the left-hand page contains a graph, an image, a table or something 
> similar.
> 
> I suppose I can do this manually by inserting page breaks all over but is 
> there a package that controls such flow automatically?
> 
> Thanks, 
> 
> L

Interesting. I was trying to do exactly the same thing as you a week ago
and, like you, came to the conclusion it was fiendishly difficult. In
the end I settled for putting all the figures at the beginning of each
chapter and following this with the text. Actually, this probably works
better for my purpose, but I thought I was probably being wimpish by not
being able to implement the L/R split. But now I feel a bit better about
my failure.

Anthony


-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



RE: Will Lyx run on Mac OS X 10.6?

2009-08-31 Thread Vincent van Ravesteijn - TNW
>I am currently testing Lyx 1.6.4 under Snow Leopard,
>the official release. After about 5 minutes, a pop up
>window appeared reporting that Lyx crashed. My console
>report looks alot like the one in the bug report (link
>below). 

Thanks for the info and confirmation of bug 6160. It will be difficult
to fix this as, I guess, we don't have a developer using Snow Leopard.
So, if you have any hints, please let us know.

>Bill

Vincent


Re: Text on right, images on left

2009-08-31 Thread Guenter Milde
On 2009-08-30, L Duperval wrote:
> Hi,

> I want to create a booklet which has text on the right-hand page, while 
> the left-hand page contains a graph, an image, a table or something 
> similar.

> I suppose I can do this manually by inserting page breaks all over but is 
> there a package that controls such flow automatically?

While not providing a bullet-proof automatic solution, you could try to set
Document>Settings>Float Placement to "Page of floats". 

If there is the right number of floats in your document, this should
generate a "flaots page" every second page...

Günter



Re: Custom box inset and custom bullets

2009-08-31 Thread Guenter Milde
On 2009-08-30, Nick Bell wrote:
> Guenter Milde  writes:
>> Or with the GUI in Document>Settings>...

> No, I wanted to do it on a per-list basis.

Then, the enumitem module (search for it in wiki.lyx.org) might help: it
adds an optional argument for lists (available under the misnamed
"Insert>Short Title" menu entry) which you can use to set a custom bullet
style.

Günter



Re: Text on right, images on left

2009-08-31 Thread Helge Hafting

L Duperval wrote:

Hi,

I want to create a booklet which has text on the right-hand page, while 
the left-hand page contains a graph, an image, a table or something 
similar.


I suppose I can do this manually by inserting page breaks all over but is 
there a package that controls such flow automatically?


Could be tricky, unless such a package exists. Here are some ideas:

* Uncheck two-sided document, to get a single-sided layout.
* Set a custom paper size, so that one page output by LyX
  covers *both* of the real pages.

  I.e. if your plan is an A4 portrait book, then set the document to
  be A3 landscape.

* Specify an enormous left margin, so that normal text actually
  print on the right half of the "double" page. This way,
  you get text on the right-hand side, just the way you want.

* Put your figures in "margin notes", which will appear to
  the left. With some tweaking of the margin separation, they
  will be the way you want.

There is one problem here, the page numbers won't be right. So this 
won't work if you need page numbers.



Another way, that won't work with page numbers either:

* Create your document normally in LyX. Put figures in floats,
  and set the floats to be on separate "float pages".

* A page will now be either text or figure, never both. But
  you will probably not get this to match odd and even pages
  exactly.

  So the last part of the job is to make a PDF with LyX, and then use
  pdf tools to rearrange the pages the way you want them.

Helge Hafting


Formatting all hyperlinks with a TT-font

2009-08-31 Thread Christian Liesen

Hi LyX users,

I would like to make all hyperlinks in my report more distinguishable  
by formatting them in a typewriter font (\ttfamily). How do I do that?  
I could't find anything about it in the hyperref-documentation, the  
wiki or this list's archives.


I'm on LyX 1.6.3 for Mac OS X. My document uses the report (KOMA- 
script) class and my preamble reads as follows:


\usepackage{microtype}
\usepackage{ellipsis}
\usepackage{fixltx2e}

\usepackage[pdftex]{hyperref}
\hypersetup{%
a4paper,
colorlinks=true,
citecolor=black,
urlcolor=cyan,
pdftitle={foo},
pdfauthor={foo},
pdfkeywords={foo},
pdfcreator={LyX 1.6.3 with pdfTeX},
pdfdisplaydoctitle=true
}


I would appreciate any help on how to accomplish this.

-- Christian



Re: Will Lyx run on Mac OS X 10.6?

2009-08-31 Thread Johannes Knaus

Hello again,

My Snow Leopard DVD just arrived, so I'm starting my testing today.
My question now to the developers around:
I'm by far no developer but I successfully compiled some unix apps on  
my own. So I would try to build a 10.6-Lyx on my own (well slowly, as  
I find time).
What prerequisites do I need (QT, which version?) or do you think  
that's by far too complicated?


BTW, I found out that there's a QT-bug within the QT from Macports  
which is not in the original QT, see:

http://trac.macports.org/ticket/20435
http://trac.macports.org/ticket/20937

Johannes

Is this a hard thing to
Am 31.08.2009 um 09:56 schrieb Vincent van Ravesteijn - TNW:


I am currently testing Lyx 1.6.4 under Snow Leopard,
the official release. After about 5 minutes, a pop up
window appeared reporting that Lyx crashed. My console
report looks alot like the one in the bug report (link
below).


Thanks for the info and confirmation of bug 6160. It will be difficult
to fix this as, I guess, we don't have a developer using Snow Leopard.
So, if you have any hints, please let us know.


Bill


Vincent




Re: How to install new packages to Lyx?

2009-08-31 Thread ilias andronos
Στις 30-08-2009, ημέρα Κυρ, και ώρα 17:58 -0400, ο/η rgheck έγραψε:
> On 08/30/2009 05:13 PM, dirac14 wrote:
> > I am a relatively new lyx user and this is my first post so please forgive
> > my total ignorance..
> >
> > I ve searched for at least 3 hours to give myself the answer to the
> > subject's question and there are two possible scenarios : either it is kind
> > of trivial to install new packages to lyx and therefore i couldn't find any
> > answer or i did find it but i wasn't able to make it work !!!
> >
> > The whole story began when i found out an outstanding package on CTAN for my
> > work, called hep(high energy physics) which promised to let me use Feynman
> > slashed characters and many more. But then i dealt with that horrible
> > problem! How to do it work properly and use it through the lyx menus like
> > all other stuff preinstalled in lyx??? And in general, what do i have to do
> > in order to install a new package and make it work as if it were
> > preinstalled in lyx?
> >
> >
> I'm afraid that this is not in general possible---unless you want to 
> write the source code yourself and contribute it to LyX, which of course 
> would be welcome. That is to say: Every package that LyX natively 
> supports, it supports only because someone wrote the code that makes LyX 
> support it. To get the various particle names to display properly, for 
> example, the names have to be added to the unicodesymbols file, together 
> with code points in various fonts, etc. So it's not a trivial matter at all.
> 
> rh
> 

I 'm afraid that i can't write the source code for this... But then
could you please find me any way to use slashed characters? That is any
character(mainly letters) with a "/" on it. Thanks for the reply.




Re: Formatting all hyperlinks with a TT-font

2009-08-31 Thread Uwe Stöhr

Christian Liesen schrieb:

I would like to make all hyperlinks in my report more distinguishable by 
formatting them in a typewriter font (\ttfamily). How do I do that?


See the attached LyX file. Look in its preamble to see how this is done this.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: LyX crashes when I attempt to edit a URL

2009-08-31 Thread Uwe Stöhr

Venable schrieb:


I am having trouble with LyX crashing when I try to edit urls. I am
able to edit them within ERT boxes but when I try to click on one that
is in a little gray box (i.e. just the letters "URL" visible, not the
entire URL, although the URL looks well-formed in the LaTeX preview
window), LyX freezes and then crashes 


Can you please provide a small LyX example file to reproduce?

regards Uwe


Re: LyX indexing anomaly

2009-08-31 Thread Steve Litt
On Monday 31 August 2009 03:17:53 Jürgen Spitzmüller wrote:
> Steve Litt wrote:

> > Or, if
> > that's impossible, when the LyX user requests an index tag, pop up a
> > dialog box asking the name and whether it's begin-range, end-range, or
> >  this-location.
>
> Yes, something like this.
>
> Jürgen

OK, then let's do it with something like this.

SteveT

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




Re: pdfpages problem

2009-08-31 Thread Marcelo Acuña
>> I want to put a cover made in pdf file.
>> I put \usepackage{pdfpages} in preamble
>> and Insert the file but I get
>>  Undefined control sequence
>> error.
 
> Use the external inset. Insert > File > External
> Material and select "pdfpages".
> Jürgen

Yes, I was using it of that form.
I already discovered the cause of the problem.
As \addtoreset... does not work in my document I had to put ERT with 
\setcounter... at the end of each section.
Negligently I put them at the end of each section or at the end of the title of 
each new section.
All these last ones produced the error when trying to use the pdfpages.
 Thanks Jürgen!

 Marcelo


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: Formatting all hyperlinks with a TT-font

2009-08-31 Thread Christian Liesen

Works like a charm, many thanks!


Am 31.08.2009 um 15:36 schrieb Uwe Stöhr:


Christian Liesen schrieb:

I would like to make all hyperlinks in my report more  
distinguishable by formatting them in a typewriter font  
(\ttfamily). How do I do that?


See the attached LyX file. Look in its preamble to see how this is  
done this.


regards Uwe





rotated table problem

2009-08-31 Thread Marcelo Acuña
Hello,
 In my koma-script book I chose to have two columns.
 The tables are displayed correctly, except when they are rotated. (I use the 
corresponding option, spam column.)
 In this case they begin in one of the columns and are partially outside the 
page leaving the rest of the page in blank.
 How I can solve this problem? 

Marcelo Acuña
 visitá mi sitio web http://www.aleph-uno.com.ar 
==


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Opening the same file twice

2009-08-31 Thread Niko Schwarz
Hi,

when I open the same file twice in lyx, it behaves very strangely. It
crashes when I close the window which was second to be opened.

I would recommend checking upon file opening if the file is open
already and if so, bring it to the foreground.

Cheers,

Niko


Re: Opening the same file twice

2009-08-31 Thread Niko Schwarz
Maybe I should clarify: I'm using 1.6.3 on OSX 10.5

On Mon, Aug 31, 2009 at 6:12 PM, Niko
Schwarz wrote:
> Hi,
>
> when I open the same file twice in lyx, it behaves very strangely. It
> crashes when I close the window which was second to be opened.
>
> I would recommend checking upon file opening if the file is open
> already and if so, bring it to the foreground.
>
> Cheers,
>
> Niko
>


Re: rotated table problem

2009-08-31 Thread Uwe Stöhr

Marcelo Acuña schrieb:



 In my koma-script book I chose to have two columns.
 The tables are displayed correctly, except when they are rotated. (I use the 
corresponding option, spam column.)
 In this case they begin in one of the columns and are partially outside the 
page leaving the rest of the page in blank.
 How I can solve this problem? 


Can you provide a small LyX example file?

regards Uwe


Re: How to install new packages to Lyx?

2009-08-31 Thread rgheck

On 08/31/2009 09:17 AM, ilias andronos wrote:

Στις 30-08-2009, ημέρα Κυρ, και ώρα 17:58 -0400, ο/η rgheck έγραψε:
   

On 08/30/2009 05:13 PM, dirac14 wrote:
 

I am a relatively new lyx user and this is my first post so please forgive
my total ignorance..

I ve searched for at least 3 hours to give myself the answer to the
subject's question and there are two possible scenarios : either it is kind
of trivial to install new packages to lyx and therefore i couldn't find any
answer or i did find it but i wasn't able to make it work !!!

The whole story began when i found out an outstanding package on CTAN for my
work, called hep(high energy physics) which promised to let me use Feynman
slashed characters and many more. But then i dealt with that horrible
problem! How to do it work properly and use it through the lyx menus like
all other stuff preinstalled in lyx??? And in general, what do i have to do
in order to install a new package and make it work as if it were
preinstalled in lyx?


   

I'm afraid that this is not in general possible---unless you want to
write the source code yourself and contribute it to LyX, which of course
would be welcome. That is to say: Every package that LyX natively
supports, it supports only because someone wrote the code that makes LyX
support it. To get the various particle names to display properly, for
example, the names have to be added to the unicodesymbols file, together
with code points in various fonts, etc. So it's not a trivial matter at all.

rh

 

I 'm afraid that i can't write the source code for this... But then
could you please find me any way to use slashed characters? That is any
character(mainly letters) with a "/" on it. Thanks for the reply.

   
You can use them as you wish, by entering whatever the raw LaTeX is. In 
math mode, you just type it; in non-math mode, you can enter the 
characters in ERT. You can do this with any LaTeX stuff that LyX does 
not support.


rh




Re: Opening the same file twice

2009-08-31 Thread Vincent van Ravesteijn

Niko Schwarz schreef:

Hi,

when I open the same file twice in lyx, it behaves very strangely. It
crashes when I close the window which was second to be opened.

I would recommend checking upon file opening if the file is open
already and if so, bring it to the foreground.

Cheers,

Niko
  
Can you give an exact recipe ? As you are on MacOSX, I assume that 
Tools->Preferences->Open Document in Tabs is unchecked, is that correct ?


Although Open Documents in Tabs is unchecked, it is possible to still 
open documents in tabs, did you see this ? If so, you might have hit: 
http://www.lyx.org/trac/ticket/5942.


If not, I just found: http://www.lyx.org/trac/ticket/6188.

Else, you should try LyX1.6.4 (coming soon for MacOsX) in which we have 
fixed e.g., bug 6162, 5646.


Vincent




Re: Opening the same file twice

2009-08-31 Thread Vincent van Ravesteijn

Vincent van Ravesteijn schreef:

Niko Schwarz schreef:

Hi,

when I open the same file twice in lyx, it behaves very strangely. It
crashes when I close the window which was second to be opened.

I would recommend checking upon file opening if the file is open
already and if so, bring it to the foreground.

Cheers,

Niko
  
Can you give an exact recipe ? As you are on MacOSX, I assume that 
Tools->Preferences->Open Document in Tabs is unchecked, is that correct ?


Although Open Documents in Tabs is unchecked, it is possible to still 
open documents in tabs, did you see this ? If so, you might have hit: 
http://www.lyx.org/trac/ticket/5942.


If not, I just found: http://www.lyx.org/trac/ticket/6188.

Else, you should try LyX1.6.4 (coming soon for MacOsX) in which we 
have fixed e.g., bug 6162, 5646.


Vincent

I think I already found the bug. It originated while introducing a 
feature for Mac users with the commit log: "Present to Mac users: 
Session handling per document instead of per window when 'open document 
in tabs' is disabled." I hope it says more to you than it does to me. As 
a consequence we can have two views with the same ids if two the same 
files were opened.


I'll have to wait before fixing this, because I've no Mac, and I've no 
idea what this feature is.


Vincent


Re: LyX crashes when I attempt to edit a URL

2009-08-31 Thread Venable
On Mon, Aug 31, 2009 at 9:53 AM, Uwe Stöhr wrote:
> Venable schrieb:
>
>> I am having trouble with LyX crashing when I try to edit urls. I am
>> able to edit them within ERT boxes but when I try to click on one that
>> is in a little gray box (i.e. just the letters "URL" visible, not the
>> entire URL, although the URL looks well-formed in the LaTeX preview
>> window), LyX freezes and then crashes
>
> Can you please provide a small LyX example file to reproduce?
>
> regards Uwe
>

Yes, here is a small example (I am appending text rather than
attaching the file but certainly could attach if that is more useful)

[begin file lyx-url-crash.lyx]


#LyX 1.6.4 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble

\end_preamble
\use_default_options false
\language english
\inputencoding latin9
\font_roman times
\font_sans default
\font_typewriter default
\font_default_family rmdefault
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize 12
\spacing single
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry true
\use_amsmath 2
\use_esint 0
\cite_engine natbib_authoryear
\use_bibtopic false
\paperorientation portrait
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author ""
\author ""
\end_header

\begin_body

\begin_layout Standard
Minimal example
\end_layout

\begin_layout Standard
Expanded link (blue
\begin_inset Quotes eld
\end_inset

URL
\begin_inset Quotes erd
\end_inset

 visible in gray box, url also visible in ERT box)
\end_layout

\begin_layout Standard
\noindent

\series bold
Course website:
\series default

\begin_inset Flex URL
status open

\begin_layout Plain Layout

http://www.yahoo.com
\end_layout

\end_inset


\end_layout

\begin_layout Standard
Crash-producing link (blue
\begin_inset Quotes eld
\end_inset

URL
\begin_inset Quotes erd
\end_inset

 visible in gray box, url itself is not visible in LyX but is visible in
 LaTeX Source window.
\end_layout

\begin_layout Standard
*
\emph on
World Development Indicators 2008: Poverty data
\emph default
, World Bank, December 2008.

\begin_inset Flex URL
status collapsed

\begin_layout Plain Layout

http://siteresources.worldbank.org/DATASTATISTICS/Resources/WDI08supplement1216.pdf
\end_layout

\end_inset


\end_layout

\end_body
\end_document



[end of file lyx-url-crash.lyx]

On Mon, Aug 31, 2009 at 9:53 AM, Uwe Stöhr wrote:
> Venable schrieb:
>
>> I am having trouble with LyX crashing when I try to edit urls. I am
>> able to edit them within ERT boxes but when I try to click on one that
>> is in a little gray box (i.e. just the letters "URL" visible, not the
>> entire URL, although the URL looks well-formed in the LaTeX preview
>> window), LyX freezes and then crashes
>
> Can you please provide a small LyX example file to reproduce?
>
> regards Uwe
>


Help with LFUN_WORD_REPLACE

2009-08-31 Thread EditorJack

Esteemed Fellow LyXers:

I can't get LFUN_WORD_REPLACE to work. Here's the syntax I'm using in the
minibuffer:

word-replace foo bar

No dice. I'd be grateful for any help you're able to provide.

Thanks!

Best wishes,
Jack Lyon
The Editorium
http://www.editorium.com
-- 
View this message in context: 
http://n2.nabble.com/Help-with-LFUN-WORD-REPLACE-tp3556023p3556023.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: LyX crashes when I attempt to edit a URL

2009-08-31 Thread Uwe Stöhr

Venable schrieb:


Yes, here is a small example (I am appending text rather than
attaching the file but certainly could attach if that is more useful)


Please attach. My mail client screwed the format up making it unusable.

regards Uwe


Re: LyX crashes when I attempt to edit a URL

2009-08-31 Thread Vincent van Ravesteijn

Uwe Stöhr schreef:

Venable schrieb:


Yes, here is a small example (I am appending text rather than
attaching the file but certainly could attach if that is more useful)


Please attach. My mail client screwed the format up making it unusable.

regards Uwe

Here you go.

Vincent


testurl.lyx
Description: application/lyx


Re: LyX crashes when I attempt to edit a URL

2009-08-31 Thread Venable
On Mon, Aug 31, 2009 at 5:00 PM, Uwe Stöhr wrote:
> Venable schrieb:
>
>> Yes, here is a small example (I am appending text rather than
>> attaching the file but certainly could attach if that is more useful)
>
> Please attach. My mail client screwed the format up making it unusable.
>
> regards Uwe
>

Certainly.

Also, it occurs to me that a relevant detail may be that this file was
originally created in SWP, then exported to plain LaTex and imported
into LyX.

Many thanks.


lyx-url-crash.lyx
Description: Binary data


Re: Help with LFUN_WORD_REPLACE

2009-08-31 Thread Vincent van Ravesteijn

EditorJack schreef:

Esteemed Fellow LyXers:

I can't get LFUN_WORD_REPLACE to work. Here's the syntax I'm using in the
minibuffer:

word-replace foo bar

No dice. I'd be grateful for any help you're able to provide.
  

I can think of two solutions:

1: "command-sequence word-find-forward foo; self-insert bar"

2: "word-replace foobar"

In the command buffer: To get the  there, you could do the 
following: copy a newline from the lyx main text (beware not to copy a 
space+newline), paste this into the command buffer, delete all but the 
first 'character' you pasted.


Ok, this is a bit a hack... but I can't think of something better.

Vincent


  1   2   >