Re: Convert framemaker to docbook-lyx -- safest path?

2006-02-08 Thread Georg Baum
John Pye wrote:

 Can anyone offer any comments on what would be the 'safest path' for
 converting Framemaker files into Docbook Lyx files?

You know http://www.cs.brandeis.edu/~pablo/mif2lyx/ ? It is somewhat
limited, but it might be possible to extend it.

Is a (nearly) lossless conversion from framemaker to latex possible? Then
you could use tex2lyx (see http://wiki.lyx.org/LaTeX/LatexToLyx) to produce
the LyX files. If tex2lyx fails to convert something then it is probably
easy to fix. The big advantage of this method is that you don't have to
worry about the LyX format.

Another possibility would be to read the MIF or XML files with a python
script and use $LYXDIR/lib/lyx2lyx/LyX.py to create the LyX document.
LyX.py has no support for tables yet, so you'll have to write that, but
this would need to happen sometimes anyway.

 Would I have more luck trying this with new new 1.4 version?

Maybe, since you might use one of the new features of 1.4, e.g. character
styles or extended boxes. Apart from  that, both LyX.py and tex2lyx produce
1.4 files. They can be converted by lyx2lyx to 1.3 format. This conversion
is lossless if no new 1.4 features are used.


Georg



Re: multicolumn and texlive

2006-02-08 Thread Wolfgang Engelmann
Still problems with multicol
the  info at
http://www.ctan.org/tex-archive/help/Catalogue/entries/multicol.html
does not say enough.

to repeat my situation:
I have a twocolumn koma-book document
I have selected twocolumn in documentpage
I have added in the preample
\usepackage{multicol}
in order to avoid an empty page which is inserted 
with the twocolumn selection
(as recommended on this list, thanks again)

x  xxx
x  xxx
x  xxx
x  xxx
here should come a onecolumn-part
\begin{multicols}
x
x
\end{multicols}
and here twocolumn again
x  xxx
x  xxx
x  xxx
x  xxx

LaTeX Error: \begin{document} ended by \end{multicols}.
 \end{multicols}   
Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.

If I use \begin{multicols}{1}
I get no error, but the onecolumn part is put in the 
right column of my basic setting twocolumn in documentpage 

According to Herbert, multicol is a separate prg and has nothing to do 
with the twocolumn setting.

Where is my mental blackout?

Wolfgang


Re: multicolumn and texlive

2006-02-08 Thread Herbert Voss



Wolfgang Engelmann wrote:

Still problems with multicol
the  info at
http://www.ctan.org/tex-archive/help/Catalogue/entries/multicol.html
does not say enough.

to repeat my situation:
I have a twocolumn koma-book document
I have selected twocolumn in documentpage


makes no sense together with package multicol. Disable it


I have added in the preample
\usepackage{multicol}
in order to avoid an empty page which is inserted 
with the twocolumn selection

(as recommended on this list, thanks again)


\begin{multicols}{2}


x  xxx
x  xxx
x  xxx
x  xxx


\end{multicols}



here should come a onecolumn-part
x
x




and here twocolumn again


\begin{multicols}{2}


x  xxx
x  xxx
x  xxx
x  xxx


\end{multicols}


Herbert




Re: multicolumn and texlive

2006-02-08 Thread Wolfgang Engelmann
Am Mittwoch, 8. Februar 2006 10:14 schrieb Herbert Voss:


 makes no sense together with package multicol. Disable it

thanks, Herbert.

So I am adding \begin{multicols}{2}
at the begin of the document (at the very begin or after the title?)
and 
 \end{multicols}
 \begin{multicols}{1}
here onecolumn text
 \end{multicols}

 \begin{multicols}{2}
here twocolumn text
\end{multicols}
at the end of the document


is this correct?

Wolfgang


Re: multicolumn and texlive

2006-02-08 Thread Herbert Voss

Wolfgang Engelmann wrote:

Am Mittwoch, 8. Februar 2006 10:14 schrieb Herbert Voss:



makes no sense together with package multicol. Disable it



thanks, Herbert.

So I am adding \begin{multicols}{2}
at the begin of the document (at the very begin or after the title?)


The title should be in onecolumn mode, insert it
after your title/author/date lines.

and 
 \end{multicols}

 \begin{multicols}{1}


Wolfgang, look at my mail. There was nothing about such a
statement. Onecolumn is the default, therefore you should
disable the twocolumn option in the document layout.


here onecolumn text
 \end{multicols}

 \begin{multicols}{2}
here twocolumn text
\end{multicols}
at the end of the document


is this correct?


yes, except the above


Herbert




Re: Editors for LaTeX-files with syntax highlighting

2006-02-08 Thread Eric S Fraga
On Fri, Feb 03, 2006 at 09:51:26AM -0500, Dimitrios Diamantaras wrote:
 [...] In fact I am liking the 
 Emacs-AUCTeX-preview-latex combination so much that I have been working
 on it exclusively lately, even though about a year ago I thought I would 
 never need anything but Lyx (I am a LaTeX user for many years, though, 
 and know quite a few of the commands I need---Lyx is perfect for those 
 who don't).

Thanks for saying this. I had been feeling, in a funny kind of way, guilty
because I've also been using Emacs et al. almost exclusively for a while now
despite being a long time LyX user (but a longer time LaTeX user, I must
admit).  What's done it for me, at the moment, is reftex which provides an
easier interface to references for somebody like me that does not like using
the mouse.

But I still think LyX is absolutely fantastic and it's my first port-of-call
when I can't remember how to do something in LaTeX!!

cheers,
eric

-- 
 Eric S. Fraga, Department of Chemical Engineering, UCL, London
***.*..**.*.*...***.***.*...*...***.*...


Re: multicolumn and texlive

2006-02-08 Thread Karsten Heymann

Wolfgang Engelmann schrieb:
 So I am adding
 \begin{multicols}{2}
 at the begin of the document

yes

 (at the very begin or after the title?)

Try both and decide yourself :)

 and \end{multicols}


 \begin{multicols}{1} here onecolumn text \end{multicols}

You can leave that one out, onecoumn is the default outside a multicols
environment.

 \begin{multicols}{2} here twocolumn text \end{multicols} at the end
 of the document

Yes.

Yours,
Karsten


Re: Creating a .layout file with two command arguments

2006-02-08 Thread Mael Hilléreau

Jeremy Daily a écrit :

Mael,

Thanks for the suggestion. The logic made sense, but your suggestion did 
not work. LyX generated an extra line between the commands in the tex file.




This is now possible by using character styles (available in LyX 
1.4.0pre3). The following layout sample won't produce any extra line 
between the two commands:


CharStyle Author
  MarginStatic
  LatexType Command
  InTitle   1
  LatexName AddAuthor
End

CharStyle Affiliation
  MarginStatic
  LatexType Command
  InTitle   1
  LatexName donothing
  Preamble
\newcommand{\donothing}[1]{#1}
  EndPreamble
End

Note: I don't know if InTitle works with character styles -- you'll 
have to test it...


In order to use these character styles, make a new paragraph (Standard), 
go to InsertCharacter styleAuthor, type in the author name, put the 
cursor at the right of the author name (out of the Author character 
style) and then go to InsertCharacter styleAffiliation, and type in 
the author's affiliation. You'll then have the following displayed into 
LyX window:


 Mael IFTS
|___||_|
 AuthorAffiliation

Compile your document. That's it! LyX then actually generates the right 
LaTeX code: \AddAuthor{Mael}\donothing{IFTS}


This workaround can be used to manage LaTeX macros with any number of 
arguments. It also has the advantage of allowing the user to combine 
commands with environments, which may be useful for example in order to 
manage packages such as acronym.sty.


Regards,
Mael.

--
Mael Hilléreau



Re: Unexpected problem for a document with a lot of pages

2006-02-08 Thread Roy Schestowitz

_/ On Mon 06 Feb 2006 19:20:58 GMT, [Horacio] wrote : \__


Hello all,

I use LyX 1.3.5 in suse 9.0. I'm writing a scientific document that 
will have around 200 pages or more, with a lot of equations, figures 
and tables.


One month ago there was no problem for my to work with the document, 
although it took some minutes to render the document to PDF (using 
option View --- PDF). So after I considered the possibility to work 
with different files for every new section of the document because in 
this way it would be faster the individual compilation. I added the 
new lyx files into the big document using the option 
Insert---File, and selecting after External or Include, 
indifferently. Using this method each new section was written very 
fast, because I could compile only these part and see the changes. 
After I had included 4 new sections (4 new files) I tried to compile 
the whole document with no problem, but it took a lot of time, more 
than an hour. Anyway I continued working, but my problem now is that 
I have 10 new section and the compilation of the document is not 
feasible. Last weekend I left my computer compiling during 2 days and 
today it was already working in it !!


I've tried with View---DVI, but it takes also a lot of time. I've 
searched for info in the lyx mail list, but nothing related with my 
case.


Later I've done a test; I've removed all the includes, so the 
document doesn't has to load the external lyx files, and in this 
case the compilation was OK and it took some minutes. In other test 
I've created a new empty lyx document and I've added the 10 sections 
with the Insert---File option, and in this case the document was 
compiled on one minute !!!


So now I'm blocked and I don't know what to do. Maybe there is a bug 
with lyx or I think that as I use a lot of different figure formats 
(jpg,bmp and eps) the program can't handle this, but I don't think 
so; lyx is announced capable of working with very big documents. I've 
also observed that telling lyx not to use the temp directory, 
sometimes the compilation is faster, am I right ? Using a temporary 
directory makes the compilation of a document slower ?


Could somebody help me ?


Thanks in advance.



Hi,

I  once used LyX to compile a 200-page report, which contained many  (~40)
detailed  figures in encapsulated PostScript format. The whole beast  took
about  1-2 minutes to compile and view as PDF. What hardware are you  run-
ning this on? At later stages, I considered running LyX remotely (via SSH)
on idle computational servers and I now do so exclusively.

Is  the  separation into multiple files (a notoriety attributed  to  bloat
like  page-preview-on-the-fly  WYSIWYG) not conflicting with  TOC's?  What
about  the need to search the entire document (all chapters at once)? I am
not  criticising  your choice, but I think you might  be  overcomplicating
matters for yourself.

If the primary issue is LyX grinding to a halt (getting locked) throughout
compilation, consider workarounds like multiple sessions of LyX or editing
the commands to enable pipelining ('' in *nix).

To  digress,  let us think of some workaround. Choose not to generate  and
revierw  every small change as you go along because it is  time-consuming.
Iterate  entire  pages  instead. If it helps, open a small  new  document,
write  the  necessary bits in isolation and view as DVI. When happy,  copy
and paste to large document.

Hope it helps,

Roy

--
Roy S. Schestowitz
http://Schestowitz.com  |SuSE Linux | PGP-Key: 0x74572E8E
10:20am  up 22 days  5:36,  12 users,  load average: 0.30, 0.35, 0.35



Re: multicolumn and texlive

2006-02-08 Thread Wolfgang Engelmann
Am Mittwoch, 8. Februar 2006 11:05 schrieb Herbert Voss:
 Wolfgang Engelmann wrote:
  Am Mittwoch, 8. Februar 2006 10:14 schrieb Herbert Voss:
 makes no sense together with package multicol. Disable it
 
  thanks, Herbert.
 
  So I am adding \begin{multicols}{2}
  at the begin of the document (at the very begin or after the title?)

 The title should be in onecolumn mode, insert it
 after your title/author/date lines.

  and
   \end{multicols}
   \begin{multicols}{1}

 Wolfgang, look at my mail. There was nothing about such a
 statement. Onecolumn is the default, therefore you should
 disable the twocolumn option in the document layout.

As usual, you are right. It was from Karsten:
okay, then don't load multicol and do what I wrote above. \onecolumn and 
\twocolumn are standard latex commands and have nothing to do with the 
multicol package.

Yours,
Karsten

and in addition I missunderstood it.

Now I have grasped it, I hope.
Thanks for the help and your patience with me

Wolfgang


Re: Convert framemaker to docbook-lyx -- safest path?

2006-02-08 Thread John Pye

Hi Georg,

Georg Baum wrote:


John Pye wrote:

 


Can anyone offer any comments on what would be the 'safest path' for
converting Framemaker files into Docbook Lyx files?
   



You know http://www.cs.brandeis.edu/~pablo/mif2lyx/ ? It is somewhat
limited, but it might be possible to extend it.
 

The perl module cited as prereq doesn't exist on CPAN. Not that I could 
find with search.



Is a (nearly) lossless conversion from framemaker to latex possible? Then
you could use tex2lyx (see http://wiki.lyx.org/LaTeX/LatexToLyx) to produce
the LyX files. If tex2lyx fails to convert something then it is probably
easy to fix. The big advantage of this method is that you don't have to
worry about the LyX format.
 

Nope. Converting from frame to latex is a flakey process. No point going 
via latex here.



Another possibility would be to read the MIF or XML files with a python
script and use $LYXDIR/lib/lyx2lyx/LyX.py to create the LyX document.
LyX.py has no support for tables yet, so you'll have to write that, but
this would need to happen sometimes anyway.
 

That might be interesting. Is there no XML-based Lyx file format yet? 
What does lyx2lyx do, I can't see any documentation on the net.


Come to that, is there a lyx file format reference somewhere?

My best best really does seem to be to write an XSLT to convert from 
either mif2xml output (or the direct Framemaker XML-export output) to a 
*structured file format* that Lyx can read reliably. I tried to write 
out XML directly but it seemed really hard to resolve the whitespace 
problems.


You can see my efforts at
https://pse.cheme.cmu.edu/svn-view/ascend/documentation/trunk/xml/fm2lyx.xsl?rev=310view=markup
also, see my somewhat more successful
https://pse.cheme.cmu.edu/svn-view/ascend/documentation/trunk/xml/fm2html.xsl?rev=310view=markup

Cheers
JP


Re: Convert framemaker to docbook-lyx -- safest path?

2006-02-08 Thread Georg Baum
John Pye wrote:

 The perl module cited as prereq doesn't exist on CPAN. Not that I could
 find with search.

from the first google hit for perlmif:
http://www.cpan.org/modules/by-authors/id/EHOOD/

 Nope. Converting from frame to latex is a flakey process. No point going
 via latex here.

You will need that at least for the formulas, since LyX stores formulas in
LaTeX syntax.

 That might be interesting. Is there no XML-based Lyx file format yet?

This is planned, and Lars Gullik Bjønnes did some experiments with it, but
nothing more.

 What does lyx2lyx do, I can't see any documentation on the net.

It translates old .lyx files to the current format. The other way round does
also work, but only for 1.4 - 1.3 conversions. The LyX class I already
mentioned has also limited capabilities for creating .lyx files from
scratch.

 Come to that, is there a lyx file format reference somewhere?

AFAIK only in the sources :-(

 My best best really does seem to be to write an XSLT to convert from
 either mif2xml output (or the direct Framemaker XML-export output) to a
 *structured file format* that Lyx can read reliably. I tried to write
 out XML directly but it seemed really hard to resolve the whitespace
 problems.

It might also be possible to use LyX itself to write the file and do the
conversion via commands sent to the lyxpipe. See
http://wiki.lyx.org/Tools/PyClient


Georg



Macdvix does not work properly

2006-02-08 Thread jerome666
Hello

I have installed Lyx and Macdvix on MacOS X Tiger. I would like to
use the reverse dvi function from Macdvix to Lyx.

To do that, I have include the line \usepackage[active]{srcltx} in the
preamble of my lyx document. It does not enable the reverse dvi.

I have aldso tried to modify the script of the calleditor as mentioned here
: http://wiki.lyx.org/LyX/LyXOnMac?from=LyX.Mac (search for reverse dvi to
see the related sentences). It failed.

Could someone help me to configure lyx or macdvix to enable the reverse dvi
function ?

jerome




Re: Convert framemaker to docbook-lyx -- safest path?

2006-02-08 Thread Patrick De Visschere


On Feb 8, 2006, at 02:28, John Pye wrote:


Hi all,

Can anyone offer any comments on what would be the 'safest path'  
for converting Framemaker files into Docbook Lyx files?




I can only give my own experience and don't know wether that's the  
safest path but it did work for me.
I converted a paper from framemaker to lyx which did not require much  
tweaking afterwards.


The paper contained equations, figures and references but  
(unfortunately) no tables, therefore I cannot comment on that  
specific problem.


Once I wrote a XSLT stylesheet to transform a mif-file into an xml- 
file; I think this is a safe route since the mif-file contains  
everything.
But since framemaker became framemaker+sgml I use the xml-export  
feature of framemaker. My only problem here are the equations which  
are by default exported as pictures (not acceptable to me). The only  
solution was to write a plug-in for framemaker which exports the  
mathfullform-expression instead of the picture.


I then convert the resulting xml-file in a 2-step process:
1) with a first stylesheet the mathfullform expressions are converted  
to mathml;
2) with a 2nd stylesheet  the resulting xml-file (with mathml- 
equations) is converted to tex using the xsltml package (http:// 
xsltml.sourceforge.net/) to convert the mathml equations.


Regards

Patrick De Visschere


...
Any suggestions?

Would I have more luck trying this with new new 1.4 version?

Cheers
JP

PS the document's I'm trying to transform are actually these:
http://ascend.cheme.cmu.edu/pdfhelp.htm
for which the source material is at
https://pse.cheme.cmu.edu/svn-view/ascend/documentation/trunk/mif/? 
rev=338




Re: Chinese caracter

2006-02-08 Thread Michael Wojcik

Eric Germaneau wrote:


Does someone know how to use Chinese caracter in a lyx document (so in 
Latex as well ).


If you only need a few Chinese characters, rather than an entire 
document's worth, you can use conventional LyX (rather than LyX-CJK and 
a CJK version of LaTeX).  Here's what I've done to insert a single 
Japanese kanji into a conventional LyX document:


1. Install the LaTeX cjk and cjk-fonts packages, if you don't have 
them already.  (I use MiTeX on Windows, so I can't give you any advice 
for doing this for Slackware.)


2. In the preamble, include the CJK package with \usepackage{cjk}.  See 
the cjk package's documentation (installed with the package) for 
information on options; I'm not setting any in my documents, but you may 
want some.


3. Where you need a Chinese, Japanese, or Korean character, insert ERT 
with the appropriate CJK macro.  Here again you'll have to consult the 
cjk package documentation to find out how to enter Chinese in the 
encoding of your choice.  The CJK package allows you to enter characters 
directly in various encodings, or as their hex equivalent, which is 
useful if you want to keep the document pure ASCII (eg so you can edit 
it in other editors).  For my single Japanese kanji, I took the latter 
route:


   \begin{CJK}{JIS}{song} \CJKchar{3B}{52} \end{CJK}.

That inserts the character corresponding to JIS codepoint 3B52 at that 
point in the document.  It's a real character in an appropriate font, so 
it scales with the rest of the text and so forth.


This works well for DVI and PDF, in my tests.

I'd like to thank several people on the list who offered advice when I 
asked how to do this a while back, by the way, particularly Helge 
Hafting, who pointed me down this path.


--
Michael Wojcik



Re: Macdvix does not work properly

2006-02-08 Thread Bennett Helm

On Feb 8, 2006, at 7:06 AM, jerome666 wrote:


Hello

I have installed Lyx and Macdvix on MacOS X Tiger. I would like to
use the reverse dvi function from Macdvix to Lyx.

To do that, I have include the line \usepackage[active]{srcltx} in the
preamble of my lyx document. It does not enable the reverse dvi.

I have aldso tried to modify the script of the calleditor as  
mentioned here
: http://wiki.lyx.org/LyX/LyXOnMac?from=LyX.Mac (search for  
reverse dvi to

see the related sentences). It failed.

Could someone help me to configure lyx or macdvix to enable the  
reverse dvi

function ?


Jerome -

There are apparently several problems, 2 of which I've solved. (I  
need help on the third.)


1. It looks like you need to add exit 1 to the end of macdvix's  
calleditor.script in order for it actually to call lyxeditor.


2. The lyxeditor script needs to have some quoting to accommodate  
filenames and paths with spaces. I've attached a newer version of  
lyxeditor that should solve this problem. You'll need to put it in  
the .../LyX.app/Contents/MacOSX folder. (Note that since this is  
inside the LyX.app bundle, you'll need to select LyX.app in the  
finder, control-click to bring up the contextual menu, and select the  
Show Package Contents option.) Also, you may need to make this file  
executable by entering the following in the terminal, making the  
appropriate substitution for /Applications/LyX.app if you keep it  
somewhere different:


chmod +x /Applications/LyX.app/Contents/MacOSX/lyxeditor

3. When the lyxeditor script is invoked, it sends to lyxpipe.in  
something like the following:


LYXCMD:macdvix:server-goto-file-row:filename.tex 32

(where 32 is the line number it should go to). However, LyX seems  
to misinterpret this, and brings up a dialog saying, Cannot open  
specified file: filename.lyx. Create a new document with this  
name? (Note the different file extension: .tex versus .lyx.)  
Clicking No is the proper thing to do: it will take you to the  
proper place in the document. Does anyone know the proper way to  
avoid this spurious dialog?


Bennett



lyxeditor
Description: Binary data


how to force a straight quote () ??

2006-02-08 Thread Kevin Pfeiffer
Hi all,

(in a bit of a panic here)

How do I force straight quote marks? As in:   5'-0

I used the Insert - Special Character - Ordinary Quote

... and this worked fine in a simple test doc, but while checking the 
last book proof I discovered that these (which are inside a table) were 
converted to _closing  curly_ quotes (English).

(Help, please?)

-Kevin



-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: how to force a straight quote () ??

2006-02-08 Thread Kevin Pfeiffer
Kevin Pfeiffer writes:

 How do I force straight quote marks? As in:   5'-0

 I used the Insert - Special Character - Ordinary Quote

 ... and this worked fine in a simple test doc, but while checking the
 last book proof I discovered that these (which are inside a table)
 were converted to _closing  curly_ quotes (English).

Found!

(slightly less panicky now)

\verb++

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: how to force a straight quote () ??

2006-02-08 Thread Karsten Heymann

Hi Kevin,

Kevin Pfeiffer wrote:

Kevin Pfeiffer writes:

How do I force straight quote marks? As in:   5'-0

Found!



\verb++


Maybe better (\verb is not allowed everywhere): \dq{} in ERT

Yours,
Karsten


Re: how to force a straight quote () ??

2006-02-08 Thread Stephen Buonopane

On Feb 8, 2006, at 11:37 AM, Kevin Pfeiffer wrote:


Hi all,

(in a bit of a panic here)

How do I force straight quote marks? As in:   5'-0

I used the Insert - Special Character - Ordinary Quote

... and this worked fine in a simple test doc, but while checking the
last book proof I discovered that these (which are inside a table) were
converted to _closing  curly_ quotes (English).

(Help, please?)

-Kevin



--
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations



you can also use in ERT
\textquotesingle
and
\textquotedbl



Re: Convert framemaker to docbook-lyx -- safest path?

2006-02-08 Thread Stephen Harris


- Original Message - 
From: John Pye [EMAIL PROTECTED]

To: Georg Baum [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Wednesday, February 08, 2006 2:42 AM
Subject: Re: Convert framemaker to docbook-lyx -- safest path?



Hi Georg,

Georg Baum wrote:


John Pye wrote:

 


Can anyone offer any comments on what would be the 'safest path' for
converting Framemaker files into Docbook Lyx files?
   


I thought you might have a chance with Infty
http://www.inftyproject.org/en/demo.html#0002

3. Online Recognition Test of InftyReader Ver.2.4.3d
You can test the recognition of YOUR math documents by 
InftyReader, ONLINE,. Click HERE


SH: You can use Omnipage Pro(or other?) to convert your docs
to png or tiff. Infty claims that it can convert those formats at
400 or 600 dpi to several formats including tex. I tested the Online
conversion with English selected and it used Japanese anyway. I 
download Infty and it output tex but only a soso (English) conversion.


One can also save pdf as ps. I've seen ps2html and html2latex
scripts but they appear to have been abandoned, hard to find. 
I think your best chance is an OCR/image conversion to latex.

http://www.susqu.edu/brakke/PlateauBook/PlateauBook.html

I've had some success using Acrobat's Snapshot tool which
can copy a table and be saved --as an image file. Perhaps 
that could be inserted as a LyX graphic, if that helps at all. 


Regards,
Stephen


OCR breaks even at 94% accuracy (or rekey),
Stephen 









Searching for a cite in the lyx code

2006-02-08 Thread Horacio Emilio Pérez Sánchez

Hello all,

How can I search for a bibliographic reference inside the lyx code ? If I 
use the option inside Edit menu, it doesn't find references I know exist 
in the document.


Thanks in advance.



Re: how to force a straight quote () ??

2006-02-08 Thread Juergen Spitzmueller
Kevin Pfeiffer wrote:

 How do I force straight quote marks? As in:   5'-0

In LyX: String+Shift+

Jürgen



Re: how to force a straight quote () ??

2006-02-08 Thread Karsten Heymann

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Karsten Heymann schrieb:
| Kevin Pfeiffer wrote:
| \verb++
| Maybe better (\verb is not allowed everywhere): \dq{} in ERT

I have to correct myself: \dq is definded only for (n)german. Better use
\textquotedbl as suggested by the other posters.

Yours,
Karsten
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD6j5kKLkXHxOeP2ERArYGAJ9doTLnw4G0pwvvQAyYDKOCtvSlvgCcC8IY
5Vi9/zW0d62O85Zfh7E3AeU=
=OI7a
-END PGP SIGNATURE-


Re: how to force a straight quote () ??

2006-02-08 Thread Kevin Pfeiffer
Juergen Spitzmueller writes:
 Kevin Pfeiffer wrote:
  How do I force straight quote marks? As in:   5'-0

 In LyX: String+Shift+

String = Streng   ?

i.e. Ctrl+Shift+   ? (well, I guess I could go try this)

Thanks to all who posted!

-K





-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: how to force a straight quote () ??

2006-02-08 Thread Juergen Spitzmueller
Kevin Pfeiffer wrote:

 String = Streng   ?
 
 i.e. Ctrl+Shift+

Yes, sorry. Ctrl (Strg on my German keyboard).

Jürgen



Re: Convert framemaker to docbook-lyx -- safest path?

2006-02-08 Thread Georg Baum
John Pye wrote:

 Can anyone offer any comments on what would be the 'safest path' for
 converting Framemaker files into Docbook Lyx files?

You know http://www.cs.brandeis.edu/~pablo/mif2lyx/ ? It is somewhat
limited, but it might be possible to extend it.

Is a (nearly) lossless conversion from framemaker to latex possible? Then
you could use tex2lyx (see http://wiki.lyx.org/LaTeX/LatexToLyx) to produce
the LyX files. If tex2lyx fails to convert something then it is probably
easy to fix. The big advantage of this method is that you don't have to
worry about the LyX format.

Another possibility would be to read the MIF or XML files with a python
script and use $LYXDIR/lib/lyx2lyx/LyX.py to create the LyX document.
LyX.py has no support for tables yet, so you'll have to write that, but
this would need to happen sometimes anyway.

 Would I have more luck trying this with new new 1.4 version?

Maybe, since you might use one of the new features of 1.4, e.g. character
styles or extended boxes. Apart from  that, both LyX.py and tex2lyx produce
1.4 files. They can be converted by lyx2lyx to 1.3 format. This conversion
is lossless if no new 1.4 features are used.


Georg



Re: multicolumn and texlive

2006-02-08 Thread Wolfgang Engelmann
Still problems with multicol
the  info at
http://www.ctan.org/tex-archive/help/Catalogue/entries/multicol.html
does not say enough.

to repeat my situation:
I have a twocolumn koma-book document
I have selected twocolumn in documentpage
I have added in the preample
\usepackage{multicol}
in order to avoid an empty page which is inserted 
with the twocolumn selection
(as recommended on this list, thanks again)

x  xxx
x  xxx
x  xxx
x  xxx
here should come a onecolumn-part
\begin{multicols}
x
x
\end{multicols}
and here twocolumn again
x  xxx
x  xxx
x  xxx
x  xxx

LaTeX Error: \begin{document} ended by \end{multicols}.
 \end{multicols}   
Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.

If I use \begin{multicols}{1}
I get no error, but the onecolumn part is put in the 
right column of my basic setting twocolumn in documentpage 

According to Herbert, multicol is a separate prg and has nothing to do 
with the twocolumn setting.

Where is my mental blackout?

Wolfgang


Re: multicolumn and texlive

2006-02-08 Thread Herbert Voss



Wolfgang Engelmann wrote:

Still problems with multicol
the  info at
http://www.ctan.org/tex-archive/help/Catalogue/entries/multicol.html
does not say enough.

to repeat my situation:
I have a twocolumn koma-book document
I have selected twocolumn in documentpage


makes no sense together with package multicol. Disable it


I have added in the preample
\usepackage{multicol}
in order to avoid an empty page which is inserted 
with the twocolumn selection

(as recommended on this list, thanks again)


\begin{multicols}{2}


x  xxx
x  xxx
x  xxx
x  xxx


\end{multicols}



here should come a onecolumn-part
x
x




and here twocolumn again


\begin{multicols}{2}


x  xxx
x  xxx
x  xxx
x  xxx


\end{multicols}


Herbert




Re: multicolumn and texlive

2006-02-08 Thread Wolfgang Engelmann
Am Mittwoch, 8. Februar 2006 10:14 schrieb Herbert Voss:


 makes no sense together with package multicol. Disable it

thanks, Herbert.

So I am adding \begin{multicols}{2}
at the begin of the document (at the very begin or after the title?)
and 
 \end{multicols}
 \begin{multicols}{1}
here onecolumn text
 \end{multicols}

 \begin{multicols}{2}
here twocolumn text
\end{multicols}
at the end of the document


is this correct?

Wolfgang


Re: multicolumn and texlive

2006-02-08 Thread Herbert Voss

Wolfgang Engelmann wrote:

Am Mittwoch, 8. Februar 2006 10:14 schrieb Herbert Voss:



makes no sense together with package multicol. Disable it



thanks, Herbert.

So I am adding \begin{multicols}{2}
at the begin of the document (at the very begin or after the title?)


The title should be in onecolumn mode, insert it
after your title/author/date lines.

and 
 \end{multicols}

 \begin{multicols}{1}


Wolfgang, look at my mail. There was nothing about such a
statement. Onecolumn is the default, therefore you should
disable the twocolumn option in the document layout.


here onecolumn text
 \end{multicols}

 \begin{multicols}{2}
here twocolumn text
\end{multicols}
at the end of the document


is this correct?


yes, except the above


Herbert




Re: Editors for LaTeX-files with syntax highlighting

2006-02-08 Thread Eric S Fraga
On Fri, Feb 03, 2006 at 09:51:26AM -0500, Dimitrios Diamantaras wrote:
 [...] In fact I am liking the 
 Emacs-AUCTeX-preview-latex combination so much that I have been working
 on it exclusively lately, even though about a year ago I thought I would 
 never need anything but Lyx (I am a LaTeX user for many years, though, 
 and know quite a few of the commands I need---Lyx is perfect for those 
 who don't).

Thanks for saying this. I had been feeling, in a funny kind of way, guilty
because I've also been using Emacs et al. almost exclusively for a while now
despite being a long time LyX user (but a longer time LaTeX user, I must
admit).  What's done it for me, at the moment, is reftex which provides an
easier interface to references for somebody like me that does not like using
the mouse.

But I still think LyX is absolutely fantastic and it's my first port-of-call
when I can't remember how to do something in LaTeX!!

cheers,
eric

-- 
 Eric S. Fraga, Department of Chemical Engineering, UCL, London
***.*..**.*.*...***.***.*...*...***.*...


Re: multicolumn and texlive

2006-02-08 Thread Karsten Heymann

Wolfgang Engelmann schrieb:
 So I am adding
 \begin{multicols}{2}
 at the begin of the document

yes

 (at the very begin or after the title?)

Try both and decide yourself :)

 and \end{multicols}


 \begin{multicols}{1} here onecolumn text \end{multicols}

You can leave that one out, onecoumn is the default outside a multicols
environment.

 \begin{multicols}{2} here twocolumn text \end{multicols} at the end
 of the document

Yes.

Yours,
Karsten


Re: Creating a .layout file with two command arguments

2006-02-08 Thread Mael Hilléreau

Jeremy Daily a écrit :

Mael,

Thanks for the suggestion. The logic made sense, but your suggestion did 
not work. LyX generated an extra line between the commands in the tex file.




This is now possible by using character styles (available in LyX 
1.4.0pre3). The following layout sample won't produce any extra line 
between the two commands:


CharStyle Author
  MarginStatic
  LatexType Command
  InTitle   1
  LatexName AddAuthor
End

CharStyle Affiliation
  MarginStatic
  LatexType Command
  InTitle   1
  LatexName donothing
  Preamble
\newcommand{\donothing}[1]{#1}
  EndPreamble
End

Note: I don't know if InTitle works with character styles -- you'll 
have to test it...


In order to use these character styles, make a new paragraph (Standard), 
go to InsertCharacter styleAuthor, type in the author name, put the 
cursor at the right of the author name (out of the Author character 
style) and then go to InsertCharacter styleAffiliation, and type in 
the author's affiliation. You'll then have the following displayed into 
LyX window:


 Mael IFTS
|___||_|
 AuthorAffiliation

Compile your document. That's it! LyX then actually generates the right 
LaTeX code: \AddAuthor{Mael}\donothing{IFTS}


This workaround can be used to manage LaTeX macros with any number of 
arguments. It also has the advantage of allowing the user to combine 
commands with environments, which may be useful for example in order to 
manage packages such as acronym.sty.


Regards,
Mael.

--
Mael Hilléreau



Re: Unexpected problem for a document with a lot of pages

2006-02-08 Thread Roy Schestowitz

_/ On Mon 06 Feb 2006 19:20:58 GMT, [Horacio] wrote : \__


Hello all,

I use LyX 1.3.5 in suse 9.0. I'm writing a scientific document that 
will have around 200 pages or more, with a lot of equations, figures 
and tables.


One month ago there was no problem for my to work with the document, 
although it took some minutes to render the document to PDF (using 
option View --- PDF). So after I considered the possibility to work 
with different files for every new section of the document because in 
this way it would be faster the individual compilation. I added the 
new lyx files into the big document using the option 
Insert---File, and selecting after External or Include, 
indifferently. Using this method each new section was written very 
fast, because I could compile only these part and see the changes. 
After I had included 4 new sections (4 new files) I tried to compile 
the whole document with no problem, but it took a lot of time, more 
than an hour. Anyway I continued working, but my problem now is that 
I have 10 new section and the compilation of the document is not 
feasible. Last weekend I left my computer compiling during 2 days and 
today it was already working in it !!


I've tried with View---DVI, but it takes also a lot of time. I've 
searched for info in the lyx mail list, but nothing related with my 
case.


Later I've done a test; I've removed all the includes, so the 
document doesn't has to load the external lyx files, and in this 
case the compilation was OK and it took some minutes. In other test 
I've created a new empty lyx document and I've added the 10 sections 
with the Insert---File option, and in this case the document was 
compiled on one minute !!!


So now I'm blocked and I don't know what to do. Maybe there is a bug 
with lyx or I think that as I use a lot of different figure formats 
(jpg,bmp and eps) the program can't handle this, but I don't think 
so; lyx is announced capable of working with very big documents. I've 
also observed that telling lyx not to use the temp directory, 
sometimes the compilation is faster, am I right ? Using a temporary 
directory makes the compilation of a document slower ?


Could somebody help me ?


Thanks in advance.



Hi,

I  once used LyX to compile a 200-page report, which contained many  (~40)
detailed  figures in encapsulated PostScript format. The whole beast  took
about  1-2 minutes to compile and view as PDF. What hardware are you  run-
ning this on? At later stages, I considered running LyX remotely (via SSH)
on idle computational servers and I now do so exclusively.

Is  the  separation into multiple files (a notoriety attributed  to  bloat
like  page-preview-on-the-fly  WYSIWYG) not conflicting with  TOC's?  What
about  the need to search the entire document (all chapters at once)? I am
not  criticising  your choice, but I think you might  be  overcomplicating
matters for yourself.

If the primary issue is LyX grinding to a halt (getting locked) throughout
compilation, consider workarounds like multiple sessions of LyX or editing
the commands to enable pipelining ('' in *nix).

To  digress,  let us think of some workaround. Choose not to generate  and
revierw  every small change as you go along because it is  time-consuming.
Iterate  entire  pages  instead. If it helps, open a small  new  document,
write  the  necessary bits in isolation and view as DVI. When happy,  copy
and paste to large document.

Hope it helps,

Roy

--
Roy S. Schestowitz
http://Schestowitz.com  |SuSE Linux | PGP-Key: 0x74572E8E
10:20am  up 22 days  5:36,  12 users,  load average: 0.30, 0.35, 0.35



Re: multicolumn and texlive

2006-02-08 Thread Wolfgang Engelmann
Am Mittwoch, 8. Februar 2006 11:05 schrieb Herbert Voss:
 Wolfgang Engelmann wrote:
  Am Mittwoch, 8. Februar 2006 10:14 schrieb Herbert Voss:
 makes no sense together with package multicol. Disable it
 
  thanks, Herbert.
 
  So I am adding \begin{multicols}{2}
  at the begin of the document (at the very begin or after the title?)

 The title should be in onecolumn mode, insert it
 after your title/author/date lines.

  and
   \end{multicols}
   \begin{multicols}{1}

 Wolfgang, look at my mail. There was nothing about such a
 statement. Onecolumn is the default, therefore you should
 disable the twocolumn option in the document layout.

As usual, you are right. It was from Karsten:
okay, then don't load multicol and do what I wrote above. \onecolumn and 
\twocolumn are standard latex commands and have nothing to do with the 
multicol package.

Yours,
Karsten

and in addition I missunderstood it.

Now I have grasped it, I hope.
Thanks for the help and your patience with me

Wolfgang


Re: Convert framemaker to docbook-lyx -- safest path?

2006-02-08 Thread John Pye

Hi Georg,

Georg Baum wrote:


John Pye wrote:

 


Can anyone offer any comments on what would be the 'safest path' for
converting Framemaker files into Docbook Lyx files?
   



You know http://www.cs.brandeis.edu/~pablo/mif2lyx/ ? It is somewhat
limited, but it might be possible to extend it.
 

The perl module cited as prereq doesn't exist on CPAN. Not that I could 
find with search.



Is a (nearly) lossless conversion from framemaker to latex possible? Then
you could use tex2lyx (see http://wiki.lyx.org/LaTeX/LatexToLyx) to produce
the LyX files. If tex2lyx fails to convert something then it is probably
easy to fix. The big advantage of this method is that you don't have to
worry about the LyX format.
 

Nope. Converting from frame to latex is a flakey process. No point going 
via latex here.



Another possibility would be to read the MIF or XML files with a python
script and use $LYXDIR/lib/lyx2lyx/LyX.py to create the LyX document.
LyX.py has no support for tables yet, so you'll have to write that, but
this would need to happen sometimes anyway.
 

That might be interesting. Is there no XML-based Lyx file format yet? 
What does lyx2lyx do, I can't see any documentation on the net.


Come to that, is there a lyx file format reference somewhere?

My best best really does seem to be to write an XSLT to convert from 
either mif2xml output (or the direct Framemaker XML-export output) to a 
*structured file format* that Lyx can read reliably. I tried to write 
out XML directly but it seemed really hard to resolve the whitespace 
problems.


You can see my efforts at
https://pse.cheme.cmu.edu/svn-view/ascend/documentation/trunk/xml/fm2lyx.xsl?rev=310view=markup
also, see my somewhat more successful
https://pse.cheme.cmu.edu/svn-view/ascend/documentation/trunk/xml/fm2html.xsl?rev=310view=markup

Cheers
JP


Re: Convert framemaker to docbook-lyx -- safest path?

2006-02-08 Thread Georg Baum
John Pye wrote:

 The perl module cited as prereq doesn't exist on CPAN. Not that I could
 find with search.

from the first google hit for perlmif:
http://www.cpan.org/modules/by-authors/id/EHOOD/

 Nope. Converting from frame to latex is a flakey process. No point going
 via latex here.

You will need that at least for the formulas, since LyX stores formulas in
LaTeX syntax.

 That might be interesting. Is there no XML-based Lyx file format yet?

This is planned, and Lars Gullik Bjønnes did some experiments with it, but
nothing more.

 What does lyx2lyx do, I can't see any documentation on the net.

It translates old .lyx files to the current format. The other way round does
also work, but only for 1.4 - 1.3 conversions. The LyX class I already
mentioned has also limited capabilities for creating .lyx files from
scratch.

 Come to that, is there a lyx file format reference somewhere?

AFAIK only in the sources :-(

 My best best really does seem to be to write an XSLT to convert from
 either mif2xml output (or the direct Framemaker XML-export output) to a
 *structured file format* that Lyx can read reliably. I tried to write
 out XML directly but it seemed really hard to resolve the whitespace
 problems.

It might also be possible to use LyX itself to write the file and do the
conversion via commands sent to the lyxpipe. See
http://wiki.lyx.org/Tools/PyClient


Georg



Macdvix does not work properly

2006-02-08 Thread jerome666
Hello

I have installed Lyx and Macdvix on MacOS X Tiger. I would like to
use the reverse dvi function from Macdvix to Lyx.

To do that, I have include the line \usepackage[active]{srcltx} in the
preamble of my lyx document. It does not enable the reverse dvi.

I have aldso tried to modify the script of the calleditor as mentioned here
: http://wiki.lyx.org/LyX/LyXOnMac?from=LyX.Mac (search for reverse dvi to
see the related sentences). It failed.

Could someone help me to configure lyx or macdvix to enable the reverse dvi
function ?

jerome




Re: Convert framemaker to docbook-lyx -- safest path?

2006-02-08 Thread Patrick De Visschere


On Feb 8, 2006, at 02:28, John Pye wrote:


Hi all,

Can anyone offer any comments on what would be the 'safest path'  
for converting Framemaker files into Docbook Lyx files?




I can only give my own experience and don't know wether that's the  
safest path but it did work for me.
I converted a paper from framemaker to lyx which did not require much  
tweaking afterwards.


The paper contained equations, figures and references but  
(unfortunately) no tables, therefore I cannot comment on that  
specific problem.


Once I wrote a XSLT stylesheet to transform a mif-file into an xml- 
file; I think this is a safe route since the mif-file contains  
everything.
But since framemaker became framemaker+sgml I use the xml-export  
feature of framemaker. My only problem here are the equations which  
are by default exported as pictures (not acceptable to me). The only  
solution was to write a plug-in for framemaker which exports the  
mathfullform-expression instead of the picture.


I then convert the resulting xml-file in a 2-step process:
1) with a first stylesheet the mathfullform expressions are converted  
to mathml;
2) with a 2nd stylesheet  the resulting xml-file (with mathml- 
equations) is converted to tex using the xsltml package (http:// 
xsltml.sourceforge.net/) to convert the mathml equations.


Regards

Patrick De Visschere


...
Any suggestions?

Would I have more luck trying this with new new 1.4 version?

Cheers
JP

PS the document's I'm trying to transform are actually these:
http://ascend.cheme.cmu.edu/pdfhelp.htm
for which the source material is at
https://pse.cheme.cmu.edu/svn-view/ascend/documentation/trunk/mif/? 
rev=338




Re: Chinese caracter

2006-02-08 Thread Michael Wojcik

Eric Germaneau wrote:


Does someone know how to use Chinese caracter in a lyx document (so in 
Latex as well ).


If you only need a few Chinese characters, rather than an entire 
document's worth, you can use conventional LyX (rather than LyX-CJK and 
a CJK version of LaTeX).  Here's what I've done to insert a single 
Japanese kanji into a conventional LyX document:


1. Install the LaTeX cjk and cjk-fonts packages, if you don't have 
them already.  (I use MiTeX on Windows, so I can't give you any advice 
for doing this for Slackware.)


2. In the preamble, include the CJK package with \usepackage{cjk}.  See 
the cjk package's documentation (installed with the package) for 
information on options; I'm not setting any in my documents, but you may 
want some.


3. Where you need a Chinese, Japanese, or Korean character, insert ERT 
with the appropriate CJK macro.  Here again you'll have to consult the 
cjk package documentation to find out how to enter Chinese in the 
encoding of your choice.  The CJK package allows you to enter characters 
directly in various encodings, or as their hex equivalent, which is 
useful if you want to keep the document pure ASCII (eg so you can edit 
it in other editors).  For my single Japanese kanji, I took the latter 
route:


   \begin{CJK}{JIS}{song} \CJKchar{3B}{52} \end{CJK}.

That inserts the character corresponding to JIS codepoint 3B52 at that 
point in the document.  It's a real character in an appropriate font, so 
it scales with the rest of the text and so forth.


This works well for DVI and PDF, in my tests.

I'd like to thank several people on the list who offered advice when I 
asked how to do this a while back, by the way, particularly Helge 
Hafting, who pointed me down this path.


--
Michael Wojcik



Re: Macdvix does not work properly

2006-02-08 Thread Bennett Helm

On Feb 8, 2006, at 7:06 AM, jerome666 wrote:


Hello

I have installed Lyx and Macdvix on MacOS X Tiger. I would like to
use the reverse dvi function from Macdvix to Lyx.

To do that, I have include the line \usepackage[active]{srcltx} in the
preamble of my lyx document. It does not enable the reverse dvi.

I have aldso tried to modify the script of the calleditor as  
mentioned here
: http://wiki.lyx.org/LyX/LyXOnMac?from=LyX.Mac (search for  
reverse dvi to

see the related sentences). It failed.

Could someone help me to configure lyx or macdvix to enable the  
reverse dvi

function ?


Jerome -

There are apparently several problems, 2 of which I've solved. (I  
need help on the third.)


1. It looks like you need to add exit 1 to the end of macdvix's  
calleditor.script in order for it actually to call lyxeditor.


2. The lyxeditor script needs to have some quoting to accommodate  
filenames and paths with spaces. I've attached a newer version of  
lyxeditor that should solve this problem. You'll need to put it in  
the .../LyX.app/Contents/MacOSX folder. (Note that since this is  
inside the LyX.app bundle, you'll need to select LyX.app in the  
finder, control-click to bring up the contextual menu, and select the  
Show Package Contents option.) Also, you may need to make this file  
executable by entering the following in the terminal, making the  
appropriate substitution for /Applications/LyX.app if you keep it  
somewhere different:


chmod +x /Applications/LyX.app/Contents/MacOSX/lyxeditor

3. When the lyxeditor script is invoked, it sends to lyxpipe.in  
something like the following:


LYXCMD:macdvix:server-goto-file-row:filename.tex 32

(where 32 is the line number it should go to). However, LyX seems  
to misinterpret this, and brings up a dialog saying, Cannot open  
specified file: filename.lyx. Create a new document with this  
name? (Note the different file extension: .tex versus .lyx.)  
Clicking No is the proper thing to do: it will take you to the  
proper place in the document. Does anyone know the proper way to  
avoid this spurious dialog?


Bennett



lyxeditor
Description: Binary data


how to force a straight quote () ??

2006-02-08 Thread Kevin Pfeiffer
Hi all,

(in a bit of a panic here)

How do I force straight quote marks? As in:   5'-0

I used the Insert - Special Character - Ordinary Quote

... and this worked fine in a simple test doc, but while checking the 
last book proof I discovered that these (which are inside a table) were 
converted to _closing  curly_ quotes (English).

(Help, please?)

-Kevin



-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: how to force a straight quote () ??

2006-02-08 Thread Kevin Pfeiffer
Kevin Pfeiffer writes:

 How do I force straight quote marks? As in:   5'-0

 I used the Insert - Special Character - Ordinary Quote

 ... and this worked fine in a simple test doc, but while checking the
 last book proof I discovered that these (which are inside a table)
 were converted to _closing  curly_ quotes (English).

Found!

(slightly less panicky now)

\verb++

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: how to force a straight quote () ??

2006-02-08 Thread Karsten Heymann

Hi Kevin,

Kevin Pfeiffer wrote:

Kevin Pfeiffer writes:

How do I force straight quote marks? As in:   5'-0

Found!



\verb++


Maybe better (\verb is not allowed everywhere): \dq{} in ERT

Yours,
Karsten


Re: how to force a straight quote () ??

2006-02-08 Thread Stephen Buonopane

On Feb 8, 2006, at 11:37 AM, Kevin Pfeiffer wrote:


Hi all,

(in a bit of a panic here)

How do I force straight quote marks? As in:   5'-0

I used the Insert - Special Character - Ordinary Quote

... and this worked fine in a simple test doc, but while checking the
last book proof I discovered that these (which are inside a table) were
converted to _closing  curly_ quotes (English).

(Help, please?)

-Kevin



--
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations



you can also use in ERT
\textquotesingle
and
\textquotedbl



Re: Convert framemaker to docbook-lyx -- safest path?

2006-02-08 Thread Stephen Harris


- Original Message - 
From: John Pye [EMAIL PROTECTED]

To: Georg Baum [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Wednesday, February 08, 2006 2:42 AM
Subject: Re: Convert framemaker to docbook-lyx -- safest path?



Hi Georg,

Georg Baum wrote:


John Pye wrote:

 


Can anyone offer any comments on what would be the 'safest path' for
converting Framemaker files into Docbook Lyx files?
   


I thought you might have a chance with Infty
http://www.inftyproject.org/en/demo.html#0002

3. Online Recognition Test of InftyReader Ver.2.4.3d
You can test the recognition of YOUR math documents by 
InftyReader, ONLINE,. Click HERE


SH: You can use Omnipage Pro(or other?) to convert your docs
to png or tiff. Infty claims that it can convert those formats at
400 or 600 dpi to several formats including tex. I tested the Online
conversion with English selected and it used Japanese anyway. I 
download Infty and it output tex but only a soso (English) conversion.


One can also save pdf as ps. I've seen ps2html and html2latex
scripts but they appear to have been abandoned, hard to find. 
I think your best chance is an OCR/image conversion to latex.

http://www.susqu.edu/brakke/PlateauBook/PlateauBook.html

I've had some success using Acrobat's Snapshot tool which
can copy a table and be saved --as an image file. Perhaps 
that could be inserted as a LyX graphic, if that helps at all. 


Regards,
Stephen


OCR breaks even at 94% accuracy (or rekey),
Stephen 









Searching for a cite in the lyx code

2006-02-08 Thread Horacio Emilio Pérez Sánchez

Hello all,

How can I search for a bibliographic reference inside the lyx code ? If I 
use the option inside Edit menu, it doesn't find references I know exist 
in the document.


Thanks in advance.



Re: how to force a straight quote () ??

2006-02-08 Thread Juergen Spitzmueller
Kevin Pfeiffer wrote:

 How do I force straight quote marks? As in:   5'-0

In LyX: String+Shift+

Jürgen



Re: how to force a straight quote () ??

2006-02-08 Thread Karsten Heymann

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Karsten Heymann schrieb:
| Kevin Pfeiffer wrote:
| \verb++
| Maybe better (\verb is not allowed everywhere): \dq{} in ERT

I have to correct myself: \dq is definded only for (n)german. Better use
\textquotedbl as suggested by the other posters.

Yours,
Karsten
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD6j5kKLkXHxOeP2ERArYGAJ9doTLnw4G0pwvvQAyYDKOCtvSlvgCcC8IY
5Vi9/zW0d62O85Zfh7E3AeU=
=OI7a
-END PGP SIGNATURE-


Re: how to force a straight quote () ??

2006-02-08 Thread Kevin Pfeiffer
Juergen Spitzmueller writes:
 Kevin Pfeiffer wrote:
  How do I force straight quote marks? As in:   5'-0

 In LyX: String+Shift+

String = Streng   ?

i.e. Ctrl+Shift+   ? (well, I guess I could go try this)

Thanks to all who posted!

-K





-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: how to force a straight quote () ??

2006-02-08 Thread Juergen Spitzmueller
Kevin Pfeiffer wrote:

 String = Streng   ?
 
 i.e. Ctrl+Shift+

Yes, sorry. Ctrl (Strg on my German keyboard).

Jürgen



Re: Convert framemaker to docbook-lyx -- safest path?

2006-02-08 Thread Georg Baum
John Pye wrote:

> Can anyone offer any comments on what would be the 'safest path' for
> converting Framemaker files into Docbook Lyx files?

You know http://www.cs.brandeis.edu/~pablo/mif2lyx/ ? It is somewhat
limited, but it might be possible to extend it.

Is a (nearly) lossless conversion from framemaker to latex possible? Then
you could use tex2lyx (see http://wiki.lyx.org/LaTeX/LatexToLyx) to produce
the LyX files. If tex2lyx fails to convert something then it is probably
easy to fix. The big advantage of this method is that you don't have to
worry about the LyX format.

Another possibility would be to read the MIF or XML files with a python
script and use $LYXDIR/lib/lyx2lyx/LyX.py to create the LyX document.
LyX.py has no support for tables yet, so you'll have to write that, but
this would need to happen sometimes anyway.

> Would I have more luck trying this with new new 1.4 version?

Maybe, since you might use one of the new features of 1.4, e.g. character
styles or extended boxes. Apart from  that, both LyX.py and tex2lyx produce
1.4 files. They can be converted by lyx2lyx to 1.3 format. This conversion
is lossless if no new 1.4 features are used.


Georg



Re: multicolumn and texlive

2006-02-08 Thread Wolfgang Engelmann
Still problems with multicol
the  info at
http://www.ctan.org/tex-archive/help/Catalogue/entries/multicol.html
does not say enough.

to repeat my situation:
I have a twocolumn koma-book document
I have selected twocolumn in document>page
I have added in the preample
\usepackage{multicol}
in order to avoid an empty page which is inserted 
with the twocolumn selection
(as recommended on this list, thanks again)

x  xxx
x  xxx
x  xxx
x  xxx
here should come a onecolumn-part
\begin{multicols}
x
x
\end{multicols}
and here twocolumn again
x  xxx
x  xxx
x  xxx
x  xxx

LaTeX Error: \begin{document} ended by \end{multicols}.
 \end{multicols}   
Your command was ignored.
Type  Ito replace it with another command,
orto continue without it.

If I use \begin{multicols}{1}
I get no error, but the onecolumn part is put in the 
right column of my basic setting twocolumn in document>page 

According to Herbert, multicol is a separate prg and has nothing to do 
with the twocolumn setting.

Where is my mental blackout?

Wolfgang


Re: multicolumn and texlive

2006-02-08 Thread Herbert Voss



Wolfgang Engelmann wrote:

Still problems with multicol
the  info at
http://www.ctan.org/tex-archive/help/Catalogue/entries/multicol.html
does not say enough.

to repeat my situation:
I have a twocolumn koma-book document
I have selected twocolumn in document>page


makes no sense together with package multicol. Disable it


I have added in the preample
\usepackage{multicol}
in order to avoid an empty page which is inserted 
with the twocolumn selection

(as recommended on this list, thanks again)


\begin{multicols}{2}


x  xxx
x  xxx
x  xxx
x  xxx


\end{multicols}



here should come a onecolumn-part
x
x




and here twocolumn again


\begin{multicols}{2}


x  xxx
x  xxx
x  xxx
x  xxx


\end{multicols}


Herbert




Re: multicolumn and texlive

2006-02-08 Thread Wolfgang Engelmann
Am Mittwoch, 8. Februar 2006 10:14 schrieb Herbert Voss:

>
> makes no sense together with package multicol. Disable it
>
thanks, Herbert.

So I am adding \begin{multicols}{2}
at the begin of the document (at the very begin or after the title?)
and 
 \end{multicols}
 \begin{multicols}{1}
here onecolumn text
 \end{multicols}

 \begin{multicols}{2}
here twocolumn text
\end{multicols}
at the end of the document


is this correct?

Wolfgang


Re: multicolumn and texlive

2006-02-08 Thread Herbert Voss

Wolfgang Engelmann wrote:

Am Mittwoch, 8. Februar 2006 10:14 schrieb Herbert Voss:



makes no sense together with package multicol. Disable it



thanks, Herbert.

So I am adding \begin{multicols}{2}
at the begin of the document (at the very begin or after the title?)


The title should be in onecolumn mode, insert it
after your title/author/date lines.

and 
 \end{multicols}

 \begin{multicols}{1}


Wolfgang, look at my mail. There was nothing about such a
statement. Onecolumn is the default, therefore you should
disable the twocolumn option in the document layout.


here onecolumn text
 \end{multicols}

 \begin{multicols}{2}
here twocolumn text
\end{multicols}
at the end of the document


is this correct?


yes, except the above


Herbert




Re: Editors for LaTeX-files with syntax highlighting

2006-02-08 Thread Eric S Fraga
On Fri, Feb 03, 2006 at 09:51:26AM -0500, Dimitrios Diamantaras wrote:
> [...] In fact I am liking the 
> Emacs-AUCTeX-preview-latex combination so much that I have been working
> on it exclusively lately, even though about a year ago I thought I would 
> never need anything but Lyx (I am a LaTeX user for many years, though, 
> and know quite a few of the commands I need---Lyx is perfect for those 
> who don't).

Thanks for saying this. I had been feeling, in a funny kind of way, guilty
because I've also been using Emacs et al. almost exclusively for a while now
despite being a long time LyX user (but a longer time LaTeX user, I must
admit).  What's done it for me, at the moment, is reftex which provides an
easier interface to references for somebody like me that does not like using
the mouse.

But I still think LyX is absolutely fantastic and it's my first port-of-call
when I can't remember how to do something in LaTeX!!

cheers,
eric

-- 
 Eric S. Fraga, Department of Chemical Engineering, UCL, London
***.*..**.*.*...***.***.*...*...***.*...


Re: multicolumn and texlive

2006-02-08 Thread Karsten Heymann

Wolfgang Engelmann schrieb:
> So I am adding
> \begin{multicols}{2}
> at the begin of the document

yes

> (at the very begin or after the title?)

Try both and decide yourself :)

> and \end{multicols}


> \begin{multicols}{1} here onecolumn text \end{multicols}

You can leave that one out, onecoumn is the default outside a multicols
environment.

> \begin{multicols}{2} here twocolumn text \end{multicols} at the end
> of the document

Yes.

Yours,
Karsten


Re: Creating a .layout file with two command arguments

2006-02-08 Thread Mael Hilléreau

Jeremy Daily a écrit :

Mael,

Thanks for the suggestion. The logic made sense, but your suggestion did 
not work. LyX generated an extra line between the commands in the tex file.




This is now possible by using character styles (available in LyX 
1.4.0pre3). The following layout sample won't produce any extra line 
between the two commands:


CharStyle Author
  MarginStatic
  LatexType Command
  InTitle   1
  LatexName AddAuthor
End

CharStyle Affiliation
  MarginStatic
  LatexType Command
  InTitle   1
  LatexName donothing
  Preamble
\newcommand{\donothing}[1]{#1}
  EndPreamble
End

Note: I don't know if "InTitle" works with character styles -- you'll 
have to test it...


In order to use these character styles, make a new paragraph (Standard), 
go to "Insert>Character style>Author", type in the author name, put the 
cursor at the right of the author name (out of the Author character 
style) and then go to "Insert>Character style>Affiliation", and type in 
the author's affiliation. You'll then have the following displayed into 
LyX window:


 Mael IFTS
|___||_|
 AuthorAffiliation

Compile your document. That's it! LyX then actually generates the right 
LaTeX code: \AddAuthor{Mael}\donothing{IFTS}


This workaround can be used to manage LaTeX macros with any number of 
arguments. It also has the advantage of allowing the user to combine 
commands with environments, which may be useful for example in order to 
manage packages such as "acronym.sty".


Regards,
Mael.

--
Mael Hilléreau



Re: Unexpected problem for a document with a lot of pages

2006-02-08 Thread Roy Schestowitz

_/ On Mon 06 Feb 2006 19:20:58 GMT, [Horacio] wrote : \__


Hello all,

I use LyX 1.3.5 in suse 9.0. I'm writing a scientific document that 
will have around 200 pages or more, with a lot of equations, figures 
and tables.


One month ago there was no problem for my to work with the document, 
although it took some minutes to "render" the document to PDF (using 
option View ---> PDF). So after I considered the possibility to work 
with different files for every new section of the document because in 
this way it would be faster the individual compilation. I added the 
new lyx files into the big document using the option 
"Insert--->File", and selecting after "External" or "Include", 
indifferently. Using this method each new section was written very 
fast, because I could compile only these part and see the changes. 
After I had included 4 new sections (4 new files) I tried to compile 
the whole document with no problem, but it took a lot of time, more 
than an hour. Anyway I continued working, but my problem now is that 
I have 10 new section and the compilation of the document is not 
feasible. Last weekend I left my computer compiling during 2 days and 
today it was already working in it !!


I've tried with "View--->DVI", but it takes also a lot of time. I've 
searched for info in the lyx mail list, but nothing related with my 
case.


Later I've done a test; I've removed all the "includes", so the 
document doesn't has to "load" the external lyx files, and in this 
case the compilation was OK and it took some minutes. In other test 
I've created a new empty lyx document and I've added the 10 sections 
with the "Insert--->File" option, and in this case the document was 
compiled on one minute !!!


So now I'm blocked and I don't know what to do. Maybe there is a bug 
with lyx or I think that as I use a lot of different figure formats 
(jpg,bmp and eps) the program can't handle this, but I don't think 
so; lyx is announced capable of working with very big documents. I've 
also observed that telling lyx not to use the "temp" directory, 
sometimes the compilation is faster, am I right ? Using a temporary 
directory makes the compilation of a document slower ?


Could somebody help me ?


Thanks in advance.



Hi,

I  once used LyX to compile a 200-page report, which contained many  (~40)
detailed  figures in encapsulated PostScript format. The whole beast  took
about  1-2 minutes to compile and view as PDF. What hardware are you  run-
ning this on? At later stages, I considered running LyX remotely (via SSH)
on idle computational servers and I now do so exclusively.

Is  the  separation into multiple files (a notoriety attributed  to  bloat
like  page-preview-on-the-fly  WYSIWYG) not conflicting with  TOC's?  What
about  the need to search the entire document (all chapters at once)? I am
not  criticising  your choice, but I think you might  be  overcomplicating
matters for yourself.

If the primary issue is LyX grinding to a halt (getting locked) throughout
compilation, consider workarounds like multiple sessions of LyX or editing
the commands to enable pipelining ('&' in *nix).

To  digress,  let us think of some workaround. Choose not to generate  and
revierw  every small change as you go along because it is  time-consuming.
Iterate  entire  pages  instead. If it helps, open a small  new  document,
write  the  necessary bits in isolation and view as DVI. When happy,  copy
and paste to large document.

Hope it helps,

Roy

--
Roy S. Schestowitz
http://Schestowitz.com  |SuSE Linux | PGP-Key: 0x74572E8E
10:20am  up 22 days  5:36,  12 users,  load average: 0.30, 0.35, 0.35



Re: multicolumn and texlive

2006-02-08 Thread Wolfgang Engelmann
Am Mittwoch, 8. Februar 2006 11:05 schrieb Herbert Voss:
> Wolfgang Engelmann wrote:
> > Am Mittwoch, 8. Februar 2006 10:14 schrieb Herbert Voss:
> >>makes no sense together with package multicol. Disable it
> >
> > thanks, Herbert.
> >
> > So I am adding \begin{multicols}{2}
> > at the begin of the document (at the very begin or after the title?)
>
> The title should be in onecolumn mode, insert it
> after your title/author/date lines.
>
> > and
> >  \end{multicols}
> >  \begin{multicols}{1}
>
> Wolfgang, look at my mail. There was nothing about such a
> statement. Onecolumn is the default, therefore you should
> disable the twocolumn option in the document layout.

As usual, you are right. It was from Karsten:
okay, then don't load multicol and do what I wrote above. \onecolumn and 
\twocolumn are standard latex commands and have nothing to do with the 
multicol package.

Yours,
Karsten

and in addition I missunderstood it.

Now I have grasped it, I hope.
Thanks for the help and your patience with me

Wolfgang


Re: Convert framemaker to docbook-lyx -- safest path?

2006-02-08 Thread John Pye

Hi Georg,

Georg Baum wrote:


John Pye wrote:

 


Can anyone offer any comments on what would be the 'safest path' for
converting Framemaker files into Docbook Lyx files?
   



You know http://www.cs.brandeis.edu/~pablo/mif2lyx/ ? It is somewhat
limited, but it might be possible to extend it.
 

The perl module cited as prereq doesn't exist on CPAN. Not that I could 
find with search.



Is a (nearly) lossless conversion from framemaker to latex possible? Then
you could use tex2lyx (see http://wiki.lyx.org/LaTeX/LatexToLyx) to produce
the LyX files. If tex2lyx fails to convert something then it is probably
easy to fix. The big advantage of this method is that you don't have to
worry about the LyX format.
 

Nope. Converting from frame to latex is a flakey process. No point going 
via latex here.



Another possibility would be to read the MIF or XML files with a python
script and use $LYXDIR/lib/lyx2lyx/LyX.py to create the LyX document.
LyX.py has no support for tables yet, so you'll have to write that, but
this would need to happen sometimes anyway.
 

That might be interesting. Is there no XML-based Lyx file format yet? 
What does lyx2lyx do, I can't see any documentation on the net.


Come to that, is there a lyx file format reference somewhere?

My best best really does seem to be to write an XSLT to convert from 
either mif2xml output (or the direct Framemaker XML-export output) to a 
*structured file format* that Lyx can read reliably. I tried to write 
out XML directly but it seemed really hard to resolve the whitespace 
problems.


You can see my efforts at
https://pse.cheme.cmu.edu/svn-view/ascend/documentation/trunk/xml/fm2lyx.xsl?rev=310=markup
also, see my somewhat more successful
https://pse.cheme.cmu.edu/svn-view/ascend/documentation/trunk/xml/fm2html.xsl?rev=310=markup

Cheers
JP


Re: Convert framemaker to docbook-lyx -- safest path?

2006-02-08 Thread Georg Baum
John Pye wrote:

> The perl module cited as prereq doesn't exist on CPAN. Not that I could
> find with search.

from the first google hit for perlmif:
http://www.cpan.org/modules/by-authors/id/EHOOD/

> Nope. Converting from frame to latex is a flakey process. No point going
> via latex here.

You will need that at least for the formulas, since LyX stores formulas in
LaTeX syntax.

> That might be interesting. Is there no XML-based Lyx file format yet?

This is planned, and Lars Gullik Bjønnes did some experiments with it, but
nothing more.

> What does lyx2lyx do, I can't see any documentation on the net.

It translates old .lyx files to the current format. The other way round does
also work, but only for 1.4 -> 1.3 conversions. The LyX class I already
mentioned has also limited capabilities for creating .lyx files from
scratch.

> Come to that, is there a lyx file format reference somewhere?

AFAIK only in the sources :-(

> My best best really does seem to be to write an XSLT to convert from
> either mif2xml output (or the direct Framemaker XML-export output) to a
> *structured file format* that Lyx can read reliably. I tried to write
> out XML directly but it seemed really hard to resolve the whitespace
> problems.

It might also be possible to use LyX itself to write the file and do the
conversion via commands sent to the lyxpipe. See
http://wiki.lyx.org/Tools/PyClient


Georg



Macdvix does not work properly

2006-02-08 Thread jerome666
Hello

I have installed Lyx and Macdvix on MacOS X Tiger. I would like to
use the reverse dvi function from Macdvix to Lyx.

To do that, I have include the line \usepackage[active]{srcltx} in the
preamble of my lyx document. It does not enable the reverse dvi.

I have aldso tried to modify the script of the calleditor as mentioned here
: http://wiki.lyx.org/LyX/LyXOnMac?from=LyX.Mac (search for "reverse dvi" to
see the related sentences). It failed.

Could someone help me to configure lyx or macdvix to enable the reverse dvi
function ?

jerome




Re: Convert framemaker to docbook-lyx -- safest path?

2006-02-08 Thread Patrick De Visschere


On Feb 8, 2006, at 02:28, John Pye wrote:


Hi all,

Can anyone offer any comments on what would be the 'safest path'  
for converting Framemaker files into Docbook Lyx files?




I can only give my own experience and don't know wether that's the  
safest path but it did work for me.
I converted a paper from framemaker to lyx which did not require much  
tweaking afterwards.


The paper contained equations, figures and references but  
(unfortunately) no tables, therefore I cannot comment on that  
specific problem.


Once I wrote a XSLT stylesheet to transform a mif-file into an xml- 
file; I think this is a safe route since the mif-file contains  
everything.
But since framemaker became framemaker+sgml I use the xml-export  
feature of framemaker. My only problem here are the equations which  
are by default exported as pictures (not acceptable to me). The only  
solution was to write a plug-in for framemaker which exports the  
mathfullform-expression instead of the picture.


I then convert the resulting xml-file in a 2-step process:
1) with a first stylesheet the mathfullform expressions are converted  
to mathml;
2) with a 2nd stylesheet  the resulting xml-file (with mathml- 
equations) is converted to tex using the xsltml package (http:// 
xsltml.sourceforge.net/) to convert the mathml equations.


Regards

Patrick De Visschere


...
Any suggestions?

Would I have more luck trying this with new new 1.4 version?

Cheers
JP

PS the document's I'm trying to transform are actually these:
http://ascend.cheme.cmu.edu/pdfhelp.htm
for which the source material is at
https://pse.cheme.cmu.edu/svn-view/ascend/documentation/trunk/mif/? 
rev=338




Re: Chinese caracter

2006-02-08 Thread Michael Wojcik

Eric Germaneau wrote:


Does someone know how to use Chinese caracter in a lyx document (so in 
Latex as well ).


If you only need a few Chinese characters, rather than an entire 
document's worth, you can use conventional LyX (rather than LyX-CJK and 
a CJK version of LaTeX).  Here's what I've done to insert a single 
Japanese kanji into a conventional LyX document:


1. Install the LaTeX "cjk" and "cjk-fonts" packages, if you don't have 
them already.  (I use MiTeX on Windows, so I can't give you any advice 
for doing this for Slackware.)


2. In the preamble, include the CJK package with \usepackage{cjk}.  See 
the cjk package's documentation (installed with the package) for 
information on options; I'm not setting any in my documents, but you may 
want some.


3. Where you need a Chinese, Japanese, or Korean character, insert ERT 
with the appropriate CJK macro.  Here again you'll have to consult the 
cjk package documentation to find out how to enter Chinese in the 
encoding of your choice.  The CJK package allows you to enter characters 
directly in various encodings, or as their hex equivalent, which is 
useful if you want to keep the document pure ASCII (eg so you can edit 
it in other editors).  For my single Japanese kanji, I took the latter 
route:


   \begin{CJK}{JIS}{song} \CJKchar{"3B}{"52} \end{CJK}.

That inserts the character corresponding to JIS codepoint 3B52 at that 
point in the document.  It's a real character in an appropriate font, so 
it scales with the rest of the text and so forth.


This works well for DVI and PDF, in my tests.

I'd like to thank several people on the list who offered advice when I 
asked how to do this a while back, by the way, particularly Helge 
Hafting, who pointed me down this path.


--
Michael Wojcik



Re: Macdvix does not work properly

2006-02-08 Thread Bennett Helm

On Feb 8, 2006, at 7:06 AM, jerome666 wrote:


Hello

I have installed Lyx and Macdvix on MacOS X Tiger. I would like to
use the reverse dvi function from Macdvix to Lyx.

To do that, I have include the line \usepackage[active]{srcltx} in the
preamble of my lyx document. It does not enable the reverse dvi.

I have aldso tried to modify the script of the calleditor as  
mentioned here
: http://wiki.lyx.org/LyX/LyXOnMac?from=LyX.Mac (search for  
"reverse dvi" to

see the related sentences). It failed.

Could someone help me to configure lyx or macdvix to enable the  
reverse dvi

function ?


Jerome -

There are apparently several problems, 2 of which I've solved. (I  
need help on the third.)


1. It looks like you need to add "exit 1" to the end of macdvix's  
calleditor.script in order for it actually to call lyxeditor.


2. The lyxeditor script needs to have some quoting to accommodate  
filenames and paths with spaces. I've attached a newer version of  
lyxeditor that should solve this problem. You'll need to put it in  
the .../LyX.app/Contents/MacOSX folder. (Note that since this is  
inside the LyX.app bundle, you'll need to select LyX.app in the  
finder, control-click to bring up the contextual menu, and select the  
"Show Package Contents" option.) Also, you may need to make this file  
executable by entering the following in the terminal, making the  
appropriate substitution for /Applications/LyX.app if you keep it  
somewhere different:


chmod +x /Applications/LyX.app/Contents/MacOSX/lyxeditor

3. When the lyxeditor script is invoked, it sends to lyxpipe.in  
something like the following:


LYXCMD:macdvix:server-goto-file-row:"filename.tex" 32

(where "32" is the line number it should go to). However, LyX seems  
to misinterpret this, and brings up a dialog saying, "Cannot open  
specified file: filename.lyx. Create a new document with this  
name?" (Note the different file extension: .tex versus .lyx.)  
Clicking "No" is the proper thing to do: it will take you to the  
proper place in the document. Does anyone know the proper way to  
avoid this spurious dialog?


Bennett



lyxeditor
Description: Binary data


how to force a straight quote (") ??

2006-02-08 Thread Kevin Pfeiffer
Hi all,

(in a bit of a panic here)

How do I force straight quote marks? As in:   5'-0"

I used the Insert -> Special Character -> Ordinary Quote

... and this worked fine in a simple test doc, but while checking the 
last book proof I discovered that these (which are inside a table) were 
converted to _closing  curly_ quotes (English).

(Help, please?)

-Kevin



-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


Re: how to force a straight quote (") ??

2006-02-08 Thread Kevin Pfeiffer
Kevin Pfeiffer writes:

> How do I force straight quote marks? As in:   5'-0"
>
> I used the Insert -> Special Character -> Ordinary Quote
>
> ... and this worked fine in a simple test doc, but while checking the
> last book proof I discovered that these (which are inside a table)
> were converted to _closing  curly_ quotes (English).

Found!

(slightly less panicky now)

\verb+"+

-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


Re: how to force a straight quote (") ??

2006-02-08 Thread Karsten Heymann

Hi Kevin,

Kevin Pfeiffer wrote:

Kevin Pfeiffer writes:

How do I force straight quote marks? As in:   5'-0"

Found!



\verb+"+


Maybe better (\verb is not allowed everywhere): \dq{} in ERT

Yours,
Karsten


Re: how to force a straight quote (") ??

2006-02-08 Thread Stephen Buonopane

On Feb 8, 2006, at 11:37 AM, Kevin Pfeiffer wrote:


Hi all,

(in a bit of a panic here)

How do I force straight quote marks? As in:   5'-0"

I used the Insert -> Special Character -> Ordinary Quote

... and this worked fine in a simple test doc, but while checking the
last book proof I discovered that these (which are inside a table) were
converted to _closing  curly_ quotes (English).

(Help, please?)

-Kevin



--
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations



you can also use in ERT
\textquotesingle
and
\textquotedbl



Re: Convert framemaker to docbook-lyx -- safest path?

2006-02-08 Thread Stephen Harris


- Original Message - 
From: "John Pye" <[EMAIL PROTECTED]>

To: "Georg Baum" <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, February 08, 2006 2:42 AM
Subject: Re: Convert framemaker to docbook-lyx -- safest path?



Hi Georg,

Georg Baum wrote:


John Pye wrote:

 


Can anyone offer any comments on what would be the 'safest path' for
converting Framemaker files into Docbook Lyx files?
   


I thought you might have a chance with Infty
http://www.inftyproject.org/en/demo.html#0002

"3. Online Recognition Test of InftyReader Ver.2.4.3d
You can test the recognition of YOUR math documents by 
InftyReader, ONLINE,. Click HERE"


SH: You can use Omnipage Pro(or other?) to convert your docs
to png or tiff. Infty claims that it can convert those formats at
400 or 600 dpi to several formats including tex. I tested the Online
conversion with English selected and it used Japanese anyway. I 
download Infty and it output tex but only a soso (English) conversion.


One can also save pdf as ps. I've seen ps2html and html2latex
scripts but they appear to have been abandoned, hard to find. 
I think your best chance is an OCR/image conversion to latex.

http://www.susqu.edu/brakke/PlateauBook/PlateauBook.html

I've had some success using Acrobat's Snapshot tool which
can copy a table and be saved ->->as an image file. Perhaps 
that could be inserted as a LyX graphic, if that helps at all. 


Regards,
Stephen


OCR breaks even at 94% accuracy (or rekey),
Stephen 









Searching for a cite in the lyx code

2006-02-08 Thread Horacio Emilio Pérez Sánchez

Hello all,

How can I search for a bibliographic reference inside the lyx code ? If I 
use the option inside "Edit" menu, it doesn't find references I know exist 
in the document.


Thanks in advance.



Re: how to force a straight quote (") ??

2006-02-08 Thread Juergen Spitzmueller
Kevin Pfeiffer wrote:

> How do I force straight quote marks? As in:   5'-0"

In LyX: String+Shift+"

Jürgen



Re: how to force a straight quote (") ??

2006-02-08 Thread Karsten Heymann

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Karsten Heymann schrieb:
| Kevin Pfeiffer wrote:
|> \verb+"+
| Maybe better (\verb is not allowed everywhere): \dq{} in ERT

I have to correct myself: \dq is definded only for (n)german. Better use
\textquotedbl as suggested by the other posters.

Yours,
Karsten
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD6j5kKLkXHxOeP2ERArYGAJ9doTLnw4G0pwvvQAyYDKOCtvSlvgCcC8IY
5Vi9/zW0d62O85Zfh7E3AeU=
=OI7a
-END PGP SIGNATURE-


Re: how to force a straight quote (") ??

2006-02-08 Thread Kevin Pfeiffer
Juergen Spitzmueller writes:
> Kevin Pfeiffer wrote:
> > How do I force straight quote marks? As in:   5'-0"
>
> In LyX: String+Shift+"

String = Streng   ?

i.e. Ctrl+Shift+"   ? (well, I guess I could go try this)

Thanks to all who posted!

-K





-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


Re: how to force a straight quote (") ??

2006-02-08 Thread Juergen Spitzmueller
Kevin Pfeiffer wrote:

> String = Streng   ?
> 
> i.e. Ctrl+Shift+"

Yes, sorry. Ctrl ("Strg" on my German keyboard).

Jürgen