Re: Figure placement and rotate

2014-02-10 Thread Robin Rosenberg


- Ursprungligt meddelande -
> Från: "Jürgen Spitzmüller" 
> Till: lyx-users@lists.lyx.org
> Skickat: måndag, 10 feb 2014 8:14:46
> Ämne: Re: Figure placement and rotate
> 
> Robin Rosenberg wrote:
> > > Are you sure you want to use a float? Why not just Insert > Graphics
> > > without a float? Then it should not move around.
> > 
> > I want a referable figure. Can I accomplish that some other way?
> 
> Yes, use the nonfloat package.
> 

That could do, kind-o-ugly to have to paste all that stuff around the image to
make it work, though.

I found another solution that works fine for me, with less LaTeX code to paste. 
See

http://tex.stackexchange.com/questions/337/how-to-change-certain-pages-into-landscape-portrait-mode

It has the added benefit that the page is rotated in a PDF viewer so you don't 
have to rotate the
computer.

-- robin


Re: Figure placement and rotate

2014-02-09 Thread Robin Rosenberg


- Ursprungligt meddelande -
> Från: "Scott Kostyshak" 
> Till: "Robin Rosenberg" 
> Kopia: lyx-users@lists.lyx.org
> Skickat: söndag, 9 feb 2014 22:37:21
> Ämne: Re: Figure placement and rotate
> 
> On Sun, Feb 9, 2014 at 3:01 PM, Robin Rosenberg
>  wrote:
> > Hi,
> >
> > I have a document with some rather large figures. It seems this doesn't
> > work well with LaTeX idea of how to place these figures. In short we
> > disagree, so I want to use the "definitely here" option.
> >
> > Since I also want to rotate the picture to maximuma readability of the text
> > in the figure, I check rotate, but this disabled the location hint. Is
> > there any way I can use both options?
> 
> Are you sure you want to use a float? Why not just Insert > Graphics
> without a float? Then it should not move around.

I want a referable figure. Can I accomplish that some other way?

-- robin

> 
> > The current workaround I use is to rotate just the graphics, but causes the
> > figure title and graphics to have different orientation, which looks
> > somewhat bad.
> 
> Yes this does not seem good.
> 
> Best,
> 
> Scott
> 


Figure placement and rotate

2014-02-09 Thread Robin Rosenberg
Hi,

I have a document with some rather large figures. It seems this doesn't work 
well with LaTeX idea of how to place these figures. In short we disagree, so I 
want to use the "definitely here" option.

Since I also want to rotate the picture to maximuma readability of the text in 
the figure, I check rotate, but this disabled the location hint. Is there any 
way I can use both options?

The current workaround I use is to rotate just the graphics, but causes the 
figure title and graphics to have different orientation, which looks somewhat 
bad. 

-- robin


Graphviz in Lyx and relative paths

2014-01-08 Thread Robin Rosenberg
Hi,

Can I use custom shapes in graphviz with Lyx and have
relative paths somehow?

Working graphviz file:
digraph {
testare[image=]

}

I'd like to use this file instead, so I can relocate
the Lyx document directory.

digraph {

testare[image=]

}

-- robin


Re: weird eps to pdf conversion problem

2007-04-29 Thread Robin Lin

Valter,

Thanks for your help.  I fixed the problem by both deleting the 
HiResBoundingBox line and also checking the "Clip to Bounding Box" 
option in the Graphics-->Clipping window.


Thanks again!
Robin

Quoting Valter Filipe Silva <[EMAIL PROTECTED]>:

> Robin,
>
>
> I have a similar problem yesterday ;)
> Try do edit (with notepad or gvim) the eps and delete the line:
> %%HiResBoundingBox: xx
>
> Normaly is at the begining of the eps file.
> Let us know if it works.
> Regards
>
>
> Valter
>
> Robin Lin wrote:
>> Hi there,
>>
>> I originally generated eps files using Matlab, and when I embed  
>> them in my lyx document, everything is great when I convert it into  
>> a pdf.  Unfortunately, the original eps files were way too large,  
>> so I had to find a way to compress them (decreased resolution and  
>> then rasterized it). This resulted in the new eps file's bounding  
>> box becoming way too large.  I manually edited them so that the  
>> bounding box fits the image better, and it looks fine in GSView.  
>> When I insert it in my lyx document, it looks fine too in the  
>> preview.  When I go to convert it to a pdf, though, it results in  
>> some sort of overlapping problem where the figure seems to have  
>> much more whitespace and this whitespace obscures other  
>> figures/text around it.  Any hints on how I can fix this?

>>
>> Thanks in advance!
>> Robin Lin
>>



weird eps to pdf conversion problem

2007-04-27 Thread Robin Lin

Hi there,

I originally generated eps files using Matlab, and when I embed them in 
my lyx document, everything is great when I convert it into a pdf.  
Unfortunately, the original eps files were way too large, so I had to 
find a way to compress them (decreased resolution and then rasterized 
it). This resulted in the new eps file's bounding box becoming way too 
large.  I manually edited them so that the bounding box fits the image 
better, and it looks fine in GSView. When I insert it in my lyx 
document, it looks fine too in the preview.  When I go to convert it to 
a pdf, though, it results in some sort of overlapping problem where the 
figure seems to have much more whitespace and this whitespace obscures 
other figures/text around it.  Any hints on how I can fix this?


Thanks in advance!
Robin Lin


Re: portable Lyx version: live lyx CD or others?

2006-07-14 Thread Robin Green
On Fri, 14 Jul 2006 10:57:10 -0700
"Michael Chen" <[EMAIL PROTECTED]> wrote:
> hi, MS Office is installed in all public libraries. However I would
> like to edit my lyx files in library computer. At home I installed lyx
> 1.4.2 from scratch to my U-disk, hoping that I can use it on other
> machine. Amazingly I can see my lyx files on other computers too.
> 
> However (1) I can not produce DVI file. (2) Instant preview of some
> math fonts is missing, such as \eta
> 
> Live CD on Wiki page would reboot a computer into linux system and
> then use Lyx. One can not do this on a public machine though. I think
> it is meaningful to produce a portable Lyx, which can be used with
> U-disk, CD or DVD. Any suggestions?

Running your own software may or may not be in violation of the user
agreement for the public access computers in some libraries - it's worth
checking.

Because of this, it might be worth lobbying libraries to install LyX
and its optional dependencies, pointing out its superiority to MS Word
for certain tasks. Admittedly though, the average library is probably
not going to see many library users use LyX, except in special cases
like where the library is frequented by clued-up academics.
-- 
Robin


Re: How to debug a lyx file: where the error is?

2004-07-06 Thread Robin Turner
[EMAIL PROTECTED] wrote:
Hello!
May I ask you a question?
I have a 40 pages document with 2 lyx errors in it. The lyx latex error notes appear 
at the very begining of the document they are: missing $ inserted and bad math 
environment delimiter. The first math formula appears many pages later and the error 
appeared during the time I was working on chapters in the middle of the document. So I 
do not understand where the errors could be. I tried to go to the tmpdir and to run 
pdflatex directly, but it was compiling fine, but the index of the resulting file had 
a strange line. So I checked it and found \( and \) in an index field I removed them 
and it is now compiling fine with lyx !!
What bug fighting strategy do you recomend in this kind of case?
With problematic compilation errors, the best thing is often to export 
the document as LaTeX, then run "latex" on it.

Robin
--
"Don't be lucid and ironic; people will turn this against you to show 
that you aren't a nice person."
- Albert Camus

Robin Turner
IDMYO
Bilkent Universitesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin


Re: Bibdesk and LyX

2004-07-05 Thread robin
Varun Reddy wrote:
I think i have figured out how to use Bibdesk with Lyx. I had some
initial difficulty in choosing the right Style for the references in
Lyx. The "apalike" style seems to work fine now. Are there other Style
files that can be added to the current list that one should be aware
of?
Thanks,
It all depends what kind of writing you do. The styles that ship with 
the standard LaTeX distribution tend to be weighted heavily to the maths 
and the physical sciences, so you might want to go to your local CTAN 
mirror and check out other styles (MLA, Chicago, Harvard etc.) although 
some of these can be achieved through other styles (e.g. I use jurabib 
to emulate Chicago).

Robin
--
"I have detailed files."
- Terminator II
Robin Turner
IDMYO
Bilkent Universitesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin


Re: Bibdesk and LyX

2004-07-04 Thread robin
Janus Sandsgaard wrote:
On Sunday 04 July 2004 07:56, Varun Reddy wrote:

Is there any reference material on how to use Bibdesk with Lyx? 

I assume "Bibdesk" is a kind of BibTeX-editor. Create a bib-file in the 
application and then read the documentation about references in the LyX 
manual. Here you'll find a description on importing your bib-file and insert 
references.


Also,
are there alternate programs that can be used to insert references in
a thesis.

Yes. Use Pybliographer:
http://pybliographer.org/
Besides being an easy to use application it also have some specific features 
for LyX.
JabRef is also good: http://jabref.sourceforge.net/
Robin
--
"I have detailed files."
- Terminator II
Robin Turner
IDMYO
Bilkent Universitesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin


Re: pdf splitter

2004-05-28 Thread Robin S. Socha
Jim Ragsdale <[EMAIL PROTECTED]> writes:

>> You can open a PDF file in GSview on Windows
>> (http://www.cs.wisc.edu/~ghost/) and then write selected pages out to a
>> PDF file.  I presume (but do not know first-hand) that this also works
>> on Linux with GV.
>
> wow that rocks!  I used the Convert option in the file menu. Select the
> pages and save the file. Thanks for the info!!! I have been searching the
> internet for a program and I had it all along :)

While this is nice,  can do a lot more
for you :)



Re: "ASCII" considered obscure

2004-04-25 Thread robin
John Levon wrote:
On Sun, Apr 25, 2004 at 10:25:26PM +0200, Reuben Thomas wrote:


First, in most programs, "Text" is a file type listed on the save dialog,
not under "Export", which tends to be reserved for non-editable formats
such as PDF. This is certainly the case in most word processors. Hence,
she was confused because there was no option in "Save as" to change the
file type to text.


I've wanted this for a while.


Secondly, and much easier to fix, she then said "but there's no option to
export as text". She didn't know that ASCII means plain text. I suggest
the menu entry be changed to say "Plain text" or similar, again, in line
with most wordprocessors.


"Plain Text" is a good idea. File a bug.

Reluctantly, I agree. These days knowing what ASCII means is equivalent 
to knowing what a bulletin board is, or having worn flared trousers in 
the 1970s.

Robin

--
"If the lion could speak, we would not understand it."
- Wittgenstein
Robin Turner
IDMYO
Bilkent Universitesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin



Re: myTitlePage

2004-04-12 Thread robin
Robert Orr wrote:
I think you need to re-configure after putting the
.sty file where LyX can find it.
edit->reconfigure
And maybe run texhash first?

Robin

--- Beny Spira <[EMAIL PROTECTED]> wrote:

Hi
I am a newbie trying to use the "myTitlePage"
package created by
Herbert Voss in Lyx. I got the following latex error
when I put
\usepackage{myTitlePage} in the Preamble or tried to
implement it as a
new layout:
Latex Error: [EMAIL PROTECTED] undefined
[EMAIL PROTECTED]
{%
I don't have the slightest idea what might be wrong.
Have anyone tried
to use this package. Is there another way to
personalize a Title page?
thanks in advance
Beny
--
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html



--
"If the lion could speak, we would not understand it."
- Wittgenstein
Robin Turner
IDMYO
Bilkent Universitesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin



Re: Special Characters

2004-04-06 Thread robin
Andre Poenitz wrote:
On Tue, Apr 06, 2004 at 08:44:30PM +0200, Ansgar Hoffmann wrote:

I understand that I have to do it the same way I would in an ordindary
text editor, say Kate, since I'm using KDE.


This might be a misunderstanding...  One way to do it is to write

  '\usepackage{textcomp}'
This isn't necessary in LyX, at least not in the latest version.

in the document preamble (Layout->Preamble) and use \textregistered in
'evil red text' in the main text (i.e. type
Robin

--
"If the lion could speak, we would not understand it."
- Wittgenstein
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin



Re: Special Characters

2004-04-06 Thread robin
Ansgar Hoffmann wrote:
Hi Guys,

my name is Ansgar, I'm new to this list and I'm afraid to the topic as
well (have already typed a couple of pages, though), so I got a question
that might be a newbie-issue or slightly off topic, but anyway:
I want to include what I call special characters (don't know the english
word for "Sonderzeichen" ;-)  )  in my document. E.g. the little "r"
with a circle around it, indicating "registered trademark", know what I
mean? How am I supposed to achieve this in LyX?
I understand that I have to do it the same way I would in an ordindary
text editor, say Kate, since I'm using KDE. But unfortunately I've got
_no clue_ how I can do it with Kate as well. (Hm, this last sentence
actually seems a bit ambiguous to me )
CTRL, SHFT, ALT, ALT GR -- they all don't work for me.

You need to click the "TeX" button and type in the LaTeX code for the 
character you want. In this case, it's

\textregistered

Some other useful ones are

\textcopyright (the C in a circle)
\texttrademark (the TM sign)
You can get a complete list of LaTeX symbols by downloading the file 
http://jboeckx.dyndns.org/latex/docs/symbols-letter.pdf

Robin

--
"If the lion could speak, we would not understand it."
- Wittgenstein
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin



LyX in Mandrake 10.0

2004-03-30 Thread robin
After upgrading to Mandrake 10.0, all my PDF files created with pdflatex 
 come out with some ugly fixed-width font (well not exactly fixed 
width, since the letter-spacing varies randomly). I'm obviously missing 
some package, but don't know what it is (not pdflatex, as that is 
installed).

Anyone else here using Mdk 10.0?

Robin

--
"If the lion could speak, we would not understand it."
- Wittgenstein
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin



Re: [ANNOUNCE] LyX 1.3.4 is released

2004-02-19 Thread robin
Paul Smith wrote:
Prebuilt binaries (mainly rpms for linux distributions) should soon be
available at
ftp://ftp.lyx.org/pub/lyx/bin/1.3.4/


May I ask you whether you have an estimate of the date?

I'm downloading the tarball now and will attempt to make a Mandrake RPM 
- I'll let you know if I get it working.

Robin

--
"Telling disgruntled employees that they are always free to leave their 
jobs seems no different in principle from telling political dissidents 
that they are free to emigrate."
- Stephen Newman

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin



Re: LyX scores with a publisher!

2004-02-19 Thread robin
Tobias Hilbricht wrote:
Am Dienstag, 17. Februar 2004 16:36 schrieb Ronald Florence:

I've noted in the past that LyX is a frustration in dealing with trade
publishers (like Random House, HarperCollins, Simon & Schuster) for
books intended for the general public.  Unlike some scientific
publishers, trade publishers do not accept manuscripts in LaTeX, LyX or
any format but ms-word or perhaps WordPerfect.


Dear Ronald,

I think that publishers want to format their publications themselves, the 
author has only to concentrate on the content and deliver a manuscript 
suitable for say TeX and its children or Framemaker or something else. In my 
experience publishers are happy with plain text files to feed their 
formatting-engines. Some jounals accept TeX-source-files, but this is a rare 
exemption when the formatting of contents is very standardized. The 
distinction between author and typesetter/printer has worked quite well so 
far, in general, I believe.
So I am happy to hear that your publisher accepted your formatted proofs, but 
I would not be disappointed if the publisher did not accept the authors 
layout-ideas and want to typeset it himself.

Just a side-note - in our first-year courses we produce our own books of 
readings which are photocopied and bound by the university print shop. 
Most people just include photocopies of articles or web pages that (at 
best) they've run through Word, but of course I use LyX (last semester I 
went over the top, combining all the citations from the various papers 
into one massive BibTeX file and writing a glossary and index!). While I 
was explaining how important it was that the odd-numbered pages came out 
on the right, the guy asked "How come you always give us such clean 
copy?" "It's not me, it's my software," I replied!

Robin

--
"Telling disgruntled employees that they are always free to leave their 
jobs seems no different in principle from telling political dissidents 
that they are free to emigrate."
- Stephen Newman

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin



Re: How to use Nomencl package with LyX to prepare a list of abbreviations and symbols

2004-01-13 Thread robin
R S Ananda Murthy wrote:
Hello,

Nomencl is a LaTeX package to prepare list of symbols, abbreviations etc. But how to use this in LyX?

Thanks for all the help
I'm not familiar with this package, but the general procdure in LyX is 
to go to Layout>Document>Preamble and add the line

\usepackage{name-of-your-package}

This will allow you to use any commands the package provides (though 
this will require entering raw LaTeX).  Some packages do not require any 
extra commands (e.g. \usepackage{pandora} will automatically change your 
fonts to the Pandora fonts).

Robin

--
"The Pseudo Politically Correct term that I would use to describe the 
mind set
of postmodernism is 'epistemologically challenged'." - Chip Morningstar

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: LyX -> html

2004-01-03 Thread robin
Mark Carroll wrote:
On Sat, 3 Jan 2004, Janus Sandsgaard wrote:


Where can I find examples of tools used for converting a report or a manual
from LyX -> HTML?


I don't know, but FWIW I normally export to TeX then use a free latex2html
Perl script.
You can call latex2html from within LyX; in fact, if it's installed, LyX 
should detect it automatically. You may want to change some of the 
options, though - see the copious documentation that comes with 
latex2html.  A simpler alternative is Hevea.

Unfortunately the HTML produced by latex2html or Hevea is not up to the 
standards of HTML purists.  I'd recommend getting Tidy (which you can 
download from www.w3.org) and running it on the output, especially if 
you want "strict" HTML or XHTML.

Robin

--
"Certitude is possible for those who only own one encyclopedia."
- Robert Anton Wilson
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: Spell-as-you-type ??? am I the only one interested?

2003-12-30 Thread Robin Turner
Paul Smith wrote:
[..] A spell checker that underline misspelled words with a wavy red
line as you write them - and that provide the possibility to
right-click a word [..]
[..] I am curious in knowing if I am the only LyX user who is
interested in this feature? If not, please say.


Definitely interested.


Me too.

Paul
A couple of years back I would have said it was a nice feature, but 
there are far more features with higher priority.  Now, most of the 
features I was waiting for have materialised, so if there are developers 
around who are prepared to put in the time, I'd say "yay, go for it!"

Robin

--
"The other major kind of computer is the "Apple", which I do not
recommend, because it is a wuss-o-rama New-Age computer that you
basically just plug in and use." - Dave Barry
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: Theorem-like and personal environments

2003-12-23 Thread robin
Alon Altman wrote:
Hi,
  I've defined some of my own environments in the preamble of the document
(some theorem-like, some generic). I would like LyX to allow me to typeset
text in these environments without resorting to ERT to begin and end these
environments. How can I add my own environment types to the dropdown list?
You need to write a layout file.  It's best to start by copying the 
layout file you normally use from /usr/sharew/lyx/layouts (or the 
equivalent directory on your system) to the .lyx/layouts directory in 
your home directory, renaming it to whatever you want.

Then add your new environments or modify existing ones. Here's a rather 
complicated example from one of my layout files:

# Box style definition
# Adapted from a style by Herbert Voss
Style Box
  MarginStatic
  LatexType Environment
  LatexName myBox
  NextNoIndent  1
  LeftMarginm
  RightMargin   m
  TopSep0.5
  ParSep0.5
  BottomSep 0.5
  Align Block
  AlignPossible Block, Left, Right, Center
  LabelType No_Label
  Font
color   blue
  EndFont
#define the environment myBox

  Preamble
\newenvironment{myBox}{%
  \noindent%
  [EMAIL PROTECTED]
  \begin{minipage}[t]{0.5\columnwidth}%
}{%
  \end{minipage}%
  \end{lrbox}%
  [EMAIL PROTECTED]
  \vspace{0.5ex}
}%
EndPreamble
The kind of stuff LyX can handle, like margins and alignments, goes in 
the first part, but if you want complex LaTeX stuff, it needs to be 
defined in the Preamble section.

Run Edit->Reconfigure in LyX, and the next time you run LyX your new 
layout should show up.

Robin

--
"Certitude is possible for those who only own one encyclopedia."
- Robert Anton Wilson
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: apa style running head

2003-11-22 Thread robin
mreavey wrote:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg00495.html

I'm running lyx 1.2. on Mandrake 9.0 gnome desktop
Where should the above code be placed to recompile, and have it end up 
as a usable  document class?
Nothing needs recompiling, just put the file in your home directory, in 
.lyx/layouts, run Edit-Reconfigure and restart LyX . Alternatively, if 
you want to be available for all users, put it in /usr/share/lyx/layouts.

Robin

--
"Certitude is possible for those who only own one encyclopedia."
- Robert Anton Wilson
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: Pagination in book class

2003-09-20 Thread robin
Rich Shepard wrote:

[snip]

 If the book (or memoir) class had a style "Copyright" as does the
Koma-Script book format, I would not be asking all these questions.
Unfortunately, use of the latter class produces its own unintended
consequences for me writing in the U.S. If I was really clever and knew
LaTeX and LyX _very_ well, I could probably take the "Copyright" style from
Koma-Script and add it to "book". Unfortunately, I'm not that clever with
these applications. Nor can I find a LyX-class-writing-HOWTO.
Help->Customisation has a section "Decalring a new text class" which is 
a good place to start. Basically you start by importing the main class 
you want to use, and add any new paragraph environments you want, or 
alter existing ones.  So you could either start with the Book class and 
add aCopyright environment, or start with Book (Koma-script) and edit it 
to make it behave more like Book.

Robin

--
"I can say: 'Thank these bees for their honey as though they were kind people who have 
prepared it for you'; that is intelligible and describes how I should like you to conduct 
yourself. But I cannot say: 'Thank them because, look, how kind they are!'--since the next 
moment they may sting you.
- Wittgenstein
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin





Re: Features Request and PDF/Acrobat question

2003-09-20 Thread robin
Paul Jahshan wrote:



4. Finally, the PDF/Acrobat problem: I've read the help file on the 
poor quality of LyX to PDF output when displayed through Acrobat 
Reader and, despite my best attempts, couldn't understand how to fix 
this. Again, is there a "clear" 1-2-3 method to work around this 
rather irritating issue? (I'm using RH 9)
  


Which part 'failed'?

The part where the output is decent! in Acrobat, I get a below average 
quality, even if I zoom in.

That's probably the font part.  Try changing your font to "ae" or "pslatex".

Robin

--
"I can say: 'Thank these bees for their honey as though they were kind people who have 
prepared it for you'; that is intelligible and describes how I should like you to conduct 
yourself. But I cannot say: 'Thank them because, look, how kind they are!'--since the next 
moment they may sting you.
- Wittgenstein
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin





Re: Once more: Bibtex

2003-09-20 Thread robin
Kai Johannes Keller wrote:

Hello List,

the many postings and questions about bibtex in the last time made me
curious. So now I started to learn what it is, and I'm building my own
Bibtex-database.
But I don't like the numbers ([1] in .dvi-output) for citing an entry of
the bibtex-catalogue, I'd rather like to have something like [OLO] in
the Text to take reference to a book written by Rainer Oloff. I know
that it's possible with the "normal" Bibliography-environment, but is
there a way to do this in Bibtex, too?
You need to find (or write) a BibTeX style file that fits your purposes, 
then you can select it from the bibliography button.  You can also 
sometimes use preamble commands to modify how the style is implemented - 
Jurabib has an impressive range.  If you don't specify a style, you get 
BibeX Plain, which uses the bracketed numbers for references.

Robin

--
"I can say: 'Thank these bees for their honey as though they were kind people who have 
prepared it for you'; that is intelligible and describes how I should like you to conduct 
yourself. But I cannot say: 'Thank them because, look, how kind they are!'--since the next 
moment they may sting you.
- Wittgenstein
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin





Re: Single quotes

2003-09-16 Thread robin
Rajil Saraswat wrote:

On Tuesday 16 September 2003 09:05, Andre Poenitz wrote:
 

On Tue, Sep 16, 2003 at 08:52:50AM +0100, Rajil Saraswat wrote:
   

My message got lost somewhere in the list, so here is my question again.
What is the correct way of using single quotes in a text. Using the plain
' ' donot look right in the rendered postscript file.
 

What do you expect it to look like?

Andre'
   

I want the first quote to point inside and not with its tail pointing outside 
and away from the word. Does this make sense?

Yes, and the unpleasant truth is that you have to do it with raw LaTeX, 
as I found _after_ I'd sent my PostScript file to be printed.

Robin

--
"There are other rules, but you'll find out what those are when you break them."
- Blake's 7
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin





Re: parallel.sty

2003-09-15 Thread robin
Michael Chabon wrote:

Thanks for all the help, I got it installed and working, but it's just 
too much of a pain.

I will have to spend money for software, I fear. 


Well, LyX isn't for everyone - I happen to think it's the best thing 
since sliced bread, but if you want something more point-and-clicky, I'd 
suggest checking out Scribus before you splash out on an expensive DTP 
program.  It doesn't have all the functionality of its commercial 
cousins, but it's getting there slowly.  I'd still recommend persisting 
for a while with LyX, though - it kind of grows on you.

Robin

--
"There are other rules, but you'll find out what those are when you break them."
- Blake's 7
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin





Re: parallel.sty

2003-09-12 Thread robin
Michael Chabon wrote:

Pardon my ignorance... I have found this, but how do I install it to 
use with Lyx?  and once it's installed, how to I use it?

Thanks for the help.

MC


As with any package, the first thing you need to do is make it available 
to LaTeX. Put it somewhere inside your LaTeX distribution (on my 
computer this is /usr/share/texmf/tex/latex/ but it could be different 
on yours). Then run the command "texhash" (without the quotes) to update 
LaTeX. Note: you may need to be logged in as root/admin to do this.

Using it in LyX depends on whether it's supported by LyX.  If it is, 
then all you have to do is click Edit->Reconfigure, then restart LyX and 
you can use it just like any other document class. If it isn't, then you 
will need to put LaTeX commands in your Preamble (in LyX 1.3.* you get 
there from Layout->Document).  If there's any documnetation with the 
package, read it and see what it asks you to do.  If not, try putting

 \usepackage{parallel.sty}

in the preamble and see what happens.

Robin

--
"There are other rules, but you'll find out what those are when you break them."
- Blake's 7
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin





Re: LyX 1.3.2

2003-09-06 Thread robin
Jaime Díaz-Deus Fernández wrote:

Hi. I use LyX 1.2.3 on a MK 9.1, installed from the distro CD,s. I want to 
install LyX 1.3.2 with the file lyx-1.3.2-1mdk91-qt.i586.rpm, but I have the 
error: "qt=2.2.1 is required for LyX 1.3.2_qt". My KDE is the version 3.1.0 
and I don't understand why it's necessary to return to KDE 2 for to install 
this last LyX version. Someone can to help me?. Thanks.
 

It's a bug in the Mandrake RPM.  Just do "rpm -ivh --nodeps" and it 
should work fine.

Sir Robin

--
"There are other rules, but you'll find out what those are when you break them."
- Blake's 7
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin





Re: \renewcommand... (except inside a footnote)?

2003-09-03 Thread robin
Ronald Florence wrote:

I use \renewcommand{\cite}{\footcite} in the preamble with jurabib to
get footnote citations, which endnote.sty puts at the end of the book.
For multiple citations, I need to put the citations inside a footnote,
but \footcite inside a footnote is unacceptable.
How do I define \renewcommand{\cite}{\footcite} to work only when it
is not inside a footnote?  Thanks,
I tried this and couldn't find a workaround - I had to open a footnote 
and put my citation inside it.

Robin

--
"There are other rules, but you'll find out what those are when you break them."
- Blake's 7
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin





Re: BibTeX-editor (GUI) for KDE

2003-08-31 Thread robin
Janus Sandsgaard wrote:

Does anyone know a QT based BibTeX editor for Linux? I am using Pybliographer, 
but since I am writing a book about doing academic writing in LyX (and OOo) I 
want to make sure I am recommending the right thing.

 

I've been doing academic writing for some time using Pybliographic - 
works fine for me.  No Qt version, though, which is a shame.  It's a 
matter of taste, but I don't like Gtk much.

Robin

--
"There are other rules, but you'll find out what those are when you break them."
- Blake's 7
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin





Re: General compat question

2003-08-29 Thread robin
Kirk R. Wythers wrote:

I would like to hear what lyx users (or latex users for that matter) do
when a particular journal requires manuscripts be submitted as Microsoft
Word documents. I have tried latex2rtf, but the result leaves so much
additional re-formatting work (equations, figures, tables) to be done
that I'm about to throw up my hands and say, "fine... it's a Word world,
quit fighting it". However, before I do, I'd like to hear other's
experiences in this area... as I can't believe that I am alone in this
struggle.
 

I had that - I'm sending them a hard copy.

Sir Robin

--
"There are other rules, but you'll find out what those are when you break them."
- Blake's 7
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin





Re: word to lyx

2003-08-04 Thread Robin Turner
Andre Poenitz wrote:
On Sun, Aug 03, 2003 at 01:05:41PM +0200, Moritz Moeller-Herrmann wrote:

Andre Poenitz wrote:


On Fri, Aug 01, 2003 at 09:17:54AM +0200, Ulla Stubbe wrote:

[Can OpenOffice export to LaTeX? If so, this would be worth a try, too]
Yes it can using the writer2latex filter.


I've not managed to get this thing up and running. The binary crashes my JVM
and the source thingy does not even come with a Makefile.
Same problem:
java -classpath ~/classes/writer2latex.jar writer2latex.Application 
/home/nalan/Documents/fast/admin/appraisal_robin_2003.sxw

gives

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/openoffice/xmerge/util/registry/RegistryException

Now I know almost nothing about Java, but that looks like it's looking 
for a Java-enabled OpenOffice (OO stubbornly refuses to recognise my 
Java, bot I'll go into that on a different list!).


You can also use the program on the command line without openoffice. Maybe
someone could adapt it as a lyx import filter?


Would be nice...
Definitely, and probably not too difficult to implement, so long as 
reLyX can handle the TeX it produces. (don't ask me to do it though - I 
know even less about C++ than Java!).  I like OO, and use it a lot for 
some things (mainly the spreadsheet and, of course, dealing with all 
those bloody Word docs people send me) but I'd still rather use LyX, 
given the choice.

Sir Robin

--
"There are other rules, but you'll find out what those are when you 
break them."
- Blake's 7

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: Problems installing Lyx 1.3.2 on Mandrake 9.1

2003-07-30 Thread Robin Turner
Janus Sandsgaard wrote:
On Wednesday 30 July 2003 02:57, Robin Turner wrote:


Bad spec file?  Try it - you can always uninstall it if it doesn't work.


It seems to work just perfetc! I updated from LyX 1.2.x and I must say (among 
other things) it is an improvement with the QT-integration. :-)
Yep, the 1.3.* series is sweet!  Qt eye-candy aside, you'll find a 
number of nice usability features.

Now I just need to learn averything about the BibTex integration. I want to 
use LyX for my academic work - and I am working on a small book about 
Linux-tools for students and researcher at non-technical educations at Danish 
universities.
As I said in another post, I recommend Jurabib.  Feel free to mail me 
off-list if you have any BibTeX questions - I'm no expert, but I have a 
fair amount of trial-and-error experience.

Robin

--
"There are other rules, but you'll find out what those are when you 
break them."
- Blake's 7

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: alternative BibTex styles for LyX

2003-07-29 Thread Robin Turner
Janus Sandsgaard wrote:
I am currently trying to get an overview of the integration between BibTex and 
LyX. Where can I find alternative styles for BiBTex in Lyx?
LyX will detect any BibTeX styles you have installed.  If you want more, 
just download them from CTAN and don't forget

1. to run texhash after you copy them to the appropriate directory;
2. that sometimes you will need to add a line to your preamble to get 
the package to work properly.

Incidentally, I recommend the Jurabib package, which I recently used to 
write a course book using Chicago format.  It takes a while to work 
through the documentation, but once you get the hang of it, it's 
amazingly powerful.

Robin

--
"There are other rules, but you'll find out what those are when you 
break them."
- Blake's 7

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: Problems installing Lyx 1.3.2 on Mandrake 9.1

2003-07-29 Thread Robin Turner
Janus Sandsgaard wrote:
On Tuesday 29 July 2003 23:50, Robin Turner wrote:


Use urpmi with the "allow nodeps" option.


And this won't cause problems? 
Why does it Ask for an old qt?

Bad spec file?  Try it - you can always uninstall it if it doesn't work.

Robin

--
"There are other rules, but you'll find out what those are when you 
break them."
- Blake's 7

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: no bibtex style file not seen in LYX!

2003-07-29 Thread Robin Turner
John Levon wrote:
On Tue, Jul 29, 2003 at 06:37:20PM +0300, Robin Turner wrote:


There was a change in the way bibtex was referred to.  Click on the 
bibliography box in your document and reset the database and style - 
your citations should come back.


If you have to do this, we have a bug.
I did have to do it with some documents I imported from 1.1.6 - I don't 
remember if I did with 1.2.  Unfortunately I don't have any 1.1.6 
document left (at least not ones with bibliographies) so I can't 
reprodcue the behaviour.

Robin

--
"There are other rules, but you'll find out what those are when you 
break them."
- Blake's 7

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: no bibtex style file not seen in LYX!

2003-07-29 Thread Robin Turner
Manjunatha, K.R. wrote:
Hello all,
I have upgraded the Lyx from 1.2  to 1.3.1 on my debian
woody,  when I open old lyx document, which is created by
lyx 1.2  with 1.3.1, I dont see my citations in, I mean
they are replace by question mark. I dont see any bibtex
style file when I try to insert the reference from bibtex
database.
There was a change in the way bibtex was referred to.  Click on the 
bibliography box in your document and reset the database and style - 
your citations should come back.

Robin

--
"There are other rules, but you'll find out what those are when you 
break them."
- Blake's 7

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: word count

2003-07-08 Thread Robin Turner
Alberto Sanchez wrote:
Yep...that is exactly what I meant. As Andre pointed out, the operation of
couting words, from a latex point of view, is not easy, but I think this
feature is something many people have to do when writting articles, theses
or other documents.
If someone were to write a word count feature, something that would make 
it really nice would be the ability to count words in only one part of a 
document. Very useful for those "which section to I need to cut in order 
to fit in the maximum wordcount?" moments!

Robin

--
"A strategy is still being formulated."
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Jurabib: my own question answered, plus another one

2003-07-07 Thread Robin Turner
In case anyone is interested in using Jurabib in LyX (see my earlier 
question), here's how to do it ...

Insert something allong the lines of the following in your preamble:

\usepackage{babel}
\usepackage[%
 titleformat=italic,%
 titleformat=commasep,%
 commabeforerest,%
 ibidem=strict,%
 citefull=first,%
 chicago,%
 pages=format,%
]{jurabib}
\renewcommand{\cite}{\footcite}
1. It is necessary to invoke babel in the preamble - having it set in 
Edit->Preferences->Language doesn't seem to work.
2. The options here are for a humanities paper using Chicago Manual of 
Style format. There are plenty of other configurations possible.  With 
no options specified, you get the standard ones for legal papers. Check 
out the examples on the Jurabib homepage.
3. Don't use the lookat option, as it will generate errors.
4. The last line is important, otherwise you'll wind up with all your 
citations in the body of your text.

One glitch, though.  I've noticed that in an article citation, the date 
appears between the volume number and the issue number; e.g.

_Journal of Religion and Film_ 5 October (2001), no. 2

Does anyone know what's causing this problem?

Robin
--
"A strategy is still being formulated."
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: Index question

2003-07-02 Thread Robin Turner
Rafa García wrote:
Hello!

El Martes, 1 de Julio de 2003 01:22, Robin Turner escribió:

Is it possible to make different words (or forms of the same word) point
to the same index entry while including all the original words in the
index?  For example, I can make "simulacrum" and "simulacra" have the
same entry by usng the same index label, but I can only then have one
word in the index; i.e.,
simulacrum, 6, 8, 16



You can find the solution in the LaTeX documentation. You've got some 
posibilities:

If you want the output something like


simulacra, simulacrum, 6, 8, 16


the only thing you have to do is to use the following keyword in the index 
entry:  "simulacra, simulacrum", every time that word appears. (I think it 
could be a little annoying)
Yes!

However, if you'd like an output like


simulacra - see simulacrum
simulacrum, 6, 8, 16


you always have to use the keyword "simulacrum" wherever you need a reference. 
You only have to add an index entry with the keyword  
"simulacra|see{simulacrum}", or "simulacra!\ |see{simulacrum}", at any place 
in the document (only once).

The word "see" is compulsory. It'll be translated to your language when you 
get the DVI or PDF file.

If you want more information, go to 
http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/makeindex.dvi
You have to put the word(s) between brackets in the keyword of the index 
entry. e.g. If you see \index{bites!vegetable}, you have to use the words 
bites!vegetable as keyword.

I wish it help you.


Thanks, this does the trick!  There are some other useful documents on 
the site you mentioned - I'm currentlydownloading the guide to making 
glossaries.

Robin

--
"A strategy is still being formulated."
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: Index question

2003-07-01 Thread Robin Turner
James Frye wrote:
On Tue, 1 Jul 2003, Robin Turner wrote:


or

simulacra - see simulacrum
simulacrum, 6, 8, 16


A bit off the track, but IMHO this is the single most annoying thing
anyone can do in an index.  I would love to have an option in the index
generator that says A and B are equivalent, so both A and B get a list of
the references to either.
I agree, but I can't see a way to do it in makeindex. Having said that ...

The single and most annoying thing anyone can do in an index is not 
provide an index.  Call me anal retentive, but I even want an index in a 
novel.

Robin

--
"A strategy is still being formulated."
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Index question

2003-06-30 Thread Robin Turner
Is it possible to make different words (or forms of the same word) point 
to the same index entry while including all the original words in the 
index?  For example, I can make "simulacrum" and "simulacra" have the 
same entry by usng the same index label, but I can only then have one 
word in the index; i.e.,

simulacrum, 6, 8, 16

whereas what I would like is either

simulacra, simulacrum, 6, 8, 16

or

simulacra - see simulacrum
simulacrum, 6, 8, 16
(OK, not a wonderful example, since these will appear next to each other 
anyway, but it becomes more useful if I need to have, say, "Albigensian 
- see Cathar").

Thanks,

Robin

--
"A strategy is still being formulated."
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: others like lyx?

2003-06-20 Thread Robin Turner
Thomas CLive Richards wrote:
[snip]
5.- Users *should* be able to fine tune *all* the details about the
typesetting. Boxing users in so they can only use what *you* think
is good type setting is (IMHO) plain silly. I personally can't find
any styles in the pretty small style list which exactly matches the
style i need. I should be able to set everything, like the
whitespace above and below titles, whether
chapters/sections/subsections start on a new page, whether tables
are set out on a seperate page, and a whole lot more. Again, forcing
users to use *your* style of typesetting just makes users unhappy
with the results.
The use of "your" here is misleading.  The LyX developers do not set
the paragraph environments, they come from whoever writes the LaTeX
styles. 
 A style editor would be a nice feature, but it would also be a lot
 of 
work.


Yeah, ok, maybe "your" was not the right word. and perhaps tuning all
the features is also a bad idea. However, tuning some of the more
important ones shouldn't be too hard, surely? things like section
numbering style, font size and type & indent for the different
sections...
There is already quite a bit you can do - font size, for example is 
included in document settings (though you only get a choice of 10, 11 or 
12 points - if you want anything bigger, you need to use a class like 
poster or manually fine-tune the whole of your document).  Expanding the 
rangeof font faces has been on the table for a long time, but it's a 
larger piece of work than it looks - LyX just comes up with the fonts 
that are common to just about any TeX installation, and adding more 
fonts would require it to search the user's TeX directory to see what 
had been installed. As far as I can tell (C++ is beyond me!) it wouldn't 
be rocket science, but it would be donkey work.

Numbering style is still handled by the document class, though it 
wouldn't be hard to over-ride it in a similar way to bullet styles, I 
suppose.  Again, indentation of headings is automatically done by the 
document class.

It seems you're looking for one of two things.  Either your needs would 
be best met by some kind of style editor, so you could create LyX layout 
files on the fly (which would, I agree, be very nice) or you need the 
ability to micro-format everything as you type.  In the latter case, 
LyX is probably not the best program for you, and I suspect that 
anything based on LaTeX wouldn't be either.  You either need a very 
clever frontend to TeX which doens't rely on LaTeX, or you need a good 
conventional word processor (e.g. OpenOffice) or DTP program (Scribus is 
getting there slowly, though it's still not in the same league as the 
big commercial DTP programs).

Robin

--
"Some guy breaking into a government computer system and wreaking havoc
makes for a more interesting movie plot than some guy writing device
drivers. It's hard to work in a good 10-minutes car chase scene with some
guy who writes device drivers..." - tjc, post to LWN
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: table

2003-06-20 Thread Robin Turner
Raphael Clifford wrote:
I am trying to copy a table from an existing tex file. How would I 
produce this in lyx?  Can I import just that bit of latex code somehow?

\begin{table}[ht]
\caption{Post-construction average time complexities for 5 different 
problems
using standard and distributed suffix trees with $k$ computing nodes.  
$r$ is
the number of strings for the All Pairs Suffix-Prefix problem and the 
number
of patterns for Exact Set Matching.}
\centering
\begin{tabular}{||c|c|c||}\hline
Problem&\multicolumn{2}{c||}{Expected Running Time}\\ \cline{2-3}
&Standard ST (Serial)&Distributed ST (Parallel)\\\hline
LCS and ELM &$O(n)$&$O(n/k)$\\
Maximal Repeat Finding & $O(n)$&$O(n/k)$\\
All Pairs Suffix-Prefix&$O(n+r^2)$&$O((n+r^2)/k)$\\
Exact Set Matching&$O(r\log n)$&$O((r\!\log n)/k)$\\
\hline
\end{tabular}

\end{table}

Easy - just click the TeX button and insert your LaTeX into the red box 
that comes up (assuming you're using a relatively recent version of 
LyX).  I just checked it - it came out fine for me in 1.3.2.

Robin

--
"Some guy breaking into a government computer system and wreaking havoc
makes for a more interesting movie plot than some guy writing device
drivers. It's hard to work in a good 10-minutes car chase scene with some
guy who writes device drivers..." - tjc, post to LWN
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: teach me how to fish

2003-06-20 Thread Robin Turner
[EMAIL PROTECTED] wrote:
The LaTeX Companion.

http://www.amazon.com/exec/obidos/tg/detail/-/0201541998/104-4610119-3007930?vi=glance
I second that recommendation - that book is a treasure trove.  I've been 
known to abuse my faculty member borrowing priveleges by keeping it out 
of the library for a whole semester (along with Unix Power Tools and 
Programming Perl).

I'd also recommend browsing the Tips and Tricks pages.  You can pick up 
a lot of LaTeX by osmosis.

Robin

--
"Some guy breaking into a government computer system and wreaking havoc
makes for a more interesting movie plot than some guy writing device
drivers. It's hard to work in a good 10-minutes car chase scene with some
guy who writes device drivers..." - tjc, post to LWN
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: others like lyx?

2003-06-18 Thread Robin
 back (I remember, I 
was one of the people asking questions!).  Have a hunt through the 
archives.
7.- I'm sure there was something else as well, but i can't remember it
right now...
Implementing character styles has been mentioned a few times, as has 
replacing the "hardwired" font selection with something more flexible, 
based on what fonts are actually installed in LaTeX.  I've also 
mentioned that using the OpenOffice Word filter would be nice, but again 
that's a major project, since AFAIK it is not available as a standalone 
application like wv.

I realise that people get very defencive about software they have worked
on, and I really don't mean to cause any offence, but 1,4&5 are pretty
vital features to me. What do you guys think? AFAIK they should all be
able to be added without too much work (not that I've actually looked at
the code myself, i don't have the experience, or the know-how).
Some of them could be implemented without too much trouble; others, I 
think, would be require a lot of work. Some may not even be practical at 
all; for example, allowing users to fine tune *all* aspects of 
formatting really means being a front-end to TeX rather than LaTeX.  It 
could be done, but you would then have a different program altogether, 
perhaps. I use LyX for most of my writing because it relieves me of the 
fine-tuning, and I'm fortunate enough to want to produce the kind of 
documents that LaTeX is designed to produce.  When I need to fiddle with 
the details of physical (as opposed to logical) layout, I use 
OpenOffice.  They are both valid ways of doing things, but I'm not sure 
how good it is to try and mix them.

BTW, I'm sure that if a benevolent millionaire were to pay a team of LyX 
developers to implement every feature request anyone has come up with 
here or on Bugzilla, someone would write in to complain about LyX being 
bloated and say there is a need for a lightweight front-end to LaTeX ;-)

Robin

--
"Some guy breaking into a government computer system and wreaking havoc
makes for a more interesting movie plot than some guy writing device
drivers. It's hard to work in a good 10-minutes car chase scene with some
guy who writes device drivers..." - tjc, post to LWN
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: Lighter Version

2003-06-16 Thread Robin Turner
Konrad Scorciapino wrote:
Hello,

I am trying to run LyX on my old P166, but it gets too slow. So, I was wondering if:

1 - Is there a lighter version of LyX or a lighter program that works just like it?
LyX itself is about as light as you can get - it's LaTeX that eats 
resources, but you only need that when you preview or export.
2 - Can I convert .rtf to .lyx? There is a rtf editor (Ted) which is pretty light; If that is possible, I can work with it and then convert its files to .lyx later.
Not directly, but I saw a program once that converted RTF to LaTeX. 
OTOH, RTF has such minimal formatting that it's probably better to 
convert it to plain text, then redo your formatting in LyX.
3 - Is there any other solution to this problem?
I'd suggest investing in some RAM. CPU speed is not so important, but a 
decent amount of RAM is essential, unless you want to cook dinner while 
you're running latex.

Robin

--
"Some guy breaking into a government computer system and wreaking havoc
makes for a more interesting movie plot than some guy writing device
drivers. It's hard to work in a good 10-minutes car chase scene with some
guy who writes device drivers..." - tjc, post to LWN
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: Advantages of qt over xforms?

2003-03-24 Thread robin
Nirmal Govind wrote:
missing something? Some killer feature? :-)
Not really. There are just people out there who like pain, you know...



Not sure I understand what you mean by "pain" Andre... cos I thought that one of
the coolest features of the Qt version was being able to navigate thru folders
and files much quicker than in the xforms version.. and this took away a lot of
the pain, for me at least! :-)
Oh yes!  It's nice knowing what will happen when I click on a file, too ;-)

Robin

--
"The raisins may be the best part of a cake, but that doesn't
mean that a bag of raisins is better than a cake."
- Wittgenstein
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: [ANNOUNCE] LyX 1.3.1 is released

2003-03-19 Thread robin
If anyone compiles a Mandrake RPM, please let me know! If no one wants 
to do it, I'll have a go, but last time I got bogged down in 
dependencies, got fed up, and made myself a simple tar.gz binary 
instead.  Don't trust me on this one!

Robin

--
"The raisins may be the best part of a cake, but that doesn't
mean that a bag of raisins is better than a cake."
- Wittgenstein
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: howto fonts

2003-03-12 Thread robin
Thomas Zauner wrote:

hi,

i am working on a college paper, and i need to add some arabic words to my text.
the rest of the doc is in normal latin15. (EU)
i really would like to RTFM but i don't know where to start.

do i need to 

- install the fonts (which arabic fonts are there?) to my system (RH7.3)
- or intsall them to my X server ?
- and how to just use them for a couple of words in lyx and not the whole document ?
- and the printing isn't handled by lyx anyway so do i need to tell tex to use these 
to get the right dvi/ps?
i have used xfontsel to check my fonts. i found sth. like " -arabic-*-*-*-  " . i don't if taht helps? 
help would very appreciated. 

 

I can't help you with the Arabic side, but I have a general guide to 
fonts in LyX at www.bilkent.edu.tr/~robin/lyxfonts2.lyx  This has advice 
on installing fonts in TeX and using different fonts within the same 
document.

Robin

--
"A Perl script is "correct" if it gets the job done before your boss fires you."
- Larry Wall
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin





Re: LyX 1.3.0-Qt no paragraph vertical spacing fill

2003-03-11 Thread robin
Raymond Ouellette wrote:
I compiled and installed both Qt and XForm version of LyX 1.3.0 a few weeks ago.

Qt version is really pleasing to use and the viisual comfort with aa fonts is great.

I do have 2 small concerns.

1. There are some not translated options in the different combo boxes (I use it in french) -- if I note the different missing sentences, who must be advised? This problem occurs in both version (Qt and XForm).

2. Only in Qt version: you can't do a vertical space fill for a paragraph, it doesn't work. Selecting « ressort vertical » (vertical fill I guess in the english text) does nothing. The other options work. I had to use \vspace{\fill} in ERT to get my paragraph pushed at the bottom of the page.
That's funny - I only just noticed I have the same problem with 1.3 Qt.

Robin

--
"The raisins may be the best part of a cake, but that doesn't
mean that a bag of raisins is better than a cake."
- Wittgenstein
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: Authoring HTML pages with Lyx?

2003-03-09 Thread robin
Chris Carlen wrote:
> Hi:
>
> I want to write some web pages with equations and graphics.  Some
> graphics will be images created by programs with aren't set up well to
> export in a format suitable for Lyx.
>
> But the main question is, if I create a document in Lyx, how might I
> convert it to HTML, and in your experience, does this process work well?
The short answer: File->Export->HTML

The long answer:
LyX does not produce HTML itself; it uses whatever converters are
installed on your computer. The most commonly used is latex2html, but
you can specify others such as tth or hevea.
In using latex2html, it's worth learning how to tweak the options that
control whether, and at what level, pages are split, navigation tools
etc. and specifying those (in Edit->Preferences->Converters).  For example
latex2html -no_subdir -split 0 -show_section_numbers $$i

will give you a one-page document, retaining the section numbers from
LyX (the default is to remove them).  There is a lengthy documentation 
supplied with the latex2html package.

Personally I find latex2html is best used in combination with stylesheet 
tweaking.  It is _not_ suitable for sophistiacted website design - you 
want an HTML editor for that (Bluefish, Quanta+, CoffeeCup ... take your 
pick).

> At this point I can't fathom how links might be inserted into LyX
> documents.
Insert->URL, but I can't work out how to get that to turn into a real 
hyperlink in 1.3.  Used to work fine in 1.2.*

Robin



--
"The raisins may be the best part of a cake, but that doesn't
mean that a bag of raisins is better than a cake."
- Wittgenstein
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin





Re: installing Bst files properly

2003-03-04 Thread robin
Owen Lucas wrote:
I think that this depends on what bst you are using.
In the past I have put "\usepackage [authoryear,round] {natbib}" in my 
preamble but there may be a better way to do it in new versions of lyx. 
These days I use the harvard package which uses round as standard.
But Harvard won't do APA - it's too simple and logical ;-)

Robin

--
"The raisins may be the best part of a cake, but that doesn't
mean that a bag of raisins is better than a cake."
- Wittgenstein
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: MLA Format?

2003-03-02 Thread robin
Andrey Goder wrote:
Is there a document class for the MLA format available?
Yes - you can download mla.sty from CTAN.  If I recall correctly, 
hum.sty is also MLA-like.

Robin

--
"The raisins may be the best part of a cake, but that doesn't
mean that a bag of raisins is better than a cake."
- Wittgenstein
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin




Re: Changing straight quotes to left/right quotes

2003-02-20 Thread robin
Angus Leeming wrote:

Nalan Turner wrote:



I have a large text file which I have imported into LyX.  I'd like to
replace the straight ASCII quotation marks with LaTeX left/right
quotation marks, but if I were to do them all by hand I'd be at it for
days.  Is there a way to do it automatically, and still have the quotes
going in the correct direction?

Robin



This appears to work. No promises however...
Run as
$ conv.sh yourfile.lyx
The output will be in tmp-yourfile.lyx

Incidentally, does anyone know how to escape "'" so I could have 
sed 's/RE//'
here instead of having to use
sed "s/RE//"
with the ensuing nastiness of ''?

Angus


#! /bin/sh

replacequotes () {
TMP=tmp-$1
cp $1 $TMP
while (grep "'" $TMP > /dev/null); do
sed "s/'/\\
begin_inset Quotes eld\\
end_inset\\
\\
/" $1 | sed  "s/'/\\
begin_inset Quotes erd\\
end_inset\\
\\
/" > tmp-out
mv tmp-out $TMP
done
}

test $# -eq 1 || exit 1

replacequotes $1


Thanks, but that replaces all apostrophes with quotation marks - what I 
need is something to replace straight quotes (").  Nevertheless, I think 
I've got the idea - I'm not that familiar with sed, but I can probably 
knock something together in Perl.

Robin

--
"The raisins may be the best part of a cake, but that doesn't
mean that a bag of raisins is better than a cake."
- Wittgenstein

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: Bibliography

2003-02-16 Thread robin
Jade wrote:

Hello,

I've been using Lyx for a while now for my law thesis, and I'm very happy with 
it, but I still have a problem. 

I have to quote my references on a footnote this way : 

"author, nameofbook, wherepublished, year." (plus a bibliography at the end), 
but the only thing that Lyx can give me is : "[ 1 ]", or "[ AuthorYear ]", 
and produce a biblioraphy at the end.

The problem is that is human sciences there is no choice, we HAVE to use the 
first way (quote the entire reference eache time we mention the book, or the 
article, in a footnote). 

I have found a package called "jurabib", that can help doing this, but I 
wondered if there was a way to include the package automatically using Lyx.

I'm sure it would promote a lot Lyx into the human science community, because 
we have to use this format (and not the way "[ x ]" + biblio at the end), I 
know a lot of persons that would love to see this implemented.

I'm also quiet sure that it would't be very hard to implement. 

Doesn't jurabib show up under styles when you click the BibTeX box?

Robin



--
" Like these cutters, and hackers, who will take the wall of men, and 
picke quarrells."
- G. Pettie

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: off-topic: can't access Herbert's pages from home

2003-02-13 Thread robin
Christian Ridderström wrote:

Hi

I'm sorry for being totally off topic here, but does anybody have an idea 
why I can access Herbert's pages (http://www.educat.hu-berlin.de) from 
work, but not from home?

Does your ISP employ censorware?  It's amazing the kind of stuff these 
programs filter out (e.g. some people can't get at my philosophy and 
linguistics site, and one of my students couldn't download Rousseau's 
Discourse on Inequality from home).  Maybe all those references to latex 
trigger some anti-fetish subroutine ;-)

Robin

--
" Like these cutters, and hackers, who will take the wall of men, and 
picke quarrells."
- G. Pettie

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: Skips before and after new environment

2003-02-11 Thread robin
Herbert Voss wrote:

robin schrieb:


Now I would have thought that when this is invoked, it would produce a 
box with a medium skip before and after, but in fact the skips happen 
inside the box, which is flush with the previous and following 
paragraphs.  Does anyone have an idea how I can change this behaviour?


choose \medskip if \bigskip is too much


\newenvironment{myBox}{%
 \par\bigskip
 \noindent%
 \begin{lrbox}{\@tempboxa}%
 \begin{minipage}[t]{0.5\columnwidth}%
   }{%
 \end{minipage}%
 \end{lrbox}%
 \fbox{\parbox{0.5\columnwidth}{\usebox{\@tempboxa}}}%
 \par\bigskip
   }%


Thanks - that did the trick.

Robin


--
" Like these cutters, and hackers, who will take the wall of men, and 
picke quarrells."
- G. Pettie

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Skips before and after new environment

2003-02-11 Thread robin
In the preamble section of my layout I have the following (adapted from 
an environment by Herbert)

\newenvironment{myBox}{%
   \medskip
 \noindent%
 \begin{lrbox}{\@tempboxa}%
 \begin{minipage}[t]{0.5\columnwidth}%
   }{%
 \end{minipage}%
 \end{lrbox}%
 \fbox{\parbox{0.5\columnwidth}{\usebox{\@tempboxa}}}\\%
 \vspace{0.5ex}
 \medskip
   }%

Now I would have thought that when this is invoked, it would produce a 
box with a medium skip before and after, but in fact the skips happen 
inside the box, which is flush with the previous and following 
paragraphs.  Does anyone have an idea how I can change this behaviour?

Thanks,

Robin

--
" Like these cutters, and hackers, who will take the wall of men, and picke quarrells."
- G. Pettie

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin





Re: New user

2003-02-11 Thread robin
Andre Poenitz wrote:

On Tue, Feb 11, 2003 at 10:20:49PM +1100, Steven Homolya wrote:


If messages on this list are any indication, there are a lot of people 
using Lyx in MS-Windows (with Cygwin).

Which begs the question where we failed...


Failed to make it clear that one does not need to look for a "LyX-like 
type setting program for Windows" because Lyx works on MS-Windows. (As I 
far as I understand, most open source stuff can be run in Cygwin. ? )


More or less. Usually there is quite some pain as it does not integrate
as well as applications specifically developed for MS Windwows.

Which leads to over-generalization "OSS does not work well" (as in
"cannot read MS-Word files flawlessly").


I was wondering whether it would be possible to have LyX use the 
OpenOffice Word filters rather than wv.  wv does a pretty good job on 
many Word documents, but it tends to choke on complicated formatting and 
  some charsets.

One way to avoid that impression is simply by not supporting MS Windows at
all. Maybe not the best, but certainly the simplest.


True, but I think now the Qt version is up and running, a native Windows 
version is a realistic goal.  Whether it would be worth the effort is 
uncertain - that's something for interested developers to decide.

Robin

--
" Like these cutters, and hackers, who will take the wall of men, and 
picke quarrells."
- G. Pettie

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Sorry - ignore last post!

2003-02-09 Thread robin
Robin rather stupidly wrote


The documentation on making key-bindings mentions the "Reference Guide" for a complete list of functions.  Where can I find this? 

In /usr/share/lyx/doc, of course (I looked earlier, but missed it in the 
swirl of international documentation).

A link in the Help menu would be good, though.

Robin

--
" Like these cutters, and hackers, who will take the wall of men, and 
picke quarrells."
- G. Pettie

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: More Questions about the QT front end

2003-02-09 Thread robin
Dekel Tsur wrote:

You can set the language to Turkish for the Turkish names using the
character dialog (you can make a key-binding for it).


The documentation on making key-bindings mentions the "Reference Guide" 
for a complete list of functions.  Where can I find this?

Robin


--
" Like these cutters, and hackers, who will take the wall of men, and 
picke quarrells."
- G. Pettie

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: Change font-size to 13 pt.

2003-02-09 Thread robin
I Wayan Warmada wrote:

Dear LyX-users,
how can I get a font size of 13 points. With a normal report class the
maximum font size is 12 pt, but in the exreport class that could be get 8,
9, 14, 17, 20pt. Could you please suggest me how to get a 13-points font
from either report or extreport class. 12 point is too small, 14 point is
too big.



There are a number of ways to reset the base font size.  Here's one I 
haven't tried but saw somewhere:

\def\@normalsize{\@setsize\normalsize{13pt}\xpt\@xpt}

Another would be to export as LaTeX and change the first line to read 
something like

   \documentclass[13pt]{exreport}

If that doesn't work for your class, then you may have to hack the class 
file, I suppose.

A quick kludge is to block the whole text the go to Layout>Character and 
 select Increase under Size.

Robin


--
" Like these cutters, and hackers, who will take the wall of men, and 
picke quarrells."
- G. Pettie

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: View -> DVI doesn't work for me

2003-02-08 Thread robin
Jeffrey Stephens wrote:

  I am beginning the Lyx tutorial, and it says to type a few words, save the 
file, then "Run LaTeX to create a dvi file, with View -> DVI."

When I do this the disk thrashed for second as if something is happening, but
nothing does.  I think maybe I am missing something.  I did a "rpm -qa | grep 
dvi" and got the following:

tetex-xdvi-1.0.7-47
kdvi-3.0.3-0.7.2
tetex-dvips-1.0.7-47.1

Is there another package(s) that I need to have for this to work correctly, or 
does something need to be configured differently?  Thanks for any help.

Regards,
Jeff S


The default DVI viewer is gv, which you may not have installed. 
Otherwise, change it to kdvi.

Robin

--
" Like these cutters, and hackers, who will take the wall of men, and 
picke quarrells."
- G. Pettie

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: bottom of the page

2003-02-08 Thread robin
Peter Harkins wrote:

	I've got some text (and tabulars) I'd like to appear at the bottom
of a page. I tried putting it in a minipage and setting alignment to bottom,
but this did nothing.



Quick and dirty fix -

Layout>Paragraph : Space above>VFill

In Qt it's slightly different but pretty obvious.

Robin

--
" Like these cutters, and hackers, who will take the wall of men, and 
picke quarrells."
- G. Pettie

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin





Re: More Questions about the QT front end

2003-02-08 Thread robin
Dekel Tsur wrote:

On Sat, Feb 08, 2003 at 03:55:34PM +0200, robin wrote:


In xforms it is possible to change the character set of the GUI 
independently of the language, but this doesn't seem to be the case in 
Qt, unless I'm missing something.  For example, I write classroom 
materials, administrative stuff etc. in English, but frequently have to 
insert Turkish names, so in older versions I would set the lnguage as 
English but set the encoding as iso-8859-9.  As far as I can see, in 
1.3.0-qt, I can set the font but not the charset.


The document text is shown using a unicode font, so you don't need to mess
with font encodings: if you have iso10646-1 fonts, LyX will be able to show
any language that you can input.

The text in menus/dialogs is shown using an 8-bit encoding.
You can control which encoding is used by setting the LANG environment
variable (in the future, it will also be unicode).



OK - got it.  It's only a problem with documents I wrote on the xforms 
version, but hell, I can live with that.

Robin

--
" Like these cutters, and hackers, who will take the wall of men, and 
picke quarrells."
- G. Pettie

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: More Questions about the QT front end

2003-02-08 Thread robin
Angus Leeming wrote:

robin wrote:



In xforms it is possible to change the character set of the GUI
independently of the language, but this doesn't seem to be the case in
Qt, unless I'm missing something.  For example, I write classroom
materials, administrative stuff etc. in English, but frequently have to
insert Turkish names, so in older versions I would set the lnguage as
English but set the encoding as iso-8859-9.  As far as I can see, in
1.3.0-qt, I can set the font but not the charset.

Robin



That is correct. This is the one major limitation of the Qt frontend at the 
moment. The fault, if fault is to be aportioned, lies within Qt itself I 
understand. Perhaps more fairly, they do not deal with many projects such 
as ours which do not use their classes in the core of the program and so 
have not had to develop the flexible interface to their library that we 
require in this instance. I also understand that they are now aware of our 
problem and are addressing it.

In the meantime, what you have got has taken an enormous amount of creative 
'hacking' by John Levon to get it into the state it is now. Personally. I 
think that the man deserves a medal for his efforts ;-)

I'll second that!


If you require the flexibility you describe, then you are stuck with the 
xforms frontend for a little while longer.

I'll sacrifice flexibility for usability and aesthetics for the time 
being.  There is no problem with the output, as I can set language and 
charset differently in Layout-Document, so I guess I can live with the 
limited GUI for a while.

Robin


--
" Like these cutters, and hackers, who will take the wall of men, and 
picke quarrells."
- G. Pettie

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




More Questions about the QT front end

2003-02-08 Thread robin
In xforms it is possible to change the character set of the GUI 
independently of the language, but this doesn't seem to be the case in 
Qt, unless I'm missing something.  For example, I write classroom 
materials, administrative stuff etc. in English, but frequently have to 
insert Turkish names, so in older versions I would set the lnguage as 
English but set the encoding as iso-8859-9.  As far as I can see, in 
1.3.0-qt, I can set the font but not the charset.

Robin

--
" Like these cutters, and hackers, who will take the wall of men, and 
picke quarrells."
- G. Pettie

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: Announce: LyX 1.3.0 released.

2003-02-07 Thread robin
John Levon wrote:


On Fri, Feb 07, 2003 at 06:24:19PM +0200, robin wrote:

 

Wow - I finally managed to compile 1.3.0 with the Qt frontend and it is 
a joy to use.  Congratulations to all the developers.

As an added bonus, I finally get to use Turkish characters, and I don't 
   


The Qt frontend behaves very differently in this respect.

 

All hail to the GUI-independence team!  Even without the Turkish charset 
problem, I was itching to get away from x-forms (though I hear the 
version with xforms 1.0 is a bit more workable).  The new dialogue boxes 
are very pretty too, and much more functional.  Great job, guys.

Robin

--
"A Perl script is "correct" if it gets the job done before your boss fires you."
- Larry Wall

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin





Re: Announce: LyX 1.3.0 released.

2003-02-07 Thread robin
Wow - I finally managed to compile 1.3.0 with the Qt frontend and it is 
a joy to use.  Congratulations to all the developers.

As an added bonus, I finally get to use Turkish characters, and I don't 
have to change my keyboard layout to do so.  I don't know if this is a 
fix between the last prelease and the stable release, or if it's a 
result of compiling it on my own machine.

Robin

--
"A Perl script is "correct" if it gets the job done before your boss fires you."
- Larry Wall

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin





Re: Installing lyx 1.3.0pre3

2003-02-04 Thread robin
Raphael Clifford wrote:


On Mon, 2003-02-03 at 22:35, Angus Leeming wrote:
 

Antonio Sousa wrote:

   

One more question. I supposed that with this new version will be different
in it's graphical aspect. But everything seems the same.
Where am I wrong?
 

LyX now comes with a choice of frontends:
* the one you are used to which uses the xforms library.
* a new one which uses the Qt library.

If you want the Qt one, then you have to build it from the .tar.gz sources. 
AFAIK, nobody has created an rpm yet.

HTH,
--
Angus


   


Just FYI mandrake started removing all headers etc. from it's standard packages and putting them in -devel.  It's very annoying ...
Raphael

 

Yep, it took me a while to find all the necessary Qt stuff.  Now I get 
past all that when I run configure, but it fails, saying it couldn't 
find the XFree86 headers.  I have XFree86-devel installed - what gives?

Robin


--
"A Perl script is "correct" if it gets the job done before your boss fires you."
- Larry Wall

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin





Re: 1.3.0pre3 keymap problems

2003-02-02 Thread robin
Angus Leeming wrote:


John Levon wrote:

 

On Sat, Feb 01, 2003 at 06:19:07PM +0200, robin wrote:

   

I've just installed 1.3.0pre3 from the i386 RPM.  It still has the
Turkish keymap bug from 1.2.* (bug #413, IIRC).  To get Turkish (Latin 5
/ iso-8859-9) characters to work at all,  I need to change my normal
keyboard layout from Turkish to US and use the Turkish keymap. Even so,
the uppercase dotted I comes out as a quotation mark (as in 1.2.2).
 

xforms ?


Could be.  I tried to compile with Qt, but ran into problems I mentioned 
earlier (it's probably a problem with my RPM database - I'm getting that 
"everything already installed" message when everything is obviously not 
installed, or at least not installed properly).

I believe John Levon's patch fixes this, so downloadable binaries
should probably include it


I don't have any such patch.

john
   


Reading the bug, credit is due to JMarc/Mike Fabian. And it would appear 
(reading the bug) that Robin hasn't actually been able to test it properly, 
for one reason or another. 

Various reasons - I can't compile CVS programs at home because my tiny 
hard drive fills up.  Until recently my Linux box at work was so slow 
that compiling anything of any size would slow it to a crawl, which 
didn't please people who were waiting for print jobs.  Now I have an 
upgraded box I'm working on it, but it'll take some time.

So he can hardly be overly upset that an 
untested patch hasn't made it into cvs ;-)

 

I wasn't upset, just felt I should point it out - the bug was marked as 
fixed, if I remember rightly.

Robin

--
"A Perl script is "correct" if it gets the job done before your boss fires you."
- Larry Wall

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin





1.3.0pre3 keymap problems

2003-02-01 Thread robin
I've just installed 1.3.0pre3 from the i386 RPM.  It still has the 
Turkish keymap bug from 1.2.* (bug #413, IIRC).  To get Turkish (Latin 5 
/ iso-8859-9) characters to work at all,  I need to change my normal 
keyboard layout from Turkish to US and use the Turkish keymap. Even so, 
the uppercase dotted I comes out as a quotation mark (as in 1.2.2). This 
is because for some weirtd reason it's not encoded as an uppercase "i". 
I believe John Levon's patch fixes this, so downloadable binaries 
should probably include it.

Robin

--
"A Perl script is "correct" if it gets the job done before your boss fires you."
- Larry Wall

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin





Re: help please. What i have written seems lost!

2003-01-22 Thread robin
Herbert Voss wrote:

Carlo F. schrieb:


I am using LyX 1.1.6fix4 on Gnu?Linux Debian. I have just finished in
writing an about twenty pages document with inside about twenty ".eps"
pictures. I have tried to see it by C-T and C-D. I have have the
following message (more or less) "file/document empty" with only a part
of the first page displyed. After  several tries, I have rebooted the
machine and restarted LyX. Now the document appear with very very small
characters and the C-T shows only a portion of the first page but now
lists three pages as available on the left. C-D the same.



I suppose that there is a problem in the preamble
or in some ERT stuff in the doc with a missing
closing curly brace }

Have a look at it.

Herbert



If that doesn't turn up anything, exporting to LaTeX and running latex 
on it might be more revealing.

Robin

--
"Difficulty is a coin which the learned conjure
with so as not to reveal the vanity of their studies."
- Montaigne

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: Want to subscribe to lyx mailing list

2003-01-22 Thread robin
[EMAIL PROTECTED] wrote:

Hello,

I Want to subscribe to lyx mailing list.
Thanks.



Send an empty mail to [EMAIL PROTECTED]

Robin

--
"Difficulty is a coin which the learned conjure
with so as not to reveal the vanity of their studies."
- Montaigne

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin





Re: special fonts

2003-01-19 Thread robin
Rudolf Henze wrote:

Hi,

Iam using Lyx 1.1.6fix4 with SuSE 8.0 and the class book(coma-script).
The text Iam writing on, has a lot of pathnames in it.
Example:
"the configuration file is in /data/config.txt"
For better reading I want that /data/config.txt is formatted
with a non-proportional font like courier.
tia
 R. Henze


Why not just use Layout->Character->Family->Typewriter ?

Robin

--
"Difficulty is a coin which the learned conjure
with so as not to reveal the vanity of their studies."
- Montaigne

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin





Compiling lyx 3.0 - missing binary?

2003-01-17 Thread robin
I ran ./configure --with-frontend=qt (after the autogen stuff) on LyX 
3.0 (CVS) and got the following error message:

configure: error: moc binary not found in $PATH or /bin !

What is moc?

Robin

--
"A Perl script is "correct" if it gets the job done before your boss 
fires you."
 - Larry Wall

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: Sobig worm

2003-01-14 Thread robin
John Levon wrote:

On Tue, Jan 14, 2003 at 04:20:49PM +0100, Juergen Spitzmueller wrote:



Recently several mails from "[EMAIL PROTECTED]" with attachments reached the list. 
This is the well known worm "Sobig":
http://vil.nai.com/vil/content/v_99950.htm


or even better, ban any mails with .pif attachments


Indeed, any attachments other than .lyx or .tex.  We had a discussion 
about banning all attachments some time back, but we need people to be 
able to post example files, and I'm pretty sure these particular types 
are not used by viruses or spammers!

Robin


--
"A Perl script is "correct" if it gets the job done before your boss 
fires you."
 - Larry Wall

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: Prerelease #2 of LyX 1.3.0

2003-01-14 Thread robin
Lars Gullik Bjønnes wrote:

I have just uploaded the tarball and the rpms to ftp.devel.lyx.org.

A lot of small fixes has been applied since (the unannounced) first
prerelease.

Even if I am not aware of any serious problems with pre2, you should
be careful to backup your documents before trying this one out.

The rpms are created against the xforms rpms that can be found in the
same dir as the prerelease.

Reports on installation and running this will be greately appreciated.
Be it failure or success reports...



It seems to work fine on Mandrake 9.0 with xforms-1.0-0.  The Turkish 
character bug (#413) is still there, as in 1.2.2 - did you compile with 
John Levon's patch?

Robin


--
"A Perl script is "correct" if it gets the job done before your boss 
fires you."
 - Larry Wall

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: 1.2.2 rpms?

2003-01-02 Thread Robin Turner
Myriam Abramson wrote:

Where can I find rpms for the new version? 

I saw some Mandrake rpms on rpmfind.net a while back - there may be 
versions for other architectures as well.  Last time I looked the LyX 
ftp site only had solaris rpms, but there may be others there by now.

Robin


--
"Do unto others what you would like others to do unto you. And have fun 
doing it."
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



Re: can lyx print with CUPS?

2002-12-30 Thread Robin Turner
Peter Christensen wrote:

from Matej Cepl:


Let's try some testing:

1) open some webpage in Konqueror and print it out,
2) export some document from LyX to Postscript and then try in
  xterm 'kprinter nameoffile.ps'

If these tests fail, you have something wrong with CUPS. Make it
work and then return.



I can print a webpage in Konqueror, but am unable or unsure how to export 
from Lyx to Postscript.  When I click on file (after creating a test 
document), then export, the following options are available:  ASCII, DVI, 
Latex, and PDF.  

I wonder if my installation is incomplete.  To install I did an "apt-get 
install Lyx" (in Debian/Linux).  I assumed that this would install everything 
that I needed to use Lyx.  But according to the tutorial I should be able to 
click on view->DVI (after creating a test file), and a new window should pop 
up.  Nothing happens.

The tutorial says I need a dvi viewer (e.g. xdvi) and a postscript converter 
(e.g. dvips).  Perhaps they have to be installed separately?  I searched the 
Debian packages and could not find xdvi or dvips.  


Do you have gv (Ghostscript) installed?

Robin


--
"Do unto others what you would like others to do unto you. And have fun 
doing it."
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



Re: Beginer Questions (fwd)

2002-12-30 Thread robin
Richard Lott wrote:

I'm new to this list and new to lyx.  I just got started and went through the 
tutorial and part of the user guide.  I'm looking forward to getting to know Lyx 
better.

Right now, I am trying to force first line indentation for first paragraphs and 
also to learn more about changing fonts.  Probably further reading of the 
documentation will help with the fonts.  

Without going into LaTeX (also known as ERT - Evil Red Texts) you're 
very limited in what you can do with fonts.  You set the font family for 
the whole from Layout->Document; within a document all you can do is 
change the face (roman, sans serif, typewriter) size etc.

If you want to experiment with LaTeX font commands, have a look at 
www.bilkent.edu.tr/~robin - there's a downloadable LyX file about fonts 
on that page.

Robin


--
"Chen Shuo, the time has come for action! My daughter
Zia has been stolen by the evil Wolf Jaw school, and
they mean to practice their spiritually incorrect and deadly
martial arts style on her." - Tad Williams

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: Font change

2002-12-23 Thread Robin Turner
[EMAIL PROTECTED] wrote:

Dear All,

I know that must has been asked a zillion times before but...

I just install ArialNarrow on my Linux box and X apps sees this fonts.
Now I want to use the font in Lyx, How do I tell Lyx that he/she has to output 
all text, or parts of this text in ArialNarrow?


Pointer to some doc will do...

I wrote some documentation on fonts in LyX. It's at

http://www.bilkent.edu.tr/~robin/

Robin

--
"Do unto others what you would like others to do unto you. And have fun 
doing it."
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



Re: How to write layout files?

2002-12-22 Thread Robin Turner
Ananda Murthy R S wrote:

Hello:

Can any body tell me where we can get information regarding writing
layout files for LyX 1.2.2?



Help -> Customization.  The relevant section is 6.2.

Robin


--
"Do unto others what you would like others to do unto you. And have fun 
doing it."
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



Re: 1.2.2 RPM, anyone?

2002-12-22 Thread Robin Turner
Ananda Murthy R S wrote:



Nalan Turner wrote:


I've spent the best part of today trying unsuccessfully to compile 
1.2.2, and now 1.2.1 won't reinstall either.  If anyone has an 
i386/i586 RPM, could they point me to it?

Thanks,

Robin


Search in www.rpmfind.net

Anand


That was my first response.  It wasn't there yesterday, but it's just 
arrived today.  Works fine on Mandrake 8.2, though unfortunately bug 413 
(Turkish characters not coming out correctly) seems to be there still 
(I've posted this on bugzilla).

If anyone's interested the output of a Turkish Q keyboard is at
www.bilkent.edu.tr/~robin/turkish_keyboard.lyx
www.bilkent.edu.tr/~robin/turkish_keyboard.dvi

Robin




--
"Do unto others what you would like others to do unto you. And have fun 
doing it."
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



Re: problem accessing ftp.lyx.org

2002-12-20 Thread Robin Turner
Matej Cepl wrote:

Nalan Turner wrote:


I'm trying to download the i386 rpm of lyx 1.2.2 from 
ftp.lyx.org/incoming that was recently uploaded there, but am getting 
"permission denied" messages, even though the file has -rw-r--r-- 
permissions.  What gives?


Usually one cannot read from incoming directories (just write to
them) so as the site is not tool for distributing viruses, trojan
horse, badly debugged programs, etc.

Matej


So assuming that this RPM works, can it be transferred to /pub ?

Robin

--
"Do unto others what you would like others to do unto you. And have fun 
doing it."
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



Bouncing message

2002-12-13 Thread robin
I received this today


--- Enclosed is a copy of the bounce message I received.

Return-Path: <>
Received: (qmail 31573 invoked for bounce); 1 Dec 2002 16:05:18 -
Date: 1 Dec 2002 16:05:18 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at wierdlmpc.msci.memphis.edu.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[EMAIL PROTECTED]>:
139.179.10.13 failed after I sent the message.
Remote host said: 550 Error: Message content rejected



Hmm - I'm used to getting bounce warnings because some account couldn't 
be reached, but "message content rejected"?  That's puzzling, 
considering the message in question was a query about piping wget 
through lyx.  Spam filters set too high, or what?

Robin

--
"You almost never hear that word "computer" anymore, do you?
They're part of everything now. They used to be boxes with
keyboards, you know." - Tad Williams

Robin Turner
IDMYO
Bilkent Üniversitesi
Ankara
Turkey

http://www.bilkent.edu.tr/~robin



Re: Including external files

2002-12-11 Thread Robin Turner
Jean-Marc Lasgouttes wrote:

"Peter" == Peter Hutnick <[EMAIL PROTECTED]> writes:




Peter> I'd like to be able to "include" (like in the C preprocessor
Peter> sense) some external flat text files in my LyX document.

Peter> I have the following requirements:

Peter> 1. Whitespace must be preserved. 2. The file must be read
Peter> "live" when the .lyx is built into another type of file (i.e.
Peter> PDF) 3. The font should be different (i.e. roman for normal
Peter> text, currier for the "included" text). 

Insert>Include file>verbatim shold fulfill these requirements.

Peter> 4. Bonus: extra-double-good if it can read the file from a URL
Peter> (probably FTP since whitespace gets weird with HTML).

This is more difficult.

Is there some way to pipe from wget into a lyx include command?  That 
would be amzingly cool.

Robin


--
"Do unto others what you would like others to do unto you. And have fun 
doing it."
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



Re: Linespacing in list environments so huge

2002-12-04 Thread Robin Turner
Michael Jaeger wrote:

Hi list,

for my thesis I need a linespacing-factor of 1.3 which I get in LyX through

Layout->Document->Linespacing

Everything looks fine but unfortunately the linespacing between list-items 
ist quite huge.  Does anybody know how to change the linespacing just for 
every list-environment (or at least the enumeration and itemize environments)?

Everything you need to know about lists:

http://www.educat.hu-berlin.de/~voss/lyx/list/list.phtml

Robin


--
"Do unto others what you would like others to do unto you. And have fun 
doing it."
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



Re: OT: psbooklet

2002-12-03 Thread Robin Turner
Thanks to all who contributed to this thread.  Today my colleagues were 
oohing and aahing over our pretty little exam booklet!

Robin

--
"Do unto others what you would like others to do unto you. And have fun 
doing it."
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



Re: table question

2002-11-30 Thread Robin Turner
Myriam Abramson wrote:

Hi!

I have 2 lines text to insert in a table cell. It seems that it only
accepts 1 line. Is the only way to have 2 lines to make another row
without the top/bottom border set? 

If you make the column fixed width, you can insert extra lines using 
Ctl-Enter.  It's a pain, I know, but I think it's a LaTeX thing rather 
than a LyX thing.

Robin


--
"Do unto others what you would like others to do unto you. And have fun 
doing it."
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



Re: OT: psbooklet

2002-11-30 Thread Robin Turner
Matej Cepl wrote:

robin wrote:


Many system upgrades ago, I had a neat little script called psbooklet 
which would take a PostScript file and turn it into an A4 booklet (sort 
of a combination of pstops and psbook).  Now I can't find it anywhere on 
the net.  Does anyone know a download location for this script, or any 
equivalent program (I tried psheft, but couldn't get it to compile).


What is wrong with this?

	#!/bin/sh
	TMPF1=`mktemp /tmp/psbooklet1XX`
	TMPF2=`mktemp /tmp/psbooklet2XX`
	psbook $1 $TMPF1
	psnup -2 $TMPF1 $TMPF2
	[ $? == 0 ] && { mv $TMPF2 $1 ; rm $TMPF1 }

Matej


Got this message:

*] [1] [*] [*] Wrote 4 pages, 26691 bytes
[1] [2] Wrote 2 pages, 29669 bytes
/home/nalan/Documents/psbooklet: line 7: syntax error: unexpected end of 
file

Running the commands manually is fine for psbook, but psnup for some 
reason won't put two virtual pages on one physical page.

Robin


--
"Do unto others what you would like others to do unto you. And have fun 
doing it."
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



OT: psbooklet

2002-11-30 Thread robin
Many system upgrades ago, I had a neat little script called psbooklet 
which would take a PostScript file and turn it into an A4 booklet (sort 
of a combination of pstops and psbook).  Now I can't find it anywhere on 
the net.  Does anyone know a download location for this script, or any 
equivalent program (I tried psheft, but couldn't get it to compile).

Thanks,

Robin

--
"You almost never hear that word "computer" anymore, do you?
They're part of everything now. They used to be boxes with
keyboards, you know." - Tad Williams

Robin Turner
IDMYO
Bilkent Üniversitesi
Ankara
Turkey

http://www.bilkent.edu.tr/~robin



Re: native Windows LyX?

2002-11-28 Thread robin
Jacek Pop³awski wrote:

On Wed, Nov 27, 2002 at 04:42:57PM -0500, Matej Cepl wrote:


AFAIK you can use QT for Windows in GPL projects (LyX _is_ GPL, right?), so
maybe QT port will run without problems?


Isn't Qt for Windows commercial (or not free in terms of beer)?



AFAIK there are two versions, one is GPL (but no LGPL!), so you can use it with
GPL applications. 

That's not a problem anyway - a GPLed program can utilise external 
proprietary programs (xforms wasn't GPLed until very recently).

Robin

--
"You almost never hear that word "computer" anymore, do you?
They're part of everything now. They used to be boxes with
keyboards, you know." - Tad Williams

Robin Turner
IDMYO
Bilkent Üniversitesi
Ankara
Turkey

http://www.bilkent.edu.tr/~robin



Re: MS Word and Lyx

2002-11-27 Thread Robin Turner
Tuukka Toivonen wrote:

On Wed, 27 Nov 2002 [EMAIL PROTECTED] wrote:



How can I convert Documents from MS-Word to Lyx-format?



http://www.educat.hu-berlin.de/~voss/lyx/converter.phtml

MS-Word->TeX
 Word2TeX 32-bit 1.0 Intelligent 32-bit External converter for Microsoft
Word 7.0 (or later) to TeX ... :-))


wv works OK for most Word documents, but can choke on some MS encodings. 
 It also, IMHO, tries to be too faithful to the physical format of a 
Word doc (which is usually ugly anyway).  One rather roundabout solution 
with awkward Word documents is to load them into Star Office / 
OpenOffice and tidy them up (converting them to OpenOffice's native 
format then converting back to Word might get rid of some glitches).

Btw, does anybody happen to know a program for converting HTML to
LyX/TeX/LaTeX? Can't find from the Herbert's page.


There's a Perl script called html2latex which works reasonably well. 
You may have to hack it to get it to find your Perl installation, though.

Robin


--
"Do unto others what you would like others to do unto you. And have fun 
doing it."
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



Re: lyc-code and latex2html

2002-11-26 Thread Robin Turner
Manfred Wischin wrote:

Hi!

How do I make latex2html output lyx-code sections correctly (single
linespace and typewriter font)?

I spent the last nine hours searching the web, the mailingslist archives,
google groups, etc, and tried anything i could think of, but no avail!
Maybe i missed something because it seems to me that this problem should be
common to everybody writing some technical documentation with lyx.

Has anybody got this working?



I did it with CSS.  latex2html generates a style sheet, so you can just 
alter the settings for whatever CSS paragraph type your code is rendered 
in. Inserting
font-family: Courier; typewriter;
should do the trick.

Robin


--
"Do unto others what you would like others to do unto you. And have fun 
doing it."
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



Re: lyx pdf and ps viewing

2002-11-20 Thread Robin Turner
Jonathan Murray wrote:

I am using lyx version 1.2.1 on linux 2.4.9-31
When I am root, I can use the drop down menus to view .lyx documents as 
pdf and .ps formats. If I am any other user, including myself, I get an 
error that says " An error has occured, you should fix it "

I love those helpful error messages!


What do I need to set so all users can view their .lyx documents as .pdf 
or .ps?

Do you have the same problem with exporting?  Is it just with PS/PDF, or 
do you also get an error when exporting as LaTeX?  In the former case 
I'd suggest checking permissions on ghostscript, in the latter, ditto 
for latex.

Just a guess ...

Robin


--
"Do unto others what you would like others to do unto you. And have fun 
doing it."
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



Re: Separation above bibliography in article.cls

2002-11-20 Thread Robin Turner
Rochat E wrote:

Dear all
I am using the article.cls (RevTex4) to write a publication for a conference. 
Since I must restrain myself to 1 page A4, I have to get rid of all skips and 
so on.
In particular, the bottom of the document looks like this:

text text text
text text text
empty line
--
empty line
[1] reference 1
[2] reference 2...

and I would like something without the empty lines and the separation, so that 
I have

text text text
text text text
[1] reference 1
[2] reference 2...

Could anybody help me please?
Thank you very much
Regards
Etienne

Check out
http://www.educat.hu-berlin.de/~voss/lyx/list/list.phtml

Robin

--
"Do unto others what you would like others to do unto you. And have fun 
doing it."
- Linus Torvalds

Robin Turner
IDMYO,
Bilkent University
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



  1   2   3   4   >