Paper cups for coffee and paper containers for food are lined which makes them difficult to recycle. Despite having a recycle logo on them they are often not recyclable.
You could also drink your coffee out of a cup that can be washed and reused. Avoiding waste production in the first place is always the best option.
They can be lined in a way to be easily compostable