Re: elyxer trouble

2011-05-26 Thread Alex Fernandez
Hi again,

On Thu, May 26, 2011 at 12:58 AM, Neal Becker ndbeck...@gmail.com wrote:
 What browser are you using? Some old versions of IE may show HTML
 better than XHTML. Anyway you can add the --html option within LyX,
 adding it to the Converters section in the Preferences:
   http://www.nongnu.org/elyxer/userguide.html#toc-Subsubsection--12

 This is wierd.  If run from lyx export html, I see:

 Line 3: * Warning: unsupported new format version 413
 Line 150: * Formula beginning \begin_inset Formula  is unknown
 Line 150: * Unparsed formula line \begin_inset Formula
 Line 151: * Unparsed formula line \[
 Line 152: * Unparsed formula line F_{n}=\sum r_{i}x_{i}^{*}e^{2\pi 
 i\Delta_{f}n}
 Line 153: * Unparsed formula line \]

 But if run from command line:
 elyxer.py ../non-periodic.lyx ./non-periodic.html
 Line 55: Title: ... (no error/warning)

It would appear that something is different between both situations.
Maybe you are running two different versions of eLyXer, or perhaps you
are exporting the document to another LyX format. The first error
appears when parsing formulas in LyX 2.0 -- it has already been
corrected in git and will be there for the next version.

As this problem is a bit specific of eLyXer, I suggest that we stop
CC'ing lyx-users, if you want.

Alex.


Re: Problem with a graph and its title

2011-05-26 Thread Julio Rojas
The only way it is unclickable (does this word exist?) is if you are inside
an environment which doesn't allow it. You should be, inside the float, IN
THE SAME LINE as your image. Then it should be allowed.

Regards.

P.S.: Reply also to the list, so answers are shared by everybody.
-
Julio Rojas
jcredbe...@gmail.com


On Thu, May 26, 2011 at 9:37 AM, Mike Bonhoff lyx-u...@gmx.de wrote:

 Hi Julio,

 I found the Paragraph settings button. But unfortunately I couldn't
 choose centered for alignment because it was unclickable (it was in grey).
 There I could only choose left, grouped style style of the paragraph
 (grouped style); all of those doesn't do the job.

 Do you have an idea why this is unclickable?

 Thanks, Mike!

  Original-Nachricht 
  Datum: Tue, 24 May 2011 14:01:11 +0200
  Von: Julio Rojas jcredbe...@gmail.com
  An: Mike Bonhoff lyx-u...@gmx.de
  CC: lyx-users@lists.lyx.org
  Betreff: Re: Problem with a graph and its title

  Dear Mike, on your first question, you do like you'll do with text. Just
  put
  the cursor on the line where the figure is, and click on the Paragraph
  settings button. Select Center for alignment, and voilá.
 
  Regards.
  -
  Julio Rojas
  jcredbe...@gmail.com
 
 
  On Tue, May 24, 2011 at 1:34 PM, Mike Bonhoff lyx-u...@gmx.de wrote:
 
   Hallo,
  
   I wanna make a graph and give it a title, say name. I think this name
  is
   written under the graph normally. So I think creating a figure must be
  the
   right thing.
  
   So I clicked Insert-Float-figure and gave the figure the name and
   inserted the graph.
  
   But I have 2 problems:
  
   1st: The name is centered, that means in the middle of the paper to
  the
   left and right. On the other hand, my figure is on the left side.
  
   I don't know how I can center the figure, too. I read the handbook
  (German
   version) and there were some hints, especially for importing existing
   figures, but not a lot of hints how to create such a figure by
 yourself.
  
   2nd: I wanted to create an undirected graph and choose to do it with an
   x-y-pic-matrix with this code within the math mode:
  
   \xymatrix{a\dir[dr]bc\\def}
  
   That creates an xy-pic-matrix with 2 rows (because of the \\ command)
  and 3
   rows (because of the 2-times  command).
   \dir[dr] makes an arc to the element which is one step below (d for
  down)
   and one element to the right (r for right). I used to write \dir@
 {-}[dr]
   instead of \dir[dr] because that made an undirected edge instead of an
  arc.
   But that doesn't work anymore; I don't know why.
  
   Is there a better way to do that, for example with tikz, and is it easy
  to
   use that within lyx? If not, how can I create simple edges in that
   xy-pic-environment and place the title under the figure.
  
   Thanks!
  
   Mike Bonhoff
   --
   NEU: FreePhone - kostenlos mobil telefonieren!
   Jetzt informieren: http://www.gmx.net/de/go/freephone
  

 --
 Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
 belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de



Pasting from pdf

2011-05-26 Thread Andrew Parsloe
When I copy text from a pdf to the clipboard and paste into Word 95, 
Open Office or Abiword, the pasted text retains underlining, bolding and 
emphasis (italics). When I paste into LyX these are lost. It would be a 
real enhancement if LyX were to retain these styles. Is there a deep 
reason for LyX's failure here (or the even deeper reason of lack of an 
interested developer)?


At present, I have some journals to edit. The publisher sent them to me 
as pdf documents. I find I can copy a pdf and paste into Abiword, then 
save from Abiword as a Latex document, open that in Notepad++, 
find--replace all the extra spacing commands, and finally import that 
document into LyX. I get there in the end, but it's a roundabout process.


Andrew


Re: Pasting from pdf

2011-05-26 Thread Julio Rojas
I believe, dear Andrew, this is philosophical in nature. Lyx is based on
Latex, so text is text, independently of how it looks in a PDF. Text changes
its attributes depending on which environment it is included, information
which I believe, would be impossible to get from a PDF via copy-paste.

Making some text as Bold-Italic-Numbered-Size 14-Roman can be done in Lyx,
but it is much better to say that such text is in a Section environment,
because when changes on the document style are made, you only have to make
them once, and not throughout the document, at every instance of said
format. Finger painting, what you need, is not the way to go in Lyx/Latex.
It should be avoided like the plague.

I hope you see the need for this approach. Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Thu, May 26, 2011 at 11:17 AM, Andrew Parsloe apars...@clear.net.nzwrote:

 When I copy text from a pdf to the clipboard and paste into Word 95, Open
 Office or Abiword, the pasted text retains underlining, bolding and emphasis
 (italics). When I paste into LyX these are lost. It would be a real
 enhancement if LyX were to retain these styles. Is there a deep reason for
 LyX's failure here (or the even deeper reason of lack of an interested
 developer)?

 At present, I have some journals to edit. The publisher sent them to me as
 pdf documents. I find I can copy a pdf and paste into Abiword, then save
 from Abiword as a Latex document, open that in Notepad++, find--replace all
 the extra spacing commands, and finally import that document into LyX. I get
 there in the end, but it's a roundabout process.

 Andrew



Re: Lyx 2.0 Fedora 14 , error with parent and child document

2011-05-26 Thread José Matos
On Wednesday 25 May 2011 15:15:39 ajaucot wrote:
 Hello,
 
 In a master file, the same child file is input twice (with
 insert/file/child).
 When using Lyx 1.6 and older versions, visualization in PDF run well,
 but with Lyx 2.0.0, the first input is executed, but the second one give
 an error message, saying it is unable to load the child document.
 I don't know if it is a bug or simply a configuration problem on my
 system (Fedora 14)? The 2 files attached illustrate the problem.

I can reproduce the error with Fedora 15 but I suspect that this is unrelated 
with Fedora.

 Could you please help me with this issue?

For the moment a workaround is to copy its content for a file with another 
name, like:

$ cp -a insere02.lyx insere01.lyx

Again this is just to workaround for the (silly) bug.

 Thank you for your help

I am CC'ing this message to the devel-list.
-- 
José Abílio


Re: Pasting from pdf

2011-05-26 Thread Trevor Jenkins
On Thu, May 26, 2011 at 10:31 AM, Julio Rojas jcredbe...@gmail.com wrote:

Making some text as Bold-Italic-Numbered-Size 14-Roman can be done in Lyx,
 but it is much better to say that such text is in a Section environment,
 because when changes on the document style are made, you only have to make
 them once, and not throughout the document, at every instance of said
 format. Finger painting, what you need, is not the way to go in Lyx/Latex.
 It should be avoided like the plague.

 I hope you see the need for this approach. Regards.


Many years ago (a couple of decades at least) there was a paper presented at
a SigDoc conference, I think it was, on some initial attempts to infer
structural markup from procedural. This project must have been sometime in
the late 1980s (certainly post 1986 and the ISO's publication of ISO 8879
SGML) and the early 1990s. I place it in that time frame because of SGML
being an International Standard and the governmental procurement processes
that mandate the use of standards over ad hoc solutions, which procedural
markup is, and system suppliers not wishing to lose business because they
could deal with the new published standard. At this moment I can't lay my
hands on my copy of those proceedings but I do recall that the procedural
editor being used was WPS-PLUS.

Although I was never involved in that project it did appear to be a sensible
way to convert from old-fashioned procedural to modern structural markup. I
jotted down some OPS-5-like rules in an attempt to create an expert system
that would ease this conversion. And in moments of craziness return to them
adding more and more special cases to cover how people use procedural stuff.
I also got stuck on the input phase of dealing with the multiplicity of
formats being spewed out by Microsoft Word let alone all the other
proprietary word processing and DTP formats that exist.

Some one else tried a similar project that converted groff/troff files from
a limited set of ms/mm/etc macros to a more structural form. It may also
have included some TeX conversion too. This would also have been in the
early 1990s. I thought it was Eric Raymond but there's nothing on his web
site about it now. My memory is that the person abandoned the task quite
quickly because of the complexity of the task. Just what does
bold-italic-numbered-size 14-roman actually mean in the specific context in
which it occurs; in one document it might be a procedural rendition of a
section head but in another the same author might intend it to be emphasis
(rendered simply as bold).

However, there is a solution to the original poster's request. Include all
the original markup from the pasted in document under a TeX escape. It won't
be pretty and as with the work-arounds already being used will require
manual intervention to convert to LaTeX's pseudo structural markup scheme.

Regards, Trevor.

 Re: deemed!


Re: Pasting from pdf

2011-05-26 Thread Julio Rojas

 Just what does bold-italic-numbered-size 14-roman actually mean in the
 specific context in which it occurs; in one document it might be a
 procedural rendition of a section head but in another the same author might
 intend it to be emphasis (rendered simply as bold).


This is the exact question one should answer before asking why what Andrew
wants is not the best path to follow. Obviously, Andrew's documents follow
some layout specifically designed for some journal, so for him this answer
is straighforward. Nonetheless, for Lyx it doesn't matter, as it will be
impossible to get this information from the PDF.

BTW, Andrew, how did you manage to copy from a PDF and pasting on Abiword
keeping the format? I was curious, so I tried with a simple PDF, but it only
pasted plain text.

Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Thu, May 26, 2011 at 12:05 PM, Trevor Jenkins bslwann...@gmail.comwrote:

 On Thu, May 26, 2011 at 10:31 AM, Julio Rojas jcredbe...@gmail.comwrote:

  Making some text as Bold-Italic-Numbered-Size 14-Roman can be done in Lyx,
 but it is much better to say that such text is in a Section environment,
 because when changes on the document style are made, you only have to make
 them once, and not throughout the document, at every instance of said
 format. Finger painting, what you need, is not the way to go in Lyx/Latex.
 It should be avoided like the plague.

 I hope you see the need for this approach. Regards.


 Many years ago (a couple of decades at least) there was a paper presented
 at a SigDoc conference, I think it was, on some initial attempts to infer
 structural markup from procedural. This project must have been sometime in
 the late 1980s (certainly post 1986 and the ISO's publication of ISO 8879
 SGML) and the early 1990s. I place it in that time frame because of SGML
 being an International Standard and the governmental procurement processes
 that mandate the use of standards over ad hoc solutions, which procedural
 markup is, and system suppliers not wishing to lose business because they
 could deal with the new published standard. At this moment I can't lay my
 hands on my copy of those proceedings but I do recall that the procedural
 editor being used was WPS-PLUS.

 Although I was never involved in that project it did appear to be a
 sensible way to convert from old-fashioned procedural to modern structural
 markup. I jotted down some OPS-5-like rules in an attempt to create an
 expert system that would ease this conversion. And in moments of craziness
 return to them adding more and more special cases to cover how people use
 procedural stuff. I also got stuck on the input phase of dealing with the
 multiplicity of formats being spewed out by Microsoft Word let alone all the
 other proprietary word processing and DTP formats that exist.

 Some one else tried a similar project that converted groff/troff files from
 a limited set of ms/mm/etc macros to a more structural form. It may also
 have included some TeX conversion too. This would also have been in the
 early 1990s. I thought it was Eric Raymond but there's nothing on his web
 site about it now. My memory is that the person abandoned the task quite
 quickly because of the complexity of the task. Just what does
 bold-italic-numbered-size 14-roman actually mean in the specific context in
 which it occurs; in one document it might be a procedural rendition of a
 section head but in another the same author might intend it to be emphasis
 (rendered simply as bold).

 However, there is a solution to the original poster's request. Include all
 the original markup from the pasted in document under a TeX escape. It won't
 be pretty and as with the work-arounds already being used will require
 manual intervention to convert to LaTeX's pseudo structural markup scheme.

 Regards, Trevor.

  Re: deemed!



Re: elyxer trouble

2011-05-26 Thread Neal Becker
Alex Fernandez wrote:

 Hi again,
 
 On Thu, May 26, 2011 at 12:58 AM, Neal Becker ndbeck...@gmail.com wrote:
 What browser are you using? Some old versions of IE may show HTML
 better than XHTML. Anyway you can add the --html option within LyX,
 adding it to the Converters section in the Preferences:
 http://www.nongnu.org/elyxer/userguide.html#toc-Subsubsection--12

 This is wierd.  If run from lyx export html, I see:

 Line 3: * Warning: unsupported new format version 413
 Line 150: * Formula beginning \begin_inset Formula  is unknown
 Line 150: * Unparsed formula line \begin_inset Formula
 Line 151: * Unparsed formula line \[
 Line 152: * Unparsed formula line F_{n}=\sum r_{i}x_{i}^{*}e^{2\pi
 i\Delta_{f}n} Line 153: * Unparsed formula line \]

 But if run from command line:
 elyxer.py ../non-periodic.lyx ./non-periodic.html
 Line 55: Title: ... (no error/warning)
 
 It would appear that something is different between both situations.
 Maybe you are running two different versions of eLyXer, or perhaps you
 are exporting the document to another LyX format. The first error
 appears when parsing formulas in LyX 2.0 -- it has already been
 corrected in git and will be there for the next version.
 
 As this problem is a bit specific of eLyXer, I suggest that we stop
 CC'ing lyx-users, if you want.
 
Is it specific to elyxer?  It seems to be the way lyx is using elyxer is the 
problem, since if I run elyxer from command line the problem is gone.




Re: Pasting from pdf

2011-05-26 Thread Trevor Jenkins
On Thu, May 26, 2011 at 11:26 AM, Julio Rojas jcredbe...@gmail.com wrote:

 BTW, Andrew, how did you manage to copy from a PDF and pasting on Abiword
 keeping the format? I was curious, so I tried with a simple PDF, but it only
 pasted plain text.


I tried something similar. Had a LyX-generated PDF file open, copied the
content and pasted it into an OpenOffice.org document. The pasted version
had some of the PDF markup with it, font size mostly but not much more. This
was under Mac OS X with Abode Reader.

Regards, Trevor.

 Re: deemed!


Re: LyX for Mac OSX 10.6.7?

2011-05-26 Thread BH
On Wed, May 25, 2011 at 4:21 PM, Trevor Jenkins bslwann...@gmail.com wrote:
 Feel free to edit some more if you
 like. (If you don't have it already, you can ask on the list for the
 password.)

 Already did; already haven't got.

Sent privately.

BH


table truncated off page

2011-05-26 Thread Maas James Dr (MED)
I'm using Lyx 2.0.0rc3 on Ubuntu Linux.  When I create a table, and set the 
document orientation to landscape, it shows the table on the screen but it is 
truncated on the right side of the screen and I can not get to it to see or 
correct that part of the table.  It compiles to pdf correctly but is not 
visible on screen.  Is this a bug or an I doing something wrong?

Thanks

Jim


===
Dr. Jim Maas
University of East Anglia


Re: Lyx 2.0 Fedora 14 , error with parent and child document

2011-05-26 Thread Richard Heck
On 05/25/2011 10:15 AM, ajaucot wrote:
 Hello,

 In a master file, the same child file is input twice (with
 insert/file/child). 
 When using Lyx 1.6 and older versions, visualization in PDF run well,
 but with Lyx 2.0.0, the first input is executed, but the second one give
 an error message, saying it is unable to load the child document.
 I don't know if it is a bug or simply a configuration problem on my
 system (Fedora 14)? The 2 files attached illustrate the problem.

 Could you please help me with this issue?

Should be fixed for 2.0.1. Now bug #7594.

Richard



lyx 2.0 problem with advanced find-replace in math-mode

2011-05-26 Thread Matthew Ellman
Dear Developers,

Thanks very much for allowing within math search in lyx 2.0!  I have one
problem which looks like a bug:

The search option works well for in-line maths, but for displayed maths, it
typically does not find the content.
Note: the problem arose both on a Mac OSX 10.6.7  and also on Windows 7 -
64bits.

 Please let me know if there is any solution (other than turning all the
displays into in-line math which is what I had to do today).
Thanks again!
Matthew


Re: table truncated off page

2011-05-26 Thread Julien Rioux

On 26/05/2011 9:58 AM, Maas James Dr (MED) wrote:

I'm using Lyx 2.0.0rc3 on Ubuntu Linux.  When I create a table, and set the 
document orientation to landscape, it shows the table on the screen but it is 
truncated on the right side of the screen and I can not get to it to see or 
correct that part of the table.  It compiles to pdf correctly but is not 
visible on screen.  Is this a bug or an I doing something wrong?

Thanks

Jim


===
Dr. Jim Maas
University of East Anglia



Yes it is a bug, and I remember seeing a report about it in the bug 
tracker. The LyX window does not have any horizontal scroll bar. You get 
to the right of your table by navigating with the keyboard.


--
Julien



Re: list of figures

2011-05-26 Thread Richard Heck
On 05/26/2011 10:44 AM, Doc Doc wrote:

 Hi,
 I use the University of new south wales layout for my document
 when I create the PDF file, I have a little problem with the list of
 figures. the first letter of the caption appears above the number of
 the figure. Is thèse any way to avoid that?

 I tried to use
 \usepackage{tocloft}
 \setlength{\cftfignumwidth}{3em}
 with tocloft.sty installed but when I insert it in the preamble of the
 document, it generates many errors

 is there any way to solve this problem?

Can you please post a short example file? You may also need to include
the layout and the cls file, since most of us will not have them.

Richard



Re: lyx 2.0 problem with advanced find-replace in math-mode

2011-05-26 Thread Richard Heck
On 05/26/2011 11:08 AM, Matthew Ellman wrote:
 Dear Developers,

 Thanks very much for allowing within math search in lyx 2.0!  I have
 one problem which looks like a bug:

 The search option works well for in-line maths, but for displayed
 maths, it typically does not find the content.
 Note: the problem arose both on a Mac OSX 10.6.7  and also on Windows
 7 - 64bits. 

 Please let me know if there is any solution (other than turning all
 the displays into in-line math which is what I had to do today).

Can you please report this on the bug tracker?

Richard



RE: list of figures

2011-05-26 Thread Doc Doc

Hi
Thank you for your answer
the layout and the example file are in 
http://www.thesis-template.com/archives/58

Raùf







Date: Thu, 26 May 2011 12:24:59 -0400
From: rgh...@comcast.net
To: raouf_tem...@hotmail.com
CC: lyx-users@lists.lyx.org
Subject: Re: list of figures



  



  
  
On 05/26/2011 10:44 AM, Doc Doc wrote:

  
  

  Hi,

  I use the University of new south wales layout for my document

  when I create the PDF file, I have a little problem with the list
  of figures. the first letter of the caption appears above the
  number of the figure. Is thèse any way to avoid that?

  

  I tried to use 

  \usepackage{tocloft}

  \setlength{\cftfignumwidth}{3em}

  with tocloft.sty installed but when I insert it in the preamble of
  the document, it generates many errors

  

  is there any way to solve this problem?

  


Can you please post a short example file? You may also need to
include the layout and the cls file, since most of us will not have
them.



Richard


  

Re: list of figures

2011-05-26 Thread Julien Rioux

On 26/05/2011 10:44 AM, Doc Doc wrote:



Hi,

I use the University of new south wales layout for my document

when I create the PDF file, I have a little problem with the list of
figures. the first letter of the caption appears above the number of the
  figure. Is thèse any way to avoid that?

I tried to use
\usepackage{tocloft}

\setlength{\cftfignumwidth}{3em}
with tocloft.sty installed but when I insert it in the preamble of the 
document, it generates many errors

is there any way to solve this problem?

thank you







This is pretty obscure black magic but it works. Put this in your preamble

\renewcommand*{\numberline}[1]{\hb@xt@2em{#1\hfil}}

and adjust the length (2em) as necessary.

See
http://tex.stackexchange.com/questions/11569/customize-spacing-between-section-number-and-its-caption

--
Julien


Number Tables by Section in Document Settings doesn't work

2011-05-26 Thread Daisuke Koya
Hello All,

I am using LyX 1.6.10 for Macintosh.

My problem is that I would like my tables to be numbered as

Table section.number

. Therefore, I've selected the Number Tables by Section Module under LyX: 
Document Settings, but it does not seem to have the same effect as inserting 
the following code in the LaTeX Preamble

\numberwithin{table}{section}

. Could someone please tell me whether the above Module is working properly, or 
should I stick to inserting code in the LaTeX Preamble?

Thank you very much,

Daisuke Koya

Re: Number Tables by Section in Document Settings doesn't work

2011-05-26 Thread Richard Heck
On 05/26/2011 12:55 PM, Daisuke Koya wrote:
 Hello All,

 I am using LyX 1.6.10 for Macintosh.

 My problem is that I would like my tables to be numbered as

   Table section.number

 . Therefore, I've selected the Number Tables by Section Module under LyX: 
 Document Settings, but it does not seem to have the same effect as inserting 
 the following code in the LaTeX Preamble

   \numberwithin{table}{section}

 . Could someone please tell me whether the above Module is working properly, 
 or should I stick to inserting code in the LaTeX Preamble?

Can you check the generated preamble of a simple document? The module is
supposed to enter exactly that code in the preamble (under 2.0.0, at least).

Richard



Re: Pasting from pdf

2011-05-26 Thread Andrew Parsloe

On 26/05/2011 10:26 p.m., Julio Rojas wrote:

Just what does bold-italic-numbered-size 14-roman actually mean in
the specific context in which it occurs; in one document it might be
a procedural rendition of a section head but in another the same
author might intend it to be emphasis (rendered simply as bold).


This is the exact question one should answer before asking why what
Andrew wants is not the best path to follow. Obviously, Andrew's
documents follow some layout specifically designed for some journal, so
for him this answer is straighforward. Nonetheless, for Lyx it doesn't
matter, as it will be impossible to get this information from the PDF.

BTW, Andrew, how did you manage to copy from a PDF and pasting on
Abiword keeping the format? I was curious, so I tried with a simple PDF,
but it only pasted plain text.

Regards.
-
Julio Rojas
jcredbe...@gmail.com mailto:jcredbe...@gmail.com


I'm working in Windows, so it was Ctrl-A, Ctrl-C in the pdf, then Ctrl-V 
in Abiword. Voila! Text with underlining, bold and italics (emphasis) 
preserved.




On Thu, May 26, 2011 at 12:05 PM, Trevor Jenkins bslwann...@gmail.com
mailto:bslwann...@gmail.com wrote:

On Thu, May 26, 2011 at 10:31 AM, Julio Rojas jcredbe...@gmail.com
mailto:jcredbe...@gmail.com wrote:

Making some text as Bold-Italic-Numbered-Size 14-Roman can be
done in Lyx, but it is much better to say that such text is in a
Section environment, because when changes on the document style
are made, you only have to make them once, and not throughout
the document, at every instance of said format. Finger painting,
what you need, is not the way to go in Lyx/Latex. It should be
avoided like the plague.

I hope you see the need for this approach. Regards.


Many years ago (a couple of decades at least) there was a paper
presented at a SigDoc conference, I think it was, on some initial
attempts to infer structural markup from procedural. This project
must have been sometime in the late 1980s (certainly post 1986 and
the ISO's publication of ISO 8879 SGML) and the early 1990s. I place
it in that time frame because of SGML being an International
Standard and the governmental procurement processes that mandate the
use of standards over ad hoc solutions, which procedural markup is,
and system suppliers not wishing to lose business because they could
deal with the new published standard. At this moment I can't lay my
hands on my copy of those proceedings but I do recall that the
procedural editor being used was WPS-PLUS.

Although I was never involved in that project it did appear to be a
sensible way to convert from old-fashioned procedural to modern
structural markup. I jotted down some OPS-5-like rules in an attempt
to create an expert system that would ease this conversion. And in
moments of craziness return to them adding more and more special
cases to cover how people use procedural stuff. I also got stuck on
the input phase of dealing with the multiplicity of formats being
spewed out by Microsoft Word let alone all the other proprietary
word processing and DTP formats that exist.

Some one else tried a similar project that converted groff/troff
files from a limited set of ms/mm/etc macros to a more structural
form. It may also have included some TeX conversion too. This would
also have been in the early 1990s. I thought it was Eric Raymond but
there's nothing on his web site about it now. My memory is that the
person abandoned the task quite quickly because of the complexity of
the task. Just what does bold-italic-numbered-size 14-roman actually
mean in the specific context in which it occurs; in one document it
might be a procedural rendition of a section head but in another the
same author might intend it to be emphasis (rendered simply as bold).

However, there is a solution to the original poster's request.
Include all the original markup from the pasted in document under a
TeX escape. It won't be pretty and as with the work-arounds already
being used will require manual intervention to convert to LaTeX's
pseudo structural markup scheme.

Regards, Trevor.

 Re: deemed!


These have been interesting responses. I was unaware of the complexity 
of the issue. In fact I'm not after minutely detailed reproduction of 
the original character style -- fingerpainting -- but was hoping that 
emphasised text in the original might be preserved as emphasised text 
after pasting, the same for bolding, as it is in Word, Abiword, Open 
Office, irrespective of what happens to the font, text size and so on.


Andrew


shortcut

2011-05-26 Thread Hal Kierstead
I am trying to get my shortcuts uniform across three machines.  Can  
you tell me where shortcuts are stored on a Max?  I already know to  
use the same bind folder and layout file.


Thanks,

Hal Kierstead


Re: Pasting from pdf

2011-05-26 Thread Richard Heck
On 05/26/2011 05:25 PM, Andrew Parsloe wrote:

 These have been interesting responses. I was unaware of the complexity
 of the issue. In fact I'm not after minutely detailed reproduction of
 the original character style -- fingerpainting -- but was hoping that
 emphasised text in the original might be preserved as emphasised text
 after pasting, the same for bolding, as it is in Word, Abiword, Open
 Office, irrespective of what happens to the font, text size and so on.

But of course this is fingerpainting. Emphasized text is being
translated as /italic/, and bold text is being translated as *bold*.
Italic is not emphasized, and bold is not strong. That is: This
information is coming from what fonts are used, not from anything
structural.

rh



Re: shortcut

2011-05-26 Thread Richard Heck
On 05/26/2011 06:06 PM, Hal Kierstead wrote:
 I am trying to get my shortcuts uniform across three machines.  Can
 you tell me where shortcuts are stored on a Max?  I already know to
 use the same bind folder and layout file.

The difference is in what .bind file is used. You can change this under
ToolsPreferences. OSX uses mac.bind by default.

rh



Re: shortcut

2011-05-26 Thread BH
On Thu, May 26, 2011 at 8:15 PM, Richard Heck rgh...@comcast.net wrote:
 On 05/26/2011 06:06 PM, Hal Kierstead wrote:
 I am trying to get my shortcuts uniform across three machines.  Can
 you tell me where shortcuts are stored on a Max?  I already know to
 use the same bind folder and layout file.

 The difference is in what .bind file is used. You can change this under
 ToolsPreferences. OSX uses mac.bind by default.

Except on a Mac, the preferences dialog can be found at LyX 
Preferences (as is common for Mac apps).

BH


Installing on Mac--MacTex vs. BasicTex

2011-05-26 Thread Bob Alvarez
I am installing Lyx 1.6.9 on a Macbook Air OSX 10.6 .  Looking through 
the instructions I was dismayed to see that I may have to install the 
1.6 GB MacTex package. This machine only has a 64 GB drive so this is 
quite a lot of overhead not to mention that the download will take many 
hours on my basic DSL connection.


The Wiki suggests BasicTex but this thread suggests that is a bad idea
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg78404.html

Questions:
1. Has anyone had success installing and using Lyx with BasicTex (I am 
mainly interested in koma-script article document class)?


2. Any ideas on using an external USB drive to hold the installation 
package and then selecting the components I need for Lyx?


3. Any other ideas on how to reduce the drive space requirement?

TIA

Bob


Re: elyxer trouble

2011-05-26 Thread Alex Fernandez
Hi again,

On Thu, May 26, 2011 at 12:58 AM, Neal Becker ndbeck...@gmail.com wrote:
 What browser are you using? Some old versions of IE may show HTML
 better than XHTML. Anyway you can add the --html option within LyX,
 adding it to the Converters section in the Preferences:
   http://www.nongnu.org/elyxer/userguide.html#toc-Subsubsection--12

 This is wierd.  If run from lyx export html, I see:

 Line 3: * Warning: unsupported new format version 413
 Line 150: * Formula beginning \begin_inset Formula  is unknown
 Line 150: * Unparsed formula line \begin_inset Formula
 Line 151: * Unparsed formula line \[
 Line 152: * Unparsed formula line F_{n}=\sum r_{i}x_{i}^{*}e^{2\pi 
 i\Delta_{f}n}
 Line 153: * Unparsed formula line \]

 But if run from command line:
 elyxer.py ../non-periodic.lyx ./non-periodic.html
 Line 55: Title: ... (no error/warning)

It would appear that something is different between both situations.
Maybe you are running two different versions of eLyXer, or perhaps you
are exporting the document to another LyX format. The first error
appears when parsing formulas in LyX 2.0 -- it has already been
corrected in git and will be there for the next version.

As this problem is a bit specific of eLyXer, I suggest that we stop
CC'ing lyx-users, if you want.

Alex.


Re: Problem with a graph and its title

2011-05-26 Thread Julio Rojas
The only way it is unclickable (does this word exist?) is if you are inside
an environment which doesn't allow it. You should be, inside the float, IN
THE SAME LINE as your image. Then it should be allowed.

Regards.

P.S.: Reply also to the list, so answers are shared by everybody.
-
Julio Rojas
jcredbe...@gmail.com


On Thu, May 26, 2011 at 9:37 AM, Mike Bonhoff lyx-u...@gmx.de wrote:

 Hi Julio,

 I found the Paragraph settings button. But unfortunately I couldn't
 choose centered for alignment because it was unclickable (it was in grey).
 There I could only choose left, grouped style style of the paragraph
 (grouped style); all of those doesn't do the job.

 Do you have an idea why this is unclickable?

 Thanks, Mike!

  Original-Nachricht 
  Datum: Tue, 24 May 2011 14:01:11 +0200
  Von: Julio Rojas jcredbe...@gmail.com
  An: Mike Bonhoff lyx-u...@gmx.de
  CC: lyx-users@lists.lyx.org
  Betreff: Re: Problem with a graph and its title

  Dear Mike, on your first question, you do like you'll do with text. Just
  put
  the cursor on the line where the figure is, and click on the Paragraph
  settings button. Select Center for alignment, and voilá.
 
  Regards.
  -
  Julio Rojas
  jcredbe...@gmail.com
 
 
  On Tue, May 24, 2011 at 1:34 PM, Mike Bonhoff lyx-u...@gmx.de wrote:
 
   Hallo,
  
   I wanna make a graph and give it a title, say name. I think this name
  is
   written under the graph normally. So I think creating a figure must be
  the
   right thing.
  
   So I clicked Insert-Float-figure and gave the figure the name and
   inserted the graph.
  
   But I have 2 problems:
  
   1st: The name is centered, that means in the middle of the paper to
  the
   left and right. On the other hand, my figure is on the left side.
  
   I don't know how I can center the figure, too. I read the handbook
  (German
   version) and there were some hints, especially for importing existing
   figures, but not a lot of hints how to create such a figure by
 yourself.
  
   2nd: I wanted to create an undirected graph and choose to do it with an
   x-y-pic-matrix with this code within the math mode:
  
   \xymatrix{a\dir[dr]bc\\def}
  
   That creates an xy-pic-matrix with 2 rows (because of the \\ command)
  and 3
   rows (because of the 2-times  command).
   \dir[dr] makes an arc to the element which is one step below (d for
  down)
   and one element to the right (r for right). I used to write \dir@
 {-}[dr]
   instead of \dir[dr] because that made an undirected edge instead of an
  arc.
   But that doesn't work anymore; I don't know why.
  
   Is there a better way to do that, for example with tikz, and is it easy
  to
   use that within lyx? If not, how can I create simple edges in that
   xy-pic-environment and place the title under the figure.
  
   Thanks!
  
   Mike Bonhoff
   --
   NEU: FreePhone - kostenlos mobil telefonieren!
   Jetzt informieren: http://www.gmx.net/de/go/freephone
  

 --
 Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
 belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de



Pasting from pdf

2011-05-26 Thread Andrew Parsloe
When I copy text from a pdf to the clipboard and paste into Word 95, 
Open Office or Abiword, the pasted text retains underlining, bolding and 
emphasis (italics). When I paste into LyX these are lost. It would be a 
real enhancement if LyX were to retain these styles. Is there a deep 
reason for LyX's failure here (or the even deeper reason of lack of an 
interested developer)?


At present, I have some journals to edit. The publisher sent them to me 
as pdf documents. I find I can copy a pdf and paste into Abiword, then 
save from Abiword as a Latex document, open that in Notepad++, 
find--replace all the extra spacing commands, and finally import that 
document into LyX. I get there in the end, but it's a roundabout process.


Andrew


Re: Pasting from pdf

2011-05-26 Thread Julio Rojas
I believe, dear Andrew, this is philosophical in nature. Lyx is based on
Latex, so text is text, independently of how it looks in a PDF. Text changes
its attributes depending on which environment it is included, information
which I believe, would be impossible to get from a PDF via copy-paste.

Making some text as Bold-Italic-Numbered-Size 14-Roman can be done in Lyx,
but it is much better to say that such text is in a Section environment,
because when changes on the document style are made, you only have to make
them once, and not throughout the document, at every instance of said
format. Finger painting, what you need, is not the way to go in Lyx/Latex.
It should be avoided like the plague.

I hope you see the need for this approach. Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Thu, May 26, 2011 at 11:17 AM, Andrew Parsloe apars...@clear.net.nzwrote:

 When I copy text from a pdf to the clipboard and paste into Word 95, Open
 Office or Abiword, the pasted text retains underlining, bolding and emphasis
 (italics). When I paste into LyX these are lost. It would be a real
 enhancement if LyX were to retain these styles. Is there a deep reason for
 LyX's failure here (or the even deeper reason of lack of an interested
 developer)?

 At present, I have some journals to edit. The publisher sent them to me as
 pdf documents. I find I can copy a pdf and paste into Abiword, then save
 from Abiword as a Latex document, open that in Notepad++, find--replace all
 the extra spacing commands, and finally import that document into LyX. I get
 there in the end, but it's a roundabout process.

 Andrew



Re: Lyx 2.0 Fedora 14 , error with parent and child document

2011-05-26 Thread José Matos
On Wednesday 25 May 2011 15:15:39 ajaucot wrote:
 Hello,
 
 In a master file, the same child file is input twice (with
 insert/file/child).
 When using Lyx 1.6 and older versions, visualization in PDF run well,
 but with Lyx 2.0.0, the first input is executed, but the second one give
 an error message, saying it is unable to load the child document.
 I don't know if it is a bug or simply a configuration problem on my
 system (Fedora 14)? The 2 files attached illustrate the problem.

I can reproduce the error with Fedora 15 but I suspect that this is unrelated 
with Fedora.

 Could you please help me with this issue?

For the moment a workaround is to copy its content for a file with another 
name, like:

$ cp -a insere02.lyx insere01.lyx

Again this is just to workaround for the (silly) bug.

 Thank you for your help

I am CC'ing this message to the devel-list.
-- 
José Abílio


Re: Pasting from pdf

2011-05-26 Thread Trevor Jenkins
On Thu, May 26, 2011 at 10:31 AM, Julio Rojas jcredbe...@gmail.com wrote:

Making some text as Bold-Italic-Numbered-Size 14-Roman can be done in Lyx,
 but it is much better to say that such text is in a Section environment,
 because when changes on the document style are made, you only have to make
 them once, and not throughout the document, at every instance of said
 format. Finger painting, what you need, is not the way to go in Lyx/Latex.
 It should be avoided like the plague.

 I hope you see the need for this approach. Regards.


Many years ago (a couple of decades at least) there was a paper presented at
a SigDoc conference, I think it was, on some initial attempts to infer
structural markup from procedural. This project must have been sometime in
the late 1980s (certainly post 1986 and the ISO's publication of ISO 8879
SGML) and the early 1990s. I place it in that time frame because of SGML
being an International Standard and the governmental procurement processes
that mandate the use of standards over ad hoc solutions, which procedural
markup is, and system suppliers not wishing to lose business because they
could deal with the new published standard. At this moment I can't lay my
hands on my copy of those proceedings but I do recall that the procedural
editor being used was WPS-PLUS.

Although I was never involved in that project it did appear to be a sensible
way to convert from old-fashioned procedural to modern structural markup. I
jotted down some OPS-5-like rules in an attempt to create an expert system
that would ease this conversion. And in moments of craziness return to them
adding more and more special cases to cover how people use procedural stuff.
I also got stuck on the input phase of dealing with the multiplicity of
formats being spewed out by Microsoft Word let alone all the other
proprietary word processing and DTP formats that exist.

Some one else tried a similar project that converted groff/troff files from
a limited set of ms/mm/etc macros to a more structural form. It may also
have included some TeX conversion too. This would also have been in the
early 1990s. I thought it was Eric Raymond but there's nothing on his web
site about it now. My memory is that the person abandoned the task quite
quickly because of the complexity of the task. Just what does
bold-italic-numbered-size 14-roman actually mean in the specific context in
which it occurs; in one document it might be a procedural rendition of a
section head but in another the same author might intend it to be emphasis
(rendered simply as bold).

However, there is a solution to the original poster's request. Include all
the original markup from the pasted in document under a TeX escape. It won't
be pretty and as with the work-arounds already being used will require
manual intervention to convert to LaTeX's pseudo structural markup scheme.

Regards, Trevor.

 Re: deemed!


Re: Pasting from pdf

2011-05-26 Thread Julio Rojas

 Just what does bold-italic-numbered-size 14-roman actually mean in the
 specific context in which it occurs; in one document it might be a
 procedural rendition of a section head but in another the same author might
 intend it to be emphasis (rendered simply as bold).


This is the exact question one should answer before asking why what Andrew
wants is not the best path to follow. Obviously, Andrew's documents follow
some layout specifically designed for some journal, so for him this answer
is straighforward. Nonetheless, for Lyx it doesn't matter, as it will be
impossible to get this information from the PDF.

BTW, Andrew, how did you manage to copy from a PDF and pasting on Abiword
keeping the format? I was curious, so I tried with a simple PDF, but it only
pasted plain text.

Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Thu, May 26, 2011 at 12:05 PM, Trevor Jenkins bslwann...@gmail.comwrote:

 On Thu, May 26, 2011 at 10:31 AM, Julio Rojas jcredbe...@gmail.comwrote:

  Making some text as Bold-Italic-Numbered-Size 14-Roman can be done in Lyx,
 but it is much better to say that such text is in a Section environment,
 because when changes on the document style are made, you only have to make
 them once, and not throughout the document, at every instance of said
 format. Finger painting, what you need, is not the way to go in Lyx/Latex.
 It should be avoided like the plague.

 I hope you see the need for this approach. Regards.


 Many years ago (a couple of decades at least) there was a paper presented
 at a SigDoc conference, I think it was, on some initial attempts to infer
 structural markup from procedural. This project must have been sometime in
 the late 1980s (certainly post 1986 and the ISO's publication of ISO 8879
 SGML) and the early 1990s. I place it in that time frame because of SGML
 being an International Standard and the governmental procurement processes
 that mandate the use of standards over ad hoc solutions, which procedural
 markup is, and system suppliers not wishing to lose business because they
 could deal with the new published standard. At this moment I can't lay my
 hands on my copy of those proceedings but I do recall that the procedural
 editor being used was WPS-PLUS.

 Although I was never involved in that project it did appear to be a
 sensible way to convert from old-fashioned procedural to modern structural
 markup. I jotted down some OPS-5-like rules in an attempt to create an
 expert system that would ease this conversion. And in moments of craziness
 return to them adding more and more special cases to cover how people use
 procedural stuff. I also got stuck on the input phase of dealing with the
 multiplicity of formats being spewed out by Microsoft Word let alone all the
 other proprietary word processing and DTP formats that exist.

 Some one else tried a similar project that converted groff/troff files from
 a limited set of ms/mm/etc macros to a more structural form. It may also
 have included some TeX conversion too. This would also have been in the
 early 1990s. I thought it was Eric Raymond but there's nothing on his web
 site about it now. My memory is that the person abandoned the task quite
 quickly because of the complexity of the task. Just what does
 bold-italic-numbered-size 14-roman actually mean in the specific context in
 which it occurs; in one document it might be a procedural rendition of a
 section head but in another the same author might intend it to be emphasis
 (rendered simply as bold).

 However, there is a solution to the original poster's request. Include all
 the original markup from the pasted in document under a TeX escape. It won't
 be pretty and as with the work-arounds already being used will require
 manual intervention to convert to LaTeX's pseudo structural markup scheme.

 Regards, Trevor.

  Re: deemed!



Re: elyxer trouble

2011-05-26 Thread Neal Becker
Alex Fernandez wrote:

 Hi again,
 
 On Thu, May 26, 2011 at 12:58 AM, Neal Becker ndbeck...@gmail.com wrote:
 What browser are you using? Some old versions of IE may show HTML
 better than XHTML. Anyway you can add the --html option within LyX,
 adding it to the Converters section in the Preferences:
 http://www.nongnu.org/elyxer/userguide.html#toc-Subsubsection--12

 This is wierd.  If run from lyx export html, I see:

 Line 3: * Warning: unsupported new format version 413
 Line 150: * Formula beginning \begin_inset Formula  is unknown
 Line 150: * Unparsed formula line \begin_inset Formula
 Line 151: * Unparsed formula line \[
 Line 152: * Unparsed formula line F_{n}=\sum r_{i}x_{i}^{*}e^{2\pi
 i\Delta_{f}n} Line 153: * Unparsed formula line \]

 But if run from command line:
 elyxer.py ../non-periodic.lyx ./non-periodic.html
 Line 55: Title: ... (no error/warning)
 
 It would appear that something is different between both situations.
 Maybe you are running two different versions of eLyXer, or perhaps you
 are exporting the document to another LyX format. The first error
 appears when parsing formulas in LyX 2.0 -- it has already been
 corrected in git and will be there for the next version.
 
 As this problem is a bit specific of eLyXer, I suggest that we stop
 CC'ing lyx-users, if you want.
 
Is it specific to elyxer?  It seems to be the way lyx is using elyxer is the 
problem, since if I run elyxer from command line the problem is gone.




Re: Pasting from pdf

2011-05-26 Thread Trevor Jenkins
On Thu, May 26, 2011 at 11:26 AM, Julio Rojas jcredbe...@gmail.com wrote:

 BTW, Andrew, how did you manage to copy from a PDF and pasting on Abiword
 keeping the format? I was curious, so I tried with a simple PDF, but it only
 pasted plain text.


I tried something similar. Had a LyX-generated PDF file open, copied the
content and pasted it into an OpenOffice.org document. The pasted version
had some of the PDF markup with it, font size mostly but not much more. This
was under Mac OS X with Abode Reader.

Regards, Trevor.

 Re: deemed!


Re: LyX for Mac OSX 10.6.7?

2011-05-26 Thread BH
On Wed, May 25, 2011 at 4:21 PM, Trevor Jenkins bslwann...@gmail.com wrote:
 Feel free to edit some more if you
 like. (If you don't have it already, you can ask on the list for the
 password.)

 Already did; already haven't got.

Sent privately.

BH


table truncated off page

2011-05-26 Thread Maas James Dr (MED)
I'm using Lyx 2.0.0rc3 on Ubuntu Linux.  When I create a table, and set the 
document orientation to landscape, it shows the table on the screen but it is 
truncated on the right side of the screen and I can not get to it to see or 
correct that part of the table.  It compiles to pdf correctly but is not 
visible on screen.  Is this a bug or an I doing something wrong?

Thanks

Jim


===
Dr. Jim Maas
University of East Anglia


Re: Lyx 2.0 Fedora 14 , error with parent and child document

2011-05-26 Thread Richard Heck
On 05/25/2011 10:15 AM, ajaucot wrote:
 Hello,

 In a master file, the same child file is input twice (with
 insert/file/child). 
 When using Lyx 1.6 and older versions, visualization in PDF run well,
 but with Lyx 2.0.0, the first input is executed, but the second one give
 an error message, saying it is unable to load the child document.
 I don't know if it is a bug or simply a configuration problem on my
 system (Fedora 14)? The 2 files attached illustrate the problem.

 Could you please help me with this issue?

Should be fixed for 2.0.1. Now bug #7594.

Richard



lyx 2.0 problem with advanced find-replace in math-mode

2011-05-26 Thread Matthew Ellman
Dear Developers,

Thanks very much for allowing within math search in lyx 2.0!  I have one
problem which looks like a bug:

The search option works well for in-line maths, but for displayed maths, it
typically does not find the content.
Note: the problem arose both on a Mac OSX 10.6.7  and also on Windows 7 -
64bits.

 Please let me know if there is any solution (other than turning all the
displays into in-line math which is what I had to do today).
Thanks again!
Matthew


Re: table truncated off page

2011-05-26 Thread Julien Rioux

On 26/05/2011 9:58 AM, Maas James Dr (MED) wrote:

I'm using Lyx 2.0.0rc3 on Ubuntu Linux.  When I create a table, and set the 
document orientation to landscape, it shows the table on the screen but it is 
truncated on the right side of the screen and I can not get to it to see or 
correct that part of the table.  It compiles to pdf correctly but is not 
visible on screen.  Is this a bug or an I doing something wrong?

Thanks

Jim


===
Dr. Jim Maas
University of East Anglia



Yes it is a bug, and I remember seeing a report about it in the bug 
tracker. The LyX window does not have any horizontal scroll bar. You get 
to the right of your table by navigating with the keyboard.


--
Julien



Re: list of figures

2011-05-26 Thread Richard Heck
On 05/26/2011 10:44 AM, Doc Doc wrote:

 Hi,
 I use the University of new south wales layout for my document
 when I create the PDF file, I have a little problem with the list of
 figures. the first letter of the caption appears above the number of
 the figure. Is thèse any way to avoid that?

 I tried to use
 \usepackage{tocloft}
 \setlength{\cftfignumwidth}{3em}
 with tocloft.sty installed but when I insert it in the preamble of the
 document, it generates many errors

 is there any way to solve this problem?

Can you please post a short example file? You may also need to include
the layout and the cls file, since most of us will not have them.

Richard



Re: lyx 2.0 problem with advanced find-replace in math-mode

2011-05-26 Thread Richard Heck
On 05/26/2011 11:08 AM, Matthew Ellman wrote:
 Dear Developers,

 Thanks very much for allowing within math search in lyx 2.0!  I have
 one problem which looks like a bug:

 The search option works well for in-line maths, but for displayed
 maths, it typically does not find the content.
 Note: the problem arose both on a Mac OSX 10.6.7  and also on Windows
 7 - 64bits. 

 Please let me know if there is any solution (other than turning all
 the displays into in-line math which is what I had to do today).

Can you please report this on the bug tracker?

Richard



RE: list of figures

2011-05-26 Thread Doc Doc

Hi
Thank you for your answer
the layout and the example file are in 
http://www.thesis-template.com/archives/58

Raùf







Date: Thu, 26 May 2011 12:24:59 -0400
From: rgh...@comcast.net
To: raouf_tem...@hotmail.com
CC: lyx-users@lists.lyx.org
Subject: Re: list of figures



  



  
  
On 05/26/2011 10:44 AM, Doc Doc wrote:

  
  

  Hi,

  I use the University of new south wales layout for my document

  when I create the PDF file, I have a little problem with the list
  of figures. the first letter of the caption appears above the
  number of the figure. Is thèse any way to avoid that?

  

  I tried to use 

  \usepackage{tocloft}

  \setlength{\cftfignumwidth}{3em}

  with tocloft.sty installed but when I insert it in the preamble of
  the document, it generates many errors

  

  is there any way to solve this problem?

  


Can you please post a short example file? You may also need to
include the layout and the cls file, since most of us will not have
them.



Richard


  

Re: list of figures

2011-05-26 Thread Julien Rioux

On 26/05/2011 10:44 AM, Doc Doc wrote:



Hi,

I use the University of new south wales layout for my document

when I create the PDF file, I have a little problem with the list of
figures. the first letter of the caption appears above the number of the
  figure. Is thèse any way to avoid that?

I tried to use
\usepackage{tocloft}

\setlength{\cftfignumwidth}{3em}
with tocloft.sty installed but when I insert it in the preamble of the 
document, it generates many errors

is there any way to solve this problem?

thank you







This is pretty obscure black magic but it works. Put this in your preamble

\renewcommand*{\numberline}[1]{\hb@xt@2em{#1\hfil}}

and adjust the length (2em) as necessary.

See
http://tex.stackexchange.com/questions/11569/customize-spacing-between-section-number-and-its-caption

--
Julien


Number Tables by Section in Document Settings doesn't work

2011-05-26 Thread Daisuke Koya
Hello All,

I am using LyX 1.6.10 for Macintosh.

My problem is that I would like my tables to be numbered as

Table section.number

. Therefore, I've selected the Number Tables by Section Module under LyX: 
Document Settings, but it does not seem to have the same effect as inserting 
the following code in the LaTeX Preamble

\numberwithin{table}{section}

. Could someone please tell me whether the above Module is working properly, or 
should I stick to inserting code in the LaTeX Preamble?

Thank you very much,

Daisuke Koya

Re: Number Tables by Section in Document Settings doesn't work

2011-05-26 Thread Richard Heck
On 05/26/2011 12:55 PM, Daisuke Koya wrote:
 Hello All,

 I am using LyX 1.6.10 for Macintosh.

 My problem is that I would like my tables to be numbered as

   Table section.number

 . Therefore, I've selected the Number Tables by Section Module under LyX: 
 Document Settings, but it does not seem to have the same effect as inserting 
 the following code in the LaTeX Preamble

   \numberwithin{table}{section}

 . Could someone please tell me whether the above Module is working properly, 
 or should I stick to inserting code in the LaTeX Preamble?

Can you check the generated preamble of a simple document? The module is
supposed to enter exactly that code in the preamble (under 2.0.0, at least).

Richard



Re: Pasting from pdf

2011-05-26 Thread Andrew Parsloe

On 26/05/2011 10:26 p.m., Julio Rojas wrote:

Just what does bold-italic-numbered-size 14-roman actually mean in
the specific context in which it occurs; in one document it might be
a procedural rendition of a section head but in another the same
author might intend it to be emphasis (rendered simply as bold).


This is the exact question one should answer before asking why what
Andrew wants is not the best path to follow. Obviously, Andrew's
documents follow some layout specifically designed for some journal, so
for him this answer is straighforward. Nonetheless, for Lyx it doesn't
matter, as it will be impossible to get this information from the PDF.

BTW, Andrew, how did you manage to copy from a PDF and pasting on
Abiword keeping the format? I was curious, so I tried with a simple PDF,
but it only pasted plain text.

Regards.
-
Julio Rojas
jcredbe...@gmail.com mailto:jcredbe...@gmail.com


I'm working in Windows, so it was Ctrl-A, Ctrl-C in the pdf, then Ctrl-V 
in Abiword. Voila! Text with underlining, bold and italics (emphasis) 
preserved.




On Thu, May 26, 2011 at 12:05 PM, Trevor Jenkins bslwann...@gmail.com
mailto:bslwann...@gmail.com wrote:

On Thu, May 26, 2011 at 10:31 AM, Julio Rojas jcredbe...@gmail.com
mailto:jcredbe...@gmail.com wrote:

Making some text as Bold-Italic-Numbered-Size 14-Roman can be
done in Lyx, but it is much better to say that such text is in a
Section environment, because when changes on the document style
are made, you only have to make them once, and not throughout
the document, at every instance of said format. Finger painting,
what you need, is not the way to go in Lyx/Latex. It should be
avoided like the plague.

I hope you see the need for this approach. Regards.


Many years ago (a couple of decades at least) there was a paper
presented at a SigDoc conference, I think it was, on some initial
attempts to infer structural markup from procedural. This project
must have been sometime in the late 1980s (certainly post 1986 and
the ISO's publication of ISO 8879 SGML) and the early 1990s. I place
it in that time frame because of SGML being an International
Standard and the governmental procurement processes that mandate the
use of standards over ad hoc solutions, which procedural markup is,
and system suppliers not wishing to lose business because they could
deal with the new published standard. At this moment I can't lay my
hands on my copy of those proceedings but I do recall that the
procedural editor being used was WPS-PLUS.

Although I was never involved in that project it did appear to be a
sensible way to convert from old-fashioned procedural to modern
structural markup. I jotted down some OPS-5-like rules in an attempt
to create an expert system that would ease this conversion. And in
moments of craziness return to them adding more and more special
cases to cover how people use procedural stuff. I also got stuck on
the input phase of dealing with the multiplicity of formats being
spewed out by Microsoft Word let alone all the other proprietary
word processing and DTP formats that exist.

Some one else tried a similar project that converted groff/troff
files from a limited set of ms/mm/etc macros to a more structural
form. It may also have included some TeX conversion too. This would
also have been in the early 1990s. I thought it was Eric Raymond but
there's nothing on his web site about it now. My memory is that the
person abandoned the task quite quickly because of the complexity of
the task. Just what does bold-italic-numbered-size 14-roman actually
mean in the specific context in which it occurs; in one document it
might be a procedural rendition of a section head but in another the
same author might intend it to be emphasis (rendered simply as bold).

However, there is a solution to the original poster's request.
Include all the original markup from the pasted in document under a
TeX escape. It won't be pretty and as with the work-arounds already
being used will require manual intervention to convert to LaTeX's
pseudo structural markup scheme.

Regards, Trevor.

 Re: deemed!


These have been interesting responses. I was unaware of the complexity 
of the issue. In fact I'm not after minutely detailed reproduction of 
the original character style -- fingerpainting -- but was hoping that 
emphasised text in the original might be preserved as emphasised text 
after pasting, the same for bolding, as it is in Word, Abiword, Open 
Office, irrespective of what happens to the font, text size and so on.


Andrew


shortcut

2011-05-26 Thread Hal Kierstead
I am trying to get my shortcuts uniform across three machines.  Can  
you tell me where shortcuts are stored on a Max?  I already know to  
use the same bind folder and layout file.


Thanks,

Hal Kierstead


Re: Pasting from pdf

2011-05-26 Thread Richard Heck
On 05/26/2011 05:25 PM, Andrew Parsloe wrote:

 These have been interesting responses. I was unaware of the complexity
 of the issue. In fact I'm not after minutely detailed reproduction of
 the original character style -- fingerpainting -- but was hoping that
 emphasised text in the original might be preserved as emphasised text
 after pasting, the same for bolding, as it is in Word, Abiword, Open
 Office, irrespective of what happens to the font, text size and so on.

But of course this is fingerpainting. Emphasized text is being
translated as /italic/, and bold text is being translated as *bold*.
Italic is not emphasized, and bold is not strong. That is: This
information is coming from what fonts are used, not from anything
structural.

rh



Re: shortcut

2011-05-26 Thread Richard Heck
On 05/26/2011 06:06 PM, Hal Kierstead wrote:
 I am trying to get my shortcuts uniform across three machines.  Can
 you tell me where shortcuts are stored on a Max?  I already know to
 use the same bind folder and layout file.

The difference is in what .bind file is used. You can change this under
ToolsPreferences. OSX uses mac.bind by default.

rh



Re: shortcut

2011-05-26 Thread BH
On Thu, May 26, 2011 at 8:15 PM, Richard Heck rgh...@comcast.net wrote:
 On 05/26/2011 06:06 PM, Hal Kierstead wrote:
 I am trying to get my shortcuts uniform across three machines.  Can
 you tell me where shortcuts are stored on a Max?  I already know to
 use the same bind folder and layout file.

 The difference is in what .bind file is used. You can change this under
 ToolsPreferences. OSX uses mac.bind by default.

Except on a Mac, the preferences dialog can be found at LyX 
Preferences (as is common for Mac apps).

BH


Installing on Mac--MacTex vs. BasicTex

2011-05-26 Thread Bob Alvarez
I am installing Lyx 1.6.9 on a Macbook Air OSX 10.6 .  Looking through 
the instructions I was dismayed to see that I may have to install the 
1.6 GB MacTex package. This machine only has a 64 GB drive so this is 
quite a lot of overhead not to mention that the download will take many 
hours on my basic DSL connection.


The Wiki suggests BasicTex but this thread suggests that is a bad idea
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg78404.html

Questions:
1. Has anyone had success installing and using Lyx with BasicTex (I am 
mainly interested in koma-script article document class)?


2. Any ideas on using an external USB drive to hold the installation 
package and then selecting the components I need for Lyx?


3. Any other ideas on how to reduce the drive space requirement?

TIA

Bob


Re: elyxer trouble

2011-05-26 Thread Alex Fernandez
Hi again,

On Thu, May 26, 2011 at 12:58 AM, Neal Becker  wrote:
>> What browser are you using? Some old versions of IE may show HTML
>> better than XHTML. Anyway you can add the --html option within LyX,
>> adding it to the Converters section in the Preferences:
>>   http://www.nongnu.org/elyxer/userguide.html#toc-Subsubsection--12
>
> This is wierd.  If run from lyx export html, I see:
>
> Line 3: * Warning: unsupported new format version 413
> Line 150: * Formula beginning \begin_inset Formula  is unknown
> Line 150: * Unparsed formula line \begin_inset Formula
> Line 151: * Unparsed formula line \[
> Line 152: * Unparsed formula line F_{n}=\sum r_{i}x_{i}^{*}e^{2\pi 
> i\Delta_{f}n}
> Line 153: * Unparsed formula line \]
>
> But if run from command line:
> elyxer.py ../non-periodic.lyx ./non-periodic.html
> Line 55: Title: ... (no error/warning)

It would appear that something is different between both situations.
Maybe you are running two different versions of eLyXer, or perhaps you
are exporting the document to another LyX format. The first error
appears when parsing formulas in LyX 2.0 -- it has already been
corrected in git and will be there for the next version.

As this problem is a bit specific of eLyXer, I suggest that we stop
CC'ing lyx-users, if you want.

Alex.


Re: Problem with a graph and its title

2011-05-26 Thread Julio Rojas
The only way it is unclickable (does this word exist?) is if you are inside
an environment which doesn't allow it. You should be, inside the float, IN
THE SAME LINE as your image. Then it should be allowed.

Regards.

P.S.: Reply also to the list, so answers are shared by everybody.
-
Julio Rojas
jcredbe...@gmail.com


On Thu, May 26, 2011 at 9:37 AM, Mike Bonhoff  wrote:

> Hi Julio,
>
> I found the "Paragraph settings" button. But unfortunately I couldn't
> choose "centered" for alignment because it was unclickable (it was in grey).
> There I could only choose "left", "grouped style" "style of the paragraph
> (grouped style)"; all of those doesn't do the job.
>
> Do you have an idea why this is unclickable?
>
> Thanks, Mike!
>
>  Original-Nachricht 
> > Datum: Tue, 24 May 2011 14:01:11 +0200
> > Von: Julio Rojas 
> > An: Mike Bonhoff 
> > CC: lyx-users@lists.lyx.org
> > Betreff: Re: Problem with a graph and its title
>
> > Dear Mike, on your first question, you do like you'll do with text. Just
> > put
> > the cursor on the line where the figure is, and click on the "Paragraph
> > settings" button. Select "Center" for alignment, and voilá.
> >
> > Regards.
> > -
> > Julio Rojas
> > jcredbe...@gmail.com
> >
> >
> > On Tue, May 24, 2011 at 1:34 PM, Mike Bonhoff  wrote:
> >
> > > Hallo,
> > >
> > > I wanna make a graph and give it a title, say "name". I think this name
> > is
> > > written under the graph normally. So I think creating a figure must be
> > the
> > > right thing.
> > >
> > > So I clicked Insert->Float->figure and gave the figure the "name" and
> > > inserted the graph.
> > >
> > > But I have 2 problems:
> > >
> > > 1st: The "name" is centered, that means in the middle of the paper to
> > the
> > > left and right. On the other hand, my figure is on the left side.
> > >
> > > I don't know how I can center the figure, too. I read the handbook
> > (German
> > > version) and there were some hints, especially for importing existing
> > > figures, but not a lot of hints how to create such a figure by
> yourself.
> > >
> > > 2nd: I wanted to create an undirected graph and choose to do it with an
> > > x-y-pic-matrix with this code within the math mode:
> > >
> > > \xymatrix{a\dir[dr]\\d}
> > >
> > > That creates an xy-pic-matrix with 2 rows (because of the \\ command)
> > and 3
> > > rows (because of the 2-times & command).
> > > \dir[dr] makes an arc to the element which is one step below (d for
> > down)
> > > and one element to the right (r for right). I used to write \dir@
> {-}[dr]
> > > instead of \dir[dr] because that made an undirected edge instead of an
> > arc.
> > > But that doesn't work anymore; I don't know why.
> > >
> > > Is there a better way to do that, for example with tikz, and is it easy
> > to
> > > use that within lyx? If not, how can I create simple edges in that
> > > xy-pic-environment and place the title under the figure.
> > >
> > > Thanks!
> > >
> > > Mike Bonhoff
> > > --
> > > NEU: FreePhone - kostenlos mobil telefonieren!
> > > Jetzt informieren: http://www.gmx.net/de/go/freephone
> > >
>
> --
> Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
> belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
>


Pasting from pdf

2011-05-26 Thread Andrew Parsloe
When I copy text from a pdf to the clipboard and paste into Word 95, 
Open Office or Abiword, the pasted text retains underlining, bolding and 
emphasis (italics). When I paste into LyX these are lost. It would be a 
real enhancement if LyX were to retain these styles. Is there a deep 
reason for LyX's failure here (or the even deeper reason of lack of an 
interested developer)?


At present, I have some journals to edit. The publisher sent them to me 
as pdf documents. I find I can copy a pdf and paste into Abiword, then 
save from Abiword as a Latex document, open that in Notepad++, 
find-&-replace all the extra spacing commands, and finally import that 
document into LyX. I get there in the end, but it's a roundabout process.


Andrew


Re: Pasting from pdf

2011-05-26 Thread Julio Rojas
I believe, dear Andrew, this is philosophical in nature. Lyx is based on
Latex, so text is text, independently of how it looks in a PDF. Text changes
its attributes depending on which environment it is included, information
which I believe, would be impossible to get from a PDF via copy-paste.

Making some text as Bold-Italic-Numbered-Size 14-Roman can be done in Lyx,
but it is much better to say that such text is in a Section environment,
because when changes on the document style are made, you only have to make
them once, and not throughout the document, at every instance of said
format. Finger painting, what you need, is not the way to go in Lyx/Latex.
It should be avoided like the plague.

I hope you see the need for this approach. Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Thu, May 26, 2011 at 11:17 AM, Andrew Parsloe wrote:

> When I copy text from a pdf to the clipboard and paste into Word 95, Open
> Office or Abiword, the pasted text retains underlining, bolding and emphasis
> (italics). When I paste into LyX these are lost. It would be a real
> enhancement if LyX were to retain these styles. Is there a deep reason for
> LyX's failure here (or the even deeper reason of lack of an interested
> developer)?
>
> At present, I have some journals to edit. The publisher sent them to me as
> pdf documents. I find I can copy a pdf and paste into Abiword, then save
> from Abiword as a Latex document, open that in Notepad++, find-&-replace all
> the extra spacing commands, and finally import that document into LyX. I get
> there in the end, but it's a roundabout process.
>
> Andrew
>


Re: Lyx 2.0 Fedora 14 , error with parent and child document

2011-05-26 Thread José Matos
On Wednesday 25 May 2011 15:15:39 ajaucot wrote:
> Hello,
> 
> In a master file, the same child file is input twice (with
> insert/file/child).
> When using Lyx 1.6 and older versions, visualization in PDF run well,
> but with Lyx 2.0.0, the first input is executed, but the second one give
> an error message, saying it is unable to load the child document.
> I don't know if it is a bug or simply a configuration problem on my
> system (Fedora 14)? The 2 files attached illustrate the problem.

I can reproduce the error with Fedora 15 but I suspect that this is unrelated 
with Fedora.

> Could you please help me with this issue?

For the moment a workaround is to copy its content for a file with another 
name, like:

$ cp -a insere02.lyx insere01.lyx

Again this is just to workaround for the (silly) bug.

> Thank you for your help

I am CC'ing this message to the devel-list.
-- 
José Abílio


Re: Pasting from pdf

2011-05-26 Thread Trevor Jenkins
On Thu, May 26, 2011 at 10:31 AM, Julio Rojas  wrote:

Making some text as Bold-Italic-Numbered-Size 14-Roman can be done in Lyx,
> but it is much better to say that such text is in a Section environment,
> because when changes on the document style are made, you only have to make
> them once, and not throughout the document, at every instance of said
> format. Finger painting, what you need, is not the way to go in Lyx/Latex.
> It should be avoided like the plague.
>
> I hope you see the need for this approach. Regards.
>

Many years ago (a couple of decades at least) there was a paper presented at
a SigDoc conference, I think it was, on some initial attempts to infer
structural markup from procedural. This project must have been sometime in
the late 1980s (certainly post 1986 and the ISO's publication of ISO 8879
SGML) and the early 1990s. I place it in that time frame because of SGML
being an International Standard and the governmental procurement processes
that mandate the use of standards over ad hoc solutions, which procedural
markup is, and system suppliers not wishing to lose business because they
could deal with the new published standard. At this moment I can't lay my
hands on my copy of those proceedings but I do recall that the procedural
editor being used was WPS-PLUS.

Although I was never involved in that project it did appear to be a sensible
way to convert from old-fashioned procedural to modern structural markup. I
jotted down some OPS-5-like rules in an attempt to create an expert system
that would ease this conversion. And in moments of craziness return to them
adding more and more special cases to cover how people use procedural stuff.
I also got stuck on the input phase of dealing with the multiplicity of
formats being spewed out by Microsoft Word let alone all the other
proprietary word processing and DTP formats that exist.

Some one else tried a similar project that converted groff/troff files from
a limited set of ms/mm/etc macros to a more structural form. It may also
have included some TeX conversion too. This would also have been in the
early 1990s. I thought it was Eric Raymond but there's nothing on his web
site about it now. My memory is that the person abandoned the task quite
quickly because of the complexity of the task. Just what does
bold-italic-numbered-size 14-roman actually mean in the specific context in
which it occurs; in one document it might be a procedural rendition of a
section head but in another the same author might intend it to be emphasis
(rendered simply as bold).

However, there is a solution to the original poster's request. Include all
the original markup from the pasted in document under a TeX escape. It won't
be pretty and as with the work-arounds already being used will require
manual intervention to convert to LaTeX's pseudo structural markup scheme.

Regards, Trevor.

<>< Re: deemed!


Re: Pasting from pdf

2011-05-26 Thread Julio Rojas
>
> Just what does bold-italic-numbered-size 14-roman actually mean in the
> specific context in which it occurs; in one document it might be a
> procedural rendition of a section head but in another the same author might
> intend it to be emphasis (rendered simply as bold).
>
>
This is the exact question one should answer before asking why what Andrew
wants is not the best path to follow. Obviously, Andrew's documents follow
some layout specifically designed for some journal, so for him this answer
is straighforward. Nonetheless, for Lyx it doesn't matter, as it will be
impossible to get this information from the PDF.

BTW, Andrew, how did you manage to copy from a PDF and pasting on Abiword
keeping the format? I was curious, so I tried with a simple PDF, but it only
pasted plain text.

Regards.
-
Julio Rojas
jcredbe...@gmail.com


On Thu, May 26, 2011 at 12:05 PM, Trevor Jenkins wrote:

> On Thu, May 26, 2011 at 10:31 AM, Julio Rojas wrote:
>
>  Making some text as Bold-Italic-Numbered-Size 14-Roman can be done in Lyx,
>> but it is much better to say that such text is in a Section environment,
>> because when changes on the document style are made, you only have to make
>> them once, and not throughout the document, at every instance of said
>> format. Finger painting, what you need, is not the way to go in Lyx/Latex.
>> It should be avoided like the plague.
>>
>> I hope you see the need for this approach. Regards.
>>
>
> Many years ago (a couple of decades at least) there was a paper presented
> at a SigDoc conference, I think it was, on some initial attempts to infer
> structural markup from procedural. This project must have been sometime in
> the late 1980s (certainly post 1986 and the ISO's publication of ISO 8879
> SGML) and the early 1990s. I place it in that time frame because of SGML
> being an International Standard and the governmental procurement processes
> that mandate the use of standards over ad hoc solutions, which procedural
> markup is, and system suppliers not wishing to lose business because they
> could deal with the new published standard. At this moment I can't lay my
> hands on my copy of those proceedings but I do recall that the procedural
> editor being used was WPS-PLUS.
>
> Although I was never involved in that project it did appear to be a
> sensible way to convert from old-fashioned procedural to modern structural
> markup. I jotted down some OPS-5-like rules in an attempt to create an
> expert system that would ease this conversion. And in moments of craziness
> return to them adding more and more special cases to cover how people use
> procedural stuff. I also got stuck on the input phase of dealing with the
> multiplicity of formats being spewed out by Microsoft Word let alone all the
> other proprietary word processing and DTP formats that exist.
>
> Some one else tried a similar project that converted groff/troff files from
> a limited set of ms/mm/etc macros to a more structural form. It may also
> have included some TeX conversion too. This would also have been in the
> early 1990s. I thought it was Eric Raymond but there's nothing on his web
> site about it now. My memory is that the person abandoned the task quite
> quickly because of the complexity of the task. Just what does
> bold-italic-numbered-size 14-roman actually mean in the specific context in
> which it occurs; in one document it might be a procedural rendition of a
> section head but in another the same author might intend it to be emphasis
> (rendered simply as bold).
>
> However, there is a solution to the original poster's request. Include all
> the original markup from the pasted in document under a TeX escape. It won't
> be pretty and as with the work-arounds already being used will require
> manual intervention to convert to LaTeX's pseudo structural markup scheme.
>
> Regards, Trevor.
>
> <>< Re: deemed!
>


Re: elyxer trouble

2011-05-26 Thread Neal Becker
Alex Fernandez wrote:

> Hi again,
> 
> On Thu, May 26, 2011 at 12:58 AM, Neal Becker  wrote:
>>> What browser are you using? Some old versions of IE may show HTML
>>> better than XHTML. Anyway you can add the --html option within LyX,
>>> adding it to the Converters section in the Preferences:
>>> http://www.nongnu.org/elyxer/userguide.html#toc-Subsubsection--12
>>
>> This is wierd.  If run from lyx export html, I see:
>>
>> Line 3: * Warning: unsupported new format version 413
>> Line 150: * Formula beginning \begin_inset Formula  is unknown
>> Line 150: * Unparsed formula line \begin_inset Formula
>> Line 151: * Unparsed formula line \[
>> Line 152: * Unparsed formula line F_{n}=\sum r_{i}x_{i}^{*}e^{2\pi
>> i\Delta_{f}n} Line 153: * Unparsed formula line \]
>>
>> But if run from command line:
>> elyxer.py ../non-periodic.lyx ./non-periodic.html
>> Line 55: Title: ... (no error/warning)
> 
> It would appear that something is different between both situations.
> Maybe you are running two different versions of eLyXer, or perhaps you
> are exporting the document to another LyX format. The first error
> appears when parsing formulas in LyX 2.0 -- it has already been
> corrected in git and will be there for the next version.
> 
> As this problem is a bit specific of eLyXer, I suggest that we stop
> CC'ing lyx-users, if you want.
> 
Is it specific to elyxer?  It seems to be the way lyx is using elyxer is the 
problem, since if I run elyxer from command line the problem is gone.




Re: Pasting from pdf

2011-05-26 Thread Trevor Jenkins
On Thu, May 26, 2011 at 11:26 AM, Julio Rojas  wrote:

> BTW, Andrew, how did you manage to copy from a PDF and pasting on Abiword
> keeping the format? I was curious, so I tried with a simple PDF, but it only
> pasted plain text.
>

I tried something similar. Had a LyX-generated PDF file open, copied the
content and pasted it into an OpenOffice.org document. The pasted version
had some of the PDF markup with it, font size mostly but not much more. This
was under Mac OS X with Abode Reader.

Regards, Trevor.

<>< Re: deemed!


Re: LyX for Mac OSX 10.6.7?

2011-05-26 Thread BH
On Wed, May 25, 2011 at 4:21 PM, Trevor Jenkins  wrote:
>> Feel free to edit some more if you
>> like. (If you don't have it already, you can ask on the list for the
>> password.)
>
> Already did; already haven't got.

Sent privately.

BH


table truncated off page

2011-05-26 Thread Maas James Dr (MED)
I'm using Lyx 2.0.0rc3 on Ubuntu Linux.  When I create a table, and set the 
document orientation to landscape, it shows the table on the screen but it is 
truncated on the right side of the screen and I can not get to it to see or 
correct that part of the table.  It compiles to pdf correctly but is not 
visible on screen.  Is this a bug or an I doing something wrong?

Thanks

Jim


===
Dr. Jim Maas
University of East Anglia


Re: Lyx 2.0 Fedora 14 , error with parent and child document

2011-05-26 Thread Richard Heck
On 05/25/2011 10:15 AM, ajaucot wrote:
> Hello,
>
> In a master file, the same child file is input twice (with
> insert/file/child). 
> When using Lyx 1.6 and older versions, visualization in PDF run well,
> but with Lyx 2.0.0, the first input is executed, but the second one give
> an error message, saying it is unable to load the child document.
> I don't know if it is a bug or simply a configuration problem on my
> system (Fedora 14)? The 2 files attached illustrate the problem.
>
> Could you please help me with this issue?
>
Should be fixed for 2.0.1. Now bug #7594.

Richard



lyx 2.0 problem with advanced find-replace in math-mode

2011-05-26 Thread Matthew Ellman
Dear Developers,

Thanks very much for allowing within math search in lyx 2.0!  I have one
problem which looks like a bug:

The search option works well for in-line maths, but for displayed maths, it
typically does not find the content.
Note: the problem arose both on a Mac OSX 10.6.7  and also on Windows 7 -
64bits.

 Please let me know if there is any solution (other than turning all the
displays into in-line math which is what I had to do today).
Thanks again!
Matthew


Re: table truncated off page

2011-05-26 Thread Julien Rioux

On 26/05/2011 9:58 AM, Maas James Dr (MED) wrote:

I'm using Lyx 2.0.0rc3 on Ubuntu Linux.  When I create a table, and set the 
document orientation to landscape, it shows the table on the screen but it is 
truncated on the right side of the screen and I can not get to it to see or 
correct that part of the table.  It compiles to pdf correctly but is not 
visible on screen.  Is this a bug or an I doing something wrong?

Thanks

Jim


===
Dr. Jim Maas
University of East Anglia



Yes it is a bug, and I remember seeing a report about it in the bug 
tracker. The LyX window does not have any horizontal scroll bar. You get 
to the right of your table by navigating with the keyboard.


--
Julien



Re: list of figures

2011-05-26 Thread Richard Heck
On 05/26/2011 10:44 AM, Doc Doc wrote:
>
> Hi,
> I use the University of new south wales layout for my document
> when I create the PDF file, I have a little problem with the list of
> figures. the first letter of the caption appears above the number of
> the figure. Is thèse any way to avoid that?
>
> I tried to use
> \usepackage{tocloft}
> \setlength{\cftfignumwidth}{3em}
> with tocloft.sty installed but when I insert it in the preamble of the
> document, it generates many errors
>
> is there any way to solve this problem?
>
Can you please post a short example file? You may also need to include
the layout and the cls file, since most of us will not have them.

Richard



Re: lyx 2.0 problem with advanced find-replace in math-mode

2011-05-26 Thread Richard Heck
On 05/26/2011 11:08 AM, Matthew Ellman wrote:
> Dear Developers,
>
> Thanks very much for allowing within math search in lyx 2.0!  I have
> one problem which looks like a bug:
>
> The search option works well for in-line maths, but for displayed
> maths, it typically does not find the content.
> Note: the problem arose both on a Mac OSX 10.6.7  and also on Windows
> 7 - 64bits. 
>
> Please let me know if there is any solution (other than turning all
> the displays into in-line math which is what I had to do today).
>
Can you please report this on the bug tracker?

Richard



RE: list of figures

2011-05-26 Thread Doc Doc

Hi
Thank you for your answer
the layout and the example file are in 
http://www.thesis-template.com/archives/58

Raùf







Date: Thu, 26 May 2011 12:24:59 -0400
From: rgh...@comcast.net
To: raouf_tem...@hotmail.com
CC: lyx-users@lists.lyx.org
Subject: Re: list of figures



  



  
  
On 05/26/2011 10:44 AM, Doc Doc wrote:

  
  

  Hi,

  I use the University of new south wales layout for my document

  when I create the PDF file, I have a little problem with the list
  of figures. the first letter of the caption appears above the
  number of the figure. Is thèse any way to avoid that?

  

  I tried to use 

  \usepackage{tocloft}

  \setlength{\cftfignumwidth}{3em}

  with tocloft.sty installed but when I insert it in the preamble of
  the document, it generates many errors

  

  is there any way to solve this problem?

  


Can you please post a short example file? You may also need to
include the layout and the cls file, since most of us will not have
them.



Richard


  

Re: list of figures

2011-05-26 Thread Julien Rioux

On 26/05/2011 10:44 AM, Doc Doc wrote:



Hi,

I use the University of new south wales layout for my document

when I create the PDF file, I have a little problem with the list of
figures. the first letter of the caption appears above the number of the
  figure. Is thèse any way to avoid that?

I tried to use
\usepackage{tocloft}

\setlength{\cftfignumwidth}{3em}
with tocloft.sty installed but when I insert it in the preamble of the 
document, it generates many errors

is there any way to solve this problem?

thank you







This is pretty obscure black magic but it works. Put this in your preamble

\renewcommand*{\numberline}[1]{\hb@xt@2em{#1\hfil}}

and adjust the length (2em) as necessary.

See
http://tex.stackexchange.com/questions/11569/customize-spacing-between-section-number-and-its-caption

--
Julien


Number Tables by Section in Document Settings doesn't work

2011-05-26 Thread Daisuke Koya
Hello All,

I am using LyX 1.6.10 for Macintosh.

My problem is that I would like my tables to be numbered as

Table section.number

. Therefore, I've selected the Number Tables by Section Module under LyX: 
Document Settings, but it does not seem to have the same effect as inserting 
the following code in the LaTeX Preamble

\numberwithin{table}{section}

. Could someone please tell me whether the above Module is working properly, or 
should I stick to inserting code in the LaTeX Preamble?

Thank you very much,

Daisuke Koya

Re: Number Tables by Section in Document Settings doesn't work

2011-05-26 Thread Richard Heck
On 05/26/2011 12:55 PM, Daisuke Koya wrote:
> Hello All,
>
> I am using LyX 1.6.10 for Macintosh.
>
> My problem is that I would like my tables to be numbered as
>
>   Table section.number
>
> . Therefore, I've selected the Number Tables by Section Module under LyX: 
> Document Settings, but it does not seem to have the same effect as inserting 
> the following code in the LaTeX Preamble
>
>   \numberwithin{table}{section}
>
> . Could someone please tell me whether the above Module is working properly, 
> or should I stick to inserting code in the LaTeX Preamble?
>
Can you check the generated preamble of a simple document? The module is
supposed to enter exactly that code in the preamble (under 2.0.0, at least).

Richard



Re: Pasting from pdf

2011-05-26 Thread Andrew Parsloe

On 26/05/2011 10:26 p.m., Julio Rojas wrote:

Just what does bold-italic-numbered-size 14-roman actually mean in
the specific context in which it occurs; in one document it might be
a procedural rendition of a section head but in another the same
author might intend it to be emphasis (rendered simply as bold).


This is the exact question one should answer before asking why what
Andrew wants is not the best path to follow. Obviously, Andrew's
documents follow some layout specifically designed for some journal, so
for him this answer is straighforward. Nonetheless, for Lyx it doesn't
matter, as it will be impossible to get this information from the PDF.

BTW, Andrew, how did you manage to copy from a PDF and pasting on
Abiword keeping the format? I was curious, so I tried with a simple PDF,
but it only pasted plain text.

Regards.
-
Julio Rojas
jcredbe...@gmail.com 


I'm working in Windows, so it was Ctrl-A, Ctrl-C in the pdf, then Ctrl-V 
in Abiword. Voila! Text with underlining, bold and italics (emphasis) 
preserved.




On Thu, May 26, 2011 at 12:05 PM, Trevor Jenkins > wrote:

On Thu, May 26, 2011 at 10:31 AM, Julio Rojas > wrote:

Making some text as Bold-Italic-Numbered-Size 14-Roman can be
done in Lyx, but it is much better to say that such text is in a
Section environment, because when changes on the document style
are made, you only have to make them once, and not throughout
the document, at every instance of said format. Finger painting,
what you need, is not the way to go in Lyx/Latex. It should be
avoided like the plague.

I hope you see the need for this approach. Regards.


Many years ago (a couple of decades at least) there was a paper
presented at a SigDoc conference, I think it was, on some initial
attempts to infer structural markup from procedural. This project
must have been sometime in the late 1980s (certainly post 1986 and
the ISO's publication of ISO 8879 SGML) and the early 1990s. I place
it in that time frame because of SGML being an International
Standard and the governmental procurement processes that mandate the
use of standards over ad hoc solutions, which procedural markup is,
and system suppliers not wishing to lose business because they could
deal with the new published standard. At this moment I can't lay my
hands on my copy of those proceedings but I do recall that the
procedural editor being used was WPS-PLUS.

Although I was never involved in that project it did appear to be a
sensible way to convert from old-fashioned procedural to modern
structural markup. I jotted down some OPS-5-like rules in an attempt
to create an expert system that would ease this conversion. And in
moments of craziness return to them adding more and more special
cases to cover how people use procedural stuff. I also got stuck on
the input phase of dealing with the multiplicity of formats being
spewed out by Microsoft Word let alone all the other proprietary
word processing and DTP formats that exist.

Some one else tried a similar project that converted groff/troff
files from a limited set of ms/mm/etc macros to a more structural
form. It may also have included some TeX conversion too. This would
also have been in the early 1990s. I thought it was Eric Raymond but
there's nothing on his web site about it now. My memory is that the
person abandoned the task quite quickly because of the complexity of
the task. Just what does bold-italic-numbered-size 14-roman actually
mean in the specific context in which it occurs; in one document it
might be a procedural rendition of a section head but in another the
same author might intend it to be emphasis (rendered simply as bold).

However, there is a solution to the original poster's request.
Include all the original markup from the pasted in document under a
TeX escape. It won't be pretty and as with the work-arounds already
being used will require manual intervention to convert to LaTeX's
pseudo structural markup scheme.

Regards, Trevor.

<>< Re: deemed!


These have been interesting responses. I was unaware of the complexity 
of the issue. In fact I'm not after minutely detailed reproduction of 
the original character style -- fingerpainting -- but was hoping that 
emphasised text in the original might be preserved as emphasised text 
after pasting, the same for bolding, as it is in Word, Abiword, Open 
Office, irrespective of what happens to the font, text size and so on.


Andrew


shortcut

2011-05-26 Thread Hal Kierstead
I am trying to get my shortcuts uniform across three machines.  Can  
you tell me where shortcuts are stored on a Max?  I already know to  
use the same bind folder and layout file.


Thanks,

Hal Kierstead


Re: Pasting from pdf

2011-05-26 Thread Richard Heck
On 05/26/2011 05:25 PM, Andrew Parsloe wrote:
>
> These have been interesting responses. I was unaware of the complexity
> of the issue. In fact I'm not after minutely detailed reproduction of
> the original character style -- fingerpainting -- but was hoping that
> emphasised text in the original might be preserved as emphasised text
> after pasting, the same for bolding, as it is in Word, Abiword, Open
> Office, irrespective of what happens to the font, text size and so on.
>
But of course this is fingerpainting. Emphasized text is being
translated as /italic/, and bold text is being translated as *bold*.
Italic is not emphasized, and bold is not strong. That is: This
information is coming from what fonts are used, not from anything
structural.

rh



Re: shortcut

2011-05-26 Thread Richard Heck
On 05/26/2011 06:06 PM, Hal Kierstead wrote:
> I am trying to get my shortcuts uniform across three machines.  Can
> you tell me where shortcuts are stored on a Max?  I already know to
> use the same bind folder and layout file.
>
The difference is in what .bind file is used. You can change this under
Tools>Preferences. OSX uses mac.bind by default.

rh



Re: shortcut

2011-05-26 Thread BH
On Thu, May 26, 2011 at 8:15 PM, Richard Heck  wrote:
> On 05/26/2011 06:06 PM, Hal Kierstead wrote:
>> I am trying to get my shortcuts uniform across three machines.  Can
>> you tell me where shortcuts are stored on a Max?  I already know to
>> use the same bind folder and layout file.
>>
> The difference is in what .bind file is used. You can change this under
> Tools>Preferences. OSX uses mac.bind by default.

Except on a Mac, the preferences dialog can be found at LyX >
Preferences (as is common for Mac apps).

BH


Installing on Mac--MacTex vs. BasicTex

2011-05-26 Thread Bob Alvarez
I am installing Lyx 1.6.9 on a Macbook Air OSX 10.6 .  Looking through 
the instructions I was dismayed to see that I may have to install the 
1.6 GB MacTex package. This machine only has a 64 GB drive so this is 
quite a lot of overhead not to mention that the download will take many 
hours on my basic DSL connection.


The Wiki suggests BasicTex but this thread suggests that is a bad idea
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg78404.html

Questions:
1. Has anyone had success installing and using Lyx with BasicTex (I am 
mainly interested in koma-script article document class)?


2. Any ideas on using an external USB drive to hold the installation 
package and then selecting the components I need for Lyx?


3. Any other ideas on how to reduce the drive space requirement?

TIA

Bob