Re: Importing tables

2009-04-07 Thread Guenter Milde
On 2009-04-06, Anders Host-Madsen wrote:
 Talking about tables. I'm trying to import a table from excel.
 I get the error this file is from an earlier version of LyX,
 but LyX failed to convert it. If I try to open the file lyx created
 from the CSV, LyX crashes. I tried to shorten my csv file
 to a few lines, and then LyX managed to import it. It seems
 to be purely a function of the length, I don't think the rest
 of the table has any different kind of data than the first part.

Normally, lyx2lyx failure is not a problem of length. Maybe there is a
problematic character in the later parts.

You could try dividing the table and import/convert in blocks.

You coula also call the involved programs (csv2lyx and lyx2lyx) manually in
a console window and look for the error messages.

Günter



Re: Getting LyX to play nice with an external document specification

2009-04-07 Thread Guenter Milde
On 2009-04-06, Corey Yanofsky wrote:

 I'm trying to generate a pdf version of a manuscript using the LaTeX
 files provided at
 http://www.oxfordjournals.org/our_journals/biosts/for_authors/latex%20te
 mplate.zip. 
...
 created the following file, bio.layout, in my /Resources/layouts folder:

 #% Do not delete the line below; configure depends on this

 # \DeclareLaTeXClass[bio,
 times.sty,modamsfonts.sty,modamssymb.sty,modamsthm.sty,modnatbib.sty,mod
 bm.sty,modlastpage.sty]{article (Biostatistics)}

Do you really have a blank line below the first? I always thought the layout
would fail to work in this case.


 I started a new document and set the Document class to article
 (Biostatistics). I wrote some random text and was able to generate the
 pdf. I inserted the title and pdf generation failed with error title
 LyX: cannot view file and message File does not exist:
 C:\...\newfile1.pdf . However, dvi generation succeeded, although a
 MikTeX problem report was generated with message Not all fonts could be
 loaded. See 'File-Document Properties', for details. I attempted to
 use dvipdfm to convert the dvi file to pdf, but that failed with an
 extensive error message essentially saying that some fonts were missing.


As a DVI file does not contain any fonts, it looks like a font problem. 

The logfile (DocumentLaTeX Log) might give more insight.

If not, I'd recommend to export to latex and convert by hand and have a
careful look at the error messages and logfile.

Günter



Re: CJK UTF-8 encoding for CJK document

2009-04-07 Thread Guenter Milde
On 2009-04-06, John Mok wrote:

 I tried and the result PDF got a little better. Some of the Chinese 
 characters were missed out, but it did show some Japanese and Chinese 
 mixed characters in one document, e.g. 你 in 你們好 was missed out.

 Is there any anything I can do to make it complete?

I have no experience with any of these languages, but some simple steps:

* Create a minimal example that shows the problem.

* Debug the languages/scripts separately 
  (does it work with just Japanese? )
  
* Read the Warnings and Errors under DocumentLaTeX log
  (use a minimal example to speed this up).
  
* Try with XeTeX (search at wiki.lyx.org for workarounds for XeTeX with
  LyX)

Günter



Re: automatically create table based on external (ascii) data

2009-04-07 Thread Guenter Milde
On 2009-04-06, Nikos Alexandris wrote:
 On Mon, 2009-04-06 at 18:50 +0200, Siegfried Meunier-Guttin-Cluzel
 wrote:
 Did you try the csv format (coma separated values ) ?
 Siegfried.

 You mean... ? Insert directly a csv file? No, I did not. I just try to
 copy-paste from R. The   (=space) also can (or should be able to) act
 as a field separator (or not?).

Pasting into a table works with table-data if it is TAB separated. The
space is too often needed inside a table cell in the general case.

 But I don't see why the copy-paste does not work? I would expect this to
 be a feature in LyX. Perhaps under development??

You might ask for an extension of the customizable csv2lyx insert CSV
data feature to work also as PasteSpecialCSV so you do not need to
create and import a temporary CSV file.

A quick workaround would be convert the spaces to tabs in your R output,
to generate an empty table with 

   M-x tabular-insert 7 9

(adjust column and row numbers) and paste the data there

Günter



Re: Importing tables

2009-04-07 Thread José Matos
On Monday 06 April 2009 21:58:24 Anders Host-Madsen wrote:
 Talking about tables. I'm trying to import a table from excel.
 I get the error this file is from an earlier version of LyX,
 but LyX failed to convert it. If I try to open the file lyx created
 from the CSV, LyX crashes. I tried to shorten my csv file
 to a few lines, and then LyX managed to import it. It seems
 to be purely a function of the length, I don't think the rest
 of the table has any different kind of data than the first part.

Would you mind to send me the original file privately. I have been fixing all 
interaction between lyx2lyx and other converters and I am interested why this 
fails in this case.
-- 
José Abílio


Re: My new environment

2009-04-07 Thread Olivier Ripoll

Hi again,

Steve Litt wrote:

On Monday 06 April 2009 05:02:20 am Olivier Ripoll wrote:

Steve Litt wrote:

On Saturday 04 April 2009 06:34:40 am Pavel Sanda wrote:

Steve Litt wrote:

Hi all,

I decided to put a short statement at the beginning of each chapter. I
wanted it to be surrounded by lines, a little bit narrower than general
text, and I wanted the print slightly bigger than normal. Here's how I
did it:

convert to module and put it into wiki?
pavel

How do I make it into a module? I don't have 1.6.x yet.

STeveT

Hi all,

Just for fun, I've tried to make a module out of it. I am no LaTeX
expert at all, so I have issues and perhaps someone can clarify them to me:

LaTeX complains about environment Sbox being undefined. I can work
around using sbox instead, but then, I still get plenty of errors. Is
Sbox different from sbox ? If so, should I add something to define it ?


My mistake. Sorry. 


To get \Sbox to work, you must stick this in your preamble:

\usepackage{fancybox}%   For Sbox command


So here we are, here is the content of LittChapterIntro.module(*) file 
(between the dashed lines, those lines excluded of course):

-
#\DeclareLyXModule{LittChapterIntro}
#DescriptionBegin
#Puts a short statement at the beginning of each chapter.
#It is surrounded by lines, a little bit narrower than general text, and 
prints slightly bigger than normal.

#DescriptionEnd

#Author: Steve Litt

Format 11

Style ChapterIntro
  LatexType Environment
  LatexName chapterintroL
  Font
   Size Large
  EndFont
  LeftMarginMM
  RightMargin   MM
  TopSep1.4
  ItemSep   0.7
  ParSep0.7
  BottomSep 1.0
  Preamble
\usepackage{fancybox}
\newenvironment{chapterintroL}[0]{
  ~\\[20pt]
  \addtolength{\textwidth}{-0.2\textwidth}
  \setlength{\parindent}{0.1\textwidth}
  \indent
  \begin{Sbox}\begin{minipage}{\textwidth}{}%
  \setlength{\parskip}{1.6\baselineskip}%
  \leftskip 10pt\rightskip 10pt\large ~\\[0.4\baselineskip]%
}{
  \\[0.05\baselineskip]~\end{minipage}\end{Sbox}\fbox{\TheSbox}\\[20pt]
}
  EndPreamble
End
-

Works for me on Windows (Miktex, 1.6.2 Alt installer). But I'm not 
sure I'll use it though ;-)


Best regards,

Olivier

(*) one may use another file name of course



LyX vs Word processors

2009-04-07 Thread Paul Sutton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I accidently sent this to Typhoon, so have now posted to the right place
, (hopefully)


Seems to be that ReST would yet another markup to learn,  where as if we
stick to say Latex or plain text,  we use what we are familar with, and
can go back to concentrating on content,  which is one of the main
points of latex.

pastebin supports LaTex, so i what would be needed is some sort of
website that people working on a paper can log in to, and paste bits of
code, and then perhaps upload pdf, ps, or dvi files to link to the code,

Or even better

something like this

http://codepad.org/

which supports programming languages but set up to deal with latex,
online so select output, hit compile and it produces a pdf or whatever
on the remote server for the team to download and review.

I am sure the above is possible,  not sure how though.

the txt2tags website can take simple mark up and produce latex output,
ok this goes back to what i said earlier,  about learning more mark up,
but it shows that this can be done,  so an online latex collaboration
tool should be possible,  if it concentrated on latex and related such
as bibtex, then it would be a very powerful tool.

http://codepad.org/

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

iEYEARECAAYFAknbIXgACgkQaggq1k2FJq2X4wCfVbeU29Ma9uZnxyn/dxSvO65i
FjEAn37CbTdBDSjrUs+D70+ueTcIUsHV
=kexE
-END PGP SIGNATURE-


Re: No longer able to cross-reference between files?

2009-04-07 Thread Guenter Milde
On 2009-04-05, Abdelrazak Younes wrote:
 On 05/04/2009 18:37, Rudi Gaelzer wrote:

 FYI we just hide the document selection combo since 1.6.0 because nobody 
 knew why this was needed. Maybe we can restore it back in 1.6.3 as we 
 found a user :-)

At least two.

Günter




lyx and gnome document viewer

2009-04-07 Thread Paul Sutton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Using 1.5.6

I am trying to create an a5 document,  I have selected a5 in the right
place in lyx,  however it seems that this is not being passed on to
gnome document viewer,

I thought it looked odd,  as the text for title was not in the right
place relative to the actual preview page sizes, its sort of in the
middle at the top part of the page,  but if I was to put a5 paper over
that area, hold up to the light so it visible through the sheets,   it
would appear in the right place if printed on a5,  so how do I get the
preview to display as an a5 page ?  so the document does not look all
out of place.

Is this a bug in lyx or a bug in the gnome document viewer.
I am using ubuntu 8.10.

Paul

- --
Paul Sutton
www.zleap.net
Support Open and ISO standard file formats ISO 26300 odf
http://www.odfalliance.org
Next Linux User Group meet :Saturday ** May 9th ** : 3pm,  Shoreline
Cafe Paignton
Ubuntu 9.04 Jaunty Jackalope - Launched April 23rd, 2009
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknbKVgACgkQaggq1k2FJq39VACfU3cOSuS7p7kVdFRFvdAb97ip
66sAnRcL707RUQIZ8qwWAxgCktv6q7oC
=ODzI
-END PGP SIGNATURE-


Re: Thanks for LyX

2009-04-07 Thread Anthony Campbell
On 07 Apr 2009, Ernesto Jardim wrote:
 Dear developers,

 I'd like to thank you for developing LyX !

 I've just finished my PhD in Marine Science and I used LyX to write the  
 final document and the four papers that compose the PhD. I never had  
 problems, never lost documents, and all the minor issues were sorted out  
 in a few hours with the information on the web.

 Thank you very much.

 EJ

 ps: off course I included LyX in the acknowledgements section

On my printed books I include an acknowledgement in the form: 
Typeset using Lyx on Debian Gnu/Linux.

Anthony

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



Re: Thanks for LyX

2009-04-07 Thread Ernesto Jardim

Anthony Campbell wrote:

On 07 Apr 2009, Ernesto Jardim wrote:
  

Dear developers,

I'd like to thank you for developing LyX !

I've just finished my PhD in Marine Science and I used LyX to write the  
final document and the four papers that compose the PhD. I never had  
problems, never lost documents, and all the minor issues were sorted out  
in a few hours with the information on the web.


Thank you very much.

EJ

ps: off course I included LyX in the acknowledgements section



On my printed books I include an acknowledgement in the form: 
Typeset using Lyx on Debian Gnu/Linux.


Anthony
  

Mine was not so formal.

I'd like to thank the Open Source community, and specifically the 
developers of R (http://r-project.org)
and its packages, which I used for data analysis, and LyX 
(http://www.lyx.org), used for text editing.


Best

EJ



Re: LyX vs. wordprocessors

2009-04-07 Thread Joachim Osnabryg

Am 05.04.2009, 00:46 Uhr, schrieb Steve Litt
sl...@troubleshooters.com:

If it's longer
than 5 pages, I use LyX or Komposer (a WYSIWYG HTML editor).

Sorry, Steve, do you mean
»kompozer« http://www.kompozer.net/
or Nvu - HTML-Editor (for Windows)
or Nvu Composer (for several OSs)

or something else?

joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.1
MacBook Pro intel OSX 10.4.11 Tiger



Rv: Re: lyx and gnome document viewer

2009-04-07 Thread Marcelo Acuña

 Using 1.5.6
 
 I am trying to create an a5 document,  I have selected
 a5 in the right
 place in lyx,  however it seems that this is not being
 passed on to gnome document viewer,
 [...]
 Paul
 
  With DVI viewer I have same problem, but with pdf viewer
 size of page is correctly passed.
 
 Marcelo



  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Re: No longer able to cross-reference between files?

2009-04-07 Thread Abdelrazak Younes

Rudi Gaelzer wrote:

On Sunday 05 April 2009 16:09:05 Abdelrazak Younes wrote:

Haha, now we know what this was about!
FYI we just hide the document selection combo since 1.6.0 because nobody
knew why this was needed. Maybe we can restore it back in 1.6.3 as we
found a user :-)

Abdel.


Please do.  I'm surprised that no one else would think this is important.
This feature is important to me because I do almost all my mathematical 
calculations using LyX and I frequently need to make references to equations 
that appear in other documents.


So far, I've been doing this using the xr.sty package.  In fact, I've already 
posted an old issue about this topic: 
http://marc.info/?l=lyx-usersm=113241857032092w=2


If you could enable again the use of the document selection combo, I'd be 
very grateful.


I'll see what I can do but it won't be soon. But I copy the devel list 
in case someone could do it before.


Guys, AFAIR this is just a matter of unhidding the buffer selection 
combo in the cross ref ui file.



 In fact It would be even more useful if the user could cross-
reference labels created in another document, even if it's not a child/master 
document.


Yes, this request is already in bugzilla AFAIR.

Abdel.



Re: No longer able to cross-reference between files?

2009-04-07 Thread Abdelrazak Younes

Pavel Sanda wrote:

Abdelrazak Younes wrote:
  

Rudi Gaelzer wrote:

If you could enable again the use of the document selection combo, I'd 
be very grateful.
  
I'll see what I can do but it won't be soon. But I copy the devel list in 
case someone could do it before.



no he couldn't, you are 2 minutes late :)
http://www.lyx.org/trac/changeset/29140
  


Good boy :-)

Abdel.



Re: LyX vs Word processors

2009-04-07 Thread Christian Ridderström

On Tue, 7 Apr 2009, Paul Sutton wrote:

pastebin supports LaTex, so i what would be needed is some sort of 
website that people working on a paper can log in to, and paste bits of 
code, and then perhaps upload pdf, ps, or dvi files to link to the code,


Or even better

something like this

http://codepad.org/

which supports programming languages but set up to deal with latex,
online so select output, hit compile and it produces a pdf or whatever
on the remote server for the team to download and review.

I am sure the above is possible,  not sure how though.

the txt2tags website can take simple mark up and produce latex output,
ok this goes back to what i said earlier,  about learning more mark up,


Have a look at http://www.wikipublisher.org/

Basically it's a wiki that uses a familiar markup (the same as on the LyX 
wiki), and it can produce LaTeX and PDF based on that. It goes via XML 
IIRC.


cheers,
/Christian



but it shows that this can be done,  so an online latex collaboration
tool should be possible,  if it concentrated on latex and related such
as bibtex, then it would be a very powerful tool.

http://codepad.org/

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

iEYEARECAAYFAknbIXgACgkQaggq1k2FJq2X4wCfVbeU29Ma9uZnxyn/dxSvO65i
FjEAn37CbTdBDSjrUs+D70+ueTcIUsHV
=kexE
-END PGP SIGNATURE-




--
Christian Ridderström   Mobile: +46-70 687 39 44

Thanks for LyX

2009-04-07 Thread Ernesto Jardim

Dear developers,

I'd like to thank you for developing LyX !

I've just finished my PhD in Marine Science and I used LyX to write the 
final document and the four papers that compose the PhD. I never had 
problems, never lost documents, and all the minor issues were sorted out 
in a few hours with the information on the web.


Thank you very much.

EJ

ps: off course I included LyX in the acknowledgements section


Re: Thanks for LyX

2009-04-07 Thread José Matos
On Tuesday 07 April 2009 11:14:05 Ernesto Jardim wrote:
 Dear developers,

 I'd like to thank you for developing LyX !

 I've just finished my PhD in Marine Science and I used LyX to write the
 final document and the four papers that compose the PhD. I never had
 problems, never lost documents, and all the minor issues were sorted out
 in a few hours with the information on the web.

Congratulations.

 Thank you very much.

You are welcome. :-)
It is always nice to get feedback from users and mostly so when the feedback 
is quite positive as it is your case. :-D

 EJ

 ps: off course I included LyX in the acknowledgements section

Regards,
-- 
José Abílio


Re: LyX - rtf, doc or openoffice convert: ONCE AGAIN

2009-04-07 Thread Piero Faustini

 Sure, but it is good to have a starting point. At least you don't have
 to retype it all again.
 
 Thanks,
 
 Alex Fernández.
 
 

HTML quality is much better than I thought, but I can't open it with OOo 3.0 (I 
obtani only markup text)
Good work!







Re: No longer able to cross-reference between files?

2009-04-07 Thread Pavel Sanda
Abdelrazak Younes wrote:
 Rudi Gaelzer wrote:
 On Sunday 05 April 2009 16:09:05 Abdelrazak Younes wrote:
 Haha, now we know what this was about!
 FYI we just hide the document selection combo since 1.6.0 because nobody
 knew why this was needed. Maybe we can restore it back in 1.6.3 as we
 found a user :-)

 Abdel.
 Please do.  I'm surprised that no one else would think this is important.
 This feature is important to me because I do almost all my mathematical 
 calculations using LyX and I frequently need to make references to 
 equations that appear in other documents.
 So far, I've been doing this using the xr.sty package.  In fact, I've 
 already posted an old issue about this topic: 
 http://marc.info/?l=lyx-usersm=113241857032092w=2
 If you could enable again the use of the document selection combo, I'd 
 be very grateful.

 I'll see what I can do but it won't be soon. But I copy the devel list in 
 case someone could do it before.

no he couldn't, you are 2 minutes late :)
http://www.lyx.org/trac/changeset/29140
pavel


 Guys, AFAIR this is just a matter of unhidding the buffer selection combo 
 in the cross ref ui file.


Re: LyX vs. wordprocessors

2009-04-07 Thread Wolfgang Keller
  In fact in collaborative environments (e.g. companies), where several
  people work together on the same document, Word documents _always_ end up
  like that - A hopelessly tangled spaghetti mess. In fact I never managed
  to figure out how to copy and paste content from two different versions of
  a document, which are both perfectly well styled and which were created
  using the same template in such a way that the resulting document isn't
  messed up.
 
I'm surprised that no one seems to use the most reasonable solution for
 collaborative text: have everyone use plain text and only futz with
 formatting when you agree on a final version. 

Dilbert

What aspect of the difference between formatting and structure markup is 
unclear to you?

/Dilbert

;-

BTW: What you propose is exactly what experienced users of Word (who don't 
know anything else) consistently do. Why they use Word for editing _plain-text_ 
is totally unclear to _me_. And it is a PITA to work with such people (, 
methods and tools) on structured, technical documents.

Sincerely,

Wolfgang



Re: LyX - rtf, doc or openoffice convert: ONCE AGAIN

2009-04-07 Thread Uwe Stöhr

Piero Faustini schrieb:

HTML quality is much better than I thought, but I can't open it with OOo 3.0 (I 
obtani only markup text)


I tested yesterday some files and get relatively nice looking files (OOo 3.0.1). You could now 
alternatively look for HTML to RTF/ODT converters.


regards Uwe


Float with wrapped table inside

2009-04-07 Thread Carnë Draug
Hi

I'm trying to get a float in LyX with a 3 figures and a table and some text.
I made a image of the layout I want and uploaded it here

http://picpaste.com/layout.png

I also made it in ASCII since some people may not wish to follow a link

1 word
+---+
|Figure |
+---+
++  1 word
||  4 words
||  +---+
||  |   Figure  |
|Table   |  +---+
||  4 words
||  +---+
||  |  Figure   |
||  +---+
||
++


However, I can't do it. I've read the user's guide and it says that LyX
doesn't support wrap floats, to read the documentation of wrapfig. I
followed the reference in the guide which was a sty file. I just don't
understand what's written in there.

I thought I could do it with LaTeX code so I got a book from the library but
I still can't. Can someone give me a hand with this?

Thanks in advance

Carnë Draug


Re: Float with wrapped table inside

2009-04-07 Thread Florian Rubach

Carnë Draug schrieb:

Hi

I'm trying to get a float in LyX with a 3 figures and a table and some text.
I made a image of the layout I want and uploaded it here

http://picpaste.com/layout.png

I also made it in ASCII since some people may not wish to follow a link

1 word
+---+
|Figure |
+---+
++  1 word
||  4 words
||  +---+
||  |   Figure  |
|Table   |  +---+
||  4 words
||  +---+
||  |  Figure   |
||  +---+
||
++


However, I can't do it. I've read the user's guide and it says that LyX
doesn't support wrap floats, to read the documentation of wrapfig. I
followed the reference in the guide which was a sty file. I just don't
understand what's written in there.

I thought I could do it with LaTeX code so I got a book from the library but
I still can't. Can someone give me a hand with this?

Thanks in advance

Carnë Draug


I usually do this kind of layout by simply adding a table without 
visible lines and add the content where I want it.
So in your case, I would create a single float environment, add a 2x2 
table, merge the upper fields, insert the first figure.
Then, I would set the width of the colums to a defined value (because 
then I am allowed to fill in more than one line of content in a cell).
Afterwards, I would insert the table in the lower left cell and the 
other stuff in the lower right cell.

Do you need an example-file?

Regards, Florian


Re: Insert character by Unicode code point

2009-04-07 Thread John Jason Jordan
On Mon, 6 Apr 2009 17:12:49 +0200
Jürgen Spitzmüller sp...@lyx.org dijo:

 John Jason Jordan wrote:
  So I'm getting closer, but still not quite there. I guess this is a
  problem in XeLaTeX, but I don't know what to do next.
 
 It works for me with the DejaVu font. This is the corresponding LaTeX output. 
 Note that you need all the stuff marked by %-- in DocumentSettingsPreamble:
 
 \documentclass{article}
 \usepackage{fontspec} %--
 \setmainfont[Mapping=tex-text]{DejaVu Serif} %--
 \usepackage{tipa}
 \usepackage{xunicode} %--
 \usepackage{xltxtra} %--

OK, I am trying to export as PostScript and it is not working.
However, it does work as PDF. And I want to use the Junicode font, so
here is what I am doing:

1) The preamble is set to

\usepackage{fontspec}
\setromanfont{Junicode}
\usepackage{xunicode}
\usepackage{xltxtra}

In Document  Settings  Fonts I have set

Default Family: Roman
Roman: Default
Sans Serif: Default
Trypewriter: Default
CJK: blank
Base Size: 12

In the document  window I typed some text.

The document name is newfile1. I export as pdflatex, and then from the
command line xelatex newfile1. The resulting PDF says some text set
in Junicode 12 point. Perfect.

But If I try to export as PostScript I get the following error message:

Font EU1/lmr/m/n/10=[lmroman10-regular] at 10.0pt not loadable: Metric
(TFM) Font \...@basefont=junicode at 10.0pt not loadable: Metric (TFM)
file not foun Undefined control sequence.
Missing number, treated as zero.
Undefined control sequence.
Font \...@basefont=junicode at 10.0pt not loadable: Metric (TFM) file
not foun Font EU1/Junicode(0)/m/n/12=Junicode: at 12.0pt not loadable:
Metric (TFM) fi

I think the problem is that the export to pdflatex understands it needs
to use XeTeX, but the export to PostScript does not. Therefore, the
PostScript interpreter can't figure what font I want.

Further advice needed. :(



Re: Insert character by Unicode code point

2009-04-07 Thread Jürgen Spitzmüller
John Jason Jordan wrote:
 I think the problem is that the export to pdflatex understands it needs
 to use XeTeX, but the export to PostScript does not. Therefore, the
 PostScript interpreter can't figure what font I want.

XeTeX does not support PostScript.

Jürgen


Re: Insert character by Unicode code point

2009-04-07 Thread Rich Shepard

On Tue, 7 Apr 2009, Juergen Spitzm?ller wrote:


XeTeX does not support PostScript.


  However, all distributions should have pdf2ps.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Re: Float with wrapped table inside

2009-04-07 Thread Carnë Draug
Thanks Florian but that didn't work. It just gave me a bunch of errors. I
attached the lyx file.I would be most thankful if you could give me a hand
with this.
Thanks,

Carnë Draug


test_layout.lyx
Description: application/lyx


Re: Float with wrapped table inside

2009-04-07 Thread Florian Rubach

Carnë Draug schrieb:
Thanks Florian but that didn't work. It just gave me a bunch of 
errors. I attached the lyx file.I would be most thankful if you could 
give me a hand with this.

Thanks,

Carnë Draug
Well, your file works fine at my place, apart from the fact that it 
looks ugly because of overlapping tables etc...

But I just remembered another possiblity:
You can use Minipages (boxes) instead of a table.
The Minipages are adjustable in their horizontal dimension and you can 
add variable horizontals spaces between them so they are distributed nicely.

Again, tell me if you need an example-file...

regards, Florian


Re: Thanks for LyX

2009-04-07 Thread Steve Litt
+1
SteveT

On Tuesday 07 April 2009 06:14:05 am Ernesto Jardim wrote:
 Dear developers,

 I'd like to thank you for developing LyX !

 I've just finished my PhD in Marine Science and I used LyX to write the
 final document and the four papers that compose the PhD. I never had
 problems, never lost documents, and all the minor issues were sorted out
 in a few hours with the information on the web.

 Thank you very much.

 EJ

 ps: off course I included LyX in the acknowledgements section



Re: Insert character by Unicode code point

2009-04-07 Thread John Jason Jordan
On Tue, 7 Apr 2009 08:10:20 -0700 (PDT)
Rich Shepard rshep...@appl-ecosys.com dijo:

 On Tue, 7 Apr 2009, Juergen Spitzm?ller wrote:
 
  XeTeX does not support PostScript.
 
However, all distributions should have pdf2ps.

Indeed, I am (for perhaps the first time in my life) one step ahead of
you. :)

However, I just used it to convert the PDF to PS, and the resulting PS
is a bitmap. Major suckitude. :(


[Fwd: Re: CJK UTF-8 encoding for CJK document]

2009-04-07 Thread John Mok
 ---BeginMessage---


What I tried was make a document with two lines :-

你們好
私は

Following the instruction from Jürgen Spitzmüller to add Unicode font, 
the results got a little better :-


1. Language=Chinese and Encoding=Chinese(EUC-TW)
Result: Partial Chinese character missed out and Japanese part showed in 
PDF output


2. Language=Japanese(CJK) and Encoding= Japanese(CJK)(EUC-JP)
Result: All content failed to show in PDF output with errors

3. Language=Japanese(CJK) and Encoding= Unicode(CJK)(utf8)
Result: Failed to output PDF with an error Font 
C70/song/m/n/10/4f=cyberb4f at 10.0pt not loadable: Metric (TFM) file no


In my experience, I once worked to generate PDF output with Java and 
Apache XSL-FO, in which Unicode font was needed to embed it as CID font 
into the PDF output. I think the problem at hand is a font thing that no 
suitable font is found to make the PDF


Anyway, thanks for your help.

John Mok



Guenter Milde wrote:

On 2009-04-06, John Mok wrote:

I have no experience with any of these languages, but some simple steps:

* Create a minimal example that shows the problem.

* Debug the languages/scripts separately 
  (does it work with just Japanese? )
  
* Read the Warnings and Errors under DocumentLaTeX log

  (use a minimal example to speed this up).
  
* Try with XeTeX (search at wiki.lyx.org for workarounds for XeTeX with

  LyX)

Günter





---End Message---


my file does not compile to pdf anymore

2009-04-07 Thread Niko Schwarz
Hello!
a moment ago it worked fine. now it ust won't compile. no error message,
nothing. is there a log somewhere? what can i do?

niko


Re: automatically create table based on external (ascii) data

2009-04-07 Thread Anders Host-Madsen
Guenter Milde mi...@... writes:
 Pasting into a table works with table-data if it is TAB separated. The
 space is too often needed inside a table cell in the general case.

Thanks for the tip. I didn't realize this was possible.
I tried exporting to csv and importing to LyX (see
my previous posting), but it didn't work. This does work, but
it should be added that it is necessary to paste
as plain text, otherwise the tabs are ignored.



Re: Float with wrapped table inside

2009-04-07 Thread Florian Rubach

Carnë Draug schrieb:

Sned me an example file if you can then. Thanks a lot for your help

Carnë Draug


The attached works fine for me. Ask again if you have any questions!

Regards, Florian


graphics_layout.lyx
Description: application/lyx


Re: my file does not compile to pdf anymore

2009-04-07 Thread Niko Schwarz
Ok, I exported to .tex and ran pflatex file.tex. here is the result:
Chapter 1

Package natbib Warning: Citation `Kemeny1959' on page 4 undefined on input
line
 112.

[4]

Package natbib Warning: Citation `Dwork2001' on page 5 undefined on input
line
188.


Underfull \vbox (badness 1) has occurred while \output is active [5]

LaTeX Warning: Reference `sec:minimum-KT-distance problem' on page 6
undefined
on input line 289.


LaTeX Warning: Reference `fig:disc translocation' on page 6 undefined on
input
line 304.


LaTeX Warning: Reference `fig:disc translocation' on page 6 undefined on
input
line 304.


Package natbib Warning: Citation `Popov2007' on page 6 undefined on input
line
306.

[6]

Package natbib Warning: Citation `Vazirani2004' on page 7 undefined on input
li
ne 314.


Package natbib Warning: Citation `Downey1997' on page 7 undefined on input
line
 315.


Package natbib Warning: Citation `Niedermeier2006' on page 7 undefined on
input
 line 315.


Package natbib Warning: Citation `Flum2006' on page 7 undefined on input
line 3
15.


LaTeX Warning: Reference `fig:combinatorical explosion restricted' on page 7
un
defined on input line 323.


LaTeX Warning: Reference `fig:combinatorical explosion' on page 7 undefined
on
input line 324.


! LaTeX Error: Unknown graphics extension: .eps.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H return  for immediate help.
 ...

l.326 ...ingcombinatorical explosion\string.eps}


Now what does this mean? The references and graphics inclusions worked just
fine half an hour ago.

niko

On Tue, Apr 7, 2009 at 6:17 PM, Niko Schwarz niko.schw...@googlemail.comwrote:

 Hello!
 a moment ago it worked fine. now it ust won't compile. no error message,
 nothing. is there a log somewhere? what can i do?

 niko



RE: my file does not compile to pdf anymore

2009-04-07 Thread Vincent van Ravesteijn - TNW
 

! LaTeX Error: Unknown graphics extension: .eps.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H return  for immediate help.
 ...

l.326 ...ingcombinatorical explosion\string.eps}


Now what does this mean? The references and graphics inclusions
worked just fine half an hour ago.

niko

Have a look at this thread (it might be the same problem):

http://thread.gmane.org/gmane.editors.lyx.general/55423

Vincent


Re: my file does not compile to pdf anymore

2009-04-07 Thread rgheck

Niko Schwarz wrote:

! LaTeX Error: Unknown graphics extension: .eps.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H return  for immediate help.
 ...

l.326 ...ingcombinatorical explosion\string.eps}

  
The error is right there, but why you're getting it I don't know. It 
looks as if there's a filename there that is mangled for some reason. 
Have a look at the tex file itself and see if you can figure out what's 
happened.


rh



Re: my file does not compile to pdf anymore

2009-04-07 Thread Niko Schwarz
I don't think so. Firstly, I am on OSX and secondly, I haven't changed
anything about the graphics files recently.
 I think it's strange. I dropbox collect recent versions, and even after
going 3 hours back in time, it won't compile, then with another strange
error message: Paragraph ended before \...@setref@link was complete.
Very weird.



On Tue, Apr 7, 2009 at 6:31 PM, Vincent van Ravesteijn - TNW 
v.f.vanraveste...@tudelft.nl wrote:



 ! LaTeX Error: Unknown graphics extension: .eps.
 
 See the LaTeX manual or LaTeX Companion for explanation.
 Type  H return  for immediate help.
  ...
 
 l.326 ...ingcombinatorical explosion\string.eps}
 
 
 Now what does this mean? The references and graphics inclusions
 worked just fine half an hour ago.
 
 niko

 Have a look at this thread (it might be the same problem):

 http://thread.gmane.org/gmane.editors.lyx.general/55423

 Vincent



problem inserting .pdf as external material

2009-04-07 Thread Giovanni

  Hi list! I've tried to insert various .pdfs as external material,
using the pdfpages package. Everything works fine, except that any
imported pdf seems to start a new page. This is not the best looking
result... I get something like:

As you can see in the .pdf:
empty space, till the end of the page
the .pdf

It's possible to have the content inserted in line, as a paragraph?

Thanks,
  Giovanni


Re: my file does not compile to pdf anymore

2009-04-07 Thread Niko Schwarz
If I go 7 hours back in time, I get this error: Paragraph ended before
\...@setref@link was complete.
I know that this file used to compile because I have the pdf. Something
outside of my document is causing this failure, I think, however the only 2
things I changed were the bibliography and the document. Removing the
bibliography from the document does not fix the issue.

Also, last time I closed lyx it complained that it could not remove some
temporary directory.

This might all be unrelated, but could it be relevant? What should I be
looking for?

niko

On Tue, Apr 7, 2009 at 6:33 PM, rgheck rgh...@bobjweil.com wrote:

 Niko Schwarz wrote:

 ! LaTeX Error: Unknown graphics extension: .eps.

 See the LaTeX manual or LaTeX Companion for explanation.
 Type  H return  for immediate help.
  ...

 l.326 ...ingcombinatorical explosion\string.eps}



 The error is right there, but why you're getting it I don't know. It looks
 as if there's a filename there that is mangled for some reason. Have a look
 at the tex file itself and see if you can figure out what's happened.

 rh




Re: my file does not compile to pdf anymore

2009-04-07 Thread Niko Schwarz
I'm going nuts. If I add the ERT \end{document} right as the first thing all
at the top of the document, it still does not compile, with no error
message. It doesn't even take time. It simply doesn't react.
However, if I cut everything and write hi into the document, it compiles.

On Tue, Apr 7, 2009 at 6:50 PM, Niko Schwarz niko.schw...@googlemail.comwrote:

 If I go 7 hours back in time, I get this error: Paragraph ended before
 \...@setref@link was complete.
 I know that this file used to compile because I have the pdf. Something
 outside of my document is causing this failure, I think, however the only 2
 things I changed were the bibliography and the document. Removing the
 bibliography from the document does not fix the issue.

 Also, last time I closed lyx it complained that it could not remove some
 temporary directory.

 This might all be unrelated, but could it be relevant? What should I be
 looking for?

 niko

 On Tue, Apr 7, 2009 at 6:33 PM, rgheck rgh...@bobjweil.com wrote:

 Niko Schwarz wrote:

 ! LaTeX Error: Unknown graphics extension: .eps.

 See the LaTeX manual or LaTeX Companion for explanation.
 Type  H return  for immediate help.
  ...

 l.326 ...ingcombinatorical explosion\string.eps}



 The error is right there, but why you're getting it I don't know. It looks
 as if there's a filename there that is mangled for some reason. Have a look
 at the tex file itself and see if you can figure out what's happened.

 rh





Re: LyX vs. wordprocessors

2009-04-07 Thread Steve Litt
On Tuesday 07 April 2009 07:32:03 am Joachim Osnabryg wrote:
 Am 05.04.2009, 00:46 Uhr, schrieb Steve Litt
 sl...@troubleshooters.com:

 If it's longer
 than 5 pages, I use LyX or Komposer (a WYSIWYG HTML editor).

 Sorry, Steve, do you mean
 ÂģkompozerÂĢ http://www.kompozer.net/   =THIS
 or Nvu - HTML-Editor (for Windows)  =NO
 or Nvu Composer (for several OSs)   =NO

 or something else?

Kompozer (www.kompozer.net) is the successor to NVU, which I understand 
stopped beying supported and maintained.

Here is my authoring enviornment resume:

HTML:
1995: Notepad
1996: Frontpage
1997-1999: Netscape Gold
1999-2003: Netscape Composer (Last days of Windows)
2003-2004: Netscape Composer (First days of Linux)
2005-2006: Mozilla Composer
2007-2007: NVU
2008-2009: Kompozer
Bookwriting
1984-1986: Wordstar (CPM)
1986-1993: WordPrefect 5x
1996-2001: MS Word
2001-2009: LyX
Outlining
1980-1986: Pencil and paper
1985-1991: Wordperfect 5x
1991-1995: Grandview
1996-2001: MS Word
2001-2009: VimOutliner
Graphics
1990-2001: Micrografx Windows Draw
1994-2001: Paintshop Pro version 3
2001-2009: Gimp
2001-2009: Dia
2006-2009: Inkscape

You'll notice that I switched everything in 2001. That's because I converted 
my everyday business work from Windows to Linux in March 2001, and so needed 
to change most of my software.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Keyboard Shortcut

2009-04-07 Thread Rich Shepard

  I've looked at all the lists under Edit-Preferences-Shortcuts and cannot
find where I can assign ctrl-l to 'Insert TeX code'. Where is it hidden?

  In earlier versions, when all shortcuts were in the appropriate bind file,
it was easy enough to add new ones to make my writing more efficient. While
I can live with the lists in the menu, I would like to find functions there.

TIA,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Getting LyX to play nice with an external document specification

2009-04-07 Thread Corey Yanofsky
  #% Do not delete the line below; configure depends on this
 
  # \DeclareLaTeXClass[bio,
  times.sty,modamsfonts.sty,modamssymb.sty,modamsthm.sty,modnatbib.sty,mod
  bm.sty,modlastpage.sty]{article (Biostatistics)}
 
 Do you really have a blank line below the first? I always thought the layout
 would fail to work in this case.

No, those lines got inserted sometime during the email transmission process. 
(And the link to the template was broken too. Bleh.)
 
 As a DVI file does not contain any fonts, it looks like a font problem. 
 
 The logfile (DocumentLaTeX Log) might give more insight.
 
 If not, I'd recommend to export to latex and convert by hand and have a
 careful look at the error messages and logfile.
 
Thanks, Günter! The pointer to DocumentLaTeX Log was very helpful. 
Unfortunately, I have experience interpreting latex error messages. The key 
seems to be (1) figuring out the critical information to identify the missing 
fonts and (2) getting the fonts from somewhere and making them available to 
MikTeX. Any advice for those steps?






Re: Float with wrapped table inside

2009-04-07 Thread Florian Rubach

Carnë Draug schrieb:
Hmmm... it complains that the file you sent is from a different 
version and that it failed to open. That's probably why you're not 
having problems with my files.


I'm using 1.5.6 in Ubuntu 8.10

Thanks anyway

Carnë Draug


Ok, that piece of information is of value...
I'm sending you an exported version of the file which you should be able 
to open.
If that one is still not compilable you should consider to switch to a 
newer version of LyX (the current release is 1.6.2).


Regards, Florian


graphics_layout.lyx15
Description: application/lyx


Re: Keyboard Shortcut -- FOUND

2009-04-07 Thread Rich Shepard

On Tue, 7 Apr 2009, Rich Shepard wrote:


 I've looked at all the lists under Edit-Preferences-Shortcuts and cannot
find where I can assign ctrl-l to 'Insert TeX code'. Where is it hidden?


  Found it: 'ert-insert.'

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: my file does not compile to pdf anymore

2009-04-07 Thread rgheck

Niko Schwarz wrote:
I'm going nuts. If I add the ERT \end{document} right as the first 
thing all at the top of the document, it still does not compile, with 
no error message. It doesn't even take time. It simply doesn't react. 

However, if I cut everything and write hi into the document, it 
compiles.



Send the file to one of us privately.

rh



RE: my file does not compile to pdf anymore

2009-04-07 Thread Vincent van Ravesteijn - TNW
 
Niko Schwarz wrote:
 I'm going nuts. If I add the ERT \end{document} right as the first 
 thing all at the top of the document, it still does not compile, with

 no error message. It doesn't even take time. It simply doesn't react.

 However, if I cut everything and write hi into the document, it 
 compiles.

Send the file to one of us privately.

rh


One of us, and it is not me ;-)... (last action today)

Vincent



Re: Getting LyX to play nice with an external document specification

2009-04-07 Thread Corey Yanofsky
 Unfortunately, I have experience interpreting latex error messages. 

Er, that should read no experience.





Re: my file does not compile to pdf anymore

2009-04-07 Thread Niko Schwarz
Ok, I discovered something. Only the version I sent you is broken. Going one
version back, QUITTING LYX and restarting lyx, then loading the older
version – works fine. Apparantly the last save broke something that takes
lyx with it. It is not just my machine, my other Mac cannot compile the last
version, either.
So, with the reverted version I can keep working. I can simply redo the last
work, it is only like 10 minutes.

If you want to debug what went wrong there, please don't hesitate asking me
for whatever I can offer.

niko

On Tue, Apr 7, 2009 at 7:12 PM, rgheck rgh...@bobjweil.com wrote:

 Niko Schwarz wrote:

 I'm going nuts. If I add the ERT \end{document} right as the first thing
 all at the top of the document, it still does not compile, with no error
 message. It doesn't even take time. It simply doesn't react.
 However, if I cut everything and write hi into the document, it
 compiles.

  Send the file to one of us privately.

 rh




Re: Getting LyX to play nice with an external document specification

2009-04-07 Thread Corey Yanofsky
 As a DVI file does not contain any fonts, it looks like a font problem. 

I think I've tracked the critical error to the following message:

{C:/Program Files/MiKTeX 2.7/fonts/enc/dvips/fontname/8r.enc}
!pdfTeX error: pdflatex (file mtsy.pfb): cannot open Type 1 font file for readi
ng
 == Fatal error occurred, no output PDF file produced!

According to a latex community thread (http://www.latex-
community.org/forum/viewtopic.php?f=5t=783p=2683), the file mtsy.pfb is part 
of a commercial package by a defunct company. Like the poster in that thread, 
the fonts are the default setting in one template which I have to use. If I 
knew how to change that setting, I would try it...

Suggestions welcome.




Re: my file does not compile to pdf anymore

2009-04-07 Thread Niko Schwarz
alright, i know what happened. I was adding page numbers to a citation, the
page numbers were pp.485–488, where the hyphen is some strange uni-code
uber-thing that kills lyx it comes within 3 miles of lyx. once you do that,
you need to delete it and restart lyx.
Do not use fancy characters in citations!

niko

On Tue, Apr 7, 2009 at 7:38 PM, Niko Schwarz niko.schw...@googlemail.comwrote:

 Ok, I discovered something. Only the version I sent you is broken. Going
 one version back, QUITTING LYX and restarting lyx, then loading the older
 version – works fine. Apparantly the last save broke something that takes
 lyx with it. It is not just my machine, my other Mac cannot compile the last
 version, either.
 So, with the reverted version I can keep working. I can simply redo the
 last work, it is only like 10 minutes.

 If you want to debug what went wrong there, please don't hesitate asking me
 for whatever I can offer.

 niko


 On Tue, Apr 7, 2009 at 7:12 PM, rgheck rgh...@bobjweil.com wrote:

 Niko Schwarz wrote:

 I'm going nuts. If I add the ERT \end{document} right as the first thing
 all at the top of the document, it still does not compile, with no error
 message. It doesn't even take time. It simply doesn't react.
 However, if I cut everything and write hi into the document, it
 compiles.

  Send the file to one of us privately.

 rh





Formatting marginal notes

2009-04-07 Thread Stefano Franchi
Hi all,

I have been trying to produce a format for marginal notes  more suitable to my 
documents, but I am stuck with leading space. I can successfully change the 
font size of the margin note by using the marginnote package and then issuing:

\let\marginpar\marginnote
\renewcommand*{\marginfont}{\scriptsize}

in the preamble. However, the line spacing is not correct. Even though the 
lines are more narrowly spaced than for a regular size font, they are still 
too far apart. Beside being aesthetically unpleasant, this produces margin 
notes that are too long and sometimes overlap each other, whereas there would 
be plenty of physical space on the pace if the text were more narrowly typeset 
(vertically, that is).
Does anyone know a solution?

Thanks,

S.






__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: problem inserting .pdf as external material

2009-04-07 Thread Anders Host-Madsen
Giovanni giovanni...@... writes:


 It's possible to have the content inserted in line, as a paragraph?

Can't you just insert the pdf a graphic?
Anyway, I had the opposite problem. I wanted to insert whole pages
of an external pdf. I didn't know about the pdfpages package until
you posting. This solved my problem, thanks.






Caption width in wrapped figures

2009-04-07 Thread Ehud Kaplan

Is there a way to control the width of a caption of a wrapped figure?
I think in Latex you can specify this independently of the width of the 
graphics in the wrppaed figure, but how do I do it in Lyx?
The current Lyx leaves too much white space around the figure, because 
the caption is  much wider than the figure.

Thanks
EK



Mac bug: default save path for creating docs from template

2009-04-07 Thread Maria Gouskova
Dear lyx users,

The Lyx Bugzilla server seems to be down, so I am posting this here.
There seems to be a minor bug in Mac OS Lyx 1.6.1. The steps:

Go to FileNew From Template, which opens /User/Library/Application
Support/Lyx-1.6/templates/ and prompts for a lyx template to be
opened.

Choose a template from /User/Library/Application
Support/Lyx-1.6/templates/default/ and create a document from it.

When prompted to Save As, LyX points to the
/User/Library/Application Support/Lyx-1.6/templates/ directory instead
of the directory specified as Working Directory in Preferences (for
me, the Desktop).

Nothing life-threatening, just not the expected behavior.

Maria


Re: my file does not compile to pdf anymore

2009-04-07 Thread rgheck

Niko Schwarz wrote:

alright, i know what happened. I was adding page numbers to a citation, the
page numbers were pp.485–488, where the hyphen is some strange uni-code
uber-thing that kills lyx it comes within 3 miles of lyx. once you do that,
you need to delete it and restart lyx.
Do not use fancy characters in citations!

  
I've seen versions of this bug before. You might add it to the bug 
tracker at some point if you get a chance.


rh



Installing Memoir Class Upgrade

2009-04-07 Thread Rich Shepard

  Yesterday I downloaded the latest memoir class to replace the 5-year-old
version I had here. I placed all the .sty and .clo files in
/usr/share/texmf/tex/latex/memoir/, and memoir.layout in ~/.lyx/layouts.

  Next, I ran /usr/share/texmf/bin/texhash, reconfigured LyX, killed the
process, and started a new one.

  However, when I select the memoir book class for a document I'm writing, I
get an error related to a section much later in the outline than where I'm
currently working. The errors are that font commands (e.g. \sl and \rm) are
not supported, and that \footruleskip is already defined.

  I've obviously messed up with the installation of the latest memoir class
but have no idea how to fix things. I looked in the user guide, advanced
features, and on the wiki without finding anything useful.

  A pointer to what I missed is greatly appreciated.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Caption width in wrapped figures

2009-04-07 Thread Florian Rubach

Ehud Kaplan schrieb:

Is there a way to control the width of a caption of a wrapped figure?
I think in Latex you can specify this independently of the width of 
the graphics in the wrppaed figure, but how do I do it in Lyx?
The current Lyx leaves too much white space around the figure, because 
the caption is  much wider than the figure.

Thanks
EK


I can't reproduce that.
When my figure is smaller than the caption and I adjust the width of the 
wrapfigure by the LyX-Dialog, the caption is properly split up in 
several lines of text.
Looking into the documentation of wrapfigure (at the end of 
wrapfig.sty), it says:


Parameter #4 (the second required parameter) is the width of the figure
or table.  Given the way that \LaTeX\ puts just about everything into boxes
with the current line-width, the width parameter will take precedence over
whatever natural width the figure has.  In particular, the caption is 
always

typeset with the specified width.

So I don't think the whitespace around the figure is controled by the 
length of the caption.
I could imagine that the horizontal dimension of your 
wrapfig-environment is set up too big and your picture is left- or 
right-aligned, that could mislead to the impression you have about the 
caption.


I hope that gets you any further, regards,

Florian


Re: problem inserting .pdf as external material

2009-04-07 Thread Paul A. Rubin

Giovanni wrote:

  Hi list! I've tried to insert various .pdfs as external material,
using the pdfpages package. Everything works fine, except that any
imported pdf seems to start a new page. This is not the best looking
result... I get something like:

As you can see in the .pdf:
empty space, till the end of the page
the .pdf

It's possible to have the content inserted in line, as a paragraph?




If the content is text, you can use pdftext to extract the text from the 
PDF file and then import it into LyX (where you will need to reformat it 
if you do not want it using the format of the rest of your document). 
Otherwise, pasting it in as an image may be your best bet.


/Paul



Re: Caption width in wrapped figures

2009-04-07 Thread Uwe Stöhr

Ehud Kaplan schrieb:


Is there a way to control the width of a caption of a wrapped figure?


You can insert a line break or use some special commands provided by the LaTeX package caption. 
For more infos, see the EmbeddedObjects manual that you find in the Help menu.


regards Uwe


Re: Formatting marginal notes

2009-04-07 Thread Uwe Stöhr

Stefano Franchi schrieb:

I have been trying to produce a format for marginal notes  more suitable to my 
documents, but I am stuck with leading space. I can successfully change the 
font size of the margin note by using the marginnote package and then issuing:


\let\marginpar\marginnote
\renewcommand*{\marginfont}{\scriptsize}

in the preamble. However, the line spacing is not correct.


Use this command instead:

\let\Mymarginpar\marginpar
\renewcommand{\marginpar}[1]{%
 \Mymarginpar{\scriptsize #1}
}

regards Uwe


Re: Thanks for LyX

2009-04-07 Thread Yury Davidouski
Once I got my assignment back from the university with some feedback from  
the tutor saying


Your papers are a pleasure to read :)

On Tue, 07 Apr 2009 11:14:05 +0100, Ernesto Jardim erne...@ipimar.pt  
wrote:



Dear developers,

I'd like to thank you for developing LyX !

I've just finished my PhD in Marine Science and I used LyX to write the  
final document and the four papers that compose the PhD. I never had  
problems, never lost documents, and all the minor issues were sorted out  
in a few hours with the information on the web.


Thank you very much.

EJ

ps: off course I included LyX in the acknowledgements section




--
Yurik


Re: Thanks for LyX

2009-04-07 Thread Vincent van Ravesteijn

Yury Davidouski schreef:




Dear developers,

I'd like to thank you for developing LyX !

I've just finished my PhD in Marine Science and I used LyX to write 
the final document and the four papers that compose the PhD. I never 
had problems, never lost documents, and all the minor issues were 
sorted out in a few hours with the information on the web.


Thank you very much.

EJ

ps: off course I included LyX in the acknowledgements section
Once I got my assignment back from the university with some feedback 
from the tutor saying


Your papers are a pleasure to read :)

On Tue, 07 Apr 2009 11:14:05 +0100, Ernesto Jardim erne...@ipimar.pt 
wrote:




Yes, you found the automatic paper generator feature too... ?

Vincent


Re: Caption width in wrapped figures

2009-04-07 Thread Ehud Kaplan
The caption package does have some useful features, which allowed me to 
change the width of the caption (among other things).
But the white space around the graphics itself persists.  If I make the 
caption as wide as the graphics, the white space now surrounds the 
caption as well.
What I really need is a way to control the separation between the 
graphic and the wrapping text.


EK

Uwe Stöhr wrote:

Ehud Kaplan schrieb:


Is there a way to control the width of a caption of a wrapped figure?


You can insert a line break or use some special commands provided by 
the LaTeX package caption. For more infos, see the EmbeddedObjects 
manual that you find in the Help menu.


regards Uwe




Re: Mac bug: default save path for creating docs from template

2009-04-07 Thread BH
On Tue, Apr 7, 2009 at 4:09 PM, Maria Gouskova gousk...@gmail.com wrote:
 Dear lyx users,

 The Lyx Bugzilla server seems to be down, so I am posting this here.
 There seems to be a minor bug in Mac OS Lyx 1.6.1. The steps:

 Go to FileNew From Template, which opens /User/Library/Application
 Support/Lyx-1.6/templates/ and prompts for a lyx template to be
 opened.

 Choose a template from /User/Library/Application
 Support/Lyx-1.6/templates/default/ and create a document from it.

 When prompted to Save As, LyX points to the
 /User/Library/Application Support/Lyx-1.6/templates/ directory instead
 of the directory specified as Working Directory in Preferences (for
 me, the Desktop).

I cannot confirm with 1.6.2. Are you sure you have properly specified
the path to the working directory? What happens if you move your LyX
User's directory aside and relaunch LyX?

Bennett


Re: Border table in footer possible?

2009-04-07 Thread cmiramon
John Mok wrote:

 Hi,
 
 I am preparing a user manual with a table footer (repeating on each
 page). The footer is a border table which contains a company logo, page
 numbers and others. I checked the documentation and found no clue how to
 do that.
 
 I hope someone could help and advise how to make the table footer.
 
 Thanks a lot.
 
 John Mok

You must use the fancy option for headings and create your footer with latex
commands. 

Look the extended manual of LyX.

If you are using Koma script, you can use the scrpage2 package that provides
more or less the same features than fancyhdr.

Charles



Re: right hand margin when font:family=typewriter

2009-04-07 Thread Joe(theWordy)Philbrook

It would appear that on Apr 6, Guenter Milde did say:

 On 2009-04-05, Joe(theWordy)Philbrook wrote:
  Now I really don't understand why it's assumed that
  typewritten output doesn't need the same right hand margin
  as the rest of the document???
 
 I do not think it is. I rather assume that there are lots of
 overfull hbox warnings in the LaTeX log -- TeX tries to adhere to
 the margin but does not find a suitable place to break the line.

Thanks for responding.

I'm guessing your right. Though I can't figure out what's
preventing if from finding a suitable place to break the line.
 
 Could you post a *minimal* sample document that shows the problem?
 
First I tried to manually build a truly minimal test document.
But the output of the test document's typewritten text was fine??? 

So I figure it must have something to do with the assorted
ERT boxes I inserted in my /frontmatter. But I haven't a clue which
one or why. 

So I copied my Book to TesText.lyx. Chopped out most of the
document. And replaced the remaining text with some short test
strings But since I didn't know the cause of this behavior, I left
all the ERT boxes in place. I hope the example is *minimal* enough.

When I open TesText.lyx with lyx, then generate a pdf with
alt+V m

The only part of the resulting pdf that doesn't get enough right hand
margin is the typewritten section... sigh

-- 
|  ~^~   ~^~
|  ?   ? Joe (theWordy) Philbrook
|  ^  J(tWdy)P
|\___/ jtw...@ttlc.net#LyX 1.5.6 created this file. For more info see http://www.lyx.org/
\lyxformat 276
\begin_document
\begin_header
\textclass extbook
\language english
\inputencoding auto
\font_roman bookman
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\paperfontsize 14
\spacing single
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 0
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 2
\tocdepth 2
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 2
\paperpagestyle default
\tracking_changes false
\output_changes false
\author  
\author  
\end_header

\begin_body

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Standard


\backslash
frontmatter
\end_layout

\end_inset


\end_layout

\begin_layout Title
test document
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Standard


\backslash
setcounter{page}{0}
\end_layout

\end_inset


\end_layout

\begin_layout Author
\InsetSpace ~

\newline

\begin_inset VSpace vfill
\end_inset

By Joseph Philbrook
\newline
copyright ?? 2009 Joseph A Philbrook III all rights reserved.
 
\newline
The author reserves all rights to the original content below.
\newline
This is a work
 in progress...
 
\end_layout

\begin_layout Part*
part title
\newline

\begin_inset ERT
status open

\begin_layout Standard


\backslash
setcounter{page}{0}
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Standard


\backslash
pagenumbering{Roman}
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Standard


\backslash
setcounter{page}{1}
\end_layout

\end_inset


\end_layout

\begin_layout Section*
Authors notes:
\end_layout

\begin_layout Standard
notes notes notes notes notes notes notes notes notes notes notes notes
 notes notes notes notes notes notes notes notes notes notes  
\end_layout

\begin_layout Standard
notes notes notes notes notes notes notes notes notes notes notes notes
 notes notes notes notes notes notes notes notes notes notes 
\end_layout

\begin_layout Standard

\newpage

\end_layout

\begin_layout Subsection*
More notes
\end_layout

\begin_layout Standard
notes notes notes notes notes notes notes notes notes notes notes notes
 notes notes notes notes notes notes notes notes notes notes  notes notes
\end_layout

\begin_layout Standard

\newpage

\end_layout

\begin_layout Section*
section title
\end_layout

\begin_layout Standard
notes notes notes notes notes notes notes notes notes notes notes notes
 notes notes notes notes notes notes notes notes notes notes  notes notes
\end_layout

\begin_layout Standard

\newpage

\end_layout

\begin_layout Section*
typewritten section title
\end_layout

\begin_layout Standard

\family typewriter
\shape italic
poetic insert poetic insert poetic insert poetic insert poetic insert poetic
 insert poetic insert poetic insert poetic insert poetic insert poetic insert
 poetic insert poetic insert poetic insert poetic insert poetic insert poetic
 insert poetic insert poetic insert poetic insert poetic insert poetic insert
 poetic insert poetic insert poetic insert poetic insert poetic insert poetic
 insert poetic insert poetic insert poetic insert poetic insert poetic insert
\end_layout

\begin_layout 

Re: Mac bug: default save path for creating docs from template

2009-04-07 Thread Anders Host-Madsen
I cannot confirm this either. In my 1.6.1 Lyx, the
save as location is my working directory. There
must be something amiss in your installation.





Re: Caption width in wrapped figures

2009-04-07 Thread Uwe Stöhr

Ehud Kaplan schrieb:

The caption package does have some useful features, which allowed me to 
change the width of the caption (among other things).
But the white space around the graphics itself persists.  If I make the 
caption as wide as the graphics, the white space now surrounds the 
caption as well.

What I really need is a way to control the separation between the
graphic and the wrapping text.


To help you further, can you send ma a _small_ LyX example while where you use the special caption 
commands?


regards Uwe


Re: Importing tables

2009-04-07 Thread Anders Host-Madsen
Problem solved: There was an apostrophe (') that had been converted to a 
weird character when Excel saved the file (Excel for Mac, it seems, only 
has the options of Windows 
format or MS-DOS format, both incompatible with Mac). After removing that, 
it converted correctly. So, it was Excel's problem, although the error
message from LyX was not informative.





Document Class

2009-04-07 Thread Edwin Davis
Hello,
I am using LyX 1.6 to write a thesis and am having  a hard time figuring out 
how to change the document class for a single page. Please email me back at 
your earliest convenience.

Mr. Davis


  

Re: automatically create table based on external (ascii) data

2009-04-07 Thread Nikos Alexandris
On Tue, 2009-04-07 at 16:17 +, Anders Host-Madsen wrote:
 Guenter Milde mi...@... writes:
  Pasting into a table works with table-data if it is TAB separated. The
  space is too often needed inside a table cell in the general case.
 
 Thanks for the tip. I didn't realize this was possible.
 I tried exporting to csv and importing to LyX (see
 my previous posting), but it didn't work. This does work, but
 it should be added that it is necessary to paste
 as plain text, otherwise the tabs are ignored.

Thank you Guenter.
Nikos



Re: Importing tables

2009-04-07 Thread Guenter Milde
On 2009-04-06, Anders Host-Madsen wrote:
 Talking about tables. I'm trying to import a table from excel.
 I get the error this file is from an earlier version of LyX,
 but LyX failed to convert it. If I try to open the file lyx created
 from the CSV, LyX crashes. I tried to shorten my csv file
 to a few lines, and then LyX managed to import it. It seems
 to be purely a function of the length, I don't think the rest
 of the table has any different kind of data than the first part.

Normally, lyx2lyx failure is not a problem of length. Maybe there is a
problematic character in the later parts.

You could try dividing the table and import/convert in blocks.

You coula also call the involved programs (csv2lyx and lyx2lyx) manually in
a console window and look for the error messages.

Günter



Re: Getting LyX to play nice with an external document specification

2009-04-07 Thread Guenter Milde
On 2009-04-06, Corey Yanofsky wrote:

 I'm trying to generate a pdf version of a manuscript using the LaTeX
 files provided at
 http://www.oxfordjournals.org/our_journals/biosts/for_authors/latex%20te
 mplate.zip. 
...
 created the following file, bio.layout, in my /Resources/layouts folder:

 #% Do not delete the line below; configure depends on this

 # \DeclareLaTeXClass[bio,
 times.sty,modamsfonts.sty,modamssymb.sty,modamsthm.sty,modnatbib.sty,mod
 bm.sty,modlastpage.sty]{article (Biostatistics)}

Do you really have a blank line below the first? I always thought the layout
would fail to work in this case.


 I started a new document and set the Document class to article
 (Biostatistics). I wrote some random text and was able to generate the
 pdf. I inserted the title and pdf generation failed with error title
 LyX: cannot view file and message File does not exist:
 C:\...\newfile1.pdf . However, dvi generation succeeded, although a
 MikTeX problem report was generated with message Not all fonts could be
 loaded. See 'File-Document Properties', for details. I attempted to
 use dvipdfm to convert the dvi file to pdf, but that failed with an
 extensive error message essentially saying that some fonts were missing.


As a DVI file does not contain any fonts, it looks like a font problem. 

The logfile (DocumentLaTeX Log) might give more insight.

If not, I'd recommend to export to latex and convert by hand and have a
careful look at the error messages and logfile.

Günter



Re: CJK UTF-8 encoding for CJK document

2009-04-07 Thread Guenter Milde
On 2009-04-06, John Mok wrote:

 I tried and the result PDF got a little better. Some of the Chinese 
 characters were missed out, but it did show some Japanese and Chinese 
 mixed characters in one document, e.g. 你 in 你們好 was missed out.

 Is there any anything I can do to make it complete?

I have no experience with any of these languages, but some simple steps:

* Create a minimal example that shows the problem.

* Debug the languages/scripts separately 
  (does it work with just Japanese? )
  
* Read the Warnings and Errors under DocumentLaTeX log
  (use a minimal example to speed this up).
  
* Try with XeTeX (search at wiki.lyx.org for workarounds for XeTeX with
  LyX)

Günter



Re: automatically create table based on external (ascii) data

2009-04-07 Thread Guenter Milde
On 2009-04-06, Nikos Alexandris wrote:
 On Mon, 2009-04-06 at 18:50 +0200, Siegfried Meunier-Guttin-Cluzel
 wrote:
 Did you try the csv format (coma separated values ) ?
 Siegfried.

 You mean... ? Insert directly a csv file? No, I did not. I just try to
 copy-paste from R. The   (=space) also can (or should be able to) act
 as a field separator (or not?).

Pasting into a table works with table-data if it is TAB separated. The
space is too often needed inside a table cell in the general case.

 But I don't see why the copy-paste does not work? I would expect this to
 be a feature in LyX. Perhaps under development??

You might ask for an extension of the customizable csv2lyx insert CSV
data feature to work also as PasteSpecialCSV so you do not need to
create and import a temporary CSV file.

A quick workaround would be convert the spaces to tabs in your R output,
to generate an empty table with 

   M-x tabular-insert 7 9

(adjust column and row numbers) and paste the data there

Günter



Re: Importing tables

2009-04-07 Thread José Matos
On Monday 06 April 2009 21:58:24 Anders Host-Madsen wrote:
 Talking about tables. I'm trying to import a table from excel.
 I get the error this file is from an earlier version of LyX,
 but LyX failed to convert it. If I try to open the file lyx created
 from the CSV, LyX crashes. I tried to shorten my csv file
 to a few lines, and then LyX managed to import it. It seems
 to be purely a function of the length, I don't think the rest
 of the table has any different kind of data than the first part.

Would you mind to send me the original file privately. I have been fixing all 
interaction between lyx2lyx and other converters and I am interested why this 
fails in this case.
-- 
José Abílio


Re: My new environment

2009-04-07 Thread Olivier Ripoll

Hi again,

Steve Litt wrote:

On Monday 06 April 2009 05:02:20 am Olivier Ripoll wrote:

Steve Litt wrote:

On Saturday 04 April 2009 06:34:40 am Pavel Sanda wrote:

Steve Litt wrote:

Hi all,

I decided to put a short statement at the beginning of each chapter. I
wanted it to be surrounded by lines, a little bit narrower than general
text, and I wanted the print slightly bigger than normal. Here's how I
did it:

convert to module and put it into wiki?
pavel

How do I make it into a module? I don't have 1.6.x yet.

STeveT

Hi all,

Just for fun, I've tried to make a module out of it. I am no LaTeX
expert at all, so I have issues and perhaps someone can clarify them to me:

LaTeX complains about environment Sbox being undefined. I can work
around using sbox instead, but then, I still get plenty of errors. Is
Sbox different from sbox ? If so, should I add something to define it ?


My mistake. Sorry. 


To get \Sbox to work, you must stick this in your preamble:

\usepackage{fancybox}%   For Sbox command


So here we are, here is the content of LittChapterIntro.module(*) file 
(between the dashed lines, those lines excluded of course):

-
#\DeclareLyXModule{LittChapterIntro}
#DescriptionBegin
#Puts a short statement at the beginning of each chapter.
#It is surrounded by lines, a little bit narrower than general text, and 
prints slightly bigger than normal.

#DescriptionEnd

#Author: Steve Litt

Format 11

Style ChapterIntro
  LatexType Environment
  LatexName chapterintroL
  Font
   Size Large
  EndFont
  LeftMarginMM
  RightMargin   MM
  TopSep1.4
  ItemSep   0.7
  ParSep0.7
  BottomSep 1.0
  Preamble
\usepackage{fancybox}
\newenvironment{chapterintroL}[0]{
  ~\\[20pt]
  \addtolength{\textwidth}{-0.2\textwidth}
  \setlength{\parindent}{0.1\textwidth}
  \indent
  \begin{Sbox}\begin{minipage}{\textwidth}{}%
  \setlength{\parskip}{1.6\baselineskip}%
  \leftskip 10pt\rightskip 10pt\large ~\\[0.4\baselineskip]%
}{
  \\[0.05\baselineskip]~\end{minipage}\end{Sbox}\fbox{\TheSbox}\\[20pt]
}
  EndPreamble
End
-

Works for me on Windows (Miktex, 1.6.2 Alt installer). But I'm not 
sure I'll use it though ;-)


Best regards,

Olivier

(*) one may use another file name of course



LyX vs Word processors

2009-04-07 Thread Paul Sutton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I accidently sent this to Typhoon, so have now posted to the right place
, (hopefully)


Seems to be that ReST would yet another markup to learn,  where as if we
stick to say Latex or plain text,  we use what we are familar with, and
can go back to concentrating on content,  which is one of the main
points of latex.

pastebin supports LaTex, so i what would be needed is some sort of
website that people working on a paper can log in to, and paste bits of
code, and then perhaps upload pdf, ps, or dvi files to link to the code,

Or even better

something like this

http://codepad.org/

which supports programming languages but set up to deal with latex,
online so select output, hit compile and it produces a pdf or whatever
on the remote server for the team to download and review.

I am sure the above is possible,  not sure how though.

the txt2tags website can take simple mark up and produce latex output,
ok this goes back to what i said earlier,  about learning more mark up,
but it shows that this can be done,  so an online latex collaboration
tool should be possible,  if it concentrated on latex and related such
as bibtex, then it would be a very powerful tool.

http://codepad.org/

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

iEYEARECAAYFAknbIXgACgkQaggq1k2FJq2X4wCfVbeU29Ma9uZnxyn/dxSvO65i
FjEAn37CbTdBDSjrUs+D70+ueTcIUsHV
=kexE
-END PGP SIGNATURE-


Re: No longer able to cross-reference between files?

2009-04-07 Thread Guenter Milde
On 2009-04-05, Abdelrazak Younes wrote:
 On 05/04/2009 18:37, Rudi Gaelzer wrote:

 FYI we just hide the document selection combo since 1.6.0 because nobody 
 knew why this was needed. Maybe we can restore it back in 1.6.3 as we 
 found a user :-)

At least two.

Günter




lyx and gnome document viewer

2009-04-07 Thread Paul Sutton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Using 1.5.6

I am trying to create an a5 document,  I have selected a5 in the right
place in lyx,  however it seems that this is not being passed on to
gnome document viewer,

I thought it looked odd,  as the text for title was not in the right
place relative to the actual preview page sizes, its sort of in the
middle at the top part of the page,  but if I was to put a5 paper over
that area, hold up to the light so it visible through the sheets,   it
would appear in the right place if printed on a5,  so how do I get the
preview to display as an a5 page ?  so the document does not look all
out of place.

Is this a bug in lyx or a bug in the gnome document viewer.
I am using ubuntu 8.10.

Paul

- --
Paul Sutton
www.zleap.net
Support Open and ISO standard file formats ISO 26300 odf
http://www.odfalliance.org
Next Linux User Group meet :Saturday ** May 9th ** : 3pm,  Shoreline
Cafe Paignton
Ubuntu 9.04 Jaunty Jackalope - Launched April 23rd, 2009
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknbKVgACgkQaggq1k2FJq39VACfU3cOSuS7p7kVdFRFvdAb97ip
66sAnRcL707RUQIZ8qwWAxgCktv6q7oC
=ODzI
-END PGP SIGNATURE-


Re: Thanks for LyX

2009-04-07 Thread Anthony Campbell
On 07 Apr 2009, Ernesto Jardim wrote:
 Dear developers,

 I'd like to thank you for developing LyX !

 I've just finished my PhD in Marine Science and I used LyX to write the  
 final document and the four papers that compose the PhD. I never had  
 problems, never lost documents, and all the minor issues were sorted out  
 in a few hours with the information on the web.

 Thank you very much.

 EJ

 ps: off course I included LyX in the acknowledgements section

On my printed books I include an acknowledgement in the form: 
Typeset using Lyx on Debian Gnu/Linux.

Anthony

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



Re: Thanks for LyX

2009-04-07 Thread Ernesto Jardim

Anthony Campbell wrote:

On 07 Apr 2009, Ernesto Jardim wrote:
  

Dear developers,

I'd like to thank you for developing LyX !

I've just finished my PhD in Marine Science and I used LyX to write the  
final document and the four papers that compose the PhD. I never had  
problems, never lost documents, and all the minor issues were sorted out  
in a few hours with the information on the web.


Thank you very much.

EJ

ps: off course I included LyX in the acknowledgements section



On my printed books I include an acknowledgement in the form: 
Typeset using Lyx on Debian Gnu/Linux.


Anthony
  

Mine was not so formal.

I'd like to thank the Open Source community, and specifically the 
developers of R (http://r-project.org)
and its packages, which I used for data analysis, and LyX 
(http://www.lyx.org), used for text editing.


Best

EJ



Re: LyX vs. wordprocessors

2009-04-07 Thread Joachim Osnabryg

Am 05.04.2009, 00:46 Uhr, schrieb Steve Litt
sl...@troubleshooters.com:

If it's longer
than 5 pages, I use LyX or Komposer (a WYSIWYG HTML editor).

Sorry, Steve, do you mean
»kompozer« http://www.kompozer.net/
or Nvu - HTML-Editor (for Windows)
or Nvu Composer (for several OSs)

or something else?

joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.1
MacBook Pro intel OSX 10.4.11 Tiger



Rv: Re: lyx and gnome document viewer

2009-04-07 Thread Marcelo Acuña

 Using 1.5.6
 
 I am trying to create an a5 document,  I have selected
 a5 in the right
 place in lyx,  however it seems that this is not being
 passed on to gnome document viewer,
 [...]
 Paul
 
  With DVI viewer I have same problem, but with pdf viewer
 size of page is correctly passed.
 
 Marcelo



  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Re: No longer able to cross-reference between files?

2009-04-07 Thread Abdelrazak Younes

Rudi Gaelzer wrote:

On Sunday 05 April 2009 16:09:05 Abdelrazak Younes wrote:

Haha, now we know what this was about!
FYI we just hide the document selection combo since 1.6.0 because nobody
knew why this was needed. Maybe we can restore it back in 1.6.3 as we
found a user :-)

Abdel.


Please do.  I'm surprised that no one else would think this is important.
This feature is important to me because I do almost all my mathematical 
calculations using LyX and I frequently need to make references to equations 
that appear in other documents.


So far, I've been doing this using the xr.sty package.  In fact, I've already 
posted an old issue about this topic: 
http://marc.info/?l=lyx-usersm=113241857032092w=2


If you could enable again the use of the document selection combo, I'd be 
very grateful.


I'll see what I can do but it won't be soon. But I copy the devel list 
in case someone could do it before.


Guys, AFAIR this is just a matter of unhidding the buffer selection 
combo in the cross ref ui file.



 In fact It would be even more useful if the user could cross-
reference labels created in another document, even if it's not a child/master 
document.


Yes, this request is already in bugzilla AFAIR.

Abdel.



Re: No longer able to cross-reference between files?

2009-04-07 Thread Abdelrazak Younes

Pavel Sanda wrote:

Abdelrazak Younes wrote:
  

Rudi Gaelzer wrote:

If you could enable again the use of the document selection combo, I'd 
be very grateful.
  
I'll see what I can do but it won't be soon. But I copy the devel list in 
case someone could do it before.



no he couldn't, you are 2 minutes late :)
http://www.lyx.org/trac/changeset/29140
  


Good boy :-)

Abdel.



Re: LyX vs Word processors

2009-04-07 Thread Christian Ridderström

On Tue, 7 Apr 2009, Paul Sutton wrote:

pastebin supports LaTex, so i what would be needed is some sort of 
website that people working on a paper can log in to, and paste bits of 
code, and then perhaps upload pdf, ps, or dvi files to link to the code,


Or even better

something like this

http://codepad.org/

which supports programming languages but set up to deal with latex,
online so select output, hit compile and it produces a pdf or whatever
on the remote server for the team to download and review.

I am sure the above is possible,  not sure how though.

the txt2tags website can take simple mark up and produce latex output,
ok this goes back to what i said earlier,  about learning more mark up,


Have a look at http://www.wikipublisher.org/

Basically it's a wiki that uses a familiar markup (the same as on the LyX 
wiki), and it can produce LaTeX and PDF based on that. It goes via XML 
IIRC.


cheers,
/Christian



but it shows that this can be done,  so an online latex collaboration
tool should be possible,  if it concentrated on latex and related such
as bibtex, then it would be a very powerful tool.

http://codepad.org/

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

iEYEARECAAYFAknbIXgACgkQaggq1k2FJq2X4wCfVbeU29Ma9uZnxyn/dxSvO65i
FjEAn37CbTdBDSjrUs+D70+ueTcIUsHV
=kexE
-END PGP SIGNATURE-




--
Christian Ridderström   Mobile: +46-70 687 39 44

Thanks for LyX

2009-04-07 Thread Ernesto Jardim

Dear developers,

I'd like to thank you for developing LyX !

I've just finished my PhD in Marine Science and I used LyX to write the 
final document and the four papers that compose the PhD. I never had 
problems, never lost documents, and all the minor issues were sorted out 
in a few hours with the information on the web.


Thank you very much.

EJ

ps: off course I included LyX in the acknowledgements section


Re: Thanks for LyX

2009-04-07 Thread José Matos
On Tuesday 07 April 2009 11:14:05 Ernesto Jardim wrote:
 Dear developers,

 I'd like to thank you for developing LyX !

 I've just finished my PhD in Marine Science and I used LyX to write the
 final document and the four papers that compose the PhD. I never had
 problems, never lost documents, and all the minor issues were sorted out
 in a few hours with the information on the web.

Congratulations.

 Thank you very much.

You are welcome. :-)
It is always nice to get feedback from users and mostly so when the feedback 
is quite positive as it is your case. :-D

 EJ

 ps: off course I included LyX in the acknowledgements section

Regards,
-- 
José Abílio


Re: LyX - rtf, doc or openoffice convert: ONCE AGAIN

2009-04-07 Thread Piero Faustini

 Sure, but it is good to have a starting point. At least you don't have
 to retype it all again.
 
 Thanks,
 
 Alex Fernández.
 
 

HTML quality is much better than I thought, but I can't open it with OOo 3.0 (I 
obtani only markup text)
Good work!







Re: No longer able to cross-reference between files?

2009-04-07 Thread Pavel Sanda
Abdelrazak Younes wrote:
 Rudi Gaelzer wrote:
 On Sunday 05 April 2009 16:09:05 Abdelrazak Younes wrote:
 Haha, now we know what this was about!
 FYI we just hide the document selection combo since 1.6.0 because nobody
 knew why this was needed. Maybe we can restore it back in 1.6.3 as we
 found a user :-)

 Abdel.
 Please do.  I'm surprised that no one else would think this is important.
 This feature is important to me because I do almost all my mathematical 
 calculations using LyX and I frequently need to make references to 
 equations that appear in other documents.
 So far, I've been doing this using the xr.sty package.  In fact, I've 
 already posted an old issue about this topic: 
 http://marc.info/?l=lyx-usersm=113241857032092w=2
 If you could enable again the use of the document selection combo, I'd 
 be very grateful.

 I'll see what I can do but it won't be soon. But I copy the devel list in 
 case someone could do it before.

no he couldn't, you are 2 minutes late :)
http://www.lyx.org/trac/changeset/29140
pavel


 Guys, AFAIR this is just a matter of unhidding the buffer selection combo 
 in the cross ref ui file.


Re: LyX vs. wordprocessors

2009-04-07 Thread Wolfgang Keller
  In fact in collaborative environments (e.g. companies), where several
  people work together on the same document, Word documents _always_ end up
  like that - A hopelessly tangled spaghetti mess. In fact I never managed
  to figure out how to copy and paste content from two different versions of
  a document, which are both perfectly well styled and which were created
  using the same template in such a way that the resulting document isn't
  messed up.
 
I'm surprised that no one seems to use the most reasonable solution for
 collaborative text: have everyone use plain text and only futz with
 formatting when you agree on a final version. 

Dilbert

What aspect of the difference between formatting and structure markup is 
unclear to you?

/Dilbert

;-

BTW: What you propose is exactly what experienced users of Word (who don't 
know anything else) consistently do. Why they use Word for editing _plain-text_ 
is totally unclear to _me_. And it is a PITA to work with such people (, 
methods and tools) on structured, technical documents.

Sincerely,

Wolfgang



Re: LyX - rtf, doc or openoffice convert: ONCE AGAIN

2009-04-07 Thread Uwe Stöhr

Piero Faustini schrieb:

HTML quality is much better than I thought, but I can't open it with OOo 3.0 (I 
obtani only markup text)


I tested yesterday some files and get relatively nice looking files (OOo 3.0.1). You could now 
alternatively look for HTML to RTF/ODT converters.


regards Uwe


Float with wrapped table inside

2009-04-07 Thread Carnë Draug
Hi

I'm trying to get a float in LyX with a 3 figures and a table and some text.
I made a image of the layout I want and uploaded it here

http://picpaste.com/layout.png

I also made it in ASCII since some people may not wish to follow a link

1 word
+---+
|Figure |
+---+
++  1 word
||  4 words
||  +---+
||  |   Figure  |
|Table   |  +---+
||  4 words
||  +---+
||  |  Figure   |
||  +---+
||
++


However, I can't do it. I've read the user's guide and it says that LyX
doesn't support wrap floats, to read the documentation of wrapfig. I
followed the reference in the guide which was a sty file. I just don't
understand what's written in there.

I thought I could do it with LaTeX code so I got a book from the library but
I still can't. Can someone give me a hand with this?

Thanks in advance

Carnë Draug


Re: Float with wrapped table inside

2009-04-07 Thread Florian Rubach

Carnë Draug schrieb:

Hi

I'm trying to get a float in LyX with a 3 figures and a table and some text.
I made a image of the layout I want and uploaded it here

http://picpaste.com/layout.png

I also made it in ASCII since some people may not wish to follow a link

1 word
+---+
|Figure |
+---+
++  1 word
||  4 words
||  +---+
||  |   Figure  |
|Table   |  +---+
||  4 words
||  +---+
||  |  Figure   |
||  +---+
||
++


However, I can't do it. I've read the user's guide and it says that LyX
doesn't support wrap floats, to read the documentation of wrapfig. I
followed the reference in the guide which was a sty file. I just don't
understand what's written in there.

I thought I could do it with LaTeX code so I got a book from the library but
I still can't. Can someone give me a hand with this?

Thanks in advance

Carnë Draug


I usually do this kind of layout by simply adding a table without 
visible lines and add the content where I want it.
So in your case, I would create a single float environment, add a 2x2 
table, merge the upper fields, insert the first figure.
Then, I would set the width of the colums to a defined value (because 
then I am allowed to fill in more than one line of content in a cell).
Afterwards, I would insert the table in the lower left cell and the 
other stuff in the lower right cell.

Do you need an example-file?

Regards, Florian


Re: Insert character by Unicode code point

2009-04-07 Thread John Jason Jordan
On Mon, 6 Apr 2009 17:12:49 +0200
Jürgen Spitzmüller sp...@lyx.org dijo:

 John Jason Jordan wrote:
  So I'm getting closer, but still not quite there. I guess this is a
  problem in XeLaTeX, but I don't know what to do next.
 
 It works for me with the DejaVu font. This is the corresponding LaTeX output. 
 Note that you need all the stuff marked by %-- in DocumentSettingsPreamble:
 
 \documentclass{article}
 \usepackage{fontspec} %--
 \setmainfont[Mapping=tex-text]{DejaVu Serif} %--
 \usepackage{tipa}
 \usepackage{xunicode} %--
 \usepackage{xltxtra} %--

OK, I am trying to export as PostScript and it is not working.
However, it does work as PDF. And I want to use the Junicode font, so
here is what I am doing:

1) The preamble is set to

\usepackage{fontspec}
\setromanfont{Junicode}
\usepackage{xunicode}
\usepackage{xltxtra}

In Document  Settings  Fonts I have set

Default Family: Roman
Roman: Default
Sans Serif: Default
Trypewriter: Default
CJK: blank
Base Size: 12

In the document  window I typed some text.

The document name is newfile1. I export as pdflatex, and then from the
command line xelatex newfile1. The resulting PDF says some text set
in Junicode 12 point. Perfect.

But If I try to export as PostScript I get the following error message:

Font EU1/lmr/m/n/10=[lmroman10-regular] at 10.0pt not loadable: Metric
(TFM) Font \...@basefont=junicode at 10.0pt not loadable: Metric (TFM)
file not foun Undefined control sequence.
Missing number, treated as zero.
Undefined control sequence.
Font \...@basefont=junicode at 10.0pt not loadable: Metric (TFM) file
not foun Font EU1/Junicode(0)/m/n/12=Junicode: at 12.0pt not loadable:
Metric (TFM) fi

I think the problem is that the export to pdflatex understands it needs
to use XeTeX, but the export to PostScript does not. Therefore, the
PostScript interpreter can't figure what font I want.

Further advice needed. :(



Re: Insert character by Unicode code point

2009-04-07 Thread Jürgen Spitzmüller
John Jason Jordan wrote:
 I think the problem is that the export to pdflatex understands it needs
 to use XeTeX, but the export to PostScript does not. Therefore, the
 PostScript interpreter can't figure what font I want.

XeTeX does not support PostScript.

Jürgen


  1   2   3   >