Re: Background color

2024-09-15 Thread Paul Rubin




On 9/14/24 21:37, Zhongjin Lu via lyx-users wrote:

Dear LyX team,
I've installed the newest version. How can I switch back to the 
original background color?

Thanks,
Dr. Lu


***
Zhongjin (Gene) Lu, PhD

Associate Professor of Finance

B312 Amos Hall

Terry College of Business

The University of Georgia

https://sites.google.com/view/genelu/home




Try going to Tools > Preferences... > Look & Feel > Colors, click on 
"background", then click "Alter...", choose your preferred color, and 
accept it.


Paul
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Compose keys don't work in LyX anymore

2024-08-26 Thread Paul Rubin


On 8/25/24 22:12, John Coppens wrote:

Hi guys...

I'm hoping your collective knowledge helps me out.

I'm not a frequent LyX user (2.3.6.1) but when I had to edit a document
with accented characters (á, é, ... and ñ's) this doesn't seem to work
anymore. As you can see, in the mail program it _does_ work.

Also, I'm quite sure this worked before. When I type Win + ' + a, I get 'a
on the screen.

I have a suspicion that the problem comes from Qt5.15. Most of  my applications
are Gtk based and work fine. I am still running X11.

It's not a UTF-8 problem - I can still copy&paste from other texts into LyX.

I tried to redefine the Compose key onto the CapsLock - no change. Gtk works,
Qt doesn't.

Anyone know what could have happened?

John
Might this be OS-specific? I'm on Linux Mint 22 with Qt 5.15.13 and LyX 
2.4.1. My compose key combo (right ALT + " + a to get ä) continues to 
work. It displays the accent character (", ~, `) until I hit the letter 
key, at which point the accented character appears. This is with both 
"traditional" encoding (my default) and UTF-8.


Paul
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Cannot compile Customization document

2024-06-18 Thread Paul Rubin



On 6/18/24 11:23, Michael Dean Pugh wrote:

Hello!

I just opened Help -> Customization and attempted to compile and it 
says I am missing suffix.sty.  Is this a bug or am I missing something 
in my installation?  I did not uninstall 2.3.7 before installing 2.4, 
so I worry that there may be some residuals from the previous 
installation that may cause problems.


Thank you,
Mike Pugh

You are most likely missing something, not from the LyX installation but 
from your LaTeX setup. If you open a terminal / command window / 
whatever your OS calls it and run "kpsewhich suffix.sty", do you get a 
path to the file (in which case it is present and LyX is struggling to 
find it) or nothing (in which case the file is not present and needs to 
be installed)?


Paul
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX 2.4 & MikTeX problem

2024-06-01 Thread Paul Rubin



On 6/1/24 15:13, Bernt Lie via lyx-users wrote:


I just installed LyX 2.4.0 on my computer, and it worked.

Then I thought I should update MikTeX... Last time was in April 2024; 
there were a number of updates.


At the end of the update, I was told that the MikTeX console needed to 
close down.


When I tried to re-start it, I get this error message:

I’m then trying to **re-install** MikTeX, but am told I cannot do that 
in the default directory, because “the directory is not empty”.


So I try to **un-install** MikTeX, but then get the same error message 
as above.


What on earth is going on?

-B



Looks like a known issue (https://github.com/MiKTeX/miktex/issues/1489) 
with, apparently, a known workaround (at least for some people).


Paul
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: upright text in Alternative Proof String

2024-05-27 Thread Paul Rubin



On 5/27/24 13:32, Alexander Dunlap wrote:

Hi all,

I would like to generate output like

\begin{proof}[Proof of Theorem~\textup{3}]
...
\end{proof}

However, LyX does not seem to let me set the text style of "upright" 
within the "Alternative Proof String" -- when I set it there it just 
immediately changes back to "Default". Is there a way around this?


thanks and best,
Alex

Inside the Alternative Proof String, after "Theorem", click Insert > TeX 
Code (or use the shortcut, usually Ctrl+L but your mileage may vary), 
then type "\textup{3}".


Paul-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX-3.2.7.1 not finding biber

2024-03-29 Thread Paul Rubin




On 3/29/24 10:21, Rich Shepard wrote:

On Fri, 29 Mar 2024, Rich Shepard wrote:


Found a couple and changed them. Will check this morning if that solves
the problem.


Invoked lyx-2.3.7.1 and opened a document with bibliography. When the
document loaded a message box appeared telling me that lyx couldn't find
biblatex.sty.

However, that style file is present in:
/usr/local/texlive/2024/texmf-dist/tex/latex/biblatex/biblatex.sty

And, in Document -> Settings -> Bibliograpy the processor still says 
`biber

(not found)'. This still needs fixing.

Where should I look to find why both biber and biblatex are not found?

TIA,

Rich

Rich,

First, try "kpsewhich biblatex.sty" in a terminal to confirm that 
TeXLive knows where to find it. If the return is empty, there's a setup 
problem with TeXLive.


Second, try "which biber" in a terminal to confirm that biber is on your 
system path. If not, you may need to modify your system path (or change 
how biber is installed).


FWIW, on my system the texlive tree is under /usr/share rather than 
/usr/local (and kpsewhich finds biblatex.sty) and biber is in /usr/bin 
(which is of course on my system path).


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Upgraded TeXLive; pdflatex throws an error

2024-03-16 Thread Paul Rubin



On 3/16/24 15:38, Rich Shepard wrote:

On Sat, 16 Mar 2024, Paul Rubin wrote:


In order to try to compile the doc, LyX has to write a .tex file
someplace, and that someplace has to be the "tempbuf" directory. As long
as you don't close LyX (and barring a rift in the space-time continuum),
that buffer directory and its contents should stay put.


Paul,

The issue since the TeXLive2024 upgrade is lyx finding a pdflatex error.
While updating tlmgr and fmtutils from within /etc/cron.weekly earlier 
this
morning I ran it again manually just now and it exited with an error 
code 3:

No pages of output.
Transcript written on ptex.log.
fmtutil [INFO]: log file copied to: 
/usr/local/texlive/2024/texmf-var/web2c/euptex/ptex.log
fmtutil [INFO]: 
/usr/local/texlive/2024/texmf-var/web2c/euptex/ptex.fmt installed.
fmtutil [ERROR]: running `tex -ini   -jobname=lollipop 
-progname=lollipop lollipop.ini 
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini   -jobname=amstex 
-progname=amstex -translate-file=cp227.tcx *amstex.ini return status: 1

fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini   -jobname=eplain 
-progname=eplain -translate-file=cp227.tcx *eplain.ini return status: 1

fmtutil [ERROR]: returning error due to option --strict
fmtutil [INFO]: disabled formats: 3
fmtutil [INFO]: successfully rebuilt formats: 51
fmtutil [INFO]: failed to build: 3 (tex/lollipop pdftex/amstex 
pdftex/eplain)

fmtutil [INFO]: total formats: 57
fmtutil [INFO]: exiting with status 3

I find no 'error' in ptex.log (attached.)

I need to get this issue resolved as I depend on LyX to produce documents
for clients and regulators. With a new installation of TeXLive2024 there
should have been no issues and no failures updating fmtutil.

Sigh,

Rich


Rich,

I'd never heard of ptex before. Uncle Google says it's used to publish 
in Japanese. I take it that's what you are trying to do?


This is way deeper in the TeX weeds than I've ever burrowed. Maybe 
someone familiar with the intersection of LaTeX and Japanese can help.


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Upgraded TeXLive; pdflatex throws an error

2024-03-16 Thread Paul Rubin



On 3/16/24 13:33, Rich Shepard wrote:

On Sat, 16 Mar 2024, Paul Rubin wrote:

I trust you are leaving LyX open while you look for the temp 
directory. If

you go to Tools > Preferences... > Paths, what do you have filled in for
"Temporary directory:"?


Paul,

/tmp, and that's where I've found LyX_tempbuf* before.

Thanks,

Rich

Rich,

In order to try to compile the doc, LyX has to write a .tex file 
someplace, and that someplace has to be the "tempbuf" directory. As long 
as you don't close LyX (and barring a rift in the space-time continuum), 
that buffer directory and its contents should stay put.


To see a bit more about what's going on, try running "lyx -dbg files" in 
a terminal. It will tell you where it's parking things and what names 
it's giving them. I tried this with one of your mwe.lyx files and 
encountered something surprising.  The file loaded into LyX without any 
major complaints. (There was a message "Bibinfo cache was invalid", 
which probably does not amount to anything.) When I tried to compile it, 
I got an export error message related to the infamous 0xfffc character. 
The TeX file (mwe.tex) was written to the buffer directory, but there 
was no LaTeX log file because LyX never reached the point of running 
pdflatex (or whatever), since the export was flagged as incorrect. 
Clicking "View Complete Log..." in the error message pane caused LyX to 
calculate a name and location for the log file but not to create one 
(because, again, it didn't compile the file, hence no log). Changing the 
document encoding to "Unicode (utf8)" and compiling produced a log file 
and a bunch of auxiliary files in the buffer directory.


So not finding a log file is probably due to the export error blocking 
compilation. Not find the buffer directory is likely due to interference 
by extraterrestrials.


Paul



--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Upgraded TeXLive; pdflatex throws an error

2024-03-16 Thread Paul Rubin




On 3/16/24 11:39, Rich Shepard wrote:

On Sat, 16 Mar 2024, Rich Shepard wrote:


The first place I looked was /tmp/lyx_* but both subdirectories were
empty.


Just invoked Lyx-2.3.6.1 and tried compiling mwe.lyx using pdflatex. Same
message box displayed; image attached.

There is no lyx directory in /tmp.

All new issues for me. Suggestions needed.

TIA,

Rich

I trust you are leaving LyX open while you look for the temp directory. 
If you go to Tools > Preferences... > Paths, what do you have filled in 
for "Temporary directory:"?


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Upgraded TeXLive; pdflatex throws an error

2024-03-15 Thread Paul Rubin




On 3/15/24 17:54, Rich Shepard wrote:

I upgraded TeXLive from 2023 to 2024 and tried compiling the MWE for the
math issues still unresolve. A message box displayed:
The external program
pdflatex finished with an error. It is recommended you fix the cause 
of the external

program's error (check the logs).

1. Where do I find the appropriate log file? It's not in /tmp/ or 
/var/log/.


2. If LyX is looking for TeXLive2023 where do I tell it to look for
TeXLive224?

TIA,

Rich

The log file will be in the temp directory created by LyX for the 
document. Most likely you'll start spelunking in /tmp, but if you set up 
the temp directory to be somewhere else you can find out where in Tools 
> Preferences > Paths > Temporary directory. The full path to the log 
file will be something like /tmp/lyx_tmpdir.characters>/lyx_tmpbuf/mwe.log.


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Inline math: one ERT compiles, the other doesn't

2024-03-15 Thread Paul Rubin




On 3/15/24 16:14, Rich Shepard wrote:

On Fri, 15 Mar 2024, Rich Shepard wrote:


Apparently so. Careful re-entering the ERT allowed the doc to compile.


I was wrong. I cannot get an simple equation to compile via the menus or
ERT.

I copied the real doc.lyx to mwe.lyx and deleted everything above and 
below
the paragraph with the equation. That non-printable character shows up 
even

with a minimal entry in the ERT, regardless of whether the backslash is
entered.

I'm totally lost and need advice on what might cause this issue.

mwe.lyx attached.

Rich

In your latest MWE, the backslash before x causes an unrelated 
compilation error, because \x is not a known function.


As for the mystery non-printing character between the ERT box and the 
following comma, I cannot reproduce that. When you insert the ERT box, 
do you type ctrl-L? Assuming so, after filling in the equation in the 
box do you just cursor out of the box and type the comma?


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Inline math: one ERT compiles, the other doesn't (fwd)

2024-03-15 Thread Paul Rubin



On 3/15/24 10:59, Rich Shepard wrote:

On Fri, 15 Mar 2024, Rich Shepard wrote:

What's the difference causing this discrepancy? How do I write the 
second

line so it builds without complaint?


Looking at the mwe.lyx file in emacs I see that control character on line
137. It's not at line 118 which is the same position for the first line.

Why?

Rich
There's nothing inherent in the content causing this. I opened your 
mwe.lyx file in LyX and, after confirming the error, deleted the second 
ERT box and trailing comma, confirmed what was left compiled without 
error, then typed the ERT box and content (and trailing comma) back in. 
The document compiled without problem.


So the question is, how did you create the second part of the example 
file? Most likely something you did inadvertently inserted the problem 
character.


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Table in table

2024-03-09 Thread Paul Rubin


On 3/9/24 08:24, Paolo M wrote:
I cannot change table properties (borders and additional space) if the 
table, contained in another table, contains a math expression (a+b, in 
this case).

Here included my example lyx doc
paolo m.


Seems like a bug to me. In any case, here are a couple of possible 
work-arounds to try. One is to build the inner table outside the outer 
table, adjust borders etc. to taste, then copy it and paste it into the 
outer table. The other is to insert a frameless box in the cell where 
the inner table will go and then put the inner table in the box.


Paul
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Representing mu in bibliography source file

2024-03-06 Thread Paul Rubin



On 3/6/24 10:50, Rich Shepard wrote:
I use JabRef for my bibliography database; it's in ASCII text file 
format. Some
abstracts report concentrations in micrograms and have been entered as 
'ug.'

How can I enter the mu symbol so it displays properly in LyX documents?

Looking in /usr/share/X11/en_US.UTF-8/Compose I see multikey solutions;
i.e.,
      : "µ"    mu # MICRO SIGN
      : "µ"    mu # MICRO SIGN
      : "µ"    mu # MICRO SIGN
but while these work in text files, they're not the same as \mu in LaTeX.

Help's appreciated.

Regards,

Rich
You can put "$\mu$g" in a BibTeX entry and it should display properly in 
the document.


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Problematik: fehlender Eintrag \begin{document} stört output der Datei als Pdf

2024-02-18 Thread Paul Rubin



On 2/18/24 08:07, kauf_dich--- via lyx-users wrote:

Hallo,

ich nutze LyX seit über 10 Jahren und schreibe damit meine 
bürokratischen Briefe. Es ist sehr hilfreich für nicht Mathematiker/ 
Physiker/ Atomtechniker/ Programmierende/ Besserwisser ein Programm 
wie LyX zu nutzen. Ich nutze das veraltete DINBrief und versuche es 
neuerdings mit KOMA letter. Es gab und gibt immer wieder Ausgabefehler 
- eines Fehlers namens "! LaTeX Error: Missing \begin{document}.". 
Dadurch kann ich meine Briefe nicht/ nicht mehr als pdf outputten.


Ich habe schon sehr sehr sehr viele Forenbeiträge gelesen. Keiner 
behandelt explicit das Thema LyX und den fehlenden "! LaTeX Error: 
Missing \begin{document}." Part in DIN Brief und Komaletter. Es gibt 
auch praktisch keine Anleitungen (englische, deutsche, französische 
Foren durchsucht), wie diese Problematik in/ mit LyX lösbar ist.


So "traue" ich mich in die Mailinglist zu schreiben, da alles andere 
keinen Sinn mehr ergibt.


Schön wäre es eine konkrete Anwort, oder Nachfragen zu erhalten ohne 
das elitäre Gequatsche das Ihr alle kennt, wenn ein Noob eine Frage im 
Forum stellt und alle erstmal die Frage ignorieren und ihre 
ungefragten Weltsichten propagieren müssen.


genutztes System:
Linux Mint 20.3
LyX 2.3.6.1

Toll wäre, wenn LyX einen da an die Hand nehmen würde und eine 
einfache Ersetzung/ Einfügung der nötigen Programmierung anbieten würde.


Vielen Dank für jegliche Hilfe
Ole
I'll respond in English so as not to expose you to my echt schreckliches 
Deutsch. Can you provide a minimal sample document that exhibits the 
error? "Minimal" means using as few LaTeX packages as possible and with 
as little content as possible. If you need to insert any images or 
external files to trigger the error, please attach those as well.


Cheers,
Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Which manual has appendix details?

2024-01-19 Thread Paul Rubin




On 1/19/24 10:51, Rich Shepard wrote:

I need to re-learn how to add multiple appendices. Using Document -> Add
appendix here after the Bibliography I don't remember how to access the
documents to insert in each appendix, and have them automatically 
labeled A,

B, C.

Looking in Tutorial, User's Guide, Additional Features, and Embedded 
Objects

I am not seeing an Appendix section. StackExchange uses LaTeX code for
answers, not LyX menu items.

A clue stick is needed.

TIA,

Rich
Section 6.4 of the User's Guide is titled "Appendices". It's rather 
brief, so I don't know if it will answer your question(s).


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: File -> Import -> Plain text (join lines) opens new file

2024-01-16 Thread Paul Rubin




On 1/16/24 17:03, Rich Shepard wrote:

I've not before had this problem: importing a .txt file into a .lyx
document. I'm trying to import a file import.txt ($ file input.txt 
input.txt: UTF-8 Unicode text) into an open LyX document. Instead it 
opens a

new file called input.lyx.

What might I be doing incorrectly and not seeing?

TIA,

Rich



Are you using Insert > File > Plain Text ... ?

Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Error while exporting format: \converter

2024-01-06 Thread Paul Rubin



On 1/6/24 10:14, Hal Kierstead via lyx-users wrote:

All -

I got this message,  "Error while exporting format: \converter”, when trying to 
view a master document. It has happened in the past, but I forget how to correct it. 
Can someone help?

I am using Lyx 2.3.7 on with MacOS: 11.7.10.

Thanks,

Hal
What format are you using to view the document, and do you have a 
converter set up for that format?


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: String including \rightarrow works unless with other text

2024-01-02 Thread Paul Rubin



On 1/2/24 12:15, Rich Shepard wrote:
I'm puzzled. In a document I display a series using \rightarrow to 
separate
the components. When I compile the document it displays as in the 
attached
mwe2.lyx file. When the string is by itself (mwe.lyx) it displays 
properly.


I suspect it's a matter of spacing but I haven't figured out where.

Help's needed.

TIA,

Rich

Neither displays correctly for me. The issue is that you are inserting 
the arrow as LaTeX without invoking math mode (at least in mwe2; in mwe 
it's not even LaTeX). So the compiler guesses where to begin and end 
math mode, and it does not guess correctly. (Quoth the LaTeX log: "I've 
inserted a begin-math/end-math symbol since I think


you left one out. Proceed, with fingers crossed.")

The simple fix is to insert the arrows using math model (ctrl-M), as in 
the attached version of your second example.


Paul


mwe2a.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding accented character in JabRef

2024-01-02 Thread Paul Rubin



On 1/2/24 09:16, Rich Shepard wrote:

On Tue, 2 Jan 2024, Herbert Voss wrote:


\~a   or \~{a}
However, you should be able to insert directly ã


Herbert,

It didn't like the first two. I need to learn how to enter it directly in
using /usr/share/X11/locale/en_US.UTF-8/Compose.

Thanks,

Rich

Rich,

I forget which Linux distro you use, but you might want to check whether 
there is a keyboard layout option for the compose key. There is on Mint. 
I set it to the right alt key, so I can just type right-alt, " and a 
letter (three separate key strokes, not a chord) to get an umlaut or 
right-alt, ~, n to get ñ, etc.


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Trying to get a straight single quote

2023-12-31 Thread Paul Rubin


On 12/31/23 13:08, Blake McBride wrote:

Greetings,

I am using LyX 2.3.7 on a Linux box.  I have some text in which I'd 
like to use the straight, type-writer-like single quote instead of a 
curved one.  I tried adding the TeX code \texttt{'} but that didn't 
work.  I then went into Document / Settings / Fonts and played with 
the Typewriter setting.  That changed the quiet but I never got the 
straight single quote I am looking for.  Sure appreciate some help.


Thanks!

Blake


One option is to add "\usepackage{textcomp}" to the document preamble 
and then put "\textquotesingle{}" in ERT where you want the straight quote.


Paul


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting default document class

2023-10-27 Thread Paul Rubin




On 10/26/23 13:13, Rich Shepard wrote:



Speaking of which, if you go to ~/.lyx/templates, you should see a file
named defaults.lyx. That's your default starting document. All else
failing, try creating an empty doc with the Report class, saving it to
/tmp with the name defaults.lyx, and then moving it over to the 
templates

directory.


Okay. I didn't look in templates, but there the textclass is set to
scrreport so I cannot explain why a new doc comes up as scrbook.

Oh, well. I'll cope with it. :-)

Many thanks,

Rich
You might try "grep template_path ~/.lyx/preferences" and make sure that 
your template directory is correctly set (~/.lyx/templates). If LyX is 
looking for templates in the wrong place, that might explain why it's 
defaulting to the wrong class.


You sure know how to have fun!

Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting default document class

2023-10-26 Thread Paul Rubin




On 10/26/23 11:54, Rich Shepard wrote:

On Thu, 26 Oct 2023, Paul Rubin wrote:

Create a new document, select the document class you want as default, 
and

make any other customizations that you want applied to new documents
(fonts, paper size, whatever). Then go to Document > Settings... >
Document Class and click "Save as Document Defaults".


Paul,

Sigh. Yes, I did that yesterday with a new document. The default when the
new doc opened was KOMA-Script Book. I changed it to KOMA-Script 
Report and
clicked the link, "Save as Document Class." (Aside, it kept shifting 
back to

Book and I kept changing that to Report.)

Now, starting a new doc the default class is "KOMA-Script Book" which 
is why
I thought there might be another place that actually set the default 
class I

want.

Thanks,

Rich


Rich,

Are you saying that the doc class within a document kept changing back 
to Book on its own, or that the default class kept changing back to 
Book? I would have no explanation for the former. The latter might 
indicate a permissions problem with the directory where the default is 
saved.


Speaking of which, if you go to ~/.lyx/templates, you should see a file 
named defaults.lyx. That's your default starting document. All else 
failing, try creating an empty doc with the Report class, saving it to 
/tmp with the name defaults.lyx, and then moving it over to the 
templates directory.


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting default document class

2023-10-26 Thread Paul Rubin



On 10/26/23 11:00, Rich Shepard wrote:

Looking in ~/.lyx/lyxrc and ../preferences I do not see where I can set a
default document class when I create a new doc. Have I missed seeing 
where I

can do this?

TIA,

Rich
Create a new document, select the document class you want as default, 
and make any other customizations that you want applied to new documents 
(fonts, paper size, whatever). Then go to Document > Settings... > 
Document Class and click "Save as Document Defaults".


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: KOMA-Script Report Class: cannot select biblatex

2023-10-24 Thread Paul Rubin




On 10/24/23 14:57, Rich Shepard wrote:

I had a similar issue last June but there no longer are old, deprecated,
font style commands in my jabrefbib.bib file. I searched my lyx mail file
(from 2005) without seeing this particular situation.

I've created a new KOMA-Script report class MWE (attached.) It has only a
title and the question, "Why can't I change the bibliograpy style 
format in

Document -> Settings -> Bibliography?"

The style format data entry box has greyed out 'Natbib (BibTex)' and 
there

are no other choices available.

What do I do to fix this so I can select BibLaTeX as the style format 
(and

related style choices?)

TIA,

Rich

The Natbibapa module may be the culprit. If I remove it, I can change 
the bibliography style.


Paul
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Header does not appear

2023-10-11 Thread Paul Rubin
It works for me (after I substitute an image from my computer, since 
your image was not included). Did you check the LaTeX log for a possible 
error message?


Paul

On 10/11/23 05:44, Harold Mouras via lyx-users wrote:

Hello,
I set up a Lyx document to be able to control the header and footpage.
However, when compiling the pdf, the content of the header does not appear.
Any idea ?
Thanks,
Harold



--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: In outline, filter only by branch *name*

2023-08-03 Thread Paul Rubin




On 8/3/23 08:50, Scott Kostyshak wrote:

I have an unhealthy obsession with branches.

I can put you in touch with an arborist who can help you trim them.

When I use the outline pane and select "Branches" and under filter put the 
branch name, it also searches the *contents* of the branch insets.

Is it possible to filter by only the branch *name*?
It's a hack, but how about surrounding the branch name (at creation) 
with punctuation marks or something else that distinguishes it from 
text? For instance, rather than naming the branch "Trivia" you could 
name it "bTrivia" (the "b" being applied routinely to branch names) or 
"@Trivia" (assuming Elon Musk has no objection) or "*Trivia*".


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Turning-off a command from a layout file?

2013-09-07 Thread Paul Rubin
I'm out of ideas that would avoid editing the module. Personally, I would
copy the module and .inc files to my local layout directory, give them
different names, and edit out the Problem style. That way, both the original
and hacked modules would appear in the module list, and I could use the
ordinary version for any other document class but select the hacked version
for the new document class.





Re: Turning-off a command from a layout file?

2013-09-06 Thread Paul Rubin
Does it help to put

  NoStyle Problem

in your layout immediately after the point where you load the AMS Theorems
module?

Paul






Re: Strange behaviour of initials module aka drop-caps

2013-09-01 Thread Paul Rubin
Your "works" file works for me, although I'm missing one of the modules you
loaded (short-inset-names), which apparently is not critical.

Your "doesn't work" file had two problems when I tried to fix. The first was
that it had no title (I added one). The second was that the environment
where you wanted the drop cap was "Standard" as opposed to "Initial". I
changed the environment to "Initial", put the leading 'A' in the short title
inset (which works for "Initial" but makes no sense for a standard
environment, which takes no options) and it worked fine.

Paul




Re: a problem with formatting acronyms in svmono class

2013-08-22 Thread Paul Rubin
Just checked, and Description does not justify the left edges of the
description texts the way I thought it did. Sorry for the noise. There's a
solution to a related question at
http://tex.stackexchange.com/questions/46458/how-to-align-description-item-labels-on-the-right
that might be adapted to this purpose.

Paul





Re: [Formating?]

2013-08-19 Thread Paul Rubin
Ignacio Martinez  gmail.com> writes:

> 
> When I start a new paragraph after some "LyX-Code" text, that new
paragraph is not indented.
> Pleas help!!!

Insert a separator between the LyX code and the new paragraph.

Paul



Re: Lyx from daily PPA install fails

2013-08-15 Thread Paul Rubin
Wolfgang Engelmann  uni-tuebingen.de> writes:

> 
> 
> Am Wednesday, 14. August 2013, 22:53:21 schrieb Paul Rubin:
> > Wolfgang Engelmann  uni-tuebingen.de> writes:
> > > apt get install lyx2.0
> > 
> > If you need to install LyX 2.1 to open the document, this line should be
> > 
> > > apt get install lyx2.1
>  
>  
>  
> Thanks, Paul, but
>  
> with this line I get: lyx2.1 no package could be found
>  
> What is the corresponding /etc/sources.list of Debian for 
> LinuxMint?

This is what I have in "Software Sources" ("Other Software" tab):

http://ppa.launchpad.net/lyx-devel/daily/ubuntu quantal main
http://ppa.launchpad.net/lyx-devel/daily/ubuntu quantal main (Source Code)

The first is binary, the second obviously is source.

> And what do I have to add to get the lyx2.1 packages downloaded?

I ran exactly the following (in a terminal):

sudo add-apt-repository ppa:lyx-devel/daily
sudo apt-get update
sudo apt-get install lyx2.1

The 'lyx2.1' and 'lyx-common2.1' packages were installed. I don't believe
any other dependencies needed to be filled.

You said Mint Cinnamon but not the version. I'm using 14 (Nadia), which
forks Ubuntu 12.10 (Quantal). If you're on Mint 13, which forks Ubuntu 12.04
(Precise), it's possible that LyX 2.1 will not install due to
impossible-to-satisfy dependencies.

Paul







Re: Embedded Formula

2013-08-14 Thread Paul Rubin
Jens-D. Doll  studium.uni-hamburg.de> writes:

> when formatting my text I use embedded formula, but am not able to use  
> subscript/superscript within such a formula. Take for instance xi, make it  
> a formula and afterwards try to make the i a subscript. The same problem  
> occurs when making a text a formula afterwards: all subscripts go lost ...

Does the error occur if you do the following?

1. Type 'xi' as text.
2. Select both characters and type ctrl-M to make it a formula.
3. Select just the 'i' and type the underscore character?

Paul



Re: Lyx from daily PPA install fails

2013-08-14 Thread Paul Rubin
Wolfgang Engelmann  uni-tuebingen.de> writes:

> apt get install lyx2.0

If you need to install LyX 2.1 to open the document, this line should be

> apt get install lyx2.1

> at the last step I get an error 
> error by fetching from
http://ppa.launchpad.net/lyx-devel/daily/ubuntu/dists/debian/main/source/Sources
> 404 Not Found
>  
> Some index files could not be downloaded. Ignored or old onces used instead
>  
> I am using LinuxMint Cinnamon

I just installed LyX 2.1, also on Mint 14 Cinnamon (64 bit).

> and need a newer version of (2.1..) since the lyx file was produced with
it. Alternatively, where could I get a lyx2lyx to allow me to convert the
2.1 version to the 2.0.. version?

If you can't get LyX 2.1 to install and care to send me the file (rubin 
msu  edu), I can try to export it to 2.0 format. No guarantee that
works, for instance if it uses the new Beamer layout.

Paul




Re: Font problem in MikTeX 2.9

2013-08-05 Thread Paul Rubin
Two things come to mind. First, open a DOS window and run the command

kpsewhich ecsi.mf

It should tell you where the ecsi font source code is installed (probably in
the jknappen package). If you get a blank line as the response, you need to
install a package containing the font.

If the font is installed, try opening the MiKTeX settings application and
clicking the "update formats" button. I vaguely recall one or two occasions
where installation or update of packages through the package manager somehow
bollixed the formats, leading to font errors (on installed fonts); updating
formats seemed to fix it.

Paul




Re: Help With Acknowledgements Please

2013-08-01 Thread Paul Rubin
Have you looked at File > New from Template > thesis > Acknowledgments.lyx?
I would try copying its contents into your thesis. (Note: the template may
ask you to let it create a dummy thesis document. You can delete that
document once you've determined whether pasting into your actual thesis works.)

Paul





Re: cant get bibtex file into pdf

2013-08-01 Thread Paul Rubin
I put your bibliography and style in a dummy document here and had no
problems -- all the references showed up in the bibliography as expected.
The problem may lay in the document.

Paul



Re: Using Theorems (Numbered by Type) with Named Theorems

2013-08-01 Thread Paul Rubin
I'm not sure what happened with my previous reply; it seems to be
disconnected from this thread. At any rate, I tried another hack: rather
than including all the starred theorems (possible undesired pollution of the
environment drop-down list), I just hacked theorems-named.module to replace
the "CopyStyle Theorem*" line with the necessary lines from the Theorem*
style. In tests, it seems work as expected, allowing the named theorems
module to be used with any otherwise legal combination of theorem-related
modules (or by itself, without any other theorem modules).

Should we move this over to the developer forum as an RFC, or should I just
file a ticket with the fix attached?

Paul





Re: Using Theorems (Numbered by Type) with Named Theorems

2013-07-31 Thread Paul Rubin
Richard Heck  lyx.org> writes:

> Try this: Copy the theorems-named.module file to your local LyX 
> directory. On Linux, the original file would be at 
> /usr/share/lyx/layouts/, and you would copy it to ~/.lyx/layouts/. On 
> other systems, you can find the relevant directories by looking at Help> 
> About LyX. Once you have done that, open the local copy and change the 
> Requires line to read:
> 
> #Requires: theorems-ams | theorems-starred | theorems-byname

I think you meant theorems-ams-bytype for the last one. That works, but it
still leaves "Theorems (By Type)" and "Theorems" incompatible with "Named
Theorems".

It turns out that the only thing Named Theorems needs as a prerequisite is
the Theorem* style, which it copies. So I tried deleting the #Requires line
entirely and instead added "Input theorems-starred.inc". It seems to work
fine, even if *none* of the theorem related modules are loaded, as long as
you don't mind that you have named theorems and the basic unnumbered
theorem-like environments (whether you want them or not) but perhaps not
other theorem-like environments.

If we want it to work with the vanilla Theorems module and "Theorems (By
Type)", I think we need to add the Input line -- they don't (currently)
input theorems-starred.inc -- regardless of whether or not we use the
requirements line.

The one thing I'm not sure about is why theorems-std.module and
theorems-bytype.module exclude theorems-starred: is it just redundancy, or
are std and bytype somehow incompatible with theorems-starred.inc?

Paul



Re: How to vertically centre multirow content

2013-07-11 Thread Paul Rubin
It centers vertically for me by default. This is using LyX 2.0.6 on Linux,
but I would be surprised if your having a Mac is the culprit. Can you post a
minimal example?

Paul





Re: Install not working on Win7pro 64bit

2013-07-08 Thread Paul Rubin
You might delete your user directory (Help > About LyX will give you the
path) and everything under it, then start LyX (which should cause the
directory to be rebuilt).

Paul




Re: Permanently set spellchecker to Canadian English

2013-06-28 Thread Paul Rubin
Open a new file, use Document > Settings > Language to set your preferred
peculiar dialect of English and click Save as Document Defaults. The UI
setting is just that -- it governs the user interface. File > New uses
whatever your recorded document defaults are.

Paul





Re: Fehler beim Aktualisieren eines pdfs

2013-06-27 Thread Paul Rubin
If you are viewing the PDF in Acrobat Reader XI, you may be falling prey to
a problem discussed here:
http://thread.gmane.org/gmane.editors.lyx.general/77622.

Paul



Re: Installation und Verwendung des TikZ-Paket in LyX

2013-06-23 Thread Paul Rubin
Two editors that I have tried and liked:

TikZiT (http://tikzit.sourceforge.net/) -- mainly useful for node diagrams
TikzEdt (http://www.tikzedt.org/) -- just starting with this, but it looks
promising

Paul





Re: Place float:figure in this subparagraph

2013-06-11 Thread Paul Rubin
Short of manually inserting page breaks (and adjusting them whenever the
text changes), I do not think it is possible to do what you want and be
certain that you get the desired result. You can try using \FloatBarrier
from the placeins package
(http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions#Keeping_floats_in_their_place).
I have no experience with it, but I suspect that it will disrupt the
formatting of the page in a way similar to your using manually placed page
breaks.

Paul



Re: Place float:figure in this subparagraph

2013-06-07 Thread Paul Rubin
Are you inserting them with Insert > Float > Figure? If so, right click the
"handle" labeled "Float: Figure", choose Settings..., and deselect "Use
default placement" and try "Here definitely" instead.

Paul 




Re: Lyx v 2.0.6 unable to view files

2013-06-07 Thread Paul Rubin
Rasmus K  kth.se> writes:

Does File > Export > PDF (pdflatex) generate a correct PDF file? If so, the
problem is with LyX calling a viewer; if not, the problem is with LyX
calling pdflatex.

Paul




Re: Backgound in formula

2013-06-06 Thread Paul Rubin
Load the xcolor package in the document preamble (\usepackage{xcolor}).
Inside a math inset, start by typing \colorbox and then press the space bar.
Now type \{, which should create a pair of braces surrounding an inset, and
type the background color name (e.g., cyan) inside. The color name will look
like a math formula (c times y times a times n), but don't worry about that.
Just after the closing brace, type \{ again, and type the actual formula in
the new inset.

Paul



Re: Document class missing after installation

2013-06-06 Thread Paul Rubin
Is the MiKTeX bin directory on your system path? Can you run "latex --version"
at a DOS prompt (without supplying a path to MiKTeX) and get a response
with a plausible version date?

If yes, take a look at the log generated by the installer (should be
in your user directory, I think) and see if it found a LaTeX installation.
You might want to publish the log to the list.

Paul




Re: Need LyX 1.6.10 Configuration file for Windows 32 bit

2011-10-21 Thread Paul Rubin
Assuming you use MiKTeX, your DVI viewer should be yap. Try exporting a test
document to DVI and preview it with yap to verify that yap works. Also, if yap
is not on the system command path, try adding it to the path and then
reconfigure LyX.

Paul



Re: Beamer and greyed-out items

2011-10-18 Thread Paul Rubin
Julio Rojas  gmail.com> writes:

> 
> Dear all. In a beamer presentation I would like to have greyed-out
> items after a pause environment. Right now they do not appear until it
> is their turn to appear. For me it is easier to know in advance what
> are the items I'm going to talk about in each slide, so I don't start
> wandering around, possibly going ahead in my presentation.
> 
> I hope it is clear what I want. Thanks in advance.
> 

Try \setbeamercovered{transparent} in the preamble.  You can adjust how dark the
"hidden" text is by setting a value between 0 and 100 for "transparent", e.g.
\setbeamercovered{transparent=25}.

Paul



Re: LyX slowness

2011-10-13 Thread Paul Rubin
For what it's worth, I have LyX installed on three machines (Dell desktop, Dell
laptop, Acer desktop).  All run Linux Mint with the Gnome desktop.  The Dells
are both Intel 32; the Acer is AMD 64.  Both desktops have nVidia displays with
nVidia proprietary drivers.  I'm not sure about the laptop, but I think that too
is nVidia.  I've had no problems with display speed on any of them.  The math
toolbars are both set to open automatically when in a math inset, close when 
not.

Paul 



Re: A Lyx-beamer question

2011-10-10 Thread Paul Rubin
Murat Yildizoglu  gmail.com> wrote:
> 
> Is there a way to catch back my initial trick (putting it only once
> for all slides)? Why what I put in the preamble is not used during the
> compilation (means that, I imagine, something else in the template
> reverses it)?
> 
> Murat
> 

Does it work if you put it in ERT in a standard environment at the beginning of
the body of the document?

Paul




Re: [OT] Fonts in TeXLive/DVI/Evince

2011-10-10 Thread Paul Rubin
Guenter Milde  users.berlios.de> writes:


> You might try installing/using a dedicated DVI viewer for the quick preview.

Thanks Guenter.  I'll definitely try a new viewer.

Paul




Re: [OT] Fonts in TeXLive/DVI/Evince

2011-10-09 Thread Paul Rubin
Guenter Milde  users.berlios.de> writes:

> 
> On 2011-10-06, Paul A  Rubin wrote:
> > Hi all,
> 
> > Not sure where the culprit is, but if I use \neq in a math formula in
> > LyX with TeXLive 2010 and Evince as the document viewer, it shows up as
> > an equal sign.  Viewing in PDF is fine, 
> 
> Could you be more clear here: which TeX engine (XeTeX, pdfTeX, LuaTeX),
> which output format (DVI, PS, PDF) and which viewer?

pdfTeX -- DVI -- Evince
> 
> For me, Evince is the default PDF viewer, so I don't see why there should be
> any difference.

On my boxes (I've confirmed this now on two Linux machines, one 32-bit and one
64-bit), when I view a test document as PDF in Evince (using any of the three
methods for generating PDFs), Evince's Help > About dialog says that it is
"Using poppler/cairo (0.16.4)".  It doesn't say that when I view DVI output.  I
assume that helps explain why I get the correct glyph in Evince with PDF and not
with DVI.
> 
> > and a random sampling of other
> > math symbols all worked with View > DVI.  Anybody seen this before?
> 
> I know that e.g. XeTeX silently drobs missing characters, as in some cases
> \neq is composed out of two, this could be a missing \not char.
> 
> If the result depends on the viewer, there might be problems with the
> character composition. Maybe this could be solved by using a font-package
> providing a pre-composed character.

This is more a matter of curiosity than urgency.  I do most of my work in PDF
and use DVI primarily for quick checks while writing (since it seems a bit
faster than PDF ... although some of that may be Acrobat Reader being slow to
load).  As long as I remember not to freak out when I see an equal sign where it
should be not equal, I'll be okay.  I just thought that maybe this was a
well-known symptom of a specific font file being missing.

Thanks,
Paul






Re: Lyx Windows <-> Linux Compatibility

2011-09-28 Thread Paul Rubin
In addition to missing packages (which has already been mentioned), it is
sometimes the case that different versions of the same package are installed
under Linux and Windows. Updating the older package to the newer version (on
whichever machine has the older version) usually cures problems of that nature.

FWIW, I've been editing the same docs on both Windows and Linux for years with
almost no difficulties.

Paul



Re: Underbar and math display style

2011-09-21 Thread Paul Rubin
Paul Smith  gmail.com> writes:

> 
> On Wed, Sep 21, 2011 at 10:20 AM, Paul Smith  gmail.com> wrote:
> > Write a short paragraph, select it and add an underbar to it.
> > Afterwards, introduce a formula in display style -- you will not be
> > able of compiling your document. (Please, see the attached example.)
> >
> > Is this a bug?
> 
> As a workaround, insert in ERT two curly brackets. (See the attached example.)
> 

Other things that work: hit Enter after the text, then insert the display
formula; use the text style button to reset the underbar style immediately at
the end of the text, then insert the display mode formula; create the document
the way you did but highlight the formula and use the text style dialog to reset
the underbar before compiling.

As to whether this is a bug, I think that would depend at minimum on whether
there are text styles (other than underbar) that one would want to extend into
display mode equations.  (I checked, and the document compiles fine if the
formula is inline; it has to be display mode to screw up.)  I can't think of any
reason to carry text styles into display mode formulas, but I'm not the most
imaginative guy when it comes to writing.  If there is no reason, that it might
be reasonable to ask LyX to discontinue text styles when display mode is
encountered and resume them later.

Paul





Re: Updating to new Texlive release

2011-09-15 Thread Paul Rubin
In LyX, could Tools > Preferences > Paths > PATH prefix be pointing to the old
version?

Paul




Re: Completely removing LyX and MikTeX from Windows XP [was RE: pdflatex never finishes (LyX 2.0.1)]

2011-09-15 Thread Paul Rubin
Matthias Hunstig  uni-paderborn.de> writes:


> If there anything I should delete after uninstalling the software from the
Windows XP Control Panel to end
> up with a "clean" system?

On Windows XP, look in C:\Documents and Settings\\Application Data and
delete any folders with 'Lyx' or 'Miktex' in their names.  Note that this will
delete any customized layouts, keyboard bindings etc. you might have stored for
LyX.  If you have any such things, it would be prudent to archive copies first.

Also look in C:\Documents and Settings\\Local Settings\Application Data
for MikTeX directories.  (LyX stores nothing there, but I think MiKTeX does.)

Repeat this above with "All Users" in place of  to catch anything
stored if either LyX of MiKTeX was installed for all users.

Paul





Re: Xy-pic command doesn't seem to work

2011-09-14 Thread Paul Rubin
Alberto Alcalá Alvarez  yahoo.com> writes:


> 
> \xymatrix {
>   B \ar {-->} [r] & R}
> does something like       B>^[r]     R

You need an ampersand (@) immediately before the braces:

\xymatrix {B \ar@{-->}[r] & R}

See section 3.4.1 of the XY-pic manual (in the Help menu).

Paul




Re: pdflatex never finishes (LyX 2.0.1)

2011-09-14 Thread Paul Rubin
It would be a good idea to export a file to LaTeX (pdflatex), then run pdflatex
against it in a DOS window.  That might help pin down whether there are problems
with your LaTeX (MiKTeX?) distribution.

Paul




Re: Unable to install MikTex with Lyx 2.0

2011-09-13 Thread Paul Rubin
Christian Wilhelmsen  gmail.com> writes:

> 
> 16:42:41.743: (buffer-view: Ctrl+R)
> 16:42:41.798: pdflatex  "file.tex"
> 16:42:41.868: This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9)
> 16:42:42.829: (Fatal format file error; I'm stymied)
> D:\LyXSVN\LyX2.0.x\src\support\Systemcall.cpp(259): Systemcall: 'pdflatex 
"file.tex"' finished with exit code 1

I won't swear to it, but I think another MiKTeX user reported something similar
recently.  (You might want to search the list archive on GMANE to see replies to
that message.)  Try the following:

* In the Start menu, run the MiKTeX settings application.  I'm not on a Win box
right now, so I'm working from memory.  I think there are two versions (one for
administrators, one not).  If so, run the admin version just to be safe.

* In the first tab, there should be two buttons near the top, labeled something
like "Update Formats" and "Refresh FNDB".  Do them in that order.  I'm not sure
you need the second one, but it can't hurt.

* Reconfigure and restart LyX and see if things work.

* If things still don't work, run "pdflatex file.tex" against your test doc and
see if it spits up any meaningful errors (i.e., more meaningful than the one
above).

BTW, I've used MiKTeX (with LyX) for years on Windows, and have not had a
problem with spaces in file paths.  Most of my LyX docs reside under 
"My Documents".

Paul




Re: Two identical installations of LyX cannot read the same file. What is wrong?

2011-09-12 Thread Paul Rubin
Steve Litt  troubleshooters.com> writes:


> 
> I had an almost identical problem a few months ago, on Ubuntu 11.04. 
> In my case, the solution that fixed the problem was to uninstall LyX 
> through Synaptic, download the latest stable LyX from LyX.org, and 
> then install it the old fashioned way, ./configure;make;make install. 
> Be aware that LyX has some pretty hairy dependencies, especially as 
> concerns Qt4. I basically had to install almost everything having to 
> do with Qt4 to get it to work, but once so installed, LyX worked 
> perfectly.

If, like me, you are averse to Adventures in Dependencies (and like to use
Synaptic), you can find a DEB package for LyX 2.0.1 at
http://www.getdeb.net/updates/Ubuntu/11.04/?q=lyx.  Works fine for me.




Re: visor LyX does not work

2011-09-10 Thread Paul Rubin
Eugenio Raliuga  gmail.com> writes:

After View > PDF (and with LyX still running), use a terminal to check whether
the temporary directory is there and, if so, whether the PDF output file is
there.  What are the results?

Paul







Re: PDF won't generate

2011-09-10 Thread Paul Rubin
Gabriel Hurley  gmail.com> writes:

> 
> Windows 7. I am using 2.0.0 because 2.0.1 has not been released for
> Windows except through cygwin. And yes, it happens with every lyx
> file.

1. Can you find the LyX temporary directory?  If so, after View > PDF (pdflatex)
and with LyX still open, does Windows Explorer show newfile1.tex parked in that
directory?

2. Create a new file and save it somewhere (say, your desktop).  Does File >
Export > PDF (pdflatex) create a .tex file of the same name alongside it?

3. If you right-click the LyX icon and run it as an administrator, does the same
problem occur?

Paul




Re: Automatic math toolbar related

2011-09-06 Thread Paul Rubin
Joon Ro  gmail.com> writes:

> 
> I edit a document with a lot of math  
> and I wish I can just have the toolbar on all the time.
> 

With the cursor _not_ in a math inset, go to the View > Toolbars menu and click
on "Math Panels (auto)", "Math (auto)" and any other toolbars you want to lock
in the displayed position.  Repeat the process if you decide you want to return
them to automatic mode.

Paul






Re: Problem getting started -- cant find ecm fonts

2011-09-05 Thread Paul Rubin
This is a problem with either the DVI viewer or your LaTeX implementation; it is
external to LyX.  Judging by the error message, it appears that (a) you are on
some flavor of Windows (happens to even the best of us at times) and (b) you are
using TrueTeX rather than the more common (on Windows) MiKTeX.  It's possible
there are some TrueTeX users on the list, but you're best bet is probably to
look for whatever help forums TrueTeX might offer.

Good luck,
Paul



Re: Can't Export PDF from LyX

2011-09-04 Thread Paul Rubin


On 09/04/2011 05:09 PM, Jane Shevtsov wrote:
The appropriate deities having been propitiated, I was able to 
uninstall MiKTeX and then install the latest version (the basic 
installation). I then successfully used pdflatex from the command 
prompt. Now, how do I connect LyX to the new MiKTeX installation?
Assuming the appropriate deities stay propitiated (they can be greedy 
little buggers), start LyX, click Tools > Reconfigure, close and restart 
LyX when the configuration is done and hope for the best.  As a sidebar, 
during reconfiguration LyX will attempt to create tiny test documents 
using a zillion different LaTeX classes, most of which you will probably 
never use yourself.  The MiKTeX settings utility gives three choices for 
what MiKTeX will do when it encounters a request for a class or style 
not currently installed:


  1. automatically attempt to find it on the Internet and install it;
  2. automatically skip it (so that the document does not compile); or
  3. ask you whether you want to install it.

During LyX reconfiguration, option #1 will slow reconfiguration to a 
crawl (which is okay if you want to go off and read "War and Peace", in 
the original Russian, while reconfiguring).  Option #2 (my favorite) 
will hasten reconfiguration, and requires minimal involvement by you, 
but will leave you with a lengthy list of LyX classes marked 
"unavailable".  Option #3 will result in incessant nagging during the 
installation.  My recommendation is to run the MiKTeX package manager 
before reconfiguring LyX.  Look for document classes you use frequently 
(for me, that's mainly article, amsarticle and beamer) and, if not 
already installed, install them.  Install docbook, too, even if you 
don't use it; I'm pretty sure the LyX help files (or at least some of 
them) do.  Don't worry about style files (things like titlesec or 
mdwtools); just get the key document classes.  Then set MiKTeX to option 
#2 and reconfigure LyX.  You should end up with all your preferred 
document classes available in LyX.  After reconfiguring, set MiKTeX to 
either option #1 or #3 (your choice), so that when you try to use a 
style package (such as titlesec) that isn't installed, MiKTeX goes and 
fetches it.  LyX does not need to be reconfigured after adding (most) 
style files, just after adding classes.  (I oversimplified slightly 
there -- I think some LyX layouts require both a base class and one or 
more style files -- but it's close enough for now.)


Paul



Re: Can't Export PDF from LyX

2011-09-03 Thread Paul Rubin



On 09/03/2011 06:46 PM, Jane Shevtsov wrote:
On Sat, Sep 3, 2011 at 3:31 PM, Paul Rubin <mailto:ru...@msu.edu>> wrote:


No need to uninstally LyX, but yes, I would uninstall MiKTeX.


OK, even uninstalling doesn't work right. The error message says, "The 
operation could not be completed for the following reasons: The 
IniTeXMF executable could not be found.".


Find the MiKTeX directory under C:\Program Files (86) and delete it 
manually.  Then find the MiKTeX directories under your roving profile 
and any other profile (if you refer back to the error message where it 
complained about no formats.ini, a bunch of paths were listed there).  
Next, I would suggest you install the free version of CCleaner 
(http://www.piriform.com/ccleaner/download).  Once that's installed, it 
will offer to run itself -- do so, find the tab that cleans the 
registry, and use that to get rid of any problem keys (pointing to 
now-nonexistent directories).  Personally, I always just tell it fix all 
the problems it finds.  Once you've cleaned the registry, proceed with 
reinstalling.  You may wish to make a sacrifice to the Computing Gods to 
appease them before reinstalling.


Paul


Re: Can't Export PDF from LyX

2011-09-03 Thread Paul Rubin


On 09/03/2011 06:10 PM, Jane Shevtsov wrote:

No, I still get the error message saying formats.ini doesn't exist.
I did a quick search and found a couple of posts (auf Deutsch, so it's a 
gamble whether I understood them correctly) by someone who experienced 
the same problem.  If my very rusty German served me, reinstalling 
MiKTeX solved it for him.


Should I uninstall LyX and MiKTeX

No need to uninstally LyX, but yes, I would uninstall MiKTeX.

and then installing an older version of MiKTeX?
No, I would go with a newer version.  The current version is 2.9.  I'm 
pretty sure I have that installed on Win 7 Home (64 bit) on one machine, 
and it works there.


I would suggest installing a minimal version of MiKTeX with the network 
installer, and then adding packages as needed.  That way, if it's still 
broken, you will have expended less time finding out.


Good luck.
Paul


Re: Can't Export PDF from LyX

2011-09-03 Thread Paul Rubin



On 09/03/2011 05:18 PM, Jane Shevtsov wrote:


There's only one version of the Settings application. When I tried 
what you described, I got the error message below.


MiKTeX Problem Report
Message: No formats.ini exists.
Data:
Source: Libraries\MiKTeX\Core\FormatInfo.cpp
Line: 216
MiKTeX: 2.8
OS: Microsoft Windows 7 Home Premium Edition, 64-bit Service Pack 1 
(build 7601)

SystemAdmin: no
PowerUser: no
Root0: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
Root1: C:\Users\jaia\AppData\Local\MiKTeX\2.8
Root2: C:\ProgramData\MiKTeX\2.8
Root3: C:\Program Files (x86)\MiKTeX 2.8
UserInstall: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
UserConfig: C:\Users\jaia\AppData\Roaming\MiKTeX\2.8
UserData: C:\Users\jaia\AppData\Local\MiKTeX\2.8
CommonInstall: C:\Program Files (x86)\MiKTeX 2.8
CommonConfig: C:\ProgramData\MiKTeX\2.8
CommonData: C:\ProgramData\MiKTeX\2.8

Oh boy.  Just to add complicating factors, you've got a 64 bit version 
of Win 7.  Theoretically 32 bit apps run fine on the 64 bit version.  
Less theoretically, installers for 32 bit apps sometimes get confused by 
the 64 bit version (which installs them in a different place from where 
they think they're being installed).  At least I think that's what goes on.


Anyway, before panicking, let's try this.  Repeat what you just did, but 
instead of left-clicking the Settings icon on the Start menu, right 
click and pick "run as administrator" (wording approximate). Win 7 will 
ask you if you're sober (or something to that effect); tell it whatever 
it wants to hear.  Click the same two buttons in the same order and see 
if MiKTeX behaves itself this time.


Paul



Re: Can't Export PDF from LyX

2011-09-03 Thread Paul Rubin

On 09/03/2011 05:00 PM, Jane Shevtsov wrote:


I successfully added the MiKTeX bin directory to the system path and 
exported a file. Running pdflatex gave this message:

This is pdfTeX, Version 3.1415926-1.40.10 
initexmf.exe: No formats.ini exists.
I can't find the default format file!
Okay, this may be progress.  In the Start menu, MiKTeX entry, there 
should be a folder labeled "Maintenance", and in that a shortcut to an 
application that I think is labeled "Settings".  I seem to recall that 
on Win 7 there are actually two of them, with either the program or 
folder name including "Admin" (I'm on Linux right now, so I'm working 
from memory).  I'm not sure it makes a difference if you're the only 
MiKTeX user on the machine, but run the Admin version just to be safe.  
On the first tab, click the second button (the label is something like 
"Update Formats") and then the first button ("Refresh FNDB").  Then 
repeat what you did above and see if the "no formats.ini" message goes 
away and (hopefully) the trivial document compiles.


Interestingly, LyX is also saying (in Document > Settings) that all 
document classes are unavailable.
That's because LyX thinks you don't have LaTeX installed.  Once we sort 
out your problems with MiKTeX, reconfiguring and restarting LyX should 
solve this.


Paul



Re: Can't Export PDF from LyX

2011-09-02 Thread Paul Rubin
Jane Shevtsov  gmail.com> writes:

>>   Look at the Edit menu. Second from the bottom it says, "Reconfigure."
>> Click on that, then exit LyX and restart it. 
> 
> When I did that, even the option of exporting a PDF disappeared.-- 

This is a game-changer.  It suggests that there is a problem with your MiKTeX
installation (assuming MiKTeX is what you're using, which on Windows is quite
likely).  Am I right that View > PDF (pdflatex) is also no longer available?

After the reconfiguration, does LyX still offer View > DVI and Export > DVI?

If DVI still works but pdflatex is gone, try running the MiKTeX settings
application (should be in your Start menu, I think under MiKTeX > Maintenance).
Run "Update Formats" and "Refresh FNDB" on the general tab, then reconfigure LyX
again and see if that helps.

Paul




Re: Can't Export PDF from LyX

2011-09-02 Thread Paul Rubin



On 09/02/2011 01:24 PM, Jane Shevtsov wrote:
On Thu, Sep 1, 2011 at 2:06 PM, Paul Rubin <mailto:ru...@msu.edu>> wrote:


So, despite the message, the PDF file does not show up in the
directory where
the LyX doc lives?  Try exporting and (with LyX still running) use
Windows
Explorer to check the LyX temporary directory.  (If you're not
sure where that
is, check Tools > Preferences > Paths > Temporary directory.  I
could pretty
much tell you from memory where it is on XP, but Win 7 moved stuff
around, and
I'm not on a Win box right now.)  Assuming you can find the
directory, if the
PDF file is sitting in it, then the problem may be something with
access
permissions for the directory where the source document is (unlikely,
but possible).


I tried that, changing the temp directory to Documents. I saw lots of 
intermediate files but not the PDF.
So, as Richard points out, something went splat during the process of 
creating the PDF.  In addition to Richard's suggestion, you might try 
the following.  Once again try the export and, with LyX open:


  1. Check Document > LaTeX Log and see if any error messages are
 given. Click "Next Error" to cycle through error messages. If it's
 grayed out, there were no errors. If there are errors, copy the
 log to the clipboard and paste the parts with errors into a
 message here. (The log's likely to be lengthy, so it might be a
 good idea to lop out stuff not near an error message.)
  2. If there are no error messages,look in your redirected buffer
 directory.  One of the intermediate files should be .tex,
 where  is your document name. Open a command prompt there
 (using Win-R to open the run dialog, and running 'cmd', is a quick
 way to get a command prompt; use 'cd ' to get to the temp
 directory).  Once there, run 'pdflatex .tex'. Does it produce
 a PDF file?  (If it does, cross-references and bibliographic
 citations won't be correct, but at least we'll know you can
 generate a PDF.)



Are Acrobat Reader and Foxit on your system command path (meaning:
can you run
either one from a DOS prompt)?  If not, it's possible that adding
one or both to
your system path and then reconfiguring LyX might fix the problem.


How do I do that?
The easiest way is a free download: 
http://www.redfernplace.com/software-projects/patheditor/.  Just add the 
directories containing the .exe files for Reader and Foxit to either the 
system command path or your personal command path.


Note, though, that this has nothing to do with the lack of a PDF output 
file in the temp directory.  This only affects LyX not knowing about the 
reader programs.


Paul



Re: Can't Export PDF from LyX

2011-09-01 Thread Paul Rubin
Jane Shevtsov  gmail.com> writes:

> 
> I just installed Lyx 2.0 (upgraded from 1.6 because of a problem I was having,
although I used it successfully for quite a while) and I can't export any PDFs,
although the message at the bottom says, "Successful export to format: pdf2".

So, despite the message, the PDF file does not show up in the directory where
the LyX doc lives?  Try exporting and (with LyX still running) use Windows
Explorer to check the LyX temporary directory.  (If you're not sure where that
is, check Tools > Preferences > Paths > Temporary directory.  I could pretty
much tell you from memory where it is on XP, but Win 7 moved stuff around, and
I'm not on a Win box right now.)  Assuming you can find the directory, if the
PDF file is sitting in it, then the problem may be something with access
permissions for the directory where the source document is (unlikely, 
but possible).

> I'm running Windows 7 and have both Acrobat Reader 10 and Foxit Reader
installed, with Foxit being the default.  Also, the only options I'm seeing
under Preferences > File Handling > File Formats > PDF (pdflatex) are "None" 
and "Custom".

Are Acrobat Reader and Foxit on your system command path (meaning: can you run
either one from a DOS prompt)?  If not, it's possible that adding one or both to
your system path and then reconfiguring LyX might fix the problem.

Paul




Re: Lyx 2.0: can't open new files with Wordpad/Editor

2011-08-29 Thread Paul Rubin
Guest_NP  gmx.de> writes:

> 
> You mean filename.doc.lyx? 

No, I'm pretty sure Eberhard meant that 'doc' would be the document (file) name
and 'lyx' the extension.  Do your files actually have names with those two
extensions (such as myfile.doc.lyx)?  If so, how are they created?

Paul






Re: Beamer

2011-08-24 Thread Paul Rubin
It turns out this is a bug in the version of hyperref.sty that Jure is using
(http://tex.stackexchange.com/questions/15783/undefined-control-sequence-hyperlink-error).

Paul



Re: Beamer

2011-08-23 Thread Paul Rubin
It looks as if you might have a problem with a hyperlink.  Have you added any
hyperlinks (beyond the navigational links that beamer provides automatically)? 
If so, you might try deleting them and see if that helps.  Do you have the
hyperref package installed (seems likely, but worth checking)?  Also, does the
problem persist if you select Document > Settings > PDF Properties and select
the "Use hyperref support" box?

Paul



Re: how to write an Augmented Matrix

2011-08-21 Thread Paul Rubin
Here's a LyX file (including step by step instructions).

Paul

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman lmodern
\font_sans lmss
\font_typewriter lmtt
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 0
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset Formula 
\[
\textrm{System: }\begin{aligned}2x-3y=8\\
4x+5y=1
\end{aligned}
\qquad\textrm{Augmented Matrix: }\left[\begin{array}{cc|c}
2 & -3 & 8\\
4 & 5 & 1
\end{array}\right]
\]

\end_inset


\end_layout

\begin_layout Standard
Construction:
\end_layout

\begin_layout Enumerate
Insert > Math > Display Formula
\end_layout

\begin_layout Enumerate
Type 
\backslash
textrm (space) to create text insert
\end_layout

\begin_deeper
\begin_layout Enumerate
Type 
\begin_inset Quotes eld
\end_inset

System: 
\begin_inset Quotes erd
\end_inset

 (including the space)
\end_layout

\begin_layout Enumerate
Exit the text inset (staying inside the formula inset) using the cursor
 keys or mouse
\end_layout

\end_deeper
\begin_layout Enumerate
Type 
\backslash
aligned (space) to create an aligned inset
\end_layout

\begin_deeper
\begin_layout Enumerate
Type the first equation and hit Ctrl-Enter to get a second line
\end_layout

\begin_layout Enumerate
Type the second equation and exit the aligned inset using the arrow key,
 space key or mouse
\end_layout

\end_deeper
\begin_layout Enumerate
Type Ctrl-Space and add a few more spaces to separate the two parts
\end_layout

\begin_layout Enumerate
Repeat step 2 using the text 
\begin_inset Quotes eld
\end_inset

Augmented Matrix: 
\begin_inset Quotes erd
\end_inset


\end_layout

\begin_layout Enumerate
Use Insert > Math > Delimiters to create the brackets for the matrix
\end_layout

\begin_layout Enumerate
Use Insert > Math > Array Environment to create a 2x3 array
\end_layout

\begin_deeper
\begin_layout Enumerate
Enter the coefficients
\end_layout

\begin_layout Enumerate
With the cursor in the last column (either row), click Edit > Math > Add
 Line to Left
\end_layout

\end_deeper
\begin_layout Standard

\end_layout

\end_body
\end_document





Re: listing package with multicol

2011-08-17 Thread Paul Rubin
Kulkarni Shantanu  lists.shantanukulkarni.org> writes:

> 
> Hi,
> I have to split a program code (done using listing package)in 2 columns.
> The ways I have in mind are,
> - make minipage 50% of width
> - make a table with 2 colums
> - use multicol package
> 
> Which of these is preferred? Or any other way that is recommended?
> 

It might depend on why you have to split the code. If it's just to reduce the
height of the listing, I'd probably use the multicol package with the multicols
option in the listing.

Paul



Re: Can't export in PDF

2011-08-11 Thread Paul Rubin
Anaïs Maréchal  gmail.com> writes:

> 
> 
> Hi everybody,I don't know much on Lyx, I tried to search in the previous bug
> and on the web but no results.I installed Lyx 2.0.0 on my Windows 7 laptop. 
> I wrote a text, and when I want to visualize it, I have an error (cannot find
> the rapport.pdf file). So I tried to export my file in pdf, and I have an 
> other error (with ps2pdf, but pdflatex works fine) :"An error happened during
> the execution :python -tt "C:/Program Files (x86)/LyX20/bin/../Resources
> /scripts/clean_dvi.py""rapport.dvi" "tmpfile.out" "(I translate because I use
> the french version, so maybe it's not exactly the same in the english version)

Does this happen if you try View > DVI with the document?  If so, does the LaTeX
log (Document > LaTeX log) show any errors?
>
> I also have an error from the conversion from bmp(or jpg) to eps, but I should
> look on the web to find how to solve this one.

Do you have ImageMagick installed?  LyX relies on ImageMagick to convert among
graphics formats.  It also needs Ghostscript installed (IM uses GS when the
conversions involve PS, EPS or PDF files).

Paul




Re: Error reading theorem modules.

2011-08-08 Thread Paul Rubin
Rudi Gaelzer  gmail.com> writes:

> Is it possible that the texlive 2010 version in F15 is lacking the 
> needed packages?  I 
> have the F14 version of texlive 2010 installed in another workstation 
> and that works all right.

I don't think so; the only packages "by type" uses are amsmath.sty and
amsthm.sty, and without those all the AMS theorem modules should be borked.

I just tried on my laptop (Linux Mint, TeXLive 2010) and got the same error you
did.  Then I looked in ~/.lyx/layouts and saw that I had old versions of some of
the .inc files used by the theorem modules.  I deleted those, reconfigured LyX
and the module is now working.  So you might check there.

Paul





Re: changing counter in enumeration environment

2011-08-08 Thread Paul Rubin
Richard Heck  comcast.net> writes:

> > Is it possible to do this
> > in lyx? The only way I found was to add
> > die enumaration as plain latex (ERZ) and to use \setcounter{enumi}{2}
> >
> > the goal is:
> >
> > (3) first item
> > (4) second item
> > ...
> >
> No, there's no way to do this directly in LyX.

I think you can (but it's a tad ugly). Insert the enumeration as usual. 
At the beginning of the first item, insert the following in ERT 
(including the brackets):

[\setcounter{enumi}{2}(2)]

The "(2)" will be the number for the first item, and needs to be formatted
as it will appear in the text.  The numbering will be off in the LyX GUI 
but should be correct in the output file.

> That said, if the reason
> is that you are trying to continue an earlier enumeration, then use the
> Customizable Lists module, which allows you to do this the enumitem way.

Definitely the preferred route for an interrupted enumeration.

Paul




Re: beamer handouts?

2011-08-06 Thread Paul Rubin
Ignacio Martinez  virginia.edu> writes:


> I'm trying to create beamer handouts with lyx (in ubuntu 11.04).
> This is what I have in mind
> http://www.guidodiepen.nl/2009/07/creating-latex-beamer-handouts-with-notes/
> but i don't know where to copy the .sty file and if that is the only
> thing that i need to do.

Put the .sty file in ~/texmf/tex/latex/beamer (create the directory if
necessary). Open a terminal there and run 'texhash'.  Then add the usepackage
command to the preamble of your LyX presentation and you should be good to go.

Paul



Re: Problem with optional arguments on macros

2011-08-01 Thread Paul Rubin
Your test file compiled correctly for me every time I tried (multiple tries
within one LyX session, multiple LyX sessions, exported to .tex and compiled
outside LyX).

Paul



Re: Changing height of certain rows in a table

2011-08-01 Thread Paul Rubin
ChiPro  gmail.com> writes:

> 
> Hi,
> 
> how does one change the height of a given row (over multiple columns)
> in a table
> (i.e. without changing the height for any other row)?
> 
> Thanks.  
> 
> 


Help > Embedded Objects section 2.12.1.

Paul



Re: Adding a custom class template

2011-08-01 Thread Paul Rubin
Maxim Lobovsky  gmail.com> writes:

> The relevant files can be found attached to this forum post:
> http://www.latex-community.org/forum/viewtopic.php?f=19&t=14360

That link gets me their version of a 404 error ("The requested topic does not
exist.").  Did your dog by any chance eat the post?

> Additionally, when the compiled directly
> through pdflatex, it seems to work fine.

Does this mean you export the document from LyX to a .tex file, and that
compiles?  Or do you mean that you created a test file outside LyX (in TeXWorks)
and that file compiled?

> But when viewing the log output by LyX, I don't see that line there
> and I see this instead("C:\Program Files (x86)\MiKTeX
>   2.9\tex\latex\base\report.cls"

Without access to the layout file, it's hard to say what caused this.  Two
questions: (1) what name did you give to the layout file; and (2) what is the
second line of the layout file (should contain \DeclareLaTeXClass)?

Paul



Re: How to find classes and styles Install of texlive installed in $HOME?

2011-07-28 Thread Paul Rubin
Rainer M Krug  gmail.com> writes:

> 
> If I just could understand what these commands (texhash, mktexlsr, ..) are
doing, then I would no why...

I'm no TeXpert, but TeX maintains a database of package locations, which it uses
when searching for a particular package. The texhash and mktexlsr commands (I
believe texhash is just an alias for mktexlsr) update that database by adding
files in or underneath the directory in which the command is run.  I'm not
positive, but I think they also remove from the database any previously added
directories that no longer exist.

Paul



Re: Instant preview with tikz?

2011-07-25 Thread Paul Rubin
Rainer M Krug  gmail.com> writes:

 
> I am using LyX 2.0.0, and I am wondering if I am doing something wrong, as I 
> do not get instant preview working for the attached lyx file which contains 
> a tikz graph wrapped in instant preview.
> 
> 
> Is it a problem on my side? (instant preview is enabled in the settings.)

It previews properly for me (also LyX 2.0.0, on Linux Mint). Does an ordinary
math formula preview for you (to verify that you have the preview style
installed and preview in general works)?

Paul




Re: LyX causes Acrobat Reader Freeze (?)

2011-07-21 Thread Paul Rubin
Liviu Andronic  gmail.com> writes:


> I assume that this is on 2nd and subsequent compilations. When it is
> on the first compilation, acroread doesn't freeze, right? If this is
> the case, then it's a bug in acroread: it doesn't automatically reload
> a PDF document when it has been resaved to disk. Try File > Reload (or
> similar) to see if it solves the problem. Otherwise, consider using
> Evince, and try acroread only before submitting.

No, this is on the first compilation (as well as on subsequent compilations).
Also, in all cases Reader is closed at the time I do View > PDF (pdflatex); I'm
not trying to reload a PDF while a previous version is open for display.

I just verified that the problem does *not* occur on my laptop, which is the
same OS, same versions of LyX and Acrobat Reader, but a 32 bit version of the OS
and two cores (the bug occurs on a box with a 64 bit version of the OS and four
cores).

Paul



Re: textpos in lyx

2011-07-19 Thread Paul Rubin
I tried this and the image appeared to be centered horizontally.  If you are
still having a problem with it, perhaps you can post a minimal example that
demonstrates the problem.

Paul



Re: upgrade but keep customized stationery

2011-07-09 Thread Paul Rubin
David Bickel  Gmail.com> writes:

> 
> After upgrading from version 1.6 to 2.0 (Windows Vista), I no longer
> have access to the words the system recorded whenever I checked
> spelling and told it to "Add" a word it flagged as misspelled. I have
> no idea where those words were stored. Is there a way I can get
> version 2.0 to use them?
> 

Disclaimer: I'm answering from memory (and I'm on a Linux box, so I can't check
my memory).

I'm pretty sure you are using Aspell as the spellchecker.  Aspell records words
you've added in a dictionary that I believe is named 'personal.pws'.  Depending
on whether Aspell is installed for all users or just one user, that could end up
being in any of several places.  So my suggestion is to use Vista's file search
capability to look for files by that name (you may find more than one if you've
been adding words in the version of Aspell that LyX 2.0 installed).  In fact, I
suggest that you start up LyX 2.0, create a dummy document, insert a word that
Aspell won't believe ("HonestPolitician", all one word, works on more than one
level) and add it when Aspell laughs at you.  Now do the search.

The personal dictionaries are just text files, so once you find them (hopefully
there are now two, old and new), just open them both in Notepad, copy all the
good words over to the new one (it will be obvious which is which), delete your
pseudoword from the new one, save it and test to see if spell-checking in LyX
2.0 now recognizes words you added in 1.6.

Paul



Re: changing top margin for one page only

2011-07-09 Thread Paul Rubin
Are you doing something to ensure that the minipages are at the top of the
physical page?  The only two ways I know off-hand to do that are to manually
break the page immediately before them or to put them in a float.  From your
message, it does not sound as though you are breaking the page.

One kludge that should work (and involves no extra packages) is to insert custom
spacing.  Position the cursor immediately preceding (and just outside) the first
minipage, click Insert > Formatting > Vertical Space..., set the spacing to
Custom, and insert a negative value (using your preferred units).  If the
minipages are in a float, this goes inside the float.

Paul




Re: # in URL cause compiling to hang

2011-07-09 Thread Paul Rubin
I just created a test doc (article class) in LyX 2.0, insert a URL (in a URL
inset) containing a hash character (#), and it worked just fine in PDF output. 
Escaping it with a backslash caused problems.

That said, if you replace the hash character with %23 in the URL, you get the
same result, and that may avoid whatever caused the error message.

Paul



Re: Install lyx 2 in windows with 1.6.10

2011-07-08 Thread Paul Rubin
Waluyo Adi Siswanto  gmail.com> writes:

> Is that possible to have lyx 2, while maintaining 1.6.10 in the machine.

Yes.  LyX 2 will install into a different directory than 1.6.10, and will use a
different user directory, so I think there should be no collisions.  I ran them
in parallel on an XP box for a while.

> If it is possible, which lyx 2 installer that I can use.

I used the standard installer for 2.0, but I suspect either will work.

Paul





Re: Noun (smallcaps) in Section title

2011-06-29 Thread Paul Rubin
Manolo Martínez  austrohungaro.com> writes:

> A quick question. If I use the Noun character style in a Section title, 
> article(paper) ignores me and renders it in lowercase. Is there a way to 
> override the style in this particular respect?

Document classes frequently dictate the font for headings (overruling your
choice). The sectsty package allows you to set font styles for headings, but it
does not work with article(paper).  If you're willing to switch to a class
sectsty supports, that is one way to get what you want.  Another possibility is
to put this in your preamble:

\usepackage{titlesec}
\titleformat*{\section}{\bfseries\sc}

That will put section titles in small caps, but they will not be bold face.

Paul





Re: Can't convert

2011-06-29 Thread Paul Rubin


On 06/29/2011 02:35 PM, William Hanson wrote:

Richard, Paul, LyX Users,

It's been over a week since I've been able to convert to finished text 
in either LyX 1.6.7 or 2.0.0 (using DVI or View).  I've received many 
suggestions, for which I am grateful, but nothing has worked.  Is 
there a way to wipe both versions of LyX off my computer and start 
over from scratch?  My OS is Windows XP.


Yes.  You can run the uninstallers:  go to Control Panel, look for the 
category that says install/uninstall software, click uninstall to get a 
list of software for which Windows has identified an uninstaller, and 
use that to wipe both versions.  (As an aside, there's a very nice 
freeware program for Windows called CCleaner that, among other things, 
will do the same thing, but a bit faster.  It also has a registry 
cleaner, which is useful for zapping wayward registry entries that many 
uninstallers leave behind.)  After uninstalling, look for the LyX 
program directories (under C:\Program Files) and the user directories 
(which you've previously visited) and delete anything that may have been 
left behind.


Paul



Re: no classes available after installation of 1.6.10 and 2.0.0-3

2011-06-29 Thread Paul Rubin

On 06/28/2011 03:54 AM, Matthias Hunstig wrote:


It only partly worked for 1.6.10. I now have a very limited and to my eyes 
strange selection of classes available, the rest is still markes as 
unavailable; see attachment.

In 2.0.0., there are still not classes available in the menu at all.

Are there classes that you know you have installed in MiKTeX but do not 
appear on the list in 1.6.10?  It seems to be finding the classes you 
would get with a minimal installation of MiKTeX.  Also, did you try 
reconfiguring 1.6.10 after you deleted the local user directory?


I can't remember: have we looked at your configuration log for 2.0.0?

Paul


Re: Indent picture (only)

2011-06-26 Thread Paul Rubin
Dirk Heine  common-future.org> writes:

> Thanks for your reply. The picture is not a wrap float; it is a logo
> in a letter (g-brief-2) and positioned above the text. The picture's
> boundary is currently too far to the right and I would like to push it
> a bit leftwards (yes, somewhat intruding into the left margin). I
> would be grateful for advice how this is possible.

You can position the cursor just left of the picture, click Insert > Formatting
> Horizontal Space..., set the Spacing field to Custom, set the units drop-down
to whatever units you favor, and insert a negative number in the Value field;
then click Ok.

Paul






  1   2   3   >