How to avoid fontenc?
In my distribution (tetex), there are no EC Type1 fonts. Therefore, when I use "default" option in Format/Document/Font, PostScript on output is with Type3 fonts (which are ugly in Acrobat). OK, I know, that I could (and maybe should) use pslatex/times/palatino/whatever packages and options, but let's suppose, that I do not want (for example, because I prefer Computer Modern fonts). OK, I have found, that I have bakoma fonts available so I would like to get them into document. Most simple is to erase fontenc package from my preamble. However, it seems to be not possible to do it in LyX. Or is it? Matej
Thin space
Hi, some questions about thin space (created by \, in ERT). First of all -- is there any hotkey combination (like Ctrl-space for hard space ~)? Another issue is one wish to TODO: would it be possible to create thin spaces in WYSIWYM manner? I mean, that thin space would be put in between two numbers (like in 100\,000) and between number and percent sign (like 100\,%), where, I hope, are thin spaces appropriate? Thanks Matej
Netiquette question
Hi, just a question: what is better when answering to answer given on the list? Should I reply to the list (as I do all the time) or sending answer to originator of the question with kind reminder, so that he should send a summary (as his "payment" to the public for getting advice for free) to the list? Or we are too small, that volume of mails is not an issue, and I should not bother? Matej
Re: Lots of LaTeX errors...
Dne So, 09 pro 2000 Wilbert Berendsen ve zprave Re: Lots of LaTeX errors... napsal(a): > Today at 1:08pm, Wilbert Berendsen said: > > > Hi, everybody, > > > > I'm new to the list. I've a strange problem. Suddenly I can't print/export > > anymore, because there are many errors during the run, in documents that > > always were ok. > > > > All errors say something like: > > > > LaTeX Error: Missing \begin{document}. > > \begin{document} > > > > You're in trouble here. (...) You certainly are, but it is usually not so bad as it seems to be. Did not you by chance imported the document from LaTeX (via reLyX)? If yes, than it may happen (and it really often happens), that reLyX puts a lot of unnecessary stuff into your LaTeX preamble. The best way how to deal with this is to open Format/LaTeX preamble and delete everything (if you do not know, what to do better) from it. Than it should work correctly and whatever remains to be tuned, should be done via LyX menus (or by correcting Preamble if really necessary). Matej P.S.: BTW, this answer was answered on the list not long ago. But do not worry, I forget to search list all the time too. Wouldn't be there a possibility of search list via e-mail?
Re: Netiquette question
Matej Cepl wrote: > > just a question: what is better when answering to answer given > on the list? Should I reply to the list (as I do all the time) or > sending answer to originator of the question with kind reminder, > so that he should send a summary (as his "payment" to the public > for getting advice for free) to the list? Or we are too small, > that volume of mails is not an issue, and I should not bother? this answer goes to the list! ;-) from my poiunt of view it's the only way, which makes sense for the lyx-community - give and take Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: Footnoteref Problem
On Sun, Dec 10, 2000 at 12:59:33AM +, Herbert Voss wrote: > Dave Tweten wrote: > > it's a solution without \footnoteref. the command \sups > for superscript is defined in latex preamble. > > hope this helps. It is better to use \newcommand\sups[1]{\textsuperscript{\rm #1}}
Support for floatflt in LyX?
Hi, I have borrowed book on LaTeX (Czech "Guide for beginners" -- wonderfull book) and it gave so curious, that I have tried to get on with floatflt package. Unfortunately, I have not been able to get it working with LyX. I have attached my testing LyX file as well .tex corrected as to work. Any help? Matej P.S.: Gosh, I am dilligent today! :-) #LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 2.16 \textclass article \begin_preamble \usepackage{floatflt} \end_preamble \language default \inputencoding default \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage widemarginsa4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language german \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout LaTeX \backslash begin{floatingtable}{ \newline \backslash begin{minipage}[t]{0.25 \backslash columnwidth} \newline \backslash begin{itemize} \layout Standard \latex latex \backslash item \latex default First item. \layout Standard \latex latex \backslash item \latex default Second item. \layout Standard \latex latex \backslash item \latex default Third item. \layout LaTeX \backslash end{itemize} \newline \backslash end{minipage} } \newline \backslash end{floatingtable} \layout Standard Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. \the_end \documentclass[a4paper]{article} \usepackage{floatflt} \begin{document} \begin{floatingtable}{ \begin{minipage}[t]{0.25\columnwidth} \begin{itemize} \item First item. \item Second item. \item Third item. \end{itemize} \end{minipage} } \end{floatingtable} Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. \end{document}
Re: Support for floatflt in LyX?
Matej Cepl wrote: > > I have borrowed book on LaTeX (Czech "Guide for beginners" -- > wonderfull book) and it gave so curious, that I have tried to > get on with floatflt package. Unfortunately, I have not been > able to get it working with LyX. I have attached my testing LyX > file as well .tex corrected as to work. i never used the floatingtable-environment, only the floatingfigure one and this works well, the otherone not: lyx-help extended-features chapter 5.3 mike reports, that he always never runs the floatingtable. Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: Support for floatflt in LyX?
Matej Cepl wrote: > > Hi, > > I have borrowed book on LaTeX (Czech "Guide for beginners" -- > wonderfull book) and it gave so curious, that I have tried to > get on with floatflt package. Unfortunately, I have not been > able to get it working with LyX. I have attached my testing LyX > file as well .tex corrected as to work. ok, here it comes. it's a little bit special, because the table has to be put between the two paranthesis \begin{floatingtable}[l]{ ...insert lyx table ... } \caption{ blah } \end{floatingtable} it makes sense only with a table, because floatflt takes the width of the table as the width for the float. So text outside the table gives too much place for the float. have a look at the attachment. Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/ #LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 2.17 \textclass article \begin_preamble \usepackage{floatflt} \end_preamble \language english \inputencoding default \fontscheme default \graphics default \float_placement htb \paperfontsize default \spacing single \papersize Default \paperpackage widemarginsa4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language german \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard a test for floatingtable \layout Standard \latex latex \backslash begin{floatingtable}[l]{ \begin_inset Tabular \begin_inset Text \layout Standard 1 \end_inset \begin_inset Text \layout Standard 2 \end_inset \begin_inset Text \layout Standard 3asdasd \end_inset \begin_inset Text \layout Standard 4 \end_inset \begin_inset Text \layout Standard 5 \end_inset \begin_inset Text \layout Standard 6asdasd \end_inset \begin_inset Text \layout Standard 7 \end_inset \begin_inset Text \layout Standard t \end_inset \begin_inset Text \layout Standard 1 \end_inset \begin_inset Text \layout Standard 8gfhsfgh \end_inset \begin_inset Text \layout Standard z \end_inset \begin_inset Text \layout Standard 2 \end_inset \end_inset \latex default \latex latex } \layout Standard \latex latex \backslash caption{my table} \layout Standard \latex latex \backslash end{floatingtable} \latex default Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around.around. Text around. Text around. Text around. Text around. Text around. Text around. \layout Standard \latex latex \backslash begin{floatingtable}[l]{ \begin_inset Tabular \begin_inset Text \layout Standard 1 \end_inset \begin_inset Text \layout Standard 2 \end_inset \begin_inset Text \layout Standard 3asdasd \end_inset \begin_inset Text \layout Standard 4 \end_inset \begin_inset Text \layout Standard 5 \end_inset \begin_inset Text \layout Standard 6asdasd \end_inset \begin_inset Text \layout Standard 7 \end_inset \begin_inset Text \layout Standard t \end_inset \begin_inset Text \layout Standard 1 \end_inset \begin_inset Text \layout Standard 8gfhsfgh \end_inset \begin_inset Text \layout Standard z \end_inset \begin_inset Text \layout Standard 2 \end_inset \end_inset \latex default \latex latex \backslash \backslash \newline \latex default text under the table \latex latex } \layout Standard \latex latex \backslash caption{my table} \layout Standard \latex latex \backslash end{floatingtable} \layout Standard Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text around. Text aro
lyx and linux distributions
I intend to by a power pc (apple macintosh) and run yellow dog linux on it. Does lyx work on linux distributions for apple macintosh? []s lima-lopes R.E. de Lima-Lopes [EMAIL PROTECTED] GNU/Linux Registered User # 182240
Re: lyx and linux distributions
"R. E. de Lima-Lopes" <[EMAIL PROTECTED]> writes: > I intend to by a power pc (apple macintosh) and run yellow dog linux on > it. > > Does lyx work on linux distributions for apple macintosh? > > []s > lima-lopes > > R.E. de Lima-Lopes > [EMAIL PROTECTED] > GNU/Linux Registered User # 182240 I've compiled 1.15f2 successfully on Debian potato/PPC/Helix-Gnome. -- Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany
Re: How to avoid fontenc?
On Sun, Dec 10, 2000 at 08:19:40PM +0100, Matej Cepl wrote: > OK, I have found, that I have bakoma fonts available so I would > like to get them into document. Most simple is to erase fontenc > package from my preamble. However, it seems to be not possible > to do it in LyX. Or is it? I've posted a FAQ on this subject some time ago. Here is an updated version: PDF mini-FAQ 1. How to create a PDF file from a LyX file ? LyX >= 1.1.6 have support for PDF by either a) generating a Postscript file, and then running a Postscript->PDF converter (e.g. ps2pdf or pstill). If you use ps2pdf, you should use Ghostscript version >= 6.0, as earlier versions don't handle outline fonts properly (see also question 2). b) Running pdflatex. With pdflatex you need to convert your eps figures to pdf (see question 3), and you cannot use pstricks. On the other hand, with pdflatex it is possible to insert directly images in JPEG or PNG format, use TrueType fonts, and more. 2. Why the text looks really bad when I view it with Acrobat Reader? The problem is that bitmap fonts are displayed poorly by Acrobat Reader. When creating a PDF from the LyX file, you need to use outline font instead of the default bitmap fonts (in fact, you should also use outline fonts for Postscript files). Recent LaTeX distributions come with Postscript Type 1 version of the standard (Computer Modern) fonts. pdflatex uses these font by default. Dvips doesn't use these fonts by default, so to make it use them, add the following to lines to ~/.dvipsrc p+ psfonts.cmz p+ psfonts.amz If the default (OT1) font encoding is used, nothing else need to be done. However, if the T1 font encoding is used, then LaTeX uses the newer EC fonts, for which there are no Type1 version. The solution is to use the ae package which emulates T1 coded fonts using the standard CM fonts. This is done by adding "\usepackage{ae,aecompl}" to the preamble of the LyX file. However, some glyphs are missing from the CM fonts (e.g. eth, thorn), and they are taken from the EC fonts. Therefore you get these glyphs as bitmaps. Note: LyX uses by default the T1 font encoding. If you wish to use the default font encoding (this is not recommended, unless you only write English documents), add the line "\font_encoding default" to the ~/.lyx/lyxrc file. An alternative option, is to use the standard Postscript fonts instead of the Computer Modern fonts. To do that, you need to select pslatex as the global font in the document layout dialog. There is no need to use the ae. When using the Postscript fonts, the result PDF file is smaller as the fonts are not saved into the file. Furthermore, the Postscript fonts include all T1 glyphs. On the other hand, the Postscript fonts have no bold symbol font, so poor man's bold must be used (see question 4). The Postscript fonts also look different from the Computer Modern fonts. To sum up, both the Computer Modern and the Postscript fonts gives good results (with few exceptions).The decision of which one to use is a matter of taste. 3. How can I use pdflatex on a file with (eps) figures ? Pdflatex doesn't support inclusion of eps files. However, it does support inclusion of pdf file. So if you have a LyX files that includes an eps figure, say foo.eps, you need to do the following: a) Convert foo.eps to pdf by 'epstopdf foo.eps' b) When you insert the figure in LyX, do not write the file extension: For example, when inseting the file 'foo.eps', you need to write 'foo' in figure dialog. Note: In 1.2.0 it will be possible to use the new insetgraphics for inserting various kinds of images, and it will handle all the necessary transformations. (a semi-functional insetgraphics exist it in 1.1.6. To use it, type M-x graphics-insert. 4. Why the \boldsymbol{} command doesn't work when I use pslatex ? The Postscript fonts do not have a bold symbol font. The solution is to use the \pmb{} (poor man's bold) command. It is possible to redefine the \boldsymbol command to use \pmb by putting \renewcommand{\boldsymbol}[1]{\pmb{#1}} in the preamble. 5. Is it possible to do write latex code which is processed only when running pdflatex ? Yes. Here is an example: \newif \ifpdf \ifx \pdfoutput \undefined \pdffalse \else \pdftrue \fi \ifpdf \pdfinfo { /Author (your name and e-mail address) /Title (official title -- i.e., title element) /Subject (one line description of the document) } \pdfcatalog { /PageMode (/UseNone) % /OpenAction (fitbh) } \usepackage[pdftex]{hyperref} \else \usepackage[ps2pdf]{hyperref} \fi