Preheat the oven to 220C/gas 7/
fan 200C. Put the flours in a bowl
and rub in the margarine until it
resembles breadcrumbs. Mix in
4-5 tsp water to make a soft
dough. Turn on to a lightly floured
surface, roll out and use to line a 20cm flan tin. Line with baking
parchment, cover with baking
beans and bake for 5 minutes.
Remove the paper and beans and
bake for 5 minutes more. Allow to
cool on a rack. Reduce the oven
to 160C/gas 3/fan oven 140C.
Heat the oil in a pan and cook
the bacon and onion until crispy.
Remove from the heat.
Mix the soya milk, Yofu,
eggs and thyme leaves. Season
well. Put the onion, bacon and
tomatoes in the flan case. Add
the milk mixture and top with
extra thyme sprigs on top. Bake
for 30 minutes until set.