Re: Preview a single child document while maintaining counters and references

2020-03-12 Thread Patrick De Visschere
Right. That’s even better. Thanks.

Patrick

> On 12 Mar 2020, at 06:46, Daniel  wrote:
> 
> On 11/3/20 22:44, Patrick De Visschere wrote:
>>> On 11 Mar 2020, at 17:58, Daniel mailto:xraco...@gmx.de>> 
>>> wrote:
>>> 
>>> On 2020-03-11 08:38, Jürgen Spitzmüller wrote:
>>>> Am Dienstag, den 10.03.2020, 15:17 +0100 schrieb Daniel:
>>>>> However, often I would like to preview only one child document (e.g.
>>>>> one
>>>>> chapter) while maintaining counters and references. Is there a quick
>>>>> way
>>>>> to do so?
>>>> You mean, without the master? No. I don't think that's possible in
>>>> LaTeX either.
>>>> Jürgen
>>> 
>>> I see. I wasn't that this is pure LaTeX magic. I guess, I should then just 
>>> set up my master in such a way that excluding all children except for one 
>>> chapter leads to my desired result.
>>> 
>>> Daniel
>> Take a look here:
>> http://web.science.mq.edu.au/~rdale/resources/writingnotes/latexstruct.html 
>> <http://web.science.mq.edu.au/~rdale/resources/writingnotes/latexstruct.html>
>> With \includeonly{somechapter} in the preamble (of the master) one can limit 
>> the output to that chapter.
>> But one must have compiled the complete document once before this will work, 
>> because the .aux files of all childs are needed.
>> This works straight away with e.g. TexShop.
>> With lyx one must first compile (only once I think) the complete document 
>> and then one can enter the \includeonly{name_used_by_lyx} command in the 
>> preamble of the master.
>> You will have to look up the correct name in the master.tex file generated 
>> by lyx (in the temp directory) since the filenames are modified.
>> Thanks for bringing this up. I was looking for it too.
>> Patrick
> 
> Patrick, I think the functionality your are mentioning that LaTeX has for 
> this is actually already integrated into LyX. Have a look at Document > 
> Settings > Child Documents. Here you can set which child documents to put 
> into the \includeonly command and also choose whether the aux file of the 
> whole document should be generated or not (via the maintain counters and 
> references checkbox).
> 
> Normally, I had some content in my master document that was not part of a 
> child document, e.g. title, table of contents, bibliography, etc. But now, I 
> just put those into their own child documents ("front matter" and "back 
> matter"). Then I can compile just a single chapter using LyX's functionality. 
> Now that I think of it, pretty straight forward to arrange a document like 
> this.
> 
> Since it is so straight forward and going back to the master to set to only 
> include one chapter is a bit cumbersome, maybe LyX could give one a special 
> Preview option on child documents, called "Preview Master with Child Document 
> Only" or so. This option will typeset the master with the \includeonly 
> command containing only the current child document while maintaining counters 
> and references. That would be very handy, if one needs to send or print out 
> only single chapters without any other material.
> 
> Daniel
> 
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users




smime.p7s
Description: S/MIME cryptographic signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Preview a single child document while maintaining counters and references

2020-03-11 Thread Patrick De Visschere


> On 11 Mar 2020, at 17:58, Daniel  wrote:
> 
> On 2020-03-11 08:38, Jürgen Spitzmüller wrote:
>> Am Dienstag, den 10.03.2020, 15:17 +0100 schrieb Daniel:
>>> However, often I would like to preview only one child document (e.g.
>>> one
>>> chapter) while maintaining counters and references. Is there a quick
>>> way
>>> to do so?
>> You mean, without the master? No. I don't think that's possible in
>> LaTeX either.
>> Jürgen
> 
> I see. I wasn't that this is pure LaTeX magic. I guess, I should then just 
> set up my master in such a way that excluding all children except for one 
> chapter leads to my desired result.
> 
> Daniel


Take a look here:
http://web.science.mq.edu.au/~rdale/resources/writingnotes/latexstruct.html 


With \includeonly{somechapter} in the preamble (of the master) one can limit 
the output to that chapter.
But one must have compiled the complete document once before this will work, 
because the .aux files of all childs are needed.

This works straight away with e.g. TexShop.

With lyx one must first compile (only once I think) the complete document and 
then one can enter the \includeonly{name_used_by_lyx} command in the preamble 
of the master.
You will have to look up the correct name in the master.tex file generated by 
lyx (in the temp directory) since the filenames are modified.

Thanks for bringing this up. I was looking for it too.

Patrick

smime.p7s
Description: S/MIME cryptographic signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Skim as PDF-file-viewer on Mac

2018-01-17 Thread Patrick De Visschere
On macos syncing with skim and lyx2.3.0dev works with these settings:



Note that you need to Shift-Command-click.

Patrick


> On 16 Jan 2018, at 02:29, Scott Kostyshak  wrote:
> 
> On Sun, Jun 25, 2017 at 01:52:07PM +, jezZiFeR wrote:
>> Hello,
>> 
>> I would like to use Skim on Mac (10.12.5) as a PDF-file-viewer for 
>> LuaTeX-Output, but it does not work for me.
>> 
>> 
>> 
>> • In Lyx LyX Version 2.2.3 I have entered the following:
>> 
>> Prefs / Output / General / PDF-Command:
>> /Applications/Skim.app/Skim.app/Contents/SharedSupport/displayline $$n $$o 
>> $$t
>> 
>> Prefs / File Handling / File formats / PDF (LuaTeX)
>> Viewer setting / Custom / open -a Skim.app $$i i
>> 
>> 
>> 
>> 
>> • In Skim1.4.24 (98) I have entered
>> 
>> Prefs / Sync / Command:
>> /Applications/LyX.app/Contents/MacOS/lyxeditor
>> Arguments:
>> "%file" %line; /usr/bin/osascript -e 'tell application "LyX" to activate‘
>> (before I have also tried with »output« / LyX, which also did not work)
>> 
>> 
>> 
>> Does anybody have an idea how I get it working?
> 
> Hi Jess,
> 
> Did you get this figured out? There is a user that says they got it
> working in 2.2.3, but not in 2.3.0rc1:
> 
> https://www.lyx.org/trac/ticket/10971#comment:3
> 
> Scott
>> 
>> Thanks
>> Jess
>> 




Re: [ANNOUNCE] LyX 2.0.5

2012-11-25 Thread Patrick De Visschere
Hi,

I built the latest LyX2.1 with the latest Qt-4.8.4 and the scroll problem in OS 
X is still obvious in my opinion.
As before the problem goes largely away with "\force_paint_single_char false", 
but then the cursor positioning is offset.
I thought that maybe the latter problem was solved, but also this looks similar 
as before.

Regards,

P. De Visschere


On 22 Nov, 2012, at 17:43 , Stephan Witt wrote:

> Am 22.11.2012 um 10:12 schrieb Uwe Stöhr:
> 
>>> Not sure what the Windows scrolling problem was but the
>>> much-discussed (at least on the developers' list) OS X scrolling
>>> problem remains--laggy, sluggish, jerky, jumpy, slow, and aggravating.
>> 
>> The scrolling bug was a bug in Qt and is now fixed in Qt 4.8.3:
>> http://qt-project.org/uploads/community_updates/changes-4.8.3
>> 
>> Can you therefore please check what Qt verasion your LyX installation is 
>> using. If it is not Qt 4.8.3, please inform the author of the LyX on OS X 
>> maintainer (Stephan Witt).
> 
> It's build with Qt 4.7.4 and I'll give it a try with 4.8.3.
> 
> There are some other reports against this build:
> * Cannot block Command/Control key swap (Stiv) - this I cannot reproduce
> * Drawing problems with math mode (Luca and Stefan) - this I can reproduce 
> partially
> 
> Stephan
> 




Re: Documentation for LaTeX document classes included in the TeX Live distributablebution

2011-12-09 Thread Patrick De Visschere

On 9 Dec, 2011 (w 50), at 10:00 PM, Eric Weir wrote:

> 
> I vaguely recall encountering somewhere on my system pdf manuals for the 
> classes included by the TeX Live distribution. Is that right? if so, pointers 
> to their location would be greatly appreciated. I'm on a Mac, with OS X 
> 1.6.8, in case that matters.

Run the Tex Live Utility.app.
Select a package and Show Info (command I).
You can then select the pdf with the documentation.

> 
> Thanks,
> --
> Eric Weir
> eew...@bellsouth.net
> Decatur, GA  USA
> 
> "Whatever you can do, or dream you can, begin it. 
> Boldness has genius, power and magic in it. " 
> 
> - Johann Wolfgang von Goethe
> 



Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-28 Thread Patrick De Visschere

On 27 Sep, 2011, at 11:11 PM, Richard Heck wrote:

> On 09/27/2011 04:47 PM, Patrick De Visschere wrote:
>> Hello,
>> 
>> Including a .pdf file with \includegraphics and with a relative pathname like
>> 
>> \includegraphics{../path/to/file/starting/from/parent/directory/some_file.pdf}
>> 
>> results in a "file not found" error from the pdftex.def package.
>> 
>> When exporting as .tex and processing with e.g. TeXShop there is no problem.
>> 
>> This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)
>> 
> There have been some changes to how LyX handles external paths. These
> are noted in the RELEASE NOTES file. I would guess that is the source of
> the problem. If you can't resolve it, post a note to the devel list.
> 
> Richard
> 

Thanks.
It looks like I should have read the release notes, sorry.

I was indeed referring to files in ERT.

I normally use pathnames relative to the current directory and since . is 
automatically included in the TEXINPUTS prefix, this should still work I guess 
without making any modifications. But it doesn't.
The problematic paths start with ../ and it looks there is still a problem with 
that. I can of course drop the starting ../ and add .. to the prefix list but 
I'm reluctant to changing those paths since they will then not run anymore in 
the previous versions.

Also, when exporting as latex the prefix is not included, as far as I can see 
and when fixed for LyX2.0.1 the latex-file will now not run with TeXShop, 
unless one can instruct TeXShop to use the same prefix list.

Regards,

P. De Visschere

LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Patrick De Visschere
Hello,

Including a .pdf file with \includegraphics and with a relative pathname like

\includegraphics{../path/to/file/starting/from/parent/directory/some_file.pdf}

results in a "file not found" error from the pdftex.def package.

When exporting as .tex and processing with e.g. TeXShop there is no problem.

This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)

Regards,

P. De Visschere

Re: 2 Bugs

2007-10-25 Thread Patrick De Visschere


On Oct 25, 2007, at 1:09 PM, Nicolás wrote:


Hi!

I confirm both bugs with LyX 1.5.2 on Windows (official installer)
Recipes here:

1st Bug- Open Latex Preamble window. Write whatever in the  
preamble. Click with the mouse on themain LyX window. As a result  
the little window with the document settings goes to second plane.  
Go back to that window. MAGIC! What you wrote has disappeared.


I can confirm this on OS X



2nd Bug- Open a new document. Create an ERT box. Execute Navigate- 
>Bookmarks->Save bookmark 1. Try to open a new document and LyX  
crashes.


No problem on OS X



Nicolás

Juergen Spitzmueller wrote:

Tobias Krause wrote:

@ Juergen: detailded recipe is here:
With recipe, I mean: what actions do you exactly perform in order  
to trigger

the crash? I'm unable to reproduce the crash.
Most of your console output is unrelated, the related part is this:
Assertion triggered in void __thiscall lyx::Text::setCurrentFont 
(class lyx::Cursor &) by failing check "this == cur.text()" in  
file D:\LyX\lyx-1.5.2\src\Text2.cpp:757
Which installer did you use? I think assertions should be really  
disabled in

stable releases.
Jürgen






Re: footnote in caption

2007-10-24 Thread Patrick De Visschere


On Oct 24, 2007, at 7:59 PM, Tobias Krause wrote:



It works if you put a minipage in the float.


What exactly do you mean by "put a minipage in the float", could  
you post an example file? Or to do you rather mean put the float in  
a minipage, whereas the footnote appears within this minipage  
instead of the regular page?


Toby


Included is an example file (+graphic)

For me this only works if you put a (possibly empty) short title in  
the caption.


I also thought you needed package ccaption, but apparently this is  
not true.




testfigurecaption.lyx
Description: Binary data


testfigure.pdf
Description: Adobe PDF document


Re: Issues with v1.5.2 on OS X

2007-10-24 Thread Patrick De Visschere


On Oct 24, 2007, at 6:25 AM, Adam Treverrow wrote:


Hi all,

I've been very happily using LyX 1.3.7 on a Mac G4 iBook (933 MHz  
PPC, 640 MB, OS X 10.3.9) for some time now - thanks to all the  
developers! I recently upgraded to v1.5.2 (PPC version). I never  
got around to using v1.4.x


I've struck two problems.

1. When quitting LyX and copying/pasting I get a screen message  
along the lines of:


Could not remove the temporary directory /tmp/lyx_tmpdir7301LYxr4/ 
lyx_tmpbuf2


Console.app says:


Could not remove the temporary directory /tmp/lyx_tmpdir7301LYxr4/ 
lyx_tmpbuf1
Could not delete /private/tmp/lyx_tmpdir7301LYxr4/lyx_tmpbuf2.  
(boost::filesystem::basic_directory_iterator increment)

Warning: Could not remove temporary directory


This issue was reported recently here:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg59368.html

with no solution that I can see. I've experienced the same problem.  
The pop ups when copying and pasting are particularly annoying.


2. The second issue relates to typing lag. I realise this issue has  
been reported previously for OS X. Typing is unbearably slow in  
notes, floats etc. I have instant preview turned off. Typing in  
standard text is variable, but in general too slow for me to use  
1.5.2. I've been working with some large files, originally created  
in v1.3.7, but saved as new versions using 1.5.2. Adding text to an  
existing paragraph of standard text in these documents results in  
typing lag. The lag is greatest when text is added at or near the  
beginning of a paragraph. The typing lag does not occur when typing  
in a newly created paragraph - it emerges as the paragraph length  
increases. I can reproduce both aspects of this behaviour in new  
files created using 1.5.2.


Any help is appreciated as I'd like to give 1.5.2 a go!


It's faster if you turn preview on!

pdv



thanks

AT












which LyX version on which Mac OSX version?

2007-06-17 Thread Patrick De Visschere

Hi,

Since I temporarely have to switch to and older Mac (with OSX 10.2.8) I 
wanted to find out what version of lyx runs on which OS X version and 
the information on the wiki pages seems ambiguous.


According to the /Mac pages lyx13x requires 10.2 and lyx14 requires 
10.3.9 (I guess this is right)


The /Lyx/Download page however mentions also 10.2 for lyx14x (this is 
probably wrong)


I can only run lyx136 and even not lyx137 or lyx14x; in the latter case 
there is a message that /usr/lib/libiconv.2.dylib is missing. This 
library is installed by fink under /sw/lib but even after copying this 
library to /usr/lib lyx refuses to run.


It would be nice if someone could explain what should run on OSX 10.2.9

Thanks and regards,

Patrick De Visschere



Re: 1.5.0rc1 Mac PPC G3 typing lag

2007-06-06 Thread Patrick De Visschere


On Jun 6, 2007, at 3:05 PM, Bennett Helm wrote:


On Jun 6, 2007, at 12:27 AM, Gerard Ateshian wrote:

I also found that the universal binary for 1.5rc1 runs slowly on  
Mac OS X PPC (I have a PowerBook G4, 1.67 GHz, 2 GB memory), so I  
compiled my own version and it runs just fine.  If you want it,  
you can download it from http://bio7.mech.columbia.edu/~gerard/


I don't understand why this would be so: why cross-compiling PPC on  
my Intel Mac (as I did when making the universal binary) would make  
it so much slower than native compile. Does anyone have any ideas?


Bennett


I reported also slow typing on a G4 mac; I want to add that this is  
not  a universal version but a svn version that I compiled on a G5;

I think there is a problem with the PPC version.


Patrick De Visschere 


Re: 1.5.0rc1 Mac PPC G3 typing lag

2007-06-05 Thread Patrick De Visschere
Also on a PPC G4 (iMac, 800MHz, 1GB) typing becomes very slow once an  
inline equation is entered in a paragraph. Starting a new line  
(temporarely) just after the equation speeds things up again.
On a G5 (1.8GHz, 1GB) this is not so much of a problem but I also see  
a slowdown due to formulas.


Regards,

Patrick De Visschere

On Jun 5, 2007, at 6:12 PM, Anders Ekberg wrote:


Johannes Knaus
Mon, 04 Jun 2007 10:18:33 -0700

Hello,

I'm just testing the 1.5.0rc1 binary on my PPC G3 (iBook 700Mhz,  
384MB RAM, 10.4.9). It is significantly slower than all 1.5betas  
released earlier. When I'm typing some characters there is  
always a lag of some seconds before it appears on the screen.

This makes Lyx definetly unusable for me.
Ok, my Mac is certainly not one of the newest ;-) but now even  
Word (which I really don't want to use) runs faster.

Is there a fix?

Greets,
Johannes


Johannes,

You seem to have quite little RAM. It *could* be that a non-  
universal version would work better for you (I really don't know  
what the overhead is for running an universal application, does  
someone else know?). Do you have the possibility to compile a  
PPC- version. If not, please let me know and I'll upload a binary  
and send you the link (limited band-width at the moment, so  
probably not until Thursday).

/Anders


Hello Anders,

I'm sorry but I don't know how to compile Lyx and neither have the  
developertools installed (too much for my old iBook).

So, if you could upload a ppc-only binary? That would be great.

But maybe it's something else than the lack of RAM. I have  
installed and tested the 1.5.0rc also here at work (University) on  
an G4 PPC 1.25GHz with 768MB RAM (10.4.9 also) and it behaves like  
my iBook (well I know, computers don't "behave" ;-))

Greets,
Johannes


I did a benchmark. Figures below (use mono-space font). It seems  
that in general the universal version is slower (the first time I  
ran the test it was even slower with an arrow scroll of 292).  
Especially the page down difference is remarkable. Bennett, do you  
know what this could be due to?


In general the arrow down has become slower also for the PPC  
version. This is probably due to the bug-fix that previously made  
LyX skip lines.


Anyway, I don't know if your problem is related to this. I have the  
impression that on some Macs LyX is extremely slow (for my use, the  
only time it feels really sluggish is when I type into a note). I  
think the reason for this is still an open question.


Anders

===

Benchmark with LyX User's guide (time in seconds).
Instant preview on.
DateOpen Scroll Page Comments
  down  down
(arrow)
07-05-21 617241  Skipping lines.
RC1(uni) 727553
RC1(PPC) 522028
07-06-03 622228








How to handle (special) unicode characters

2007-06-02 Thread Patrick De Visschere

Hi,

I have converted a (Framemaker) document to lyx. The document  
contained a lot of Symbol-font characters (mostly greek letters)  
which are translated into their unicode characters.
These characters are immediately visible in the lyx-window but not in  
the output: some characters are handled automatically but the greek  
letters are not. They are probably converted to \textpi,  
\textgamma ... and latex does not know how to handle these because  
they are not present in the T1 encoding.
They are handled (mostly) correctly if I put them between \greektext  
\latintext commands.


I cannot imagine this is the best way to solve this problem.

I would appreciate if someone could explain how unicode characters  
should be handled? Is this a latex-problem?


I know that there exists a list of unicodesymbols which apparently is  
made for this purpose : handle characters which are not present in  
the current encoding. The above mentionned greek letters \textpi ...  
seem not (yet?) present in this list.


Regards,

Patrick De Visschere






multiple languages and the order of document-options

2007-05-27 Thread Patrick De Visschere

Hi,

I've a document with "dutch" as the main language and also a little  
bit of "greek".
I've chosen  "dutch" as the main language in the  
Documents>Settings>Language panel
and mentioned "greek" as an option in the Documents>Settinds>Document  
Class>Options field.


Apparently LyX exports this as:

\documentclass[... ,dutch,... greek]{book}

(in other words the extra options are placed after the main language  
option).


However babel wants the first/main language as the last (language)  
option.


Is there a way to get this right?

Regards,

Patrick De Visschere


fatal Paragraph-bug in LyX150 (OS X)

2007-05-09 Thread Patrick De Visschere

Hi,

I dont' think this is mentionned in bugzilla.

If you change the environment of a blanco line (from Standard) to  
Paragraph and then type text on the line LyX crashes.


Regards,

Patrick De Visschere


build problems on OS X

2007-05-05 Thread Patrick De Visschere

Hi,

I update through svn and cannot built LyX1.5 anymore.
I get the following message from make:

...
creating libboost_signals.la
(cd .libs && rm -f libboost_signals.la && ln -s ../ 
libboost_signals.la libboost_signals.la)

make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
make[2]: Nothing to be done for `all-am'.
Making all in src
make PCH_FLAGS= pch-file
g++ -DHAVE_CONFIG_H -I. -I. -I.   -I../boost -Wextra -Wall-g -Os - 
x c++-header ./pch.h -o ./pch.h.gch \

-MT ./pch.h.gch  -MD -MP -MF "././pch.h.gch.Tdep" \
&& mv "././pch.h.gch.Tdep" "././pch.h.gch.dep" \
|| rm "././pch.h.gch.Tdep"
make[1]: *** No rule to make target `version.C.in', needed by  
`version.C-tmp'.  Stop.

make: *** [all-recursive] Error 1
--

./autogen.sh did give the following message:

development/Makefile.am:3: INSTALL_MACOSX does not appear in  
AM_CONDITIONAL


config runs successfully

A hint would be appreciated.

Regards,

Patrick De Visschere


Re: Docbook (sigh)

2007-05-04 Thread Patrick De Visschere


On May 4, 2007, at 2:50 PM, Trevor Nicholls wrote:


Hi



I'm looking at Lyx as a possible "nice" editing facility for an  
application

which is currently using FrameMaker to do that job, with our source
documents saved as XML files. The document files are constrained to  
a simple
schema which I suppose is close to being a small subset of Docbook,  
and we
could in fact create XSL stylesheets to take our files in and out  
of Docbook

if we wished to.


I'm also making the transition from FrameMaker to LyX. I convert(ed)  
the xml-files exported from FrameMaker to latex or docbook with XSL  
stylesheets. The thoughest part were the equations.


I realize that Lyx does not natively support XML source files, but  
I see

that it is possible to export a Lyx document to Docbook format. I have
knocked up a sample Lyx file which looks like (part of) one of my  
documents
and produced a file.xml as per Docbook, so far so good. Now I want  
to import
it back into Lyx, but it seems that going in this direction is not  
possible.




That's right but the last time I tried it there were still some  
problems with equations.


You may also have a look at some other packages for converting latex  
to xml (I didn't try any of them yet):

http://www-sop.inria.fr/miaou/tralics/
http://hermes.roua.org/
http://dlmf.nist.gov/LaTeXML/#get




As far as I can tell there was once a piece of software called  
'db2lyx'

which appears to have enabled this, but it seems to have fallen by the
wayside and not kept pace with the last few years of Lyx  
development (I've
seen warnings against using "newer" versions, i.e. newer than 1.1!)  
and here

I am on 1.4.4, about to be 1.5.




I don't expect db2lyx to work with the newer LyX versions.
I suppose you should use db2latex (from the same author). LyX can  
easlily import latex documents.
I have tried db2latex but sofar with no success but this has very  
probably to do with the equations. db2latex uses xsltml for  
converting mathml equations to latex. I use this package too but made  
a few changes to it. So I should modify db2latex to use the modified  
version of mathml ...





If I can add a suitable command in the Conversions table I can see  
Docbook
as a valid format to import from; the trouble is I don't have a  
command that

works. Does anybody? Surely somebody is doing this!




I'll stick with LyX for the time being. I would prefer to keep my  
documents in an xml-format but this seems not possible as far as I  
know. I feel comfortable right now with the idea that LyX can export  
its documents as docbook.


I suppose you know about:
http://www.karakas-online.de/mySGML/

but like db2lyx it won't work with the latest versions of lyx and it  
looks rather complicated.


Regards

Patrick De Visschere



Cheers

T







Re: 1.5b2 on Mac - problems

2007-04-25 Thread Patrick De Visschere


On Apr 25, 2007, at 10:16 PM, Bob Lounsbury wrote:


On 4/25/07 2:02 PM, "Bennett Helm" <[EMAIL PROTECTED]> wrote:


On Apr 25, 2007, at 3:41 PM, James wrote:


See comments below.

James


3. spell checking doesn’t function properly.  If I choose
“reconfigure” then
the spell checker works, but after I close and reopen Lyx, it is
broken once
again.


Can you provide more details? (I can't confirm a problem here.)



I downloaded and unzipped the Lyx 1.5b2 from the ftp site.  I then
ran the
program.  When I ran spell check (via the gui button), I got the
following
message:
  "The spellchecker could not be started
LyX: Failed to start ispell!"
If I then choose Lyx->Reconfigure I can run spell check  
successfully.

However, if I restart lyx, I have the same problem again.  It seems
that the
reconfigure magic isn't sticking.


Are you using ispell? aspell? Is the preference setting for the spell
checker correct (LyX > Preferences > Language Settings >
Spellchecker)? How did you install ispell/aspell? When spellchecking
fails, does anything show up in Console.app? ...


4. Copy/paste from Lyx to another app doesn’t work.  This also was
a problem
in previous distributions.


Again, can you provide details? Is it *all* other applications that
give you this problem -- including TextEdit.app, say -- or only  
some,

such as MS Word?


It seems that I cannot even copy/past from one Lyx doc to another.
I can
only copy/past within a single Lyx doc.  Note that I can copy  
from an

external app and paste into a Lyx doc, but I cannot copy from a Lyx
doc and
paste anywhere except in that same Lyx doc.  I have tried pasting
into MS
Word, a terminal, my mail client, other Lyx docs, etc.


That's odd. I cannot confirm at all. (Anyone else having this  
problem?)


Bennett


Cannot confirm here either. No problem with ispell spellchecker. I can
copy/paste to and from LyX to LyX, LyX to textedit, LyX to Pages,  
LyX to

Mail, LyX to Terminal.

However, I cannot copy from LyX to MS apps. Only copy/paste from MS  
apps to

LyX.

Bob Lounsbury




copy/paste from LyX --> BBEdit also doesn't work but from BBEdit -->  
LyX it is OK.


pdv

Re: LyX1.5.0svn Math panel missing on ppc mac?

2007-04-21 Thread Patrick De Visschere


On Apr 21, 2007, at 12:12 AM, Richard Heck wrote:



The math panel has been removed, but there are still some stray menu
items. All the functionality that was in the math panel is now in the
math toolbar. Check it out.


It's a great improvement.
Thanks to all who make this happen.

Regards,
P. De Visschere


rh

Patrick De Visschere wrote:

Hi,

I updated LyX1.5.0 via svn, built it ...

and found that (almost) nothing happens when selecting
Insert->Math->Math panel?

I wanted to update because typing in the previous version was rather
slow and very slow when the Math panel was open.

Regards,

P. De Visschere



--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto





LyX1.5.0svn Math panel missing on ppc mac?

2007-04-20 Thread Patrick De Visschere

Hi,

I updated LyX1.5.0 via svn, built it ...

and found that (almost) nothing happens when selecting Insert->Math- 
>Math panel?


I wanted to update because typing in the previous version was rather  
slow and very slow when the Math panel was open.


Regards,

P. De Visschere


Re: [Qt4.3 with LyX1.5.0 on mac] was {Re: Lyx 144 on Intel Mac: problems with large documents}

2007-04-19 Thread Patrick De Visschere


On Apr 19, 2007, at 6:04 PM, Bob Lounsbury wrote:


On 4/19/07 1:53 AM, "Abdelrazak Younes" <[EMAIL PROTECTED]> wrote:


Bob Lounsbury wrote:

Well, after hours and hours and hours of compiling it seems I've  
come to the
same result as Bennett. When compiling LyX1.5.0svn I get an error  
saying "qt

4 library not found !".


Is it after './autogen.sh' or after './configure'?
In any case, I guess there should be some log file in the trunk
directory. Could you please send that log(s) to the devel list?
Hopefully someone will solve the problem.

Thanks a lot for your effort,
Abdel.


This message was after ./configure.

Just for shits and giggles I'm compiling Qt4.3.0 and Qt4.2.3 from  
source

with the same commands to see if I can compile LyX1.5.0 with either of
these. I know there is a precompiled Qt4.2.3 package for mac, but I  
just
want to see if I can make it work myself from source. If I can't  
compile
LyX1.5.0 with Qt4.2.3 then I'll assume that I am not properly  
compiling Qt.
However, if I can compile LyX1.5.0 with Qt4.2.3 but not with  
Qt4.3.0 then
I'll assume there is potentially an LyX issue. Any further  
suggestions?


Bob


I've compiled QT4.2.3 and LyX1.5.0svn without problems a few days ago  
on a (PPC) mac.

pdv


Re: llibtool error compiling LyX 1.5.0beta1 on Mac OS X ppc

2007-03-18 Thread Patrick De Visschere


On Mar 18, 2007, at 10:24 AM, Patrick De Visschere wrote:



On Mar 18, 2007, at 12:16 AM, Bennett Helm wrote:


On Mar 17, 2007, at 8:30 AM, Gerard Ateshian wrote:


Hi,

I tried compiling LyX 1.5.0beta1 on Mac OS X ppc and it went on  
for a while until I got this error:


/bin/sh ../libtool --tag=CXX --mode=link g++  -g -Os  -framework  
Carbon -framework OpenGL -framework AGL -framework QuickTime -lz - 
o lyx-qt4  main.o Bidi.o BufferView.o Bullet.o BranchList.o  
Chktex.o Color.o ConverterCache.o CutAndPaste.o DepTable.o  
FloatList.o Floating.o FontIterator.o FuncStatus.o InsetList.o  
LColor.o LaTeX.o LaTeXFeatures.o LyXAction.o MenuBackend.o  
ParagraphParameters.o PrinterParams.o Spacing.o Thesaurus.o  
ToolbarBackend.o author.o boost.o box.o buffer.o buffer_funcs.o  
bufferlist.o bufferparams.o bufferview_funcs.o changes.o chset.o  
converter.o counters.o coordcache.o cursor.o cursor_slice.o  
debug.o dimension.o dociterator.o encoding.o errorlist.o  
exporter.o gettext.o factory.o format.o funcrequest.o graph.o  
importer.o intl.o insetiterator.o kbmap.o kbsequence.o language.o  
session.o lengthcommon.o lyx_cb.o lyx_main.o lyx_sty.o lyxfont.o  
lyxfind.o lyxfunc.o lyxgluelength.o lyxlayout.o lyxlength.o  
lyxlex.o lyxlex_pimpl.o lyxrc.o lyxrow.o lyxserver.o lyxsocket.o  
lyxtextclass.o lyxtextclasslist.o lyxvc.o messages.o  
metricsinfo.o mover.o output.o outputparams.o output_docbook.o  
output_latex.o output_plaintext.o paragraph.o ParagraphMetrics.o  
paragraph_funcs.o paragraph_pimpl.o pariterator.o   ispell.o  
SpellBase.o rowpainter.o sgml.o tabular.o tex-accent.o tex- 
strings.o texrow.o text.o text2.o text3.o TextMetrics.o  
TocBackend.o toc.o trans.o trans_mgr.o undo.o vc-backend.o  
version.o vspace.o mathed/libmathed.la insets/libinsets.la  
frontends/libfrontends.la frontends/qt4/libqt4.la frontends/ 
controllers/libcontrollers.la graphics/libgraphics.la support/ 
libsupport.la ../boost/libs/regex/src/libboost_regex.la ../boost/ 
libs/signals/src/libboost_signals.la ../boost/libs/filesystem/src/ 
libboost_filesystem.la ../boost/libs/iostreams/src/ 
libboost_iostreams.la -liconv ../intl/libintl.a -liconv  -lc -lm   
-lz

mkdir .libs
libtool: link: cannot find the library `'
make[3]: *** [lyx-qt4] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Any suggestions?


My guess is that you didn't delete *.la files from [QTDIR]/lib/.  
(1.5beta1 came out before we had a chance to update the  
INSTALL.MacOSX instructions, which hopefully will lay out what you  
need to do. I'm attaching a copy to this e-mail.)


Bennett





I did remove the .la files ang got exactly the same error

But I did run configure according to the LyX/Mac-1.4 instructions
(./configure -static -no-exceptions -lresolv)

I couldn't find the -lresolv option in the configure help?

But the INSTALL instructions mention:
"and also supply a path to the -sdk option if your development  
machine has a PowerPC CPU"


so I guess this could be the problem.

Regards,




I already found out that the -sdk option has probably nothing to do  
with it and is only relevant with the -universal option.


I was also (maybe) confused regarding the /path/to/QT4 : I removed  
the *.la files in the lib in the source directory only.

I installed qt4 in the default location: /usr/local/Trolltech/Qt-4.2.3
After removing the *.la files in the lib folder in this location  
libtool complains that:


libtool: link: cannot find the library `/usr/local/Trolltech/Qt-4.2.3/ 
lib/libQtGui.la'


so this was not a good move apparently but that's how I understand  
the instructions for building LyX/Mac-1.5?


Regards,


Re: llibtool error compiling LyX 1.5.0beta1 on Mac OS X ppc

2007-03-18 Thread Patrick De Visschere


On Mar 18, 2007, at 12:16 AM, Bennett Helm wrote:


On Mar 17, 2007, at 8:30 AM, Gerard Ateshian wrote:


Hi,

I tried compiling LyX 1.5.0beta1 on Mac OS X ppc and it went on  
for a while until I got this error:


/bin/sh ../libtool --tag=CXX --mode=link g++  -g -Os  -framework  
Carbon -framework OpenGL -framework AGL -framework QuickTime -lz - 
o lyx-qt4  main.o Bidi.o BufferView.o Bullet.o BranchList.o  
Chktex.o Color.o ConverterCache.o CutAndPaste.o DepTable.o  
FloatList.o Floating.o FontIterator.o FuncStatus.o InsetList.o  
LColor.o LaTeX.o LaTeXFeatures.o LyXAction.o MenuBackend.o  
ParagraphParameters.o PrinterParams.o Spacing.o Thesaurus.o  
ToolbarBackend.o author.o boost.o box.o buffer.o buffer_funcs.o  
bufferlist.o bufferparams.o bufferview_funcs.o changes.o chset.o  
converter.o counters.o coordcache.o cursor.o cursor_slice.o  
debug.o dimension.o dociterator.o encoding.o errorlist.o  
exporter.o gettext.o factory.o format.o funcrequest.o graph.o  
importer.o intl.o insetiterator.o kbmap.o kbsequence.o language.o  
session.o lengthcommon.o lyx_cb.o lyx_main.o lyx_sty.o lyxfont.o  
lyxfind.o lyxfunc.o lyxgluelength.o lyxlayout.o lyxlength.o  
lyxlex.o lyxlex_pimpl.o lyxrc.o lyxrow.o lyxserver.o lyxsocket.o  
lyxtextclass.o lyxtextclasslist.o lyxvc.o messages.o metricsinfo.o  
mover.o output.o outputparams.o output_docbook.o output_latex.o  
output_plaintext.o paragraph.o ParagraphMetrics.o  
paragraph_funcs.o paragraph_pimpl.o pariterator.o   ispell.o  
SpellBase.o rowpainter.o sgml.o tabular.o tex-accent.o tex- 
strings.o texrow.o text.o text2.o text3.o TextMetrics.o  
TocBackend.o toc.o trans.o trans_mgr.o undo.o vc-backend.o  
version.o vspace.o mathed/libmathed.la insets/libinsets.la  
frontends/libfrontends.la frontends/qt4/libqt4.la frontends/ 
controllers/libcontrollers.la graphics/libgraphics.la support/ 
libsupport.la ../boost/libs/regex/src/libboost_regex.la ../boost/ 
libs/signals/src/libboost_signals.la ../boost/libs/filesystem/src/ 
libboost_filesystem.la ../boost/libs/iostreams/src/ 
libboost_iostreams.la -liconv ../intl/libintl.a -liconv  -lc -lm  -lz

mkdir .libs
libtool: link: cannot find the library `'
make[3]: *** [lyx-qt4] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Any suggestions?


My guess is that you didn't delete *.la files from [QTDIR]/lib/.  
(1.5beta1 came out before we had a chance to update the  
INSTALL.MacOSX instructions, which hopefully will lay out what you  
need to do. I'm attaching a copy to this e-mail.)


Bennett





I did remove the .la files ang got exactly the same error

But I did run configure according to the LyX/Mac-1.4 instructions
(./configure -static -no-exceptions -lresolv)

I couldn't find the -lresolv option in the configure help?

But the INSTALL instructions mention:
"and also supply a path to the -sdk option if your development  
machine has a PowerPC CPU"


so I guess this could be the problem.

Regards,




LyX 1.4.4 crashing on OS X

2007-02-28 Thread Patrick De Visschere

Hi,

I've tried LyX 1.4.4 (PPC version) on OS X on 2 different computers  
and on both LyX crashes when opening an existing file (like one of  
the help-files).

I can create a new document, save it and open it again without problem.

Anybody else having this problem?

Regards,

Patrick De Visschere





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

2006-02-08 Thread Patrick De Visschere


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


Hi all,

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




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


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


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


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


Regards

Patrick De Visschere


...
Any suggestions?

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

Cheers
JP

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




Re: Mac Install Problems

2006-02-03 Thread Patrick De Visschere
 for package babel [babel]... yes
+checking for package color [color]... yes
+checking for package fancyhdr [fancyhdr]... yes
+checking for package floatflt [floatflt]... yes
+checking for package setspace [setspace]... yes
+checking for package subfigure [subfigure]... yes
+checking for package geometry [geometry]... yes
+checking for package longtable [longtable]... yes
+checking for package algorithm [algorithm]... yes
+checking for package rotating [rotating]... yes
+checking for package latex8 [latex8]... no
+checking for package url [url]... yes
+checking for package varioref [varioref]... yes
+checking for package prettyref [prettyref]... no
+checking for package natbib [natbib]... yes
+checking for package graphicx [graphicx]... yes
+checking for graphics driver... default
+checking for package psnfss [times.sty]... yes
+Inspection done.
+Read the file doc/LaTeXConfig.lyx for more information.
creating packages.lst
creating doc/LaTeXConfig.lyx
checking whether TeX allows spaces in file names... yes
creating lyxrc.defaults
checking for a FIG -> EPS/PPM/PNG converter... (fig2dev)
+checking for "fig2dev"... no
checking for a TIFF -> PS converter... (tiff2ps)
+checking for "tiff2ps"... no
checking for a Tgif -> EPS/PNG/PDF converter... (tgif)
+checking for "tgif"... no
checking for an EPS -> PDF converter... (epstopdf)
+checking for "epstopdf"... yes
checking for a Grace -> Image converter... (gracebat)
+checking for "gracebat"... no
checking for TeX fonts
+checking for cmex10... yes (pfb)
+checking for cmmi10... yes (pfb)
+checking for cmr10... yes (pfb)
+checking for cmsy10... yes (pfb)
+checking for eufm10... yes (pfb)
+checking for msam10... yes (pfb)
+checking for msbm10... yes (pfb)
+checking for wasy10... yes (pfb)
removing xfonts/fonts.dir, which is identical to the system global  
version

removing font links

(or change "/Applications" to point to the directory where you  
have LyX.app installed)? Does the output from this indicate that  
LyX can find latex and other relevant files? (Not all of them  
will say "yes", but standard ones like latex and document class  
article should.)


Bennett







__
Patrick De  
Visschere
   tel: +32 (0)9 264 8950
Universiteit Gent - Vakgroep  
ELIS   
fax: +32 (0)9 264 3594

Sint Pietersnieuwstraat 41
B-9000 Gent, België 
http://www.elis.UGent.be/ELISgroups/beoc/

__



Re: Installation of LyX 1.3.7 on Mac OS X not straightforward

2006-01-23 Thread Patrick De Visschere

Thanks for the suggestion

On Jan 20, 2006, at 20:07, Bennett Helm wrote:


On Jan 20, 2006, at 12:29 PM, Patrick De Visschere wrote:

On Mac OS X LyX 1.3.7 stores its information in a new location (~/ 
Library/Application support/LyX/)

instead of the previous ~/.LyX folder.
The LyX Installer supplied with the binary moves the old files to  
the new location.
But apparently something is going wrong, since LyX 1.3.7 does not  
find the latex classes anymore.
However when running the configure tool in a terminal window  
everything seems OK, although the LaTeXConfig.lyx  file (kept in ~/ 
Library/.../doc/) does only contain ??? entries.


When installing LyX 1.3.7 from scratch (thus after first removing  
the old ./LyX folder) then there is no problem: a new folder is  
created in the new location (but apparently it is not used). The  
LaTeXConfig.lyx file is now found in the application itself,  
together with al other files. Although this is probably not as it  
should be, it works.


Have you tried Edit > Reconfigure from within LyX, and then  
restarting LyX? I think that would solve all your problems.


Yes, I did and it didn't solve the problem.
Sofar only installing from scratch did help although I don't  
understand the logic after the location of the configuration files:
I have now 2 LaTexConfig.lyx files (1 in my ~/Lib/ folder (generated  
today) and 1 in the .app itself (generated some days ago)).

However there is still only 1 textclass.lst file (in the .app).

On another computer I installed 1.3.7 after 1.3.6 and there was no  
problem then.

The problem occurred when installing 1.3.7 after 1.3.5

pdv



(By the way, LaTeXConfig.lyx file is automatically generated when  
you reconfigure LyX, and after a reconfigure you should find it in  
~/Library/Application Support/LyX/doc with proper entries.)


Bennett




Installation of LyX 1.3.7 on Mac OS X not straightforward

2006-01-20 Thread Patrick De Visschere
On Mac OS X LyX 1.3.7 stores its information in a new location (~/ 
Library/Application support/LyX/)

instead of the previous ~/.LyX folder.
The LyX Installer supplied with the binary moves the old files to the  
new location.
But apparently something is going wrong, since LyX 1.3.7 does not  
find the latex classes anymore.
However when running the configure tool in a terminal window  
everything seems OK, although the LaTeXConfig.lyx  file (kept in ~/ 
Library/.../doc/) does only contain ??? entries.


When installing LyX 1.3.7 from scratch (thus after first removing the  
old ./LyX folder) then there is no problem: a new folder is created  
in the new location (but apparently it is not used). The  
LaTeXConfig.lyx file is now found in the application itself, together  
with al other files. Although this is probably not as it should be,  
it works.


pdv