[Bug 1574052] Re: titlesec does not render section numbers

2016-10-14 Thread Niels van Adrichem
You can also add the following after \usepackage{titlesec} to only apply
the patch when you're on the specific version of titlesec (which is what
I did on a shared project). Remove the \makeatletter and \makeatother
and change \usepackage to \RequirePackage when you're adding it to your
classfile right after \RequirePackage{titlesec}.

\@ifpackagelater{titlesec}{2016/03/21}{%
% Package titlesec is on version 2.10.2 or higher, nothing to do %
}{%
% Check if package titlesec is on version 2.10.1 %
\@ifpackagelater{titlesec}{2016/03/15}{%
% Package titlesec on version 2.10.1, patch accordingly %
\usepackage{etoolbox}%
\makeatletter

\patchcmd{\ttlh@hang}{\parindent\z@}{\parindent\z@\leavevmode}{}{}%
\patchcmd{\ttlh@hang}{\noindent}{}{}{}%
\makeatother
}{%
% Package titlsecon is on version 2.10.0 or lower, nothing to 
do %
}%
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1574052

Title:
  titlesec does not render section numbers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/texlive-extra/+bug/1574052/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1574052] Re: titlesec does not render section numbers

2016-10-22 Thread Niels van Adrichem
Hi Michael, that is perfectly possible, I have actually adopted it in a
class-file, so I have not tested it with the \makeatletter and
\makeatother commands myself. I tried to (apparently incorrectly) adapt
the code to the use-case of Frédéric. Please try for yourself what
works, thank you for your observation.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1574052

Title:
  titlesec does not render section numbers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/texlive-extra/+bug/1574052/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1452968] Re: upgrade failed from 14.04.1 to 14.10

2015-08-25 Thread Niels van Adrichem
I experienced the same problem, I think it has been invoked by not first
updating + upgrading + dist-upgrading to the latest version of 14.04 (.3
at the time of writing) before running do-release-upgrade

Besides resetting the /etc/apt/sources.list file to trusty, as suggested
earlier, "pinning" to utopic sources as added by the failed do-release-
upgrade has to be removed from the /etc/apt/preferences file. As also
discussed in https://askubuntu.com/questions/615090/broken-upgrade-
from-14-04-to-14-10/665663#665663 , I succeeded to fix it for 3 machines
that all experienced this problem as follows:

sudo -s
cd /etc/apt

#Remove potential pinning preferences
mv preferences preferences_old

#Restore sources
mv sources.list sources.list.old
cp sources.list.save sources.list

#Clean apt cache
apt-get clean

#Possibly repeat this block until `lsb_release -a` shows 14.04.3 and no further 
update/dist-upgrades possible
apt-get update
apt-get upgrade
apt-get dist-upgrade

#Finally perform the release upgrade and reboot
do-release-upgrade

** Changed in: ubuntu-release-upgrader (Ubuntu)
   Status: Expired => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1452968

Title:
  upgrade failed from 14.04.1 to 14.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1452968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 336761] Re: gvfs-fuse: not able to set smb timestamps

2014-07-28 Thread Niels van Adrichem
I can confirm that this bug also appears when connecting to a Windows
file server. However, in retrospect to #9, at file copy no error is
thrown, but it silently overrides the alteration and created timestamps
with the current time as in #5.

The problem perseveres both with
$gvfs-copy --preserve Test.txt smb://server/share/folderX/Y/Z/.
and
$cp --preserve=timestamp Test.txt 
/run/user/1000/gvfs/smb-share\:server\,share\=share/folderX/Y/Z/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/336761

Title:
  gvfs-fuse: not able to set smb timestamps

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/336761/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs