Heat the butter in a large casserole dish over a low heat. Add the onions and cook for about 12 minutes, stirring frequently, until golden brown.
Crush the garlic and caraway seeds together with a knife.
Add to the onions, along with the tomato paste, smoked paprika and marjoram. Stir well then mix in the stock, vinegar, bay leaves, salt and pepper. Simmer for 6 minutes. Set aside.
Preheat the oven to 170°C (150°C fan bake) or turn your slow cooker to low.
To prepare the beef, combine the flour, salt and pepper on a plate. Add the beef a little at a time and turn to coat.
Heat the oil in a large pan over a high heat and sear the beef in batches until browned all over, adding more olive oil between batches if needed. Add the browned beef to the casserole with the onion mixture as you go.
If cooking in the oven, cover the casserole and bake for 2 hours. If using the slow cooker, transfer the beef and onion mixture to the slow cooker, cover and cook for 6 hours.
Remove the bay leaves before serving.
A Table at Tangleby
In this exceptional book, it shares more than 170 delicious dishes, from simple snacks to dinner parties that are guaranteed to impress your guests.