Preheat oven to 350 degrees. Butter the bottom and sides of a 9-inch springform pan. Add 1 tablespoon of sugar and tilt the pan from side to side to coat the bottom and sides; tap out excess sugar; set pan aside. In a saucepan, combine 1 3/4 cups of sugar and water together. Bring to a boil, stirring constantly. Reduce the heat and boil gently, without stirring for 5 minutes. Stir in the squash and boil gently for 5 minutes, stirring occasionally. In a food processor, pulse the almonds and cinnamon for 60 seconds. Scrape down the sides of the bowl and pulse for another 60 seconds. With the machine running, add the marzipan, a couple of pieces at a time. Pulse the mixture until thoroughly blended, about 60 seconds. Remove the mixture from the processor and stir into the sugar mixture. Reduce the heat to low and cook for 25 minutes. In a mixing bowl, beat the egg yolks and eggs until frothy. Slowly whisk the hot almond mixture into the egg mixture. Pour the mixture back into the saucepan and continue to cook for 5 minutes, stirring constantly, the mixture will thicken. Stir in the ginger and pour the filling into the prepared pan. Sprinkle the top with the remaining tablespoon of sugar and the minced almonds. Bake for 40 to 45 minutes or until the sides pull away from the pan and the center is set. Remove the pan from the oven and cool on a wire rack for 5 minutes. Run a spatula around the sides of the pan and remove the springform. Cool the torte completely before slicing. As the torte cools it will soften, taking on a jelly like consistency. Cut the torte into 16 slices.
Adapted from Jean Anderson's Book by The Food of Portugal