Re: Please help me

2024-06-11 Thread Anders Ekberg via lyx-users


> 11 juni 2024 kl. 15:51 skrev Christopher Menzel :
> 
>> I have spent hours trying to figure out how one might be able to run BOTH 
>> LyX 2.4 and LyX 2.3.8 on the same Mac computer with a Silicon chip and Mac 
>> OS 14.5. No luck finding any useful information about this issue.
>> Is this possible?
> 
> ...
> 
> If all you want to do is install both versions of LyX, then, assuming you 
> currently have LyX 2.3.8 installed, just open the Applications folder on your 
> machine and rename LyX.app to “LyX 2.3.8.app” and then install LyX 2.4. I 
> think the only issue is that LyX 2.3.8 will look in ~/Library/Application 
> Support/LyX-2.3 for its support files (personal bind files, personal 
> spellcheck files, etc) and LyX 2.4 will look in ~/Library/Application 
> Support/LyX-2.4 so those could get out of sync. (You could probably create 
> symlinks in your LyX-2.3 folder to keep things in sync but you can kick that 
> can down the road for now.)

I have used a setup like that for over a year with no problem. No Symlinks or 
anything, just calling one app LyX, and the other LyX-23 (or whatever).
/Anders

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


Re: Convert Mac Word and Thesis to LyX

2024-04-18 Thread Anders Ekberg via lyx-users

> 18 apr. 2024 kl. 17:20 skrev Jean-Marc Lasgouttes :
> 
> Le 18/04/2024 à 16:59, Richard Kimberly Heck a écrit :
>>> On 4/17/24 16:57, Brian Kneller via lyx-users wrote:
>>> Hi,
>>> 
>>> I hope I am in the correct space. — I have prepared a thesis for a PhD  
>>> (75K words)and approx 80 figures, the text in Mac-word and the figures are 
>>> in Adobe Illustrator so I have some flexibility in Format. Also there are 
>>> many references. I hold all my references and comments on them in Bookends. 
>>> I regret not looking at lyx/latex and using them much earlier so I am 
>>> looking for an easy way to migrate this info into Lyx and I am also looking 
>>> for a Thesis  template. I have dowloaded and installed Lyx on my Macbook 
>>> Pro (Mavericks) and been thro the intro etc. I am trying to minimise the 
>>> effort in migration to Lyx so any comments and advice is most welcome.
>> It should not be difficult to convert the main bulk of the text. You can 
>> export LaTeX from LibreOffice or use Pandoc to convert Word to LaTeX, then 
>> import the LaTeX document into LyX.
> 
> I will add that this is true if your Word document uses styles for things 
> like sections. Also, I am not sure what is going to happen if you have math 
> equations.
> 
> JMarc

Math equations at least work fine the other way around I.e. LyX to Word if you 
follow the approach on the lyx wiki
/Anders
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Watermark

2024-02-10 Thread Anders Ekberg via lyx-users
> On 10 Feb 2024, at 18:17, Richard Kimberly Heck  wrote:
> 
> On 2/10/24 05:45, Anders Ekberg via lyx-users wrote:
>> How do you include a watermark in LyX.
>> It can be done in the preamble, but I think I used a module option or 
>> similar before, but can’t see it in 2.4RC1.
> 
> It's possible that your user directory has changed, and that the module has 
> not been copied over to the new one. I did find this:
> 
> https://www.physicsforums.com/threads/add-watermark-to-document-in-lyx-a-guide.988197/
> 
> Riki

Thanks Riki 
I saw that one too. The problem is
"Go to "Insert" and select "Formatting" from the drop-down menu Click on 
“Watermark”"
There is no Watermark item under Formatting…

Anders

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


Watermark

2024-02-10 Thread Anders Ekberg via lyx-users
How do you include a watermark in LyX.
It can be done in the preamble, but I think I used a module option or similar 
before, but can’t see it in 2.4RC1.

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


Re: lyx 2.3.7 running on a Mac Ventura 13.6.1

2024-01-10 Thread Anders Ekberg via lyx-users
On 10 Jan 2024, at 13:35, mark salmon  wrote:
> 
> An urgent request for advice please. My apologies but I dropped of the edge 
> of the planet for some time- and have slowly been able to get back in 
> gear.when I was last active there were problems - both graphics and 
> slowness running Lyx on Macs with Ventura. I last understood the graphics 
> problem had been resolved in the latest version of Lyx 2.4??? beta but that 
> this beta had problems with Ventura above13.6.1. The latest MacOS is Sonoma 
> 14.. DO I RISK UPDATING MY MAC OS and ARE THERE CONTINUING PROBLEMS 
> WITH LYX 13.6.1- graphics insert and slowdown??
> I have lecture notes to write for Monday next week and cannot risk making a 
> mistake- DO I UPDATE MY SYSTEM AND LYX???  PLEASE!!
> 
> thanks 
> Mark
>  -- 
> The more we know, the more we realise how little we know.
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users

Hi Mark 
I run LyX 2.4.0 b5 with MacTeX 2023 and Inkscape 1.3.2 on MacOSX 14.2.1 on my 
production (writing notes, compendia etc but very seldom using beamer) computer 
(MacBook Pro 2019). Works fine, but of course no guarantee it will for you…

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


Re: Beta2 on Mac OS X 13.2

2023-02-06 Thread Anders Ekberg via lyx-users


> On 6 Feb 2023, at 15:20, Jean-Marc Lasgouttes  wrote:
> 
> Le 06/02/2023 à 14:19, Anders Ekberg via lyx-users a écrit :
>> Here is where it differs. More digging shows it to be a problem in 
>> reconfiguration. Did a reconfiguration from the Terminal. Now it opens, but 
>> wants to reconfigure, but fails. Doing the big dig now and reinstall MacTeX…
> 
> Do you have a working python3 installed?

Yes, but I think for some reason it wasn’t found (even though "which python" 
indicated anaconda’s python3). Bit after installing from python.org and 
reinstalling Anaconda twice it now works as it should. Unfortunately I am not 
quite sure what was wrong. There were a Terminal message that I did not use the 
default shell that perhaps could be related. But I am not really sure. Still, 
thanks for all the help!
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Beta2 on Mac OS X 13.2

2023-02-06 Thread Anders Ekberg via lyx-users
> Am 06.02.23 um 11:15 schrieb Anders Ekberg via lyx-users:
>> Trying to install Beta2 on Mac OSX 13.2 on my iMac, but after going through 
>> the usual hassle with allowing open in System settings, the program does not 
>> load. It displays “LyX24b2.app” can’t be opened because Apple cannot check 
>> it for malicious software. And when clicking Open it just closes.
>> I get the same for both qt5 and qt6 versions. Have tried to spot error in 
>> console, but can’t see anything.
>> On my MacBook Pro it works fine (as does the alpha3). Python 3 installed 
>> through Anaconda on both. Only difference I can see is that the Python 
>> detected is python3 -tt on Pro, but python -tt on iMac.
> 
> 
> - downloading 
> http://ftp.lip6.fr/pub/lyx/devel/lyx-2.4/LyX-2.4.0-beta2+qt6-x86_64-arm64-cocoa.dmg
> 
> - installing it and running. As usual mac doesn't allow it
> 
> - System Prefences->Security   scrolling to the end and allowing
>   to open LyX anyway
> 
> - macOs again ask if it should really be open
> 
> - after password everything is fine (Ventura 13.2 on iMac):

Here is where it differs. More digging shows it to be a problem in 
reconfiguration. Did a reconfiguration from the Terminal. Now it opens, but 
wants to reconfigure, but fails. Doing the big dig now and reinstall MacTeX…


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


Re: Beta2 on Mac OS X 13.2

2023-02-06 Thread Anders Ekberg via lyx-users

> Trying to install Beta2 on Mac OSX 13.2 on my iMac, but after going through 
> the usual hassle with allowing open in System settings, the program does not 
> load. It displays “LyX24b2.app” can’t be opened because Apple cannot check it 
> for malicious software. And when clicking Open it just closes.
> I get the same for both qt5 and qt6 versions. Have tried to spot error in 
> console, but can’t see anything. 
> On my MacBook Pro it works fine (as does the alpha3). Python 3 installed 
> through Anaconda on both. Only difference I can see is that the Python 
> detected is python3 -tt on Pro, but python -tt on iMac.
> 
> /Anders
To clarify: alpha3 works on the iMac where beta2 refuses to install.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Beta2 on Mac OS X 13.2

2023-02-06 Thread Anders Ekberg via lyx-users
Trying to install Beta2 on Mac OSX 13.2 on my iMac, but after going through the 
usual hassle with allowing open in System settings, the program does not load. 
It displays “LyX24b2.app” can’t be opened because Apple cannot check it for 
malicious software. And when clicking Open it just closes.
I get the same for both qt5 and qt6 versions. Have tried to spot error in 
console, but can’t see anything. 
On my MacBook Pro it works fine (as does the alpha3). Python 3 installed 
through Anaconda on both. Only difference I can see is that the Python detected 
is python3 -tt on Pro, but python -tt on iMac.

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


Writing paper for a SAGE journal

2022-07-10 Thread Anders Ekberg via lyx-users
Has anyone written a paper for a SAGE journal?
There is a TeX-template and a .cls file available on the sagepub website. Has 
anyone managed to use these for writing the paper in LyX?

/Anders


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


Re: How to set editor for external edit of preamble

2019-08-15 Thread Anders Ekberg


> On 2019Aug15, at 22:16, Daniel  wrote:
> 
> On 2019-08-15 07:07, Andrew Parsloe wrote:
>> On 15/08/2019 1:28 PM, Daniel wrote:
>>> On 2019-08-14 20:23, Paul A. Rubin wrote:
 On 8/14/19 7:35 AM, Dr Eberhard Lisse wrote:
> Me three :-)-O
> 
> el
> 
> On 14/08/2019 07:15, Daniel wrote:
>> Hi,
>> 
>> I just discovered the new feature to edit the preamble externally.
>> However, I couldn't find where to set the editor for this of any
>> documentation about it.  On MacOS it opens XCode which asks me to
>> install additional application or Quit.  This renders the function
>> pretty useless for me.  I have set a different application as default
>> for TeX files but LyX seems ignore this.  How can I make LyX open my
>> favorite editor?
>> 
>> Best,
>> Daniel
>> 
>> 
 Tools > Preferences > File Formats > LaTeX (plain) > Editor.
 
 Paul
 
>>> 
>>> Thanks. So, I take it, there is no documentation of this.
>>> 
>>> Next, question: how do I set a Custom editor then? I tried 
>>> "/Applications/texmaker.app" but nothing happens though "open 
>>> /Applications/texmaker.app" in the terminal works just fine.
>>> 
>>> Daniel
>>> 
>> Following Paul's response, I chose Custom and entered notepad++ (my 
>> preferred text editor) in the adjacent window. I've included C:\Program 
>> Files\Notepad++ (preceded and followed by semicolons) in the path string at 
>> Tools > Settings > Paths. It works (at least in windows).
>> Andrew
> Thanks for checking. Might be a macos bug then.
> 
> Daniel
Tried to get it to work on MacOS (with BBEdit, but didn’t succeed. I think what 
I get wrong is what to put in the path (tried bot Application and into the 
BBEdit package) and what to put in the command. 

Anders



Re: Lyx v 2.3.X - severe Problems on OSX

2019-08-15 Thread Anders Ekberg
On 2019Aug16, at 05:28, Richard Kimberly Heck  wrote:
> 
> On 8/15/19 5:00 PM, Matthias Görlach wrote:
>> Hi,
>> after running and using Lyx for maybe 10 years, I finally tried to upgrade 
>> from v 2.2.4 to 2.3.2 and 2.3.3.
>> 
>> This resulted in unusability or continuously repeated error messages 
>> relating to "missing document classes", something about "missing library" 
>> and finally to "LyX will only have minimal functionality because no text 
>> classes have been found. You can either try to configure LyX normally, try 
>> to reconfigure without checking your LaTeX installation, or continue." 
>> 
>> 
>> I tried a lot - to no avail - incl newsgroups, Wiki etc etc
>> Reconfigure didnt do a thing - neither a complete new install of the recent 
>> MacTEX suite, reinstall of Lyx etc etc. Other TEX distribs (e.g. mac 
>> texmaker) worked flawlessly.
>> My System MacOS X, 10.12.6 Sierra incl latest patches on a MacBook Pro 
>> (MacBookPro9,2).
>> 
>> ONLY completely removing any traces of Lyx and reinstalling Lyx 2.2.4 solved 
>> the problem - its running fine.
>> 
>> Accd to the Lyx web site, the latest release of Lyx (2.3.3) should be 
>> running fine on my system - so what is the issue???
>> 
>> Any hints/help available??
> There are some OSX folks around, so I'm updating the subject and cc'ing our 
> Mac guru. We've not had any other reports of this problem, so we know 2.3.x 
> will run on OSX. Not that that's any help to you!
> 
> Is it possible to install 2.3.x alongside 2.2.4? Possibly as a different 
> user? If so, it'd be interesting to see the output of the reconfiguration 
> script. That might give us some hint what's going wrong.
> Riki
> 
I can’t help much. 2.3.3 is running fine here (High Sierra) and I often have 
multiple versions alongside when I upgrade.
The only thing I can think of that isn’t mentioned is to perform a sudo texhash 
from the Terminal.

Anders



Re: Exporting ePub / XML: always SIGSEV

2019-04-25 Thread Anders Ekberg
On 25 Apr 2019, at 21:36, jezZiFeR  wrote:
> 
> Hello Anders,
> 
> thanks a lot! This sounds good, but I do normally only use LyX and run into 
> new problems. First I tried several possibilities to export to TeX is with 
> also with »weitere Formate und Optionen« (more formats and options) – here it 
> worked. In all other cases (file – export – LaTeX (plain) or export – export 
> as – LaTeX (normal) or export – export as – LaTeX (XeTeX)) I have got a 
> SIGSEV-signal again. 
> 
> Well, then I opened the TeX-file in TeXShop (I dont have TeX Studio). In the 
> prefs there is no build, and I did not know ho to continue from here.
>  Then I just tried:
> 
> export – XML text
> 
> This produced an XML-file. I do not know if the file would work, because I do 
> not know how to continue from here. Did Could I also use calibre for 
> converting from XML to ePub?
> 
> Thanks, best
> Jess

Looks like you have a problem with your installation. I would try to reinstall 
(and if problems remain to a Tools > Reconfigure and open Terminal and run sudo 
texhash).
Anyway, to your question: Calibre is free to download, so you can download it 
and then add the xml-file to Calibre (Add book…) and then convert to EPUB 
(Convert books…). If it works or not should depend on the status the XML-file, 
but that is outside my knowledge (I was just happy when the recipe I posted 
worked ;-)

All the best!
Anders



Re: Exporting ePub / XML: always SIGSEV

2019-04-25 Thread Anders Ekberg

25 apr. 2019 kl. 18:56 skrev jezZiFeR :
> 
> Hello,
> 
> I try to export ePubs for a while now and it never worked in different 
> configurations. LyX was always freezing. In the moment I use OS 10.14.3, 
> Intel and LyX 2.3.2 with TeXLive 2018.
> 
> When I do the following:
> + file – export as – DocBook (XML) and then try to save I get the follwing 
> error:
> »Keine Informationen vorhanden, um das Format DocBook (XML) zu exportieren.«
> In English this means something like »There is no information to export the 
> format DocBook (XML).
> + Now I click »cancel« and get a SIGSEV-signal, like every time.
> 
> Does anybody have a hint what I could do? Would be very good to use XML, 
> maybe there is a workaround.
> 
> Thanks, all best
> Jess

Also on Mac. I never really got the XML to work. So unfortunately no 
workaround. Instead I use

\usepackage{pxfonts} in preamble
Pictures as eps
No non-standard letters in picture names etc
Export to plain tex
Open in TeX-studio
Create user-command htlatex %.tex (in Preferences > Build)
Add html-file to Calibre (Add book...)
Convert to EPUB (Convert books...)

Has worked very well also for complex documents.

/Anders

Re: Would LyX be a lot more popular if it were marketed as a note taking app?

2019-01-10 Thread Anders Ekberg



> 10 jan. 2019 kl. 22:50 skrev Amir Michail :
> 
> I find it really nice to use for that purpose. And there’s no need to install 
> TeX and/or export to LaTeX if all you are using it for is to take notes.
> 
> Anyone else think LyX is great for taking notes and should be marketed as 
> such?
> 
Took 9 pages notes at a 2.5h PhD presentation yesterday.  The nice thing is you 
get the formatting done directly (eg use Description for Q&A) and can even make 
shorter equations if you know the shortcuts. 
After, press cmd R and you have nicely formatted documentation of the event.

You can of course do the same e.g. in Word, but I never manage to get 
formatting to look good, and equations (even simple) are out of the question if 
you do it on-the-fly.


Re: Lyx V2.3.2 - Issues with svgs snippets on Mac OS X

2018-12-23 Thread Anders Ekberg


> On 23 Dec 2018, at 13:05, Stephan Witt  wrote:
> 
> Am 22.12.2018 um 23:59 schrieb Robert Betz :
>> 
>> Daniel,
>> 
>> I have tired all sorts of things on Mac OS X Mojave but I cannot get either 
>> SVG or SVGZ files to render in Lyx.  Just get error generating loadable 
>> format.
>> 
>> I was wondering if any other users on Mac OS X Mojave are having problems 
>> with rendering SVG and/or SVGZ?  An easy way to test this is to load up the 
>> User Manual in Lyx and scroll down until you hit the small svgs snippets in 
>> the text (used to store pictures of screen buttons in the file).
> 
> I’m sure it worked for me in the past. So I gave it a try on Mojave and it 
> works.
> 
> Then I tried to break it and this is easy. My converter configuration does 
> the SVG to PNG conversion with rsvg-convert because I’ve installed it from 
> MacPorts. But the idea was to have a reasonable fallback for those not having 
> it. It looks like not working anymore. I changed my system to make 
> rsvg-convert unavailable and now I cannot display SVG anymore too.
> 
> I’ll investigate the issue and report back.
> 
> Stephan

F.Y.I. svgs in the LyX 2.3.2 User’s guide do not render for me on Mojave with 
Inkscape installed, but no special converters defined. (No idea how it was 
before upgrading though…)

/Anders


> @Daniel: Does it work on Windows without inkscape?
> 
>> 
>> Thanks.
>> 
>> 
>> Regards,
>> 
>> Bob
>> 
>> 
>> PROFESSOR ROBERT BETZ
>> School of Electrical Engineering and Computing
>> Faculty of Engineering and Built Environment
>> 
>> T: +61 2 4921 6091
>> M: +61 (0)419 249 948
>> E: robert.b...@newcastle.edu.au
>> 
>> The University of Newcastle (UoN)
>> University Drive
>> Callaghan NSW 2308
>> Australia
>> 
>> CRICOS Provider 00109J
>> 
>> 
>> 
>> 
>>> On 20 Dec 2018, at 2:20 pm, Daniel  wrote:
>>> 
>>> On 20/12/2018 12:00, Robert Betz wrote:
 I don’t know whether anyone else is having trouble with the snippets in 
 the Lyx User Guide, but on my Machine (Mac OS X V10.14.2 Mojave) the svgz 
 snippets all get errors as below
 I anyone else having this problem.  The Inkscape converter seems to be 
 having problems with these.  Works fine in Ubuntu.
 Regards,
 Bob
>>> 
>>> Works fine under Win10.
>>> 
>>> Daniel
>>> 
>>> 
>> 
> 



Re: [ANNOUNCE] LyX 2.2.3 Released

2018-12-16 Thread Anders Ekberg
On 16 Dec 2018, at 08:28, Dr Eberhard W Lisse  wrote:
> 
> Will do.
> 
> But, can you reproduce?
> 
> el
> 
> Sent from Dr Lisse’s iPad mini 4
> On 16 Dec 2018, 04:24 +0200, Richard Kimberly Heck , wrote:
>> On 12/15/18 7:48 PM, Dr Eberhard Lisse wrote:
>>> Thanks,
>>> 
>>> but I noticed a real nuisance on Mojave 10.14.1
>>> 
>>> When I click on the Text Style button it uses default which I do not
>>> like (and not the default one :-)-O). When I manually change them and
>>> click on marked text it makes the change as requested. When I mark some
>>> other text for the same formatting it resets this again.
>>> 
>>> This is a serious change from previous behavioir and not a feature.
>>> 
>>> How can I fix that?
>> 
>> Please file a bug report about this. We will investigate it for 2.3.3.
>> 
>> Riki
>> 
To see if I get this right:
I have the text “Some text”. I click on the Text Style button (without marking 
any text) and it is marked Medium. I alter to Bold, double click on “text". It 
reverts to Medium (as is the format of “text”. I change to Bold and click apply 
and “text" becomes bold. I then double click on “Some”, the dialogue box 
reverts to Medium (which is the style of “Some”. Change to Bold and click apply 
turns “Some” to bold. This is what I see on Mojave 10.14.2 with (works great 
for me, but don’t use with Dark Appearance…).

Anders



Re: Articles Class missing from Lyx 2.3.2

2018-12-16 Thread Anders Ekberg
Which OS?
Tried to reconfigure?

/Anders

> 16 dec. 2018 kl. 01:03 skrev Roger :
> 
> After installing LyX 2.3.2 all of the Articles Class and many other document 
> classes are no longer available.
> Regards
> Roger
> 



Re: The tortured release of 2.3.0 Windows binaries

2018-05-13 Thread Anders Ekberg
1 agree, but censor a list is not really good either (most posts, such as this 
one) are not by developers

2 see the discussion on the developers list, suggestions like this have been 
thoroughly discussed

> 13 maj 2018 kl. 14:16 skrev Bernt Lie :
> 
> 1: I agree, and I didn't say so. Essentially, my point is that developers can 
> not do that without compromising its OS agnostics. For various reasons, I use 
> Windows myself. And I have full respect for others making different choices. 
> I don't think the LyX list should be used for negative description of OSes 
> not used by oneself.
> 
> 2: I see the point. If there are no negative side effects of upgrading to the 
> latest version of MikTeX, I'd do the following:
> * Put in a LyX 2.3.0 installation link.
> * Start by checking if the latest MikTeX version is installed. If yes, 
> proceed and install LyX 2.3.0
> * If not, explain why, and point to a link (youtube, or whatever) on how the 
> user can upgrade MikTeX and say "retry after you have upgraded MikTeX".
> 
> Maybe a solution?
> B
> 
> Get Outlook for Android
> 
> 
> 
> From: Anders Ekberg
> Sent: Sunday, May 13, 13:33
> Subject: Re: The tortured release of 2.3.0 Windows binaries
> To: Bernt Lie
> Cc: lyx-users@lists.lyx.org
> 
> 
> 1 I haven’t seen any developer having any opinion on which os users are 
> running, they are simply stating what they are running in order to explain 
> the problem
> 
> 2 the question is if you should update software (other than lyx) *without 
> asking the user*
> 
> All the best!
> Anders
> 
> 13 maj 2018 kl. 10:48 skrev Bernt Lie :
> 
> > Why are people still using Windows?  My firm gets along without Gates just 
> > fine.
>  
> I use Windows, almost all of my colleagues use Windows. I know of 1 colleague 
> who uses Linux - he is very computer savvy, sets up his own system, hacks 
> LaTeX classes, and is not interested in using LyX -- he manages fine with his 
> own set-up. Many LaTeX users use alternative tools (TeXnicCenter, etc.).
> --
> "Why are people still using Windows?"
>  
> Well, fact is: our IT infrastructure is so tied up into Windows based tools, 
> that if the choice comes between Windows and LyX, it is LyX that will sink -- 
> our management thinks that Word is just fine... I have no problems with LyX 
> developers preferring another OS (ref: statement that none of the developers 
> use Windows). But if people associated with developing a software tool goes 
> public with opinions like “why on earth do people still use Windows”, that 
> would make it impossible to advocate the use of that software to Windows 
> users.
> --
> Regarding the delay of LyX 2.3.0 for Windows -- v 2.2.3 serves me fine, so I 
> can wait. Still, the reason for the problem is not entirely clear to me.
> * Yes, I understand that there is a problem with MikTeX in that MikTeX must 
> be updated for some technical reason.
> * What is not clear is why it is a problem to update MikTeX. My MikTeX 
> console says
>  
> Is there a newer MikTeX version? Is the problem that a (possible) newer 
> version will not be backwards compatible?If I can update MikTeX to the latest 
> version, install LyX v. 2.3.0, and face no problem of backwards 
> compatibility, then I don’t see any problem. 
>  
> BL
>  
>  
>  
>  
> -Original Message-
> From: lyx-users@lists.lyx.org  On Behalf Of Steve 
> Litt
> Sent: Sunday, May 13, 2018 7:49
> To: lyx-users@lists.lyx.org
> Subject: Re: The tortured release of 2.3.0 Windows binaries
>  
> ROFLMAO, I ask myself this all the time, on multiple mailing lists.
>  
> On the bright side, 90% of the heartache doesn't apply to me.
>  
> SteveT
>  
>  
> On Sat, 12 May 2018 20:03:09 -0700
> John White  wrote:
>  
> > Why are people still using Windows?  My firm gets along without Gates 
> > just fine.
> > 
> > John White
> > 
> > On Friday, May 11, 2018 4:18:17 PM PDT Richard Kimberly Heck wrote:
> > > On 05/11/2018 03:37 PM, Jim Rockford wrote:  
> > > > In my 20+ years in the world of science, I have not known a single 
> > > > user of Lyx (~50 in total) who wasn't computer savvy.  Why not 
> > > > just include a warning message that Lyx 2.3.0 may not function 
> > > > properly with MiKTeX distributions that have not been updated as 
> > > > recently as some specific date?
> > > 
> > > That is more or less what was proposed by most of the development
> > > team: A warning at start-up, that LyX was going to update MikTeX, 
> > > with an option for the user to abort the install if t

Re: The tortured release of 2.3.0 Windows binaries

2018-05-13 Thread Anders Ekberg
1 I haven’t seen any developer having any opinion on which os users are 
running, they are simply stating what they are running in order to explain the 
problem

2 the question is if you should update software (other than lyx) *without 
asking the user*

All the best!
Anders

> 13 maj 2018 kl. 10:48 skrev Bernt Lie :
> 
> > Why are people still using Windows?  My firm gets along without Gates just 
> > fine.
>  
> I use Windows, almost all of my colleagues use Windows. I know of 1 colleague 
> who uses Linux - he is very computer savvy, sets up his own system, hacks 
> LaTeX classes, and is not interested in using LyX -- he manages fine with his 
> own set-up. Many LaTeX users use alternative tools (TeXnicCenter, etc.).
> --
> "Why are people still using Windows?"
>  
> Well, fact is: our IT infrastructure is so tied up into Windows based tools, 
> that if the choice comes between Windows and LyX, it is LyX that will sink -- 
> our management thinks that Word is just fine... I have no problems with LyX 
> developers preferring another OS (ref: statement that none of the developers 
> use Windows). But if people associated with developing a software tool goes 
> public with opinions like “why on earth do people still use Windows”, that 
> would make it impossible to advocate the use of that software to Windows 
> users.
> --
> Regarding the delay of LyX 2.3.0 for Windows -- v 2.2.3 serves me fine, so I 
> can wait. Still, the reason for the problem is not entirely clear to me.
> * Yes, I understand that there is a problem with MikTeX in that MikTeX must 
> be updated for some technical reason.
> * What is not clear is why it is a problem to update MikTeX. My MikTeX 
> console says
>  
> Is there a newer MikTeX version?
> Is the problem that a (possible) newer version will not be backwards 
> compatible?
> If I can update MikTeX to the latest version, install LyX v. 2.3.0, and face 
> no problem of backwards compatibility, then I don’t see any problem.
>  
> BL
>  
>  
>  
>  
> -Original Message-
> From: lyx-users@lists.lyx.org  On Behalf Of Steve 
> Litt
> Sent: Sunday, May 13, 2018 7:49
> To: lyx-users@lists.lyx.org
> Subject: Re: The tortured release of 2.3.0 Windows binaries
>  
> ROFLMAO, I ask myself this all the time, on multiple mailing lists.
>  
> On the bright side, 90% of the heartache doesn't apply to me.
>  
> SteveT
>  
>  
> On Sat, 12 May 2018 20:03:09 -0700
> John White  wrote:
>  
> > Why are people still using Windows?  My firm gets along without Gates
> > just fine.
> >
> > John White
> >
> > On Friday, May 11, 2018 4:18:17 PM PDT Richard Kimberly Heck wrote:
> > > On 05/11/2018 03:37 PM, Jim Rockford wrote: 
> > > > In my 20+ years in the world of science, I have not known a single
> > > > user of Lyx (~50 in total) who wasn't computer savvy.  Why not
> > > > just include a warning message that Lyx 2.3.0 may not function
> > > > properly with MiKTeX distributions that have not been updated as
> > > > recently as some specific date?
> > >
> > > That is more or less what was proposed by most of the development
> > > team: A warning at start-up, that LyX was going to update MikTeX,
> > > with an option for the user to abort the install if they wish. The
> > > person responsible for the Windows packages refused to include such
> > > a warning, and we did not think updating people's other software
> > > without asking permission to do so was something we should do. So
> > > that has left us in a bad position.
> > >
> > > We are working now to try to produce a Windows installer.
> > > Unfortunately, none of the active development team use Windows, so
> > > it is taking longer than it otherwise might. We'd certainly welcome
> > > help from someone who does use Windows.
> > >
> > > Riki
> >
>  


Re: LyX & article style?

2018-04-06 Thread Anders Ekberg

> On 6 Apr 2018, at 14:48, Bernt Lie  wrote:
> 
>  How can I suppress the date?

\date{} in the LaTeX Preamble (Document > Settings)

Re: Have you tested 2.3.0beta1?

2017-09-05 Thread Anders Ekberg
Tested briefly on Mac latest OS and fresh TeX installation. Only problem was 
that the welcome document complains about unknown image format (svgz?)
If that is ignored the document compiles fine except for that image, but it 
should preferably be fixed.

Anders

> 6 sep. 2017 kl. 01:25 skrev Scott Kostyshak :
> 
> I have not seen many bugs that have been reported regarding 2.3.0beta1.
> I would like to know whether this means that 2.3.0beta1 can be
> considered stable, which is what I believe, or whether it is just that
> not many people have tested it and that is why there have not been many
> bug reports.
> 
> If you've tested, it would be useful if you just respond with e.g. "yes
> I briefly tested and didn't find any issues".
> 
> If you're interested in testing, please back up all of your files.
> 
> One useful way to test is to compile your current .lyx files. If you get
> a LaTeX error where with a previous .lyx file you did not, then that
> could be a bug.
> 
> Thanks,
> 
> Scott


Re: Lyx on Mac: Preferences problems

2017-05-29 Thread Anders Ekberg

> On 2017May29, at 18:45, Joel Kulesza  wrote:
> 
> On Mon, May 29, 2017 at 8:44 AM, David Pesetsky  > wrote:
> 
> 1. Open a Lyx file in the editor window.
> 2. Change any setting, for example, Screen Font (but it can be anything, on 
> any submenu
> 3. Click "Apply"
> 4. A white box appears and the program freezes.
> 5. Also: if you click on the editor window while the program is in its frozen 
> state, that window turns black.  
> 
> Thanks for the detailed steps.  Unfortunately, I cannot reproduce with LyX 
> 2.2.3 on OS X 10.12.5.  However, there is some differing behavior I 
> experience which might explain why you see different things.
> 
> When I do NOT have a document open, I can tweak a preference, Apply, Save, 
> and all is well. This is also the behavior I'd expect relative to my next 
> point.
> 
> When I do have a document open, I can tweak a preference, Apply, *the dialog 
> window goes to the background*, I retrieve the dialog, Save, and all is well. 
>  
> 
> I wonder if someone can track down why the dialog focus changes depending on 
> whether a document is open or not. 

Can’t track down why the dialog focus changes, but can confirm the behaviour 
that Apply with a document open sends the dialog window to the background (OSX 
10.12.5 here too if that is any clue).
/Anders

Re: Bug using BibTex and IEEEtran with author name containing And

2017-01-12 Thread Anders Ekberg
> On 2017Jan12, at 10:48, Jürgen Spitzmüller  wrote:
> 
> 2017-01-12 9:28 GMT+01:00 Anders Ekberg mailto:a...@me.com>>:
> I discovered a very strange bug:
> Using Lyx on Mac and inserting a reference file created by BibDesk using the 
> IEEEtran format. The reference file has two entries that have the same 
> authors. One author has a name containing And that I suspect can be related 
> to the problem. In the output the first reference is fine, but in the second 
> the author is missing. If I change the bibliography format to plain 
> everything works. I can also get it to work by tweaking with the authors’ 
> names (e.g. removing the second author). LyX, bib and pdf-files for a minimum 
> example are enclosed.
> 
> Don’t know if it is a bug in LyX, TeX, BibDesk, BibTeX or something else, but 
> it is definitely the strangest bug I have seen for a long time… 
> Any ideas of the cause?
> 
> It's not a bug but a feature of IEEEtran.bst:
> 
> % This function detects entries with names that are identical to that of
> % the previous entry and replaces the repeated names with dashes (if the
> % "is.dash.repeated.names" user control is nonzero).
> FUNCTION {name.or.dash}
> { 's :=
>oldname empty$
>  { s 'oldname := s }
>  { s oldname =
>  { is.dash.repeated.names
>   { repeated.name.dashes }
>   { s 'oldname := s }
> if$
>  }
>  { s 'oldname := s }
>if$
>  }
>if$
> }
> 
> You can switch it off by 
> 
> 1. adding the following entry to your bib file:
> 
> @IEEEtranBSTCTL{IEEEexample:BSTcontrol,
> CTLdash_repeated_names = "no",
> }
> 2. then adding the following to your preamble
> 
> \usepackage{IEEEtrantools}
> 3. and finally, this somewhere in your document:
> 
> \bstctlcite{IEEEexample:BSTcontrol} <>
> 
> HTH
> Jürgen
Thanks, that explained it perfectly!

Anders

Re: LyX 2.2 -- logo in headers?

2016-11-22 Thread Anders Ekberg
On 2016Nov22, at 16:16, Bernt Lie <bernt@hit.no> wrote:-Original Message-From: Anders Ekberg [mailto:a...@me.com] Sent: tirsdag 22. november 2016 15.45To: Bernt Lie <bernt@hit.no>Cc: lyx-users@lists.lyx.orgSubject: Re: LyX 2.2 -- logo in headers?On 2016Nov22, at 15:28, Bernt Lie <bernt@hit.no> wrote:Using LyX 2.2.1 on Windows 10...* Is there a way to put a logo in the header of a standard LaTeX article class? ... or a similar class?I'm drafting an exam problem, and would like to insert the logo of my university in the header...-BerntFor footer I put \cfoot{{\includegraphics{LetterFoot.png}}}\renewcommand{\headrulewidth}{0pt}in the footer (no idea why I have the second line, but it works). I guess a similar version for \chead would work.For logos on the front page I found it more easy to just include the logo in the text as graphic and modify the margins.---Thanks Anders. I tried to insert a figure in the *title* field of the first page, but that figure is simply ignored... Perhaps I can put it in the text, and specify it to show on the top of the page... Hm. I may try the "\chead" command.-BThis is my example document. It’s a letter, so there are no Title. Could be that a title messes it up./@nders

Logo_letter.lyx
Description: Binary data


Re: LyX 2.2 -- logo in headers?

2016-11-22 Thread Anders Ekberg
> On 2016Nov22, at 15:28, Bernt Lie  wrote:
> 
> Using LyX 2.2.1 on Windows 10...
> 
> * Is there a way to put a logo in the header of a standard LaTeX article 
> class? ... or a similar class?
> 
> I'm drafting an exam problem, and would like to insert the logo of my 
> university in the header...
> 
> -Bernt

For footer I put 
\cfoot{{\includegraphics{LetterFoot.png}}}
\renewcommand{\headrulewidth}{0pt}
in the footer (no idea why I have the second line, but it works). I guess a 
similar version for \chead would work.
For logos on the front page I found it more easy to just include the logo in 
the text as graphic and modify the margins.

/Anders

Re: macOS Sierra

2016-09-21 Thread Anders Ekberg
I wouldn't bet on that (I.e. minor update). mathworks sent out an email that 
MATLAB currently was incompatible (for some language settings). So kudos to the 
developers!

Anders



Den 21 sep. 2016 02:48, kI 02:48, Anders Host-Madsen  
skrev:
>So, I did the upgrade, and as you said, everything works fine. Even the
>BIBINPUT environment variable is fine. I guess Sierra really was a
>minor update that did not change the interior workings of OS X. 
>
>On Tuesday, September 20, 2016 8:21 AM, Christopher Menzel
> wrote:
> 
>
>On 20 Sep 2016, at 2:16 PM, Anders Host-Madsen 
>wrote:
>> Has anyone tried LyX on MacOS Sierra? Any issues?
>
>LyX (currently 2.2) with MacTeX 2015 is rock solid for me under Sierra,
>and has been since the early public betas. Will upgrade to MacTeX 2016
>one of these days but don't expect any problems at all.
>
>-chris
>
>
>   


Re: problem with toolbars in Mac

2016-09-14 Thread Anders Ekberg
On 2016Sep14, at 11:27, Sergio Celani  wrote:
> 
> Thanks for the reply. 
> 
> One more question. To install Lyx, I must first install the GPG signature 
> file? What is the utility of this file ?
> 
> Sorry, I'm just learning to use this operating system
> 
> Sergio

No, but you need to allow Mac OS to install programs that are not from the 
Apple Store in System Preferences > General > Allow Apps downloaded from:. 
Chose Anywhere, install Lyx and then select what you like to have as your 
standard security level. 

Anders

Re: problem with toolbars in Mac

2016-09-14 Thread Anders Ekberg
The toolbars remain for me (tried with the Fonts toolbar on El Capitan, LyX 
2.2.1). Have you tried to remove the preferences file (in ~Library/Preferences/ 
)

Anders

> On 2016Sep13, at 19:00, Sergio Celani  wrote:
> 
> Hi
> 
> I have a Macbook Air, recently purchased. I am totally newbie, I've always 
> used computers with windows. 
> 
> I have installed Lyx and MacTeX and without   difficulty.  But I can not fix 
> some of the toolbars. Every time I leave fixed a toolbar (for example, the 
> Font toolbar, or the Arrows, etc)), I close the program and go back to run 
> and the toolbar disappears, and returns to the standard toolbar.  In Windows 
> I never had this problem. 
> Would appreciate any help
> 
> 
> Sergio
> 



Re: Mac Shortcuts

2016-06-03 Thread Anders Ekberg
Hi Paola

Where did you find the ^S notion?
For me (on the Mac, latest LyX, latest OS) Ctrl s N gives normal size, but it 
could perhaps be due to my keyboard (Swedish).

All the best!
Anders

> On 2016Jun03, at 10:13, Paola Manzini  wrote:
> 
> Hi All,
> 
> a really silly question, but I am stumped: using Mac OS, what does “^” stand 
> for? For instance, if I want to go for “font-size Normal” the set shortcuts 
> are ^S N : what combination of keys is “^S”? If I am not mistaken:
> C stands for “command”, 
> A stands for “option”, 
> S stands for “Shift” 
> M stands or “Ctrl” 
> 
> but does “^” stand for? 
> 
> Many thanks,
> paola
> 
> 



LyX2.2rc1 hidden windows bug(?) on Mac

2016-04-15 Thread Anders Ekberg
In the newly released 2.2rc1 on Mac (latest OS) open two documents in two 
windows. Select the frontmost and select View > Hidden and the document in the 
background. LyX will shift focus to the background window, but (in contrast to 
2.1) not raise it to the foreground. Is this intended?
(As a sidenote, the numbering of tabs in the menu starts from 0. I guess this 
is due to C+ numbering? Should perhaps be changed to starting from 1?)

Regardless 2.2 is fantastic. The only negative thing I can say about it is that 
it gets worse and worse for me when I have to use MS Word…

All the best!
Anders

Re: graphical output

2016-03-24 Thread Anders Ekberg

> On 2016Mar24, at 21:22, Les  wrote:
> 
> On Thu, 24 Mar 2016 17:21:56 +
> Muhammad Yahya  wrote:
> 
>> I am encountering a problem with the LyX output as pdf. Upon
>> exporting the file from LyX to pdf, the resolution of the document is
>> significantly lower. It is clearly visible when you “zoom in” the
>> document. Also, whenever I am printing the document the lower quality
>> of the document is visible. I have tried several ways to improve the
>> resolution, however, I am unable to improve the quality. I am
>> attaching the files herewith this email for your review. In addition,
>> I am attaching the “tutorial” document which is available through the
>> help tab. The resolution of tutorial document is clear and finest.
> 
> Muhammad,
> 
> On my system they are both very good, but that's probably because my
> default font is different.
> 
> But you can get the very good results with the tutorial, so it can be
> done on your system.
> 
> The only difference I can see that might make a difference is in the
> LaTeX Preamble under Settings. Try copying the lines:
> 
> % set fonts for nicer pdf view
> \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
> 
> from the preamble in the tutorial to the preamble in your document.
> 
> Les
> -- 
> L. R. Denham

Looks fine her also (on Mac). 
You can also test by explicitly selecting fonts and see which ones that work on 
your system. 
To do this go to: Documents > Settings… Select fonts and then change 
(especially the Roman font).
Good luck and please report back on your progress to the list (preferably 
stating your system setup).

All the best!
Anders

Re: Splitting long eqution

2015-12-04 Thread Anders Ekberg

> On 04 Dec 2015, at 02:30, Jacob Bishop  wrote:
> 
> 
> On Wed, Dec 2, 2015 at 12:47 AM, Anders Ekberg  <mailto:a...@me.com>> wrote:
> see the extended minimal example attached.
>  
> This example is really good, and Anders' response was on the spot, but I 
> thought I'd take the opportunity to point out something that took me quite a 
> while to realize. When using the equation array environment (what happens 
> when you push ctrl+enter), the spacing around the equal sign is different 
> than what it is for a "display formula." This leads to a document that has 
> inconsistent spacing, which can be seen in this example. The spacing around 
> the equals sign in equation (1) is a lot less than the spacing around the 
> equals signs in the other equations. The solution is to use AMS environments. 
> Check the spacing produced in the attached document. I also used \mathrm for 
> multi-letter subscripts, which I would recommend. Finally, you should check 
> out the different reference types. I use the one with parentheses to do 
> equations.
> 
> I hope this helps.
> 
> Jacob
> 

Thanks Jacob, that was helpful! 
I like that you point out the use of \mathrm. I “preach” to all students and 
everyone else who wants to hear (and to everyone else too ;-) that indices that 
are not variables should be roman. So for those who use LyX or LaTeX and write 
equations \mathrm is one of the best commands to know…

Anders 

Re: Splitting long eqution

2015-12-01 Thread Anders Ekberg
On 01 Dec 2015, at 00:16, Steve Burnham  wrote:I have a long numbered formula that I am trying to split into two lines. I am using 2.1.4 on OSX 10.11. Following the instructions in the wiki (http://wiki.lyx.org/Examples/FormulaOnMultipleLines) I should be able to hit control+enter to begin a multiline equation, move the cursor to where I want a new line and hit control+enter again. This command appears to be disabled for some reason. I have found however that if I type Command+enter a new line is inserted and I can type the remaining portion of the equation. The problem is that this new line also gets a new equation number when it should all be part of the same equation. See attached minimal working example. Thanks,-Steve
Steve, that will depend on where you insert your label, see the extended minimal example attached.All the best!Anders

minimal_extended.lyx
Description: Binary data


Re: A Problem with Lyx Math Mode

2015-11-14 Thread Anders Ekberg
On 14 Nov 2015, at 15:20, Jun Ma  wrote:
> 
> Hi there,
> 
> I'm a researcher in China and writing documents using Lyx. I use mac OSX and 
> updated to OSX El Capitan recently. But after the update, I encounter a 
> problem when using Lyx and its math editor mode. I think the Lyx interface 
> fails to display it properly. Please take a look at the attached screen shot 
> (the first line). It should be blue instead of black. 
> 
> It there any way to fix it?
> 
> Thank you!
> 
> Jun 
> 

Set LyX > Preferences > Display > Instant Preview to No math.
That should give what you want (if I understand you correctly).

/Anders

Re: Lyx and Windows 10

2015-08-09 Thread Anders Ekberg
I don't know about certified, but I installed and it seems to work fine under 
windows 10 (didn't do any massive testing though).

All the best!
Anders

Skickat från TypeMail



Den 9 aug 2015 20:10, kI 20:10, Kevin Jones  skrev:
>I had a Lyx 2.1.3 installation on Windows 8.1. I have now upgraded to
>Windows 10 - is Lyx 2.1.3 certified on Windows 10?


Re: Math Symbols

2015-03-04 Thread Anders Ekberg
> On 05 Mar 2015, at 04:27, Gordon Cooper  wrote:
> 
> Hello Chris,
>No, they don't, we get an inverted exclamation
> mark for < and inverted question mark for >. The font that
> appears to display them correctly in pdf is Typewriter.
> 
> I tried < > from Lyx to Open Document format and had
> the same result ! and ? inverted.
> 
> Gordon.
> 
> On 05/03/15 11:08, Christopher Menzel wrote:
>> Are you saying they do not print properly for you?
> 

How are you inserting the < and > symbols, and in which context? 
Which platform are you on, which LyX-version? Have you specified any particular 
fonts.
FYI it works just fine on Mac on all versions of operating systems and LyX that 
I have tried (probably back to at least first OS X version and LyX 1.6) by just 
typing < and > on the keyboard in all contexts (plain text, math etc) and for 
all fonts I have tried.

All the best!
Anders

Re: Texteditor to open and resave .lyx in MacOS

2015-01-28 Thread Anders Ekberg
I tend to use TextWrangler for such tasks (available for free in Apple store). 
Plenty of options to select encoding and line breaks etc so it suits your needs.

/Anders

> On 28 Jan 2015, at 12:02, Restidealist  wrote:
> 
> TL:DR: Document corrupted, want to copy parts from [corrupt document] to 
> [working document] - textedit doesn't work
> 
> Hi everybody, 
> 
> my thesis-document (due in 2 days) is corrupted. As I can't figure out how to 
> fix this I want to try a manual approach: 
> I got my corrupt file with all the latest contents and I also got a backup of 
> a working file. 
> I now want to copy parts from the corrupt file to the backup file to see 
> where things don't work out anymore and maybe fix this within the corrupted 
> file. 
> I would also like to edit within the corrupt file which isn't possible in lyx 
> as it quits saying "File corrupt"
> 
> When I'm opening the .lyx file with textedit, I am able to edit it but after 
> reimporting / reopening it with lyx, preview doesn't work. I suppose textedit 
> changed something in formatting etc. 
> 
> So which program can I use to open a .lyx file, edit it, save it as .lyx, 
> open it IN lyx and preview it without producing an error message? 
> 
> Any help is appreciated, thanks a lot
> R.
> 
> Specs:
> Lyx 2.0.4., also tried 2.1.2.2., file obviously still corrupted
> Macos 10.6.8.
> everything worked fine until today.



Re: Open File problem

2014-11-23 Thread Anders Ekberg

> On 23 Nov 2014, at 16:43, Julio Rojas  wrote:
> 
> Dear LyXers,
> 
> My wife has LyX 2.1.1 under OS X 10.9.5 (Mavericks). When she tries to open a 
> file, LyX pops a new LyX document up, which is immediately closed. No Open 
> File dialog is shown. The same happens with New From Template. Is there a way 
> to diagnose (and fix) this problem? Is it related to the Yosemite problems 
> arising left and right? I wouldn't like to upgrade to Yosemite and thus to 
> 2.1.1.2, unless it would be totally unavoidably, as remote user support is 
> not my strong feature, and she would be left in dire straits.
> 
> Thanks in advance. Regards,
> -
> Julio Rojas

Try to open up Console, note the error messages and see if you can deduce the 
error from there.
(b.t.w. the newest version is 2.1.2.2)

/Anders



Re: Yosemite problems...

2014-11-13 Thread Anders Ekberg
For me (with pdf generated from Word on a pre-Yosemite Mac) the rendering
within LyX does not work well (it puts the two pages on top of each other).
Creating a pdf (pdf-latex) works fine though. If it could be of any help in
pin-pointing the problem the pdf inserted here are two pages in one file
inserted using Insert > file > external material.

When inserting as graphics (including within a float) rendering of a pdf
also works although the preview gets an ²Error converting to loadable
format²

/Anders

From:  Christopher Menzel 
Date:  Wednesday 12 November 2014 22:23
To:  LyX Users List 
Cc:  LyX Developers 
Subject:  Re: Yosemite problems...

> I've been having this problem with embedded PDFs as well since at least 2.1.1.
> (As with Murat, they do render successfully if I start LyX from the CL.)
> 
> -chris
> 
> Murat Yildizoglu wrote:
>> Hi,
>> I have updated by MacBook to Yosemite and LyX to the last version (2.1.2.1).
>> This solves the problem of only being able to reconfigure LyX after having
>> launched it from the command line.
>> But I have now another problem, the figures in PDF format are not loaded in
>> LyX. It says that it cannot convert them to a loadable format. I have both
>> ImageMagick and GhostScript installed via MacPorts (that I have also
>> updated), and, when I launch LyX from the terminal, it can convert the
>> graphics and show them on the screen.
>> 
>> Is this an unsolvable problem, or can we do something for getting back the
>> functionality of LyX?
>> 
>> An aside, in case you are worrying about this: I have checked that KnitR
>> files compile without any problem.
>> 
>> Any idea about the solution?
>> 
>> Best regards,
>> 
>> Murat




Re: how to obtain header and footer to insert in word document

2014-10-30 Thread Anders Ekberg
You can open pdf in inkscape and cut the footer and/or export that part to a
png-file.
There are also other programs that can translate from pdf to e.g. png. Which
depends on your platform.

All the best!
Anders

From:  renato 
Date:  Thursday 30 October 2014 20:44
To:  Anders Ekberg 
Subject:  Re: how to obtain header and footer to insert in word document

>  
> 
> 
> So, it is not possible to get a different format of pdf. i.e a bitmap format,
> where do I can open it with inkscape (or another program like Gimp) to cut the
> footer (and the header)
> 
> TIA
> 
> 
> RenatoOn Thursday 30 October 2014 19:42:43 you wrote:
> 
> Aah, my mistake!
> 
> Then you have to do a little detective work and find the file in your file
> system I guess (or create a pdf and open in Inkscape).
> 
> Sorry for that.
> 
> /Anders
> 
> 
> 
> From:  renato mailto:renato.pontef...@gmail.com>
> >
> Date:  Thursday 30 October 2014 17:44
> To:  Anders Ekberg mailto:a...@mac.com> >
> Subject:  Re: how to obtain header and footer to insert in word document
> 
> 
> 
> Hi Anders,
> 
> maybe, there are a mistake. I want an image FROM the Latex (lyx) template. Not
> to insert an image on my footer (or header)
> 
>  
> 
> Renato 
> 
>  
> 
> On Thursday 30 October 2014 14:52:00 you wrote:
> 
> From: Renato Pontefice  <mailto:renato.pontef...@gmail.com> >
> 
> Date: Thursday 30 October 2014 12:21
> To: mailto:lyx-users@lists.lyx.org> >
> Subject: how to obtain header and footer to insert in word document
> 
> 
> 
> Hi,
> 
> I've created a good header and footer for my business card. I would create a
> model (.dot) on MS Word (and Libre(open office), because some people use it
> instead of Lyx :-( .
> 
> 
> So, I would capture the header and footer , save them as a jpg (or whathever
> image) then create a model where to insert the two images.
> 
> 
> Can someone help me?
> 
> So, it is not possible to get a different format of pdf. i.e a bitmap format,
> where do I can open it with inkscape (or another program like Gimp) to cut the
> footer (and the header)
> 
> TIA
> 
> 
> Renato
> 
> 
> 
> Try to include
> 
> \cfoot{{\includegraphics{Nameofyourpicturefile.png}}}
> 
> (and similar for the head)
> 
> in Document > Settings > LaTeX Preamble
> 
> Don¹t forget to put Document > Settings > Page Layout ­ Page style: to fancy
> 
> 
> 
> /Anders
> 
> 
> 
> 
> 
> 
> 
> 




Re: how to obtain header and footer to insert in word document

2014-10-30 Thread Anders Ekberg
Aah, my mistake!
Then you have to do a little detective work and find the file in your file
system I guess (or create a pdf and open in Inkscape).
Sorry for that.
/Anders

From:  renato 
Date:  Thursday 30 October 2014 17:44
To:  Anders Ekberg 
Subject:  Re: how to obtain header and footer to insert in word document

> Hi Anders,
> 
> maybe, there are a mistake. I want an image FROM the Latex (lyx) template. Not
> to insert an image on my footer (or header)
> 
>  
> 
> Renato 
> 
>  
> 
> On Thursday 30 October 2014 14:52:00 you wrote:
> 
> From: Renato Pontefice  <mailto:renato.pontef...@gmail.com> >
> 
> Date: Thursday 30 October 2014 12:21
> To: mailto:lyx-users@lists.lyx.org> >
> Subject: how to obtain header and footer to insert in word document
> 
> 
> 
> Hi,
> 
> I've created a good header and footer for my business card. I would create a
> model (.dot) on MS Word (and Libre(open office), because some people use it
> instead of Lyx :-( .
> 
> 
> So, I would capture the header and footer , save them as a jpg (or whathever
> image) then create a model where to insert the two images.
> 
> 
> Can someone help me?
> 
> 
> TIA
> 
> 
> Renato
> 
> 
> 
> Try to include
> 
> \cfoot{{\includegraphics{Nameofyourpicturefile.png}}}
> 
> (and similar for the head)
> 
> in Document > Settings > LaTeX Preamble
> 
> Don¹t forget to put Document > Settings > Page Layout ­ Page style: to fancy
> 
> 
> 
> /Anders
> 
> 
> 
> 
> 




Re: how to obtain header and footer to insert in word document

2014-10-30 Thread Anders Ekberg
From:  Renato Pontefice 
Date:  Thursday 30 October 2014 12:21
To:  
Subject:  how to obtain header and footer to insert in word document

> Hi,
> I've created a good header and footer for my business card. I would create a
> model (.dot) on MS Word (and Libre(open office), because some people use it
> instead of Lyx :-( .
> 
> So, I would capture the header and footer , save them as a jpg (or whathever
> image) then create a model where to insert the two images.
> 
> Can someone help me?
> 
> TIA
> 
> Renato

Try to include
\cfoot{{\includegraphics{Nameofyourpicturefile.png}}}
(and similar for the head)
in Document > Settings > LaTeX Preamble
Don¹t forget to put Document > Settings > Page Layout ­ Page style: to fancy

/Anders





Re: LyX on Mac OS X Loin

2014-09-24 Thread Anders Ekberg
If reconfigure dies not help, try open a terminal and issue the command
sudo texhash
(You will need to give admin password)

Anders

Sent from Blue Mail



On 24 sep 2014 16:45, at 16:45, Taimur  wrote:
>Hi Anders, 
>
>Yes, I did. 
>When I select New File, error pops up saying 
>"The layout file:article could not be found. 
>A default textclass with default layouts will be used. 
>LyX will not be able to produce correct output".
>
>I cannot figure out what should I do.
>
>Thanks for your reply.


Re: LyX on Mac OS X Loin

2014-09-24 Thread Anders Ekberg
Have you installed TeX?

Anders

Sent from Blue Mail



On 24 sep 2014 16:30, at 16:30, Taimur  wrote:
>Hi All,
>
>I installed LyX on my MacBook Air.
> When I run LyX a window pops up, 
>saying that "LyX will only have 
>minimal functionality because no 
>textclasses have been found. 
>You can either try to reconfigure LyX 
>normally, try to reconfigure without
> checking your LaTeX installation, or continue."
>
>Whatever option I choose, View (pdf view) 
>option remains off, i.e., I cannot convert my 
>LyX file to pdf 
>after TeXing it. I reinstalled LyX but of no use. 
>What should I do? 


Re: lyx files created in OSX Mac could be edited in Windows?

2014-07-25 Thread Anders Ekberg
Yes, I do it all of the time when I write papers with coauthors.

/Anders

On 25 juli 2014 18:59:39 CEST, "Toni Díaz Galindo"  
wrote:
>Good Morning
>
>Please, tell me if is possible to edit in Windows a lyx file/document
>that
>has been created in a Mac (OSX). And vice-versa: Is possible to edit in
>a
>Mac (OSX) a lyx file that has been created in Windows?
>
>Thank you very much.
>
>Toni Díaz
>Mataró (Barcelona)

-- 
Skickat från min Android-telefon med K-9 E-post. Ursäkta min fåordighet.

Re: creating my first lyx doc

2014-05-08 Thread Anders Ekberg
-Original Message-
From: Barry Brent 
Date: Thursday 8 May 2014 16:52
To: Anders Ekberg 
Cc: Richard Heck , ,
, Benjamin Piwowarski 
Subject: Re: creating my first lyx doc

>Anders, hi.
>
>I checked and there is no file with the name ³TeX Distribution² on my
>machine!
>
>I¹ll get one. Not sure where I should put it however.
>
>Barry

Jus so I understand you: You clicked the Apple menu, and then System
Preferences. 
In the System Preferences pane there was no TeX Distribution.

If this is the case, go to:
http://tug.org/mactex/
Download MacTeX.pkg
(direct link http://mirror.ctan.org/systems/mac/mactex/MacTeX.pkg )
Note: It is a BIG download (2.3 GB)
Once Downloaded double-click the Installation package and follow the
instructions (use the default options unless you are sure about something
else).
Once installed launch LyX.
Open Tutorial (Help > Tutorial)
If the Document > View other formats is still blank select Tools >
Reconfigure. Once the reconfiguring is done quit and then restart LyX.
Open Tutorial. Now you should be able to select Document > View [PDF
(pdflatex)] and the pdf document should open in Preview. If not we
continune from there.

All the best!
Anders




Re: creating my first lyx doc

2014-05-08 Thread Anders Ekberg
-Original Message-
From: Richard Heck 
Date: Thursday 8 May 2014 00:17
To: Barry Brent 
Cc: , , Benjamin Piwowarski

Subject: Re: creating my first lyx doc

>On 05/07/2014 04:54 PM, Barry Brent wrote:
>> As it happens I'm using version 2.1 with Mac OS 9.
>> But in the Mac OS 9 version of Version 2.1, the
>> menu
>>
>> Document ? View (Other Formats)
>>
>> is empty.
>
>Did you install MacTeX prior to installing LyX? If so, then you might try
>Reconfiguring LyX. I'm not sure where that is on the OSX menus. Here, it
>is at Tools> Reconfigure, but it might be elsewhere for you. (OSX has its
>own way of doing things.)

It’s Tools > Reconfigure

>Actually, it is very odd that the menu is completely empty. LyX has
>certain
>internal formats it can produce without external assistance, such as
>XHTML,
>so you should at least see that, even if LaTeX is not installed.
>
>Is that menu still empty if you check it when the Tutorial is open?

As soon as you have any document open you should have the menu. If no
document is open the entire Document menu should be greyed out.

I would suggest to check that TeX is installed: open System preferences
and make sure you have an item TeX Distribution. If you open that item you
should see a that TeXLive-2013 is selected.

If you don’t have TeX installed, go to http://tug.org/mactex/ and get it.

If TeX is installed do a Tools > Reconfigure
If it still doesn’t work open the Terminal and do a sudo texhash (you need
administrative permissions).
If it still doesn’t work try to reinstall LyX
If it still doesn’t work I am out of advices…

All the best!
Anders




Re: launch incomplete

2014-04-25 Thread Anders Ekberg
Can partly confirm on MacBook Air 10.9.2.
Judging from Console there seems to be some font problems with messages on
the form:
2014-04-25 19:26:32,724 lyx[33795]: CoreText performance note: Client
called CTFontCreateWithName() using name "Courier New" and got font with
PostScript name "CourierNewPSMT". For best performance, only use
PostScript names when calling this API.

However the main error seems to be LuaTeX:

2014-04-25 19:28:35,338 ReportCrash[33894]: Saved crash report for
luatex[33204] version ??? to
/Users/anek/Library/Logs/DiagnosticReports/luatex_2014-04-25-192835_AM125.c
rash

BUT after working for four minutes, the program actually loaded and the
users guide seems to compile as it should.

So, many thanks for a great job (as always)!

Anders


-Original Message-
From: David Nuddleman 
Date: Friday 25 April 2014 19:04
To: 
Subject: launch incomplete

>Download of LyX-2.1.0+qt4-cocoa.dmg after mounting, copying to
>applications folder. Launch seems to abort.
>
>OS X 10.9.2 Quad-Core Intel Xeon




Re: Compatibility between Maverick and Lyx

2014-04-06 Thread Anders Ekberg
With ²last version² I assume 2.0.7.1?
Works fine for me on two computers (although I have mainly changed to
2.1rc1-now).
Could you elaborate on "does not want to open²?

/Anders

From:  Harold Mouras 
Date:  söndag 6 april 2014 13:03
To:  
Subject:  Compatibility between Maverick and Lyx

Dear Lyx Users, 
I just moved to OS X 10.9.2 and Lyx does not want to open anymore (last
version of Lyx available as a mac installable package). Have you heard about
some incompatibilities between LyX and Maverick ?
Thank you very much in a advance,
Sincerely yours, 
Harold MOURAS





Re: ANNOUNCE: LyX version 2.1.0 (rc1)

2014-03-30 Thread Anders Ekberg

Richard Heck skrev 2014-03-30 00:07:

On 03/29/2014 04:58 PM, Liviu Andronic wrote:
On Sat, Mar 29, 2014 at 8:22 PM, Wolfgang Keller  
wrote:

Looks like someone wanted to be extra-smart, but this only prevents
people from being able to do what they need to do. Which, to me, is
compulsive, imperious and totally braindead, if you prefer these
adjectives to "bullshittish".


Then come up with your own installer, or pay someone to do that for
you. LyX is provided by volunteers, and comes with absolutely no
warranty. Unhappy with what you get (for free), then don't use it. And
please don't insult the developers.


Really. What's with people these days? This is the second such episode 
we've had this week.
Hmm, my kindergarden-aged daughter behaves like that when she hasn't 
slept or eaten properly. Maybe an advice on the wiki to check nutrition 
and sleep status before posting to the list would help ;-)


/Anders


Re: Adding new class into LyX

2014-03-28 Thread Anders Ekberg
> 2014-03-28 13:58 GMT+01:00 Mark Salmon :
>> Aplogies for lack of immediate  response - I had to teach. I have had
>> frustrations with Lyx  ever since I moved from SciWord several years ago.
>> Yesterday I upgraded to the latest beta and now when I try and load up a New
>> file I get the error message that there is no begin document command when
>> there clearly is in the source file- I wasted half a day trying to work out
>> what was wrong- in fact I still don¹t know what was wrong but by removing use
>> theme warsaw from the Latex preamble it works for some reason- secondly the
>> installation on MacOSx does not drop the relevant files -templates  etc. in
>> the right places where the system can find them ‹- so when I ask for a New
>> from template I am told the file will not compile as it requires external
>> files which are not available.etc. Etc. etc. can you understand how
>> frustrating this is when you are under pressure???  I am not a TeX speaker
>> but someone who needs to use the wonderful system that  you have helped to
>> create in a professional context. HoweverŠ. It is just a real pain that it
>> does not work properly on a Mac largely because of install problems I
>> believe. I fully understand your effort and all those who along with you have
>> helped create Lyx in the form it is today ­ thank you- but that is not the
>> point ­ nobody should put any software out to the public which does not work
>> as it should­ my time as yours is valuable. It is simply not professional.
> 
> 1. If you install beta software, be aware that it is beta software. The
> announcement of LyX 2.1beta and LyX 2.1rc clearly state that "this release is
> for testing purposes only, users are encouraged to use current 2.0 stable
> release for any serious work."
> 
> 2. LyX is a community project, not a commercial product. The developers are
> all volunteers and have jobs (I am, as you, a researcher and teacher at the
> university). So if you do not have time to give at least constructive feedback
> (one way of "participating"), then use commercial software and pay for the
> support.
> 
> Regards
> Jürgen

I completely agree with Jurgen "when I ask for a New from template I am told
the file will not compile as it requires external files which are not
available.etc² is not really helpful for solving your problem. (A good idea
if you want someone to really help you is to make it as easy as possible for
them ­ if you just want to complain that is another thing ;-)

Anyway, if I try to reproduce on a freshly installed 2.1rc1 on a Mac by
taking the elsarticle template, i get an error that
../examples/biblioExample.bib is not found. (I assume the reason is that the
template resides in ~/Library/Application Support/Lyx-2.1/templates/ but
gets moved to ~/Documents/ when you create a new file.

If your problem is something like that (which, as said, I don¹t know) then
click on the gray box with BibTeX-generated bibliography, remove the current
database and add the biblioExample by browsing and selecting
~/Library/Application Support/Lyx-2.1/examples/biblioExample.bib
And now it works.
I agree that this is not really good, but I suspect it could be a bit
difficult to solve. Also you usually provide your own bibliography when
using the template.

As I said, I have no idea if your problem is similar (judging from the first
comment, I would suspect that you would also require a Reconfigure of LyX
and possible to do a sudo texhash from the Terminal to get things to work).
But as Jürgen pointed out: If you can¹t take time to explain what your
problem is, then buy commercial program/support (especially if they get paid
by the hour in supporting ;-)

Have a nice weekend!
Anders







Re: Adding new class into LyX

2014-03-28 Thread Anders Ekberg

From:  Jürgen Spitzmüller 
Date:  fredag 28 mars 2014 16:16
To:  Anders Ekberg 
Cc:  LyX Users List 
Subject:  Re: Adding new class into LyX

> 2014-03-28 16:11 GMT+01:00 Anders Ekberg:
>> Quoting myself ²Š  I suspect it could be a bit difficult to solve² shows
>> either my complete ignorance of programming (which I hope is not correct) or
>> your high abilities (which I hope is correct). I am impressed!
> 
> I wish you were right with your second statement, but this was really trivial
> (and not even a "programming" task).
> 
> Jürgen

Ouch, that means I have to shape up significantly on my programming
knowledge ;-)

Have a nice weekend!
/Anders




Re: Adding new class into LyX

2014-03-28 Thread Anders Ekberg


From:  Jürgen Spitzmüller 2014-03-28 14:58 GMT+01:00 Jürgen
Spitzmüller:
>> Thanks for the report. This looks like another instance of
>> http://www.lyx.org/trac/ticket/8643
>> 
>> I've added a note to that ticket.
> 
> And fixed the problem for the next release.
> 
> Jürgen

Quoting myself ²Š  I suspect it could be a bit difficult to solve² shows
either my complete ignorance of programming (which I hope is not correct) or
your high abilities (which I hope is correct). I am impressed!

All the best!
Anders




Re: Request for Feature on Mac

2014-01-31 Thread Anders Ekberg
-Original Message-
From: Dr Eberhard Lisse 
Date: fredag 31 januari 2014 11:00
To: 
Subject: Request for Feature on Mac

>Where would I request the following feature:
>
>Many Mac programs offer you the choice to Save, Don't Save/Discard,
>Cancel in the way that is shown in the enclosed alpha.jpg, ie if you
>use the Return/Enter key it'll save, if you use the Space key it'll
>Not Save (Quit) and you have to use the mouse to click Cancel.
>
>In Lyx I must use the mouse if I want to discard, because it doesn't
>recognize the Space and it defaults to Save.
>
>Since I work with the keyboard mostly it is a nuisance, hence this
>request.
>
>el

Hmm, Escape gives me Cancel; so you lost one, but gained one ;-)
More seriously: could this be keyboard/language dependent (Swedish
keyboard here).

/Anders




Re: menu bar lost in OS X

2014-01-28 Thread Anders Ekberg
Here too w OS X 10.9.1

/Anders


-Original Message-
From: David Nuddleman 
Date: tisdag 28 januari 2014 20:51
To: 
Subject: menu bar lost in OS X

>Major disappointment LyX 2.0.7,  on OS X 10.7.5 Mac Pro 1,1: Full screen
>causes application menu bar options list to go blank. Return from full
>screen does not restore list.
>
>1. Normal options present until fullscreen invoked.
>
>2. LyX 2.0.6 performs normally.
>
>Posted ticket tracker #8942 on January 25. Anyone else notice this?
>
>--
>&&




Re: [ANNOUNCE] LyX 2.0.7 Released

2014-01-26 Thread Anders Ekberg
On 2014-01-25 19:07, "Richard Heck"  wrote:

>On 01/24/2014 06:00 PM, Raja Almukahhal wrote:
>> I love LyX. I have been using it extensively for over 10 years. The
>>only big issue that I have with it is the difficulties and complexities
>>of numbering equations. I wish there was a command for simply numbering
>>any displayed equations, with simple numbers 1, 2, 3 for each chapter.
>
>At least here on Linux, it's not that hard to put numbers on equations:
>Alt-m, n numbers (or unnumbers) the whole formula (every line if that's
>relevant), and Alt-m, N numbers (or unnumbers) an individual line.
>
>Do you mean you'd like to be able to set a default so this happens
>automatically?
>
>rh

Neat!
Raja: Ctrl-m n (or N) if you are on a Mac. However you cannot reference
the equation until you have assigned a label (but I had no problem to
assign a label to an already numbered equation). Note that due to bug 6209
all equations are assigned number 1 in preview mode (look good in output
or without preview though).

/Anders




Re: Are there problems with lyx-ftp-server?

2014-01-16 Thread Anders Ekberg
>On Thu, Jan 16, 2014 at 4:08 AM, Anders Ekberg  wrote:
>> Try paste the link in Firefox address field and download with Firefox.
>> This works fine for me. (Could probably work also with other web
>>browsers,
>> but I haven¹t tried that).
>>
>> All the best!
>> Anders
>>
>>>Hello,
>>>
>>>to test lyx 2.1.0 beta2 i tried several times download the program from
>>>
>>>ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta2
>
>Note that this is not a link to the file to download. This folder
>gives the links to download. Can you see the links? Go there with your
>browser. If you can see the links, does it work with wget (on Linux or
>Mac)? e.g.
>wget 
>ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta2/lyx-2.1.0beta2.tar.
>gz
>
>Scott

OK, maybe I was unclear: The upper link will give you a page where you
will see all the downloadable files. Click on the LyX suitable for your
needs and it should download (at least did for me).

/Anders
 




Re: Are there problems with lyx-ftp-server?

2014-01-16 Thread Anders Ekberg
Try paste the link in Firefox address field and download with Firefox.
This works fine for me. (Could probably work also with other web browsers,
but I haven¹t tried that).

All the best!
Anders

>Hello,
>
>to test lyx 2.1.0 beta2 i tried several times download the program from
>
>ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta2
>
>Everytime there comes a Login screen. I chose login as guest. When i
>tried to download the mac-Version the connection break down.
>
>Perhaps I´m doing something wrong? But I don¹t know.
>
>Any ideas?
>
>uwe




Re: Tutorial sample files

2013-12-27 Thread Anders Ekberg
On 2013-12-27 04:37, "Steve Litt"  wrote:

>If you know the filename, why don't you access a command prompt and
>type:
>
>locate filename | more
>
>I guess theoretically you might have to install some stuff to do that,
>but it's a wise investment.

Works out of the box on Mac OSX 10.9.1 and gives
$ locate LyX.app | more
/Applications/LyX.app
/Applications/LyX.app/Contents
/Applications/LyX.app/Contents/Frameworks
/Applications/LyX.app/Contents/Frameworks/Aspell.framework
Š etc


You can also start LyX and choose LyX > About LyX. That will give you the
location of the LyX library (which should be in the LyX.app bundle)

On my Mavericks, right-clicking LyX.app gives a new window with the folder
Contents. As said, if that folder doesn¹t exist the program shouldn¹t work.
You can also check from the Terminal:
$ ls /Applications/LyX.app/
(provided that LyX is in the Application folder and named LyX.app)

Hope this helps.

/@nders




Re: Cannot export Math manual using XeTeX

2013-10-02 Thread Anders Ekberg
Can confirm on MacOSX 10.8 for LyX 2.0.6 and 2.1b1
XeTeX-bug/limitation?
/@nders

From:  John Kane 
Reply-To:  John Kane 
Date:  onsdag 2 oktober 2013 14:49
To:  Scott Kostyshak , "lyx-users@lists.lyx.org"

Subject:  Re: Cannot export Math manual using XeTeX

No idea of why the problem but I can confirm it. I get the same error
message in 2.0.6 and 2.1 dev with what seems to be the same Ubuntu/TexLive
setup.
  
 
 
 

   From: Scott Kostyshak 
 To: "lyx-users@lists.lyx.org" 
 Sent: Wednesday, October 2, 2013 12:12:30 AM
 Subject: Cannot export Math manual using XeTeX
  
 

This is my first venture into XeTeX. The only background information
I've read is:
http://wiki.lyx.org/LyX/XeTeX
Is there anything else I should read?

I'm using Ubuntu 13.04 and TeX Live 2013. With LyX 2.0.x and 2.1git I
cannot export the Math manual to PDF with XeTeX.

I get:
** WARNING ** Failed to convert input string to UTF16...

and the first error in my log is:

! Undefined control sequence.

l.120 \DeclareInputText

{176}{\ifmmode^\circ\else\textdegree\fi}

Any ideas?

Scott


 
 
  




Re: LyX installation packages, possibly OT

2013-09-09 Thread Anders Ekberg
On 2013-09-09 15:23, "Charlie"  wrote:

> On Mon, 09 Sep 2013 06:54:39 -0600 "Ken Springer snowsh...@q.com" sent
> this:
>
>   >I've know RTFM for years, and have often used it.
>
>
>
>  With the risk that I also might have missed the point. I think it was
>  suggested that if you RTFM. Your question will be answered and there
>  would be no need to post to the list.

If I understood it correctly, the point was bundling TeX and LyX. This
would probably make it easier for first-timers. But the download would be
massive, which persons who just update LyX probably would not like.
Downloading "if needed" would require a script that someone would need to
create and (not the least) maintain.

As for documentation I personally think the wiki, Tutorial and User's
guide are excellent. But I am probably blind for difficulties a beginner
faces. Unfortunately I think those that have the difficulties fresh in
mind, and are the ones that I think should update
http://wiki.lyx.org/Mac/Mac (or create a "Beginner's video guide" or
whatever they find would be helpful and is currently missing for a
beginner) are often hesitant to do this since they think they are not
experienced enough. So we have a bit of a catch 22Š

All the best!
Anders




Re: Pasting graphics in LyX 2.1 beta on Mac

2013-09-05 Thread Anders Ekberg
On 2013-09-05 22:06, "Georg Baum"  wrote:

>Anders Ekberg wrote:
>
>> Thanks Patrick
>> I think you are on to the reason (see my previous post sent just as I
>>got
>> your reply). But I don't see how to save as a pdf. In the beta1 the only
>> options are png and jpeg and both give 72 dpi resolutions (setting the
>> suffix as pdf results in a file that Preview can't open, but that works
>> with low res in LyX; probably a png).
>
>Patricks finding looks very reasonable to me as well. If PDF is not
>offered 
>for pasting this means that LyX dos not see any PDF on the clipboard. If
>you 
>call LyX with
>
>lyx -dbg action
>
>in a terminal and look for "Found format" you should see whether it finds
>PDF or not. If that does not give any new insight you'd need to run LyX
>in a 
>debugger. The place to look at would be
>GuiClipboard::hasGraphicsContents().

Seems like LyX indeed finds both formats:

frontends/qt4/GuiClipboard.cpp (493): We found 2 formats
frontends/qt4/GuiClipboard.cpp (495): Found format application/pdf
frontends/qt4/GuiClipboard.cpp (495): Found format application/x-qt-image
frontends/qt4/GuiClipboard.cpp (493): We found 2 formats
frontends/qt4/GuiClipboard.cpp (495): Found format application/pdf
frontends/qt4/GuiClipboard.cpp (495): Found format application/x-qt-image
frontends/qt4/GuiClipboard.cpp (493): We found 2 formats
frontends/qt4/GuiClipboard.cpp (495): Found format application/pdf
frontends/qt4/GuiClipboard.cpp (495): Found format application/x-qt-image
frontends/qt4/GuiClipboard.cpp (493): We found 2 formats
frontends/qt4/GuiClipboard.cpp (495): Found format application/pdf
frontends/qt4/GuiClipboard.cpp (495): Found format application/x-qt-image
frontends/qt4/GuiClipboard.cpp (493): We found 2 formats
frontends/qt4/GuiClipboard.cpp (495): Found format application/pdf
frontends/qt4/GuiClipboard.cpp (495): Found format application/x-qt-image
frontends/qt4/GuiApplication.cpp (1263): dispatch msg is Klistra

The pasting in itself does not work when LyX is opened in this way (no
dialogue to save the picture that is pasted is offered).

And I just noticed something interesting:
If I open LyX, go to Preview, copy the image, and then paste there is
indeed a pdf option which gives a high resolution (and for me a low-res
preview).

If I then close LyX, reopens it and pastes the clip (that is still in
memory), there is only the png and jpeg options to paste, and the output
is:
Text3.cpp (470): Text::dispatch: cmd:  action: 13 [paste]  arg: '' x: 0 y:
0
frontends/qt4/GuiClipboard.cpp (493): We found 1 formats
frontends/qt4/GuiClipboard.cpp (495): Found format application/x-qt-image
frontends/qt4/GuiClipboard.cpp (493): We found 1 formats
frontends/qt4/GuiClipboard.cpp (495): Found format application/x-qt-image
frontends/qt4/GuiClipboard.cpp (493): We found 1 formats
frontends/qt4/GuiClipboard.cpp (495): Found format application/x-qt-image
frontends/qt4/GuiClipboard.cpp (493): We found 1 formats
frontends/qt4/GuiClipboard.cpp (495): Found format application/x-qt-image
frontends/qt4/GuiClipboard.cpp (493): We found 1 formats
frontends/qt4/GuiClipboard.cpp (495): Found format application/x-qt-image
frontends/qt4/GuiApplication.cpp (1263): dispatch msg is Klistra

Perhaps this has to do with that I get a SIGSEGV-error when quitting:

lyx(1713,0x7fff76590180) malloc: *** error for object 0x102076338: pointer
being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6


So, in conclusion, with LyX 2.1 the issue is indeed solved if the image is
copied after LyX is opened and the pasted image is saved as a pdf.

Many thanks!

/Anders

 





Re: off topic: Is there a lyx user in Lund, Sweden?

2013-09-04 Thread Anders Ekberg
If you get stuck with Mac issues, send me a mail (or give me a call,
number on Chalmers University website). It is really *very* simple:
- Download and install MacTeX: http://tug.org/mactex/
- Download and install LyX
Done!

/Anders Ekberg

From: Påvel Nicklasson

I work in Lund and use LyX every day. I can make a try, but I have
little knowledge of Macs (Linux user), so I can't guarantee success. I
suppose LyX will be the same, but the TeX system vill be different to
set up. 

You or your colleague can mail me so we can discuss if and how I could
help.


2013/9/2 Wolfgang Engelmann  uni-tuebingen.de
<mailto:engelmann%20%3Cat%3E%20uni-tuebingen.de>>

Hello, Lyx-users,
 
I wonder whether there is a lyx user in Lund, Sweden, who could
perhaps help a colleague at the university there to acquire Lyx for Mac?
 
Wolfgang










Re: Pasting graphics in LyX 2.1 beta on Mac

2013-09-04 Thread Anders Ekberg
> 
> Anders Ekberg wrote:
>>> >> Š The picture is scanned to pdf with 300 dpi
>>> >> resolution. When cropping and saving in Preview to a png with 300 dpi and
>>> >> then inserting this picture in LyX (with insert graphic) the output is
>>> >> fine (i.e. with a resolution of 300 dpi which is sufficient for my
>>> >> purposes). On the other hand when I copy in Preview and then paste in >>>
LyX,
>>> >> the resolution becomes low (I would guess about 150 dpi, which is
>>> >> incidentally the default resolution when saving png:s in Preview, so the
>>> >> problem well may be on the copying and not the pasting side).
>>> >> 
>>> >> So, in short, my question is: Which resolution does LyX use to save
>>> >> graphics (on Mac) and is there a way to change it?
>> > 
>> > LyX does not scale the graphics. It uses whatever is on the clipboard, but
>> > maybe there is some scaling happening in qt. Did you try to paste the
>> > graphics in a different application, e.g. gimp? If that does not preserve
>> > the resolution the problem is with copying the graphics to the clipboard.
>> > Otherwise it is in LyX or qt, and one would need to debug.
> 
> Good suggestion Georg.
> Attached are pdfs from LyX and from Word. Same clipping from Preview. The
> resolution in the LyX-produced file is much less. So something happens when
> LyX pastes the clip and I save it as a png in that process. I would consider
> this a bug (if LyX or qt is another issueŠ).
> 
>>> >> I also tried on Windows (copying from Acrobat Reader) and there the
>>> >> resolution was good, but the dimensions distorted (compressed in height).
>> >
>> > Strange. Does the distortion come from different x/y scaling factors in
>> LyX, 
>> > or is it also visible in the created .png file?
>> >
>> > Georg

Update:
The windows skewness seems to be related to that file. Tried a new one now
and it works. (Could have be due to the fact that the only selection I can
find in Windows reader on Windows is select all, so the entire [one page]
file was copied).

The image pasted from LyX is 72 dpi. I suspect that the copying and saving
via LyX somehow mixes up the file resolution and the resolution on the
screen. Can't really be the fault of Preview since it works in Word, so
should be a qt or LyX bug.




Pasting graphics in LyX 2.1 beta on Mac

2013-09-02 Thread Anders Ekberg
I noticed when I had to paste some graphics with a lot of text that LyX (or rather the libraries used by LyX) seem to reduce the resolution of the pasted graphics (copied selection from Preview and pasted as a png-file in LyX). Anyone else experienced it, or could it be a setting somewhere in my environment? If so, does anyone have an idea of how to solve it (save the cropped file as a png in Preview of course works, but is several additional steps).All the best!Anders


Re: LyX.app can\'t be opened

2013-06-27 Thread Anders Ekberg
Ah, my mistake. Saw now that you had managed to install the program.
But based on that you get "Open withŠ" when right clicking, it seems the
installation did not work as intended. Anyway, with the settings below I
have never had a problem installing.

/Anders

On 2013-06-27 10:31, "Anders Ekberg"  wrote:

>> Eric Weir Wed, 26 Jun 2013 10:37:31 -0700
>> 
>> New computer. Now on OS X Mountain Lion. When I started LyX after
>>installing 
>> it, I got a message saying, "LyX.app can't be opened because it's from
>>an 
>> unidentified developer."What do I need to do?
>
>
>> What do I need to do?
>
>
>Open System Preferences.
>   Under Personal, select Security & Privacy.
>   Under the General tab, under Allow applications downloaded 
> from, select
>the Anywhere radio button.
>(you may need to give administrator password)
>
>If you want to feel safe, restore the setting after you have installed ;-)
>
>/Anders
>



LyX.app can\'t be opened

2013-06-27 Thread Anders Ekberg
> Eric Weir Wed, 26 Jun 2013 10:37:31 -0700
> 
> New computer. Now on OS X Mountain Lion. When I started LyX after
>installing 
> it, I got a message saying, "LyX.app can't be opened because it's from
>an 
> unidentified developer."What do I need to do?


> What do I need to do?


Open System Preferences.
Under Personal, select Security & Privacy.
Under the General tab, under Allow applications downloaded 
from, select
the Anywhere radio button.
(you may need to give administrator password)

If you want to feel safe, restore the setting after you have installed ;-)

/Anders



Re: LyX 1.6.5 claims Bera fonts not installed

2010-03-18 Thread Anders Ekberg
On 18 mar 2010, at 00.33, Richard Talley wrote:

> On Wed, Mar 17, 2010 at 2:04 PM, BH  wrote:
> 
>> On Wed, Mar 17, 2010 at 3:30 PM, Richard Talley 
>> wrote:
>>> 
>>> +checking for package bera [bera]... yes
>> 
>> This says it has found the bera fonts. So you should have access to
>> them in Document > Settings > Fonts. (Are you sure you don't?)
>> 
>> At this point, I'm baffled.
>> 
>> BH
>> 
> 
> Thanks for your help.
> 
> I think that the indication that the Bera fonts are not installed is just a
> symptom of a deeper problem; I appear to have lost all font control. No
> matter what fonts I choose, I get a pdf that has the default LaTeX fonts.
> Something is badly screwed up in my TeX installation; I'm going to get rid
> of it and start over.
...

I guess you already tried sudo texhash from the terminal?

/Anders


Re: Pre-reform Russian characters in LyX

2010-02-24 Thread Anders Ekberg
On 24 feb 2010, at 11.58, Andrey wrote:

>> Hi Andrey,
>> 
>> The general answer for LaTeX is here:
>> 
>> http://www.christopherculver.com/en/computing/latexocs.php
>> 
>> and here: http://www.christopherculver.com/en/computing/latex.php
>> 
>> I'll leave it to people who know how the encoding works in LyX, since
>> that can be tricky.
>> 
>> The other problem is that Unicode fonts do not automatically work in
>> LyX--it can only render symbols it knows about. Whatever you discover,
>> we should add some instructions on the LinguistLyX page
>> (http://wiki.lyx.org/LyX/LinguistLyX).
>> 
>> Maria
> 
> Just an update, though not a very helpful one. When the encoding in LyX is 
> set to
> Unicode utf8x, and printing to pdf is attempted, Lyx returns an error:
> 
> The control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> misspelled it (e.g., `\hobx'), type `I' and the correct
> spelling (e.g., `I\hbox'). Otherwise just continue,
> and I'll forget about whatever was undefined.
> 
> So. it appears nobody has used LyX for the purpose of typesetting old Russian 
> or
> Church Slavonic texts. So unfortunate :-(
> 
> Andrey

I think that the letter at least have to be included in the list of unicode 
symbols with its LaTeX encoding:
http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_6_X/lib/unicodesymbols
I have no idea if that is sufficient though...

/Anders



Re: invisible dialog box text - OSX 10.6.2 Lyx 1.6.5

2009-12-31 Thread Anders Ekberg

On 31 dec 2009, at 11.08, Vincent van Ravesteijn - TNW wrote:

> Sebastian Rockel  writes:
> 
>> I had this once with the same configuration. Since I figured out that 
>> Lyx version 1.6.5 is not recommended for OSX 10.6 (right at the 
>> download page).
> 
> I am not sure whether that's the correct info. There were problems with
> LyX 1.6.4(.0) and OSX 10.6, but LyX 1.6.5 should work with 10.6 (as well
> as 1.6.4.2). 
> 
> Anyone knows why the download page still says "(prior to 10.6)" ?
It shouldn't. LyX 1.6.5 in general works fine on 10.6.

/Anders


Re: Appendix - include/insert

2009-12-22 Thread Anders Ekberg
Hej Sølvi,

I think I see what you mean:
Insert> File > LyX document
removes the inserted appendix.
But if you inset something (e.g. a non-breakable space) before inserting the 
file it seems to work. Also note that you can't have e.g. chapter styes in the 
appendix).

I hope this was of some help. 

/Anders

On 22 dec 2009, at 10.22, solvi.natl...@uis.no wrote:

> Hi
> 
> I have four appendices which I have created on individual .lyx files. My 
> thesis is built around a master document in which I use the Include
> function for each separate file (and Insert function within the Included 
> files.)
> 
> I have started the Appendix in the master document using the command: 
> Document - Start appendix here. I have tried every command I can think, in 
> order to be able to include the appendices instead of writing them 
> directly into the masterdoc. So far nothing have worked.
> 
> Can someone please thell me how I should configure the child document and 
> the master doc in order to put it all togheter.
> 
> I need the explanation for dummies please :)
> 
> Document class: book (KOMA-script)
> LYX for Windows 1.6.4
> 
> Regards 
> 
> Sølvi N.



Re: Problems with PDF files generated by LyX

2009-11-17 Thread Anders Ekberg
On 17 nov 2009, at 15.35, Luca Carlon wrote:

> Anders Ekberg  writes:
>> Hmmm, I think I remember having something like that a long time ago. Have you
> made your files in Illustrator?
>> Have you tried eps2eps on the file?
>> (i guess you have done the standard sudo texhash and LyX>Reconfigure).
>> 
>> /Anders
> 
> No, I created those files with Matlab. No, I didn't try eps2eps... should I 
> try
> it on all the eps files?
> Yes, I just tried the last two things, nothing changed.
> Thanks for your help guys!
> 
> Luca

No, my mistake. Kornel is right. Possible the easiest for you is to convert to 
png (you can write png-files directly from your matlab script to make it 
easier). If you save with the same filename, but with .png you can just do a 
find and replace in an editor to replace the eps-file names with png-files. 
(Not a bad idea to save the eps-files too since they are resolution 
independent).

/Anders


Re: Problems with PDF files generated by LyX

2009-11-17 Thread Anders Ekberg
On 17 nov 2009, at 13.59, Luca Carlon wrote:

> Rainer M Krug  writes:
>>> Unfortunaltely no, it is not possible. I use eps graphic files, and as far
>>> as I
>>> know, they're not supported by pdflatex.
>>> 
>> 
>> At least under linux, it works.
>> 
>> Rainer
>> 
>>> 
>>> Luca
> 
> This is very strange, under MacOSX I get:
> Latex error: unknown graphics extension: .eps.
> I never tried pdf latex under Linux, but I can try that as well.
> Thanks.
> 
> Luca

Hmmm, I think I remember having something like that a long time ago. Have you 
made your files in Illustrator? Have you tried eps2eps on the file?
(i guess you have done the standard sudo texhash and LyX>Reconfigure).

/Anders


Re: Problems with PDF files generated by LyX

2009-11-12 Thread Anders Ekberg

On 12 nov 2009, at 09.06, Luca Carlon wrote:

> This is interesting indeed. Anyway, you say ps2pdf should solve the problem? I
> use precisely ps2pdf to generate the PDF.

Just a clarification: I create a PostScript file and then use ps2pdf from the 
MacGhostView package (http://www.kiffe.com/macghostview.html)

/Anders


Re: Problems with PDF files generated by LyX

2009-11-11 Thread Anders Ekberg
On 12 nov 2009, at 01.52, Luca Carlon wrote:

> Guenter Milde  writes:
>> It rather looks like data corruption on the way (or opening a PDF as
>> normal text) How do you transfer the PDFs to her? What happens, if you
>> hand her copy on a floppy or USB-stick?
>> 
>> Günter
> 
> I would exclude data corruption as she told me she has never been able to open
> the PDFs I sent her... It means at least 5 or 6 completely different PDFs were
> corrupted... sounds too strange to me. Unless the department has serious 
> issues
> with mail server. Indeed, I trasfer the file through mail.

I have experienced problems with PDFs created on Mac. I don't know if it can 
have anything to do with this:
http://www.tug.org/mactex/2009/fontcache/fix-font-cache-bug.html
Anyway the problem appears for, say one in 5 to 10 colleagues with no apparent 
clue to where it will and won't work. What they report is basically that the 
fonts disappear (everything is displayed in Courier). I solve it by creating a 
postscript file and then doing a ps2pdf. That seems to work for everyone. So if 
you are on a mac, that may be worth trying. Otherwise, why not have her install 
LyX and make the pdfs herself ;-)

/Anders

Re: Cannot export to pdf in Mac OSX Snow Leopard

2009-11-03 Thread Anders Ekberg

On 3 nov 2009, at 08.15, Manveru wrote:


...


First of all, thanks for answering.
I've just installed MacTex again, restarted Lyx, nothing changed.  
When I try

to convert the document in any damned format, nothing happens. Please
somebody help. I never needed to install ps2pdf and even googling I  
cannot
find any way to find it for mac... shouldn't it be already  
installed if I

always used Lyx with no problem before??
Greets,


Did you ever use "Reconfigure" menu option in LyX after TeX distro
re-installation? If not, please try.



Also open the Terminal and give a
sudo texhash
(you need an admin password).

/Anders




Re: problem with lyx equations on mac

2009-11-02 Thread Anders Ekberg

Eric,

I follow your exact steps and everything looks fine on my screen. I  
have also LyX 1.6.4.1, but my operating system is Snow Leopard  
(10.6.1). I could suspect this is related to MacOS 10.4 unless you  
have some special math fonts installed (I have only the standard  
MacTeX).
I would suggest to forward this mail to the user group to see if there  
are any 10.4 users that can confirm the behavior.


/Anders

On 2 nov 2009, at 17.56, Eric Clarkson wrote:


Anders,
I am running Mac OS X 10.4.11. I open a new document  with LyX  
version 1.6.4.1.  I have the Math and Math Panels toolbars open at  
the bottom of the window. I click on the Set Display mode button on  
the Math toolbar and get the little blue outline display box for  
math. I click on the Fonts button on the Math Panel toolbar and  
select "bold". I type anything in the display box, say, the letter  
"a". The letter "a" in bold appears in the display box. So far  
everything is fine. Now I click the cursor outside the display box.  
What normally happens at this point (on other versions of LyX and on  
this version of LyX with other Font choices) is that the equation is  
typeset and the little blue box disappears. What happens with the  
Bold font is quite different. The typeset bold letter "a" appears  
near the top of a large solid white box (the normal background,  
which appears around the box, is beige). The width of the white box  
is 8.25 inches. No matter how big I make the window, I have to  
scroll down to find the bottom of the white box, so I don't know how  
long it is. I can type normally above and below the white box. If I  
click the cursor anywhere in the white box, it goes back to the  
little blue outline display box. If I click the cursor outside the  
display box, then the big white box appears again. If I use the view  
menu and look at the PDF it looks normal, nothing unusual. I could  
work around these big white boxes, but I use the Bold font a lot in  
equations for vectors and matrices so this would be very annoying. I  
have tried reinstalling LyX and restarting the computer to no avail.  
Any assistance you could provide would be appreciated.

Eric Clarkson

On Oct 31, 2009, at 12:41 AM, Anders Ekberg wrote:


On 30 okt 2009, at 19.15, Eric Clarkson wrote:


10/30/09

Problem with LyX 1.6 on my Mac (Downloaded yesterday). If an  
equation (in-line or display) has a mathbold character in it then,  
when the cursor is moved out of the equation box, the equation is  
displayed at the top of a very large white box. Nothing else  
appears in the box and I have to scroll down to get out of the box  
and see what follows the equation. This only happens with mathbold  
characters, other  special fonts do not create this effect.


Eric, I can't reproduce this. can you send a more elaborate step-by- 
step description?


/Anders








Re: problem with lyx equations on mac

2009-10-31 Thread Anders Ekberg

On 30 okt 2009, at 19.15, Eric Clarkson wrote:


10/30/09

Problem with LyX 1.6 on my Mac (Downloaded yesterday). If an  
equation (in-line or display) has a mathbold character in it then,  
when the cursor is moved out of the equation box, the equation is  
displayed at the top of a very large white box. Nothing else appears  
in the box and I have to scroll down to get out of the box and see  
what follows the equation. This only happens with mathbold  
characters, other  special fonts do not create this effect.


Eric, I can't reproduce this. can you send a more elaborate step-by- 
step description?


/Anders


Re: Converting to doc format

2009-10-21 Thread Anders Ekberg

On 21 okt 2009, at 11.55, Anthony Campbell wrote:


I'm thinking of publishing in ebook form via Smashwords, who
unfortunately demand Word format. I'm on Linux and as far as I can see
after a fair amount of googling the only practical way of doing this  
is

to produce a plain text (txt) version from Lyx, import it into the
Openoffice WP, and save it as a .doc file from there.

Does anyone know a better way?

Anthony

--
Anthony Campbell - a...@acampbell.org.uk
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews,
and sceptical articles)



Try eLyxer, export to HTML and import the HTML in Word (see elyxer  
documentation for the switch to make the html readable in Word.)

Note that equations etc will not work.

/Anders


Re: Missing link

2009-10-20 Thread Anders Ekberg


On 20 okt 2009, at 17.29, christer von der Burg wrote:


Hello,

...
*There is no link to any teTex. The space after *see* is empty!


MacTeX should (probably) be your choise:
http://www.tug.org/mactex/

My question: Do I need to download teTex? I wish to use Chinese  
characters

mixed with roman text. Where do I download from?
That is something I know nothing about. Hopefully others can give you  
advice.


/Anders



Re: text size in mac version

2009-09-17 Thread Anders Ekberg


On 17 sep 2009, at 19.41, Vincent van Ravesteijn wrote:


James C. Sutherland schreef:


On Sep 16, 2009, at 2:25 AM, Dave Garbutt wrote:


HI,

I have an annoying & frustrating problem-

On the Mac OS - X version I was looking for a shortcut and typed  
crtl+-
several times (don't ask me why, I was in  lemming like panic at  
the time)


this shortcut I cannot find in the Lyx doc or the OS X doc at
http://support.apple.com/kb/HT1343

The effect is to shrink the text size in the document view (but  
not in

typeset output)
ctrl++ does not reverse it. Every document I open in Lyx is now  
unreadable..


I haven't stumbled on that, but if you hold down the command key  
and use the mouse scroll wheel you can change the font size.  That  
may help you get it back to norma.

- zoom-in/zoom-out should have been bound to M-+, M-=, and M--.
- restart LyX and the old value for zoom will be restored
- type in the command buffer "buffer-zoom-in"
- or use the scrollwheel with the command key (ctrl).


Or preferences -> Look & Feel -> Screen fonts: Zoom

A more (in my opinion) annoying thing is that also  Alt + -  
"normally" (in all other programs) gives and en-dash, but in LyX it  
zooms out and I have problems reversing my "mechanical memory" ;-)


/Anders 


Re: Will Lyx run on Mac OS X 10.6?

2009-09-01 Thread Anders Ekberg

Hello Johannes,

Follow the instructions on:
http://www.lyx.org/HowToUseSVN
to download the code (note that you need the code in branches/ 
BRANCH_1_6_X to compile LyX1.6).

Then follow the instructions on:
http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_6_X/INSTALL.MacOSX
There are better ways to get universal binaries etc, but the  
instructions should give you something that works on your computer.
(B.t.w. I use QT 4.4.3, I think there was a problem with the latest  
version. Bennet can give you details)


Good luck!
Anders

On 31 aug 2009, at 14.57, Johannes Knaus wrote:


Hello again,

My Snow Leopard DVD just arrived, so I'm starting my testing today.
My question now to the developers around:
I'm by far no developer but I successfully compiled some unix apps  
on my own. So I would try to build a 10.6-Lyx on my own (well  
slowly, as I find time).
What prerequisites do I need (QT, which version?) or do you think  
that's by far too complicated?


BTW, I found out that there's a QT-bug within the QT from Macports  
which is not in the original QT, see:

http://trac.macports.org/ticket/20435
http://trac.macports.org/ticket/20937

Johannes

Is this a hard thing to
Am 31.08.2009 um 09:56 schrieb Vincent van Ravesteijn - TNW:


I am currently testing Lyx 1.6.4 under Snow Leopard,
the official release. After about 5 minutes, a pop up
window appeared reporting that Lyx crashed. My console
report looks alot like the one in the bug report (link
below).


Thanks for the info and confirmation of bug 6160. It will be  
difficult
to fix this as, I guess, we don't have a developer using Snow  
Leopard.

So, if you have any hints, please let us know.


Bill


Vincent






Re: Compilation error in French with varioref and hyperref

2009-09-01 Thread Anders Ekberg

Works on Mac latest version of LyX and OS.

/Anders

On 1 sep 2009, at 09.18, Jean-Pierre Chrétien wrote:


Hello,

With my installation, I get an error when creating the pdf version  
of the UserGuide, that I narrowed down to the attached simple example.


Before taking into consideration the solution that I proposed (the  
source code must be patched), the developers would like to  
understand why nobody ever posted about this bug.


Would you be so kind to load the attached file in lyx and try to  
view it as PDF, then to feed back the result ?


Here is my record:
Lyx version   OS TeX distributionResult
 1.6.4  Debian Lenny  TeXLive 2007  Failure

TIA for your answers.

--
Jean-Pierre





Re: Sweave code full of escape codes when printed?

2009-06-12 Thread Anders Ekberg

On 12 jun 2009, at 11.06, Graham Smith wrote:


Anders

Anders Ekberg wrote:
You can always try to change the encoding, e.g. using TextWrangler  
and see if that changes anything.
I'm sorry to say I don't how to do this. Do you mean my little bit  
of code giving me problems or do you mean the entire Lyx file.


If its the former do I change the encoding and paste it back into  
Lyx. I'm afraid I am  over my threshold of understanding here.


Yes, that was the quick-and-dirty idea. Open in TextWrangler, use save  
as... and click option to specify the encoding you want (there are  
probably much fancier ways of doing it).


However, if I type the commands into an Emacs buffer I get some  
strange syntax handling


cabbages$Year<-recode(cabbages$Year,'"X2001"="2001;"X2002"="2002"; etc

With  the "X2001"="2001"  the  " and the numbers are pink (including  
the X) and the = is black the ; is also pink and the ' is black


but in the

"X2002"="2002" this is reversed the " and the ; are still pink but  
so is the = sign. The X2002 and 2002 are now black, which is the  
pattern that persists for the rest of the code.


This is defenitely far over my (very low) threshold of understanding ;-)

/Anders


Re: Sweave code full of escape codes when printed?

2009-06-12 Thread Anders Ekberg

On 12 jun 2009, at 08.59, Graham Smith wrote:

I wonder if its worth mentioning I am using a Mac, as it seems to be  
character code issue and maybe its something peculiar to the Mac.


Graham


You can always try to change the encoding, e.g. using TextWrangler and  
see if that changes anything.


/Anders



Re: Lyx 1.6.2 and letter (Koma v.2), langua ge german: some lines are not shown in pdf…

2009-06-04 Thread Anders Ekberg

If you use TeXLive it is probably in:
/usr/local/texlive/2008/texmf-dist/doc/latex/koma-script/

/Anders

On 4 jun 2009, at 12.49, Uwe Stöhr wrote:


jezZiFeR schrieb:

But I still do have problems. I do not find the koma-script  
UserGuide, which I searched out of Lyx and in my \usr-folder also.  
(I use OSX and do have no "texmf" in /usr/share/… Instead I found  
texmf in /usr/local/texlive/2008, but in the doc-folder there is  
not latex-folder)


Koma-script package is a LaTeX-package and therefore its  
documentation is in the LaTeX distribution, not in LyX's folders.
Search your system for the file "scrguide.pdf" if you cannot find  
anything, download it from here:

ftp://ftp.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguide.pdf
Look there at section 4.

regards Uwe




Re: LyX version 1.6.0 (release candidate 5) is released

2008-11-01 Thread Anders Ekberg

On 1 nov 2008, at 01.28, Konrad Hofbauer wrote:


José Matos wrote:

Public release of LyX version 1.6.0 (release candidate 5)
=


Compiles fine on the Mac.

For those not being able to wait, I have placed a zipped Mac  
Universal Binary (without the installer) at



For what goes onto the server, we better wait for Bennett's build.

Thanks,
Konrad


Select a .lyx-document in Finder. Choose "Open with" and then  
lyx-1.6.0-rc5
The result is that the document opens, but also that a splashscreen  
window opens. The problem is that the menubar is connected to the  
splashscreen window: If you close it (which you have to do by the  
close button on the window sinyou will have no menubar except for the  
LyX-menu.

No error messages in the Console.

Anders - On MacOSX 10.5.5 on intel.

Finding "Bad" characters

2008-07-25 Thread Anders Ekberg
If all goes well the cursor should be at the bad characters when the  
error pops up. Do you have the latest 1.5-version? Ligatures (which  
are very hard to see) are fixed there IIRC. Also a good thing is to  
check your formulas.


Anders


Re:Harvard style referencing

2008-02-08 Thread Anders Ekberg
The same thing happened to me yesterday using BibTeX (through  
BibDesk). It turned out to simply be that LyX had (for some reason)  
lost the path to the library. Simply re-including the library solved it.

Hope it's something as simple as that for you too...
/Anders



Jennifer Brookes
Thu, 07 Feb 2008 09:51:47 -0800
Hi,

I am having difficulty figuring out how to convert my references to  
alphabetical (Harvard style) in preparation of an article. I have  
been using lyx version 1.4.4, with document class article (REVTeX4),  
citation style natbib (Author-year) and bibliography style agsm.  
When I compile however, no references appear and there are question  
marks where I would like the references to be. Before I was using  
natbib (numerical) and bibliography style apsrev, which worked fine,  
can anyone tell me the problem?


Many thanks
Jenny


Re: Promote/demote entire branches.

2008-01-25 Thread Anders Ekberg

Sorry, my mistake, I misunderstood what you were aiming at. .

Anders


On 25 jan 2008, at 14.44, shiknar wrote:


On 1/26/08, Anders Ekberg <[EMAIL PROTECTED]> wrote:

The triangle is there on Mac, but it could be different on other
platforms.
Try to use the +/- button (or whatever icon you have) to collapse the
node and *then* (sorry for misspelling in previous mail) do the
indentation. This should give an indentation of the entire node.


It doesn't seem to matter whether the node is collapsed or not. If the
node is uncollapsed when I demote, it only demotes the selected
heading (nothing new there). If the node is collapsed when I demote,
lyx will present me with an uncompressed node with only the top
heading demoted.




Anders


On 25 jan 2008, at 14.21, shiknar wrote:


On 1/25/08, Anders Ekberg <[EMAIL PROTECTED]> wrote:
Click the triangle next to 2. World to close the section. The  
indent.


Ok, I've had a good look, but I can't see any triangle next to '2
world' in the outline sidebar. All there is is a little +/- button  
to

expand/collapse the node. Nor can I see any triangles next to '2
world' in the main document area. I'm glad to hear that what I  
want to

do is possible, but could you please explain in a little more detail
where I find this triangle or perhaps link me a screenshot?

The only triangle I was able to find was at the bottom of the  
outline

sidebar. Unfortunately this triangle doesn't do what I want. It only
moves sections up and down, whereas I want to promote/demote. Is  
this

the triangle you're referring to?



/Anders


shiknar
Thu, 24 Jan 2008 22:07:47 -0800

How do I promote/demote an entire branch?

For example let's say I have the following table of contents:

1. Hello
2. World
2.1 How
2.2 Are
2.3 You

If I demote the second heading using the Document->Outline  
sidebar,

lyx will
give me this:

1. Hello
1.1 World
1.2 How
1.3 Are
1.4 You

In other words lyx will only demote the heading and ignore all of
it's
content thereby breaking the hierarchical structure of the  
document.

Sometimes this is what I want, but more often than not, what I
really need
is for lyx to demote the entire branch of the tree giving me
something like
this:

1. Hello
1.1. World
1.1.1 How
1.1.2 Are
1.1.3 You

As best as I can tell the only way of doing this in lyx is to
manually
demote every single subheading. This makes reorganising the
structure of
hierarchical documents unnecessarily time consuming. Is there a
better way
of doing this?










Re: Promote/demote entire branches.

2008-01-25 Thread Anders Ekberg
The triangle is there on Mac, but it could be different on other  
platforms.
Try to use the +/- button (or whatever icon you have) to collapse the  
node and *then* (sorry for misspelling in previous mail) do the  
indentation. This should give an indentation of the entire node.


Anders


On 25 jan 2008, at 14.21, shiknar wrote:


On 1/25/08, Anders Ekberg <[EMAIL PROTECTED]> wrote:

Click the triangle next to 2. World to close the section. The indent.


Ok, I've had a good look, but I can't see any triangle next to '2
world' in the outline sidebar. All there is is a little +/- button to
expand/collapse the node. Nor can I see any triangles next to '2
world' in the main document area. I'm glad to hear that what I want to
do is possible, but could you please explain in a little more detail
where I find this triangle or perhaps link me a screenshot?

The only triangle I was able to find was at the bottom of the outline
sidebar. Unfortunately this triangle doesn't do what I want. It only
moves sections up and down, whereas I want to promote/demote. Is this
the triangle you're referring to?



/Anders


shiknar
Thu, 24 Jan 2008 22:07:47 -0800

How do I promote/demote an entire branch?

For example let's say I have the following table of contents:

1. Hello
2. World
2.1 How
2.2 Are
2.3 You

If I demote the second heading using the Document->Outline sidebar,
lyx will
give me this:

1. Hello
1.1 World
1.2 How
1.3 Are
1.4 You

In other words lyx will only demote the heading and ignore all of  
it's

content thereby breaking the hierarchical structure of the document.
Sometimes this is what I want, but more often than not, what I
really need
is for lyx to demote the entire branch of the tree giving me
something like
this:

1. Hello
1.1. World
1.1.1 How
1.1.2 Are
1.1.3 You

As best as I can tell the only way of doing this in lyx is to  
manually

demote every single subheading. This makes reorganising the
structure of
hierarchical documents unnecessarily time consuming. Is there a
better way
of doing this?







Promote/demote entire branches.

2008-01-24 Thread Anders Ekberg

Click the triangle next to 2. World to close the section. The indent.

/Anders


shiknar
Thu, 24 Jan 2008 22:07:47 -0800

How do I promote/demote an entire branch?

For example let's say I have the following table of contents:

1. Hello
2. World
2.1 How
2.2 Are
2.3 You

If I demote the second heading using the Document->Outline sidebar,  
lyx will

give me this:

1. Hello
1.1 World
1.2 How
1.3 Are
1.4 You

In other words lyx will only demote the heading and ignore all of it's
content thereby breaking the hierarchical structure of the document.
Sometimes this is what I want, but more often than not, what I  
really need
is for lyx to demote the entire branch of the tree giving me  
something like

this:

1. Hello
1.1. World
1.1.1 How
1.1.2 Are
1.1.3 You

As best as I can tell the only way of doing this in lyx is to manually
demote every single subheading. This makes reorganising the  
structure of
hierarchical documents unnecessarily time consuming. Is there a  
better way

of doing this?




Re: error while installing lyx on mac

2008-01-14 Thread Anders Ekberg

On 14 jan 2008, at 17.51, Bennett Helm wrote:


On Jan 14, 2008, at 11:16 AM, Anders Ekberg wrote:

I re-ran the installer. There is no dialog pop up after it asks  
about

the template
file and before the AppleScript error message. The only change is  
that

"Install default LyX
templates" gets checked.

I don't even have this  ~/Library/texmf/tex/latex/ folder. But I  
tried
kpsewhich lyxchess.sty anyway. I got just prompt. So, I tried  
texhash,

here is what I got

appledediannao:~ wubiao$ texhash
texhash: /usr/local/texlive/2007/../texmf-local: directory not
writable. Skipping...
texhash: /usr/local/texlive/2007/texmf: directory not writable.  
Skipping...
texhash: /usr/local/texlive/2007/texmf-config: directory not  
writable.

Skipping...
texhash: /usr/local/texlive/2007/texmf-dist: directory not  
writable. Skipping...

texhash: Updating /usr/local/texlive/2007/texmf-var/ls-R...
texhash: Done.


Looks like something has gone wrong with your TeX-installation. I  
think the easiest is to re-install MacTeX then re-run the LyX- 
installer.


I don't think I'd jump to that conclusion: texhash shouldn't be able  
to write to those directories unless run as root. So everything here  
looks normal to me.


Biao - try manually creating ~/Library/texmf/tex/latex and then run  
the installer again. Does that change anything?


Bennett


Sorry, I missed the missing sudo... I think I better leave it to the  
experts :-)


/Anders


Re: error while installing lyx on mac

2008-01-14 Thread Anders Ekberg
Looks like something has gone wrong with your TeX-installation. I  
think the easiest is to re-install MacTeX then re-run the LyX-installer.


Anders


On 14 jan 2008, at 16.20, Biao Wu wrote:


On Jan 14, 2008 10:31 PM, Bennett Helm <[EMAIL PROTECTED]> wrote:

On Jan 14, 2008, at 8:03 AM, Biao Wu wrote:


Hi, Anders,

I can tell Bennett is an expert just by how he asked the question.
The installation failed, so I did not run LyX. Yes, I installed TeX
with MacTeX before LyX.
This is my first time installing LyX. My Mac Version is
MacOSX-10.4.11.


The installer just attempts to make things a little nicer on Mac, but
LyX will run just fine without it. Also, it won't hurt to run the
installer multiple times.

Because AppleScript has some sort of error, I'm not able to get
access to the installation log; but what that error is isn't showing
up in the console. That makes it hard to tell what's going on. So try
it again and let us know what dialogs pop up after it asks about
LyX's template files. (There may be nothing before the AppleScript
error, but that's what I want to know.)

Also, check in your ~/Library/texmf/tex/latex/ folder. Is there a lyx
folder in there? If so, are there any files in it? If there are,
open /Applications/Utilities/Terminal.app and type:

kpsewhich lyxchess.sty

Does that just give you another prompt, or does it print out the path
to that file?

If it gives you a path, then your installation is fine, and you can
just forget about the error. If it doesn't give you anything, then
type in Terminal.app:

texhash

That will complete the installation.

Otherwise -- if there is no lyx folder or there are no files in it --
let me know.

Bennett



I re-ran the installer. There is no dialog pop up after it asks about
the template
file and before the AppleScript error message. The only change is that
"Install default LyX
templates" gets checked.

I don't even have this  ~/Library/texmf/tex/latex/ folder. But I tried
kpsewhich lyxchess.sty anyway. I got just prompt. So, I tried texhash,
here is what I got

appledediannao:~ wubiao$ texhash
texhash: /usr/local/texlive/2007/../texmf-local: directory not
writable. Skipping...
texhash: /usr/local/texlive/2007/texmf: directory not writable.  
Skipping...

texhash: /usr/local/texlive/2007/texmf-config: directory not writable.
Skipping...
texhash: /usr/local/texlive/2007/texmf-dist: directory not writable.  
Skipping...

texhash: Updating /usr/local/texlive/2007/texmf-var/ls-R...
texhash: Done.

Thanks for the help.

best
Biao




Re: error while installing lyx on mac

2008-01-14 Thread Anders Ekberg
Try to start LyX anyway and see what happens (the installation script  
is normally not needed for LyX to function). If it starts, try to open  
the Tutorial from the help menu and create a pdf ( View -> PDF  
(pdflatex) )
If it doesn't work try LyX->Reconfigure and restart LyX. If that  
fails, try to open Terminal.app and write sudo texhash (you need to be  
an administrator), then Reconfigure LyX again (these steps are a  
"universal cure" and solves many problems that are TeX-related).
Please report back on your progress (Bennett is working on improving/ 
integrating the installer, so I think he appreciates any feedback  
about problems and solutions).


Anders


On 14 jan 2008, at 14.03, Biao Wu wrote:


Hi, Anders,

I can tell Bennett is an expert just by how he asked the question.
The installation failed, so I did not run LyX. Yes, I installed TeX
with MacTeX before LyX.
This is my first time installing LyX. My Mac Version is  
MacOSX-10.4.11.


On Jan 14, 2008 7:51 PM, Anders Ekberg <[EMAIL PROTECTED]>  
wrote:

Hi, Bennett,

I checked Console.app, and found nothing related to LyX  
installation.

Here is what I found.


Hi Biao,

Bennett is the expert here, but just some questions from me:
- Does LyX work (i.e. start, function and produce pdf:s)?
- Did you install TeX before installing LyX? (I take it you didn't
upgrade, but installed LyX for the first time)
Also which MacOSX-version are you using?

Best regards

Anders






Re: error while installing lyx on mac

2008-01-14 Thread Anders Ekberg

Hi, Bennett,

I checked Console.app, and found nothing related to LyX installation.
Here is what I found.


Hi Biao,

Bennett is the expert here, but just some questions from me:
- Does LyX work (i.e. start, function and produce pdf:s)?
- Did you install TeX before installing LyX? (I take it you didn't  
upgrade, but installed LyX for the first time)

Also which MacOSX-version are you using?

Best regards

Anders



Re: Examples location on Mac OS X

2007-12-31 Thread Anders Ekberg

That sounds excellent!

Happy new year!
Anders


On 31 dec 2007, at 18.02, Bennett Helm wrote:


On Dec 31, 2007, at 10:25 AM, Anders Ekberg wrote:

Currently (on 1.5.3 an in trunk) the examples are located in  
LyX.app/Contents/Resources/examples
Would it be possible/desireable to instead put them in ~/Library/ 
Application Support/LyX-1.x/examples ? They should be more  
accessible there. The directory already exists, but is empty.


I'm working on this in the context of eliminating the installer on  
Mac.


Bennett




Examples location on Mac OS X

2007-12-31 Thread Anders Ekberg
Currently (on 1.5.3 an in trunk) the examples are located in LyX.app/ 
Contents/Resources/examples
Would it be possible/desireable to instead put them in ~/Library/ 
Application Support/LyX-1.x/examples ? They should be more accessible  
there. The directory already exists, but is empty.


Anders 


Re: wrong bottom margin

2007-12-28 Thread Anders Ekberg

Sandor Szabo
Thu, 27 Dec 2007 13:32:50 -0800

Hi,

I attach the Lyx file, hopefully not too long.
In this file I  used the default settings.
I whish you a successful testing.
Thanks,
Sandor

Paul A. Rubin wrote:

Sandor Szabo wrote:

I updated MikTex2.7 and upgraded to LyX1.5.3 because of  
amsbook problems (thanks Paul A. Rubin) and almost everything is  
good. The only problem is the missing page-bottom on dvi,ps,pdf,  
which means the last one or two lines are disappearing on the bottom  
of every page. In case of amsarticle everything is ok. I tried to  
set the same layout, etc properties but didn't help.


Hopefully someone (maybe Paul) could help me.

Hi Sandor,


Have you checked to make sure the document margins are set  
correctly in the LyX source, and also (at least with DVI output) in  
the viewer? I do not think there would be an issue with the PDF  
viewer, but I suppose that might depend on which viewer you used.


If the margins appear to be set correctly, can you post a small  
example showing the problem? I will check it with MiKTeX 2.6 to make  
sure the problem does not lie with the MiKTeX upgrade.


/Paul



It's the
\usepackage{a4}
in the preamble that causes the error (but don't ask me why ;-)
Remove it and it will work.

Anders




  1   2   >