I have the following 'test file' in which I am working, works without problems when compiling with '(La/Xe/pdf) TeX' but throws an error when compiling with 'LuaLaTeX':
Package: l3names 2012/09/24 v4230 L3 Namespace for primitives
)
Runaway argument?
! Forbidden control sequence found while scanning use of \next.
<inserted text>
\par
l.66 \reserveinserts
{32}
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.
the file is as follows:
\documentclass{article}
\usepackage{soulutf8}
\usepackage[math]{blindtext}
\usepackage{xwatermark}
%\usepackage[verbose=silent]{microtype}
\usepackage{xcolor}
\usepackage{ifpdf,ifluatex,ifxetex}
\newif\ifxetexorluatex
\ifxetex
\xetexorluatextrue
\else
\ifluatex
\xetexorluatextrue
\else
\xetexorluatexfalse
\fi
\fi
\ifxetexorluatex
\usepackage[no-math]{fontspec}
\setmainfont[Ligatures=TeX,RawFeature=+onum]{Linux Libertine O}
\setsansfont[RawFeature=+pnum]{Linux Biolinum O}
\newfontfamily{\biolinum}{Linux Biolinum O}
\newcommand{\bitext}[1]{\biolinum #1}%
\newwatermark[allpages,fontsize=2.0cm,align=center,color=gray!45,angle=45,xpos=0,ypos=0]{\textbf{\bitext{Preliminar 2012}}}
\else
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{fourier}
\usepackage[rm]{libertine}
\renewcommand{\sfdefault}{LinuxBiolinumO-LF}
\newwatermark[allpages,color=gray!45,angle=45,fontfamily=LinuxBiolinumO-OsF,scale=2.5,xpos=0,ypos=0]{Preliminar 2012}
\fi
\begin{document}
\sodef\textss{}{.3em}{0.6em}{0pt}
\noindent
\begin{center}
\textbf{\textss{\large\scshape «Universidad de Concepci\'{o}n»}}
\end{center}
\Blinddocument
\end{document}
Use 'TexLive 2012' in Win32/Linux (updated). Check the documentation of l3names, but it is a 'little' advanced for my level, any suggestions or help would be appreciated. regards Pablo