31 August, 2016

Cannot connect to Philips Hue

For some reason Philips Hue cannot get an ip-address it seems. So the system is basicly useless. I have tried several reboots of the router, the Hue thing etc. Nothing has helped so har.

I suspect an error because my Android phone wants the same IP. However if I turn off the phone and boot from rock bottom there is only light in two LEDs.

30 August, 2016

Synchroniz Tomboy Notes

If you have more than one computer: save the notes on Dropbox. Then synchronize your systems with that folder. It works like a charm.

26 August, 2016

Docx - cannot print properly from Linux

Skyprinting from Linux or Windows does not give the same result. I'm not printing from Libre Office. I just upload the file from the directory. My conclusion: .docx is not an open format at all. You have to print from Windows.

15 August, 2016

Latex and Your Organization

As a researcher and author it's obvious to write in the Latex format. But when you hand in your work, you often have to downscale to some MS Word .docx template. I can do it. But I don't love .docx.

13 August, 2016

Lyx Debugging

Getting an error in Lyx is pretty normal. That is when you try to compile to .dvi or .pdf. But how can you edit an error in myfile.lyx in line 666? From inside Lyx it's not possible to edit the source. As far as I know, that is.

So, the quick a dirty solution is:
  1. Get out of the file in Lyx.
  2. Open the file in your favorite editor (vi, nano, gedit ... etc.)
  3. Go to the line with an error. 
  4. Fix or remove whatever seems wrong. 
  5. Save and open the file in Lyx again.
  6. Compile ... and hope for the best.
Sometimes the error may have it's origin from a bibtex file. Same recipe here.

06 August, 2016

Lyx header for a Paper

Latex header sample.


  • Colored table cells
  • Author / year bibliography
  • Somewhat scalable tables
The Latex header:


\usepackage{comment}
\begin{comment}
 
 TABELLER FARVER OG MULTICOLUMN
 Formatterer farvede tabeller.
 Husk: man kan definere farvekoder.

\end{comment}
\usepackage{multirow} 
\usepackage[table]{xcolor}
\usepackage{graphicx}

\begin{comment} 
 HEADER OG FOOTER
 Indsæt herunder
\end{comment}

\lhead{"Et in arcadea ego"}
\rhead{Per Thykjær Jensen}
\chead{2016}

\bibliographystyle{plainnat}
\usepackage{graphicx}