Re: lyx 1.60cr2 issues

2008-09-09 Thread Abdelrazak Younes

Hello Matthew,

Matthew wrote:

I've been trying to use the candidate release for 1.6.  While there are some
nice new features, like the ability to cut and paste graphics there are some
changes and perhaps bugs which negatively impact lyx.

My first pet peeve is that the export document command doesn't appear to
generate any output, unless it's doing so in an unknown directory different
from the directory of the .lyx source.  In particular I'm trying to convert
a lyx 1.6 file back into a 1.5.3 file so that I can run a more 'stable'
version.


Are you using WinXP? If yes, this is a known bug that was detailled in 
Uwe's announcement:


!Important note!: Due to a bug in LyX you are first be able to export 
documents to e.g. PDF after opening the preferences dialog and clicking 
there on the save button.


[...]

My next peeve that I've found is that tab no longer navigates through the
cells in an eqnarray.  I haven't tried it with tables yet, but if it has the
same behavior there, that would also be bad.


This is being worked on. Hopefully fixed in the next rc.


After these problems I will stop testing 1.6 because I need to actually get
some work done.  Now if I could just convert my document back..


Try the Prefs dialog work around. In general 1.6rc is pretty stable but 
that is not a dot zero yet so, unless you know what you are doing, I 
suggest to keep using 1.5.x.


Abdel.




Re: reverse-DVI support for documents with Children?

2008-09-09 Thread Charles de Miramon
Cameron Stone wrote:

 
 However, it doesn't work completely for documents containing child
 documents as Includes. Does anyone know if/how this can be made to work?
 
I don't think it works with child documents. The new synctex synchronization
framework between pdf and latex supports child document and is better and
more precise but it is very new and there is no code for it neither in
Linux pdf viewers and LyX.

Cheers,
Charles

http://www.kde-france.org



Re: Harvard Style Redux

2008-09-09 Thread Jürgen Spitzmüller
Paul A. Rubin wrote:
 I think you're mixing apples and oranges here.  Natbib is designed to
 work with BibTeX, which means your references have to be in a BibTeX
 database file (.bib) and you have to use Insert - List - BibTeX
 bibliography to select the .bib file, rather than using the Bibliography
 environment to insert references directly into the document.

Not true. Natbib works just fine without bibtex, see attached file.

Norbert, please send a small ecample file that shows the problem.

Jürgen


natbib-bib.lyx
Description: application/lyx


Re: Change the Floatname only for some Floats

2008-09-09 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
 I have only some additional questions:
 1.) In the Lyx view of the document the numbering for the newly aux?

Sorry, this is slightly too elliptic for my parser. If you mean that Tableaux 
should be numbered in the LyX view: they are here.

 2.) The document I'm writing on uses KOMA-Script Book. I have changed the
 position of the table captions with the option tablecaptionabove in
 Document SettingsDocument ClassOptions. How can I get this positioning
 also for the newly created float-type?

In preamble:

\floatstyle{komaabove}
\restylefloat{tableau}

 Best wishes,
 Johannes

 P.S. I think adding this to the linguistics module in 1.6 would be great.

done. Grab it here:
http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/layouts/linguistics.module?format=raw

Jürgen


Re: OT: post-process postscript or PDF document to add page numbering and footer

2008-09-09 Thread G. Milde
On  6.09.08, Jeremy C. Reed wrote:
 I am looking for a solution to add running page numbering to a postscript 
 or PDF document and maybe add a footer or header (maybe with a horizontal 
 rule).

I suppose scribus (www.scribus.net) is able to do this (in a WYSIWYG
manner). It is a page layout program producing printer-ready PDF of
professional quality and comes with a QT GUI.

Günter


Re: Koma-script chapterentry font option

2008-09-09 Thread G. Milde
On  6.09.08, Guillaume Larocque wrote:
 Jean-Marie Pacquet a écrit :
 Is there any way I can change that font??

 chapterentry does not belong to the list of elements whose type  
 style can be changed with these commands. 

Maybe this is a new feature. Do the versions of the documentation and
the used style files match?

My scrguide.pdf says:

   Der Eintrag für die oberste Gliederungsebene unter \part, also
   \chapter bei scrbook und scrreprt beziehungsweise \section bei
   scrartcl wird nicht eingerückt. Dafür findet auf ihn die Schriftart
   für das Element sectioning (siehe Tabelle 3.3, Seite 61) Anwendung. 

so you could try configuring sectioning instead of chapterentry.

Günter


Re: lyx 1.60cr2 issues

2008-09-09 Thread G. Milde
On  8.09.08, Matthew wrote:

 ... the export document command doesn't appear to generate any output,
 ... In particular I'm trying to convert a lyx 1.6 file back into a
 1.5.3 file so that I can run a more 'stable' version.

Besides the bug mentionend in another reply: The default settings will
use the extension .lyx15 for the exported file and the file-open
dialogue in LyX-1.5 will not show it, as it expects a .lyx extension.

 My next problem is the bold font toggling in math mode.  ctrl-B generates a
 default \mathsymbol{} command which is wrong wrong wrong! 

No, not generally!

 A bold math character should almost always be non-italicized. The one
 exception may be Greek characters, but only because Latex has issues
 with that anyway.  The reason is that a bold letter represents a vector
 or matrix, which should never be in italic font. 

  The `International Union of Pure and Applied Physics` (IUPAP) and other
  international bodies recommend typsetting math according to International
  Standards ISO 31-0:1992 to ISO 31-13:1992 (see also  [NIST]_).
  
  The traditional `LaTeX-style` deviates in some points from this rules:
  
  * The ``\vec`` command produces an array accent, while ISO 31 recommends
an italic-bold typeface for vector symbols.
  
  .. [NIST] Typefaces for Symbols in Scientific Manuscripts:
http://physics.nist.gov/Document/typefaces.pdf

  -- http://pylit.berlios.de/examples/isomath.sty.html

Günter



Re: lyx 1.60cr2 issues

2008-09-09 Thread Konrad Hofbauer

G. Milde wrote:

Besides the bug mentionend in another reply: The default settings will
use the extension .lyx15 for the exported file and the file-open
dialogue in LyX-1.5 will not show it, as it expects a .lyx extension.


At least here on the Mac LyX-1.5.6 DOES show the .lyx15-files.
/Konrad



Re: lyx 1.60cr2 issues

2008-09-09 Thread G. Milde
On  9.09.08, Konrad Hofbauer wrote:
 G. Milde wrote:
 Besides the bug mentionend in another reply: The default settings will
 use the extension .lyx15 for the exported file and the file-open
 dialogue in LyX-1.5 will not show it, as it expects a .lyx extension.

 At least here on the Mac LyX-1.5.6 DOES show the .lyx15-files.

Here at Debian Linux; LyX 1.5.6 the file-open dialogue does

* NOT show *.lyx15   with the default filter
  setting LyX files (*.lyx), 
  
*  show them (of course) with All files (*).

But in the second case also all sort of irrelevant files are shown.

I solved this (partially) with changing the settings under
ToolsPreferencesFile HandlingFile formats
Format: Lyx 1.5  Extension 
from lyx15 to 15.lyx.

Günter


Defining a color for the rectangular box around a minipage

2008-09-09 Thread Paul Smith
Dear All,

How can one define a color for the rectangular box around a minipage?

Thanks in advance,

Paul


Re: lyx 1.60cr2 issues

2008-09-09 Thread Daniel Lohmann


On 09.09.2008, at 11:25, G. Milde wrote:


On  9.09.08, Konrad Hofbauer wrote:

G. Milde wrote:
Besides the bug mentionend in another reply: The default settings  
will

use the extension .lyx15 for the exported file and the file-open
dialogue in LyX-1.5 will not show it, as it expects a .lyx  
extension.



At least here on the Mac LyX-1.5.6 DOES show the .lyx15-files.


Here at Debian Linux; LyX 1.5.6 the file-open dialogue does

* NOT show *.lyx15   with the default filter
 setting LyX files (*.lyx),



IMHO it should be configurable via a preferences setting that a new  
LyX version uses by default the file format of the previous one, still  
named with the extension .lyx.   (MS Word has such an option, which is  
quite useful.)


Of course, using the old file format may imply that some new features  
are not available or do not become permanent in the saved file.  
Nevertheless, it would be of tremendous help to restrict newer LyX  
versions to the older format -- especially during transition times  
(e.g., while trying out release candidates or when not all co-authors  
have already updated to the newest version.)


Daniel 


Re: lyx 1.60cr2 issues

2008-09-09 Thread rgheck

James Sutherland wrote:
My next peeve that I've found is that tab no longer navigates through 
the
cells in an eqnarray. I haven't tried it with tables yet, but if it 
has the

same behavior there, that would also be bad.

I agree with this. The tab key has been taken over by the (VERY NICE) 
word completion system. I suppose that if enough people vote on this 
issue, we may succeed in convincing the developers to use a different 
approach to word completion (like emacs-style Esc-/).


This is a known issue, and there has been a lot of work on it in the 
last few days. Exactly what will end up happening isn't clear yet.


Richard



Re: lyx 1.60cr2 issues

2008-09-09 Thread rgheck

Daniel Lohmann wrote:


On 09.09.2008, at 11:25, G. Milde wrote:


On 9.09.08, Konrad Hofbauer wrote:

G. Milde wrote:

Besides the bug mentionend in another reply: The default settings will
use the extension .lyx15 for the exported file and the file-open
dialogue in LyX-1.5 will not show it, as it expects a .lyx 
extension.



At least here on the Mac LyX-1.5.6 DOES show the .lyx15-files.


Here at Debian Linux; LyX 1.5.6 the file-open dialogue does

* NOT show *.lyx15 with the default filter
setting LyX files (*.lyx),



IMHO it should be configurable via a preferences setting that a new 
LyX version uses by default the file format of the previous one, still 
named with the extension .lyx. (MS Word has such an option, which is 
quite useful.)


Of course, using the old file format may imply that some new features 
are not available or do not become permanent in the saved file. 
Nevertheless, it would be of tremendous help to restrict newer LyX 
versions to the older format -- especially during transition times 
(e.g., while trying out release candidates or when not all co-authors 
have already updated to the newest version.)


Feel free to file an enhancement bug about this. Whether anyone would 
implement it, I don't know. Part of the difficulty is that writing old 
versions is done in a very different way from writing new versions. The 
core LyX sources only know about the current version. The conversion is 
done with a python program called lyx2lyx which can, by the way, be 
called from outside LyX.


Richard


rh



pictures into the lyx file

2008-09-09 Thread Pol
posted  mailed

Is there a way to include pictures, I mean simple geometric pictures, into a
lyx file?
Metapost or something like that could be used?
 
Thank you
--
Pol



Re: Defining a color for the rectangular box around a minipage

2008-09-09 Thread Siegfried MEUNIER-GUTTIN-CLUZEL

You can use \fcolorbox{border color}{ inside color}{ content }
in ERT with the package color

See the Embedded Objects manual section 5.7.1

Siegfried.


Re: Koma-script chapterentry font option

2008-09-09 Thread Guillaume Larocque


G. Milde wrote:
 so you could try configuring sectioning instead of chapterentry.

That works, thanks! I just added

\addtokomafont{sectioning}{\rmfamily}

to my preamble and everything works. I guess chapterentry must be a new 
option.


Thanks again,

Guillaume


Re: Change the Floatname only for some Floats

2008-09-09 Thread Johannes Knaus


Am 09.09.2008 um 10:02 schrieb Jürgen Spitzmüller:


[EMAIL PROTECTED] wrote:

I have only some additional questions:
1.) In the Lyx view of the document the numbering for the newly aux?


Sorry, this is slightly too elliptic for my parser. If you mean that  
Tableaux

should be numbered in the LyX view: they are here.


Oh, sorry my thoughts went faster than my fingers ;-)
I indeed intended to write tableaux. The thing is: They are there but  
numbering in Lyx starts with a 0 while it's a 1 in the output.
Is it possible to make an equal numbering in both views (preferably  
starting with 1)?

But that's a minor issue.

All the rest works great.
Thanks a lot for your help.

Johannes



Re: Change the Floatname only for some Floats

2008-09-09 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
 I indeed intended to write tableaux. The thing is: They are there but  
 numbering in Lyx starts with a 0 while it's a 1 in the output.
 Is it possible to make an equal numbering in both views (preferably  
 starting with 1)?
 But that's a minor issue.

Strange. I have correct (staring from 1) numbering here.

Jürgen


Re: Defining a color for the rectangular box around a minipage

2008-09-09 Thread Paul Smith
On Tue, Sep 9, 2008 at 1:35 PM, Siegfried MEUNIER-GUTTIN-CLUZEL
[EMAIL PROTECTED] wrote:
 You can use \fcolorbox{border color}{ inside color}{ content }
 in ERT with the package color

 See the Embedded Objects manual section 5.7.1

Thanks, Siegfried. The problem with your approach is that for long
text boxes, the text does not get justified, unlike with text inside
minipages. I think LyX should have an option (for the user) to
selected the color of box around the minipage.

Just a side remark: \fcolorbox also works with the package xcolor.

Paul


Re: Defining a color for the rectangular box around a minipage

2008-09-09 Thread Paul Smith
On Tue, Sep 9, 2008 at 3:00 PM, Paul Smith [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] wrote:
 You can use \fcolorbox{border color}{ inside color}{ content }
 in ERT with the package color

 See the Embedded Objects manual section 5.7.1

 Thanks, Siegfried. The problem with your approach is that for long
 text boxes, the text does not get justified, unlike with text inside
 minipages. I think LyX should have an option (for the user) to
 selected the color of box around the minipage.

 Just a side remark: \fcolorbox also works with the package xcolor.

\fcolorbox can be made working with minipages. See the attached example.

Paul


colored_boxed_minipage.lyx
Description: application/lyx


Re: OT: post-process postscript or PDF document to add page numbering and footer

2008-09-09 Thread Zan
Maybe a clumsy work around but couldn't one do this in LyX?  Splitting up the 
original pdf into single pages (I use CombinePDF) and setting those pages as 
background images in your LyX document?  Could you then add header, footer, 
pagenumbers on top of the page images?

Z

On  6.09.08, Jeremy C. Reed wrote:
 I am looking for a solution to add running page numbering to a postscript 
 or PDF document and maybe add a footer or header (maybe with a horizontal 
 rule).

I suppose scribus (www.scribus.net) is able to do this (in a WYSIWYG
manner). It is a page layout program producing printer-ready PDF of
professional quality and comes with a QT GUI.

Günter


AVG free report threat after installing lyx 1.5.6 and 1.6.0 RC2

2008-09-09 Thread Ja Ma
Hello,

The system is vista. After installing lyx, a temporary folder was generated
in X:\Users\xxx\AppData\Temp\.  I don't remember the exact filename. It is
like nxxxaxx.tmp.  I tried intalling 1.6.0 RC2, the temporary folder was
generated again, only the filename was different.  However in both cases,
AVG free reported that Trojan agent threats was found in that temporary
folder.

I hope it is just a false report from AVG free. Anyone had the same
situation?

Thank you.


Re: pictures into the lyx file

2008-09-09 Thread Paul A. Rubin

Pol wrote:

posted  mailed

Is there a way to include pictures, I mean simple geometric pictures, into a
lyx file?
Metapost or something like that could be used?
 


Would either tikz or xy-pic do what you have in mind?

/Paul



Re: OT: post-process postscript or PDF document to add page numbering and footer

2008-09-09 Thread Jeremy C. Reed
On Tue, 9 Sep 2008, Zan wrote:

 Maybe a clumsy work around but couldn't one do this in LyX?  Splitting up the 
 original pdf into single pages (I use CombinePDF) and setting those pages as 
 background images in your LyX document?  Could you then add header, footer, 
 pagenumbers on top of the page images?
 
 Z
 
 On  6.09.08, Jeremy C. Reed wrote:
  I am looking for a solution to add running page numbering to a postscript 
  or PDF document and maybe add a footer or header (maybe with a horizontal 
  rule).
 
 I suppose scribus (www.scribus.net) is able to do this (in a WYSIWYG
 manner). It is a page layout program producing printer-ready PDF of
 professional quality and comes with a QT GUI.
 
 G?nter


I have thousands of pages to process. The first two volumes will be around 
600 pages each. I will need to automate.

Screen Magnification

2008-09-09 Thread Bruce Pourciau
Having just updated to LyX 1.5.6, I seem to have lost the screen  
magnification setting. The default setting is a bit hard to read on my  
monitor. What am I missing?


Bruce


Re: OT: post-process postscript or PDF document to add page numbering and footer

2008-09-09 Thread Jeremy C. Reed
 This may not be the slickest way, but I think you can do it all right in Lyx
 (or just  latex) with pdfpages
 
 in the preamble...
 \usepackage{pdfpages}
 \includepdfset{pagecommand={\thispagestyle{fancy}}}
 
 in the document...
 define what you want in the headers in ERT with \lhead{} etc.
 
 \includepdf[pages=-]{filename.pdf}

This will work. Thanks for giving me a hint. I was able to do some simple 
tests using fancydhr and pdfpages packages to do what I want. Now I just 
need to tune the placement of the PDF content and the headers/footers 
(including rules). I used LyX for my tests, but since I won't be doing any 
content writing or maintenance, I will probably just do in a very short 
LaTeX file in vi and use pdflatex.

Thanks again!


Generating PDF/A from LyX/LaTeX

2008-09-09 Thread Ernesto Posse
This question is not a LyX-only question, but I thought maybe someone
here could have an idea on this issue.

Has anyone succeeded in producing a PDF/A file (PDF for archival) from
LyX/LaTeX? I've tried tools that claim to generate PDF/A from
PostScript files or PDF files (both for Windows and Linux) but I
haven't been successful in generating a file which is considered PDF/A
compliant by at least two different validators, even with the
following minimal file (in LaTeX) via dvips:

=== file a.tex ===
\documentclass{article}
\begin{document}
Just this line...
\end{document}
=== end of file ===

I've tried generating through dvips:

dvips -o a.ps a.dvi

or

dvips -Ppdf -o a.ps a.dvi

then through ghostscript/ps2pdf as described in
http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm (I tried it on both
Windows Vista and Ubuntu)

I also tried generating with dvipdf and pdflatex, and then using a PDF
to PDF/A converter.

I've tried Acrobat 9 Pro (Distiller on Windows Vista), as well as
PDF2PDF from pdf-tools.com (On Windows Vista, XP and Ubuntu), PDF
Quick Master (On Windows XP), and PDF Appraiser (On Windows Vista and
XP)

Acrobat Distiller produces a PDF file and claims it is PDF/A
compliant, but when I run the compliance test within Acrobat, it
fails! (An Acrobat generated PDF/A file fails the Acrobat PDF/A test!)

Any ideas on how to generate PDF/A from LaTeX would be welcome...

Thanks

-- 
Ernesto Posse

Applied Formal Methods Group - Software Technology Lab
School of Computing
Queen's University - Kingston, Ontario, Canada


Re: lyx 1.60cr2 issues

2008-09-09 Thread Matthew Bromberg
I do like the new features and would love to continue working with 
1.60cr2 if there are some workarounds.  If there is a way to map ctrl-B 
back to \mathbf{} instead of \boldsymbol{}  it would do it for me. 

As for the export files bug, so far I have discovered that the export 
function sends the files to a subdirectory in the temp folder.  I 
haven't tried the workaround you mentioned here, though I'm not sure if 
I completely understand what you are saying.


As for the keymapping issue.  I see that one can map keys to lyx 
commands, one of which is something like  font-bold.  However how do you 
change the behavior of the lyx command?  Perhaps there is another lyx 
command that allows for generic latex macro substitution that could be 
keyboard mapped.  I will scour the documentation for that.   Also I 
suspect there is a way to make ctrl-B toggle like it used to, but I'm 
not sure how.  There wasn't anything in the keyboard mapping 
documentation to suggest it.


Thanks,
Matt

Abdelrazak Younes wrote:



Hello Matthew,

Matthew wrote:
I've been trying to use the candidate release for 1.6.  While there 
are some
nice new features, like the ability to cut and paste graphics there 
are some

changes and perhaps bugs which negatively impact lyx.

My first pet peeve is that the export document command doesn't appear to
generate any output, unless it's doing so in an unknown directory 
different
from the directory of the .lyx source.  In particular I'm trying to 
convert

a lyx 1.6 file back into a 1.5.3 file so that I can run a more 'stable'
version.


Are you using WinXP? If yes, this is a known bug that was detailled in 
Uwe's announcement:


!Important note!: Due to a bug in LyX you are first be able to export 
documents to e.g. PDF after opening the preferences dialog and 
clicking there on the save button.


[...]
My next peeve that I've found is that tab no longer navigates through 
the
cells in an eqnarray.  I haven't tried it with tables yet, but if it 
has the

same behavior there, that would also be bad.


This is being worked on. Hopefully fixed in the next rc.

After these problems I will stop testing 1.6 because I need to 
actually get

some work done.  Now if I could just convert my document back..


Try the Prefs dialog work around. In general 1.6rc is pretty stable 
but that is not a dot zero yet so, unless you know what you are doing, 
I suggest to keep using 1.5.x.


Abdel.





Re: lyx 1.60cr2 issues

2008-09-09 Thread rgheck

Matthew Bromberg wrote:
I do like the new features and would love to continue working with 
1.60cr2 if there are some workarounds.  If there is a way to map 
ctrl-B back to \mathbf{} instead of \boldsymbol{}  it would do it for me.



There seems motivation to do this. But we have to figure out exactly how.

As for the export files bug, so far I have discovered that the export 
function sends the files to a subdirectory in the temp folder.  I 
haven't tried the workaround you mentioned here, though I'm not sure 
if I completely understand what you are saying.


This is a bug connected with the preferences file, which you'll find in 
your local LyX directory. Do ToolsPreferences, and then hit OK or Save 
or whatever. That should do it.


As for the keymapping issue.  I see that one can map keys to lyx 
commands, one of which is something like  font-bold.  However how do 
you change the behavior of the lyx command? 

You can't really do that. You can just change which command it gets 
mapped to. But try this. Map Ctrl-Shift-B to math-insert \mathbf. It 
won't toggle, but it doesn't really need to in math. You can just hit 
spacebar when you are done with bold, and that will take you out of bold.


I suspect there is a way to make ctrl-B toggle like it used to, but 
I'm not sure how. 


This is a problem in the source code somewhere.

Richard



Re: Generating PDF/A from LyX/LaTeX

2008-09-09 Thread Steve Litt
On Tuesday 09 September 2008 12:54:38 pm Ernesto Posse wrote:
 This question is not a LyX-only question, but I thought maybe someone
 here could have an idea on this issue.

 Has anyone succeeded in producing a PDF/A file (PDF for archival) from
 LyX/LaTeX? I've tried tools that claim to generate PDF/A from
 PostScript files or PDF files (both for Windows and Linux) but I
 haven't been successful in generating a file which is considered PDF/A
 compliant by at least two different validators, even with the
 following minimal file (in LaTeX) via dvips:

 === file a.tex ===
 \documentclass{article}
 \begin{document}
 Just this line...
 \end{document}
 === end of file ===

 I've tried generating through dvips:

 dvips -o a.ps a.dvi

 or

 dvips -Ppdf -o a.ps a.dvi

 then through ghostscript/ps2pdf as described in
 http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm (I tried it on both
 Windows Vista and Ubuntu)

 I also tried generating with dvipdf and pdflatex, and then using a PDF
 to PDF/A converter.

 I've tried Acrobat 9 Pro (Distiller on Windows Vista), as well as
 PDF2PDF from pdf-tools.com (On Windows Vista, XP and Ubuntu), PDF
 Quick Master (On Windows XP), and PDF Appraiser (On Windows Vista and
 XP)

 Acrobat Distiller produces a PDF file and claims it is PDF/A
 compliant, but when I run the compliance test within Acrobat, it
 fails! (An Acrobat generated PDF/A file fails the Acrobat PDF/A test!)

 Any ideas on how to generate PDF/A from LaTeX would be welcome...

 Thanks

Hi Ernesto,

This isn't responsive to your question, but maybe, just maybe, it's responsive 
to your situation.

I see nothing but heartache in PDF/A. PDF/A test notwithstanding, I contend 
you don't REALLY know it it will render accurately (or at all) years from 
now. Things happen.

Of all the ways to define data, PDF is one of the most complex. I've modified 
PDFs with pdftk, and (ugh) with Vim. It's ugly, unless you know the whole 
standard by heart. It's not human readable.

More to the point, over years and decades, standards come and go. Those QIC 
tapes I so joyously used in 1994 are unreadable today unless I go out and buy 
a QIC tape drive and somehow get the matching software. Do you really think 
the ISO9660 standard so ubiquitous today will exist in 2050? Me neither. My 
prediction -- .tgz and .zip will be the stuff of old-timer reminiscences by 
then, the way Kaypro computers are today. And PDF, I doubt it will exist.

If something's really important to have throughout the ages, print it to nice, 
acid free paper, and store it appropriately. That will last at least 200 
years.

I called the US trademark office and asked whether I could submit my Ebooks' 
copyright specimens on paper in addition to electronically on CD. They said 
yes, they prefer it that way, because paper stands the test of time, and 
digital representations don't necessarily.

I have handwritten journal pages from the mid 1970's, written in ballpoint pen 
on cheap notebook paper, that are perfectly readable over 30 years later. I 
dare you to read a magtape from 1975.

If you have a lot of docs that must be archived, and space is a concern, 
perhaps microfiche is the way to go. I'd guess that will last at least 30 
years, always assuming they keep making microfiche readers.

If you MUST go digital, I recommend plain text. In 1987, when I first started 
making invoices for customers, I made a very savvy choice. All my invoices, 
from 1987 through the present, have been plain text. Formatting was done by 
inserting space characters. No tabs, which of course can be redefined by the 
rendering software. If you absolutely must go digital with data meant to 
survive a century, plain text is the way to do it. As long as ASCII exists 
(or a codepage that maps to old ASCII), and as long as I keep copying those 
invoices to media that can be read by newly current technologies, my invoices 
will be readable.

Personally, when I hear the words PDF and archive in the same sentence, I 
become very skeptical.

SteveT

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



Re: Generating PDF/A from LyX/LaTeX

2008-09-09 Thread Ernesto Posse
Hi. I do not have a particular preference for PDF/A, but unfortunately
my university requires electronic thesis submissions to be in PDF/A.
After seeing that even a minimalistic latex document seems to be
impossible to convert to  PDF/A, and realizing that there is no
consistency among PDF/A validators, I'm not becoming a fan of the
format. Nevertheless, I need to convert my thesis to this format...

On Tue, Sep 9, 2008 at 1:29 PM, Steve Litt [EMAIL PROTECTED] wrote:
 On Tuesday 09 September 2008 12:54:38 pm Ernesto Posse wrote:
 This question is not a LyX-only question, but I thought maybe someone
 here could have an idea on this issue.

 Has anyone succeeded in producing a PDF/A file (PDF for archival) from
 LyX/LaTeX? I've tried tools that claim to generate PDF/A from
 PostScript files or PDF files (both for Windows and Linux) but I
 haven't been successful in generating a file which is considered PDF/A
 compliant by at least two different validators, even with the
 following minimal file (in LaTeX) via dvips:

 === file a.tex ===
 \documentclass{article}
 \begin{document}
 Just this line...
 \end{document}
 === end of file ===

 I've tried generating through dvips:

 dvips -o a.ps a.dvi

 or

 dvips -Ppdf -o a.ps a.dvi

 then through ghostscript/ps2pdf as described in
 http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm (I tried it on both
 Windows Vista and Ubuntu)

 I also tried generating with dvipdf and pdflatex, and then using a PDF
 to PDF/A converter.

 I've tried Acrobat 9 Pro (Distiller on Windows Vista), as well as
 PDF2PDF from pdf-tools.com (On Windows Vista, XP and Ubuntu), PDF
 Quick Master (On Windows XP), and PDF Appraiser (On Windows Vista and
 XP)

 Acrobat Distiller produces a PDF file and claims it is PDF/A
 compliant, but when I run the compliance test within Acrobat, it
 fails! (An Acrobat generated PDF/A file fails the Acrobat PDF/A test!)

 Any ideas on how to generate PDF/A from LaTeX would be welcome...

 Thanks

 Hi Ernesto,

 This isn't responsive to your question, but maybe, just maybe, it's responsive
 to your situation.

 I see nothing but heartache in PDF/A. PDF/A test notwithstanding, I contend
 you don't REALLY know it it will render accurately (or at all) years from
 now. Things happen.

 Of all the ways to define data, PDF is one of the most complex. I've modified
 PDFs with pdftk, and (ugh) with Vim. It's ugly, unless you know the whole
 standard by heart. It's not human readable.

 More to the point, over years and decades, standards come and go. Those QIC
 tapes I so joyously used in 1994 are unreadable today unless I go out and buy
 a QIC tape drive and somehow get the matching software. Do you really think
 the ISO9660 standard so ubiquitous today will exist in 2050? Me neither. My
 prediction -- .tgz and .zip will be the stuff of old-timer reminiscences by
 then, the way Kaypro computers are today. And PDF, I doubt it will exist.

 If something's really important to have throughout the ages, print it to nice,
 acid free paper, and store it appropriately. That will last at least 200
 years.

 I called the US trademark office and asked whether I could submit my Ebooks'
 copyright specimens on paper in addition to electronically on CD. They said
 yes, they prefer it that way, because paper stands the test of time, and
 digital representations don't necessarily.

 I have handwritten journal pages from the mid 1970's, written in ballpoint pen
 on cheap notebook paper, that are perfectly readable over 30 years later. I
 dare you to read a magtape from 1975.

 If you have a lot of docs that must be archived, and space is a concern,
 perhaps microfiche is the way to go. I'd guess that will last at least 30
 years, always assuming they keep making microfiche readers.

 If you MUST go digital, I recommend plain text. In 1987, when I first started
 making invoices for customers, I made a very savvy choice. All my invoices,
 from 1987 through the present, have been plain text. Formatting was done by
 inserting space characters. No tabs, which of course can be redefined by the
 rendering software. If you absolutely must go digital with data meant to
 survive a century, plain text is the way to do it. As long as ASCII exists
 (or a codepage that maps to old ASCII), and as long as I keep copying those
 invoices to media that can be read by newly current technologies, my invoices
 will be readable.

 Personally, when I hear the words PDF and archive in the same sentence, I
 become very skeptical.

 SteveT

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





-- 
Ernesto Posse

Applied Formal Methods Group - Software Technology Lab
School of Computing
Queen's University - Kingston, Ontario, Canada


Re: Screen Magnification

2008-09-09 Thread Paul A. Rubin

Bruce Pourciau wrote:
Having just updated to LyX 1.5.6, I seem to have lost the screen 
magnification setting. The default setting is a bit hard to read on my 
monitor. What am I missing?


Young eyes (same here).

Does Tools - Preferences... - Look and feel - Screen fonts - Zoom % 
not blow things up for you?


/Paul



Re: pictures into the lyx file

2008-09-09 Thread Pol
Paul A. Rubin wrote:

 Pol wrote:
 posted  mailed
 
 Is there a way to include pictures, I mean simple geometric pictures,
 into a lyx file?
 Metapost or something like that could be used?
  
 
 Would either tikz or xy-pic do what you have in mind?
 

I have never tried those format. Can they be included into a lyx file?
How to do?

Thank you
--
Pol




Re: Generating PDF/A from LyX/LaTeX

2008-09-09 Thread William Adams

On Sep 9, 2008, at 12:54 PM, Ernesto Posse wrote:


Has anyone succeeded in producing a PDF/A file (PDF for archival) from
LyX/LaTeX? I've tried tools that claim to generate PDF/A from
PostScript files or PDF files (both for Windows and Linux) but I
haven't been successful in generating a file which is considered PDF/A
compliant by at least two different validators, even with the
following minimal file (in LaTeX) via dvips:



Since pdflatex can't insert .pdf tags (or is there a package for  
this?), you need to certify against pdf/A-1b:


 - Open the file in Adobe Acrobat
 - Save File As and choose as Format: PDF/A
 - choose pdf/a-1b in the pop-up
 - quit Acrobat
 - re-open the file
 - preflight (successfully) as PDF/A-1b

William

--
William Adams
senior graphic designer
Fry Communications




Re: Generating PDF/A from LyX/LaTeX

2008-09-09 Thread Ernesto Posse
On Tue, Sep 9, 2008 at 4:02 PM, William Adams [EMAIL PROTECTED] wrote:
 On Sep 9, 2008, at 12:54 PM, Ernesto Posse wrote:

 Has anyone succeeded in producing a PDF/A file (PDF for archival) from
 LyX/LaTeX? I've tried tools that claim to generate PDF/A from
 PostScript files or PDF files (both for Windows and Linux) but I
 haven't been successful in generating a file which is considered PDF/A
 compliant by at least two different validators, even with the
 following minimal file (in LaTeX) via dvips:


 Since pdflatex can't insert .pdf tags (or is there a package for this?), you
 need to certify against pdf/A-1b:

  - Open the file in Adobe Acrobat
  - Save File As and choose as Format: PDF/A
  - choose pdf/a-1b in the pop-up
  - quit Acrobat
  - re-open the file
  - preflight (successfully) as PDF/A-1b


It doesn't work for me. I have tried PDF/A-1b:2005(CMYK) and
PDF/A-1b:2005(RGB), and preflight still complains. In particular it
gives me an error Width information for glyphs is inconsistent (1
match on 1 page)

I tried the conversion directly through Distiller and within Acrobat itself...

 William

 --
 William Adams
 senior graphic designer
 Fry Communications






-- 
Ernesto Posse

Applied Formal Methods Group - Software Technology Lab
School of Computing
Queen's University - Kingston, Ontario, Canada


Re: Generating PDF/A from LyX/LaTeX

2008-09-09 Thread Steve Litt
What a nightmare!

What does the university say about validators -- any validator, all 
validators, Adobe's validator?

The PDF/A Wikipedia page makes it look pretty straightforward -- all fonts 
embedded, all fonts legal everywhere, no video, audio or javascript, device 
independent color.

Makes sense when thought about from a portability as opposed to a long term 
archival viewpoint. And it seems straightforward, except for proving it :-)

SteveT

On Tuesday 09 September 2008 02:00:54 pm Ernesto Posse wrote:
 Hi. I do not have a particular preference for PDF/A, but unfortunately
 my university requires electronic thesis submissions to be in PDF/A.
 After seeing that even a minimalistic latex document seems to be
 impossible to convert to  PDF/A, and realizing that there is no
 consistency among PDF/A validators, I'm not becoming a fan of the
 format. Nevertheless, I need to convert my thesis to this format...

 On Tue, Sep 9, 2008 at 1:29 PM, Steve Litt [EMAIL PROTECTED] 
wrote:
  On Tuesday 09 September 2008 12:54:38 pm Ernesto Posse wrote:
  This question is not a LyX-only question, but I thought maybe someone
  here could have an idea on this issue.
 
  Has anyone succeeded in producing a PDF/A file (PDF for archival) from
  LyX/LaTeX? I've tried tools that claim to generate PDF/A from
  PostScript files or PDF files (both for Windows and Linux) but I
  haven't been successful in generating a file which is considered PDF/A
  compliant by at least two different validators, even with the
  following minimal file (in LaTeX) via dvips:
 
  === file a.tex ===
  \documentclass{article}
  \begin{document}
  Just this line...
  \end{document}
  === end of file ===
 
  I've tried generating through dvips:
 
  dvips -o a.ps a.dvi
 
  or
 
  dvips -Ppdf -o a.ps a.dvi
 
  then through ghostscript/ps2pdf as described in
  http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm (I tried it on both
  Windows Vista and Ubuntu)
 
  I also tried generating with dvipdf and pdflatex, and then using a PDF
  to PDF/A converter.
 
  I've tried Acrobat 9 Pro (Distiller on Windows Vista), as well as
  PDF2PDF from pdf-tools.com (On Windows Vista, XP and Ubuntu), PDF
  Quick Master (On Windows XP), and PDF Appraiser (On Windows Vista and
  XP)
 
  Acrobat Distiller produces a PDF file and claims it is PDF/A
  compliant, but when I run the compliance test within Acrobat, it
  fails! (An Acrobat generated PDF/A file fails the Acrobat PDF/A test!)
 
  Any ideas on how to generate PDF/A from LaTeX would be welcome...
 
  Thanks
 
  Hi Ernesto,
 
  This isn't responsive to your question, but maybe, just maybe, it's
  responsive to your situation.
 
  I see nothing but heartache in PDF/A. PDF/A test notwithstanding, I
  contend you don't REALLY know it it will render accurately (or at all)
  years from now. Things happen.
 
  Of all the ways to define data, PDF is one of the most complex. I've
  modified PDFs with pdftk, and (ugh) with Vim. It's ugly, unless you know
  the whole standard by heart. It's not human readable.
 
  More to the point, over years and decades, standards come and go. Those
  QIC tapes I so joyously used in 1994 are unreadable today unless I go out
  and buy a QIC tape drive and somehow get the matching software. Do you
  really think the ISO9660 standard so ubiquitous today will exist in 2050?
  Me neither. My prediction -- .tgz and .zip will be the stuff of old-timer
  reminiscences by then, the way Kaypro computers are today. And PDF, I
  doubt it will exist.
 
  If something's really important to have throughout the ages, print it to
  nice, acid free paper, and store it appropriately. That will last at
  least 200 years.
 
  I called the US trademark office and asked whether I could submit my
  Ebooks' copyright specimens on paper in addition to electronically on CD.
  They said yes, they prefer it that way, because paper stands the test of
  time, and digital representations don't necessarily.
 
  I have handwritten journal pages from the mid 1970's, written in
  ballpoint pen on cheap notebook paper, that are perfectly readable over
  30 years later. I dare you to read a magtape from 1975.
 
  If you have a lot of docs that must be archived, and space is a concern,
  perhaps microfiche is the way to go. I'd guess that will last at least 30
  years, always assuming they keep making microfiche readers.
 
  If you MUST go digital, I recommend plain text. In 1987, when I first
  started making invoices for customers, I made a very savvy choice. All my
  invoices, from 1987 through the present, have been plain text. Formatting
  was done by inserting space characters. No tabs, which of course can be
  redefined by the rendering software. If you absolutely must go digital
  with data meant to survive a century, plain text is the way to do it. As
  long as ASCII exists (or a codepage that maps to old ASCII), and as long
  as I keep copying those invoices to media that can be read by newly
  current technologies, 

Re: Generating PDF/A from LyX/LaTeX

2008-09-09 Thread Ernesto Posse
On Tue, Sep 9, 2008 at 5:56 PM, Steve Litt [EMAIL PROTECTED] wrote:
 What a nightmare!

Indeed.

 What does the university say about validators -- any validator, all
 validators, Adobe's validator?

They use Acrobat's. It seems that Adobe's Distiller has its own
validator which is different than Acrobat's, since Distiller says the
generated file is compliant, but Acrobat says it is not.


 The PDF/A Wikipedia page makes it look pretty straightforward -- all fonts
 embedded, all fonts legal everywhere, no video, audio or javascript, device
 independent color.

As far as I know, the generated PDF includes all fonts, and since it's
that minimal latex file I mentioned, it does not have anything fancy,
no audio, no video, no javascript, not event hyperrefs.


 Makes sense when thought about from a portability as opposed to a long term
 archival viewpoint. And it seems straightforward, except for proving it :-)

 SteveT

 On Tuesday 09 September 2008 02:00:54 pm Ernesto Posse wrote:
 Hi. I do not have a particular preference for PDF/A, but unfortunately
 my university requires electronic thesis submissions to be in PDF/A.
 After seeing that even a minimalistic latex document seems to be
 impossible to convert to  PDF/A, and realizing that there is no
 consistency among PDF/A validators, I'm not becoming a fan of the
 format. Nevertheless, I need to convert my thesis to this format...

 On Tue, Sep 9, 2008 at 1:29 PM, Steve Litt [EMAIL PROTECTED]
 wrote:
  On Tuesday 09 September 2008 12:54:38 pm Ernesto Posse wrote:
  This question is not a LyX-only question, but I thought maybe someone
  here could have an idea on this issue.
 
  Has anyone succeeded in producing a PDF/A file (PDF for archival) from
  LyX/LaTeX? I've tried tools that claim to generate PDF/A from
  PostScript files or PDF files (both for Windows and Linux) but I
  haven't been successful in generating a file which is considered PDF/A
  compliant by at least two different validators, even with the
  following minimal file (in LaTeX) via dvips:
 
  === file a.tex ===
  \documentclass{article}
  \begin{document}
  Just this line...
  \end{document}
  === end of file ===
 
  I've tried generating through dvips:
 
  dvips -o a.ps a.dvi
 
  or
 
  dvips -Ppdf -o a.ps a.dvi
 
  then through ghostscript/ps2pdf as described in
  http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm (I tried it on both
  Windows Vista and Ubuntu)
 
  I also tried generating with dvipdf and pdflatex, and then using a PDF
  to PDF/A converter.
 
  I've tried Acrobat 9 Pro (Distiller on Windows Vista), as well as
  PDF2PDF from pdf-tools.com (On Windows Vista, XP and Ubuntu), PDF
  Quick Master (On Windows XP), and PDF Appraiser (On Windows Vista and
  XP)
 
  Acrobat Distiller produces a PDF file and claims it is PDF/A
  compliant, but when I run the compliance test within Acrobat, it
  fails! (An Acrobat generated PDF/A file fails the Acrobat PDF/A test!)
 
  Any ideas on how to generate PDF/A from LaTeX would be welcome...
 
  Thanks
 
  Hi Ernesto,
 
  This isn't responsive to your question, but maybe, just maybe, it's
  responsive to your situation.
 
  I see nothing but heartache in PDF/A. PDF/A test notwithstanding, I
  contend you don't REALLY know it it will render accurately (or at all)
  years from now. Things happen.
 
  Of all the ways to define data, PDF is one of the most complex. I've
  modified PDFs with pdftk, and (ugh) with Vim. It's ugly, unless you know
  the whole standard by heart. It's not human readable.
 
  More to the point, over years and decades, standards come and go. Those
  QIC tapes I so joyously used in 1994 are unreadable today unless I go out
  and buy a QIC tape drive and somehow get the matching software. Do you
  really think the ISO9660 standard so ubiquitous today will exist in 2050?
  Me neither. My prediction -- .tgz and .zip will be the stuff of old-timer
  reminiscences by then, the way Kaypro computers are today. And PDF, I
  doubt it will exist.
 
  If something's really important to have throughout the ages, print it to
  nice, acid free paper, and store it appropriately. That will last at
  least 200 years.
 
  I called the US trademark office and asked whether I could submit my
  Ebooks' copyright specimens on paper in addition to electronically on CD.
  They said yes, they prefer it that way, because paper stands the test of
  time, and digital representations don't necessarily.
 
  I have handwritten journal pages from the mid 1970's, written in
  ballpoint pen on cheap notebook paper, that are perfectly readable over
  30 years later. I dare you to read a magtape from 1975.
 
  If you have a lot of docs that must be archived, and space is a concern,
  perhaps microfiche is the way to go. I'd guess that will last at least 30
  years, always assuming they keep making microfiche readers.
 
  If you MUST go digital, I recommend plain text. In 1987, when I first
  started making invoices for customers, I made a very savvy choice. 

Re: Generating PDF/A from LyX/LaTeX

2008-09-09 Thread Steve Litt
On Tuesday 09 September 2008 06:25:54 pm Ernesto Posse wrote:
 On Tue, Sep 9, 2008 at 5:56 PM, Steve Litt [EMAIL PROTECTED] 
wrote:
  What a nightmare!

 Indeed.

  What does the university say about validators -- any validator, all
  validators, Adobe's validator?

 They use Acrobat's. It seems that Adobe's Distiller has its own
 validator which is different than Acrobat's, since Distiller says the
 generated file is compliant, but Acrobat says it is not.

Next step -- find a small PDF that the Acrobat validator says complies, and 
try to exploit the differences between that file and your timy LyX-derived 
PDF. Also this will tell you if your particular validator won't pass 
ANYTHING.

SteveT


Re: pictures into the lyx file

2008-09-09 Thread Paul A. Rubin

Pol wrote:

Paul A. Rubin wrote:


Pol wrote:

posted  mailed

Is there a way to include pictures, I mean simple geometric pictures,
into a lyx file?
Metapost or something like that could be used?
 

Would either tikz or xy-pic do what you have in mind?



I have never tried those format. Can they be included into a lyx file?
How to do?



TiKZ pictures are written using LaTeX macros, so you can either write 
the code in an ERT inset or put it in an external text file and include 
the file (as LaTeX).  You will not see the picture in the LyX GUI, but 
it will show up in the compiled output.  Here is a small example, 
entered as ERT in a beamer presentation:


\begin{tikzpicture}
\draw (0mm, 0mm) node {A};
\draw[-] (5mm, 0mm) -- (15mm,0mm);
\draw (20mm, 0mm) node {B};
\draw[-] (25mm, 0mm) -- (35mm, 0mm);
\draw (40mm, 0mm) node {C};
\draw[-] (45mm, 0mm) -- (55mm, 0mm);
\draw (60mm, 0mm) node {D};
\draw[-] (65mm, 0mm) -- (75mm, 0mm);
\draw (80mm, 0mm) node {E};
\end{tikzpicture}

This plots the density function of a triangular random variable.  If you 
want to see the compiled output, you can download 
http://mgt.bus.msu.edu/~rubin/MSC871/MSSCM_Z_score_example.pdf.  It's on 
slide 3.  The TiKZ package contains some basic shapes, an assortment of 
lines and arrows, and has a mechanism that lets you create diagrams 
consisting of nodes and arcs as well as more general drawings.


The xypic package may not be ideal for drawing shapes (other than maybe 
polygons).  You insert diagrams into a special type of matrix structure 
in a math inset.  It seems to be designed for graphs and diagrams with 
arrows connecting pieces, but you can for example draw a cube with it. 
Think of each matrix entry as a node or vertex that can be connected via 
lines to other nodes/vertices.  The redeeming feature of xypic would be 
that, provided you had math preview turned on, you would see what you 
were drawing in the GUI (following the usual delay for instant preview 
to catch up to your changes).


It is easy to embed a compiled image (PDF, JPG, PNG, EPS, ...) from a 
suitable drawing/graphing program.  I take it that's not what you want?


/Paul



Re: lyx 1.60cr2 issues

2008-09-09 Thread Abdelrazak Younes

Hello Matthew,

Matthew wrote:

I've been trying to use the candidate release for 1.6.  While there are some
nice new features, like the ability to cut and paste graphics there are some
changes and perhaps bugs which negatively impact lyx.

My first pet peeve is that the export document command doesn't appear to
generate any output, unless it's doing so in an unknown directory different
from the directory of the .lyx source.  In particular I'm trying to convert
a lyx 1.6 file back into a 1.5.3 file so that I can run a more 'stable'
version.


Are you using WinXP? If yes, this is a known bug that was detailled in 
Uwe's announcement:


!Important note!: Due to a bug in LyX you are first be able to export 
documents to e.g. PDF after opening the preferences dialog and clicking 
there on the save button.


[...]

My next peeve that I've found is that tab no longer navigates through the
cells in an eqnarray.  I haven't tried it with tables yet, but if it has the
same behavior there, that would also be bad.


This is being worked on. Hopefully fixed in the next rc.


After these problems I will stop testing 1.6 because I need to actually get
some work done.  Now if I could just convert my document back..


Try the Prefs dialog work around. In general 1.6rc is pretty stable but 
that is not a dot zero yet so, unless you know what you are doing, I 
suggest to keep using 1.5.x.


Abdel.




Re: reverse-DVI support for documents with Children?

2008-09-09 Thread Charles de Miramon
Cameron Stone wrote:

 
 However, it doesn't work completely for documents containing child
 documents as Includes. Does anyone know if/how this can be made to work?
 
I don't think it works with child documents. The new synctex synchronization
framework between pdf and latex supports child document and is better and
more precise but it is very new and there is no code for it neither in
Linux pdf viewers and LyX.

Cheers,
Charles

http://www.kde-france.org



Re: Harvard Style Redux

2008-09-09 Thread Jürgen Spitzmüller
Paul A. Rubin wrote:
 I think you're mixing apples and oranges here.  Natbib is designed to
 work with BibTeX, which means your references have to be in a BibTeX
 database file (.bib) and you have to use Insert - List - BibTeX
 bibliography to select the .bib file, rather than using the Bibliography
 environment to insert references directly into the document.

Not true. Natbib works just fine without bibtex, see attached file.

Norbert, please send a small ecample file that shows the problem.

Jürgen


natbib-bib.lyx
Description: application/lyx


Re: Change the Floatname only for some Floats

2008-09-09 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
 I have only some additional questions:
 1.) In the Lyx view of the document the numbering for the newly aux?

Sorry, this is slightly too elliptic for my parser. If you mean that Tableaux 
should be numbered in the LyX view: they are here.

 2.) The document I'm writing on uses KOMA-Script Book. I have changed the
 position of the table captions with the option tablecaptionabove in
 Document SettingsDocument ClassOptions. How can I get this positioning
 also for the newly created float-type?

In preamble:

\floatstyle{komaabove}
\restylefloat{tableau}

 Best wishes,
 Johannes

 P.S. I think adding this to the linguistics module in 1.6 would be great.

done. Grab it here:
http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/layouts/linguistics.module?format=raw

Jürgen


Re: OT: post-process postscript or PDF document to add page numbering and footer

2008-09-09 Thread G. Milde
On  6.09.08, Jeremy C. Reed wrote:
 I am looking for a solution to add running page numbering to a postscript 
 or PDF document and maybe add a footer or header (maybe with a horizontal 
 rule).

I suppose scribus (www.scribus.net) is able to do this (in a WYSIWYG
manner). It is a page layout program producing printer-ready PDF of
professional quality and comes with a QT GUI.

Günter


Re: Koma-script chapterentry font option

2008-09-09 Thread G. Milde
On  6.09.08, Guillaume Larocque wrote:
 Jean-Marie Pacquet a écrit :
 Is there any way I can change that font??

 chapterentry does not belong to the list of elements whose type  
 style can be changed with these commands. 

Maybe this is a new feature. Do the versions of the documentation and
the used style files match?

My scrguide.pdf says:

   Der Eintrag für die oberste Gliederungsebene unter \part, also
   \chapter bei scrbook und scrreprt beziehungsweise \section bei
   scrartcl wird nicht eingerückt. Dafür findet auf ihn die Schriftart
   für das Element sectioning (siehe Tabelle 3.3, Seite 61) Anwendung. 

so you could try configuring sectioning instead of chapterentry.

Günter


Re: lyx 1.60cr2 issues

2008-09-09 Thread G. Milde
On  8.09.08, Matthew wrote:

 ... the export document command doesn't appear to generate any output,
 ... In particular I'm trying to convert a lyx 1.6 file back into a
 1.5.3 file so that I can run a more 'stable' version.

Besides the bug mentionend in another reply: The default settings will
use the extension .lyx15 for the exported file and the file-open
dialogue in LyX-1.5 will not show it, as it expects a .lyx extension.

 My next problem is the bold font toggling in math mode.  ctrl-B generates a
 default \mathsymbol{} command which is wrong wrong wrong! 

No, not generally!

 A bold math character should almost always be non-italicized. The one
 exception may be Greek characters, but only because Latex has issues
 with that anyway.  The reason is that a bold letter represents a vector
 or matrix, which should never be in italic font. 

  The `International Union of Pure and Applied Physics` (IUPAP) and other
  international bodies recommend typsetting math according to International
  Standards ISO 31-0:1992 to ISO 31-13:1992 (see also  [NIST]_).
  
  The traditional `LaTeX-style` deviates in some points from this rules:
  
  * The ``\vec`` command produces an array accent, while ISO 31 recommends
an italic-bold typeface for vector symbols.
  
  .. [NIST] Typefaces for Symbols in Scientific Manuscripts:
http://physics.nist.gov/Document/typefaces.pdf

  -- http://pylit.berlios.de/examples/isomath.sty.html

Günter



Re: lyx 1.60cr2 issues

2008-09-09 Thread Konrad Hofbauer

G. Milde wrote:

Besides the bug mentionend in another reply: The default settings will
use the extension .lyx15 for the exported file and the file-open
dialogue in LyX-1.5 will not show it, as it expects a .lyx extension.


At least here on the Mac LyX-1.5.6 DOES show the .lyx15-files.
/Konrad



Re: lyx 1.60cr2 issues

2008-09-09 Thread G. Milde
On  9.09.08, Konrad Hofbauer wrote:
 G. Milde wrote:
 Besides the bug mentionend in another reply: The default settings will
 use the extension .lyx15 for the exported file and the file-open
 dialogue in LyX-1.5 will not show it, as it expects a .lyx extension.

 At least here on the Mac LyX-1.5.6 DOES show the .lyx15-files.

Here at Debian Linux; LyX 1.5.6 the file-open dialogue does

* NOT show *.lyx15   with the default filter
  setting LyX files (*.lyx), 
  
*  show them (of course) with All files (*).

But in the second case also all sort of irrelevant files are shown.

I solved this (partially) with changing the settings under
ToolsPreferencesFile HandlingFile formats
Format: Lyx 1.5  Extension 
from lyx15 to 15.lyx.

Günter


Defining a color for the rectangular box around a minipage

2008-09-09 Thread Paul Smith
Dear All,

How can one define a color for the rectangular box around a minipage?

Thanks in advance,

Paul


Re: lyx 1.60cr2 issues

2008-09-09 Thread Daniel Lohmann


On 09.09.2008, at 11:25, G. Milde wrote:


On  9.09.08, Konrad Hofbauer wrote:

G. Milde wrote:
Besides the bug mentionend in another reply: The default settings  
will

use the extension .lyx15 for the exported file and the file-open
dialogue in LyX-1.5 will not show it, as it expects a .lyx  
extension.



At least here on the Mac LyX-1.5.6 DOES show the .lyx15-files.


Here at Debian Linux; LyX 1.5.6 the file-open dialogue does

* NOT show *.lyx15   with the default filter
 setting LyX files (*.lyx),



IMHO it should be configurable via a preferences setting that a new  
LyX version uses by default the file format of the previous one, still  
named with the extension .lyx.   (MS Word has such an option, which is  
quite useful.)


Of course, using the old file format may imply that some new features  
are not available or do not become permanent in the saved file.  
Nevertheless, it would be of tremendous help to restrict newer LyX  
versions to the older format -- especially during transition times  
(e.g., while trying out release candidates or when not all co-authors  
have already updated to the newest version.)


Daniel 


Re: lyx 1.60cr2 issues

2008-09-09 Thread rgheck

James Sutherland wrote:
My next peeve that I've found is that tab no longer navigates through 
the
cells in an eqnarray. I haven't tried it with tables yet, but if it 
has the

same behavior there, that would also be bad.

I agree with this. The tab key has been taken over by the (VERY NICE) 
word completion system. I suppose that if enough people vote on this 
issue, we may succeed in convincing the developers to use a different 
approach to word completion (like emacs-style Esc-/).


This is a known issue, and there has been a lot of work on it in the 
last few days. Exactly what will end up happening isn't clear yet.


Richard



Re: lyx 1.60cr2 issues

2008-09-09 Thread rgheck

Daniel Lohmann wrote:


On 09.09.2008, at 11:25, G. Milde wrote:


On 9.09.08, Konrad Hofbauer wrote:

G. Milde wrote:

Besides the bug mentionend in another reply: The default settings will
use the extension .lyx15 for the exported file and the file-open
dialogue in LyX-1.5 will not show it, as it expects a .lyx 
extension.



At least here on the Mac LyX-1.5.6 DOES show the .lyx15-files.


Here at Debian Linux; LyX 1.5.6 the file-open dialogue does

* NOT show *.lyx15 with the default filter
setting LyX files (*.lyx),



IMHO it should be configurable via a preferences setting that a new 
LyX version uses by default the file format of the previous one, still 
named with the extension .lyx. (MS Word has such an option, which is 
quite useful.)


Of course, using the old file format may imply that some new features 
are not available or do not become permanent in the saved file. 
Nevertheless, it would be of tremendous help to restrict newer LyX 
versions to the older format -- especially during transition times 
(e.g., while trying out release candidates or when not all co-authors 
have already updated to the newest version.)


Feel free to file an enhancement bug about this. Whether anyone would 
implement it, I don't know. Part of the difficulty is that writing old 
versions is done in a very different way from writing new versions. The 
core LyX sources only know about the current version. The conversion is 
done with a python program called lyx2lyx which can, by the way, be 
called from outside LyX.


Richard


rh



pictures into the lyx file

2008-09-09 Thread Pol
posted  mailed

Is there a way to include pictures, I mean simple geometric pictures, into a
lyx file?
Metapost or something like that could be used?
 
Thank you
--
Pol



Re: Defining a color for the rectangular box around a minipage

2008-09-09 Thread Siegfried MEUNIER-GUTTIN-CLUZEL

You can use \fcolorbox{border color}{ inside color}{ content }
in ERT with the package color

See the Embedded Objects manual section 5.7.1

Siegfried.


Re: Koma-script chapterentry font option

2008-09-09 Thread Guillaume Larocque


G. Milde wrote:
 so you could try configuring sectioning instead of chapterentry.

That works, thanks! I just added

\addtokomafont{sectioning}{\rmfamily}

to my preamble and everything works. I guess chapterentry must be a new 
option.


Thanks again,

Guillaume


Re: Change the Floatname only for some Floats

2008-09-09 Thread Johannes Knaus


Am 09.09.2008 um 10:02 schrieb Jürgen Spitzmüller:


[EMAIL PROTECTED] wrote:

I have only some additional questions:
1.) In the Lyx view of the document the numbering for the newly aux?


Sorry, this is slightly too elliptic for my parser. If you mean that  
Tableaux

should be numbered in the LyX view: they are here.


Oh, sorry my thoughts went faster than my fingers ;-)
I indeed intended to write tableaux. The thing is: They are there but  
numbering in Lyx starts with a 0 while it's a 1 in the output.
Is it possible to make an equal numbering in both views (preferably  
starting with 1)?

But that's a minor issue.

All the rest works great.
Thanks a lot for your help.

Johannes



Re: Change the Floatname only for some Floats

2008-09-09 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
 I indeed intended to write tableaux. The thing is: They are there but  
 numbering in Lyx starts with a 0 while it's a 1 in the output.
 Is it possible to make an equal numbering in both views (preferably  
 starting with 1)?
 But that's a minor issue.

Strange. I have correct (staring from 1) numbering here.

Jürgen


Re: Defining a color for the rectangular box around a minipage

2008-09-09 Thread Paul Smith
On Tue, Sep 9, 2008 at 1:35 PM, Siegfried MEUNIER-GUTTIN-CLUZEL
[EMAIL PROTECTED] wrote:
 You can use \fcolorbox{border color}{ inside color}{ content }
 in ERT with the package color

 See the Embedded Objects manual section 5.7.1

Thanks, Siegfried. The problem with your approach is that for long
text boxes, the text does not get justified, unlike with text inside
minipages. I think LyX should have an option (for the user) to
selected the color of box around the minipage.

Just a side remark: \fcolorbox also works with the package xcolor.

Paul


Re: Defining a color for the rectangular box around a minipage

2008-09-09 Thread Paul Smith
On Tue, Sep 9, 2008 at 3:00 PM, Paul Smith [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] wrote:
 You can use \fcolorbox{border color}{ inside color}{ content }
 in ERT with the package color

 See the Embedded Objects manual section 5.7.1

 Thanks, Siegfried. The problem with your approach is that for long
 text boxes, the text does not get justified, unlike with text inside
 minipages. I think LyX should have an option (for the user) to
 selected the color of box around the minipage.

 Just a side remark: \fcolorbox also works with the package xcolor.

\fcolorbox can be made working with minipages. See the attached example.

Paul


colored_boxed_minipage.lyx
Description: application/lyx


Re: OT: post-process postscript or PDF document to add page numbering and footer

2008-09-09 Thread Zan
Maybe a clumsy work around but couldn't one do this in LyX?  Splitting up the 
original pdf into single pages (I use CombinePDF) and setting those pages as 
background images in your LyX document?  Could you then add header, footer, 
pagenumbers on top of the page images?

Z

On  6.09.08, Jeremy C. Reed wrote:
 I am looking for a solution to add running page numbering to a postscript 
 or PDF document and maybe add a footer or header (maybe with a horizontal 
 rule).

I suppose scribus (www.scribus.net) is able to do this (in a WYSIWYG
manner). It is a page layout program producing printer-ready PDF of
professional quality and comes with a QT GUI.

Günter


AVG free report threat after installing lyx 1.5.6 and 1.6.0 RC2

2008-09-09 Thread Ja Ma
Hello,

The system is vista. After installing lyx, a temporary folder was generated
in X:\Users\xxx\AppData\Temp\.  I don't remember the exact filename. It is
like nxxxaxx.tmp.  I tried intalling 1.6.0 RC2, the temporary folder was
generated again, only the filename was different.  However in both cases,
AVG free reported that Trojan agent threats was found in that temporary
folder.

I hope it is just a false report from AVG free. Anyone had the same
situation?

Thank you.


Re: pictures into the lyx file

2008-09-09 Thread Paul A. Rubin

Pol wrote:

posted  mailed

Is there a way to include pictures, I mean simple geometric pictures, into a
lyx file?
Metapost or something like that could be used?
 


Would either tikz or xy-pic do what you have in mind?

/Paul



Re: OT: post-process postscript or PDF document to add page numbering and footer

2008-09-09 Thread Jeremy C. Reed
On Tue, 9 Sep 2008, Zan wrote:

 Maybe a clumsy work around but couldn't one do this in LyX?  Splitting up the 
 original pdf into single pages (I use CombinePDF) and setting those pages as 
 background images in your LyX document?  Could you then add header, footer, 
 pagenumbers on top of the page images?
 
 Z
 
 On  6.09.08, Jeremy C. Reed wrote:
  I am looking for a solution to add running page numbering to a postscript 
  or PDF document and maybe add a footer or header (maybe with a horizontal 
  rule).
 
 I suppose scribus (www.scribus.net) is able to do this (in a WYSIWYG
 manner). It is a page layout program producing printer-ready PDF of
 professional quality and comes with a QT GUI.
 
 G?nter


I have thousands of pages to process. The first two volumes will be around 
600 pages each. I will need to automate.

Screen Magnification

2008-09-09 Thread Bruce Pourciau
Having just updated to LyX 1.5.6, I seem to have lost the screen  
magnification setting. The default setting is a bit hard to read on my  
monitor. What am I missing?


Bruce


Re: OT: post-process postscript or PDF document to add page numbering and footer

2008-09-09 Thread Jeremy C. Reed
 This may not be the slickest way, but I think you can do it all right in Lyx
 (or just  latex) with pdfpages
 
 in the preamble...
 \usepackage{pdfpages}
 \includepdfset{pagecommand={\thispagestyle{fancy}}}
 
 in the document...
 define what you want in the headers in ERT with \lhead{} etc.
 
 \includepdf[pages=-]{filename.pdf}

This will work. Thanks for giving me a hint. I was able to do some simple 
tests using fancydhr and pdfpages packages to do what I want. Now I just 
need to tune the placement of the PDF content and the headers/footers 
(including rules). I used LyX for my tests, but since I won't be doing any 
content writing or maintenance, I will probably just do in a very short 
LaTeX file in vi and use pdflatex.

Thanks again!


Generating PDF/A from LyX/LaTeX

2008-09-09 Thread Ernesto Posse
This question is not a LyX-only question, but I thought maybe someone
here could have an idea on this issue.

Has anyone succeeded in producing a PDF/A file (PDF for archival) from
LyX/LaTeX? I've tried tools that claim to generate PDF/A from
PostScript files or PDF files (both for Windows and Linux) but I
haven't been successful in generating a file which is considered PDF/A
compliant by at least two different validators, even with the
following minimal file (in LaTeX) via dvips:

=== file a.tex ===
\documentclass{article}
\begin{document}
Just this line...
\end{document}
=== end of file ===

I've tried generating through dvips:

dvips -o a.ps a.dvi

or

dvips -Ppdf -o a.ps a.dvi

then through ghostscript/ps2pdf as described in
http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm (I tried it on both
Windows Vista and Ubuntu)

I also tried generating with dvipdf and pdflatex, and then using a PDF
to PDF/A converter.

I've tried Acrobat 9 Pro (Distiller on Windows Vista), as well as
PDF2PDF from pdf-tools.com (On Windows Vista, XP and Ubuntu), PDF
Quick Master (On Windows XP), and PDF Appraiser (On Windows Vista and
XP)

Acrobat Distiller produces a PDF file and claims it is PDF/A
compliant, but when I run the compliance test within Acrobat, it
fails! (An Acrobat generated PDF/A file fails the Acrobat PDF/A test!)

Any ideas on how to generate PDF/A from LaTeX would be welcome...

Thanks

-- 
Ernesto Posse

Applied Formal Methods Group - Software Technology Lab
School of Computing
Queen's University - Kingston, Ontario, Canada


Re: lyx 1.60cr2 issues

2008-09-09 Thread Matthew Bromberg
I do like the new features and would love to continue working with 
1.60cr2 if there are some workarounds.  If there is a way to map ctrl-B 
back to \mathbf{} instead of \boldsymbol{}  it would do it for me. 

As for the export files bug, so far I have discovered that the export 
function sends the files to a subdirectory in the temp folder.  I 
haven't tried the workaround you mentioned here, though I'm not sure if 
I completely understand what you are saying.


As for the keymapping issue.  I see that one can map keys to lyx 
commands, one of which is something like  font-bold.  However how do you 
change the behavior of the lyx command?  Perhaps there is another lyx 
command that allows for generic latex macro substitution that could be 
keyboard mapped.  I will scour the documentation for that.   Also I 
suspect there is a way to make ctrl-B toggle like it used to, but I'm 
not sure how.  There wasn't anything in the keyboard mapping 
documentation to suggest it.


Thanks,
Matt

Abdelrazak Younes wrote:



Hello Matthew,

Matthew wrote:
I've been trying to use the candidate release for 1.6.  While there 
are some
nice new features, like the ability to cut and paste graphics there 
are some

changes and perhaps bugs which negatively impact lyx.

My first pet peeve is that the export document command doesn't appear to
generate any output, unless it's doing so in an unknown directory 
different
from the directory of the .lyx source.  In particular I'm trying to 
convert

a lyx 1.6 file back into a 1.5.3 file so that I can run a more 'stable'
version.


Are you using WinXP? If yes, this is a known bug that was detailled in 
Uwe's announcement:


!Important note!: Due to a bug in LyX you are first be able to export 
documents to e.g. PDF after opening the preferences dialog and 
clicking there on the save button.


[...]
My next peeve that I've found is that tab no longer navigates through 
the
cells in an eqnarray.  I haven't tried it with tables yet, but if it 
has the

same behavior there, that would also be bad.


This is being worked on. Hopefully fixed in the next rc.

After these problems I will stop testing 1.6 because I need to 
actually get

some work done.  Now if I could just convert my document back..


Try the Prefs dialog work around. In general 1.6rc is pretty stable 
but that is not a dot zero yet so, unless you know what you are doing, 
I suggest to keep using 1.5.x.


Abdel.





Re: lyx 1.60cr2 issues

2008-09-09 Thread rgheck

Matthew Bromberg wrote:
I do like the new features and would love to continue working with 
1.60cr2 if there are some workarounds.  If there is a way to map 
ctrl-B back to \mathbf{} instead of \boldsymbol{}  it would do it for me.



There seems motivation to do this. But we have to figure out exactly how.

As for the export files bug, so far I have discovered that the export 
function sends the files to a subdirectory in the temp folder.  I 
haven't tried the workaround you mentioned here, though I'm not sure 
if I completely understand what you are saying.


This is a bug connected with the preferences file, which you'll find in 
your local LyX directory. Do ToolsPreferences, and then hit OK or Save 
or whatever. That should do it.


As for the keymapping issue.  I see that one can map keys to lyx 
commands, one of which is something like  font-bold.  However how do 
you change the behavior of the lyx command? 

You can't really do that. You can just change which command it gets 
mapped to. But try this. Map Ctrl-Shift-B to math-insert \mathbf. It 
won't toggle, but it doesn't really need to in math. You can just hit 
spacebar when you are done with bold, and that will take you out of bold.


I suspect there is a way to make ctrl-B toggle like it used to, but 
I'm not sure how. 


This is a problem in the source code somewhere.

Richard



Re: Generating PDF/A from LyX/LaTeX

2008-09-09 Thread Steve Litt
On Tuesday 09 September 2008 12:54:38 pm Ernesto Posse wrote:
 This question is not a LyX-only question, but I thought maybe someone
 here could have an idea on this issue.

 Has anyone succeeded in producing a PDF/A file (PDF for archival) from
 LyX/LaTeX? I've tried tools that claim to generate PDF/A from
 PostScript files or PDF files (both for Windows and Linux) but I
 haven't been successful in generating a file which is considered PDF/A
 compliant by at least two different validators, even with the
 following minimal file (in LaTeX) via dvips:

 === file a.tex ===
 \documentclass{article}
 \begin{document}
 Just this line...
 \end{document}
 === end of file ===

 I've tried generating through dvips:

 dvips -o a.ps a.dvi

 or

 dvips -Ppdf -o a.ps a.dvi

 then through ghostscript/ps2pdf as described in
 http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm (I tried it on both
 Windows Vista and Ubuntu)

 I also tried generating with dvipdf and pdflatex, and then using a PDF
 to PDF/A converter.

 I've tried Acrobat 9 Pro (Distiller on Windows Vista), as well as
 PDF2PDF from pdf-tools.com (On Windows Vista, XP and Ubuntu), PDF
 Quick Master (On Windows XP), and PDF Appraiser (On Windows Vista and
 XP)

 Acrobat Distiller produces a PDF file and claims it is PDF/A
 compliant, but when I run the compliance test within Acrobat, it
 fails! (An Acrobat generated PDF/A file fails the Acrobat PDF/A test!)

 Any ideas on how to generate PDF/A from LaTeX would be welcome...

 Thanks

Hi Ernesto,

This isn't responsive to your question, but maybe, just maybe, it's responsive 
to your situation.

I see nothing but heartache in PDF/A. PDF/A test notwithstanding, I contend 
you don't REALLY know it it will render accurately (or at all) years from 
now. Things happen.

Of all the ways to define data, PDF is one of the most complex. I've modified 
PDFs with pdftk, and (ugh) with Vim. It's ugly, unless you know the whole 
standard by heart. It's not human readable.

More to the point, over years and decades, standards come and go. Those QIC 
tapes I so joyously used in 1994 are unreadable today unless I go out and buy 
a QIC tape drive and somehow get the matching software. Do you really think 
the ISO9660 standard so ubiquitous today will exist in 2050? Me neither. My 
prediction -- .tgz and .zip will be the stuff of old-timer reminiscences by 
then, the way Kaypro computers are today. And PDF, I doubt it will exist.

If something's really important to have throughout the ages, print it to nice, 
acid free paper, and store it appropriately. That will last at least 200 
years.

I called the US trademark office and asked whether I could submit my Ebooks' 
copyright specimens on paper in addition to electronically on CD. They said 
yes, they prefer it that way, because paper stands the test of time, and 
digital representations don't necessarily.

I have handwritten journal pages from the mid 1970's, written in ballpoint pen 
on cheap notebook paper, that are perfectly readable over 30 years later. I 
dare you to read a magtape from 1975.

If you have a lot of docs that must be archived, and space is a concern, 
perhaps microfiche is the way to go. I'd guess that will last at least 30 
years, always assuming they keep making microfiche readers.

If you MUST go digital, I recommend plain text. In 1987, when I first started 
making invoices for customers, I made a very savvy choice. All my invoices, 
from 1987 through the present, have been plain text. Formatting was done by 
inserting space characters. No tabs, which of course can be redefined by the 
rendering software. If you absolutely must go digital with data meant to 
survive a century, plain text is the way to do it. As long as ASCII exists 
(or a codepage that maps to old ASCII), and as long as I keep copying those 
invoices to media that can be read by newly current technologies, my invoices 
will be readable.

Personally, when I hear the words PDF and archive in the same sentence, I 
become very skeptical.

SteveT

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



Re: Generating PDF/A from LyX/LaTeX

2008-09-09 Thread Ernesto Posse
Hi. I do not have a particular preference for PDF/A, but unfortunately
my university requires electronic thesis submissions to be in PDF/A.
After seeing that even a minimalistic latex document seems to be
impossible to convert to  PDF/A, and realizing that there is no
consistency among PDF/A validators, I'm not becoming a fan of the
format. Nevertheless, I need to convert my thesis to this format...

On Tue, Sep 9, 2008 at 1:29 PM, Steve Litt [EMAIL PROTECTED] wrote:
 On Tuesday 09 September 2008 12:54:38 pm Ernesto Posse wrote:
 This question is not a LyX-only question, but I thought maybe someone
 here could have an idea on this issue.

 Has anyone succeeded in producing a PDF/A file (PDF for archival) from
 LyX/LaTeX? I've tried tools that claim to generate PDF/A from
 PostScript files or PDF files (both for Windows and Linux) but I
 haven't been successful in generating a file which is considered PDF/A
 compliant by at least two different validators, even with the
 following minimal file (in LaTeX) via dvips:

 === file a.tex ===
 \documentclass{article}
 \begin{document}
 Just this line...
 \end{document}
 === end of file ===

 I've tried generating through dvips:

 dvips -o a.ps a.dvi

 or

 dvips -Ppdf -o a.ps a.dvi

 then through ghostscript/ps2pdf as described in
 http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm (I tried it on both
 Windows Vista and Ubuntu)

 I also tried generating with dvipdf and pdflatex, and then using a PDF
 to PDF/A converter.

 I've tried Acrobat 9 Pro (Distiller on Windows Vista), as well as
 PDF2PDF from pdf-tools.com (On Windows Vista, XP and Ubuntu), PDF
 Quick Master (On Windows XP), and PDF Appraiser (On Windows Vista and
 XP)

 Acrobat Distiller produces a PDF file and claims it is PDF/A
 compliant, but when I run the compliance test within Acrobat, it
 fails! (An Acrobat generated PDF/A file fails the Acrobat PDF/A test!)

 Any ideas on how to generate PDF/A from LaTeX would be welcome...

 Thanks

 Hi Ernesto,

 This isn't responsive to your question, but maybe, just maybe, it's responsive
 to your situation.

 I see nothing but heartache in PDF/A. PDF/A test notwithstanding, I contend
 you don't REALLY know it it will render accurately (or at all) years from
 now. Things happen.

 Of all the ways to define data, PDF is one of the most complex. I've modified
 PDFs with pdftk, and (ugh) with Vim. It's ugly, unless you know the whole
 standard by heart. It's not human readable.

 More to the point, over years and decades, standards come and go. Those QIC
 tapes I so joyously used in 1994 are unreadable today unless I go out and buy
 a QIC tape drive and somehow get the matching software. Do you really think
 the ISO9660 standard so ubiquitous today will exist in 2050? Me neither. My
 prediction -- .tgz and .zip will be the stuff of old-timer reminiscences by
 then, the way Kaypro computers are today. And PDF, I doubt it will exist.

 If something's really important to have throughout the ages, print it to nice,
 acid free paper, and store it appropriately. That will last at least 200
 years.

 I called the US trademark office and asked whether I could submit my Ebooks'
 copyright specimens on paper in addition to electronically on CD. They said
 yes, they prefer it that way, because paper stands the test of time, and
 digital representations don't necessarily.

 I have handwritten journal pages from the mid 1970's, written in ballpoint pen
 on cheap notebook paper, that are perfectly readable over 30 years later. I
 dare you to read a magtape from 1975.

 If you have a lot of docs that must be archived, and space is a concern,
 perhaps microfiche is the way to go. I'd guess that will last at least 30
 years, always assuming they keep making microfiche readers.

 If you MUST go digital, I recommend plain text. In 1987, when I first started
 making invoices for customers, I made a very savvy choice. All my invoices,
 from 1987 through the present, have been plain text. Formatting was done by
 inserting space characters. No tabs, which of course can be redefined by the
 rendering software. If you absolutely must go digital with data meant to
 survive a century, plain text is the way to do it. As long as ASCII exists
 (or a codepage that maps to old ASCII), and as long as I keep copying those
 invoices to media that can be read by newly current technologies, my invoices
 will be readable.

 Personally, when I hear the words PDF and archive in the same sentence, I
 become very skeptical.

 SteveT

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





-- 
Ernesto Posse

Applied Formal Methods Group - Software Technology Lab
School of Computing
Queen's University - Kingston, Ontario, Canada


Re: Screen Magnification

2008-09-09 Thread Paul A. Rubin

Bruce Pourciau wrote:
Having just updated to LyX 1.5.6, I seem to have lost the screen 
magnification setting. The default setting is a bit hard to read on my 
monitor. What am I missing?


Young eyes (same here).

Does Tools - Preferences... - Look and feel - Screen fonts - Zoom % 
not blow things up for you?


/Paul



Re: pictures into the lyx file

2008-09-09 Thread Pol
Paul A. Rubin wrote:

 Pol wrote:
 posted  mailed
 
 Is there a way to include pictures, I mean simple geometric pictures,
 into a lyx file?
 Metapost or something like that could be used?
  
 
 Would either tikz or xy-pic do what you have in mind?
 

I have never tried those format. Can they be included into a lyx file?
How to do?

Thank you
--
Pol




Re: Generating PDF/A from LyX/LaTeX

2008-09-09 Thread William Adams

On Sep 9, 2008, at 12:54 PM, Ernesto Posse wrote:


Has anyone succeeded in producing a PDF/A file (PDF for archival) from
LyX/LaTeX? I've tried tools that claim to generate PDF/A from
PostScript files or PDF files (both for Windows and Linux) but I
haven't been successful in generating a file which is considered PDF/A
compliant by at least two different validators, even with the
following minimal file (in LaTeX) via dvips:



Since pdflatex can't insert .pdf tags (or is there a package for  
this?), you need to certify against pdf/A-1b:


 - Open the file in Adobe Acrobat
 - Save File As and choose as Format: PDF/A
 - choose pdf/a-1b in the pop-up
 - quit Acrobat
 - re-open the file
 - preflight (successfully) as PDF/A-1b

William

--
William Adams
senior graphic designer
Fry Communications




Re: Generating PDF/A from LyX/LaTeX

2008-09-09 Thread Ernesto Posse
On Tue, Sep 9, 2008 at 4:02 PM, William Adams [EMAIL PROTECTED] wrote:
 On Sep 9, 2008, at 12:54 PM, Ernesto Posse wrote:

 Has anyone succeeded in producing a PDF/A file (PDF for archival) from
 LyX/LaTeX? I've tried tools that claim to generate PDF/A from
 PostScript files or PDF files (both for Windows and Linux) but I
 haven't been successful in generating a file which is considered PDF/A
 compliant by at least two different validators, even with the
 following minimal file (in LaTeX) via dvips:


 Since pdflatex can't insert .pdf tags (or is there a package for this?), you
 need to certify against pdf/A-1b:

  - Open the file in Adobe Acrobat
  - Save File As and choose as Format: PDF/A
  - choose pdf/a-1b in the pop-up
  - quit Acrobat
  - re-open the file
  - preflight (successfully) as PDF/A-1b


It doesn't work for me. I have tried PDF/A-1b:2005(CMYK) and
PDF/A-1b:2005(RGB), and preflight still complains. In particular it
gives me an error Width information for glyphs is inconsistent (1
match on 1 page)

I tried the conversion directly through Distiller and within Acrobat itself...

 William

 --
 William Adams
 senior graphic designer
 Fry Communications






-- 
Ernesto Posse

Applied Formal Methods Group - Software Technology Lab
School of Computing
Queen's University - Kingston, Ontario, Canada


Re: Generating PDF/A from LyX/LaTeX

2008-09-09 Thread Steve Litt
What a nightmare!

What does the university say about validators -- any validator, all 
validators, Adobe's validator?

The PDF/A Wikipedia page makes it look pretty straightforward -- all fonts 
embedded, all fonts legal everywhere, no video, audio or javascript, device 
independent color.

Makes sense when thought about from a portability as opposed to a long term 
archival viewpoint. And it seems straightforward, except for proving it :-)

SteveT

On Tuesday 09 September 2008 02:00:54 pm Ernesto Posse wrote:
 Hi. I do not have a particular preference for PDF/A, but unfortunately
 my university requires electronic thesis submissions to be in PDF/A.
 After seeing that even a minimalistic latex document seems to be
 impossible to convert to  PDF/A, and realizing that there is no
 consistency among PDF/A validators, I'm not becoming a fan of the
 format. Nevertheless, I need to convert my thesis to this format...

 On Tue, Sep 9, 2008 at 1:29 PM, Steve Litt [EMAIL PROTECTED] 
wrote:
  On Tuesday 09 September 2008 12:54:38 pm Ernesto Posse wrote:
  This question is not a LyX-only question, but I thought maybe someone
  here could have an idea on this issue.
 
  Has anyone succeeded in producing a PDF/A file (PDF for archival) from
  LyX/LaTeX? I've tried tools that claim to generate PDF/A from
  PostScript files or PDF files (both for Windows and Linux) but I
  haven't been successful in generating a file which is considered PDF/A
  compliant by at least two different validators, even with the
  following minimal file (in LaTeX) via dvips:
 
  === file a.tex ===
  \documentclass{article}
  \begin{document}
  Just this line...
  \end{document}
  === end of file ===
 
  I've tried generating through dvips:
 
  dvips -o a.ps a.dvi
 
  or
 
  dvips -Ppdf -o a.ps a.dvi
 
  then through ghostscript/ps2pdf as described in
  http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm (I tried it on both
  Windows Vista and Ubuntu)
 
  I also tried generating with dvipdf and pdflatex, and then using a PDF
  to PDF/A converter.
 
  I've tried Acrobat 9 Pro (Distiller on Windows Vista), as well as
  PDF2PDF from pdf-tools.com (On Windows Vista, XP and Ubuntu), PDF
  Quick Master (On Windows XP), and PDF Appraiser (On Windows Vista and
  XP)
 
  Acrobat Distiller produces a PDF file and claims it is PDF/A
  compliant, but when I run the compliance test within Acrobat, it
  fails! (An Acrobat generated PDF/A file fails the Acrobat PDF/A test!)
 
  Any ideas on how to generate PDF/A from LaTeX would be welcome...
 
  Thanks
 
  Hi Ernesto,
 
  This isn't responsive to your question, but maybe, just maybe, it's
  responsive to your situation.
 
  I see nothing but heartache in PDF/A. PDF/A test notwithstanding, I
  contend you don't REALLY know it it will render accurately (or at all)
  years from now. Things happen.
 
  Of all the ways to define data, PDF is one of the most complex. I've
  modified PDFs with pdftk, and (ugh) with Vim. It's ugly, unless you know
  the whole standard by heart. It's not human readable.
 
  More to the point, over years and decades, standards come and go. Those
  QIC tapes I so joyously used in 1994 are unreadable today unless I go out
  and buy a QIC tape drive and somehow get the matching software. Do you
  really think the ISO9660 standard so ubiquitous today will exist in 2050?
  Me neither. My prediction -- .tgz and .zip will be the stuff of old-timer
  reminiscences by then, the way Kaypro computers are today. And PDF, I
  doubt it will exist.
 
  If something's really important to have throughout the ages, print it to
  nice, acid free paper, and store it appropriately. That will last at
  least 200 years.
 
  I called the US trademark office and asked whether I could submit my
  Ebooks' copyright specimens on paper in addition to electronically on CD.
  They said yes, they prefer it that way, because paper stands the test of
  time, and digital representations don't necessarily.
 
  I have handwritten journal pages from the mid 1970's, written in
  ballpoint pen on cheap notebook paper, that are perfectly readable over
  30 years later. I dare you to read a magtape from 1975.
 
  If you have a lot of docs that must be archived, and space is a concern,
  perhaps microfiche is the way to go. I'd guess that will last at least 30
  years, always assuming they keep making microfiche readers.
 
  If you MUST go digital, I recommend plain text. In 1987, when I first
  started making invoices for customers, I made a very savvy choice. All my
  invoices, from 1987 through the present, have been plain text. Formatting
  was done by inserting space characters. No tabs, which of course can be
  redefined by the rendering software. If you absolutely must go digital
  with data meant to survive a century, plain text is the way to do it. As
  long as ASCII exists (or a codepage that maps to old ASCII), and as long
  as I keep copying those invoices to media that can be read by newly
  current technologies, 

Re: Generating PDF/A from LyX/LaTeX

2008-09-09 Thread Ernesto Posse
On Tue, Sep 9, 2008 at 5:56 PM, Steve Litt [EMAIL PROTECTED] wrote:
 What a nightmare!

Indeed.

 What does the university say about validators -- any validator, all
 validators, Adobe's validator?

They use Acrobat's. It seems that Adobe's Distiller has its own
validator which is different than Acrobat's, since Distiller says the
generated file is compliant, but Acrobat says it is not.


 The PDF/A Wikipedia page makes it look pretty straightforward -- all fonts
 embedded, all fonts legal everywhere, no video, audio or javascript, device
 independent color.

As far as I know, the generated PDF includes all fonts, and since it's
that minimal latex file I mentioned, it does not have anything fancy,
no audio, no video, no javascript, not event hyperrefs.


 Makes sense when thought about from a portability as opposed to a long term
 archival viewpoint. And it seems straightforward, except for proving it :-)

 SteveT

 On Tuesday 09 September 2008 02:00:54 pm Ernesto Posse wrote:
 Hi. I do not have a particular preference for PDF/A, but unfortunately
 my university requires electronic thesis submissions to be in PDF/A.
 After seeing that even a minimalistic latex document seems to be
 impossible to convert to  PDF/A, and realizing that there is no
 consistency among PDF/A validators, I'm not becoming a fan of the
 format. Nevertheless, I need to convert my thesis to this format...

 On Tue, Sep 9, 2008 at 1:29 PM, Steve Litt [EMAIL PROTECTED]
 wrote:
  On Tuesday 09 September 2008 12:54:38 pm Ernesto Posse wrote:
  This question is not a LyX-only question, but I thought maybe someone
  here could have an idea on this issue.
 
  Has anyone succeeded in producing a PDF/A file (PDF for archival) from
  LyX/LaTeX? I've tried tools that claim to generate PDF/A from
  PostScript files or PDF files (both for Windows and Linux) but I
  haven't been successful in generating a file which is considered PDF/A
  compliant by at least two different validators, even with the
  following minimal file (in LaTeX) via dvips:
 
  === file a.tex ===
  \documentclass{article}
  \begin{document}
  Just this line...
  \end{document}
  === end of file ===
 
  I've tried generating through dvips:
 
  dvips -o a.ps a.dvi
 
  or
 
  dvips -Ppdf -o a.ps a.dvi
 
  then through ghostscript/ps2pdf as described in
  http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm (I tried it on both
  Windows Vista and Ubuntu)
 
  I also tried generating with dvipdf and pdflatex, and then using a PDF
  to PDF/A converter.
 
  I've tried Acrobat 9 Pro (Distiller on Windows Vista), as well as
  PDF2PDF from pdf-tools.com (On Windows Vista, XP and Ubuntu), PDF
  Quick Master (On Windows XP), and PDF Appraiser (On Windows Vista and
  XP)
 
  Acrobat Distiller produces a PDF file and claims it is PDF/A
  compliant, but when I run the compliance test within Acrobat, it
  fails! (An Acrobat generated PDF/A file fails the Acrobat PDF/A test!)
 
  Any ideas on how to generate PDF/A from LaTeX would be welcome...
 
  Thanks
 
  Hi Ernesto,
 
  This isn't responsive to your question, but maybe, just maybe, it's
  responsive to your situation.
 
  I see nothing but heartache in PDF/A. PDF/A test notwithstanding, I
  contend you don't REALLY know it it will render accurately (or at all)
  years from now. Things happen.
 
  Of all the ways to define data, PDF is one of the most complex. I've
  modified PDFs with pdftk, and (ugh) with Vim. It's ugly, unless you know
  the whole standard by heart. It's not human readable.
 
  More to the point, over years and decades, standards come and go. Those
  QIC tapes I so joyously used in 1994 are unreadable today unless I go out
  and buy a QIC tape drive and somehow get the matching software. Do you
  really think the ISO9660 standard so ubiquitous today will exist in 2050?
  Me neither. My prediction -- .tgz and .zip will be the stuff of old-timer
  reminiscences by then, the way Kaypro computers are today. And PDF, I
  doubt it will exist.
 
  If something's really important to have throughout the ages, print it to
  nice, acid free paper, and store it appropriately. That will last at
  least 200 years.
 
  I called the US trademark office and asked whether I could submit my
  Ebooks' copyright specimens on paper in addition to electronically on CD.
  They said yes, they prefer it that way, because paper stands the test of
  time, and digital representations don't necessarily.
 
  I have handwritten journal pages from the mid 1970's, written in
  ballpoint pen on cheap notebook paper, that are perfectly readable over
  30 years later. I dare you to read a magtape from 1975.
 
  If you have a lot of docs that must be archived, and space is a concern,
  perhaps microfiche is the way to go. I'd guess that will last at least 30
  years, always assuming they keep making microfiche readers.
 
  If you MUST go digital, I recommend plain text. In 1987, when I first
  started making invoices for customers, I made a very savvy choice. 

Re: Generating PDF/A from LyX/LaTeX

2008-09-09 Thread Steve Litt
On Tuesday 09 September 2008 06:25:54 pm Ernesto Posse wrote:
 On Tue, Sep 9, 2008 at 5:56 PM, Steve Litt [EMAIL PROTECTED] 
wrote:
  What a nightmare!

 Indeed.

  What does the university say about validators -- any validator, all
  validators, Adobe's validator?

 They use Acrobat's. It seems that Adobe's Distiller has its own
 validator which is different than Acrobat's, since Distiller says the
 generated file is compliant, but Acrobat says it is not.

Next step -- find a small PDF that the Acrobat validator says complies, and 
try to exploit the differences between that file and your timy LyX-derived 
PDF. Also this will tell you if your particular validator won't pass 
ANYTHING.

SteveT


Re: pictures into the lyx file

2008-09-09 Thread Paul A. Rubin

Pol wrote:

Paul A. Rubin wrote:


Pol wrote:

posted  mailed

Is there a way to include pictures, I mean simple geometric pictures,
into a lyx file?
Metapost or something like that could be used?
 

Would either tikz or xy-pic do what you have in mind?



I have never tried those format. Can they be included into a lyx file?
How to do?



TiKZ pictures are written using LaTeX macros, so you can either write 
the code in an ERT inset or put it in an external text file and include 
the file (as LaTeX).  You will not see the picture in the LyX GUI, but 
it will show up in the compiled output.  Here is a small example, 
entered as ERT in a beamer presentation:


\begin{tikzpicture}
\draw (0mm, 0mm) node {A};
\draw[-] (5mm, 0mm) -- (15mm,0mm);
\draw (20mm, 0mm) node {B};
\draw[-] (25mm, 0mm) -- (35mm, 0mm);
\draw (40mm, 0mm) node {C};
\draw[-] (45mm, 0mm) -- (55mm, 0mm);
\draw (60mm, 0mm) node {D};
\draw[-] (65mm, 0mm) -- (75mm, 0mm);
\draw (80mm, 0mm) node {E};
\end{tikzpicture}

This plots the density function of a triangular random variable.  If you 
want to see the compiled output, you can download 
http://mgt.bus.msu.edu/~rubin/MSC871/MSSCM_Z_score_example.pdf.  It's on 
slide 3.  The TiKZ package contains some basic shapes, an assortment of 
lines and arrows, and has a mechanism that lets you create diagrams 
consisting of nodes and arcs as well as more general drawings.


The xypic package may not be ideal for drawing shapes (other than maybe 
polygons).  You insert diagrams into a special type of matrix structure 
in a math inset.  It seems to be designed for graphs and diagrams with 
arrows connecting pieces, but you can for example draw a cube with it. 
Think of each matrix entry as a node or vertex that can be connected via 
lines to other nodes/vertices.  The redeeming feature of xypic would be 
that, provided you had math preview turned on, you would see what you 
were drawing in the GUI (following the usual delay for instant preview 
to catch up to your changes).


It is easy to embed a compiled image (PDF, JPG, PNG, EPS, ...) from a 
suitable drawing/graphing program.  I take it that's not what you want?


/Paul



Re: lyx 1.60cr2 issues

2008-09-09 Thread Abdelrazak Younes

Hello Matthew,

Matthew wrote:

I've been trying to use the candidate release for 1.6.  While there are some
nice new features, like the ability to cut and paste graphics there are some
changes and perhaps bugs which negatively impact lyx.

My first pet peeve is that the export document command doesn't appear to
generate any output, unless it's doing so in an unknown directory different
from the directory of the .lyx source.  In particular I'm trying to convert
a lyx 1.6 file back into a 1.5.3 file so that I can run a more 'stable'
version.


Are you using WinXP? If yes, this is a known bug that was detailled in 
Uwe's announcement:


!Important note!: Due to a bug in LyX you are first be able to export 
documents to e.g. PDF after opening the preferences dialog and clicking 
there on the save button.


[...]

My next peeve that I've found is that tab no longer navigates through the
cells in an eqnarray.  I haven't tried it with tables yet, but if it has the
same behavior there, that would also be bad.


This is being worked on. Hopefully fixed in the next rc.


After these problems I will stop testing 1.6 because I need to actually get
some work done.  Now if I could just convert my document back..


Try the Prefs dialog work around. In general 1.6rc is pretty stable but 
that is not a dot zero yet so, unless you know what you are doing, I 
suggest to keep using 1.5.x.


Abdel.




Re: reverse-DVI support for documents with Children?

2008-09-09 Thread Charles de Miramon
Cameron Stone wrote:

 
> However, it doesn't work completely for documents containing child
> documents as Includes. Does anyone know if/how this can be made to work?
> 
I don't think it works with child documents. The new synctex synchronization
framework between pdf and latex supports child document and is better and
more precise but it is very new and there is no code for it neither in
Linux pdf viewers and LyX.

Cheers,
Charles

http://www.kde-france.org



Re: Harvard Style Redux

2008-09-09 Thread Jürgen Spitzmüller
Paul A. Rubin wrote:
> I think you're mixing apples and oranges here.  Natbib is designed to
> work with BibTeX, which means your references have to be in a BibTeX
> "database" file (.bib) and you have to use Insert -> List -> BibTeX
> bibliography to select the .bib file, rather than using the Bibliography
> environment to insert references directly into the document.

Not true. Natbib works just fine without bibtex, see attached file.

Norbert, please send a small ecample file that shows the problem.

Jürgen


natbib-bib.lyx
Description: application/lyx


Re: Change the Floatname only for some Floats

2008-09-09 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
> I have only some additional questions:
> 1.) In the Lyx view of the document the numbering for the newly aux?

Sorry, this is slightly too elliptic for my parser. If you mean that Tableaux 
should be numbered in the LyX view: they are here.

> 2.) The document I'm writing on uses KOMA-Script Book. I have changed the
> position of the table captions with the option "tablecaptionabove" in
> Document Settings>Document Class>Options. How can I get this positioning
> also for the newly created float-type?

In preamble:

\floatstyle{komaabove}
\restylefloat{tableau}

> Best wishes,
> Johannes
>
> P.S. I think adding this to the linguistics module in 1.6 would be great.

done. Grab it here:
http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/layouts/linguistics.module?format=raw

Jürgen


Re: OT: post-process postscript or PDF document to add page numbering and footer

2008-09-09 Thread G. Milde
On  6.09.08, Jeremy C. Reed wrote:
> I am looking for a solution to add running page numbering to a postscript 
> or PDF document and maybe add a footer or header (maybe with a horizontal 
> rule).

I suppose scribus (www.scribus.net) is able to do this (in a WYSIWYG
manner). It is a page layout program producing printer-ready PDF of
professional quality and comes with a QT GUI.

Günter


Re: Koma-script chapterentry font option

2008-09-09 Thread G. Milde
On  6.09.08, Guillaume Larocque wrote:
> Jean-Marie Pacquet a écrit :
>>> Is there any way I can change that font??

>> "chapterentry" does not belong to the list of elements whose type  
>> style can be changed with these commands. 

Maybe this is a new feature. Do the versions of the documentation and
the used style files match?

My scrguide.pdf says:

   Der Eintrag für die oberste Gliederungsebene unter \part, also
   \chapter bei scrbook und scrreprt beziehungsweise \section bei
   scrartcl wird nicht eingerückt. Dafür findet auf ihn die Schriftart
   für das Element sectioning (siehe Tabelle 3.3, Seite 61) Anwendung. 

so you could try configuring "sectioning" instead of "chapterentry".

Günter


Re: lyx 1.60cr2 issues

2008-09-09 Thread G. Milde
On  8.09.08, Matthew wrote:

> ... the export document command doesn't appear to generate any output,
> ... In particular I'm trying to convert a lyx 1.6 file back into a
> 1.5.3 file so that I can run a more 'stable' version.

Besides the bug mentionend in another reply: The default settings will
use the extension ".lyx15" for the exported file and the file-open
dialogue in LyX-1.5 will not show it, as it expects a ".lyx" extension.

> My next problem is the bold font toggling in math mode.  ctrl-B generates a
> default \mathsymbol{} command which is wrong wrong wrong! 

No, not generally!

> A bold math character should almost always be non-italicized. The one
> exception may be Greek characters, but only because Latex has issues
> with that anyway.  The reason is that a bold letter represents a vector
> or matrix, which should never be in italic font. 

  The `International Union of Pure and Applied Physics` (IUPAP) and other
  international bodies recommend typsetting math according to International
  Standards ISO 31-0:1992 to ISO 31-13:1992 (see also  [NIST]_).
  
  The traditional `LaTeX-style` deviates in some points from this rules:
  
  * The ``\vec`` command produces an array accent, while ISO 31 recommends
an italic-bold typeface for vector symbols.
  
  .. [NIST] Typefaces for Symbols in Scientific Manuscripts:
http://physics.nist.gov/Document/typefaces.pdf

  -- http://pylit.berlios.de/examples/isomath.sty.html

Günter



Re: lyx 1.60cr2 issues

2008-09-09 Thread Konrad Hofbauer

G. Milde wrote:

Besides the bug mentionend in another reply: The default settings will
use the extension ".lyx15" for the exported file and the file-open
dialogue in LyX-1.5 will not show it, as it expects a ".lyx" extension.


At least here on the Mac LyX-1.5.6 DOES show the .lyx15-files.
/Konrad



Re: lyx 1.60cr2 issues

2008-09-09 Thread G. Milde
On  9.09.08, Konrad Hofbauer wrote:
> G. Milde wrote:
>> Besides the bug mentionend in another reply: The default settings will
>> use the extension ".lyx15" for the exported file and the file-open
>> dialogue in LyX-1.5 will not show it, as it expects a ".lyx" extension.

> At least here on the Mac LyX-1.5.6 DOES show the .lyx15-files.

Here at Debian Linux; LyX 1.5.6 the file-open dialogue does

* NOT show *.lyx15   with the default filter
  setting "LyX files (*.lyx)", 
  
*  show them (of course) with "All files (*)".

But in the second case also all sort of irrelevant files are shown.

I solved this (partially) with changing the settings under
Tools>Preferences>File Handling>File formats>
Format: Lyx 1.5 > Extension 
from lyx15 to 15.lyx.

Günter


Defining a color for the rectangular box around a minipage

2008-09-09 Thread Paul Smith
Dear All,

How can one define a color for the rectangular box around a minipage?

Thanks in advance,

Paul


Re: lyx 1.60cr2 issues

2008-09-09 Thread Daniel Lohmann


On 09.09.2008, at 11:25, G. Milde wrote:


On  9.09.08, Konrad Hofbauer wrote:

G. Milde wrote:
Besides the bug mentionend in another reply: The default settings  
will

use the extension ".lyx15" for the exported file and the file-open
dialogue in LyX-1.5 will not show it, as it expects a ".lyx"  
extension.



At least here on the Mac LyX-1.5.6 DOES show the .lyx15-files.


Here at Debian Linux; LyX 1.5.6 the file-open dialogue does

* NOT show *.lyx15   with the default filter
 setting "LyX files (*.lyx)",



IMHO it should be configurable via a preferences setting that a new  
LyX version uses by default the file format of the previous one, still  
named with the extension .lyx.   (MS Word has such an option, which is  
quite useful.)


Of course, using the old file format may imply that some new features  
are not available or do not become permanent in the saved file.  
Nevertheless, it would be of tremendous help to restrict newer LyX  
versions to the older format -- especially during transition times  
(e.g., while trying out release candidates or when not all co-authors  
have already updated to the newest version.)


Daniel 


Re: lyx 1.60cr2 issues

2008-09-09 Thread rgheck

James Sutherland wrote:
My next peeve that I've found is that tab no longer navigates through 
the
cells in an eqnarray. I haven't tried it with tables yet, but if it 
has the

same behavior there, that would also be bad.

I agree with this. The tab key has been taken over by the (VERY NICE) 
word completion system. I suppose that if enough people vote on this 
issue, we may succeed in convincing the developers to use a different 
approach to word completion (like emacs-style Esc-/).


This is a known issue, and there has been a lot of work on it in the 
last few days. Exactly what will end up happening isn't clear yet.


Richard



Re: lyx 1.60cr2 issues

2008-09-09 Thread rgheck

Daniel Lohmann wrote:


On 09.09.2008, at 11:25, G. Milde wrote:


On 9.09.08, Konrad Hofbauer wrote:

G. Milde wrote:

Besides the bug mentionend in another reply: The default settings will
use the extension ".lyx15" for the exported file and the file-open
dialogue in LyX-1.5 will not show it, as it expects a ".lyx" 
extension.



At least here on the Mac LyX-1.5.6 DOES show the .lyx15-files.


Here at Debian Linux; LyX 1.5.6 the file-open dialogue does

* NOT show *.lyx15 with the default filter
setting "LyX files (*.lyx)",



IMHO it should be configurable via a preferences setting that a new 
LyX version uses by default the file format of the previous one, still 
named with the extension .lyx. (MS Word has such an option, which is 
quite useful.)


Of course, using the old file format may imply that some new features 
are not available or do not become permanent in the saved file. 
Nevertheless, it would be of tremendous help to restrict newer LyX 
versions to the older format -- especially during transition times 
(e.g., while trying out release candidates or when not all co-authors 
have already updated to the newest version.)


Feel free to file an enhancement bug about this. Whether anyone would 
implement it, I don't know. Part of the difficulty is that writing old 
versions is done in a very different way from writing new versions. The 
core LyX sources only know about the current version. The conversion is 
done with a python program called lyx2lyx which can, by the way, be 
called from outside LyX.


Richard


rh



pictures into the lyx file

2008-09-09 Thread Pol


Is there a way to include pictures, I mean simple geometric pictures, into a
lyx file?
Metapost or something like that could be used?
 
Thank you
--
Pol



Re: Defining a color for the rectangular box around a minipage

2008-09-09 Thread Siegfried MEUNIER-GUTTIN-CLUZEL

You can use \fcolorbox{border color}{ inside color}{ content }
in ERT with the package color

See the Embedded Objects manual section 5.7.1

Siegfried.


Re: Koma-script chapterentry font option

2008-09-09 Thread Guillaume Larocque


G. Milde wrote:
>> so you could try configuring "sectioning" instead of "chapterentry".

That works, thanks! I just added

\addtokomafont{sectioning}{\rmfamily}

to my preamble and everything works. I guess chapterentry must be a new 
option.


Thanks again,

Guillaume


Re: Change the Floatname only for some Floats

2008-09-09 Thread Johannes Knaus


Am 09.09.2008 um 10:02 schrieb Jürgen Spitzmüller:


[EMAIL PROTECTED] wrote:

I have only some additional questions:
1.) In the Lyx view of the document the numbering for the newly aux?


Sorry, this is slightly too elliptic for my parser. If you mean that  
Tableaux

should be numbered in the LyX view: they are here.


Oh, sorry my thoughts went faster than my fingers ;-)
I indeed intended to write tableaux. The thing is: They are there but  
numbering in Lyx starts with a 0 while it's a 1 in the output.
Is it possible to make an equal numbering in both views (preferably  
starting with 1)?

But that's a minor issue.

All the rest works great.
Thanks a lot for your help.

Johannes



Re: Change the Floatname only for some Floats

2008-09-09 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
> I indeed intended to write tableaux. The thing is: They are there but  
> numbering in Lyx starts with a 0 while it's a 1 in the output.
> Is it possible to make an equal numbering in both views (preferably  
> starting with 1)?
> But that's a minor issue.

Strange. I have correct (staring from 1) numbering here.

Jürgen


Re: Defining a color for the rectangular box around a minipage

2008-09-09 Thread Paul Smith
On Tue, Sep 9, 2008 at 1:35 PM, Siegfried MEUNIER-GUTTIN-CLUZEL
<[EMAIL PROTECTED]> wrote:
> You can use \fcolorbox{border color}{ inside color}{ content }
> in ERT with the package color
>
> See the Embedded Objects manual section 5.7.1

Thanks, Siegfried. The problem with your approach is that for long
text boxes, the text does not get justified, unlike with text inside
minipages. I think LyX should have an option (for the user) to
selected the color of box around the minipage.

Just a side remark: \fcolorbox also works with the package xcolor.

Paul


Re: Defining a color for the rectangular box around a minipage

2008-09-09 Thread Paul Smith
On Tue, Sep 9, 2008 at 3:00 PM, Paul Smith <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote:
>> You can use \fcolorbox{border color}{ inside color}{ content }
>> in ERT with the package color
>>
>> See the Embedded Objects manual section 5.7.1
>
> Thanks, Siegfried. The problem with your approach is that for long
> text boxes, the text does not get justified, unlike with text inside
> minipages. I think LyX should have an option (for the user) to
> selected the color of box around the minipage.
>
> Just a side remark: \fcolorbox also works with the package xcolor.

\fcolorbox can be made working with minipages. See the attached example.

Paul


colored_boxed_minipage.lyx
Description: application/lyx


Re: OT: post-process postscript or PDF document to add page numbering and footer

2008-09-09 Thread Zan
Maybe a clumsy work around but couldn't one do this in LyX?  Splitting up the 
original pdf into single pages (I use CombinePDF) and setting those pages as 
background images in your LyX document?  Could you then add header, footer, 
pagenumbers on top of the page images?

Z

>On  6.09.08, Jeremy C. Reed wrote:
>> I am looking for a solution to add running page numbering to a postscript 
>> or PDF document and maybe add a footer or header (maybe with a horizontal 
>> rule).
>
>I suppose scribus (www.scribus.net) is able to do this (in a WYSIWYG
>manner). It is a page layout program producing printer-ready PDF of
>professional quality and comes with a QT GUI.
>
>Günter


AVG free report threat after installing lyx 1.5.6 and 1.6.0 RC2

2008-09-09 Thread Ja Ma
Hello,

The system is vista. After installing lyx, a temporary folder was generated
in X:\Users\xxx\AppData\Temp\.  I don't remember the exact filename. It is
like "nxxxaxx.tmp".  I tried intalling 1.6.0 RC2, the temporary folder was
generated again, only the filename was different.  However in both cases,
AVG free reported that Trojan agent threats was found in that temporary
folder.

I hope it is just a false report from AVG free. Anyone had the same
situation?

Thank you.


  1   2   >