Re: LyX on iPad

2018-11-06 Thread Anders Host-Madsen
Still have not found the proper way to post to thread, so I just hope it will 
show up the right place.
First, for the topic of the thread: I have now tried 1) rollapp.com and 2) 
remote access to my Mac from iPad (Screens and TeamWiever). rollapp.com is too 
limited (e.g., shortcuts and arrow keys don't work) and expensive. Remote 
access is too slow and unreliable to be a solution. So, the only solution would 
be some type of native app on iPad.
I do think of LyX as a frontend for LaTeX, and not at all irrelevant. In fact, 
it is the software I use the most of all software that I have. It has 
completely revolutionized my workflow, as it's now so easy to write LaTeX.
I think the issue is not that LyX is outdated, but that LaTeX is outdated. It's 
made for typesetting on paper, and honestly most reading now is done on 
screens. For that PDF is terrible. It's fixed format for printing. Instead, 
what is needed is mathematical typesetting that is free-flowing and adaptable 
to the screen it's read on (including a phone). Is there any work going on on 
that kind of standard?

Re: LyX on iPad

2018-11-02 Thread Anders Host-Madsen
I have not really figured out how to properly reply to the mailing list. 
Hopefully this ends up the right place.
First, I tried rollapp.com. It’s not too bad, in fact. The interface is not 
touch optimized, but one can use the Apple Pencil to click the small icons. A 
little slow. Perhaps OK if one wants to run LyX on iPad occasionally, but then 
kind of expensive to subscribe; on the other hand, if one wants to use it 
often, the interface becomes too cumbersome and slow. So, not a real solution.
With respect to what I want to do: I would like to be able to edit a LyX 
document when I’m on the go. I might have a LyX document started on my 
computer, but then when I’m out I would like to continue to edit on the iPad, 
and then later on my computer again.
One possibility is of course to convert the lyx document to latex, edit it 
there, and then convert back to LyX on computer. But as we know, things do get 
lost in the conversion back and forth between LyX and LaTeX. 


Sent from Yahoo Mail for iPad


LyX on iPad

2018-11-01 Thread Anders Host-Madsen
Perhaps beating a dead horse, but I really wish there would be a LyX for iPad. 
Apple more and more positions the iPad as a computer replacement. And recent 
developments has made that come closer for me. Latex is there, Keynote now can 
do latex, and Pythonista can do (basic) Python. The only thing preventing me 
from just bringing my iPad when I travel is the lack of LyX.

Re: Unable to import from LaTeX after 2.3.1

2018-10-16 Thread Anders Host-Madsen
 Thanks, yes that solved the problem.
On Tuesday, October 16, 2018, 8:43:22 AM HST, Richard Kimberly Heck 
 wrote:  
 
  On 10/16/18 2:41 PM, Anders Host-Madsen wrote:
  
 
After upgrading to 2.3.1 I'm unable to import from latex. I'm pretty sure 
import worked in 2.3.0. The error message I get is: 
   
An error occurred while running:
 $$s/../MacOS/tex2lyx -f "Big Data MDL CCF 17IX.tex" "Big Data MDL CCF 
17IX.lyx"  

 
 
This was a known problem in the original binary. It was supposed to have been 
fixed with the new one, so try re-installing.
 
Riki
 
   

Unable to import from LaTeX after 2.3.1

2018-10-16 Thread Anders Host-Madsen
After upgrading to 2.3.1 I'm unable to import from latex. I'm pretty sure 
import worked in 2.3.0. The error message I get is:

An error occurred while running:
$$s/../MacOS/tex2lyx -f "Big Data MDL CCF 17IX.tex" "Big Data MDL CCF 17IX.lyx"
To test that it's not a problem with my document, I created a simple tex 
document:


\documentclass{article}

\begin{document}

Hello!

\end{document}

But import also fails for thatThanks,Anders.

Re: Buffer-export

2018-05-07 Thread Anders Host-Madsen
 
Yes, I see now that my command sequence does not give the correct latex file. 
It also has some extra commands in the start like \batchmode.
I thought it was fixed in 2.3.0 compared to 2.2.x, because the command sequence 
ran without any issues. But good if it will be fixed in the next release.On 
Sunday, May 6, 2018, 11:33:33 AM HST, Richard Kimberly Heck <rikih...@lyx.org> 
wrote:  
 
 On 05/06/2018 04:58 PM, Anders Host-Madsen wrote:
> I have the following command sequence assigned to a shortcut:
>
> command-sequence buffer-write; buffer-export pdflatex; buffer-export pdf2

This will not work properly in 2.3.0 or earlier versions. Probably what
you are
seeing is a race condition of some sort. The problem is that the first
export does
not finish before we try to start another one.

This is fixed for 2.3.1, which should be out in a few weeks.

Riki

  

Buffer-export

2018-05-06 Thread Anders Host-Madsen
I have the following command sequence assigned to a shortcut:
command-sequence buffer-write; buffer-export pdflatex; buffer-export pdf2

The idea is that whenever I save a lyx file, I also get a latex and pdf file. 
The issue is that the latex export messes up filenames (or paths, perhaps). As 
an example, when I export directly from the menu, I get
\includegraphics[scale=0.7]{Redundancy}

But when I run my command sequence, I get
\includegraphics[scale=0.7]{0_Users_madsen_Dropbox_AHM_Papers_Big_Data_Paper_Big_Data_Real_JP_Redundancy.pdf}

So, the latex file does not compile.
Any ideas what could be the issue and how I fix it?
Thanks,

Re: Fractions below baseline in 2.3

2018-04-12 Thread Anders Host-Madsen
Yes, I can see it. The issue is that the \pi in math input mode is smaller than 
the \pi in latex, which makes it look unbalanced in math input mode. Probably 
nothing to do about that.

Fractions below baseline in 2.3

2018-04-12 Thread Anders Host-Madsen
It seems to me that LyX 2.3 sets fractions slightly too low compared to the 
baseline when entering equations. Of course once they are typeset, they move to 
the correct position. But in the math input mode it's almost as though 
fractions are in subscript mode. Anyone else noticed?

Buffer-export works in 2.3.0!

2018-04-10 Thread Anders Host-Madsen
A sequence of multiple buffer exports works in 2.3.0 -- they did not do so in 
2.2, and I had to write a shell script to circumvent it (that sometimes worked, 
sometimes not). For example now I have the keyboard shortcut
command-sequence buffer-write; buffer-export pdflatex; buffer-export pdf2

assigned to a keyboard shortcut. This automatically saves a lyx file, a  latex 
file, and a pdf file. I'm just posting in case anyone might be interested. And 
thanks for fixing that in 2.3!


Re: Beamerposter example

2017-04-10 Thread Anders Host-Madsen
On 04/08/2017 04:19 PM, Anders Host-Madsen wrote:

I need to create a conference poster, and I think I can do it with 
beamerposter. But I would like to do it starting with a template/example, so 
that I just have to replace things, not start from scratch (I have no 
experience with beamer). Does anyone have a good example in LyX? I tried to 
import some examples from latex, but they don't compile in LyX.Thanks,
Anders.

What about File > New from Template... using the poster-beamerposter.lyx 
template?Paul
-
Thanks. It was not among my templates. Somehow my lyx is pointing to an old 
templates folder. But I found it inside the lyx app. Yes, I can use that as 
starting point.
P.S. The reply to this post never came back to my inbox. I only found it on 
mail-archieve.com.


Beamerposter example

2017-04-08 Thread Anders Host-Madsen
I need to create a conference poster, and I think I can do it with 
beamerposter. But I would like to do it starting with a template/example, so 
that I just have to replace things, not start from scratch (I have no 
experience with beamer). Does anyone have a good example in LyX? I tried to 
import some examples from latex, but they don't compile in LyX.
Thanks,Anders.

Re: macOS Sierra

2016-09-20 Thread Anders Host-Madsen
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 
<chris.men...@gmail.com> wrote:
 

 On 20 Sep 2016, at 2:16 PM, Anders Host-Madsen <ahostmad...@yahoo.com> 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: macOS Sierra

2016-09-20 Thread Anders Host-Madsen
Thanks. Then perhaps I will update.
One thing that breaks for me every time I update is setting the BIBINPUTS path. 
Every time Apple updates, they put some restrictions in the UNIX shell that 
breaks the previous work around. For El Capitain I had to make a applescript 
that runs at startup. Hopefully that will still work. 

On Tuesday, September 20, 2016 8:21 AM, Christopher Menzel 
<chris.men...@gmail.com> wrote:
 

 On 20 Sep 2016, at 2:16 PM, Anders Host-Madsen <ahostmad...@yahoo.com> 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


   

macOS Sierra

2016-09-20 Thread Anders Host-Madsen
Has anyone tried LyX on MacOS Sierra? Any issues?

Gmane interface down?

2016-09-20 Thread Anders Host-Madsen
Hi all,
It seems I cannot access the lyx lists through the gmane interface anymore. Is 
that a general problem?
Anders Host-Madsen.

Re: Automatic save of LaTeX

2016-04-20 Thread Anders Host-Madsen
Hal Kierstead  me.com> writes:


> 
> Please post the final version.
> Thanks,
> Hal
> 

I wrote a step by step procedure (ironically, in MS Word! I just
find it easier to copy the screen shots into Word) for the
non-techies -- mainly so I can myself repeat the procedure
when I install a new version of LyX or get a new computer.

I don't know how to attach with the gmane interface, but here is a link
if anyone is interested. I could also perhaps post on a Wiki?

https://www.sugarsync.com/pf/D6910206_06659227_6503710




Re: Automatic save of LaTeX

2016-04-20 Thread Anders Host-Madsen
That was it, now it works exactly as intended. Thanks again
for your help.



Re: Automatic save of LaTeX

2016-04-19 Thread Anders Host-Madsen
Anders Host-Madsen  yahoo.com> writes:

A few more comment on this. To get the same latex file as one would
get when exporting from the menu, set the "nice" flag in the exporter.

The main issue with the script approach is that it changes the name 
of the files. For example, spaces become _. I don't see how to solve
this. I doesn't seem the real name of the original file is available
to the converter.





Re: Automatic save of LaTeX

2016-04-18 Thread Anders Host-Madsen
OK, I found the problem. Textedit on Mac changed the quotes " into smart quotes.
After correcting that it works completely.

Thanks all for your help.



Re: Automatic save of LaTeX

2016-04-18 Thread Anders Host-Madsen
Stephan Witt  gmx.net> writes:

Unfortunately it's not quite there. I have tried to modify the 
script to run bibtex,
but it doesn't work. I have tried different variations for the 
input to bibtex,
below is one. But it's not quite clear to me exactly what 
should be
the input argument to bibtex. It's almost there, so I hope 
someone
can help me.

#!/bin/sh
echo $(date)":" "$0" "$  "
filename=$(basename "$1" .tex)
if [ -d "$2" ]; then 
   targetdir="$2" 
elif [ -f "$2" ]; then
   targetdir=$(dirname "$2")
else
   targetdir="$2"
   if [ ! -d "$2" ]; then
  echo Bad call with target "$2"
  exit 1
   fi
fi
echo pwd=$(pwd) filename="$filename"
echo pdflatex "$1" "$targetdir"/"$filename".pdf 
pdflatex "$1" "$targetdir"/"$filename".pdf 
bibtex “$filename”.aux
pdflatex “$1” "$targetdir"/"$filename".pdf 
pdflatex "$1" && test -f "$filename".pdf && cp "$filename".pdf "$targetdir"/
echo cp "$1" "$targetdir"/"$filename".tex
cp "$1" "$targetdir"/"$filename".tex

Re: Automatic save of LaTeX

2016-04-18 Thread Anders Host-Madsen
Stephan Witt  gmx.net> writes:

Thank you so much. Now it works. The key was to put the path to 
the script
in the lyx path. I had understood from the LyX customization manual that
when you put it inside the lyx scripts folder, lyx would find it. 
But that seems
not to be the case.

Also thanks for the script itself. Much more advanced than 
something I could write.



Re: Automatic save of LaTeX

2016-04-13 Thread Anders Host-Madsen
Paul A. Rubin  msu.edu> writes:

> Is LExport.sh marked executable by all users, not just yourself. I don't
> know whether LyX runs the script with you as the user or with LyX as the user.

It should be. Here is ls -l

-rwxrwxrwx@ 1 madsen  admin 20 Apr 12 14:11 LExport.sh

> 
> Also, does the script specify a command interpreter with a hash-bang comment
> at the top? In other words, when you successfully run it outside LyX, do you
> do so with "./LExport.sh", or do you specify a command interpreter (e.g,
> "bash ./LExport.sh"?

Yes. Here is the script (at the moment I'm just trying to make the script run,
so it doesn't do anything yet):

#!/bin/bash
cp $1 $2

Perhaps it's some security issue on Mac that prevents it from running?

Anyway, now that I know there is a message pane, I figured out exactly
where it goes wrong with the command-sequence. The issue is with copying
figures. Sometimes they don't copy, and pdflatex fails. If I have a
long LyX document, but without figures, the command-sequence seems
to always work, producing a latex and pdf file.



Re: Automatic save of LaTeX

2016-04-12 Thread Anders Host-Madsen
Paul A. Rubin  msu.edu> writes:

> > 
> Yes, this is what I meant, and the sequence you listed is what I would use.
> I don't know if it will work in 100% of all cases, but at worst you should
> have the .lyx and .tex files saved (and a LaTeX log file indicating why
> compilation failed), or maybe a PDF file with those annoying question marks
> where you were hoping for cross-references.
> 
> 

I have tried this method. I figured out how to write scripts and put the formats
into LyX, and how to debug LyX. But LyX just will not run my script. I 
get the message

14:15:31.593: The process failed to start. Either the 
invoked program is missing, or you may have 
insufficient permissions to invoke the program.
14:15:31.720: Successful export to format: 
Exportsupport/Systemcall.cpp (276): Systemcall: 'LExport.sh  
$$r "test.tex"' did not start!
support/Systemcall.cpp (277): error The process failed to start. 
Either the invoked program is missing, 
or you may have insufficient permissions to invoke the program.

I have tried to put the scrip inside the LyX scripts directory, and outside. 
I can run it
from terminal. But when LyX tries to run it, the above happens. Any 
ideas from anyone?
It's all on a Mac.



Re: Automatic save of LaTeX

2016-04-09 Thread Anders Host-Madsen
Paul A. Rubin  msu.edu> writes:

> 
> Another possible approach is to define a new file format (Tools | File
> Handling | File Formats) and a new converter (Tools | File Handling |
> Converters) from LaTeX (pdflatex) to the new format. In the "Converter:"
> field, supply the name of a script that first archives the .tex file, then
> runs pdflatex (and bibtex?) against it, then archives the .pdf file
> somewhere. Then you just have to export to the new format in the command
> sequence (after saving the buffer).
> 
> 

This sounds a little challenging. By script, you mean a unix shell script? 
One challenge
is that you don't quite know how many time to run pdflatex. I guess usually
pdflatex, bibtext, pdflatex, pdflatex would work.



Re: Automatic save of LaTeX

2016-04-06 Thread Anders Host-Madsen
Scott Kostyshak  lyx.org> writes:


> I think this issue might be the one that you're running into:
> http://www.lyx.org/trac/ticket/8338

Looking at this ticket and the comments, it seems it the same
kind of problem I run into. The exports run in parallel. It then
makes sense that my iMac, which has a slower disk, gives
more problems.

It seems I can only run one of the exports. Too bad. My idea
was that if you always save pdf and latex, you can
view the pdf on platforms that do not have LyX, and
edit the LaTeX. My main usage scenario would be
an iPad, but it could also apply if you use a computer
that does not have LyX installed.



Re: Automatic save of LaTeX

2016-04-06 Thread Anders Host-Madsen


Update. If I run

command-sequence buffer-write; buffer-export pdf2; buffer-export pdflatex  

It sometimes make LyX hang. If I run

command-sequence buffer-write; buffer-export pdflatex; buffer-export pdf2

sometimes the pdf export doesn't happen. So, neither quite work.

I have a strong feeling it has to do with how long the commands take to run.
On my iMac, which has a slow spinning HD, I get more trouble than on my
MacBook, which has an SSD.



Re: Automatic save of LaTeX

2016-04-06 Thread Anders Host-Madsen
Gordon Cooper  kinect.co.nz> writes:

> 
> 
> On 07/04/16 02:18, David L. Johnson wrote:
> > I notice that, when I export repeatedly to pdf, the command will 
> > actually run and the pdf will not update unless the buffer has been 
> > changed.  So that's probably why your pdf doesn't always run --- you 
> > have to change the document, then it will all run.
> I can confirm that, happens here too.
> 
> Gordon.
> Tauranga N.Z.
> 
> 

As said, that is not the problem. I change the document. Then sometimes,
it exports to pdf, sometimes not. But it SEEMS (I haven't tried enough times 
yet)
that if I change the order, it always executes all three commands (assuming
the document is changed). So, if I use

command-sequence buffer-write; buffer-export pdf2; buffer-export pdflatex  

it seems it always runs all three commands. But if I use

command-sequence buffer-write; buffer-export pdflatex; buffer-export pdf2

it seems it sometimes does not run the export to pdf. Odd.



Re: Automatic save of LaTeX

2016-04-06 Thread Anders Host-Madsen

> I notice that, when I export repeatedly to pdf, the command will 
> actually run and the pdf will not update unless the buffer has been 
> changed.  So that's probably why your pdf doesn't always run --- you 
> have to change the document, then it will all run.
> 

No, that's not the issue. I do change the lyx file. If there is any pattern,
then it seems like it only runs every second time. So, I change the
lyx file, it doesn't convert to pdf. Then I make a trivial change,
say inserting a space somewhere, run it again, and then it
will save the pdf.





Re: Automatic save of LaTeX

2016-04-06 Thread Anders Host-Madsen
Anders Host-Madsen  yahoo.com> writes:


> 
> I can only say that so far it works for me. I assigned 
> 
> command-sequence buffer-write; buffer-export pdflatex; buffer-export pdf2 
> 
> to a key (control-command-S), and it works as intended. I'm using a mac.
> 
> 


I do have one issue, though. Sometimes the third part is not executed, 
so the updated pdf is not saved. I don't see the pattern in when it's
 executed, and when it's not.



Re: Automatic save of LaTeX

2016-04-05 Thread Anders Host-Madsen
Scott Kostyshak  lyx.org> writes:

> 
> On Wed, Apr 06, 2016 at 11:19:06AM +1200, Andrew Parsloe wrote:
> > On 6/04/2016 8:55 a.m., Anders Host-Madsen wrote:
> > >Thanks, that works. I see I can use the command-sequence to combine
> > >the commands. So, now it works.
> > I'm interested to know whether this really does work. In the past when I've
> > tried to use command-sequence with export or save operations it has run into
> > problems with threaded code -- an export or save is not completed before the
> > next command in the sequence is initiated.
> 
> I think this issue might be the one that you're running into:
> http://www.lyx.org/trac/ticket/8338
> 
> Also note these posts:
> http://tex.stackexchange.com/questions/71110/can-lyx-automatically-save-the-pdf-output-in-the-
same-folder/71212#71212
> http://tex.stackexchange.com/questions/89561/shortcut-for-export-pdf-on-lyx/89562#89562
> 
> Scott
> 

I can only say that so far it works for me. I assigned 

command-sequence buffer-write; buffer-export pdflatex; buffer-export pdf2 

to a key (control-command-S), and it works as intended. I'm using a mac.



Re: Automatic save of LaTeX

2016-04-05 Thread Anders Host-Madsen
Andrew Parsloe  clear.net.nz> writes:


> I'm interested to know whether this really does work. In the past when 
> I've tried to use command-sequence with export or save operations it has 
> run into problems with threaded code -- an export or save is not 
> completed before the next command in the sequence is initiated.
> 
> Andrew

I have only used it a few times so far, and it seems to work. 
If the first command,
buffer-write, fails because there are no changes, the rest
does not run either. But in this case that is clearly desirable.



Re: Automatic save of LaTeX

2016-04-05 Thread Anders Host-Madsen
Thanks, that works. I see I can use the command-sequence to combine
the commands. So, now it works.



Re: Automatic save of LaTeX

2016-04-05 Thread Anders Host-Madsen
Paul A. Rubin  msu.edu> writes:

> 
> Anders Host-Madsen  yahoo.com> writes:
> 
> > 
> > Is there a way to make LyX automatically save the LaTeX version of a 
> > document
> > every time the LyX document is saved?
> > 
> 
> You can write a custom macro that chains the buffer-write and buffer-export
> LFUNs and bind it to some key combination. Then you need to remember to use
> that key combo whenever you save your file. You will need to specify an
> export format (e.g., pdflatex) in the buffer-export function. The LFUNs are
> detailed in Help > LyX Functions.
> 
> Paul
> 
> 

Thanks. That would work for me. I checked the LFUNs, and I see how I can
make each work individually. But how do I combine them? That is,
how do I write a macro? I only see something about
math macros.




Re: Automatic save of LaTeX

2016-04-05 Thread Anders Host-Madsen
Dr Eberhard Lisse  lisse.NA> writes:

> 
> What on earth for?
> 

There are several reasons. But a main reason is that
I would like to be able to edit my documents on my iPad. LaTeX
exists, but not LyX. I can edit the latex, and then copy
the changes back to LyX. But that does require I have
access to the latex version. It often happens I have
my iPad with me, I unexpectedly get some extra time
and would like to do some work -- but then I don't have
the latex version of the document I'm working on.



Automatic save of LaTeX

2016-04-04 Thread Anders Host-Madsen
Is there a way to make LyX automatically save the LaTeX version of a document
every time the LyX document is saved?



Re: item list

2015-05-02 Thread Anders Host-Madsen
Patrick Dupre pdupre at gmx.com writes:

 
 Hello,
 
 How could I reduce the indent before the item in an itemized list?
 
 Thank


You can also use the enumitem package, which is supported by lyx.



Re: item list

2015-05-02 Thread Anders Host-Madsen
Sorry, I'm not really a latex expert. However, I would do the following.
Make a small latex document that uses the enumitem package,
and check if latex can compile it. If it cannot, it means that latex
cannot find the .sty file, and latex need to be reconfigured.
Worst case, it should work to put enumitem.sty in your local
directory, but it should not be necessary.



Re: item list

2015-05-02 Thread Anders Host-Madsen
Patrick Dupre pdupre at gmx.com writes:

 
 Hello,
 
 How could I reduce the indent before the item in an itemized list?
 
 Thank


You can also use the enumitem package, which is supported by lyx.



Re: item list

2015-05-02 Thread Anders Host-Madsen
Sorry, I'm not really a latex expert. However, I would do the following.
Make a small latex document that uses the enumitem package,
and check if latex can compile it. If it cannot, it means that latex
cannot find the .sty file, and latex need to be reconfigured.
Worst case, it should work to put enumitem.sty in your local
directory, but it should not be necessary.



Re: item list

2015-05-02 Thread Anders Host-Madsen
Patrick Dupre  gmx.com> writes:

> 
> Hello,
> 
> How could I reduce the indent before the item in an itemized list?
> 
> Thank


You can also use the enumitem package, which is supported by lyx.



Re: item list

2015-05-02 Thread Anders Host-Madsen
Sorry, I'm not really a latex expert. However, I would do the following.
Make a small latex document that uses the enumitem package,
and check if latex can compile it. If it cannot, it means that latex
cannot find the .sty file, and latex need to be reconfigured.
Worst case, it should work to put enumitem.sty in your local
directory, but it should not be necessary.



How to use align inside table?

2015-04-30 Thread Anders Host-Madsen
How can you put an align or align* environment inside a table?
There seems to be some pure latex solutions, i.e., using
tabularx instead of tabular or aligned instead of align 
(I haven't tried), but they appear to be incompatible with lyx.



Re: How to use align inside table?

2015-04-30 Thread Anders Host-Madsen
Paul A. Rubin rubin at msu.edu writes:

 You can try putting a parbox in a table cell and putting the align
 environment in the parbox. I think you will need to set the column width for
 the table, then set the parbox width to match. Here is a small example:

Thank you, that works. I used a minipage, which does not work,
 but with parbox it works.
The only (minor) issue is that I get what seems like an empty line
above every align* environment.



How to use align inside table?

2015-04-30 Thread Anders Host-Madsen
How can you put an align or align* environment inside a table?
There seems to be some pure latex solutions, i.e., using
tabularx instead of tabular or aligned instead of align 
(I haven't tried), but they appear to be incompatible with lyx.



Re: How to use align inside table?

2015-04-30 Thread Anders Host-Madsen
Paul A. Rubin rubin at msu.edu writes:

 You can try putting a parbox in a table cell and putting the align
 environment in the parbox. I think you will need to set the column width for
 the table, then set the parbox width to match. Here is a small example:

Thank you, that works. I used a minipage, which does not work,
 but with parbox it works.
The only (minor) issue is that I get what seems like an empty line
above every align* environment.



How to use align inside table?

2015-04-30 Thread Anders Host-Madsen
How can you put an align or align* environment inside a table?
There seems to be some pure latex solutions, i.e., using
tabularx instead of tabular or aligned instead of align 
(I haven't tried), but they appear to be incompatible with lyx.



Re: How to use align inside table?

2015-04-30 Thread Anders Host-Madsen
Paul A. Rubin  msu.edu> writes:

> You can try putting a parbox in a table cell and putting the align
> environment in the parbox. I think you will need to set the column width for
> the table, then set the parbox width to match. Here is a small example:

Thank you, that works. I used a minipage, which does not work,
 but with parbox it works.
The only (minor) issue is that I get what seems like an empty line
above every align* environment.



Re: SIG Alternate

2015-02-17 Thread Anders Host-Madsen
I can compile my document by exporting to latex, commenting
out the theorem model, and redefining theorem style:

%\usepackage{amsthm}
\newcommand{\theoremstyle}[1]{}

but of course I still cannot preview directly from lyx. Any
other ideas?



Re: SIG Alternate

2015-02-17 Thread Anders Host-Madsen
I can compile my document by exporting to latex, commenting
out the theorem model, and redefining theorem style:

%\usepackage{amsthm}
\newcommand{\theoremstyle}[1]{}

but of course I still cannot preview directly from lyx. Any
other ideas?



Re: SIG Alternate

2015-02-17 Thread Anders Host-Madsen
I can compile my document by exporting to latex, commenting
out the theorem model, and redefining theorem style:

%\usepackage{amsthm}
\newcommand{\theoremstyle}[1]{}

but of course I still cannot preview directly from lyx. Any
other ideas?



SIG Alternate

2015-02-16 Thread Anders Host-Madsen
I'm trying to write a paper with the SIG Alternate class. It seems
LyX has a layout for this class. The problem I have run into so
far is the following. The SIG Alternate layout file does not
have any theorem-like styles. This can be solved by adding the
Theorem module. But then I run into the problem that
the 'proof' environment is already defined in the
SIG Alternate class (the error message is 'Command
proof already defined'). How can I resolve this conflict?




SIG Alternate

2015-02-16 Thread Anders Host-Madsen
I'm trying to write a paper with the SIG Alternate class. It seems
LyX has a layout for this class. The problem I have run into so
far is the following. The SIG Alternate layout file does not
have any theorem-like styles. This can be solved by adding the
Theorem module. But then I run into the problem that
the 'proof' environment is already defined in the
SIG Alternate class (the error message is 'Command
proof already defined'). How can I resolve this conflict?




SIG Alternate

2015-02-16 Thread Anders Host-Madsen
I'm trying to write a paper with the SIG Alternate class. It seems
LyX has a layout for this class. The problem I have run into so
far is the following. The SIG Alternate layout file does not
have any theorem-like styles. This can be solved by adding the
Theorem module. But then I run into the problem that
the 'proof' environment is already defined in the
SIG Alternate class (the error message is 'Command
proof already defined'). How can I resolve this conflict?




LyX for iPad?

2015-01-31 Thread Anders Host-Madsen
Will there ever be a LyX for iPad? There is LaTeX for iPad 
(works quite well), MS Word for iPad (quite impressive), and 
lot's of other document editors. While the
iPad is not good for extended writing, 
it's very convenient to do a little
editing on the go.

Even a very basic LyX editor would be nice. This is perhaps 
anathema to the LyX philosophy, but I would be happy to 
pay for it. I paid for the iPad LaTeX editor, although 
LaTeX is usually free.



LyX for iPad?

2015-01-31 Thread Anders Host-Madsen
Will there ever be a LyX for iPad? There is LaTeX for iPad 
(works quite well), MS Word for iPad (quite impressive), and 
lot's of other document editors. While the
iPad is not good for extended writing, 
it's very convenient to do a little
editing on the go.

Even a very basic LyX editor would be nice. This is perhaps 
anathema to the LyX philosophy, but I would be happy to 
pay for it. I paid for the iPad LaTeX editor, although 
LaTeX is usually free.



LyX for iPad?

2015-01-31 Thread Anders Host-Madsen
Will there ever be a LyX for iPad? There is LaTeX for iPad 
(works quite well), MS Word for iPad (quite impressive), and 
lot's of other document editors. While the
iPad is not good for extended writing, 
it's very convenient to do a little
editing on the go.

Even a very basic LyX editor would be nice. This is perhaps 
anathema to the LyX philosophy, but I would be happy to 
pay for it. I paid for the iPad LaTeX editor, although 
LaTeX is usually free.



Re: On screen math fonts

2014-11-23 Thread Anders Host-Madsen
I can confirm this, also in 2.1.2.2. I also have had the problem
with a one other symbol, but now I don't remember which.





Re: (Math) preview does not work in Yosemite

2014-11-23 Thread Anders Host-Madsen
It seems now both my posts finally appeared on gmane. Just to
complete this thread. Upgrading to the latest version of MacTeX solved
the problem on both my computers.



Re: On screen math fonts

2014-11-23 Thread Anders Host-Madsen
I can confirm this, also in 2.1.2.2. I also have had the problem
with a one other symbol, but now I don't remember which.





Re: (Math) preview does not work in Yosemite

2014-11-23 Thread Anders Host-Madsen
It seems now both my posts finally appeared on gmane. Just to
complete this thread. Upgrading to the latest version of MacTeX solved
the problem on both my computers.



Re: On screen math fonts

2014-11-23 Thread Anders Host-Madsen
I can confirm this, also in 2.1.2.2. I also have had the problem
with a one other symbol, but now I don't remember which.





Re: (Math) preview does not work in Yosemite

2014-11-23 Thread Anders Host-Madsen
It seems now both my posts finally appeared on gmane. Just to
complete this thread. Upgrading to the latest version of MacTeX solved
the problem on both my computers.



Re: Yosemite blues again?

2014-11-18 Thread Anders Host-Madsen
I had the same problem. I think it has to do with the
Yosemite bug that environments are not copied.
It seems updating to 2.1.2.2 solved the problem for me.



No math preview in Yosemite

2014-11-18 Thread Anders Host-Madsen
After updating to Yosemite, math preview does not work.

I have two computers.

iMac: updating to latest version of MacTeX and LyX solved problem.
MacBook Air: updating did NOT solve the problem.

I don't know how to solve the problem then.



(Math) preview does not work in Yosemite

2014-11-18 Thread Anders Host-Madsen
After upgrading to Yosemite, math and figure preview do not work. Kind of.
On my iMac I upgraded to the latest versions of MacTeX and LyX, and that solved 
the problem. But on my MacBook, even after upgrading both MacTeX and LyX, 
preview STILL does not work, neither for equations nor pdf figures. Anything I 
can do?
(As an aside, I have been unable to post through gmane. My posts are simply 
ignored by gmane).

Re: Yosemite blues again?

2014-11-18 Thread Anders Host-Madsen
I had the same problem. I think it has to do with the
Yosemite bug that environments are not copied.
It seems updating to 2.1.2.2 solved the problem for me.



No math preview in Yosemite

2014-11-18 Thread Anders Host-Madsen
After updating to Yosemite, math preview does not work.

I have two computers.

iMac: updating to latest version of MacTeX and LyX solved problem.
MacBook Air: updating did NOT solve the problem.

I don't know how to solve the problem then.



(Math) preview does not work in Yosemite

2014-11-18 Thread Anders Host-Madsen
After upgrading to Yosemite, math and figure preview do not work. Kind of.
On my iMac I upgraded to the latest versions of MacTeX and LyX, and that solved 
the problem. But on my MacBook, even after upgrading both MacTeX and LyX, 
preview STILL does not work, neither for equations nor pdf figures. Anything I 
can do?
(As an aside, I have been unable to post through gmane. My posts are simply 
ignored by gmane).

Re: Yosemite blues again?

2014-11-18 Thread Anders Host-Madsen
I had the same problem. I think it has to do with the
Yosemite "bug" that environments are not copied.
It seems updating to 2.1.2.2 solved the problem for me.



No math preview in Yosemite

2014-11-18 Thread Anders Host-Madsen
After updating to Yosemite, math preview does not work.

I have two computers.

iMac: updating to latest version of MacTeX and LyX solved problem.
MacBook Air: updating did NOT solve the problem.

I don't know how to solve the problem then.



(Math) preview does not work in Yosemite

2014-11-18 Thread Anders Host-Madsen
After upgrading to Yosemite, math and figure preview do not work. Kind of.
On my iMac I upgraded to the latest versions of MacTeX and LyX, and that solved 
the problem. But on my MacBook, even after upgrading both MacTeX and LyX, 
preview STILL does not work, neither for equations nor pdf figures. Anything I 
can do?
(As an aside, I have been unable to post through gmane. My posts are simply 
ignored by gmane).

Re: Yosemite problems...

2014-11-14 Thread Anders Host-Madsen
I have the same problem on one of my computers.
Additionally, LyX does not preview equations.
On my other computer,
 I just updated to latest version of MacTeX, and latest
version of LyX, and that solved the problem on
that computer.



Re: Yosemite problems...

2014-11-14 Thread Anders Host-Madsen
I have the same problem on one of my computers.
Additionally, LyX does not preview equations.
On my other computer,
 I just updated to latest version of MacTeX, and latest
version of LyX, and that solved the problem on
that computer.



Re: Yosemite problems...

2014-11-14 Thread Anders Host-Madsen
I have the same problem on one of my computers.
Additionally, LyX does not preview equations.
On my other computer,
 I just updated to latest version of MacTeX, and latest
version of LyX, and that solved the problem on
that computer.



Re: Yosemite problems...

2014-11-13 Thread Anders Host-Madsen
I have exactly the same problem.

I also have the problem that LyX does not preview math
as LaTeX typeset equations anymore.



Re: Yosemite problems...

2014-11-13 Thread Anders Host-Madsen
I have the same problem on one of my computers. Also,
it does not show math preview.

The other computer I just updated to the latest version
of MacTeX and LyX, and on that computer both
preview of graphics and math now works.



Re: Yosemite problems...

2014-11-13 Thread Anders Host-Madsen
I have the same problem on one of my computers.
Additionally, LyX does not preview equations.
On my other computer,
 I just updated to latest version of MacTeX, and latest
version of LyX, and that solved the problem on
that computer.



Re: Yosemite problems...

2014-11-13 Thread Anders Host-Madsen
I have exactly the same problem.

I also have the problem that LyX does not preview math
as LaTeX typeset equations anymore.



Re: Yosemite problems...

2014-11-13 Thread Anders Host-Madsen
I have the same problem on one of my computers. Also,
it does not show math preview.

The other computer I just updated to the latest version
of MacTeX and LyX, and on that computer both
preview of graphics and math now works.



Re: Yosemite problems...

2014-11-13 Thread Anders Host-Madsen
I have the same problem on one of my computers.
Additionally, LyX does not preview equations.
On my other computer,
 I just updated to latest version of MacTeX, and latest
version of LyX, and that solved the problem on
that computer.



Re: Yosemite problems...

2014-11-13 Thread Anders Host-Madsen
I have exactly the same problem.

I also have the problem that LyX does not preview math
as LaTeX typeset equations anymore.



Re: Yosemite problems...

2014-11-13 Thread Anders Host-Madsen
I have the same problem on one of my computers. Also,
it does not show math preview.

The other computer I just updated to the latest version
of MacTeX and LyX, and on that computer both
preview of graphics and math now works.



Re: Yosemite problems...

2014-11-13 Thread Anders Host-Madsen
I have the same problem on one of my computers.
Additionally, LyX does not preview equations.
On my other computer,
 I just updated to latest version of MacTeX, and latest
version of LyX, and that solved the problem on
that computer.



Re: BIBINPUTS and Yosemite

2014-10-22 Thread Anders Host-Madsen
The above works for LaTeX, but not inside LyX. When the file is compiled,
it finds the bib files in the path. However, Insert Citation inside LyX
does not respect the BIBINPUTS path. How can this be fixed?




Re: BIBINPUTS and Yosemite [FIXED -- I think]

2014-10-22 Thread Anders Host-Madsen
Anders Host-Madsen ahostmadsen at yahoo.com writes:

 
 The above works for LaTeX, but not inside LyX. When the file is compiled,
 it finds the bib files in the path. However, Insert Citation inside LyX
 does not respect the BIBINPUTS path. How can this be fixed?
 
 

I added the latex path to the TEXINPUTS prefix. That seems to solve
the problem inside LyX.



Re: BIBINPUTS and Yosemite [NOT Fixed]

2014-10-22 Thread Anders Host-Madsen
Anders Host-Madsen ahostmadsen at yahoo.com writes:


 
 I added the latex path to the TEXINPUTS prefix. That seems to solve
 the problem inside LyX.
 
 

Sorry, it didn't work. Only gave me the references from bib files in
the current directory. So, I hope someone can find a solution.




Re: BIBINPUTS and Yosemite

2014-10-22 Thread Anders Host-Madsen
The above works for LaTeX, but not inside LyX. When the file is compiled,
it finds the bib files in the path. However, Insert Citation inside LyX
does not respect the BIBINPUTS path. How can this be fixed?




Re: BIBINPUTS and Yosemite [FIXED -- I think]

2014-10-22 Thread Anders Host-Madsen
Anders Host-Madsen ahostmadsen at yahoo.com writes:

 
 The above works for LaTeX, but not inside LyX. When the file is compiled,
 it finds the bib files in the path. However, Insert Citation inside LyX
 does not respect the BIBINPUTS path. How can this be fixed?
 
 

I added the latex path to the TEXINPUTS prefix. That seems to solve
the problem inside LyX.



Re: BIBINPUTS and Yosemite [NOT Fixed]

2014-10-22 Thread Anders Host-Madsen
Anders Host-Madsen ahostmadsen at yahoo.com writes:


 
 I added the latex path to the TEXINPUTS prefix. That seems to solve
 the problem inside LyX.
 
 

Sorry, it didn't work. Only gave me the references from bib files in
the current directory. So, I hope someone can find a solution.




Re: BIBINPUTS and Yosemite

2014-10-22 Thread Anders Host-Madsen
The above works for LaTeX, but not inside LyX. When the file is compiled,
it finds the bib files in the path. However, Insert Citation inside LyX
does not respect the BIBINPUTS path. How can this be fixed?




Re: BIBINPUTS and Yosemite [FIXED -- I think]

2014-10-22 Thread Anders Host-Madsen
Anders Host-Madsen  yahoo.com> writes:

> 
> The above works for LaTeX, but not inside LyX. When the file is compiled,
> it finds the bib files in the path. However, Insert Citation inside LyX
> does not respect the BIBINPUTS path. How can this be fixed?
> 
> 

I added the latex path to the TEXINPUTS prefix. That seems to solve
the problem inside LyX.



Re: BIBINPUTS and Yosemite [NOT Fixed]

2014-10-22 Thread Anders Host-Madsen
Anders Host-Madsen  yahoo.com> writes:


> 
> I added the latex path to the TEXINPUTS prefix. That seems to solve
> the problem inside LyX.
> 
> 

Sorry, it didn't work. Only gave me the references from bib files in
the current directory. So, I hope someone can find a solution.




Re: Lagging in math command completion combo box

2014-10-21 Thread Anders Host-Madsen
You can press the tab key.



Instant preview no longer works in OSX Yosemite

2014-10-21 Thread Anders Host-Madsen
After I upgraded to Yosemite, instant preview of math no longer works.
Is that a general issue?



Re: Instant preview no longer works in OSX Yosemite

2014-10-21 Thread Anders Host-Madsen
Stephan Witt st.witt at gmx.net writes:

 
 Am 21.10.2014 um 16:41 schrieb Anders Host-Madsen ahostmadsen at 
 yahoo.com:
 
  After I upgraded to Yosemite, instant preview of math no longer works.
  Is that a general issue?
 
 Yes, seems so. At least you aren't the first one who reports this on this 
 list.
 
 Stephan
 

OK, thanks. Then it might be fixed in some future update. It is not a huge 
issue,
so I can wait.

Sometimes I wonder if these Apple updates are worth it. So little new, but
so many things (LyX, Matlab, Mathematica, BiBTeX, VNC) don't work without a
lot of fiddling.



Re: Instant preview no longer works in OSX Yosemite

2014-10-21 Thread Anders Host-Madsen

 
 I'm afraid you're talking about different things.
 
 The math preview fails silently if enabled but non-functioning.
 The document preview raises an error - your case?
 
 I'd like to help you solving this Yosemite problems.
 But I don't have enough machines to try and install all releases.
 At the moment I am bound to 10.8 and 10.9. 
 I'll see what I can do with an external disk if I find the time.
 
 Stephan
 

Yes, I think we're discussing two different things. I'm talking about 
instantpreview of math inside the LyX document. The view 
command (cmd-R) works finefor me.

I tried to start LyX from the command line to see if that fixed 
the instant previewproblem, but that does not seem to be the case.




Re: Lagging in math command completion combo box

2014-10-21 Thread Anders Host-Madsen
You can press the tab key.



Instant preview no longer works in OSX Yosemite

2014-10-21 Thread Anders Host-Madsen
After I upgraded to Yosemite, instant preview of math no longer works.
Is that a general issue?



Re: Instant preview no longer works in OSX Yosemite

2014-10-21 Thread Anders Host-Madsen
Stephan Witt st.witt at gmx.net writes:

 
 Am 21.10.2014 um 16:41 schrieb Anders Host-Madsen ahostmadsen at 
 yahoo.com:
 
  After I upgraded to Yosemite, instant preview of math no longer works.
  Is that a general issue?
 
 Yes, seems so. At least you aren't the first one who reports this on this 
 list.
 
 Stephan
 

OK, thanks. Then it might be fixed in some future update. It is not a huge 
issue,
so I can wait.

Sometimes I wonder if these Apple updates are worth it. So little new, but
so many things (LyX, Matlab, Mathematica, BiBTeX, VNC) don't work without a
lot of fiddling.



  1   2   3   4   5   >