There is a possible bug here: Using change tracking with PDF output (pdflatex), the \lyxdeleted and \lyxadded commands work as supposed (respectively: read, strike out and blue). However, the change bar is not printed at the margin.
Looking at the source, I noticed that LyX uses the xcolor, pdfcolmk and ulem pacs to show the changes, when the output is directly piped to a PDF. OTOH, if I export the doc to (plain) latex, LyX will use the dvipost package. Then, with "pplatex <doc>" and "dvipdf <doc>", the resulting PDF contains the change bar. ================================================= Here is the source text, which won't printout the change bar. ================================================= %% LyX 2.1.4 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{xcolor} \usepackage{pdfcolmk} \usepackage{amsmath} \usepackage{amssymb} \PassOptionsToPackage{normalem}{ulem} \usepackage{ulem} \makeatletter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. \providecolor{lyxadded}{rgb}{0,0,1} \providecolor{lyxdeleted}{rgb}{1,0,0} %% Change tracking with ulem \DeclareRobustCommand{\lyxadded}[3]{{\color{lyxadded}{}#3}} \DeclareRobustCommand{\lyxdeleted}[3]{{\color{lyxdeleted}\sout{#3}}} \makeatother \usepackage{babel} \begin{document} Lorem ipsum dolor sit amet, \lyxdeleted{Rudi Gaelzer}{Wed Dec 30 15:31:16 2015}{consectetur adipisicing elit,} \lyxadded{Rudi Gaelzer}{Wed Dec 30 15:33:45 2015}{some rubbish here, }sed doeiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad minim veniam, quis nostrud exercitation ullamco laboris nisi utali\lyxadded{Rudi Gaelzer}{Wed Dec 30 15:34:13 2015}{.} \lyxadded{Rudi Gaelzer}{Wed Dec 30 15:34:15 2015}{Excepteur sint occaecat cupidatat non proident, sunt inculpa qui officia deserunt mollit anim id est laborum.} \end{document} ================================================= Here's the source that uses dvipost and generates the bar. ================================================= %% LyX 2.1.4 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{dvipost} \usepackage{amsmath} \usepackage{amssymb} \makeatletter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. %% Change tracking with dvipost \dvipostlayout \dvipost{osstart color push Red} \dvipost{osend color pop} \dvipost{cbstart color push Blue} \dvipost{cbend color pop} \DeclareRobustCommand{\lyxadded}[3]{\changestart#3\changeend} \DeclareRobustCommand{\lyxdeleted}[3]{% \changestart\overstrikeon#3\overstrikeoff\changeend} \makeatother \usepackage{babel} \begin{document} Lorem ipsum dolor sit amet, \lyxdeleted{Rudi Gaelzer}{Wed Dec 30 15:31:16 2015}{consectetur adipisicing elit,} \lyxadded{Rudi Gaelzer}{Wed Dec 30 15:33:45 2015}{some rubbish here, }sed doeiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad minim veniam, quis nostrud exercitation ullamco laboris nisi utali\lyxadded{Rudi Gaelzer}{Wed Dec 30 15:34:13 2015}{.} \lyxadded{Rudi Gaelzer}{Wed Dec 30 15:34:15 2015}{Excepteur sint occaecat cupidatat non proident, sunt inculpa qui officia deserunt mollit anim id est laborum.} \end{document} -- Rudi Gaelzer Institute of Physics Federal University of Rio Grande do Sul BRAZIL Registered Linux user # 153741