Re: Problem adding computer code to colored boxes

2018-11-28 Thread Scott Kostyshak
On Wed, Nov 28, 2018 at 05:54:54PM -0500, ll...@writersglen.com wrote: > Hello, >   > My co-author and I are trying to typeset a computer programming book with > Lyx. We're able to create fancy colored boxes to display computer code with > the following: > > New Color Box Type

Problem adding computer code to colored boxes

2018-11-28 Thread lloyd
Hello,   My co-author and I are trying to typeset a computer programming book with Lyx. We're able to create fancy colored boxes to display computer code with the following: New Color Box Type cBoxA1colback=gray!25!white,colbacktitle=black, colframe=black!75!black, fonttitle=\bfseries,

Re: lyx changes the file access privileges

2018-11-28 Thread Jean-Marc Lasgouttes
Le 28/11/2018 à 18:13, Richard Kimberly Heck a écrit : Yes, QFile::setPermissions:     http://doc.qt.io/archives/qt-4.8/qfile.html#setPermissions We can use QFile::permissions to get the permissions of the original file, if we want to do that. Presumably, we could create simple wrappers

Re: lyx changes the file access privileges

2018-11-28 Thread Richard Kimberly Heck
On 11/28/18 11:01 AM, Jean-Marc Lasgouttes wrote: > Le 28/11/2018 à 15:23, Kornel Benko a écrit : >> I fear, we have to wait until the c++17 is available. >> What we do now, is calling >> ofstream ofs(encoded_fname.c_str(), ios::out|ios::trunc); >> write(ofs); >> We are unable to set own

Re: lyx changes the file access privileges

2018-11-28 Thread Jean-Marc Lasgouttes
Le 28/11/2018 à 15:23, Kornel Benko a écrit : I fear, we have to wait until the c++17 is available. What we do now, is calling ofstream ofs(encoded_fname.c_str(), ios::out|ios::trunc); write(ofs); We are unable to set own permissions. With c++17 it will be available to set them.

Re: lyx changes the file access privileges

2018-11-28 Thread Kornel Benko
Am Dienstag, 27. November 2018 16:23:51 CET schrieb Daniel Kian Mc Kiernan (the best Daniel of the bunch) : > > On 11/26/18 11:23 PM, paolo m. wrote: > > > > Daniel Kian Mc Kiernan (the best Daniel of the bunch) wrote: > > > >> There is no practical problem for me here, and a practical problem